forked from journey/template
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
1.4 MiB
15 lines
1.4 MiB
!function(L){function t(t){for(var e,n,i=t[0],r=t[1],o=t[2],a=0,s=[];a<i.length;a++)n=i[a],Object.prototype.hasOwnProperty.call(_,n)&&_[n]&&s.push(_[n][0]),_[n]=0;for(e in r)Object.prototype.hasOwnProperty.call(r,e)&&(L[e]=r[e]);for(w&&w(t);s.length;)s.shift()();return b.push.apply(b,o||[]),l()}function l(){for(var t,e=0;e<b.length;e++){for(var n=b[e],i=!0,r=1;r<n.length;r++){var o=n[r];0!==_[o]&&(i=!1)}i&&(b.splice(e--,1),t=X(X.s=n[0]))}return t}function k(t){delete _[t]}var n=window.webpackHotUpdate;window.webpackHotUpdate=function(t,e){!function(t,e){if(B[t]&&p[t]){for(var n in p[t]=!1,e)Object.prototype.hasOwnProperty.call(e,n)&&(z[n]=e[n]);0==--c&&0===h&&m()}}(t,e),n&&n(t,e)};var N,i=!0,O="98d86581a5be71ed1bca",e=1e4,P={},E=[],r=[];function o(e){var n=Y[e];if(!n)return X;function i(t){return n.hot.active?(Y[t]?-1===Y[t].parents.indexOf(e)&&Y[t].parents.push(e):(E=[e],N=t),-1===n.children.indexOf(t)&&n.children.push(t)):(console.warn("[HMR] unexpected require("+t+") from disposed module "+e),E=[]),X(t)}for(var t in X)Object.prototype.hasOwnProperty.call(X,t)&&"e"!==t&&"t"!==t&&Object.defineProperty(i,t,function(e){return{configurable:!0,enumerable:!0,get:function(){return X[e]},set:function(t){X[e]=t}}}(t));return i.e=function(t){return"ready"===s&&H("prepare"),h++,X.e(t).then(e,function(t){throw e(),t});function e(){h--,"prepare"===s&&(d[t]||g(t),0===h&&0===c&&m())}},i.t=function(t,e){return 1&e&&(t=i(t)),X.t(t,-2&e)},i}var a=[],s="idle";function H(t){s=t;for(var e=0;e<a.length;e++)a[e].call(null,t)}var u,z,R,j,c=0,h=0,d={},p={},B={};function V(t){return+t+""===t?+t:t}function f(t){if("idle"!==s)throw new Error("check() is only allowed in idle status");return i=t,H("check"),o=(o=e)||1e4,new Promise(function(e,n){if("undefined"==typeof XMLHttpRequest)return n(new Error("No browser support"));try{var i=new XMLHttpRequest,r=X.p+""+O+".hot-update.json";i.open("GET",r,!0),i.timeout=o,i.send(null)}catch(t){return n(t)}i.onreadystatechange=function(){if(4===i.readyState)if(0===i.status)n(new Error("Manifest request to "+r+" timed out."));else if(404===i.status)e();else if(200!==i.status&&304!==i.status)n(new Error("Manifest request to "+r+" failed."));else{try{var t=JSON.parse(i.responseText)}catch(t){return void n(t)}e(t)}}}).then(function(t){if(!t)return H(F()?"ready":"idle"),null;p={},d={},B=t.c,R=t.h,H("prepare");var e,t=new Promise(function(t,e){u={resolve:t,reject:e}});for(e in z={},_)g(e);return"prepare"===s&&0===h&&0===c&&m(),t});var o}function g(t){var e,n;B[t]?(p[t]=!0,c++,e=t,(n=document.createElement("script")).charset="utf-8",n.src=X.p+""+e+"."+O+".hot-update.js",document.head.appendChild(n)):d[t]=!0}function m(){H("ready");var e=u;if(u=null,e)if(i)Promise.resolve().then(function(){return v(i)}).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t,n=[];for(t in z)Object.prototype.hasOwnProperty.call(z,t)&&n.push(V(t));e.resolve(n)}}function v(t){if("ready"!==s)throw new Error("apply() is only allowed in ready status");return function t(n){F();var e;var i;var r;var c;function o(t){for(var e=[t],n={},i=e.map(function(t){return{chain:[t],id:t}});0<i.length;){var r=i.pop(),o=r.id,a=r.chain;if((c=Y[o])&&(!c.hot._selfAccepted||c.hot._selfInvalidated)){if(c.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:o};if(c.hot._main)return{type:"unaccepted",chain:a,moduleId:o};for(var s=0;s<c.parents.length;s++){var l=c.parents[s],u=Y[l];if(u){if(u.hot._declinedDependencies[o])return{type:"declined",chain:a.concat([l]),moduleId:o,parentId:l};-1===e.indexOf(l)&&(u.hot._acceptedDependencies[o]?(n[l]||(n[l]=[]),h(n[l],[o])):(delete n[l],e.push(l),i.push({chain:a.concat([l]),id:l})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:n}}function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];-1===t.indexOf(i)&&t.push(i)}}var a={};var s=[];var l={};var u=function(){console.warn("[HMR] unexpected require("+p.moduleId+") to disposed module")};for(var d in z)if(Object.prototype.hasOwnProperty.call(z,d)){var p;y=V(d),p=z[d]?o(y):{type:"disposed",moduleId:d};var f=!1,g=!1,m=!1,v="";switch(p.chain&&(v="\nUpdate propagation: "+p.chain.join(" -> ")),p.type){case"self-declined":n.onDeclined&&n.onDeclined(p),n.ignoreDeclined||(f=new Error("Aborted because of self decline: "+p.moduleId+v));break;case"declined":n.onDeclined&&n.onDeclined(p),n.ignoreDeclined||(f=new Error("Aborted because of declined dependency: "+p.moduleId+" in "+p.parentId+v));break;case"unaccepted":n.onUnaccepted&&n.onUnaccepted(p),n.ignoreUnaccepted||(f=new Error("Aborted because "+y+" is not accepted"+v));break;case"accepted":n.onAccepted&&n.onAccepted(p),g=!0;break;case"disposed":n.onDisposed&&n.onDisposed(p),m=!0;break;default:throw new Error("Unexception type "+p.type)}if(f)return H("abort"),Promise.reject(f);if(g)for(var y in l[y]=z[y],h(s,p.outdatedModules),p.outdatedDependencies)Object.prototype.hasOwnProperty.call(p.outdatedDependencies,y)&&(a[y]||(a[y]=[]),h(a[y],p.outdatedDependencies[y]));m&&(h(s,[p.moduleId]),l[y]=u)}var x=[];for(i=0;i<s.length;i++)y=s[i],Y[y]&&Y[y].hot._selfAccepted&&l[y]!==u&&!Y[y].hot._selfInvalidated&&x.push({module:y,parents:Y[y].parents.slice(),errorHandler:Y[y].hot._selfAccepted});H("dispose");Object.keys(B).forEach(function(t){!1===B[t]&&k(t)});var _;var b=s.slice();for(;0<b.length;)if(y=b.pop(),c=Y[y]){var S={},A=c.hot._disposeHandlers;for(r=0;r<A.length;r++)(e=A[r])(S);for(P[y]=S,c.hot.active=!1,delete Y[y],delete a[y],r=0;r<c.children.length;r++){var M=Y[c.children[r]];M&&0<=(_=M.parents.indexOf(y))&&M.parents.splice(_,1)}}var w;var C;for(y in a)if(Object.prototype.hasOwnProperty.call(a,y)&&(c=Y[y]))for(C=a[y],r=0;r<C.length;r++)w=C[r],0<=(_=c.children.indexOf(w))&&c.children.splice(_,1);H("apply");void 0!==R&&(O=R,R=void 0);z=void 0;for(y in l)Object.prototype.hasOwnProperty.call(l,y)&&(L[y]=l[y]);var T=null;for(y in a)if(Object.prototype.hasOwnProperty.call(a,y)&&(c=Y[y])){C=a[y];var I=[];for(i=0;i<C.length;i++)w=C[i],(e=c.hot._acceptedDependencies[w])&&-1===I.indexOf(e)&&I.push(e);for(i=0;i<I.length;i++){e=I[i];try{e(C)}catch(t){n.onErrored&&n.onErrored({type:"accept-errored",moduleId:y,dependencyId:C[i],error:t}),n.ignoreErrored||(T=T||t)}}}for(i=0;i<x.length;i++){var D=x[i];y=D.module,E=D.parents,N=y;try{X(y)}catch(e){if("function"==typeof D.errorHandler)try{D.errorHandler(e)}catch(t){n.onErrored&&n.onErrored({type:"self-accept-error-handler-errored",moduleId:y,error:t,originalError:e}),T=(T=!n.ignoreErrored?T||t:T)||e}else n.onErrored&&n.onErrored({type:"self-accept-errored",moduleId:y,error:e}),n.ignoreErrored||(T=T||e)}}if(T)return H("fail"),Promise.reject(T);if(j)return t(n).then(function(e){return s.forEach(function(t){e.indexOf(t)<0&&e.push(t)}),e});H("idle");return new Promise(function(t){t(s)})}(t=t||{})}function F(){return j&&(z=z||{},j.forEach(y),j=void 0,1)}function y(t){Object.prototype.hasOwnProperty.call(z,t)||(z[t]=L[t])}var Y={},x={2:0},_={2:0},b=[];function X(t){if(Y[t])return Y[t].exports;var e,i,n=Y[t]={i:t,l:!1,exports:{},hot:(i={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:N!==(e=t),active:!0,accept:function(t,e){if(void 0===t)i._selfAccepted=!0;else if("function"==typeof t)i._selfAccepted=t;else if("object"==typeof t)for(var n=0;n<t.length;n++)i._acceptedDependencies[t[n]]=e||function(){};else i._acceptedDependencies[t]=e||function(){}},decline:function(t){if(void 0===t)i._selfDeclined=!0;else if("object"==typeof t)for(var e=0;e<t.length;e++)i._declinedDependencies[t[e]]=!0;else i._declinedDependencies[t]=!0},dispose:function(t){i._disposeHandlers.push(t)},addDisposeHandler:function(t){i._disposeHandlers.push(t)},removeDisposeHandler:function(t){t=i._disposeHandlers.indexOf(t);0<=t&&i._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,s){case"idle":(z={})[e]=L[e],H("ready");break;case"ready":y(e);break;case"prepare":case"check":case"dispose":case"apply":(j=j||[]).push(e)}},check:f,apply:v,status:function(t){if(!t)return s;a.push(t)},addStatusHandler:function(t){a.push(t)},removeStatusHandler:function(t){t=a.indexOf(t);0<=t&&a.splice(t,1)},data:P[e]},N=void 0,i),parents:(r=E,E=[],r),children:[]};return L[t].call(n.exports,n,n.exports,o(t)),n.l=!0,n.exports}X.e=function(c){var t=[];x[c]?t.push(x[c]):0!==x[c]&&{1:1,3:1,4:1,5:1,6:1}[c]&&t.push(x[c]=new Promise(function(t,n){for(var e=({1:"en-US~es~fr-FR~zh-CN",3:"en-US",4:"es",5:"fr-FR",6:"zh-CN"}[c]||c)+"."+{1:"2ed44bd",3:"61d9b11",4:"316c536",5:"d59bba9",6:"d303327"}[c]+".css",i=X.p+e,r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var a=(s=r[o]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(a===e||a===i))return t()}for(var s,l=document.getElementsByTagName("style"),o=0;o<l.length;o++)if((a=(s=l[o]).getAttribute("data-href"))===e||a===i)return t();var u=document.createElement("link");u.rel="stylesheet",u.type="text/css",u.onload=t,u.onerror=function(t){var e=t&&t.target&&t.target.src||i,t=new Error("Loading CSS chunk "+c+" failed.\n("+e+")");t.request=e,delete x[c],u.parentNode.removeChild(u),n(t)},u.href=i,document.getElementsByTagName("head")[0].appendChild(u)}).then(function(){x[c]=0}));var i,r,e,o,n,a=_[c];return 0!==a&&(a?t.push(a[2]):(n=new Promise(function(t,e){a=_[c]=[t,e]}),t.push(a[2]=n),(i=document.createElement("script")).charset="utf-8",i.timeout=120,X.nc&&i.setAttribute("nonce",X.nc),i.src=X.p+""+({1:"en-US~es~fr-FR~zh-CN",3:"en-US",4:"es",5:"fr-FR",6:"zh-CN"}[n=c]||n)+"."+O.substr(0,7)+".js",r=new Error,e=function(t){i.onerror=i.onload=null,clearTimeout(o);var e,n=_[c];0!==n&&(n&&(e=t&&("load"===t.type?"missing":t.type),t=t&&t.target&&t.target.src,r.message="Loading chunk "+c+" failed.\n("+e+": "+t+")",r.name="ChunkLoadError",r.type=e,r.request=t,n[1](r)),_[c]=void 0)},o=setTimeout(function(){e({type:"timeout",target:i})},12e4),i.onerror=i.onload=e,document.head.appendChild(i))),Promise.all(t)},X.m=L,X.c=Y,X.d=function(t,e,n){X.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},X.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},X.t=function(e,t){if(1&t&&(e=X(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(X.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)X.d(n,i,function(t){return e[t]}.bind(null,i));return n},X.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return X.d(e,"a",e),e},X.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},X.p="",X.oe=function(t){throw console.error(t),t},X.h=function(){return O};var S=(A=window.webpackJsonp=window.webpackJsonp||[]).push.bind(A);A.push=t;for(var A=A.slice(),M=0;M<A.length;M++)t(A[M]);var w=S;b.push([796,0]),l()}([function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u,c="function"==typeof t?t.options:t;return e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?c._ssrRegister=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)}:r&&(l=s?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l&&(c.functional?(c._injectStyles=l,u=c.render,c.render=function(t,e){return l.call(e),u(t,e)}):(s=c.beforeCreate,c.beforeCreate=s?[].concat(s,l):[l])),{exports:t,options:c}}n.d(e,"a",function(){return i})},function(t,e){var s={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},l={"[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},u=Object.prototype.toString,n=Array.prototype,a=n.forEach,c=n.filter,i=n.slice,h=n.map,d=n.reduce,r={};function p(t){if(null==t||"object"!=typeof t)return t;var e=t,n=u.call(t);if("[object Array]"===n){if(!M(t))for(var e=[],i=0,r=t.length;i<r;i++)e[i]=p(t[i])}else if(l[n]){if(!M(t)){var o=t.constructor;if(t.constructor.from)e=o.from(t);else{e=new o(t.length);for(i=0,r=t.length;i<r;i++)e[i]=p(t[i])}}}else if(!s[n]&&!M(t)&&!S(t))for(var a in e={},t)t.hasOwnProperty(a)&&(e[a]=p(t[a]));return e}function f(t,e,n){if(!_(e)||!_(t))return n?p(e):t;for(var i in e){var r,o;e.hasOwnProperty(i)&&(r=t[i],!_(o=e[i])||!_(r)||x(o)||x(r)||S(o)||S(r)||b(o)||b(r)||M(o)||M(r)?!n&&i in t||(t[i]=p(e[i])):f(r,o,n))}return t}function o(t,e,n){for(var i in e)e.hasOwnProperty(i)&&(n?null!=e[i]:null==t[i])&&(t[i]=e[i]);return t}function g(){return r.createCanvas()}var m;function v(t,e,n){if(t&&e)if(t.forEach&&t.forEach===a)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function y(t,e){var n=i.call(arguments,2);return function(){return t.apply(e,n.concat(i.call(arguments)))}}function x(t){return"[object Array]"===u.call(t)}function _(t){var e=typeof t;return"function"==e||!!t&&"object"==e}function b(t){return!!s[u.call(t)]}function S(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}r.createCanvas=function(){return document.createElement("canvas")};var A="__ec_primitive__";function M(t){return t[A]}function w(t){var n=x(t);this.data={};var i=this;function e(t,e){n?i.set(t,e):i.set(e,t)}t instanceof w?t.each(e):t&&v(t,e)}w.prototype={constructor:w,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var n in void 0!==e&&(t=y(t,e)),this.data)this.data.hasOwnProperty(n)&&t(this.data[n],n)},removeKey:function(t){delete this.data[t]}},e.$override=function(t,e){"createCanvas"===t&&(m=null),r[t]=e},e.clone=p,e.merge=f,e.mergeAll=function(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=f(n,t[i],e);return n},e.extend=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},e.defaults=o,e.createCanvas=g,e.getContext=function(){return m=m||g().getContext("2d")},e.indexOf=function(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1},e.inherits=function(t,e){var n,i=t.prototype;function r(){}for(n in r.prototype=e.prototype,t.prototype=new r,i)i.hasOwnProperty(n)&&(t.prototype[n]=i[n]);(t.prototype.constructor=t).superClass=e},e.mixin=function(t,e,n){o(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,n)},e.isArrayLike=function(t){if(t)return"string"!=typeof t&&"number"==typeof t.length},e.each=v,e.map=function(t,e,n){if(t&&e){if(t.map&&t.map===h)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}},e.reduce=function(t,e,n,i){if(t&&e){if(t.reduce&&t.reduce===d)return t.reduce(e,n,i);for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}},e.filter=function(t,e,n){if(t&&e){if(t.filter&&t.filter===c)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}},e.find=function(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]},e.bind=y,e.curry=function(t){var e=i.call(arguments,1);return function(){return t.apply(this,e.concat(i.call(arguments)))}},e.isArray=x,e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===u.call(t)},e.isObject=_,e.isBuiltInObject=b,e.isTypedArray=function(t){return!!l[u.call(t)]},e.isDom=S,e.eqNaN=function(t){return t!=t},e.retrieve=function(t){for(var e=0,n=arguments.length;e<n;e++)if(null!=arguments[e])return arguments[e]},e.retrieve2=function(t,e){return null!=t?t:e},e.retrieve3=function(t,e,n){return null!=t?t:null!=e?e:n},e.slice=function(){return Function.call.apply(i,arguments)},e.normalizeCssArray=function(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t},e.assert=function(t,e){if(!t)throw new Error(e)},e.trim=function(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e.setAsPrimitive=function(t){t[A]=!0},e.isPrimitive=M,e.createHashMap=function(t){return new w(t)},e.concatArray=function(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];for(var r=t.length,i=0;i<e.length;i++)n[i+r]=e[i];return n},e.noop=function(){}},,,function(t,e,n){n(20).__DEV__;var m=n(271),v=n(1),a=n(71),y=n(38),s=n(330),l=n(101),u=n(636),c=n(649),h=n(66),d=n(864),p=n(865),i=n(867),r=n(43),o=n(44),f=n(277),g=n(72),x=n(8),_=n(17),b=n(87).throttle,S=n(868),A=n(869),M=n(870),w=n(871),C=n(872),T=n(873);n(650);var I=n(339),D=v.assert,L=v.each,k=v.isFunction,N=v.isObject,O=r.parseClassType,P={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:3500,COMPONENT:4e3,BRUSH:5e3}},E="__flagInMainProcess",H="__optionUpdated",z=/^[a-zA-Z0-9_]+$/;function R(i,r){return function(t,e,n){r||!this._disposed?(t=t&&t.toLowerCase(),l.prototype[i].call(this,t,e,n)):this.id}}function j(){l.call(this)}function B(t,e,n){n=n||{},"string"==typeof e&&(e=ct[e]),this.id,this.group,this._dom=t;n=this._zr=m.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=b(v.bind(n.flush,n),17),(e=v.clone(e))&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var i,r,o,e=this._api=(e=(i=this)._coordSysMgr,v.extend(new c(i),{getCoordinateSystems:v.bind(e.getCoordinateSystems,e),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return i._model.getComponent(e.mainType,e.index);t=t.parent}}}));function a(t,e){return t.__prio-e.__prio}s(ut,a),s(at,a),this._scheduler=new w(this,e,at,ut),l.call(this,this._ecEventProcessor=new it),this._messageCenter=new j,this._initEvents(),this.resize=v.bind(this.resize,this),this._pendingActions=[],n.animation.on("frame",this._onframe,this),o=this,(r=n).on("rendered",function(){o.trigger("rendered"),!r.animation.isFinished()||o[H]||o._scheduler.unfinished||o._pendingActions.length||o.trigger("finished")}),v.setAsPrimitive(this)}j.prototype.on=R("on",!0),j.prototype.off=R("off",!0),j.prototype.one=R("one",!0),v.mixin(j,l);var V=B.prototype;function F(t,e,n){if(this._disposed)this.id;else{var i,r=this._model,o=this._coordSysMgr.getCoordinateSystems();e=_.parseFinder(r,e);for(var a=0;a<o.length;a++){var s=o[a];if(s[t]&&null!=(i=s[t](r,e,n)))return i}}}V._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[H]){var e=this[H].silent;this[E]=!0,X(this),Y.update.call(this),this[E]=!1,this[H]=!1,Z.call(this,e),$.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date}while(t.performSeriesTasks(i),t.performDataProcessorTasks(i),G(this,i),t.performVisualTasks(i),J(this,this._model,0,"remain"),0<(n-=+new Date-o)&&t.unfinished);t.unfinished||this._zr.flush()}}},V.getDom=function(){return this._dom},V.getZr=function(){return this._zr},V.setOption=function(t,e,n){var i,r,o;this._disposed?this.id:(N(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[E]=!0,this._model&&!e||(r=new d(this._api),o=this._theme,(e=this._model=new u).scheduler=this._scheduler,e.init(null,null,o,r)),this._model.setOption(t,st),n?(this[H]={silent:i},this[E]=!1):(X(this),Y.update.call(this),this._zr.flush(),this[H]=!1,this[E]=!1,Z.call(this,i),$.call(this,i)))},V.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},V.getModel=function(){return this._model},V.getOption=function(){return this._model&&this._model.getOption()},V.getWidth=function(){return this._zr.getWidth()},V.getHeight=function(){return this._zr.getHeight()},V.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},V.getRenderedCanvas=function(t){if(y.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},V.getSvgDataURL=function(){if(y.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return v.each(e,function(t){t.stopAnimation(!0)}),t.painter.toDataURL()}},V.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;L(e,function(t){n.eachComponent({mainType:t},function(t){t=r._componentsMap[t.__viewId];t.group.ignore||(i.push(t),t.group.ignore=!0)})});t="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return L(i,function(t){t.group.ignore=!1}),t}this.id},V.getConnectedDataURL=function(i){if(this._disposed)this.id;else if(y.canvasSupported){var r="svg"===i.type,o=this.group,a=Math.min,s=Math.max;if(pt[o]){var l=1/0,u=1/0,c=-1/0,h=-1/0,d=[],e=i&&i.pixelRatio||1;v.each(dt,function(t,e){var n;t.group===o&&(n=r?t.getZr().painter.getSvgDom().innerHTML:t.getRenderedCanvas(v.clone(i)),t=t.getDom().getBoundingClientRect(),l=a(t.left,l),u=a(t.top,u),c=s(t.right,c),h=s(t.bottom,h),d.push({dom:n,left:t.left,top:t.top}))});var t=(c*=e)-(l*=e),n=(h*=e)-(u*=e),p=v.createCanvas(),f=m.init(p,{renderer:r?"svg":"canvas"});if(f.resize({width:t,height:n}),r){var g="";return L(d,function(t){var e=t.left-l,n=t.top-u;g+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),f.painter.getSvgRoot().innerHTML=g,i.connectedBackgroundColor&&f.painter.setBackgroundColor(i.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()}return i.connectedBackgroundColor&&f.add(new x.Rect({shape:{x:0,y:0,width:t,height:n},style:{fill:i.connectedBackgroundColor}})),L(d,function(t){t=new x.Image({style:{x:t.left*e-l,y:t.top*e-u,image:t.dom}});f.add(t)}),f.refreshImmediately(),p.toDataURL("image/"+(i&&i.type||"png"))}return this.getDataURL(i)}},V.convertToPixel=v.curry(F,"convertToPixel"),V.convertFromPixel=v.curry(F,"convertFromPixel"),V.containPixel=function(t,i){if(!this._disposed){var r,e=this._model;return t=_.parseFinder(e,t),v.each(t,function(t,n){0<=n.indexOf("Models")&&v.each(t,function(t){var e=t.coordinateSystem;e&&e.containPoint?r|=!!e.containPoint(i):"seriesModels"!==n||(e=this._chartsMap[t.__viewId])&&e.containPoint&&(r|=e.containPoint(i,t))},this)},this),!!r}this.id},V.getVisual=function(t,e){var n=this._model,n=(t=_.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=t?n.getItemVisual(t,e):n.getVisual(e)},V.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},V.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var Y={prepareAndUpdate:function(t){X(this),Y.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,o=this._scheduler;e&&(o.restoreData(e,t),o.performSeriesTasks(e),r.create(e,n),o.performDataProcessorTasks(e,t),G(this,e),r.update(e,n),Q(e),o.performVisualTasks(e,t),K(this,e,n,t),t=e.get("backgroundColor")||"transparent",y.canvasSupported?i.setBackgroundColor(t):(i=a.parse(t),t=a.stringify(i,"rgb"),0===i[3]&&(t="transparent")),tt(e,n))},updateTransform:function(i){var r,n,o=this._model,a=this,s=this._api;o&&(r=[],o.eachComponent(function(t,e){var n=a.getViewOfComponentModel(e);n&&n.__alive&&(!n.updateTransform||(e=n.updateTransform(e,o,s,i))&&e.update)&&r.push(n)}),n=v.createHashMap(),o.eachSeries(function(t){var e=a._chartsMap[t.__viewId];(!e.updateTransform||(e=e.updateTransform(t,o,s,i))&&e.update)&&n.set(t.uid,1)}),Q(o),this._scheduler.performVisualTasks(o,i,{setDirty:!0,dirtyMap:n}),J(a,o,0,i,n),tt(o,this._api))},updateView:function(t){var e=this._model;e&&(g.markUpdateMethod(t,"updateView"),Q(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),K(this,this._model,this._api,t),tt(e,this._api))},updateVisual:function(t){Y.update.call(this,t)},updateLayout:function(t){Y.update.call(this,t)}};function X(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 W(e,n,i,r,t){var o,a,s=e._model;function l(t){t&&t.__alive&&t[n]&&t[n](t.__model,s,e._api,i)}r?((o={})[r+"Id"]=i[r+"Id"],o[r+"Index"]=i[r+"Index"],o[r+"Name"]=i[r+"Name"],o={mainType:r,query:o},t&&(o.subType=t),null!=(a=i.excludeSeriesId)&&(a=v.createHashMap(_.normalizeToArray(a))),s&&s.eachComponent(o,function(t){a&&null!=a.get(t.id)||l(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])},e)):L(e._componentsViews.concat(e._chartsViews),l)}function G(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})}function U(e,t){var n=e.type,i=e.escapeConnect,r=rt[n],o=r.actionInfo,a=(s=(o.update||"update").split(":")).pop(),s=null!=s[0]&&O(s[0]);this[E]=!0;var l=[e],u=!1;e.batch&&(u=!0,l=v.map(e.batch,function(t){return(t=v.defaults(v.extend({},t),e)).batch=null,t}));var c,h=[],d="highlight"===n||"downplay"===n;L(l,function(t){(c=(c=r.action(t,this._model,this._api))||v.extend({},t)).type=o.event||c.type,h.push(c),d?W(this,a,t,"series"):s&&W(this,a,t,s.main,s.sub)},this),"none"===a||d||s||(this[H]?(X(this),Y.update.call(this,e),this[H]=!1):Y[a].call(this,e)),c=u?{type:o.event||n,escapeConnect:i,batch:h}:h[0],this[E]=!1,t||this._messageCenter.trigger(c.type,c)}function Z(t){for(var e=this._pendingActions;e.length;){var n=e.shift();U.call(this,n,t)}}function $(t){t||this.trigger("updated")}function q(t,e,r,o){for(var a="component"===e,s=a?t._componentsViews:t._chartsViews,l=a?t._componentsMap:t._chartsMap,u=t._zr,c=t._api,n=0;n<s.length;n++)s[n].__alive=!1;function i(t){var e,n="_ec_"+t.id+"_"+t.type,i=l[n];i||(e=O(t.type),(i=new(a?f.getClass(e.main,e.sub):g.getClass(e.sub))).init(r,c),l[n]=i,s.push(i),u.add(i.group)),t.__viewId=i.__id=n,i.__alive=!0,i.__model=t,i.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},a||o.prepareView(i,t,r,c)}a?r.eachComponent(function(t,e){"series"!==t&&i(e)}):r.eachSeries(i);for(n=0;n<s.length;){var h=s[n];h.__alive?n++:(a||h.renderTask.dispose(),u.remove(h.group),h.dispose(r,c),s.splice(n,1),delete l[h.__id],h.__id=h.group.__ecComponentInfo=null)}}function Q(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function K(t,e,n,i){var r,o,a,s,l;r=t,o=e,a=n,s=i,L(l||r._componentsViews,function(t){var e=t.__model;t.render(e,o,a,s),nt(e,t)}),L(t._chartsViews,function(t){t.__alive=!1}),J(t,e,0,i),L(t._chartsViews,function(t){t.__alive||t.remove(e,n)})}function J(r,t,e,o,a){var s,n,i,l,u,c=r._scheduler;t.eachSeries(function(t){var e=r._chartsMap[t.__viewId];e.__alive=!0;var n,i=e.renderTask;c.updatePayload(i,o),a&&a.get(t.uid)&&i.dirty(),s|=i.perform(c.getPerformArgs(i)),e.group.silent=!!t.get("silent"),nt(t,e),e=e,n=t.get("blendMode")||null,e.group.traverse(function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",n)})})}),c.unfinished|=s,i=t,l=(n=r)._zr.storage,u=0,l.traverse(function(t){u++}),u>i.get("hoverLayerThreshold")&&!y.node&&i.eachSeries(function(t){t.preventUsingHoverLayer||(t=n._chartsMap[t.__viewId]).__alive&&t.group.traverse(function(t){t.useHoverLayer=!0})}),A(r._zr.dom,t)}function tt(e,n){L(lt,function(t){t(e,n)})}V.resize=function(t){var e;this._disposed?this.id:(this._zr.resize(t),e=this._model,this._loadingFX&&this._loadingFX.resize(),e&&(e=e.resetOption("media"),t=t&&t.silent,this[E]=!0,e&&X(this),Y.update.call(this),this[E]=!1,Z.call(this,t),$.call(this,t)))},V.showLoading=function(t,e){this._disposed?this.id:(N(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ht[t]&&(t=ht[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},V.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},V.makeActionFromEvent=function(t){var e=v.extend({},t);return e.type=ot[t.type],e},V.dispatchAction=function(t,e){this._disposed?this.id:(N(e)||(e={silent:!!e}),rt[t.type]&&this._model&&(this[E]?this._pendingActions.push(t):(U.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&y.browser.weChat&&this._throttledZrFlush(),Z.call(this,e.silent),$.call(this,e.silent))))},V.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0)},V.on=R("on",!1),V.off=R("off",!1),V.one=R("one",!1);var et=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function nt(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 it(){this.eventInfo}V._initEvents=function(){L(et,function(a){function t(t){var e,n,i,r=this.getModel(),o=t.target;"globalout"===a?e={}:o&&null!=o.dataIndex?e=(i=o.dataModel||r.getSeriesByIndex(o.seriesIndex))&&i.getDataParams(o.dataIndex,o.dataType,o)||{}:o&&o.eventData&&(e=v.extend({},o.eventData)),e&&(n=e.componentType,i=e.componentIndex,"markLine"!==n&&"markPoint"!==n&&"markArea"!==n||(n="series",i=e.seriesIndex),i=(n=n&&null!=i&&r.getComponent(n,i))&&this["series"===n.mainType?"_chartsMap":"_componentsMap"][n.__viewId],e.event=t,e.type=a,this._ecEventProcessor.eventInfo={targetEl:o,packedEvent:e,model:n,view:i},this.trigger(a,e))}t.zrEventfulCallAtLast=!0,this._zr.on(a,t,this)},this),L(ot,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},V.isDisposed=function(){return this._disposed},V.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},V.dispose=function(){var e,n;this._disposed?this.id:(this._disposed=!0,_.setAttribute(this.getDom(),mt,""),e=this._api,n=this._model,L(this._componentsViews,function(t){t.dispose(n,e)}),L(this._chartsViews,function(t){t.dispose(n,e)}),this._zr.dispose(),delete dt[this.id])},v.mixin(B,l),it.prototype={constructor:it,normalizeQuery:function(t){var e,a,s,l={},u={},c={};return v.isString(t)?(e=O(t),l.mainType=e.main||null,l.subType=e.sub||null):(a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1},v.each(t,function(t,e){for(var n=!1,i=0;i<a.length;i++){var r=a[i],o=e.lastIndexOf(r);0<o&&o===e.length-r.length&&("data"!==(o=e.slice(0,o))&&(l.mainType=o,l[r.toLowerCase()]=t,n=!0))}s.hasOwnProperty(e)&&(u[e]=t,n=!0),n||(c[e]=t)})),{cptQuery:l,dataQuery:u,otherQuery:c}},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,i=e.dataQuery;return u(l,a,"mainType")&&u(l,a,"subType")&&u(l,a,"index","componentIndex")&&u(l,a,"name")&&u(l,a,"id")&&u(i,o,"name")&&u(i,o,"dataIndex")&&u(i,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,o));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var rt={},ot={},at=[],st=[],lt=[],ut=[],ct={},ht={},dt={},pt={},ft=+new Date,gt=+new Date,mt="_echarts_instance_";function vt(t){pt[t]=!1}V=vt;function yt(t){return dt[_.getAttribute(t,mt)]}function xt(t,e){ct[t]=e}function _t(t){st.push(t)}function bt(t,e){Mt(at,t,e,1e3)}function St(t,e,n){"function"==typeof e&&(n=e,e="");var i=N(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,D(z.test(i)&&z.test(e)),rt[i]||(rt[i]={action:n,actionInfo:t}),ot[e]=i}function At(t,e){Mt(ut,t,e,3e3,"visual")}function Mt(t,e,n,i,r){(k(e)||N(e))&&(n=e,e=i);r=w.wrapStageHandler(n,r);return r.__prio=e,r.__raw=n,t.push(r),r}function wt(t,e){ht[t]=e}At(2e3,S),_t(p),bt(900,i),wt("default",M),St({type:"highlight",event:"highlight",update:"highlight"},v.noop),St({type:"downplay",event:"downplay",update:"downplay"},v.noop),xt("light",C),xt("dark",T);e.version="4.9.0",e.dependencies={zrender:"4.3.2"},e.PRIORITY=P,e.init=function(t,e,n){var i,r,o=yt(t);return o||((n=new B(t,e,n)).id="ec_"+ft++,dt[n.id]=n,_.setAttribute(t,mt,n.id),i=n,r="__connectUpdateStatus",L(ot,function(t,e){i._messageCenter.on(e,function(t){var e,n;pt[i.group]&&0!==i[r]&&(t&&t.escapeConnect||(e=i.makeActionFromEvent(t),n=[],L(dt,function(t){t!==i&&t.group===i.group&&n.push(t)}),a(n,0),L(n,function(t){1!==t[r]&&t.dispatchAction(e)}),a(n,2)))})}),n);function a(t,e){for(var n=0;n<t.length;n++)t[n][r]=e}},e.connect=function(e){var t;return v.isArray(e)&&(t=e,e=null,L(t,function(t){null!=t.group&&(e=t.group)}),e=e||"g_"+gt++,L(t,function(t){t.group=e})),pt[e]=!0,e},e.disConnect=vt,e.disconnect=V,e.dispose=function(t){"string"==typeof t?t=dt[t]:t instanceof B||(t=yt(t)),t instanceof B&&!t.isDisposed()&&t.dispose()},e.getInstanceByDom=yt,e.getInstanceById=function(t){return dt[t]},e.registerTheme=xt,e.registerPreprocessor=_t,e.registerProcessor=bt,e.registerPostUpdate=function(t){lt.push(t)},e.registerAction=St,e.registerCoordinateSystem=function(t,e){h.register(t,e)},e.getCoordinateSystemDimensions=function(t){if(t=h.get(t))return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()},e.registerLayout=function(t,e){Mt(ut,t,e,1e3,"layout")},e.registerVisual=At,e.registerLoading=wt,e.extendComponentModel=function(t){return r.extend(t)},e.extendComponentView=function(t){return f.extend(t)},e.extendSeriesModel=function(t){return o.extend(t)},e.extendChartView=function(t){return g.extend(t)},e.setCanvasCreator=function(t){v.$override("createCanvas",t)},e.registerMap=function(t,e,n){I.registerMap(t,e,n)},e.getMap=function(t){return(t=I.retrieveMap(t))&&t[0]&&{geoJson:t[0].geoJSON,specialAreas:t[0].specialAreas}},e.dataTool={};var Ct=n(652);!function(){for(var t in Ct)Ct.hasOwnProperty(t)&&(e[t]=Ct[t])}()},,function(t,e){t.exports=Vue},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.noop=function(){},e.isDef=function(t){return null!=t},e.isFunction=o,e.isObject=a,e.isPromise=function(t){return a(t)&&o(t.then)&&o(t.catch)},e.get=function(t,e){var e=e.split("."),n=t;return e.forEach(function(t){n=null!=(t=n[t])?t:""}),n},e.isServer=e.inBrowser=e.addUnit=e.createNamespace=void 0;var r=i(n(6)),i=n(1131);e.createNamespace=i.createNamespace;n=n(290);e.addUnit=n.addUnit;n="undefined"!=typeof window;e.inBrowser=n;r=r.default.prototype.$isServer;function o(t){return"function"==typeof t}function a(t){return null!==t&&"object"==typeof t}e.isServer=r},function(t,e,n){var f=n(1),r=n(637),i=n(71),o=n(52),s=n(29),a=n(35),l=n(272),u=n(127);e.Image=u;var c=n(102);e.Group=c;var h=n(103);e.Text=h;var d=n(642);e.Circle=d;var p=n(853);e.Sector=p;var g=n(854);e.Ring=g;var m=n(644);e.Polygon=m;var v=n(646);e.Polyline=v;var y=n(333);e.Rect=y;var x=n(647);e.Line=x;var _=n(857);e.BezierCurve=_;c=n(858);e.Arc=c;h=n(859);e.CompoundPath=h;h=n(335);e.LinearGradient=h;h=n(860);e.RadialGradient=h;h=n(30);e.BoundingRect=h;h=n(336);e.IncrementalDisplayable=h;var b=n(334),S=Math.max,A=Math.min,M={},w=1,C="emphasis",T="normal",I=1,D={},L={};function k(t,e){L[t]=e}function N(t,e,n,i){e=r.createFromString(t,e);return n&&("center"===i&&(n=O(n,e.getBoundingRect())),P(e,n)),e}function O(t,e){var n=e.width/e.height,e=t.height*n,n=e<=t.width?t.height:(e=t.width)/n;return{x:t.x+t.width/2-e/2,y:t.y+t.height/2-n/2,width:e,height:n}}h=r.mergePath;function P(t,e){t.applyTransform&&(e=t.getBoundingRect().calculateTransform(e),t.applyTransform(e))}n=b.subPixelOptimize;function E(t){return null!=t&&"none"!==t}var H=f.createHashMap(),z=0;function R(t){var e,n,i,r,o=t.__hoverStl;o&&!t.__highlighted&&(e=t.__zr,n=t.useHoverLayer&&e&&"canvas"===e.painter.type,t.__highlighted=n?"layer":"plain",t.isGroup||!e&&t.useHoverLayer||(r=(i=t).style,tt(r=n?(i=e.addHover(t)).style:r),n||function(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var n=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var i,r=t.style;for(i in e)null!=e[i]&&(n[i]=r[i]);n.fill=r.fill,n.stroke=r.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}(i),r.extendFrom(o),j(r,o,"fill"),j(r,o,"stroke"),J(r),n||(t.dirty(!1),t.z2+=w)))}function j(t,e,n){!E(e[n])&&E(t[n])&&(t[n]=function(t){if("string"!=typeof t)return t;var e=H.get(t);return e||(e=i.lift(t,-.1),z<1e4&&(H.set(t,e),z++)),e}(t[n]))}function B(t){var e,n=t.__highlighted;n&&(t.__highlighted=!1,t.isGroup||("layer"===n?t.__zr&&t.__zr.removeHover(t):(e=t.style,(n=t.__cachedNormalStl)&&(tt(e),t.setStyle(n),J(e)),null!=(e=t.__cachedNormalZ2)&&t.z2-e===w&&(t.z2=e))))}function V(t,e,n){var i,r=T,o=T;t.__highlighted&&(r=C,i=!0),e(t,n),t.__highlighted&&(o=C,i=!0),t.isGroup&&t.traverse(function(t){t.isGroup||e(t,n)}),i&&t.__highDownOnUpdate&&t.__highDownOnUpdate(r,o)}function F(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,B(t),R(t))}function Y(t){U(this,t)||this.__highByOuter||V(this,R)}function X(t){U(this,t)||this.__highByOuter||V(this,B)}function W(t){this.__highByOuter|=1<<(t||0),V(this,R)}function G(t){(this.__highByOuter&=~(1<<(t||0)))||V(this,B)}function U(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Z(t,e){var n=!1===e;t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,n&&!t.__highDownDispatcher||(t[e=n?"off":"on"]("mouseover",Y)[e]("mouseout",X),t[e]("emphasis",W)[e]("normal",G),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n)}function $(t,e,n,i,r){return q(t,e,i,r),n&&f.extend(t,n),t}function q(t,e,n,i){(n=n||M).isRectText&&(n.getTextPosition?a=n.getTextPosition(e,i):"outside"===(a=e.getShallow("position")||(i?null:"inside"))&&(a="top"),t.textPosition=a,t.textOffset=e.getShallow("offset"),null!=(a=e.getShallow("rotate"))&&(a*=Math.PI/180),t.textRotation=a,t.textDistance=f.retrieve2(e.getShallow("distance"),i?null:5));var r,o,a=e.ecModel,s=a&&a.option.textStyle,l=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||M).rich;if(n)for(var i in e=e||{},n)n.hasOwnProperty(i)&&(e[i]=1);t=t.parentModel}return e}(e);if(l)for(var u in r={},l)l.hasOwnProperty(u)&&(o=e.getModel(["rich",u]),Q(r[u]={},o,s,n,i));return t.rich=r,Q(t,e,s,n,i,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function Q(t,e,n,i,r,o){n=!r&&n||M,t.textFill=K(e.getShallow("color"),i)||n.color,t.textStroke=K(e.getShallow("textBorderColor"),i)||n.textBorderColor,t.textStrokeWidth=f.retrieve2(e.getShallow("textBorderWidth"),n.textBorderWidth),r||(o&&(t.insideRollbackOpt=i,J(t)),null==t.textFill&&(t.textFill=i.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&i.disableBox||(t.textBackgroundColor=K(e.getShallow("backgroundColor"),i),t.textPadding=e.getShallow("padding"),t.textBorderColor=K(e.getShallow("borderColor"),i),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function K(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function J(t){var e,n,i,r=t.textPosition,o=t.insideRollbackOpt;o&&null==t.textFill&&(n=o.autoColor,i=o.isRectText,r=!(i=!1!==(o=o.useInsideStyle)&&(!0===o||i&&r&&"string"==typeof r&&0<=r.indexOf("inside")))&&null!=n,(i||r)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),i&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=n,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),r&&(t.textFill=n)),t.insideRollback=e}function tt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function et(t,e,n,i,r,o){var a,s;"function"==typeof r&&(o=r,r=null),i&&i.isAnimationEnabled()?(a=i.getShallow("animationDuration"+(s=t?"Update":"")),t=i.getShallow("animationEasing"+s),"function"==typeof(s=i.getShallow("animationDelay"+s))&&(s=s(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),0<(a="function"==typeof a?a(r):a)?e.animateTo(n,a,s||0,t,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())):(e.stopAnimation(),e.attr(n),o&&o())}function nt(t,e,n,i,r){et(!0,t,e,n,i,r)}function it(t,e,n){return e&&!f.isArrayLike(e)&&(e=l.getLocalTransform(e)),n&&(e=o.invert([],e)),s.applyTransform([],t,e)}function rt(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,n=a-r,i=s-o,a=n*u-l*i;if((s=a)<=1e-6&&-1e-6<=s)return!1;r=t-r,o=e-o,l=(r*u-l*o)/a;if(l<0||1<l)return!1;a=(r*i-n*o)/a;return!(a<0||1<a)}k("circle",d),k("sector",p),k("ring",g),k("polygon",m),k("polyline",v),k("rect",y),k("line",x),k("bezierCurve",_),k("arc",c),e.Z2_EMPHASIS_LIFT=w,e.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},e.extendShape=function(t){return a.extend(t)},e.extendPath=function(t,e){return r.extendFromString(t,e)},e.registerShape=k,e.getShapeClass=function(t){if(L.hasOwnProperty(t))return L[t]},e.makePath=N,e.makeImage=function(t,e,n){var i=new u({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){"center"===n&&(t={width:t.width,height:t.height},i.setStyle(O(e,t)))}});return i},e.mergePath=h,e.resizePath=P,e.subPixelOptimizeLine=function(t){return b.subPixelOptimizeLine(t.shape,t.shape,t.style),t},e.subPixelOptimizeRect=function(t){return b.subPixelOptimizeRect(t.shape,t.shape,t.style),t},e.subPixelOptimize=n,e.setElementHoverStyle=F,e.setHoverStyle=function(t,e){Z(t,!0),V(t,F,e)},e.setAsHighDownDispatcher=Z,e.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},e.getHighlightDigit=function(t){var e=D[t];return e=null==e&&I<=32?D[t]=I++:e},e.setLabelStyle=function(t,e,n,i,r,o,a){var s=(r=r||M).labelFetcher,l=r.labelDataIndex,u=r.labelDimIndex,c=r.labelProp,h=n.getShallow("show"),d=i.getShallow("show");(h||d)&&null==(p=s?s.getFormattedLabel(l,"normal",null,u,c):p)&&(p=f.isFunction(r.defaultText)?r.defaultText(l,r):r.defaultText);var h=h?p:null,p=d?f.retrieve2(s?s.getFormattedLabel(l,"emphasis",null,u,c):null,p):null;null==h&&null==p||($(t,n,o,r),$(e,i,a,r,!0)),t.text=h,e.text=p},e.modifyLabelStyle=function(t,e,n){var i=t.style;e&&(tt(i),t.setStyle(e),J(i)),i=t.__hoverStl,n&&i&&(tt(i),f.extend(i,n),J(i))},e.setTextStyle=$,e.setText=function(t,e,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,q(t,e,r,i)},e.getFont=function(t,e){return e=e&&e.getModel("textStyle"),f.trim([t.fontStyle||e&&e.getShallow("fontStyle")||"",t.fontWeight||e&&e.getShallow("fontWeight")||"",(t.fontSize||e&&e.getShallow("fontSize")||12)+"px",t.fontFamily||e&&e.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=nt,e.initProps=function(t,e,n,i,r){et(!1,t,e,n,i,r)},e.getTransform=function(t,e){for(var n=o.identity([]);t&&t!==e;)o.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=it,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]),r=it(r=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0],e,n);return Math.abs(r[0])>Math.abs(r[1])?0<r[0]?"right":"left":0<r[1]?"bottom":"top"},e.groupTransition=function(t,e,i,n){var r,o;function a(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=f.extend({},t.shape)),e}t&&e&&(o={},t.traverse(function(t){!t.isGroup&&t.anid&&(o[t.anid]=t)}),r=o,e.traverse(function(t){var e,n;t.isGroup||!t.anid||(e=r[t.anid])&&(n=a(t),t.attr(a(e)),nt(t,n,i,t.dataIndex))}))},e.clipPointsByRect=function(t,n){return f.map(t,function(t){var e=t[0],e=S(e,n.x);e=A(e,n.x+n.width);t=t[1],t=S(t,n.y);return[e,t=A(t,n.y+n.height)]})},e.clipRectByRect=function(t,e){var n=S(t.x,e.x),i=A(t.x+t.width,e.x+e.width),r=S(t.y,e.y),e=A(t.y+t.height,e.y+e.height);if(n<=i&&r<=e)return{x:n,y:r,width:i-n,height:e-r}},e.createIcon=function(t,e,n){var i=(e=f.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),f.defaults(i,n),new u(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<r.length;o++){var s=r[o];if(rt(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}},e.lineLineIntersect=rt},function(t,e,n){},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},,,function(t,e,n){var p=n(1);var i=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function o(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return 10<=t/Math.pow(10,e)&&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(0<r){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?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t},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();if(0<(t=e.indexOf("e"))){var n=+e.slice(t+1);return n<0?-n:0}return(n=e.indexOf("."))<0?0:e.length-1-n},e.getPixelPrecision=function(t,e){var n=Math.log,i=Math.LN10,t=Math.floor(n(t[1]-t[0])/i),i=Math.round(n(Math.abs(e[1]-e[0]))/i),i=Math.min(Math.max(-t+i,0),20);return isFinite(i)?i:20},e.getPercentWithPrecision=function(t,e,n){if(!t[e])return 0;var i=p.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===i)return 0;for(var r=Math.pow(10,n),t=p.map(t,function(t){return(isNaN(t)?0:t)/i*r*100}),o=100*r,a=p.map(t,function(t){return Math.floor(t)}),s=p.reduce(a,function(t,e){return t+e},0),l=p.map(t,function(t,e){return t-a[e]});s<o;){for(var u=Number.NEGATIVE_INFINITY,c=null,h=0,d=l.length;h<d;++h)l[h]>u&&(u=l[h],c=h);++a[c],l[c]=0,++s}return a[e]/r},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return-1e-4<t&&t<1e-4},e.parseDate=function(t){if(t instanceof Date)return t;if("string"!=typeof t)return null==t?new Date(NaN):new Date(Math.round(t));var e=i.exec(t);if(!e)return new Date(NaN);if(e[8]){t=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(t-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,t,+(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)},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=(r=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,-20<=n?+t.toFixed(n<0?-n:0):t},e.quantile=function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),e=+t[i-1];return(n=n-i)?e+n*(t[i]-e):e},e.reformIntervals=function(t){t.sort(function(t,e){return function t(e,n,i){return e.interval[i]<n.interval[i]||e.interval[i]===n.interval[i]&&(e.close[i]-n.close[i]==(i?-1:1)||!i&&t(e,n,1))}(t,e,0)?-1:1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t},e.isNumeric=function(t){return 0<=t-parseFloat(t)}},,function(t,e,n){"use strict";function i(n,i){var r=null;return function(){var t=this,e=arguments;clearTimeout(r),r=setTimeout(function(){n.apply(t,e)},i)}}function r(t,e,n){var i,r;e&&(i=t,(r=e.split(".")).forEach(function(t,e){e===r.length-1?i[t]=n:(i[t]||(i[t]={}),i=i[t])}))}function o(t,e,n){if(!e)return t;var e=e.split("."),i=t;return e.some(function(t,e){return void 0===i[t]?(i=n,!0):void(i=i[t])}),i}n.d(e,"c",function(){return i}),n.d(e,"j",function(){return r}),n.d(e,"d",function(){return o}),n.d(e,"b",function(){return d}),n.d(e,"e",function(){return s}),n.d(e,"i",function(){return u}),n.d(e,"f",function(){return c}),n.d(e,"h",function(){return h}),n.d(e,"a",function(){return p}),n.d(e,"g",function(){return g});var a="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};function s(t){return Object.prototype.toString.call(t)}function l(t){return void 0===t?"undefined":a(t)}function u(t){return"[object Object]"===s(t)}function c(t){return"[object Array]"===s(t)}function h(t){return"[object Function]"===s(t)}function d(t){return JSON.parse(JSON.stringify(t))}function p(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}Object.assign;function g(t,e){if(t===e)return!0;if(null===t||null===e||"object"!==l(t)||"object"!==l(e))return t===e;for(var n in t)if(f(t,n)){var i=t[n],r=e[n],n=l(i);if("undefined"===l(r))return!1;if("object"===n){if(!g(i,r))return!1}else if(i!==r)return!1}for(var o in e)if(f(e,o)&&"undefined"===l(t)[o])return!1;return!0}},,function(t,e,n){var u=n(1),i=n(38),c=u.each,s=u.isObject,r=u.isArray,l="series\0";function h(t){return t instanceof Array?t:null==t?[]:[t]}function a(t){return s(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var o=0;function d(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=h,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<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}},e.TEXT_STYLE_OPTIONS=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"],e.getDataItemValue=function(t){return!s(t)||r(t)||t instanceof Date?t:t.value},e.isDataItemOption=function(t){return s(t)&&!(t instanceof Array)},e.mappingToExists=function(t,r){r=(r||[]).slice();var o=u.map(t||[],function(t,e){return{exist:t}});return c(r,function(t,e){if(s(t)){for(var n=0;n<o.length;n++)if(!o[n].option&&null!=t.id&&o[n].exist.id===t.id+"")return o[n].option=t,void(r[e]=null);for(n=0;n<o.length;n++){var i=o[n].exist;if(!(o[n].option||null!=i.id&&null!=t.id||null==t.name||a(t)||a(i)||i.name!==t.name+""))return o[n].option=t,void(r[e]=null)}}}),c(r,function(t,e){if(s(t)){for(var n=0;n<o.length;n++){var i=o[n].exist;if(!o[n].option&&!a(i)&&null==t.id){o[n].option=t;break}}n>=o.length&&o.push({option:t})}}),o},e.makeIdAndName=function(t){var a=u.createHashMap();c(t,function(t,e){var n=t.exist;n&&a.set(n.id,t)}),c(t,function(t,e){var n=t.option;u.assert(!n||null==n.id||!a.get(n.id)||a.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&a.set(n.id,t),t.keyInfo||(t.keyInfo={})}),c(t,function(t,e){var n=t.exist,i=t.option,r=t.keyInfo;if(s(i)){if(r.name=null!=i.name?i.name+"":n?n.name:l+e,n)r.id=n.id;else if(null!=i.id)r.id=i.id+"";else for(var o=0;r.id="\0"+r.name+"\0"+o++,a.get(r.id););a.set(r.id,t)}})},e.isNameSpecified=function(t){return!(!(t=t.name)||!t.indexOf(l))},e.isIdInner=a,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;i<r;i++)for(var o=t[i].seriesId,a=h(t[i].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}function o(t,e){var n,i,r=[];for(n in t)t.hasOwnProperty(n)&&null!=t[n]&&(e?r.push(+n):(i=o(t[n],!0)).length&&r.push({seriesId:n,dataIndex:i}));return r}},e.queryDataIndex=function(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?u.isArray(t.dataIndex)?u.map(t.dataIndex,function(t){return e.indexOfRawIndex(t)}):e.indexOfRawIndex(t.dataIndex):null!=t.name?u.isArray(t.name)?u.map(t.name,function(t){return e.indexOfName(t)}):e.indexOfName(t.name):void 0},e.makeInner=function(){var e="__\0ec_inner_"+o+++"_"+Math.random().toFixed(5);return function(t){return t[e]||(t[e]={})}},e.parseFinder=function(o,a,s){u.isString(a)&&((t={})[a+"Index"]=0,a=t);var t=s&&s.defaultMainType;!t||d(a,t+"Index")||d(a,t+"Id")||d(a,t+"Name")||(a[t+"Index"]=0);var l={};return c(a,function(t,e){var n,i,r,t=a[e];"dataIndex"!==e&&"dataIndexInside"!==e?(n=(r=e.match(/^(\w+)(Index|Id|Name)$/)||[])[1],i=(r[2]||"").toLowerCase(),!n||!i||null==t||"index"===i&&"none"===t||s&&s.includeMainTypes&&u.indexOf(s.includeMainTypes,n)<0||(r={mainType:n},"index"===i&&"all"===t||(r[i]=t),r=o.queryComponents(r),l[n+"Models"]=r,l[n+"Model"]=r[0])):l[e]=t}),l},e.setAttribute=function(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n},e.getAttribute=function(t,e){return t.getAttribute?t.getAttribute(e):t[e]},e.getTooltipRenderMode=function(t){return"auto"===t?i.domSupported?"html":"richText":t||"html"},e.groupData=function(t,n){var i=u.createHashMap(),r=[];return u.each(t,function(t){var e=n(t);(i.get(e)||(r.push(e),i.set(e,[]))).push(t)}),{keys:r,buckets:i}}},,,function(t,n,e){!function(t){var e;"undefined"!=typeof window?e=window.__DEV__:void 0!==t&&(e=t.__DEV__),n.__DEV__=e=void 0===e?!0:e}.call(this,e(122))},function(t,e,n){var p=n(1),f=n(30),g=n(13).parsePercent,m=n(26),v=p.each,i=["left","right","top","bottom","width","height"],r=[["width","left","right"],["height","top","bottom"]];function o(s,l,u,c,h){var d=0,p=0;null==c&&(c=1/0),null==h&&(h=1/0);var f=0;l.eachChild(function(t,e){var n,i,r=t.position,o=t.getBoundingRect(),a=l.childAt(e+1),e=a&&a.getBoundingRect();f="horizontal"===s?(a=o.width+(e?-e.x+o.x:0),c<(n=d+a)||t.newline?(d=0,n=a,p+=f+u,o.height):Math.max(f,o.height)):(e=o.height+(e?-e.y+o.y:0),h<(i=p+e)||t.newline?(d+=f+u,p=0,i=e,o.width):Math.max(f,o.width)),t.newline||(r[0]=d,r[1]=p,"horizontal"===s?d=n+u:p=i+u)})}var a=o,s=p.curry(o,"vertical"),n=p.curry(o,"horizontal");function u(t,e,n){n=m.normalizeCssArray(n||0);var i=e.width,r=e.height,o=g(t.left,i),a=g(t.top,r),s=g(t.right,i),l=g(t.bottom,r),u=g(t.width,i),c=g(t.height,r),h=n[2]+n[0],d=n[1]+n[3],e=t.aspect;switch(isNaN(u)&&(u=i-s-d-o),isNaN(c)&&(c=r-l-h-a),null!=e&&(isNaN(u)&&isNaN(c)&&(i/r<e?u=.8*i:c=.8*r),isNaN(u)&&(u=e*c),isNaN(c)&&(c=u/e)),isNaN(o)&&(o=i-s-u-d),isNaN(a)&&(a=r-l-c-h),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-d}switch(t.top||t.bottom){case"middle":case"center":a=r/2-c/2-n[0];break;case"bottom":a=r-c-h}o=o||0,a=a||0,isNaN(u)&&(u=i-d-o-(s||0)),isNaN(c)&&(c=r-h-a-(l||0));l=new f(o+n[3],a+n[0],u,c);return l.margin=n,l}function l(e,n){return n&&e&&v(i,function(t){n.hasOwnProperty(t)&&(e[t]=n[t])}),e}e.LOCATION_PARAMS=i,e.HV_NAMES=r,e.box=a,e.vbox=s,e.hbox=n,e.getAvailableSize=function(t,e,n){var i=e.width,r=e.height,o=g(t.x,i),a=g(t.y,r),s=g(t.x2,i),e=g(t.y2,r);return(isNaN(o)||isNaN(parseFloat(t.x)))&&(o=0),(isNaN(s)||isNaN(parseFloat(t.x2)))&&(s=i),(isNaN(a)||isNaN(parseFloat(t.y)))&&(a=0),(isNaN(e)||isNaN(parseFloat(t.y2)))&&(e=r),n=m.normalizeCssArray(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(e-a-n[0]-n[2],0)}},e.getLayoutRect=u,e.positionElement=function(t,e,n,i,r){var o,a=!r||!r.hv||r.hv[0],s=!r||!r.hv||r.hv[1],l=r&&r.boundingMode||"all";(a||s)&&("raw"===l?o="group"===t.type?new f(0,0,+e.width||0,+e.height||0):t.getBoundingRect():(o=t.getBoundingRect(),t.needLocalTransform()&&(r=t.getLocalTransform(),(o=o.clone()).applyTransform(r))),e=u(p.defaults({width:o.width,height:o.height},e),n,i),i=t.position,a=a?e.x-o.x:0,o=s?e.y-o.y:0,t.attr("position","raw"===l?[a,o]:[i[0]+a,i[1]+o]))},e.sizeCalculable=function(t,e){return null!=t[r[e][0]]||null!=t[r[e][1]]&&null!=t[r[e][2]]},e.mergeLayoutParam=function(l,u,t){var c=(t=!p.isObject(t)?{}:t).ignoreSize;p.isArray(c)||(c=[c,c]);var e=n(r[0],0),t=n(r[1],1);function n(t,e){var n={},i=0,r={},o=0;if(v(t,function(t){r[t]=l[t]}),v(t,function(t){h(u,t)&&(n[t]=r[t]=u[t]),d(n,t)&&i++,d(r,t)&&o++}),c[e])return d(u,t[1])?r[t[2]]=null:d(u,t[2])&&(r[t[1]]=null),r;if(2!==o&&i){if(2<=i)return n;for(var a=0;a<t.length;a++){var s=t[a];if(!h(n,s)&&h(l,s)){n[s]=l[s];break}}return n}return r}function h(t,e){return t.hasOwnProperty(e)}function d(t,e){return null!=t[e]&&"auto"!==t[e]}function i(t,e,n){v(t,function(t){e[t]=n[t]})}i(r[0],l,e),i(r[1],l,t)},e.getLayoutParams=function(t){return l({},t)},e.copyLayoutParams=l},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";var i=n(206);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},,function(t,e,n){var c=n(1),l=n(55),u=n(13);var i=c.normalizeCssArray,r=/([&<>"'])/g,o={"&":"&","<":"<",">":">",'"':""","'":"'"};function h(t){return null==t?"":(t+"").replace(r,function(t,e){return o[e]})}function d(t,e){return"{"+t+(null==e?"":e)+"}"}var p=["a","b","c","d","e","f","g"];function f(t,e){return"0000".substr(0,e-(t+="").length)+t}n=l.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(1<t.length?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),t=e&&t?t.charAt(0).toUpperCase()+t.slice(1):t},e.normalizeCssArray=i,e.encodeHTML=h,e.formatTpl=function(t,e,n){var i=(e=!c.isArray(e)?[e]:e).length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var a=p[o];t=t.replace(d(a),d(a,0))}for(var s=0;s<i;s++)for(var l=0;l<r.length;l++){var u=e[s][r[l]];t=t.replace(d(p[l],s),n?h(u):u)}return t},e.formatTplSimple=function(n,t,i){return c.each(t,function(t,e){n=n.replace("{"+e+"}",i?h(t):t)}),n},e.getTooltipMarker=function(t,e){var n=(t=c.isString(t)?{color:t,extraCssText:e}:t||{}).color,i=t.type,e=t.extraCssText,r=t.renderMode||"html",t=t.markerId||"X";return n?"html"===r?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+h(n)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+h(n)+";"+(e||"")+'"></span>':{renderMode:r,content:"{marker"+t+"|} ",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=u.parseDate(e),r=i["get"+(l=n?"UTC":"")+"FullYear"](),o=i["get"+l+"Month"]()+1,a=i["get"+l+"Date"](),s=i["get"+l+"Hours"](),e=i["get"+l+"Minutes"](),n=i["get"+l+"Seconds"](),l=i["get"+l+"Milliseconds"]();return t=t.replace("MM",f(o,2)).replace("M",o).replace("yyyy",r).replace("yy",r%100).replace("dd",f(a,2)).replace("d",a).replace("hh",f(s,2)).replace("h",s).replace("mm",f(e,2)).replace("m",e).replace("ss",f(n,2)).replace("s",n).replace("SSS",f(l,3))},e.capitalFirst=function(t){return t&&t.charAt(0).toUpperCase()+t.substr(1)},e.truncateText=n,e.getTextBoundingRect=function(t){return l.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,n,i,r,o,a,s){return l.getBoundingRect(t,e,n,i,r,s,o,a)},e.windowOpen=function(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location=t):window.open(t,e)}},,function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},n.apply(this,arguments)}t.exports=n},function(t,e){var i="undefined"==typeof Float32Array?Array:Float32Array;function r(t){return Math.sqrt(o(t))}var n=r;function o(t){return t[0]*t[0]+t[1]*t[1]}var a=o;function s(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var l=s;function u(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var c=u;e.create=function(t,e){var n=new i(2);return null==e&&(e=0),n[0]=t=null==t?0:t,n[1]=e,n},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t},e.clone=function(t){var e=new i(2);return e[0]=t[0],e[1]=t[1],e},e.set=function(t,e,n){return t[0]=e,t[1]=n,t},e.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},e.scaleAndAdd=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},e.sub=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},e.len=r,e.length=n,e.lenSquare=o,e.lengthSquare=a,e.mul=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},e.div=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},e.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},e.normalize=function(t,e){var n=r(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t},e.distance=s,e.dist=l,e.distanceSquare=u,e.distSquare=c,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t},e.lerp=function(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t},e.applyTransform=function(t,e,n){var i=e[0],e=e[1];return t[0]=n[0]*i+n[2]*e+n[4],t[1]=n[1]*i+n[3]*e+n[5],t},e.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},e.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},function(t,e,n){var i,r,o,a,s=n(29),l=n(52),u=s.applyTransform,c=Math.min,h=Math.max;function d(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}d.prototype={constructor:d,union:function(t){var e=c(t.x,this.x),n=c(t.y,this.y);this.width=h(t.x+t.width,this.x+this.width)-e,this.height=h(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:(i=[],r=[],o=[],a=[],function(t){var e;t&&(i[0]=o[0]=this.x,i[1]=a[1]=this.y,r[0]=a[0]=this.x+this.width,r[1]=o[1]=this.y+this.height,u(i,i,t),u(r,r,t),u(o,o,t),u(a,a,t),this.x=c(i[0],r[0],o[0],a[0]),this.y=c(i[1],r[1],o[1],a[1]),e=h(i[0],r[0],o[0],a[0]),t=h(i[1],r[1],o[1],a[1]),this.width=e-this.x,this.height=t-this.y)}),calculateTransform:function(t){var e=t.width/this.width,n=t.height/this.height,i=l.create();return l.translate(i,i,[-this.x,-this.y]),l.scale(i,i,[e,n]),l.translate(i,i,[t.x,t.y]),i},intersect:function(t){if(!t)return!1;t instanceof d||(t=d.create(t));var e=this,n=e.x,i=e.x+e.width,r=e.y,o=e.y+e.height,a=t.x,s=t.x+t.width,e=t.y,t=t.y+t.height;return!(i<a||s<n||o<e||t<r)},contain:function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.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)},t.exports=d},,function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var a=i(n(41)),s=n(7),l=n(47),u=i(n(172)),i=(0,s.createNamespace)("icon"),n=i[0],c=i[1];var h={medel:"medal","medel-o":"medal-o","calender-o":"calendar-o"};function r(t,e,n,i){var r,o=(r=e.name)&&h[r]||r,r=!!(r=o)&&-1!==r.indexOf("/");return t(e.tag,(0,a.default)([{class:[e.classPrefix,r?"":e.classPrefix+"-"+o],style:{color:e.color,fontSize:(0,s.addUnit)(e.size)}},(0,l.inherit)(i,!0)]),[n.default&&n.default(),r&&t("img",{class:c("image"),attrs:{src:o}}),t(u.default,{attrs:{dot:e.dot,info:null!=(t=e.badge)?t:e.info}})])}r.props={dot:Boolean,name:String,size:[Number,String],info:[Number,String],badge:[Number,String],color:String,tag:{type:String,default:"i"},classPrefix:{type:String,default:c()}};n=n(r);e.default=n},,function(t,e,n){"use strict";var i=n(254);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){var i=n(156),o=n(1),a=n(129),s=n(849),f=n(632).prototype.getCanvasPattern,r=Math.abs,g=new a(!0);function l(t){i.call(this,t),this.path=null}l.prototype={constructor:l,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,i=this.style,r=this.path||g,o=i.hasStroke(),a=i.hasFill(),s=i.fill,l=i.stroke,u=a&&!!s.colorStops,c=o&&!!l.colorStops,h=a&&!!s.image,d=o&&!!l.image;i.bind(t,this,e),this.setTransform(t),this.__dirty&&(u&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,s,n)),c&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,l,n))),u?t.fillStyle=this._fillGradient:h&&(t.fillStyle=f.call(s,t)),c?t.strokeStyle=this._strokeGradient:d&&(t.strokeStyle=f.call(l,t));var p,s=i.lineDash,c=i.lineDashOffset,d=!!t.setLineDash,l=this.getGlobalScale();r.setScale(l[0],l[1],this.segmentIgnoreThreshold),this.__dirtyPath||s&&!d&&o?(r.beginPath(t),s&&!d&&(r.setLineDash(s),r.setLineDashOffset(c)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),a&&(null!=i.fillOpacity?(p=t.globalAlpha,t.globalAlpha=i.fillOpacity*i.opacity,r.fill(t),t.globalAlpha=p):r.fill(t)),s&&d&&(t.setLineDash(s),t.lineDashOffset=c),o&&(null!=i.strokeOpacity?(p=t.globalAlpha,t.globalAlpha=i.strokeOpacity*i.opacity,r.stroke(t),t.globalAlpha=p):r.stroke(t)),s&&d&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new a},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n&&(i=(i=this.path)||(this.path=new a),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()),this._rect=t,e.hasStroke()){var i,r=this._rectWithStroke||(this._rectWithStroke=t.clone());return(this.__dirty||n)&&(r.copy(t),i=e.lineWidth,n=e.strokeNoScale?this.getLineScale():1,e.hasFill()||(i=Math.max(i,this.strokeContainThreshold||4)),1e-10<n&&(r.width+=i/n,r.height+=i/n,r.x-=i/n/2,r.y-=i/n/2)),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()){n=r.lineWidth,i=r.strokeNoScale?this.getLineScale():1;if(1e-10<i&&(r.hasFill()||(n=Math.max(n,this.strokeContainThreshold)),s.containStroke(o,n/i,t,e)))return!0}if(r.hasFill())return s.contain(o,t,e)}return!1},dirty:function(t){(t=null==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(o.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&&1e-10<r(t[0]-1)&&1e-10<r(t[3]-1)?Math.sqrt(r(t[0]*t[3]-t[2]*t[1])):1}},l.extend=function(r){function t(t){l.call(this,t),r.style&&this.style.extendFrom(r.style,!1);var e=r.shape;if(e){this.shape=this.shape||{};var n,i=this.shape;for(n in e)!i.hasOwnProperty(n)&&e.hasOwnProperty(n)&&(i[n]=e[n])}r.init&&r.init.call(this,t)}for(var e in o.inherits(t,l),r)"style"!==e&&"shape"!==e&&(t.prototype[e]=r[e]);return t},o.inherits(l,i),t.exports=l},function(t,e,n){"use strict";e.__esModule=!0,e.ChildrenMixin=function(t,e){void 0===e&&(e={});var n=e.indexKey||"index";return{inject:((e={})[t]={default:null},e),computed:((e={parent:function(){return this.disableBindRelation?null:this[t]}})[n]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},e),watch:{disableBindRelation:function(t){t||this.bindRelation()}},mounted:function(){this.bindRelation()},beforeDestroy:function(){var e=this;this.parent&&(this.parent.children=this.parent.children.filter(function(t){return t!==e}))},methods:{bindRelation:function(){var t;this.parent&&-1===this.parent.children.indexOf(this)&&(t=[].concat(this.parent.children,[this]),(0,i.sortChildren)(t,this.parent),this.parent.children=t)}}}},e.ParentMixin=function(e){return{provide:function(){var t={};return t[e]=this,t},data:function(){return{children:[]}}}};var i=n(730)},,function(t,e){var n={},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.]+)/),t=/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]);t&&(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&&11<=e.version),domSupported:"undefined"!=typeof document}}(navigator.userAgent);t.exports=n},function(t,e,n){var i=n(1),r=n(38),o=n(17).makeInner,a=n(78),s=a.enableClassExtend,l=a.enableClassCheck,u=n(846),c=n(847),h=n(848),a=n(861),n=i.mixin,d=o();function p(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function f(t,e,n){for(var i=0;i<e.length&&(!e[i]||null!=(t=t&&"object"==typeof t?t[e[i]]:null));i++);return t=null==t&&n?n.get(e):t}function g(t,e){var n=d(t).getParent;return n?n.call(t,e):t.parentModel}p.prototype={constructor:p,init:null,mergeOption:function(t){i.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:f(this.option,this.parsePath(t),!e&&g(this,t))},getShallow:function(t,e){var n=this.option,n=null==n?n:n[t],e=!e&&g(this,t);return n=null==n&&e?e.getShallow(t):n},getModel:function(t,e){var n;return new p(null==t?this.option:f(this.option,t=this.parsePath(t)),e=e||(n=g(this,t))&&n.getModel(t),this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new this.constructor(i.clone(this.option))},setReadOnly:function(t){},parsePath:function(t){return t="string"==typeof t?t.split("."):t},customizeGetParent:function(t){d(this).getParent=t},isAnimationEnabled:function(){if(!r.node)return null!=this.option.animation?!!this.option.animation:this.parentModel?this.parentModel.isAnimationEnabled():void 0}},s(p),l(p),n(p,u),n(p,c),n(p,h),n(p,a),t.exports=p},function(t,e,n){"use strict";e.__esModule=!0,e.on=function(t,e,n,i){void 0===i&&(i=!1);r.isServer||t.addEventListener(e,n,!!o&&{capture:!1,passive:i})},e.off=function(t,e,n){r.isServer||t.removeEventListener(e,n)},e.stopPropagation=a,e.preventDefault=function(t,e){"boolean"==typeof t.cancelable&&!t.cancelable||t.preventDefault();e&&a(t)},e.supportsPassive=void 0;var r=n(7),o=!1;if(e.supportsPassive=o,!r.isServer)try{var i={};Object.defineProperty(i,"passive",{get:function(){e.supportsPassive=o=!0}}),window.addEventListener("test-passive",null,i)}catch(t){}function a(t){t.stopPropagation()}},function(t,e,n){"use strict";function u(){return(u=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)}var c=["attrs","props","domProps"],h=["class","style","directives"],d=["on","nativeOn"],p=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}};t.exports=function(t){return t.reduce(function(t,e){for(var n in e)if(t[n])if(-1!==c.indexOf(n))t[n]=u({},t[n],e[n]);else if(-1!==h.indexOf(n)){var i=t[n]instanceof Array?t[n]:[t[n]],r=e[n]instanceof Array?e[n]:[e[n]];t[n]=i.concat(r)}else if(-1!==d.indexOf(n))for(var o in e[n]){var a,s;t[n][o]?(a=t[n][o]instanceof Array?t[n][o]:[t[n][o]],s=e[n][o]instanceof Array?e[n][o]:[e[n][o]],t[n][o]=a.concat(s)):t[n][o]=e[n][o]}else if("hook"==n)for(var l in e[n])t[n][l]=t[n][l]?p(t[n][l],e[n][l]):e[n][l];else t[n]=e[n];else t[n]=e[n];return t},{})}},,function(t,e,n){var a=n(1),r=n(39),o=n(158),i=n(78),s=i.enableClassManagement,l=i.parseClassType,i=n(17).makeInner,u=n(21),n=n(862),c=i(),h=r.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,n,i){r.call(this,t,e,n,i),this.uid=o.getUID("ec_cpt_model")},init:function(t,e,n,i){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?u.getLayoutParams(t):{},e=e.getTheme();a.merge(t,e.get(this.mainType)),a.merge(t,this.getDefaultOption()),n&&u.mergeLayoutParam(t,i,n)},mergeOption:function(t,e){a.merge(this.option,t,!0);var n=this.layoutMode;n&&u.mergeLayoutParam(this.option,t,n)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=c(this);if(!t.defaultOption){for(var e=[],n=this.constructor;n;){var i=n.prototype.defaultOption;i&&e.push(i),n=n.superClass}for(var r={},o=e.length-1;0<=o;o--)r=a.merge(r,e[o],!0);t.defaultOption=r}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(h,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(h),o.enableTopologicalTravel(h,function(t){var e=[];a.each(h.getClassesByMainType(t),function(t){e=e.concat(t.prototype.dependencies||[])}),e=a.map(e,function(t){return l(t).main}),"dataset"!==t&&a.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e}),a.mixin(h,n),t.exports=h},function(t,e,n){n(20).__DEV__;var b=n(1),i=n(38),r=n(26),S=r.formatTime,A=r.encodeHTML,M=r.addCommas,w=r.getTooltipMarker,C=n(17),o=n(43),a=n(648),s=n(337),r=n(21),l=r.getLayoutParams,u=r.mergeLayoutParam,c=n(338).createTask,r=n(79),h=r.prepareSource,d=r.getSource,T=n(104).retrieveRawValue,p=C.makeInner(),n=o.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=c({count:g,reset:m}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),h(this);n=this.getInitialData(t,n);y(n,this),this.dataTask.context.data=n,p(this).dataBeforeProcessed=n,f(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?l(t):{},r=this.subType;o.hasClass(r),b.merge(t,e.getTheme().get(this.subType)),b.merge(t,this.getDefaultOption()),C.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&u(t,i,n)},mergeOption:function(t,e){t=b.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&u(this.option,t,n),h(this);e=this.getInitialData(t,e);y(e,this),this.dataTask.dirty(),this.dataTask.context.data=e,p(this).dataBeforeProcessed=e,f(this)},fillDataTextStyle:function(t){if(t&&!b.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&C.defaultEmphasis(t[n],"label",e)},getInitialData:function(){},appendData:function(t){this.getRawData().appendData(t.data)},getData:function(t){var e=_(this);if(e){e=e.context.data;return null==t?e:e.getLinkedData(t)}return p(this).data},setData:function(t){var e,n=_(this);n&&((e=n.context).data!==t&&n.modifyOutputEnd&&n.setOutputEnd(t.count()),e.outputData=t,n!==this.dataTask&&(e.data=t)),p(this).data=t},getSource:function(){return d(this)},getRawData:function(){return p(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(e,o,t,a){var s=this,n="html"===(a=a||"html")?"<br/>":"\n",l="richText"===a,u={},c=0;function i(t){return{renderMode:a,content:A(M(t)),style:u}}var r,h,d,p=this.getData(),f=p.mapDimension("defaultedTooltip",!0),g=f.length,m=this.getRawValue(e),v=b.isArray(m),y=p.getItemVisual(e,"color"),y=(y=b.isObject(y)&&y.colorStops?(y.colorStops[0]||{}).color:y)||"transparent";function x(t,e){var n,i,r=p.getDimensionInfo(e);r&&!1!==r.otherDims.tooltip&&(n=r.type,i="sub"+s.seriesIndex+"at"+c,e="string"==typeof(e=w({color:y,type:"subItem",renderMode:a,markerId:i}))?e:e.content,(t=(h?e+A(r.displayName||"-")+": ":"")+A("ordinal"===n?t+"":"time"===n?o?"":S("yyyy/MM/dd hh:mm:ss",t):M(t)))&&d.push(t),l&&(u[i]=y,++c))}var _=(1<g||v&&!g?(r=m,h=b.reduce(r,function(t,e,n){n=p.getDimensionInfo(n);return t|(n&&!1!==n.tooltip&&null!=n.displayName)},0),d=[],f.length?b.each(f,function(t){x(T(p,e,t),t)}):b.each(r,x),r=h?l?"\n":"<br/>":"",r+=d.join(r||", "),{renderMode:a,content:r,style:u}):i(g?T(p,e,f[0]):v?m[0]:m)).content,g=s.seriesIndex+"at"+c,v=w({color:y,type:"item",renderMode:a,markerId:g});u[g]=y,++c;m=p.getName(e),g=this.name,g=(g=!C.isNameSpecified(this)?"":g)?A(g)+(o?": ":n):"",v="string"==typeof v?v:v.content;return{html:o?v+g+_:g+v+(m?A(m)+": "+_:_),markers:u}},isAnimationEnabled:function(){if(i.node)return!1;var t=this.getShallow("animation");return t=t&&this.getData().count()>this.getShallow("animationThreshold")?!1:t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel;return a.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},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 f(t){var e,n,i=t.name;C.isNameSpecified(t)||(t.name=(t=(e=(t=t).getRawData()).mapDimension("seriesName",!0),n=[],b.each(t,function(t){t=e.getDimensionInfo(t);t.displayName&&n.push(t.displayName)}),n.join(" ")||i))}function g(t){return t.model.getRawData().count()}function m(t){t=t.model;return t.setData(t.getRawData().cloneShallow()),v}function v(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function y(e,n){b.each(e.CHANGABLE_METHODS,function(t){e.wrapMethod(t,b.curry(x,n))})}function x(t){t=_(t);t&&t.setOutputEnd(this.count())}function _(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){e=n.currentTask;return!e||(n=e.agentStubMap)&&(e=n.get(t.uid)),e}}b.mixin(n,s),b.mixin(n,a),t.exports=n},function(t,e,n){"use strict";var i=n(244);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},,function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.inherit=function(n,t){var e=a.reduce(function(t,e){return n.data[e]&&(t[s[e]||e]=n.data[e]),t},{});t&&(e.on=e.on||{},(0,r.default)(e.on,n.data.on));return e},e.emit=function(t,e){for(var n=arguments.length,i=new Array(2<n?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];e=t.listeners[e];e&&(Array.isArray(e)?e.forEach(function(t){t.apply(void 0,i)}):e.apply(void 0,i))},e.mount=function(e,n){var t=new o.default({el:document.createElement("div"),props:e.props,render:function(t){return t(e,(0,r.default)({props:this.$props},n))}});return document.body.appendChild(t.$el),t};var r=i(n(28)),o=i(n(6)),a=["ref","style","class","attrs","refInFor","nativeOn","directives","staticClass","staticStyle"],s={nativeOn:"on"}},function(t,e,n){var i=n(77);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";var i=n(257);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},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],e=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]=e,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],e=Math.sin(n),n=Math.cos(n);return t[0]=i*n+a*e,t[1]=-i*e+a*n,t[2]=r*n+s*e,t[3]=-r*e+n*s,t[4]=n*o+e*l,t[5]=n*l-e*o,t},e.scale=function(t,e,n){var i=n[0],n=n[1];return t[0]=e[0]*i,t[1]=e[1]*n,t[2]=e[2]*i,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*n,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];return(e=n*a-o*i)?(t[0]=a*(e=1/e),t[1]=-o*e,t[2]=-i*e,t[3]=n*e,t[4]=(i*s-a*r)*e,t[5]=(o*r-n*s)*e,t):null},e.clone=function(t){var e=i();return o(e,t),e}},,function(t,e,n){"use strict";e.__esModule=!0,e.BORDER_UNSET_TOP_BOTTOM=e.BORDER_TOP_BOTTOM=e.BORDER_SURROUND=e.BORDER_BOTTOM=e.BORDER_LEFT=e.BORDER_TOP=e.BORDER=e.RED=void 0;e.RED="#ee0a24";var i="van-hairline";e.BORDER=i;e.BORDER_TOP="van-hairline--top";e.BORDER_LEFT="van-hairline--left";e.BORDER_BOTTOM="van-hairline--bottom";e.BORDER_SURROUND="van-hairline--surround";e.BORDER_TOP_BOTTOM="van-hairline--top-bottom";e.BORDER_UNSET_TOP_BOTTOM="van-hairline-unset--top-bottom"},function(t,e,n){var l=n(30),I=n(332),n=n(1),i=n.getContext,u=n.extend,D=n.retrieve2,L=n.retrieve3,r=n.trim,s={},c=0,h=5e3,k=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,d="12px sans-serif",o={};function N(t,e){var n=t+":"+(e=e||d);if(s[n])return s[n];for(var i=(t+"").split("\n"),r=0,o=0,a=i.length;o<a;o++)r=Math.max(v(i[o],e).width,r);return h<c&&(c=0,s={}),c++,s[n]=r}function p(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function f(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function a(t,e,n){var i=e.textPosition,r=e.textDistance,o=n.x,a=n.y,r=r||0,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 O(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=g(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=m(o[a],r);return o.join("\n")}function g(t,e,n,i){(i=u({},i)).font=e;n=D(n,"...");i.maxIterations=D(i.maxIterations,2);var r=i.minChar=D(i.minChar,0);i.cnCharWidth=N("国",e);var o=i.ascCharWidth=N("a",e);i.placeholder=D(i.placeholder,"");for(var a=t=Math.max(0,t-1),s=0;s<r&&o<=a;s++)a-=o;e=N(n,e);return a<e&&(n="",e=0),a=t-e,i.ellipsis=n,i.ellipsisWidth=e,i.contentWidth=a,i.containerWidth=t,i}function m(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";if((s=N(t,i))<=n)return t;for(var o=0;;o++){if(s<=r||o>=e.maxIterations){t+=e.ellipsis;break}var a=0===o?function(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}(t,r,e.ascCharWidth,e.cnCharWidth):0<s?Math.floor(t.length*r/s):0,s=N(t=t.substr(0,a),i)}return t=""===t?e.placeholder:t}function P(t){return N("国",t)}function v(t,e){return o.measureText(t,e)}function y(t,e,n,i,r){null!=t&&(t+="");var o=D(i,P(e)),a=t?t.split("\n"):[],s=a.length*o,l=s,u=!0;if(n&&(l+=n[0]+n[2]),t&&r){var u=!1,c=r.outerHeight,i=r.outerWidth;if(null!=c&&c<l)t="",a=[];else if(null!=i)for(var h=g(i-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),d=0,p=a.length;d<p;d++)a[d]=m(a[d],h)}return{lines:a,height:s,outerHeight:l,lineHeight:o,canCacheByTextString:u}}function x(t,e){var n={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return n;for(var i,r=k.lastIndex=0;null!=(i=k.exec(t));){var o=i.index;r<o&&E(n,t.substring(r,o)),E(n,i[2],i[1]),r=k.lastIndex}r<t.length&&E(n,t.substring(r,t.length));var a=n.lines,s=0,l=0,u=[],c=e.textPadding,h=e.truncate,d=h&&h.outerWidth,p=h&&h.outerHeight;c&&(null!=d&&(d-=c[1]+c[3]),null!=p&&(p-=c[0]+c[2]));for(var f=0;f<a.length;f++){for(var g=a[f],m=0,v=0,y=0;y<g.tokens.length;y++){var x=(C=g.tokens[y]).styleName&&e.rich[C.styleName]||{},_=C.textPadding=x.textPadding,b=C.font=x.font||e.font,S=C.textHeight=D(x.textHeight,P(b));if(_&&(S+=_[0]+_[2]),C.height=S,C.lineHeight=L(x.textLineHeight,e.textLineHeight,S),C.textAlign=x&&x.textAlign||e.textAlign,C.textVerticalAlign=x&&x.textVerticalAlign||"middle",null!=p&&s+C.lineHeight>p)return{lines:[],width:0,height:0};C.textWidth=N(C.text,b);var A,M=x.textWidth,w=null==M||"auto"===M;"string"==typeof M&&"%"===M.charAt(M.length-1)?(C.percentWidth=M,u.push(C),M=0):(w&&(M=C.textWidth,(A=(A=x.textBackgroundColor)&&A.image)&&(A=I.findExistImage(A),I.isImageReady(A)&&(M=Math.max(M,A.width*S/A.height)))),M+=A=_?_[1]+_[3]:0,null!=(_=null!=d?d-v:null)&&_<M&&(!w||_<A?(C.text="",C.textWidth=M=0):(C.text=O(C.text,_-A,b,h.ellipsis,{minChar:h.minChar}),C.textWidth=N(C.text,b),M=C.textWidth+A))),v+=C.width=M,x&&(m=Math.max(m,C.lineHeight))}g.width=v,s+=g.lineHeight=m,l=Math.max(l,v)}n.outerWidth=n.width=D(e.textWidth,l),n.outerHeight=n.height=D(e.textHeight,s),c&&(n.outerWidth+=c[1]+c[3],n.outerHeight+=c[0]+c[2]);for(f=0;f<u.length;f++){var C,T=(C=u[f]).percentWidth;C.width=parseInt(T,10)/100*l}return n}function E(t,e,n){for(var i=""===e,r=e.split("\n"),o=t.lines,a=0;a<r.length;a++){var s,l,u=r[a],c={styleName:n,text:u,isLineHolder:!u&&!i};a?o.push({tokens:[c]}):1===(l=(s=(o[o.length-1]||(o[0]={tokens:[]})).tokens).length)&&s[0].isLineHolder?s[0]=c:!u&&l&&!i||s.push(c)}}o.measureText=function(t,e){var n=i();return n.font=e||d,n.measureText(t)},e.DEFAULT_FONT=d,e.$override=function(t,e){o[t]=e},e.getWidth=N,e.getBoundingRect=function(t,e,n,i,r,o,a,s){return a?function(t,e,n,i,r,o,a,s){r=x(t,{rich:a,truncate:s,font:e,textAlign:n,textPadding:r,textLineHeight:o}),o=r.outerWidth,r=r.outerHeight,n=p(0,o,n),i=f(0,r,i);return new l(n,i,o,r)}(t,e,n,i,r,o,a,s):function(t,e,n,i,r,o,a){a=y(t,e,r,o,a),e=N(t,e);r&&(e+=r[1]+r[3]);r=a.outerHeight,n=p(0,e,n),i=f(0,r,i),r=new l(n,i,e,r);return r.lineHeight=a.lineHeight,r}(t,e,n,i,r,o,s)},e.adjustTextX=p,e.adjustTextY=f,e.calculateTextPosition=a,e.adjustTextPositionOnRect=function(t,e,n){return a({},{textPosition:t,textDistance:n},e)},e.truncateText=O,e.getLineHeight=P,e.measureText=v,e.parsePlainText=y,e.parseRichText=x,e.makeFont=function(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&r(e)||t.textFont||t.font}},function(t,e,n){var i=n(1),l=n(8),u=n(30),r=n(55).calculateTextPosition,o=l.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,e=e.height/2;t.moveTo(n,i-e),t.lineTo(n+r,i+e),t.lineTo(n-r,i+e),t.closePath()}}),a=l.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,e=e.height/2;t.moveTo(n,i-e),t.lineTo(n+r,i),t.lineTo(n,i+e),t.lineTo(n-r,i),t.closePath()}}),s=l.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),e=Math.cos(u),r=.6*a,o=.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*r,l+s+e*r,n,i-o,n,i),t.bezierCurveTo(n,i-o,n-c+h*r,l+s+e*r,n-c,l+s),t.closePath()}}),n=l.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,e=e.y,i=i/3*2;t.moveTo(r,e),t.lineTo(r+i,e+n),t.lineTo(r,e+n/4*3),t.lineTo(r-i,e+n),t.lineTo(r,e),t.closePath()}}),o={line:l.Line,rect:l.Rect,roundRect:l.Rect,square:l.Rect,circle:l.Circle,diamond:a,pin:s,arrow:n,triangle:o},c={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){i=Math.min(n,i);r.x=t,r.y=e,r.width=i,r.height=i},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}},h={};i.each(o,function(t,e){h[e]=new t});var d=l.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=r(t,e,n),t=this.shape;return t&&"pin"===t.symbolType&&"inside"===e.textPosition&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i,r=e.symbolType;"none"!==r&&(i=(i=h[r])||h[r="rect"],c[r](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n))}});function p(t,e){var n,i;"image"!==this.type&&(n=this.style,(i=this.shape)&&"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,r,o,a){var s=0===t.indexOf("empty");return(r=0===(t=s?t.substr(5,1).toLowerCase()+t.substr(6):t).indexOf("image://")?l.makeImage(t.slice(8),new u(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u(e,n,i,r),a?"center":"cover"):new d({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=s,r.setColor=p,r.setColor(o),r}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){"use strict";var i=n(6);e.a=new(n.n(i).a)},function(t,e,n){"use strict";n.d(e,"e",function(){return i}),n.d(e,"g",function(){return r}),n.d(e,"f",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return s}),n.d(e,"b",function(){return l}),n.d(e,"d",function(){return u});var i={global:{},local:{}},r="ELEMENT_THEME_USER_CONFIG",o="ELEMENT_THEME_PREVIEW_CONFIG",a="ELEMENT_THEME_ACTION_DOWNLOAD",s="ELEMENT_THEME_ACTION_ALLPY_CSS",l="ELEMENT_THEME_ACTION_COMPONECT_SELECT",u="ELEMENT_THEME_USER_CONFIG_UPDATE"},function(t,e,n){n(20).__DEV__;var b=n(1),i=n(39),r=n(105),o=n(159),a=n(104),s=a.defaultDimValueGetters,l=a.DefaultDataProvider,u=n(161).summarizeDimensions,c=n(653),h=b.isObject,n="undefined",d={float:typeof Float64Array==n?Array:Float64Array,int:typeof Int32Array==n?Array:Int32Array,ordinal:Array,number:Array,time:Array},p=typeof Uint32Array==n?Array:Uint32Array,f=typeof Int32Array==n?Array:Int32Array,g=typeof Uint16Array==n?Array:Uint16Array;function C(t){return 65535<t._rawCount?p:g}var m=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],v=["_extent","_approximateExtent","_rawExtent"];function y(e,n){b.each(m.concat(n.__wrappedMethods||[]),function(t){n.hasOwnProperty(t)&&(e[t]=n[t])}),e.__wrappedMethods=n.__wrappedMethods,b.each(v,function(t){e[t]=b.clone(n[t])}),e._calculationInfo=b.extend(n._calculationInfo)}function x(t,e){t=t||["x","y"];for(var n={},i=[],r={},o=0;o<t.length;o++){var a=t[o];b.isString(a)?a=new c({name:a}):a instanceof c||(a=new c(a));var s=a.name;a.type=a.type||"float",a.coordDim||(a.coordDim=s,a.coordDimIndex=0),a.otherDims=a.otherDims||{},i.push(s),(n[s]=a).index=o,a.createInvertedIndices&&(r[s]=[])}this.dimensions=i,this._dimensionInfos=n,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=u(this),this._invertedIndicesMap=r,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput}n=x.prototype;function I(t,e,n,i,r){var o=d[e.type],a=i-1,s=e.name,l=t[s][a];if(l&&l.length<n){for(var u=new o(Math.min(r-a*n,n)),c=0;c<l.length;c++)u[c]=l[c];t[s][a]=u}for(var h=i*n;h<r;h+=n)t[s].push(new o(Math.min(r-h,n)))}function D(r){var o=r._invertedIndicesMap;b.each(o,function(t,e){var n=r._dimensionInfos[e].ordinalMeta;if(n){t=o[e]=new f(n.categories.length);for(var i=0;i<t.length;i++)t[i]=-1;for(i=0;i<r._count;i++)t[r.get(e,i)]=i}})}function _(t,e,n){var i,r,o;return null!=e&&(i=t._chunkSize,r=Math.floor(n/i),e=t.dimensions[e],(r=t._storage[e][r])&&(o=r[n%i],(e=t._dimensionInfos[e].ordinalMeta)&&e.categories.length&&(o=e.categories[o]))),o}function T(t){return t}function L(t){return t<this._count&&0<=t?this._indices[t]:-1}function S(t,e){var n=t._idList[e];return n=null==(n=null==n?_(t,t._idDimIdx,e):n)?"e\0\0"+e:n}function A(t){return t=!b.isArray(t)?[t]:t}function M(t,e){var n=t.dimensions,i=new x(b.map(n,t.getDimensionInfo,t),t.hostModel);y(i,t);for(var r=i._storage={},o=t._storage,a=0;a<n.length;a++){var s=n[a];o[s]&&(0<=b.indexOf(e,s)?(r[s]=function(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(t[n]);return e}(o[s]),i._rawExtent[s]=k(),i._extent[s]=null):r[s]=o[s])}return i}function k(){return[1/0,-1/0]}n.type="list",n.hasItemOption=!0,n.getDimension=function(t){return t="number"==typeof t||!isNaN(t)&&!this._dimensionInfos.hasOwnProperty(t)?this.dimensions[t]:t},n.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},n.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},n.mapDimension=function(t,e){var n=this._dimensionsSummary;if(null==e)return n.encodeFirstDimNotExtra[t];t=n.encode[t];return!0===e?(t||[]).slice():t&&t[e]},n.initData=function(t,e,n){(o.isInstance(t)||b.isArrayLike(t))&&(t=new l(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=s[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._dimValueGetterArrayRows=s.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},n.getProvider=function(){return this._rawData},n.appendData=function(t){var e=this._rawData,n=this.count();e.appendData(t);t=e.count();e.persistent||(t+=n),this._initDataFromProvider(n,t)},n.appendValues=function(t,e){for(var n=this._chunkSize,i=this._storage,r=this.dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e?e.length:0),u=this._chunkCount,c=0;c<o;c++)a[v=r[c]]||(a[v]=k()),i[v]||(i[v]=[]),I(i,this._dimensionInfos[v],n,u,l),this._chunkCount=i[v].length;for(var h=new Array(o),d=s;d<l;d++){for(var p=d-s,f=Math.floor(d/n),g=d%n,m=0;m<o;m++){var v=r[m],y=this._dimValueGetterArrayRows(t[p]||h,v,p,m);i[v][f][g]=y;var x=a[v];y<x[0]&&(x[0]=y),y>x[1]&&(x[1]=y)}e&&(this._nameList[d]=e[p])}this._rawCount=this._count=l,this._extent={},D(this)},n._initDataFromProvider=function(t,e){if(!(e<=t)){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={},p=this._chunkCount,f=0;f<s;f++){h[w=a[f]]||(h[w]=k());var g=l[w];0===g.otherDims.itemName&&(n=this._nameDimIdx=f),0===g.otherDims.itemId&&(this._idDimIdx=f),o[w]||(o[w]=[]),I(o,g,i,p,e),this._chunkCount=o[w].length}for(var m=new Array(s),v=t;v<e;v++){for(var y,x,_,b,m=r.getItem(v,m),S=Math.floor(v/i),A=v%i,M=0;M<s;M++){var w,C=o[w=a[M]][S],T=this._dimValueGetter(m,w,v,M);C[A]=T;C=h[w];T<C[0]&&(C[0]=T),T>C[1]&&(C[1]=T)}r.pure||(_=u[v],m&&null==_&&(null!=m.name?u[v]=_=m.name:null==n||(x=o[y=a[n]][S])&&(_=x[A],(b=l[y].ordinalMeta)&&b.categories.length&&(_=b.categories[_]))),null==(b=null==m?null:m.id)&&null!=_&&(d[_]=d[_]||0,0<d[b=_]&&(b+="__ec__"+d[_]),d[_]++),null!=b&&(c[v]=b))}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},D(this)}},n.count=function(){return this._count},n.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<n;i++)r[i]=t[i]}else r=new e(t.buffer,0,n)}else for(var r=new(e=C(this))(this.count()),i=0;i<r.length;i++)r[i]=i;return r},n.get=function(t,e){if(!(0<=e&&e<this._count))return NaN;var n=this._storage;if(!n[t])return NaN;e=this.getRawIndex(e);var i=Math.floor(e/this._chunkSize),e=e%this._chunkSize;return n[t][i][e]},n.getByRawIndex=function(t,e){if(!(0<=e&&e<this._rawCount))return NaN;var n=this._storage[t];if(!n)return NaN;t=Math.floor(e/this._chunkSize),e%=this._chunkSize;return n[t][e]},n._getFast=function(t,e){var n=Math.floor(e/this._chunkSize),e=e%this._chunkSize;return this._storage[t][n][e]},n.getValues=function(t,e){var n=[];b.isArray(t)||(e=t,t=this.dimensions);for(var i=0,r=t.length;i<r;i++)n.push(this.get(t[i],e));return n},n.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this.get(e[n],t)))return!1;return!0},n.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],n=k();if(!e)return n;var i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var r=(e=n)[0],o=e[1],a=0;a<i;a++){var s=this._getFast(t,this.getRawIndex(a));s<r&&(r=s),o<s&&(o=s)}return this._extent[t]=e=[r,o]},n.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},n.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},n.getCalculationInfo=function(t){return this._calculationInfo[t]},n.setCalculationInfo=function(t,e){h(t)?b.extend(this._calculationInfo,t):this._calculationInfo[t]=e},n.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,i=this.count();n<i;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},n.getMedian=function(t){var n=[];this.each(t,function(t,e){isNaN(t)||n.push(t)});var e=[].concat(n).sort(function(t,e){return t-e}),t=this.count();return 0===t?0:t%2==1?e[(t-1)/2]:(e[t/2]+e[t/2-1])/2},n.rawIndexOf=function(t,e){e=(t&&this._invertedIndicesMap[t])[e];return null==e||isNaN(e)?-1:e},n.indexOfName=function(t){for(var e=0,n=this.count();e<n;e++)if(this.getName(e)===t)return e;return-1},n.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=1+o;else{if(!(e[o]>t))return o;r=o-1}}return-1},n.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<l;s++){var u=e-this.get(t,s),c=Math.abs(u);c<=n&&((c<r||c===r&&0<=u&&o<0)&&(r=c,o=u,a=0),u===o&&(i[a++]=s))}return i.length=a,i},n.getRawIndex=T,n.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n<this.dimensions.length;n++){var i=this.dimensions[n];e.push(this.get(i,t))}return e},n.getName=function(t){t=this.getRawIndex(t);return this._nameList[t]||_(this,this._nameDimIdx,t)||""},n.getId=function(t){return S(this,this.getRawIndex(t))},n.each=function(t,e,n,i){"use strict";if(this._count){"function"==typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this;for(var r=(t=b.map(A(t),this.getDimension,this)).length,o=0;o<this.count();o++)switch(r){case 0:e.call(n,o);break;case 1:e.call(n,this.get(t[0],o),o);break;case 2:e.call(n,this.get(t[0],o),this.get(t[1],o),o);break;default:for(var a=0,s=[];a<r;a++)s[a]=this.get(t[a],o);s[a]=o,e.apply(n,s)}}},n.filterSelf=function(t,e,n,i){"use strict";if(this._count){"function"==typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this,t=b.map(A(t),this.getDimension,this);for(var r=this.count(),o=new(C(this))(r),a=[],s=t.length,l=0,u=t[0],c=0;c<r;c++){var h=this.getRawIndex(c);if(0===s)p=e.call(n,c);else if(1===s)var d=this._getFast(u,h),p=e.call(n,d,c);else{for(var f=0;f<s;f++)a[f]=this._getFast(u,h);a[f]=c,p=e.apply(n,a)}p&&(o[l++]=h)}return l<r&&(this._indices=o),this._count=l,this._extent={},this.getRawIndex=this._indices?L:T,this}},n.selectRange=function(t){"use strict";if(this._count){var e,n=[];for(e in t)t.hasOwnProperty(e)&&n.push(e);var i=n.length;if(i){var r=this.count(),o=new(C(this))(r),a=0,s=n[0],l=t[s][0],u=t[s][1],c=!1;if(!this._indices){var h=0;if(1===i){for(var d=this._storage[n[0]],p=0;p<this._chunkCount;p++)for(var f=d[p],g=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<g;m++)(l<=(b=f[m])&&b<=u||isNaN(b))&&(o[a++]=h),h++;c=!0}else if(2===i){for(var d=this._storage[s],v=this._storage[n[1]],y=t[n[1]][0],x=t[n[1]][1],p=0;p<this._chunkCount;p++)for(var f=d[p],_=v[p],g=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<g;m++){var b=f[m],S=_[m];(l<=b&&b<=u||isNaN(b))&&(y<=S&&S<=x||isNaN(S))&&(o[a++]=h),h++}c=!0}}if(!c)if(1===i)for(m=0;m<r;m++){var A=this.getRawIndex(m);(l<=(b=this._getFast(s,A))&&b<=u||isNaN(b))&&(o[a++]=A)}else for(m=0;m<r;m++){for(var M=!0,A=this.getRawIndex(m),p=0;p<i;p++){var w=n[p];((b=this._getFast(e,A))<t[w][0]||b>t[w][1])&&(M=!1)}M&&(o[a++]=this.getRawIndex(m))}return a<r&&(this._indices=o),this._count=a,this._extent={},this.getRawIndex=this._indices?L:T,this}}},n.mapArray=function(t,e,n,i){"use strict";"function"==typeof t&&(i=n,n=e,e=t,t=[]);var r=[];return this.each(t,function(){r.push(e&&e.apply(this,arguments))},n=n||i||this),r},n.map=function(t,e,n,i){"use strict";n=n||i||this;i=M(this,t=b.map(A(t),this.getDimension,this));i._indices=this._indices,i.getRawIndex=i._indices?L:T;for(var r=i._storage,o=[],a=this._chunkSize,s=t.length,l=this.count(),u=[],c=i._rawExtent,h=0;h<l;h++){for(var d=0;d<s;d++)u[d]=this.get(t[d],h);u[s]=h;var p=e&&e.apply(n,u);if(null!=p){"object"!=typeof p&&(o[0]=p,p=o);for(var f=this.getRawIndex(h),g=Math.floor(f/a),m=f%a,v=0;v<p.length;v++){var y=t[v],x=p[v],_=c[y],y=r[y];y&&(y[g][m]=x),x<_[0]&&(_[0]=x),x>_[1]&&(_[1]=x)}}}return i},n.downSample=function(t,e,n,i){for(var r=M(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(C(this))(u),p=0,f=0;f<u;f+=s){u-f<s&&(a.length=s=u-f);for(var g=0;g<s;g++){var m=this.getRawIndex(f+g),v=Math.floor(m/c);a[g]=l[v][m%c]}var y=n(a),x=this.getRawIndex(Math.min(f+i(a,y)||0,u-1));(l[Math.floor(x/c)][x%c]=y)<h[0]&&(h[0]=y),y>h[1]&&(h[1]=y),d[p++]=x}return r._count=p,r._indices=d,r.getRawIndex=L,r},n.getItemModel=function(t){var e=this.hostModel;return new i(this.getRawDataItem(t),e,e&&e.ecModel)},n.diff=function(e){var n=this;return new r(e?e.getIndices():[],this.getIndices(),function(t){return S(e,t)},function(t){return S(n,t)})},n.getVisual=function(t){var e=this._visual;return e&&e[t]},n.setVisual=function(t,e){if(h(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},n.setLayout=function(t,e){if(h(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},n.getLayout=function(t){return this._layout[t]},n.getItemLayout=function(t){return this._itemLayouts[t]},n.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?b.extend(this._itemLayouts[t]||{},e):e},n.clearItemLayouts=function(){this._itemLayouts.length=0},n.getItemVisual=function(t,e,n){t=this._itemVisuals[t],t=t&&t[e];return null!=t||n?t:this.getVisual(e)},n.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=i,h(e))for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o],r[o]=!0);else i[e]=n,r[e]=!0},n.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};function w(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType}n.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(w,e)),this._graphicEls[t]=e},n.getItemGraphicEl=function(t){return this._graphicEls[t]},n.eachItemGraphicEl=function(n,i){b.each(this._graphicEls,function(t,e){t&&n&&n.call(i,t,e)})},n.cloneShallow=function(t){var e;return t||(e=b.map(this.dimensions,this.getDimensionInfo,this),t=new x(e,this.hostModel)),t._storage=this._storage,y(t,this),this._indices?(e=this._indices.constructor,t._indices=new e(this._indices)):t._indices=null,t.getRawIndex=t._indices?L:T,t},n.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(b.slice(arguments)))})},n.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],n.CHANGABLE_METHODS=["filterSelf","selectRange"],t.exports=x},function(t,e,n){},function(t,e,n){"use strict";function i(t){return t===window}e.__esModule=!0,e.getScroller=function(t,e){void 0===e&&(e=window);var n=t;for(;n&&"HTML"!==n.tagName&&"BODY"!==n.tagName&&1===n.nodeType&&n!==e;){var i=window.getComputedStyle(n).overflowY;if(r.test(i))return n;n=n.parentNode}return e},e.getScrollTop=o,e.setScrollTop=a,e.getRootScrollTop=s,e.setRootScrollTop=function(t){a(window,t),a(document.body,t)},e.getElementTop=function(t,e){if(i(t))return 0;e=e?o(e):s();return t.getBoundingClientRect().top+e},e.getVisibleHeight=function(t){if(i(t))return t.innerHeight;return t.getBoundingClientRect().height},e.getVisibleTop=function(t){if(i(t))return 0;return t.getBoundingClientRect().top};var r=/scroll|auto/i;function o(t){t="scrollTop"in t?t.scrollTop:t.pageYOffset;return Math.max(t,0)}function a(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)}function s(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}},function(t,e,n){"use strict";e.__esModule=!0,e.TouchMixin=void 0;var r=n(40);e.TouchMixin={data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var e=t.touches[0];this.deltaX=e.clientX-this.startX,this.deltaY=e.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||(t=this.offsetX,(e=this.offsetY)<t&&10<t?"horizontal":t<e&&10<e?"vertical":"")},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(t){var e=this.onTouchStart,n=this.onTouchMove,i=this.onTouchEnd;(0,r.on)(t,"touchstart",e),(0,r.on)(t,"touchmove",n),i&&((0,r.on)(t,"touchend",i),(0,r.on)(t,"touchcancel",i))}}}},,function(t,e,n){"use strict";e.__esModule=!0;var i=a(n(811)),r=a(n(823)),o="function"==typeof r.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":typeof t};function a(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof r.default&&"symbol"===o(i.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":void 0===t?"undefined":o(t)}},function(t,e,n){var o=n(1),a={};function i(){this._coordinateSystems=[]}i.prototype={constructor:i,create:function(n,i){var r=[];o.each(a,function(t,e){t=t.create(n,i);r=r.concat(t||[])}),this._coordinateSystems=r},update:function(e,n){o.each(this._coordinateSystems,function(t){t.update&&t.update(e,n)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},i.register=function(t,e){a[t]=e},i.get=function(t){return a[t]},t.exports=i},function(t,e,n){n(20).__DEV__;var d=n(1),i=n(877),r=n(280),o=n(279),p=n(13),a=n(281),f=a.prepareLayoutBarSeries,g=a.makeColumnLayout,m=a.retrieveColumnLayout,v=n(30);function s(t,e){var n,i,r,o=t.type,a=e.getMin(),s=e.getMax(),l=t.getExtent();"ordinal"===o?n=e.getCategories().length:(i=e.get("boundaryGap"),(i="boolean"==typeof(i=!d.isArray(i)?[i||0,i||0]:i)[0]?[0,0]:i)[0]=p.parsePercent(i[0],1),i[1]=p.parsePercent(i[1],1),r=l[1]-l[0]||Math.abs(l[0])),"dataMin"===a?a=l[0]:"function"==typeof a&&(a=a({min:l[0],max:l[1]})),"dataMax"===s?s=l[1]:"function"==typeof s&&(s=s({min:l[0],max:l[1]}));var u=null!=a,c=null!=s;null==a&&(a="ordinal"===o?n?0:NaN:l[0]-i[0]*r),null==s&&(s="ordinal"===o?n?n-1:NaN:l[1]+i[1]*r),null!=a&&isFinite(a)||(a=NaN),null!=s&&isFinite(s)||(s=NaN),t.setBlank(d.eqNaN(a)||d.eqNaN(s)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(a=0<a&&0<s&&!u?0:a)<0&&s<0&&!c&&(s=0);var h,t=e.ecModel;return t&&"time"===o&&(t=f("bar",t),d.each(t,function(t){h|=t.getBaseAxis()===e.axis}),h&&(t=g(t),a=(t=function(t,e,n,i){var r=n.axis.getExtent(),r=r[1]-r[0],i=m(i,n.axis);if(void 0===i)return{min:t,max:e};var o=1/0;d.each(i,function(t){o=Math.min(t.offset,o)});var a=-1/0;d.each(i,function(t){a=Math.max(t.offset+t.width,a)}),o=Math.abs(o),a=Math.abs(a);n=o+a,i=e-t,i=i/(1-(o+a)/r)-i;return{min:t-=o/n*i,max:e+=a/n*i}}(a,s,e,t)).min,s=t.max)),{extent:[a,s],fixMin:u,fixMax:c}}function y(n){var e,i=n.getLabelModel().get("formatter"),r="category"===n.type?n.scale.getExtent()[0]:null;return"string"==typeof i?(e=i,i=function(t){return t=n.scale.getLabel(t),e.replace("{value}",null!=t?t:"")}):"function"==typeof i?function(t,e){return null!=r&&(e=t-r),i(l(n,t),e)}:function(t){return n.scale.getLabel(t)}}function l(t,e){return"category"===t.type?t.scale.getLabel(e):e}function u(t){t=t.get("interval");return null==t?"auto":t}n(878),n(656),e.getScaleExtent=s,e.niceScaleExtent=function(t,e){var n=s(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}),null!=(e=e.get("interval"))&&t.setInterval&&t.setInterval(e)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new i(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new r;default:return(o.getClass(e)||r).create(t)}},e.ifAxisCrossZero=function(t){var t=(e=t.scale.getExtent())[0],e=e[1];return!(0<t&&0<e||t<0&&e<0)},e.makeLabelFormatter=y,e.getAxisRawValue=l,e.estimateLabelUnionRect=function(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,e="category"===t.type,o=n.getExtent(),a=e?n.count():(i=n.getTicks()).length,s=t.getLabelModel(),l=y(t),u=1;40<a&&(u=Math.ceil(a/40));for(var c,h,d=0;d<a;d+=u){var p=l(i?i[d]:o[0]+d),f=s.getTextRect(p),g=(c=f,h=s.get("rotate")||0,g=f=p=g=void 0,g=h*Math.PI/180,p=c.plain(),f=p.width,h=p.height,c=f*Math.abs(Math.cos(g))+Math.abs(h*Math.sin(g)),g=f*Math.abs(Math.sin(g))+Math.abs(h*Math.cos(g)),new v(p.x,p.y,c,g));r?r.union(g):r=g}return r}},e.getOptionCategoryInterval=u,e.shouldShowAllLabels=function(t){return"category"===t.type&&0===u(t.getLabelModel())}},function(t,e,n){},function(t,e,n){var i=n(4);!function(){for(var t in i){if(null==i||!i.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=i[t]}}();var r=n(652);!function(){for(var t in r){if(null==r||!r.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=r[t]}}(),n(650),n(344),n(154),n(345),n(684),n(679),n(347),n(685),n(942),n(950),n(692),n(678),n(968),n(696),n(985),n(698),n(995),n(999),n(702),n(1008),n(1011),n(1022),n(1028),n(1034),n(1035),n(1047),n(703),n(693),n(1050),n(1054),n(1055),n(666),n(164),n(1067),n(1074),n(1075),n(1084),n(1087),n(1090),n(1093),n(343),n(708),n(710),n(709),n(365),n(711),n(720),n(1106),n(1109)},function(t,e,n){var i=n(101);e.Dispatcher=i;var o=n(38),n=n(627),a=n.isCanvasEl,s=n.transformCoordWithViewport,r="undefined"!=typeof window&&!!window.addEventListener,l=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,u=[];function c(t,e,n,i){return n=n||{},i||!o.canvasSupported?h(t,e,n):o.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):h(t,e,n),n}function h(t,e,n){if(o.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(a(t)){e=t.getBoundingClientRect();return n.zrX=i-e.left,void(n.zrY=r-e.top)}if(s(u,t,i,r))return n.zrX=u[0],void(n.zrY=u[1])}n.zrX=n.zrY=0}function d(t){return t||window.event}n=r?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};e.clientToLocal=c,e.getNativeEvent=d,e.normalizeEvent=function(t,e,n){if(null!=(e=d(e)).zrX)return e;var i=e.type;return i&&0<=i.indexOf("touch")?(i=("touchend"!==i?e.targetTouches:e.changedTouches)[0])&&c(t,i,e,n):(c(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3),n=e.button,null==e.which&&void 0!==n&&l.test(e.type)&&(e.which=1&n?1:2&n?3:4&n?2:0),e},e.addEventListener=function(t,e,n,i){r?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n,i){r?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)},e.stop=n,e.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},e.notLeftMouse=function(t){return 1<t.which}},function(t,e,n){var i=n(630),l={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 s(t){return(t=Math.round(t))<0?0:255<t?255:t}function u(t){return t<0?0:1<t?1:t}function c(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100*255):s(parseInt(t,10))}function h(t){return t.length&&"%"===t.charAt(t.length-1)?u(parseFloat(t)/100):u(parseFloat(t))}function o(t,e,n){return n<0?n+=1:1<n&&--n,6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function d(t,e,n){return t+(e-t)*n}function p(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var g=new i(20),r=null;function m(t,e){r&&f(r,e),r=g.put(t,r||e.slice())}function v(t,e){if(t){e=e||[];var n=g.get(t);if(n)return f(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in l)return f(e,l[i]),m(t,e),e;if("#"===i.charAt(0))return 4===i.length?0<=(o=parseInt(i.substr(1),16))&&o<=4095?(p(e,(3840&o)>>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,1),m(t,e),e):void p(e,0,0,0,1):7===i.length?0<=(o=parseInt(i.substr(1),16))&&o<=16777215?(p(e,(16711680&o)>>16,(65280&o)>>8,255&o,1),m(t,e),e):void p(e,0,0,0,1):void 0;var r=i.indexOf("("),n=i.indexOf(")");if(-1!==r&&n+1===i.length){var o=i.substr(0,r),a=i.substr(r+1,n-(r+1)).split(","),s=1;switch(o){case"rgba":if(4!==a.length)return void p(e,0,0,0,1);s=h(a.pop());case"rgb":return 3!==a.length?void p(e,0,0,0,1):(p(e,c(a[0]),c(a[1]),c(a[2]),s),m(t,e),e);case"hsla":return 4!==a.length?void p(e,0,0,0,1):(a[3]=h(a[3]),y(a,e),m(t,e),e);case"hsl":return 3!==a.length?void p(e,0,0,0,1):(y(a,e),m(t,e),e);default:return}}p(e,0,0,0,1)}}function y(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=h(t[1]),r=h(t[2]),i=r<=.5?r*(i+1):r+i-r*i,r=2*r-i;return p(e=e||[],s(255*o(r,i,n+1/3)),s(255*o(r,i,n)),s(255*o(r,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function a(t,e,n){if(e&&e.length&&0<=t&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),t=e[r],o=e[o],r=i-r;return n[0]=s(d(t[0],o[0],r)),n[1]=s(d(t[1],o[1],r)),n[2]=s(d(t[2],o[2],r)),n[3]=u(d(t[3],o[3],r)),n}}n=a;function x(t,e,n){if(e&&e.length&&0<=t&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=v(e[r]),t=v(e[o]),e=i-r,e=_([s(d(a[0],t[0],e)),s(d(a[1],t[1],e)),s(d(a[2],t[2],e)),u(d(a[3],t[3],e))],"rgba");return n?{color:e,leftIndex:r,rightIndex:o,value:i}:e}}i=x;function _(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=v,e.lift=function(t,e){var n=v(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,255<n[i]?n[i]=255:t[i]<0&&(n[i]=0);return _(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){if(t=v(t))return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)},e.fastLerp=a,e.fastMapToColor=n,e.lerp=x,e.mapToColor=i,e.modifyHSL=function(t,e,n,i){if(t=v(t))return t=function(t){if(t){var e,n,i,r=t[0]/255,o=t[1]/255,a=t[2]/255,s=Math.min(r,o,a),l=Math.max(r,o,a),u=l-s,c=(l+s)/2;0==u?n=e=0:(n=c<.5?u/(l+s):u/(2-l-s),i=((l-r)/6+u/2)/u,s=((l-o)/6+u/2)/u,u=((l-a)/6+u/2)/u,r===l?e=u-s:o===l?e=1/3+i-u:a===l&&(e=2/3+s-i),e<0&&(e+=1),1<e&&--e);c=[360*e,n,c];return null!=t[3]&&c.push(t[3]),c}}(t),null!=e&&(t[0]=(e=e,(e=Math.round(e))<0?0:360<e?360:e)),null!=n&&(t[1]=h(n)),null!=i&&(t[2]=h(i)),_(y(t),"rgba")},e.modifyAlpha=function(t,e){if((t=v(t))&&null!=e)return t[3]=u(e),_(t,"rgba")},e.stringify=_},function(t,e,n){var o=n(1).each,i=n(102),r=n(158),a=n(78),s=n(17),l=n(8),u=n(338).createTask,n=n(130),c=s.makeInner(),h=n();function d(){this.group=new i,this.uid=r.getUID("viewChart"),this.renderTask=u({plan:g,reset:m}),this.renderTask.context={view:this}}n=d.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){f(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){f(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};function p(t,e,n){if(t&&(t.trigger(e,n),t.isGroup&&!l.isHighDownDispatcher(t)))for(var i=0,r=t.childCount();i<r;i++)p(t.childAt(i),e,n)}function f(e,t,n){var i=s.queryDataIndex(e,t),r=t&&null!=t.highlightKey?l.getHighlightDigit(t.highlightKey):null;null!=i?o(s.normalizeToArray(i),function(t){p(e.getItemGraphicEl(t),n,r)}):e.eachItemGraphicEl(function(t){p(t,n,r)})}function g(t){return h(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,t=r&&c(r).updateMethod,t=o?"incrementalPrepareRender":t&&a[t]?t:"render";return"render"!==t&&a[t](e,n,i,r),v[t]}n.updateView=n.updateLayout=n.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},a.enableClassExtend(d,["dispose"]),a.enableClassManagement(d,{registerWhenExtend:!0}),d.markUpdateMethod=function(t,e){c(t).updateMethod=e};var v={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};t.exports=d},function(t,e,n){var n=n(1),d=n.each,p=n.isString;function i(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,n,e){var i,r,o,a,s,l,u=(e=e||{}).byIndex,c=e.stackedCoordDimension,h=!(!t||!t.get("stack"));return d(n,function(t,e){p(t)&&(n[e]=t={name:t}),h&&!t.isExtraCoord&&(u||i||!t.ordinalMeta||(i=t),r||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(r=t))}),!r||u||i||(u=!0),r&&(o="__\0ecstackresult",a="__\0ecstackedover",i&&(i.createInvertedIndices=!0),s=r.coordDim,t=r.type,l=0,d(n,function(t){t.coordDim===s&&l++}),n.push({name:o,coordDim:s,coordDimIndex:l,type:t,isExtraCoord:!0,isCalculationCoord:!0}),n.push({name:a,coordDim:a,coordDimIndex:++l,type:t,isExtraCoord:!0,isCalculationCoord:!0})),{stackedDimension:r&&r.name,stackedByDimension:i&&i.name,isStackedByIndex:u,stackedOverDimension:a,stackResultDimension:o}},e.isDimensionStacked=i,e.getStackedDimension=function(t,e){return i(t,e)?t.getCalculationInfo("stackResultDimension"):e}},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var s=i(n(41)),l=n(7),u=n(47),i=(0,l.createNamespace)("loading"),n=i[0],c=i[1];function r(t,e,n,i){var r=e.color,o=e.size,a=e.type,r={color:r};return o&&(o=(0,l.addUnit)(o),r.width=o,r.height=o),t("div",(0,s.default)([{class:c([a,{vertical:e.vertical}])},(0,u.inherit)(i,!0)]),[t("span",{class:c("spinner",a),style:r},[function(t,e){if("spinner"!==e.type)return t("svg",{class:c("circular"),attrs:{viewBox:"25 25 50 50"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]);for(var n=[],i=0;i<12;i++)n.push(t("i"));return n}(t,e)]),function(t,e,n){if(n.default){var i,e={fontSize:(0,l.addUnit)(e.textSize),color:null!=(i=e.textColor)?i:e.color};return t("span",{class:c("text"),style:e},[n.default()])}}(t,e,n)])}r.props={color:String,size:[Number,String],vertical:Boolean,textSize:[Number,String],textColor:String,type:{type:String,default:"circular"}};n=n(r);e.default=n},function(t,e,n){},,function(t,e){t.exports=function(r,o,a,s){var l,u=0;return"boolean"!=typeof o&&(s=a,a=o,o=void 0),function(){var t=this,e=Number(new Date)-u,n=arguments;function i(){u=Number(new Date),a.apply(t,n)}s&&!l&&i(),l&&clearTimeout(l),void 0===s&&r<e?i():!0!==o&&(l=setTimeout(s?function(){l=void 0}:i,void 0===s?r-e:r))}}},function(t,e,n){n(20).__DEV__;var o=n(1),i=".",a="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(i),e.main=t[0]||"",e.sub=t[1]||""),e}var r=0;function l(t,e){var n=o.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function u(t,e,n){return this.superClass.prototype[e].apply(t,n)}e.parseClassType=s,e.enableClassExtend=function(t,e){(t.$constructor=t).extend=function(t){function e(){(t.$constructor||n).apply(this,arguments)}var n=this;return o.extend(e.prototype,t),e.extend=this.extend,e.superCall=l,e.superApply=u,o.inherits(e,this),e.superClass=n,e}},e.enableClassCheck=function(t){var e=["__\0is_clz",r++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}},e.enableClassManagement=function(n,t){t=t||{};var i,r={};return n.registerClass=function(t,e){var n;return e&&(n=e,o.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),(e=s(e)).sub?e.sub!==a&&(function(t){var e=r[t.main];e&&e[a]||((e=r[t.main]={})[a]=!0);return e}(e)[e.sub]=t):r[e.main]=t),t},n.getClass=function(t,e,n){var i=r[t];if(i&&i[a]&&(i=e?i[e]:null),n&&!i)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return i},n.getClassesByMainType=function(t){t=s(t);var n=[],t=r[t.main];return t&&t[a]?o.each(t,function(t,e){e!==a&&n.push(t)}):n.push(t),n},n.hasClass=function(t){return t=s(t),!!r[t.main]},n.getAllClassMainTypes=function(){var n=[];return o.each(r,function(t,e){n.push(e)}),n},n.hasSubTypes=function(t){t=s(t);t=r[t.main];return t&&t[a]},n.parseClassType=s,!t.registerWhenExtend||(i=n.extend)&&(n.extend=function(t){var e=i.call(this,t);return n.registerClass(e,t.type)}),n},e.setReadOnly=function(t,e){}},function(t,e,n){n(20).__DEV__;var i=n(17),r=i.makeInner,g=i.getDataItemValue,i=n(1),o=i.createHashMap,p=i.each,a=i.map,m=i.isArray,v=i.isString,y=i.isObject,x=i.isTypedArray,s=i.isArrayLike,l=i.extend,c=(i.assert,n(159)),n=n(160),_=n.SOURCE_FORMAT_ORIGINAL,b=n.SOURCE_FORMAT_ARRAY_ROWS,S=n.SOURCE_FORMAT_OBJECT_ROWS,A=n.SOURCE_FORMAT_KEYED_COLUMNS,u=n.SOURCE_FORMAT_UNKNOWN,h=n.SOURCE_FORMAT_TYPED_ARRAY,M=n.SERIES_LAYOUT_BY_ROW,w={Must:1,Might:2,Not:3},d=r();function f(t){if(t){var i=o();return a(t,function(t,e){if(null==(t=l({},y(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var n=i.get(t.name);return n?t.name+="-"+n.count++:i.set(t.name,{count:1}),t})}}function C(t,e,n,i){if(null==i&&(i=1/0),e===M)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else for(var o=n[0]||[],r=0;r<o.length&&r<i;r++)t(o[r],r)}function T(t){var e=t.option;if(!e.data)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}function I(t,e,n,i,r,o){var a,s,l;if(x(t))return w.Not;if(i&&(i=i[o],y(i)?(s=i.name,l=i.type):v(i)&&(s=i)),null!=l)return"ordinal"===l?w.Must:w.Not;if(e===b)if(n===M){for(var u=t[o],c=0;c<(u||[]).length&&c<5;c++)if(null!=(a=f(u[r+c])))return a}else for(c=0;c<t.length&&c<5;c++){var h=t[r+c];if(h&&null!=(a=f(h[o])))return a}else if(e===S){if(!s)return w.Not;for(c=0;c<t.length&&c<5;c++)if((d=t[c])&&null!=(a=f(d[s])))return a}else if(e===A){if(!s)return w.Not;if(!(u=t[s])||x(u))return w.Not;for(c=0;c<u.length&&c<5;c++)if(null!=(a=f(u[c])))return a}else if(e===_)for(c=0;c<t.length&&c<5;c++){var d=t[c],p=g(d);if(!m(p))return w.Not;if(null!=(a=f(p[o])))return a}function f(t){var e=v(t);return null!=t&&isFinite(t)&&""!==t?e?w.Might:w.Not:e&&"-"!==t?w.Must:void 0}return w.Not}e.BE_ORDINAL=w,e.detectSourceFormat=function(t){var e=t.option.source,n=u;if(x(e))n=h;else if(m(e)){0===e.length&&(n=b);for(var i=0,r=e.length;i<r;i++){var o=e[i];if(null!=o){if(m(o)){n=b;break}if(y(o)){n=S;break}}}}else if(y(e)){for(var a in e)if(e.hasOwnProperty(a)&&s(e[a])){n=A;break}}else if(null!=e)throw new Error("Invalid data");d(t).sourceFormat=n},e.getSource=function(t){return d(t).source},e.resetSourceDefaulter=function(t){d(t).datasetMap=o()},e.prepareSource=function(t){var e,n=t.option,i=n.data,r=x(i)?h:_,o=!1,a=n.seriesLayoutBy,s=n.sourceHeader,l=n.dimensions,u=T(t);u&&(i=(e=u.option).source,r=d(u).sourceFormat,o=!0,a=a||e.seriesLayoutBy,null==s&&(s=e.sourceHeader),l=l||e.dimensions),l=function(t,e,n,i,r){if(!t)return{dimensionsDefine:f(r)};var o,a;e===b?("auto"===i||null==i?C(function(t){null!=t&&"-"!==t&&(v(t)?null==a&&(a=1):a=0)},n,t,10):a=i?1:0,r||1!==a||(r=[],C(function(t,e){r[e]=null!=t?t:""},n,t)),o=r?r.length:n===M?t.length:t[0]?t[0].length:null):e===S?r=r||function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e){var i=[];return p(e,function(t,e){i.push(e)}),i}}(t):e===A?r||(r=[],p(t,function(t,e){r.push(e)})):e===_&&(t=g(t[0]),o=m(t)&&t.length||1);return{startIndex:a,dimensionsDefine:f(r),dimensionsDetectCount:o}}(i,r,a,s,l),d(t).source=new c({data:i,fromDataset:o,seriesLayoutBy:a,sourceFormat:r,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectCount:l.dimensionsDetectCount,encodeDefine:n.encode})},e.makeSeriesEncodeForAxisCoordSys=function(n,t,e){var r={},i=T(t);if(!i||!n)return r;var o,a,s=[],l=[],t=t.ecModel,t=d(t).datasetMap,e=i.uid+"_"+e.seriesLayoutBy;n=n.slice(),p(n,function(t,e){y(t)||(n[e]={name:t}),"ordinal"===t.type&&null==o&&(a=h(n[o=e])),r[t.name]=[]});var u=t.get(e)||t.set(e,{categoryWayDim:a,valueWayDim:0});function c(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function h(t){t=t.dimsDef;return t?t.length:1}return p(n,function(t,e){var n,i=t.name,t=h(t);null==o?(n=u.valueWayDim,c(r[i],n,t),c(l,n,t),u.valueWayDim+=t):o===e?(c(r[i],0,t),c(s,0,t)):(n=u.categoryWayDim,c(r[i],n,t),c(l,n,t),u.categoryWayDim+=t)}),s.length&&(r.itemName=s),l.length&&(r.seriesName=l),r},e.makeSeriesEncodeForNameBased=function(t,l,u){var e={};if(!T(t))return e;var c,h=l.sourceFormat,d=l.dimensionsDefine;return h!==S&&h!==A||p(d,function(t,e){"name"===(y(t)?t.name:t)&&(c=e)}),(t=function(){for(var t={},e={},n=[],i=0,r=Math.min(5,u);i<r;i++){var o=I(l.data,h,l.seriesLayoutBy,d,l.startIndex,i);n.push(o);var a=o===w.Not;if(a&&null==t.v&&i!==c&&(t.v=i),null!=t.n&&t.n!==t.v&&(a||n[t.n]!==w.Not)||(t.n=i),s(t)&&n[t.n]!==w.Not)return t;a||(o===w.Might&&null==e.v&&i!==c&&(e.v=i),null!=e.n&&e.n!==e.v||(e.n=i))}function s(t){return null!=t.v&&null!=t.n}return s(t)?t:s(e)?e:null}())&&(e.value=t.v,t=null!=c?c:t.n,e.itemName=[t],e.seriesName=[t]),e},e.guessOrdinal=function(t,e){return I(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},function(t,e,n){var l=n(1),u=n(60),c=n(131),h=n(160).SOURCE_FORMAT_ORIGINAL,d=n(161).getDimensionTypeByAxis,p=n(17).getDataItemValue,f=n(66),g=n(876).getCoordSysInfoBySeries,m=n(159),v=n(73).enableDataStack,y=n(79).makeSeriesEncodeForAxisCoordSys;t.exports=function(t,e,n){n=n||{},m.isInstance(t)||(t=m.seriesDataToSource(t));var r,i,o=e.get("coordinateSystem"),o=f.get(o),a=g(e),s=(s=a?l.map(a.coordSysDims,function(t){var e={name:t},t=a.axisMap.get(t);return t&&(t=t.get("type"),e.type=d(t)),e}):s)||(o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]),n=c(t,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?l.curry(y,s,e):null});return a&&l.each(n,function(t,e){var n=t.coordDim,n=a.categoryAxisMap.get(n);n&&(null==r&&(r=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(i=!0)}),i||null==r||(n[r].otherDims.itemName=0),s=v(e,n),(e=new u(n,e)).setCalculationInfo(s),s=null!=r&&function(t){if(t.sourceFormat===h){t=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return null!=t&&!l.isArray(p(t))}}(t)?function(t,e,n,i){return i===r?n:this.defaultDimValueGetter(t,e,n,i)}:null,e.hasItemOption=!1,e.initData(t,null,s),e}},function(t,e,n){"use strict";e.__esModule=!0,e.BindEventMixin=function(t){var e="binded_"+o++;function n(){this[e]||(t.call(this,r.on,!0),this[e]=!0)}function i(){this[e]&&(t.call(this,r.off,!1),this[e]=!1)}return{mounted:n,activated:n,deactivated:i,beforeDestroy:i}};var r=n(40),o=0},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var s=n(7),r=n(138),l=i(n(32)),i=(0,s.createNamespace)("popup"),n=i[0],u=i[1],r=n({mixins:[(0,r.PopupMixin)()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){function t(e){return function(t){return n.$emit(e,t)}}var n=this;this.onClick=t("click"),this.onOpened=t("opened"),this.onClosed=t("closed")},methods:{onClickCloseIcon:function(t){this.$emit("click-close-icon",t),this.close()}},render:function(){var t=arguments[0];if(this.shouldRender){var e=this.round,n=this.position,i=this.duration,r="center"===n,o=this.transition||(r?"van-fade":"van-popup-slide-"+n),a={};return(0,s.isDef)(i)&&(a[r?"animationDuration":"transitionDuration"]=i+"s"),t("transition",{attrs:{appear:this.transitionAppear,name:o},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],style:a,class:u(((e={round:e})[n]=n,e["safe-area-inset-bottom"]=this.safeAreaInsetBottom,e)),on:{click:this.onClick}},[this.slots(),this.closeable&&t(l.default,{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:u("close-icon",this.closeIconPosition),on:{click:this.onClickCloseIcon}})])])}}});e.default=r},,function(t,e,n){"use strict";var i=n(187);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e){t=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(t,e,n){var i=n(29),n=i.create,x=i.distSquare,h=Math.pow,_=Math.sqrt,r=1e-8,d=_(3),b=n(),S=n(),A=n();function p(t){return-r<t&&t<r}function s(t){return r<t||t<-r}function M(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 v(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}e.cubicAt=M,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 a,s,l,u=i+3*(e-n)-t,c=3*(n-2*e+t),t=c*(i=3*(e-t))-9*u*(n=t-r),r=i*i-3*c*n,n=0;return p(e=c*c-3*u*i)&&p(t)?p(c)?o[0]=0:0<=(s=-i/c)&&s<=1&&(o[n++]=s):p(i=t*t-4*e*r)?(l=-(r=t/e)/2,0<=(s=-c/u+r)&&s<=1&&(o[n++]=s),0<=l&&l<=1&&(o[n++]=l)):0<i?(a=e*c+1.5*u*(-t-(i=_(i))),0<=(s=(-c-((i=(i=e*c+1.5*u*(-t+i))<0?-h(-i,1/3):h(i,1/3))+(a=a<0?-h(-a,1/3):h(a,1/3))))/(3*u))&&s<=1&&(o[n++]=s)):(a=(2*e*c-3*u*t)/(2*_(e*e*e)),t=Math.acos(a)/3,s=(-c-2*(a=_(e))*(e=Math.cos(t)))/(3*u),l=(-c+a*(e+d*Math.sin(t)))/(3*u),u=(-c+a*(e-d*Math.sin(t)))/(3*u),0<=s&&s<=1&&(o[n++]=s),0<=l&&l<=1&&(o[n++]=l),0<=u&&u<=1&&(o[n++]=u)),n},e.cubicExtrema=function(t,e,n,i,r){var o,a=6*n-12*e+6*t,i=9*e+3*i-3*t-9*n,n=3*e-3*t,e=0;return p(i)?s(a)&&0<=(o=-n/a)&&o<=1&&(r[e++]=o):p(t=a*a-4*i*n)?r[0]=-a/(2*i):0<t&&(t=(-a-(n=_(t)))/(2*i),0<=(o=(-a+n)/(2*i))&&o<=1&&(r[e++]=o),0<=t&&t<=1&&(r[e++]=t)),e},e.cubicSubdivide=function(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,e=(i-n)*r+n,n=(s-a)*r+a,r=((s=(e-s)*r+s)-n)*r+n;o[0]=t,o[1]=a,o[2]=n,o[3]=r,o[4]=r,o[5]=s,o[6]=e,o[7]=i},e.cubicProjectPoint=function(t,e,n,i,r,o,a,s,l,u,c){var h,d,p,f,g=.005,m=1/0;b[0]=l,b[1]=u;for(var v=0;v<1;v+=.05)S[0]=M(t,n,r,a,v),S[1]=M(e,i,o,s,v),(p=x(b,S))<m&&(h=v,m=p);for(var m=1/0,y=0;y<32&&!(g<1e-4);y++)d=h+g,S[0]=M(t,n,r,a,f=h-g),S[1]=M(e,i,o,s,f),p=x(S,b),0<=f&&p<m?(h=f,m=p):(A[0]=M(t,n,r,a,d),A[1]=M(e,i,o,s,d),f=x(A,b),d<=1&&f<m?(h=d,m=f):g*=.5);return c&&(c[0]=M(t,n,r,a,h),c[1]=M(e,i,o,s,h)),_(m)},e.quadraticAt=v,e.quadraticDerivativeAt=function(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))},e.quadraticRootAt=function(t,e,n,i,r){var o,a=t-2*e+n,n=2*(e-t),e=t-i,t=0;return p(a)?s(n)&&0<=(o=-e/n)&&o<=1&&(r[t++]=o):p(i=n*n-4*a*e)?0<=(o=-n/(2*a))&&o<=1&&(r[t++]=o):0<i&&(i=(-n-(e=_(i)))/(2*a),0<=(o=(-n+e)/(2*a))&&o<=1&&(r[t++]=o),0<=i&&i<=1&&(r[t++]=i)),t},e.quadraticExtremum=function(t,e,n){return 0==(n=t+n-2*e)?.5:(t-e)/n},e.quadraticSubdivide=function(t,e,n,i,r){var o=(e-t)*i+t,i=((e=(n-e)*i+e)-o)*i+o;r[0]=t,r[1]=o,r[2]=i,r[3]=i,r[4]=e,r[5]=n},e.quadraticProjectPoint=function(t,e,n,i,r,o,a,s,l){var u,c=.005,h=1/0;b[0]=a,b[1]=s;for(var d=0;d<1;d+=.05)S[0]=v(t,n,r,d),S[1]=v(e,i,o,d),(m=x(b,S))<h&&(u=d,h=m);for(var h=1/0,p=0;p<32&&!(c<1e-4);p++){var f=u-c,g=u+c;S[0]=v(t,n,r,f),S[1]=v(e,i,o,f);var m=x(S,b);0<=f&&m<h?(u=f,h=m):(A[0]=v(t,n,r,g),A[1]=v(e,i,o,g),f=x(A,b),g<=1&&f<h?(u=g,h=f):c*=.5)}return l&&(l[0]=v(t,n,r,u),l[1]=v(e,i,o,u)),_(h)}},function(t,e){var s="\0__throttleOriginMethod",l="\0__throttleRate",u="\0__throttleType";function c(t,n,i){var r,o,a,s,l,u=0,c=0,h=null;function d(){c=(new Date).getTime(),h=null,t.apply(a,s||[])}n=n||0;function e(){r=(new Date).getTime(),a=this,s=arguments;var t=l||n,e=l||i;l=null,o=r-(e?u:c)-t,clearTimeout(h),e?h=setTimeout(d,t):0<=o?d():h=setTimeout(d,-o),u=r}return e.clear=function(){h&&(clearTimeout(h),h=null)},e.debounceNextCall=function(t){l=t},e}e.throttle=c,e.createOrUpdate=function(t,e,n,i){var r=t[e];if(r){var o=r[s]||r,a=r[u];if(r[l]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=c(o,n,"debounce"===i))[s]=o,r[u]=i,r[l]=n}return r}},e.clear=function(t,e){var n=t[e];n&&n[s]&&(t[e]=n[s])}},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(1),h=i.each,d=i.map,i=n(13),r=i.linearMap,o=i.getPixelPrecision,p=i.round,n=n(879),f=n.createAxisTicks,a=n.createAxisLabels,s=n.calculateCategoryInterval,l=[0,1],n=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function u(t,e){e=(t[1]-t[0])/e/2;t[0]+=e,t[1]-=e}n.prototype={constructor:n,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),e=Math.max(e[0],e[1]);return n<=t&&t<=e},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return o(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&&u(n=n.slice(),i.count()),r(t,l,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&u(n=n.slice(),i.count());e=r(t,n,l,e);return this.scale.scale(e)},pointToData:function(t,e){},getTicksCoords:function(t){var e,n,i,r,o,a=(t=t||{}).tickModel||this.getTickModel(),s=f(this,a).ticks,l=d(s,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),u=a.get("alignWithLabel");function c(t,e){return t=p(t),e=p(e),o?e<t:t<e}return e=this,n=l,s=u,a=t.clamp,u=n.length,e.onBand&&!s&&u&&(t=e.getExtent(),1===u?(n[0].coord=t[0],i=n[1]={coord:t[0]}):(s=n[u-1].tickValue-n[0].tickValue,r=(n[u-1].coord-n[0].coord)/s,h(n,function(t){t.coord-=r/2}),e=1+(e=e.scale.getExtent())[1]-n[u-1].tickValue,i={coord:n[u-1].coord+r*e},n.push(i)),o=t[0]>t[1],c(n[0].coord,t[0])&&(a?n[0].coord=t[0]:n.shift()),a&&c(t[0],n[0].coord)&&n.unshift({coord:t[0]}),c(t[1],i.coord)&&(a?i.coord=t[1]:n.pop()),a&&c(i.coord,t[1])&&n.push({coord:t[1]})),l},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber"),t=this.scale.getMinorTicks(t=!(0<t&&t<100)?5:t);return d(t,function(t){return d(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},getViewLabels:function(){return a(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(),e=e[1]-e[0]+(this.onBand?1:0);0===e&&(e=1);t=Math.abs(t[1]-t[0]);return Math.abs(t)/e},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return s(this)}},t.exports=n},function(t,e,n){var i=n(1),y=i.retrieve,d=i.defaults,h=i.extend,x=i.each,p=n(26),_=n(8),b=n(39),i=n(13),f=i.isRadianAroundZero,g=i.remRadian,u=n(56).createSymbol,o=n(52),c=n(29).applyTransform,m=n(67).shouldShowAllLabels,S=Math.PI,n=function(t,e){this.opt=e,this.axisModel=t,d(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new _.Group;e=new _.Group({position:e.position.slice(),rotation:e.rotation});e.updateTransform(),this._transform=e.transform,this._dumbGroup=e};n.prototype={constructor:n,hasBuilder:function(t){return!!r[t]},add:function(t){r[t].call(this)},getGroup:function(){return this.group}};var r={axisLine:function(){var i,t,r,o,e,a,s,l=this.opt,n=this.axisModel;n.get("axisLine.show")&&(t=this.axisModel.axis.getExtent(),e=this._transform,i=[t[0],0],t=[t[1],0],e&&(c(i,i,e),c(t,t,e)),r=h({lineCap:"round"},n.getModel("axisLine.lineStyle").getLineStyle()),this.group.add(new _.Line({anid:"line",subPixelOptimize:!0,shape:{x1:i[0],y1:i[1],x2:t[0],y2:t[1]},style:r,strokeContainThreshold:l.strokeContainThreshold||5,silent:!0,z2:1})),o=n.get("axisLine.symbol"),e=n.get("axisLine.symbolSize"),"number"==typeof(n=n.get("axisLine.symbolOffset")||0)&&(n=[n,n]),null!=o&&("string"==typeof o&&(o=[o,o]),a=(e="string"==typeof e||"number"==typeof e?[e,e]:e)[0],s=e[1],x([{rotate:l.rotation+Math.PI/2,offset:n[0],r:0},{rotate:l.rotation-Math.PI/2,offset:n[1],r:Math.sqrt((i[0]-t[0])*(i[0]-t[0])+(i[1]-t[1])*(i[1]-t[1]))}],function(t,e){var n;"none"!==o[e]&&null!=o[e]&&(n=u(o[e],-a/2,-s/2,a,s,r.stroke,!0),e=t.r+t.offset,e=[i[0]+e*Math.cos(l.rotation),i[1]-e*Math.sin(l.rotation)],n.attr({rotation:t.rotate,position:e,silent:!0,z2:11}),this.group.add(n))},this)))},axisTickLabel:function(){var t,e,n,i,r,o,a,s,l=this.axisModel,u=this.opt,c=function(t,e,n){var i=e.axis,r=e.getModel("axisTick");if(r.get("show")&&!i.scale.isBlank()){for(var o=r.getModel("lineStyle"),r=n.tickDirection*r.get("length"),a=I(i.getTicksCoords(),t._transform,r,d(o.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),"ticks"),s=0;s<a.length;s++)t.group.add(a[s]);return a}}(this,l,u),h=function(s,l,u){var c=l.axis;if(y(u.axisLabelShow,l.get("axisLabel.show"))&&!c.scale.isBlank()){var h=l.getModel("axisLabel"),d=h.get("margin"),t=c.getViewLabels(),e=(y(u.labelRotate,h.get("rotate"))||0)*S/180,p=M(u.rotation,e,u.labelDirection),f=l.getCategories&&l.getCategories(!0),g=[],m=w(l),v=l.get("triggerEvent");return x(t,function(t,e){var n=t.tickValue,i=t.formattedLabel,r=t.rawLabel,o=h,a=(o=f&&f[n]&&f[n].textStyle?new b(f[n].textStyle,h,l.ecModel):o).getTextColor()||l.get("axisLine.lineStyle.color"),t=[c.dataToCoord(n),u.labelOffset+u.labelDirection*d],t=new _.Text({anid:"label_"+n,position:t,rotation:p.rotation,silent:m,z2:10});_.setTextStyle(t.style,o,{text:i,textAlign:o.getShallow("align",!0)||p.textAlign,textVerticalAlign:o.getShallow("verticalAlign",!0)||o.getShallow("baseline",!0)||p.textVerticalAlign,textFill:"function"==typeof a?a("category"===c.type?r:"value"===c.type?n+"":n,e):a}),v&&(t.eventData=A(l),t.eventData.targetType="axisLabel",t.eventData.value=r),s._dumbGroup.add(t),t.updateTransform(),g.push(t),s.group.add(t),t.decomposeTransform()}),g}}(this,l,u);e=h,n=c,m((t=l).axis)||(i=t.get("axisLabel.showMinLabel"),r=t.get("axisLabel.showMaxLabel"),n=n||[],o=(e=e||[])[0],a=e[1],s=e[e.length-1],h=e[e.length-2],c=n[0],t=n[1],e=n[n.length-1],n=n[n.length-2],!1===i?(v(o),v(c)):C(o,a)&&(i?(v(a),v(t)):(v(o),v(c))),!1===r?(v(s),v(e)):C(h,s)&&(r?(v(h),v(n)):(v(s),v(e)))),function(t,e,n){var i=e.axis,r=e.getModel("minorTick");if(r.get("show")&&!i.scale.isBlank()){var o=i.getMinorTicksCoords();if(o.length)for(var i=r.getModel("lineStyle"),a=n.tickDirection*r.get("length"),s=d(i.getLineStyle(),d(e.getModel("axisTick").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})),l=0;l<o.length;l++)for(var u=I(o[l],t._transform,a,s,"minorticks_"+l),c=0;c<u.length;c++)t.group.add(u[c])}}(this,l,u)},axisName:function(){var t,e,n,i,r,o,a,s,l=this.opt,u=this.axisModel,c=y(l.axisName,u.get("name"));c&&(r=u.get("nameLocation"),t=l.nameDirection,e=u.getModel("nameTextStyle"),s=u.get("nameGap")||0,n=(a=this.axisModel.axis.getExtent())[0]>a[1]?-1:1,n=["start"===r?a[0]-n*s:"end"===r?a[1]+n*s:(a[0]+a[1])/2,T(r)?l.labelOffset+t*s:0],null!=(s=u.get("nameRotate"))&&(s=s*S/180),T(r)?i=M(l.rotation,null!=s?s:l.rotation,t):(i=function(t,e,n,i){var r,t=g(n-t.rotation),i=i[0]>i[1],i="start"===e&&!i||"start"!==e&&i;i=f(t-S/2)?(r=i?"bottom":"top","center"):f(t-1.5*S)?(r=i?"top":"bottom","center"):(r="middle",t<1.5*S&&S/2<t?i?"left":"right":i?"right":"left");return{rotation:t,textAlign:i,textVerticalAlign:r}}(l,r,s||0,a),null!=(o=l.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(i.rotation)),isFinite(o)||(o=null))),r=e.getFont(),a=(s=u.get("nameTruncate",!0)||{}).ellipsis,l=y(l.nameTruncateMaxWidth,s.maxWidth,o),o=null!=a&&null!=l?p.truncateText(c,l,r,a,{minChar:2,placeholder:s.placeholder}):c,l=u.get("tooltip",!0),(s={componentType:a=u.mainType,name:c,$vars:["name"]})[a+"Index"]=u.componentIndex,l=new _.Text({anid:"name",__fullText:c,__truncatedText:o,position:n,rotation:i.rotation,silent:w(u),z2:1,tooltip:l&&l.show?h({content:c,formatter:function(){return c},formatterParams:s},l):null}),_.setTextStyle(l.style,e,{text:o,textFont:r,textFill:e.getTextColor()||u.get("axisLine.lineStyle.color"),textAlign:e.get("align")||i.textAlign,textVerticalAlign:e.get("verticalAlign")||i.textVerticalAlign}),u.get("triggerEvent")&&(l.eventData=A(u),l.eventData.targetType="axisName",l.eventData.name=c),this._dumbGroup.add(l),l.updateTransform(),this.group.add(l),l.decomposeTransform())}},A=n.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},M=n.innerTextLayout=function(t,e,n){var i,t=g(e-t),n=f(t)?(i=0<n?"top":"bottom","center"):f(t-S)?(i=0<n?"bottom":"top","center"):(i="middle",0<t&&t<S?0<n?"right":"left":0<n?"left":"right");return{rotation:t,textAlign:n,textVerticalAlign:i}};var w=n.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function v(t){t&&(t.ignore=!0)}function C(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=o.identity([]);return o.rotate(r,r,-t.rotation),n.applyTransform(o.mul([],r,t.getLocalTransform())),i.applyTransform(o.mul([],r,e.getLocalTransform())),n.intersect(i)}}function T(t){return"middle"===t||"center"===t}function I(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;a[0]=u,s[a[1]=0]=u,s[1]=n,e&&(c(a,a,e),c(s,s,e));u=new _.Line({anid:r+"_"+t[l].tickValue,subPixelOptimize:!0,shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,silent:!0});o.push(u)}return o}t.exports=n},function(t,e){var n={};e.register=function(t,e){n[t]=e},e.get=function(t){return n[t]}},,,function(t){t.exports=JSON.parse('[{"lang":"zh-CN","demo-block":{"hide-text":"隐藏代码","show-text":"显示代码","button-text":"在线运行","tooltip-text":"前往 codepen.io 运行此示例"},"footer":{"links":"链接","repo":"代码仓库","community":"社区","changelog":"更新日志","theme":"在线主题生成器","faq":"常见问题","gitter":"在线讨论","starter":"脚手架","feedback":"反馈建议","contribution":"贡献指南","eleme":"饿了么"},"header":{"home":"首页","guide":"指南","components":"组件","mobile-components":"移动端组件","theme":"主题","resource":"资源","mainLayout":"tis-app"},"nav":{"dropdown":"版本:"}},{"lang":"en-US","demo-block":{"hide-text":"Hide","show-text":"Expand","button-text":"Try it!","tooltip-text":"Run this demo on codepen.io"},"footer":{"links":"Links","repo":"GitHub","community":"Community","changelog":"Changelog","theme":"Online Theme Roller","faq":"FAQ","gitter":"Gitter","starter":"Starter kit","feedback":"Feedback","contribution":"Contribution","eleme":"Eleme"},"header":{"guide":"Guide","components":"Component","theme":"Theme","resource":"Resource"},"nav":{"dropdown":"Version: "}},{"lang":"es","demo-block":{"hide-text":"Ocultar","show-text":"Mostrar","button-text":"Probar","tooltip-text":"Prueba este ejemplo en codepen.io"},"footer":{"links":"Enlaces","repo":"GitHub","community":"Comunidad","changelog":"Lista de cambios","theme":"Online Theme Roller","faq":"FAQ","gitter":"Gitter","starter":"Kit de inicio","feedback":"Comentarios","contribution":"Contribución","eleme":"Eleme"},"header":{"guide":"Guía","components":"Componentes","theme":"Theme","resource":"Recursos"},"nav":{"dropdown":"Versión: "}},{"lang":"fr-FR","demo-block":{"hide-text":"Réduire","show-text":"Agrandir","button-text":"Essayez!","tooltip-text":"Essayer cette démo sur codepen.io"},"footer":{"links":"Liens","repo":"GitHub","community":"Communauté","changelog":"Changelog","theme":"Online Theme Roller","faq":"FAQ","gitter":"Gitter","starter":"Kit de démarrage","feedback":"Commentaires","contribution":"Contribution","eleme":"Eleme"},"header":{"guide":"Guide","components":"Composants","theme":"Theme","resource":"Ressources"},"nav":{"dropdown":"Version: "}}]')},,function(t,e){var s=/^(attrs|props|on|nativeOn|class|style|hook)$/;t.exports=function(t){return t.reduce(function(t,e){var n,i,r,o,a;for(r in e)if(n=t[r],i=e[r],n&&s.test(r))if("class"===r&&("string"==typeof n&&(a=n,t[r]=n={},n[a]=!0),"string"==typeof i&&(a=i,e[r]=i={},i[a]=!0)),"on"===r||"nativeOn"===r||"hook"===r)for(o in i)n[o]=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}(n[o],i[o]);else if(Array.isArray(n))t[r]=n.concat(i);else if(Array.isArray(i))t[r]=[n].concat(i);else for(o in i)n[o]=i[o];else t[r]=e[r];return t},{})}},,function(t){t.exports=JSON.parse('{"parkingApron":{"dimensions":["Name","Type","Near Bridge"],"data":[["AB94","W",true],["AB95","W",true],["AB96","W",true],["AB97","W",true],["AB98","W",true],["AS3","W",true],["AS4","W",true],["AS5","W",true],["AS6","W",true],["AS7","W",true],["AS8","W",true],["A98","U",true],["HU","W",true],["HXK","W",true],["O85","W",true],["O86","W",true],["O87","W",true],["O88","W",true],["O89","W",true],["O90","W",true],["O91","W",true],["O92","W",true],["O93","X",true],["O94","W",true],["O95","W",true],["O96","W",true],["O97","W",true],["O98","W",true],["S97","W",true],["S98","W",true],["WA94","W",true],["WA95","W",true],["WA96","W",true],["WA97","W",true],["WA98","W",true],["WA","W",true],["XA5","W",true],["XA6","W",true],["XA7","W",true],["XA8","W",true],["00","X",true],["01","X",true],["03","X",true],["04","X",true],["05","X",true],["06","Y",true],["07","X",true],["08","X",true],["09","X",true],["10","X",true],["11","X",true],["12","Y",true],["13","X",true],["21","X",true],["23","W",true],["25","W",true],["27","X",true],["29","W",true],["30","W",true],["31","X",true],["32","W",true],["33","W",true],["34","X",true],["35","W",true],["36","X",true],["37","X",true],["38","X",true],["39","X",true],["40","W",true],["41","X",true],["42","X",true],["43","X",true],["44","X",true],["45","W",true],["46","W",true],["47","W",true],["483","X",true],["484","X",true],["485","X",true],["486","X",true],["487","X",true],["488","X",true],["489","X",true],["48","W",true],["490","X",true],["491","X",true],["492","X",true],["493","X",true],["494","X",true],["495","X",true],["496","X",true],["497","X",true],["498","X",true],["608","X",true],["609O","W",true],["609","X",true],["60","X",true],["61I","X",true],["61O","X",true],["610I","W",true],["610O","W",true],["610","W",true],["611O","W",true],["611","X",true],["612I","W",true],["612O","W",true],["612","X",true],["613","X",true],["614O","W",true],["614","X",true],["615I","W",true],["615O","W",true],["615","X",true],["616O","W",true],["616","X",true],["617I","W",true],["617O","W",true],["617","X",true],["618O","W",true],["618","X",true],["619I","W",true],["619O","W",true],["619","X",true],["61","Y",true],["623","X",true],["624","X",true],["625","W",true],["626","X",true],["627","W",true],["628","X",true],["629","X",true],["62","X",true],["63I","X",true],["630","X",true],["631","X",true],["632","X",true],["633","X",true],["634","X",true],["635","X",true],["636","X",true],["63","Y",true],["64","X",true],["65I","W",true],["65O","W",true],["65","X",true],["66I","W",true],["66O","W",true],["66","X",true],["67I","W",true],["67O","W",true],["67","X",true],["68","X",true],["69I","X",true],["69","X",true],["70I","X",true],["70O","X",true],["70","W",true],["71","X",true],["72I","X",true],["72O","X",true],["72","W",true],["73","W",true],["760","W",true],["761","W",true],["762","W",true],["763","W",true],["764","X",true],["765","X",true],["766","X",true],["767","X",true],["768","X",true],["769","X",true],["770","X",true],["771","W",true],["772","X",true],["773","W",true],["774","W",true],["775","W",true],["776","X",true],["777","W",true],["778","W",true],["779","W",true],["780","X",true],["781","X",true],["782","X",true],["783","X",true],["784","X",true],["785","X",true],["786","X",true],["787","X",true],["788","X",true],["789","X",true],["790","X",true],["791","W",true],["792","W",true],["793","X",true],["794","X",true],["795","W",true],["796","W",true],["797","W",true],["798","W",true],["860","V",true],["862","V",true],["864","V",true],["865","V",true],["866","V",true],["867","V",true],["868","V",true],["869","V",true],["870","V",true],["871","V",true],["872I","W",true],["872O","W",true],["872","U",true],["873","V",true],["874I","W",true],["874O","W",true],["874","U",true],["875","V",true],["876","W",true],["878","X",true],["879I","X",true],["880","X",true],["881I","X",true],["881O","X",true],["881","X",true],["882","W",true],["883I","X",true],["883O","X",true],["883","X",true],["884","W",true],["885I","X",true],["885O","X",true],["885","X",true],["886","W",true],["887I","X",true],["887O","X",true],["887","X",true],["888","X",true],["889I","X",true],["889O","X",true],["889","X",true],["890","X",true],["891I","X",true],["891O","X",true],["891","X",true],["892","X",true],["893I","X",true],["893O","Y",true],["893","X",true],["894","X",true],["895I","Y",true],["895O","X",true],["895","X",true],["896","W",true],["897I","X",true],["897O","X",true],["897","X",true],["898","X",true],["899","W",true],["637I","W",false],["637O","V",false],["637","W",false],["638I","V",false],["638O","W",false],["638","W",false],["639","X",false],["640","X",false],["641","X",false],["642","X",false],["643","X",false],["644","X",false],["645","X",false],["646","X",false],["647","X",false],["648","X",false],["649I","W",false],["649O","W",false],["649","X",false],["650","X",false],["651","W",false],["652","W",false],["653","X",false],["654","X",false],["655","X",false],["656","X",false],["657","W",false],["658","X",false],["659","X",false],["660","X",false],["661","X",false],["662","X",false],["663","W",false],["664","X",false],["665","W",false],["666","X",false],["667","X",false],["668","X",false],["669","X",false],["670","X",false],["671","X",false],["672","X",false],["673","X",false],["674","X",false],["675","X",false],["676","X",false],["677","X",false],["678","X",false],["679","X",false],["680","X",false],["681","X",false],["682I","W",false],["682O","W",false],["682","X",false],["683","X",false],["684","W",false],["685","X",false],["690","X",false],["691","X",false],["692","X",false],["693","W",false],["694","W",false],["695","X",false],["696","X",false],["697","X",false],["698","W",false]]},"flight":{"dimensions":["Parking Apron Index","Arrival Time","Departure Time","Flight Number","VIP","Arrival Company","Departure Company","Arrival Line","Departure Line","Report Time"],"data":[[43,1496840400000,1496934000000,"M766OG",true,"QW","QW","XGF-HAC","HAC-CFA",1495360800000],[317,1496840400000,1496934000000,"Y3683",true,"AS","AS","MGT-HAC","HAC-YPP",1496830500000],[113,1496840400000,1496934000000,"Y3064",true,"AS","AS","KMS-HAC","HAC-YPP",1496123400000],[79,1496840400000,1496934000000,"Y4686",true,"WA","WA","RMX-DWH-HAC","HAC-XTL",1496744100000],[114,1496840400000,1496934000000,"Y4686",true,"WA","WA","RMX-DWH-HAC","HAC-XTL",1496744100000],[179,1496924700000,1496934000000,"Y4897",true,"AS","AS","MPT-HAC","HAC-KVP",1496916000000],[179,1496840400000,1496878800000,"Y4893",true,"AS","AS","STS-HAC","HAC-STS",1496828700000],[124,1496916600000,1496934000000,"Y3193",true,"AS","AS","GMZ-HAC","HAC-HSV",1496906100000],[124,1496840400000,1496934000000,"Y3683",true,"AS","AS","MGT-HAC","HAC-YPP",1496830500000],[197,1496914200000,1496934000000,"Y4890",true,"AS","AS","STS-HAC","HAC-KET",1496905500000],[197,1496840400000,1496882400000,"Y3846",true,"AS","AS","NRT-HAC","HAC-XAC",1496818800000],[171,1496907300000,1496934000000,"Y4328",true,"AS","AS","RXM-HAC","HAC-MPT",1496894100000],[171,1496840400000,1496875800000,"Y1334",true,"AS","AS","WOX-BGB-HAC","HAC-GBM",1496821200000],[169,1496913600000,1496934000000,"Y3703",true,"AS","AS","HSZ-HAC","HAC-BXF",1496904300000],[169,1496840400000,1496871900000,"Y8481",true,"AS","AS","RXM-HAC","HAC-GZL",1496807700000],[116,1496901300000,1496934000000,"Y4896",true,"AS","AS","KET-HAC","HAC-SUV",1496891400000],[116,1496840400000,1496880600000,"Y4620",true,"AS","AS","CRB-HAC","HAC-DMA",1496751900000],[121,1496920200000,1496934000000,"Y4223",true,"AS","AS","DFC-HAC","HAC-MPT",1496911800000],[121,1496840400000,1496874600000,"Y4974",true,"PB","PB","PNT-HAC","HAC-PNT",1496748000000],[295,1496840400000,1496934000000,"Y3349",true,"AS","AS","HSV-HAC","HAC-DNG-OSD",1496813400000],[38,1496840400000,1496934000000,"Y4263",true,"AS","AS","MPT-HAC","HAC-GZL",1496802600000],[119,1496840400000,1496875800000,"Y7649",true,"XA","XA","BMA-HAC","HAC-MTY",1496826900000],[132,1496911500000,1496934000000,"Y3021",true,"XA","XA","XPT-HAC","HAC-MPT",1496903700000],[305,1496840400000,1496874900000,"Y3186",true,"XA","XA","CRB-ASZ-HAC","HAC-DFS-FIX",1496807100000],[318,1496840400000,1496934000000,"EKXAD",true,"A8","A8","SPT-HAC","HAC-HSZ",1496230200000],[199,1496841000000,1496891400000,"Y3021",true,"XA","XA","MPT-HAC","HAC-XPT",1496833200000],[258,1496846100000,1496890500000,"Y3643",true,"XA","XA","KVP-HAC","HAC-HSZ",1496833200000],[298,1496840400000,1496877000000,"Y3644",true,"XA","XA","HSZ-HAC","HAC-HSV",1496830500000],[178,1496922900000,1496934000000,"Y7649",true,"XA","XA","SUV-HAC","HAC-ASZ-CRB",1496914800000],[178,1496843400000,1496880000000,"Y8383",true,"XA","XA","SIY-MTY-HAC","HAC-PSM-GBM",1496821500000],[96,1496927400000,1496934000000,"Y7606",true,"XA","XA","PSM-HAC","HAC-SAT",1496920200000],[96,1496840400000,1496878200000,"Y7604",true,"XA","XA","XTJ-PSM-HAC","HAC-WOX-BHJ",1496820600000],[90,1496874300000,1496934000000,"Y7391",true,"BT","BT","XGF-HAC","HAC-XGF",1496865300000],[90,1496840400000,1496853000000,"Y7425",true,"BT","BT","XGF-HAC","HAC-XGF",1496778900000],[86,1496840400000,1496934000000,"Y1640",true,"XA","XA","KVP-HAC","HAC-KVP",1494367800000],[272,1496922300000,1496934000000,"Y3913",true,"XA","XA","HSZ-HAC","HAC-DFS-WCY",1496913600000],[281,1496840400000,1496926800000,"Y7669",true,"FD","FD","PFO-HAC","HAC-PFO",1496772900000],[175,1496840400000,1496934000000,"Y4686",true,"WA","WA","RMX-DWH-HAC","HAC-XTL",1496744100000],[99,1496903100000,1496911500000,"M149UW",true,"UC","UC","RXM-HAC","HAC-PRC",1496887800000],[99,1496845800000,1496853000000,"M545KZ",true,"KL","KL","RXM-HAC","HAC-MIG",1496832000000],[202,1496919600000,1496934000000,"Y3249",true,"AS","AS","CRB-HAC","HAC-XTJ",1496909400000],[202,1496850900000,1496870100000,"Y1353",true,"0X","0X","HSV-AJA-HAC","HAC-HSZ",1496829900000],[46,1496917200000,1496917800000,"YNSP",true,"6V","6V","NZX-HAC","HAC-NZX",1496916000000],[46,1496907900000,1496908800000,"YNSR",true,"6V","6V","NZX-HAC","HAC-NZX",1496907000000],[46,1496847900000,1496867700000,"Y8228",true,"WA","WA","XWV-QMT-HAC","HAC-ZXC-CRB",1496830800000],[261,1496923800000,1496934000000,"Y3088",true,"XA","XA","ABR-HAC","HAC-ABR",1496917500000],[183,1496841300000,1496872200000,"Y1931",true,"SL","SL","HSZ-HAC","HAC-HSZ",1496831700000],[303,1496919300000,1496934000000,"Y3834",true,"AS","AS","STS-HAC","HAC-KAR",1496910000000],[303,1496840400000,1496877300000,"Y4301",true,"XA","XA","YKV-XTL-HAC","HAC-XTL",1496820600000],[267,1496926200000,1496934000000,"Y4324",true,"XA","XA","WHM-XTL-HAC","HAC-XTL",1496908500000],[267,1496844300000,1496866800000,"Y2112",true,"B1","B1","BRM-FIX-HAC","HAC-OSD-BRM",1496817300000],[123,1496916600000,1496934000000,"Y7631",true,"XA","XA","BMA-HAC","HAC-MTY",1496907000000],[123,1496843700000,1496875800000,"Y7603",true,"XA","XA","FIX-DFS-HAC","HAC-MZL",1496818800000],[59,1496857800000,1496860800000,"Y7102",true,"BT","BT","CRB-HAC","HAC-CRB",1496847600000],[168,1496916300000,1496934000000,"Y3521",true,"XZ","XZ","WZC-HAC","HAC-XGF",1496909100000],[168,1496840400000,1496874300000,"Y7630",true,"XA","XA","OBT-SHM-HAC","HAC-CRB-CMM",1496813700000],[200,1496904900000,1496924700000,"Y4746",true,"XA","XA","STS-HAC","HAC-MMT",1496896800000],[200,1496840400000,1496882400000,"Y3016",true,"WA","WA","PSM-HAC","HAC-DFC-XTJ",1496782200000],[263,1496897700000,1496913900000,"Y3351",true,"AS","AS","HSV-BGB-HAC","HAC-XGF",1496875500000],[263,1496840400000,1496872800000,"Y3370",true,"XA","XA","XGF-HAC","HAC-PNT",1496817300000],[85,1496915400000,1496934000000,"Y4418",true,"SF","SF","XPT-HAC","HAC-XPT",1496907900000],[85,1496894100000,1496909100000,"Y8006",true,"AS","AS","XTJ-PSM-HAC","HAC-OBR",1496875200000],[85,1496841600000,1496877300000,"Y8422",true,"B1","B1","SOW-SVG-HAC","HAC-SVG-SOW",1496818800000],[84,1496925600000,1496934000000,"Y8497",true,"SF","SF","GBM-HAC","HAC-STS-HSV",1496914200000],[84,1496906100000,1496917800000,"Y3802",true,"AS","AS","RMX-HAC","HAC-BYK",1496893200000],[84,1496840400000,1496881800000,"Y1832",false,"NF","NF","HSZ-HAC","HAC-HSZ",1496826300000],[42,1496928900000,1496934000000,"Y3089",true,"XA","XA","OQT-PNT-HAC","HAC-OQT",1496913300000],[42,1496840400000,1496885400000,"Y1424",true,"NF","NF","HSZ-HAC","HAC-HSZ",1496824200000],[214,1496840400000,1496867400000,"Y8537",true,"WA","WA","WOX-BRD-HAC","HAC-OBT-WOX",1496810400000],[285,1496924400000,1496934000000,"Y3142",true,"AS","AS","WOX-BGB-HAC","HAC-SUV",1496907600000],[285,1496840400000,1496873400000,"Y3428",true,"AS","AS","XPT-HAC","HAC-HSZ",1496823000000],[137,1496868900000,1496934000000,"Y7151",true,"AB","AB","XAC-HAC","HAC-XAC",1496860800000],[137,1496840400000,1496850000000,"Y7151",true,"AB","AB","XAC-HAC","HAC-XAC",1496774400000],[297,1496910000000,1496934000000,"Y1367",true,"AS","AS","WOX-HAC","HAC-BGB-WOX",1496895900000],[297,1496840400000,1496877900000,"Y1779",true,"AS","AS","OSD-DNG-HAC","HAC-PRC",1496815200000],[162,1496913000000,1496934000000,"Y4558",true,"AS","AS","DFC-HAC","HAC-DFS-SVG",1496903400000],[162,1496840400000,1496865900000,"Y3193",true,"AS","AS","XGF-HAC","HAC-DCM",1496829300000],[138,1496927700000,1496934000000,"Y8523",true,"AS","AS","HSV-HAC","HAC-HSV",1496912100000],[138,1496840400000,1496870400000,"Y4890",true,"AS","AS","MPT-HAC","HAC-XAC",1496829600000],[216,1496848500000,1496869200000,"Y8242",true,"AS","AS","SBM-HAC","HAC-GHM",1496840100000],[205,1496929800000,1496934000000,"Y8153",true,"XA","XA","SIY-MTY-HAC","HAC-MTY-SIY",1496907900000],[320,1496840400000,1496875200000,"Y4682",true,"AS","AS","XGF-HAC","HAC-SIY",1496820600000],[222,1496909700000,1496914800000,"Y1779",true,"AS","AS","PRC-HAC","HAC-SBM",1496895000000],[266,1496908800000,1496934000000,"Y8977",true,"SF","SF","ZPO-HAC","HAC-KVP",1496865600000],[266,1496850300000,1496871300000,"Y4533",true,"SF","SF","WOX-HAC","HAC-FIX-PST",1496836800000],[266,1496840400000,1496841000000,"Y4036",true,"SF","SF","XPT-HAC","HAC-XMH",1496821500000],[203,1496931000000,1496934000000,"Y0058",true,"NF","NF","KET-HAC","HAC-KET",1496921100000],[203,1496840400000,1496873700000,"Y3660",true,"XA","XA","SPG-HAC","HAC-MPT",1496821800000],[210,1496921400000,1496934000000,"Y3086",true,"XA","XA","KVP-HAC","HAC-KMS",1496908800000],[210,1496840400000,1496875200000,"Y1367",true,"AS","AS","KET-HAC","HAC-BGB-WOX",1496826900000],[112,1496931000000,1496934000000,"Y8209",true,"NF","NF","WOF-PNT-HAC","HAC-PNT-WOF",1496908500000],[112,1496840400000,1496875500000,"Y4618",true,"AS","AS","FIX-HAC","HAC-DFS-SVG",1496820300000],[50,1496899800000,1496913000000,"M391FK",true,"4C","4C","WCY-HAC","HAC-ZMX",1496871600000],[294,1496926200000,1496934000000,"Y7604",true,"XA","XA","BHJ-WOX-HAC","HAC-DFS-FIX",1496903700000],[294,1496845200000,1496876100000,"Y4639",true,"AS","AS","XPT-HAC","HAC-GMZ",1496838000000],[91,1496927700000,1496934000000,"Y8289",true,"AS","AS","YPP-HAC","HAC-SIY",1496917800000],[276,1496929800000,1496934000000,"Y8270",true,"SF","SF","SZP-HAC","HAC-CRB",1496925300000],[276,1496840400000,1496872200000,"Y8497",true,"SF","SF","SIY-MPT-HAC","HAC-CRB",1496815800000],[284,1496911200000,1496924400000,"Y8063",true,"AS","AS","MPT-HAC","HAC-SPG",1496903400000],[61,1496840400000,1496871600000,"Y8157",true,"AS","AS","XTJ-HAC","HAC-HBC",1496819100000],[312,1496886600000,1496913600000,"Y3887",true,"XA","XA","SZP-HAC","HAC-HBW",1496882100000],[271,1496931900000,1496934000000,"Y7633",true,"XA","XA","PNT-HAC","HAC-CRB-CMM",1496924400000],[271,1496847600000,1496874000000,"Y8373",true,"XA","XA","SIY-HAC","HAC-XPT",1496831400000],[125,1496842800000,1496878500000,"Y4588",true,"AS","AS","XPT-HAC","HAC-CRB",1496834400000],[254,1496902200000,1496927400000,"Y4036",true,"SF","SF","XMH-HAC","HAC-YMV",1496874600000],[75,1496931600000,1496934000000,"Y3019",true,"WA","WA","OSD-ZEZ-HAC","HAC-DFC-XTJ",1496914200000],[75,1496906400000,1496920800000,"Y4677",true,"AS","AS","HSV-HAC","HAC-MGT",1496889900000],[75,1496840400000,1496878200000,"Y1020",true,"NF","NF","HSZ-HAC","HAC-HSZ",1496831400000],[118,1496919300000,1496934000000,"Y8359",true,"NF","NF","HSZ-HAC","HAC-HSZ",1496910600000],[118,1496899800000,1496909700000,"Y8026",true,"AS","AS","DFC-HAC","HAC-CRB",1496890800000],[118,1496844900000,1496865600000,"Y1352",true,"0X","0X","HSZ-HAC","HAC-PSM-XTJ",1496835600000],[76,1496899200000,1496903100000,"Y2626",true,"YP","YP","GHM-HAC","HAC-GHM",1496887500000],[76,1496843100000,1496876100000,"Y2047",false,"XZ","XZ","KVP-HAC","HAC-KVP",1496831100000],[44,1496931300000,1496934000000,"Y8327",true,"0X","0X","HSZ-HAC","HAC-CRB",1496922000000],[44,1496903700000,1496910600000,"Y1832",true,"NF","NF","HSZ-HAC","HAC-HSZ",1496894700000],[44,1496894400000,1496898300000,"Y3521",true,"XZ","XZ","XGF-HAC","HAC-WZC",1496885400000],[44,1496845200000,1496866200000,"Y3017",true,"WA","WA","OSD-RJM-HAC","HAC-XTL",1496827800000],[308,1496928000000,1496934000000,"Y8492",true,"PB","PB","PNT-HAC","HAC-PNT",1496920800000],[308,1496898000000,1496909400000,"Y0060",true,"AS","AS","CUM-HAC","HAC-SIY",1496891100000],[308,1496891100000,1496895600000,"Y4418",true,"SF","SF","XPT-HAC","HAC-XPT",1496883000000],[308,1496840400000,1496870700000,"Y3834",true,"AS","AS","STS-HAC","HAC-KAR",1496823600000],[73,1496926800000,1496934000000,"Y1020",true,"NF","NF","HSZ-HAC","HAC-HSZ",1496917800000],[73,1496898600000,1496909100000,"Y3436",true,"AS","AS","BXF-HAC","HAC-BGB-HSV",1496889000000],[73,1496875800000,1496890800000,"Y7633",true,"XA","XA","GCM-HAC","HAC-YUQ",1496869500000],[73,1496843400000,1496871000000,"Y4312",true,"SF","SF","SZP-HAC","HAC-CNM-CFA",1496838900000],[128,1496922000000,1496934000000,"Y7710",true,"NF","NF","HSZ-HAC","HAC-HSZ",1496912700000],[128,1496904000000,1496911800000,"Y4312",true,"SF","SF","CFA-CNM-HAC","HAC-MPT",1496888700000],[128,1496890800000,1496894400000,"Y8972",true,"0X","0X","HSZ-HAC","HAC-HSZ",1496881500000],[128,1496840400000,1496873100000,"Y3143",true,"AS","AS","CRB-HAC","HAC-OQT",1496823000000],[134,1496840400000,1496934000000,"Y6922",true,"Q4","Q4","SPT-HAC","HAC-DFH",1496722200000],[217,1496896500000,1496911200000,"Y3497",true,"XA","XA","WCY-DFS-HAC","HAC-HSZ",1496854800000],[217,1496840400000,1496878500000,"Y8294",true,"WA","WA","XTJ-MPT-HAC","HAC-MPT-XTJ",1496815800000],[4,1496922600000,1496934000000,"Y8531",true,"XZ","XZ","KVP-HAC","HAC-KVP",1496910300000],[4,1496905200000,1496911800000,"Y4587",true,"AS","AS","DFC-HAC","HAC-DFC",1496895600000],[4,1496886000000,1496899200000,"Y7277",true,"SF","SF","XPT-HAC","HAC-XGF",1496878200000],[4,1496850600000,1496865900000,"Y0050",true,"KM","KM","XPT-HAC","HAC-MPT",1496843100000],[4,1496840400000,1496843400000,"Y8626",true,"SF","SF","GBM-HAC","HAC-SZP",1496827800000],[45,1496933700000,1496934000000,"Y3212",true,"SL","SL","OQT-YSB-HAC","HAC-YSB-OQT",1496918400000],[45,1496891700000,1496896800000,"Y3834",true,"AS","AS","KAR-HAC","HAC-STS",1496883000000],[45,1496840400000,1496881800000,"Y3498",true,"XA","XA","HSZ-HAC","HAC-KVP",1496827200000],[196,1496918100000,1496934000000,"Y2369",true,"WA","WA","SIY-SUV-HAC","HAC-RJM-OSD",1496896200000],[196,1496894400000,1496907300000,"Y3660",true,"XA","XA","MPT-HAC","HAC-STS",1496885700000],[196,1496882400000,1496886000000,"Y8087",true,"NU","NU","GHM-HAC","HAC-GHM",1496871000000],[54,1496909400000,1496918700000,"Y2599",true,"SF","SF","CMM-CRB-HAC","HAC-XPT",1496890200000],[54,1496896200000,1496903400000,"Y1762",true,"NF","NF","BMG-HSZ-HAC","HAC-HSZ-BMG",1496876400000],[54,1496883900000,1496889000000,"Y4224",true,"AS","AS","KVP-HAC","HAC-KVP",1496871900000],[54,1496876400000,1496880900000,"Y8180",true,"6F","6F","XGF-HAC","HAC-XPT",1496866800000],[54,1496840400000,1496867400000,"Y3692",true,"XA","XA","KVP-HAC","HAC-XGF",1496822400000],[255,1496927700000,1496934000000,"Y8127",true,"SL","SL","HSZ-HAC","HAC-HSZ",1496918100000],[255,1496907600000,1496912400000,"Y4634",true,"AS","AS","STS-HAC","HAC-GMZ",1496898900000],[255,1496889600000,1496901000000,"Y7608",true,"XA","XA","RMX-CRB-HAC","HAC-MMB",1496871600000],[255,1496840400000,1496872800000,"Y3985",true,"XZ","XZ","WZC-HAC","HAC-XGF",1496822700000],[78,1496921100000,1496934000000,"Y4612",true,"XZ","XZ","GHM-HAC","HAC-GHM",1496910000000],[78,1496897100000,1496908500000,"Y3088",true,"XA","XA","OQT-HAC","HAC-ABR",1496889000000],[78,1496883300000,1496886900000,"Y4786",true,"XZ","XZ","GHM-HAC","HAC-GHM",1496872200000],[78,1496844600000,1496870100000,"Y3568",true,"NF","NF","KET-HAC","HAC-KET",1496834700000],[270,1496917500000,1496927100000,"Y8501",true,"SF","SF","HSV-STS-HAC","HAC-SZP",1496893800000],[270,1496908200000,1496913000000,"Y2106",true,"XZ","XZ","GHM-HAC","HAC-GHM",1496896500000],[270,1496897400000,1496901900000,"Y8521",true,"AS","AS","MPT-HAC","HAC-HBC",1496889000000],[270,1496889300000,1496893800000,"Y3128",true,"NF","NF","OSD-CRB-HAC","HAC-CRB-OSD",1496871000000],[270,1496880300000,1496883900000,"Y8639",true,"HX","HX","GMZ-HAC","HAC-GMZ-DVS",1496870100000],[270,1496840400000,1496871600000,"Y8044",true,"XA","XA","FIX-PDV-HAC","HAC-PDV-FIX",1496814900000],[322,1496927400000,1496934000000,"Y8119",true,"XA","XA","MPT-HAC","HAC-XGF",1496919600000],[322,1496917800000,1496925000000,"Y8309",true,"XA","XA","OSD-DFS-HAC","HAC-GCM",1496900100000],[322,1496904900000,1496909400000,"Y3350",true,"AS","AS","MPT-HAC","HAC-QWA-HSZ",1496896200000],[322,1496895900000,1496899800000,"Y4897",true,"AS","AS","XPT-HAC","HAC-MPT",1496888700000],[322,1496888400000,1496892000000,"Y3324",true,"XZ","XZ","PDV-HAC","HAC-PDV",1496882400000],[322,1496879700000,1496883600000,"Y4403",true,"XA","XA","CRB-HAC","HAC-CRB",1496869800000],[322,1496840400000,1496873400000,"Y4393",true,"AS","AS","GHM-HAC","HAC-XTL-PIB",1496827800000],[238,1496930100000,1496934000000,"Y3186",true,"XA","XA","FIX-DFS-HAC","HAC-WOX-NWT",1496905200000],[238,1496924400000,1496928000000,"Y1322",true,"XA","XA","HBC-HAC","HAC-HBC",1496918700000],[238,1496912700000,1496920200000,"Y3386",true,"AS","AS","XGF-HAC","HAC-MPT",1496903400000],[238,1496901600000,1496905200000,"Y8580",true,"XZ","XZ","XPT-HAC","HAC-XPT",1496893500000],[238,1496893500000,1496897100000,"Y3312",true,"XA","XA","STS-HAC","HAC-STS",1496884800000],[238,1496885700000,1496889300000,"Y3653",true,"NF","NF","CRB-QTH-HAC","HAC-QTH-CRB",1496871000000],[238,1496840400000,1496874300000,"Y4504",true,"XZ","XZ","WJZ-GHM-HAC","HAC-GHM",1496813400000],[198,1496922600000,1496928600000,"Y8784",true,"SF","SF","XTL-HAC","HAC-SZP",1496913600000],[198,1496913600000,1496917500000,"Y3643",true,"XA","XA","HSZ-HAC","HAC-HSZ",1496904000000],[198,1496903700000,1496907900000,"Y1200",true,"XZ","XZ","STS-HAC","HAC-STS",1496895300000],[198,1496889000000,1496893200000,"Y4890",true,"AS","AS","XAC-HAC","HAC-STS",1496880900000],[198,1496879400000,1496884200000,"Y2107",true,"XZ","XZ","XPT-HAC","HAC-XPT",1496871900000],[198,1496842500000,1496868300000,"Y3089",true,"XA","XA","OQT-PNT-HAC","HAC-SZP",1496826900000],[219,1496919000000,1496923500000,"Y8639",true,"HX","HX","DVS-GMZ-HAC","HAC-GMZ",1496902200000],[219,1496912100000,1496916600000,"Y3396",true,"XZ","XZ","XGF-HAC","HAC-XGF",1496903400000],[219,1496900400000,1496904000000,"Y8180",true,"6F","6F","XPT-HAC","HAC-XPT",1496892300000],[219,1496878800000,1496887500000,"Y3142",true,"AS","AS","XTL-HAC","HAC-WOX",1496870400000],[219,1496847000000,1496865600000,"Y4288",true,"B1","B1","BMG-SUV-HAC","HAC-NRT",1496829300000],[316,1496840400000,1496901600000,"Y2238",true,"Q4","Q4","KMS-HAC","HAC-ASZ",1496815200000],[316,1496840400000,1496901600000,"Y2238",true,"Q4","Q4","KMS-HAC","HAC-ASZ",1496815200000],[10,1496925600000,1496934000000,"Y4599",true,"AS","AS","FIX-HAC","HAC-XPT",1496906700000],[10,1496918700000,1496922300000,"Y8080",true,"XA","XA","CRB-HAC","HAC-CRB",1496909100000],[10,1496910900000,1496915100000,"Y2436",true,"PM","PM","HQD-HAC","HAC-HQD",1496899800000],[10,1496901300000,1496904900000,"Y3229",true,"6F","6F","XGF-HAC","HAC-XGF",1496892300000],[10,1496888700000,1496896200000,"Y8680",true,"NF","NF","HSZ-HAC","HAC-HSZ",1496879700000],[10,1496880300000,1496883900000,"Y1460",true,"SL","SL","HSZ-HAC","HAC-HSZ",1496871300000],[10,1496840400000,1496876400000,"Y3436",true,"AS","AS","KET-QQM-HAC","HAC-BXF",1496825700000],[147,1496921100000,1496934000000,"Y3803",true,"AS","AS","SUV-HAC","HAC-AZG",1496913000000],[147,1496912100000,1496918100000,"Y3340",true,"XA","XA","XGF-HAC","HAC-HBC",1496903700000],[147,1496895000000,1496898600000,"Y1323",true,"XA","XA","SZP-HAC","HAC-SZP",1496890200000],[147,1496887200000,1496891400000,"Y4276",true,"HX","HX","GZL-HJW-HAC","HAC-HJW-GZL",1496871000000],[147,1496878500000,1496882400000,"Y4587",true,"AS","AS","XPT-HAC","HAC-DFC",1496871000000],[147,1496844900000,1496869500000,"Y3166",true,"AS","AS","OBR-HAC","HAC-NRT",1496834400000],[147,1496840400000,1496841300000,"Y3109",true,"NF","NF","MPT-HAC","HAC-MPT",1496829900000],[283,1496919900000,1496923500000,"Y4779",true,"XZ","XZ","XPT-HAC","HAC-XPT",1496911200000],[283,1496910000000,1496914800000,"Y3572",true,"NF","NF","XGF-HAC","HAC-XGF",1496901000000],[283,1496896800000,1496902800000,"Y7603",true,"XA","XA","MZL-HAC","HAC-PDV-FIX",1496888100000],[283,1496889300000,1496892900000,"Y4448",true,"NU","NU","STS-HAC","HAC-STS",1496880300000],[283,1496879400000,1496884500000,"Y3082",true,"XZ","XZ","STS-HAC","HAC-KET",1496871000000],[283,1496844900000,1496866800000,"Y2368",true,"WA","WA","XTJ-DFC-HAC","HAC-ZEZ-OSD",1496821800000],[77,1496926500000,1496934000000,"Y8314",true,"AS","AS","MGT-HAC","HAC-HBC",1496916900000],[77,1496919900000,1496923500000,"Y8699",true,"NU","NU","XTJ-STS-HAC","HAC-STS",1496893500000],[77,1496912400000,1496917200000,"Y8367",true,"VF","VF","XGF-ABR-HAC","HAC-ABR-XGF",1496898300000],[77,1496905500000,1496908500000,"Y7379",true,"XA","XA","XTL-HAC","HAC-XTL-SVG",1496896800000],[77,1496895600000,1496899800000,"Y8242",true,"AS","AS","GHM-HAC","HAC-MGT",1496883900000],[77,1496887800000,1496892000000,"Y8614",true,"NF","NF","PNT-HAC","HAC-PNT-OFN",1496880000000],[77,1496878500000,1496882700000,"Y4599",true,"AS","AS","XGF-HAC","HAC-FIX",1496870400000],[77,1496848200000,1496868600000,"Y8501",true,"SF","SF","PST-FIX-HAC","HAC-STS-HSV",1496818800000],[77,1496840400000,1496841600000,"Y1658",true,"XA","XA","HBC-HAC","HAC-HBC",1496832300000],[279,1496923200000,1496934000000,"Y3840",true,"AS","AS","SIY-HAC","HAC-CUM",1496906400000],[279,1496908800000,1496914200000,"Y8228",true,"WA","WA","CRB-ZXC-HAC","HAC-PSM-MGT",1496889600000],[279,1496900100000,1496905200000,"Y4639",true,"AS","AS","GMZ-HAC","HAC-PSM-XTJ",1496890200000],[279,1496891100000,1496895000000,"Y4346",true,"NU","NU","HSZ-HAC","HAC-HSZ",1496881800000],[279,1496878800000,1496887200000,"Y4634",true,"AS","AS","MMT-HAC","HAC-STS",1496873700000],[279,1496850300000,1496871900000,"Y8522",true,"AS","AS","DMA-HAC","HAC-MMT",1496842800000],[279,1496840400000,1496842200000,"Y8506",true,"SF","SF","GZL-MTY-HAC","HAC-SZP",1496819700000],[1,1496933400000,1496934000000,"Y4638",true,"AS","AS","SZP-HAC","HAC-SZP",1496928900000],[1,1496919600000,1496923200000,"Y8483",true,"AS","AS","XTJ-BMG-HAC","HAC-ASZ",1496898300000],[1,1496911200000,1496916900000,"Y4343",true,"NU","NU","HSZ-HAC","HAC-HSZ",1496901300000],[1,1496904600000,1496908200000,"Y1460",true,"SL","SL","HSZ-HAC","HAC-HSZ",1496895900000],[1,1496895900000,1496899500000,"Y3428",true,"AS","AS","HSZ-HAC","HAC-KET",1496886300000],[1,1496888100000,1496892600000,"Y3086",true,"XA","XA","HSZ-HAC","HAC-KVP",1496879700000],[1,1496879100000,1496883000000,"Y3350",true,"AS","AS","MPT-HAC","HAC-MPT",1496871300000],[1,1496850300000,1496870400000,"Y3803",true,"AS","AS","BYK-HAC","HAC-HQD",1496842200000],[1,1496840400000,1496841300000,"Y1713",true,"KM","KM","XTL-HAC","HAC-XTL",1496828700000],[235,1496923500000,1496934000000,"Y4893",true,"AS","AS","STS-HAC","HAC-XPT",1496915100000],[235,1496905500000,1496913300000,"Y8653",true,"SF","SF","SVG-GVM-HAC","HAC-PDV",1496889000000],[235,1496896200000,1496900700000,"Y4223",true,"AS","AS","HBC-HAC","HAC-DFC",1496890800000],[235,1496886900000,1496892900000,"Y4288",true,"B1","B1","NRT-HAC","HAC-SUV-BMG",1496877900000],[235,1496878200000,1496882100000,"Y8158",true,"AS","AS","PSM-HAC","HAC-XTJ",1496871900000],[235,1496844600000,1496868900000,"Y3750",true,"NF","NF","WOF-PNT-HAC","HAC-PNT-WOF",1496822100000],[264,1496925900000,1496934000000,"Y8281",true,"XA","XA","FIX-PDV-HAC","HAC-PDV-FIX",1496901300000],[264,1496916300000,1496920800000,"Y3278",true,"AS","AS","HSV-HAC","HAC-XTL",1496899800000],[264,1496896200000,1496900700000,"Y8784",true,"SF","SF","KET-HAC","HAC-XTL",1496886900000],[264,1496886300000,1496892900000,"Y3144",true,"AS","AS","XGF-HAC","HAC-QQM-KET",1496877300000],[264,1496876100000,1496880000000,"Y4329",true,"AS","AS","ASZ-HAC","HAC-KVP",1496872200000],[264,1496848800000,1496870400000,"Y8059",true,"AS","AS","CRB-HAC","HAC-XPT",1496838300000],[264,1496840400000,1496843100000,"Y1356",true,"KM","KM","MPT-HAC","HAC-XPT",1496830800000],[256,1496913900000,1496919600000,"Y4618",true,"AS","AS","SVG-DFS-HAC","HAC-XPT",1496895900000],[256,1496906700000,1496910300000,"Y8316",true,"AS","AS","OQT-HAC","HAC-SUV",1496897400000],[256,1496895600000,1496900700000,"Y7649",true,"XA","XA","MTY-HAC","HAC-SUV",1496887200000],[256,1496886600000,1496891700000,"Y3193",false,"AS","AS","DCM-HAC","HAC-GMZ",1496877600000],[256,1496873700000,1496879100000,"Y8026",true,"AS","AS","SZP-HAC","HAC-DFC",1496868600000],[256,1496840400000,1496869200000,"Y0089",true,"AS","AS","KET-PSM-HAC","HAC-QFS",1496823000000],[187,1496930700000,1496934000000,"Y8424",true,"WA","WA","GHM-SQQ-HAC","HAC-SWT-SIY",1496904600000],[187,1496916900000,1496923200000,"Y3279",true,"AS","AS","XPT-HAC","HAC-PSM",1496909400000],[187,1496899800000,1496907000000,"Y4603",true,"UN","UN","HSZ-HAC","HAC-HSZ",1496890800000],[187,1496890800000,1496895300000,"Y3720",true,"XA","XA","SIY-HAC","HAC-SIY",1496874000000],[187,1496879100000,1496882700000,"Y3896",true,"SF","SF","PNT-HAC","HAC-MTY-GZL",1496871900000],[187,1496849700000,1496874900000,"Y4897",true,"AS","AS","GMZ-HAC","HAC-XPT",1496839800000],[299,1496929500000,1496934000000,"Y2112",true,"B1","B1","BRM-OSD-HAC","HAC-FIX-BRM",1496902200000],[299,1496916900000,1496922000000,"Y3370",true,"XA","XA","MPT-HAC","HAC-PDV",1496908800000],[299,1496907600000,1496913000000,"Y4588",true,"AS","AS","CRB-HAC","HAC-MPT",1496897700000],[299,1496897700000,1496901900000,"Y0039",true,"XA","XA","XTJ-GZL-HAC","HAC-GZL-XTJ",1496875800000],[299,1496890200000,1496893800000,"Y4761",true,"XA","XA","SVG-XTL-HAC","HAC-XTL",1496871900000],[299,1496881200000,1496884800000,"Y4324",true,"XA","XA","XTL-HAC","HAC-XTL-WHM",1496871900000],[299,1496849400000,1496876700000,"Y8521",true,"AS","AS","WZG-SUV-HAC","HAC-MPT",1496830200000],[56,1496840400000,1496934000000,"Y1807",true,"Q4","Q4","HBC-HAC","HAC-CRB",1495926000000],[278,1496925900000,1496929500000,"Y1154",true,"KM","KM","MPT-HAC","HAC-XPT",1496917200000],[278,1496907300000,1496914200000,"Y1424",true,"NF","NF","HSZ-HAC","HAC-HSZ",1496898300000],[278,1496892300000,1496894400000,"Y3338",true,"XA","XA","XGF-HAC","HAC-KET",1496883000000],[278,1496883600000,1496888400000,"Y0047",true,"XA","XA","OKU-HAC","HAC-STS",1496876700000],[278,1496875500000,1496879100000,"Y2174",true,"NU","NU","ULX-HAC","HAC-CNM-HSV",1496870400000],[278,1496849100000,1496868300000,"Y8159",true,"0X","0X","XTJ-PSM-HAC","HAC-DTM-OSD",1496829900000],[102,1496923200000,1496934000000,"Y8294",true,"WA","WA","XTJ-MPT-HAC","HAC-MPT-XTJ",1496902200000],[102,1496904000000,1496907900000,"Y1601",true,"NF","NF","GZL-MTY-HAC","HAC-MTY-GZL",1496887500000],[102,1496898000000,1496901600000,"Y4378",true,"XZ","XZ","GHM-HAC","HAC-GHM",1496886000000],[102,1496891700000,1496895900000,"Y1682",true,"SL","SL","HJQ-HAC","HAC-HJQ",1496886300000],[102,1496881800000,1496885700000,"Y8088",true,"NU","NU","XPT-HAC","HAC-HSZ",1496873700000],[102,1496841900000,1496874300000,"Y4894",true,"AS","AS","GBM-HAC","HAC-SUV",1496832000000],[287,1496930100000,1496934000000,"Y7347",true,"SF","SF","XTL-HAC","HAC-OSD",1496920800000],[287,1496920800000,1496925300000,"Y8686",true,"B1","B1","GMZ-HAC","HAC-GMZ",1496910300000],[287,1496910300000,1496917200000,"Y4861",true,"SF","SF","XPT-HAC","HAC-SZP",1496902500000],[287,1496902200000,1496905800000,"Y1327",true,"XA","XA","HSV-HAC","HAC-HSV",1496887200000],[287,1496893200000,1496896800000,"Y0059",true,"0X","0X","CRB-HAC","HAC-HQD",1496883000000],[287,1496884200000,1496887800000,"Y8477",true,"YP","YP","GHM-HAC","HAC-MMT",1496871900000],[287,1496876100000,1496880300000,"Y3332",true,"0X","0X","HSZ-HAC","HAC-HSZ",1496867400000],[287,1496846700000,1496873700000,"Y7648",true,"XA","XA","SZP-HAC","HAC-ASZ-CRB",1496842200000],[250,1496928900000,1496934000000,"Y8506",true,"SF","SF","CFA-HAC","HAC-WOX-QNF",1496920200000],[250,1496914800000,1496921400000,"Y1423",true,"NF","NF","HSZ-HAC","HAC-HSZ",1496905500000],[250,1496901300000,1496905800000,"Y3400",true,"XZ","XZ","XGF-HAC","HAC-XGF",1496892300000],[250,1496877600000,1496888700000,"Y4558",true,"AS","AS","SUV-HAC","HAC-DFC",1496870100000],[250,1496845500000,1496866500000,"Y0047",true,"XA","XA","PNT-HAC","HAC-OKU",1496838000000],[230,1496932200000,1496934000000,"Y3136",true,"0X","0X","HQD-HAC","HAC-PSM-XTJ",1496921700000],[230,1496924100000,1496927700000,"Y0097",true,"NF","NF","MPT-HAC","HAC-MPT",1496916300000],[230,1496912400000,1496916900000,"Y3698",true,"0X","0X","HSZ-HAC","HAC-HSZ",1496903100000],[230,1496904600000,1496908200000,"Y1036",true,"0X","0X","HSZ-HAC","HAC-HSZ",1496895300000],[230,1496887200000,1496890500000,"Y1999",true,"0X","0X","XPT-HAC","HAC-BMA-GHM",1496878800000],[230,1496877600000,1496881500000,"Y2822",true,"NU","NU","STS-HAC","HAC-ULX-SIY",1496869500000],[230,1496843700000,1496875200000,"Y3802",true,"AS","AS","SUV-HAC","HAC-RMX",1496835300000],[170,1496923800000,1496927700000,"Y1577",true,"KM","KM","XTL-HAC","HAC-XTL",1496915100000],[170,1496914500000,1496919000000,"Y3042",true,"6F","6F","XPT-HAC","HAC-XPT",1496906700000],[170,1496901600000,1496905800000,"Y3846",true,"AS","AS","XAC-HAC","HAC-GBM",1496893200000],[170,1496889900000,1496896200000,"Y8059",true,"AS","AS","XPT-HAC","HAC-CRB",1496882400000],[170,1496883000000,1496886600000,"Y3393",true,"XZ","XZ","DFS-HAC","HAC-DFS",1496876400000],[268,1496921700000,1496925300000,"Y8133",true,"TQ","TQ","SIY-CFA-HAC","HAC-STS",1496898900000],[268,1496916300000,1496923200000,"Y8454",true,"SF","SF","DVU-PSM-HAC","HAC-PNT",1496899800000],[268,1496907600000,1496911200000,"Y7633",true,"XA","XA","YUQ-HAC","HAC-PNT",1496900700000],[268,1496899500000,1496903700000,"Y4407",true,"HX","HX","BMG-HAC","HAC-BMG",1496887200000],[268,1496890500000,1496895000000,"Y8789",true,"XZ","XZ","WOX-SUV-HAC","HAC-SUV-WOX",1496872800000],[268,1496882700000,1496886300000,"Y4528",true,"PM","PM","MZB-HAC","HAC-IRA-MZB",1496870100000],[268,1496874300000,1496877900000,"Y8454",true,"SF","SF","SZP-HAC","HAC-PSM-DVU",1496870100000],[268,1496849700000,1496866200000,"Y3234",true,"KM","KM","SUV-HAC","HAC-GMZ",1496841900000],[195,1496927100000,1496934000000,"Y3660",true,"XA","XA","STS-HAC","HAC-SZP",1496919300000],[195,1496914500000,1496918100000,"Y8087",true,"NU","NU","GHM-HAC","HAC-GHM",1496902200000],[195,1496903400000,1496907900000,"Y1157",true,"GE","GE","OCZ-XGF-HAC","HAC-XGF-OCZ",1496877600000],[195,1496897400000,1496900400000,"Y3518",true,"GE","GE","OAB-XPT-HAC","HAC-XPT-OAB",1496878200000],[195,1496889600000,1496894100000,"Y3692",true,"XA","XA","XGF-HAC","HAC-PLD-KVP",1496880600000],[195,1496880000000,1496884200000,"Y1430",true,"NF","NF","MPT-HAC","HAC-MPT",1496872200000],[195,1496847300000,1496867400000,"Y1999",true,"0X","0X","OSD-ABR-HAC","HAC-XPT",1496830500000],[260,1496932800000,1496934000000,"Y3139",true,"SL","SL","RMX-BRS-HAC","HAC-BRS-RMX",1496916000000],[260,1496916000000,1496919900000,"Y0093",true,"NF","NF","KET-HAC","HAC-KET",1496906400000],[260,1496910900000,1496911500000,"Y3644",true,"XA","XA","HSV-HAC","HAC-CRB-RMX",1496895000000],[260,1496901000000,1496904600000,"Y8997",true,"SL","SL","HSZ-HAC","HAC-HSZ",1496892300000],[260,1496890500000,1496894100000,"Y3166",true,"AS","AS","NRT-HAC","HAC-XTL",1496881200000],[260,1496881800000,1496889000000,"Y8617",true,"UN","UN","HSZ-HAC","HAC-HSZ",1496872800000],[260,1496873700000,1496877300000,"Y4144",true,"SF","SF","SZP-HAC","HAC-MPT-SIY",1496869200000],[260,1496844300000,1496868900000,"Y2369",true,"WA","WA","GHM-WLB-HAC","HAC-SUV-SIY",1496818200000],[321,1496926200000,1496934000000,"Y4894",true,"AS","AS","KVP-HAC","HAC-HQD",1496914200000],[321,1496914500000,1496920500000,"Y7630",true,"XA","XA","CMM-CRB-HAC","HAC-XTW",1496896200000],[321,1496905800000,1496910000000,"Y8574",true,"PM","PM","MZB-UFT-HAC","HAC-UFT-MZB",1496888100000],[321,1496892000000,1496898900000,"Y4387",true,"AS","AS","MPT-HAC","HAC-GHM",1496883600000],[321,1496880000000,1496883000000,"Y1200",true,"XZ","XZ","KET-HAC","HAC-STS",1496870700000],[321,1496845800000,1496867100000,"Y8192",true,"0X","0X","HQD-HAC","HAC-CRB",1496835300000],[104,1496932200000,1496934000000,"Y4312",true,"SF","SF","MPT-HAC","HAC-CNM-CFA",1496924400000],[104,1496915700000,1496925900000,"Y2699",true,"WA","WA","WOX-OBT-HAC","HAC-PSM",1496896800000],[104,1496899800000,1496903700000,"Y2629",true,"PM","PM","MZB-IRA-HAC","HAC-MZB",1496880600000],[104,1496893500000,1496896200000,"Y3370",true,"XA","XA","PNT-HAC","HAC-MPT",1496885700000],[104,1496882700000,1496886300000,"Y4246",true,"MH","MH","HQD-HAC","HAC-HQD",1496871900000],[104,1496846700000,1496879400000,"Y8314",true,"AS","AS","BRS-HAC","HAC-MGT",1496839800000],[315,1496929500000,1496934000000,"Y2047",true,"XZ","XZ","KVP-HAC","HAC-KVP",1496917500000],[315,1496918100000,1496924400000,"Y3656",true,"XA","XA","KVP-HAC","HAC-MZL",1496905200000],[315,1496910600000,1496915700000,"Y8940",true,"1O","1O","PNT-HAC","HAC-PNT",1496902800000],[315,1496899200000,1496906100000,"Y8982",true,"AS","AS","KVP-HAC","HAC-KET",1496887800000],[315,1496885400000,1496890800000,"Y2117",true,"NF","NF","HSZ-HAC","HAC-KET",1496876400000],[315,1496840400000,1496872200000,"Y3887",true,"XA","XA","HSZ-HAC","HAC-SZP",1496828100000],[301,1496933100000,1496934000000,"Y3498",true,"XA","XA","SZP-HAC","HAC-SZP",1496928600000],[301,1496922600000,1496926500000,"Y3379",true,"LJ","LJ","XPT-HAC","HAC-XPT",1496914800000],[301,1496911500000,1496916000000,"Y8568",true,"XZ","XZ","KVP-HAC","HAC-KVP",1496899200000],[301,1496903100000,1496907600000,"Y3888",true,"XA","XA","KVP-HAC","HAC-KVP",1496890800000],[301,1496892600000,1496899200000,"Y3912",true,"XA","XA","KVP-HAC","HAC-KVP",1496880000000],[301,1496847000000,1496872800000,"Y3913",true,"XA","XA","HSZ-HAC","HAC-HSZ",1496837700000],[57,1496932800000,1496934000000,"Y8287",true,"AS","AS","XPT-HAC","HAC-DFC",1496924400000],[57,1496920500000,1496925000000,"Y4477",true,"SF","SF","MPT-HAC","HAC-SZP",1496912400000],[57,1496911800000,1496915700000,"Y7708",true,"NF","NF","DFC-HAC","HAC-DFC",1496902800000],[57,1496900100000,1496905200000,"Y1334",true,"AS","AS","GBM-HAC","HAC-GZL",1496890500000],[57,1496886900000,1496895000000,"Y4688",true,"WA","WA","MGT-PSM-HAC","HAC-DWH-RMX",1496872800000],[57,1496879700000,1496883300000,"Y4251",true,"XA","XA","BRD-HAC","HAC-BRD",1496871900000],[57,1496847600000,1496873100000,"Y3312",true,"XA","XA","XGF-HAC","HAC-STS",1496838900000],[74,1496917200000,1496920200000,"Y8383",true,"XA","XA","GBM-PSM-HAC","HAC-MPT",1496898600000],[74,1496908500000,1496913300000,"Y3617",true,"XZ","XZ","XGF-HAC","HAC-XGF",1496899800000],[74,1496896800000,1496902500000,"Y3309",true,"AS","AS","SIY-HAC","HAC-XGF",1496879400000],[74,1496886900000,1496890500000,"Y8063",true,"AS","AS","DFC-HAC","HAC-MPT",1496878200000],[74,1496879100000,1496883300000,"Y2968",true,"NF","NF","DFS-HAC","HAC-DFS",1496871600000],[74,1496845200000,1496871600000,"Y8058",true,"AS","AS","QFA-HAC","HAC-DFC",1496837700000],[191,1496928600000,1496934000000,"Y8653",true,"SF","SF","PDV-HAC","HAC-WOX",1496922900000],[191,1496920500000,1496924100000,"Y7608",true,"XA","XA","MMB-HAC","HAC-WBT",1496913300000],[191,1496907900000,1496912400000,"Y4657",true,"XZ","XZ","KVP-HAC","HAC-KVP",1496895600000],[191,1496898300000,1496902200000,"Y4893",true,"AS","AS","STS-HAC","HAC-STS",1496889900000],[191,1496889900000,1496894700000,"Y4429",true,"XZ","XZ","KVP-HAC","HAC-KVP",1496877600000],[191,1496877900000,1496884200000,"Y4746",true,"XA","XA","MMT-HAC","HAC-STS",1496872800000],[191,1496843100000,1496869800000,"Y8653",true,"SF","SF","QNF-WOX-HAC","HAC-GVM-SVG",1496819400000],[176,1496921400000,1496934000000,"Y7634",true,"XA","XA","OQT-MMT-HAC","HAC-STS",1496903400000],[176,1496911200000,1496915400000,"Y3013",true,"HX","HX","GZL-HAC","HAC-GZL",1496899800000],[176,1496900400000,1496904000000,"Y8388",true,"NF","NF","PSM-HAC","HAC-PSM",1496894100000],[176,1496891400000,1496895300000,"Y8523",true,"AS","AS","STS-HAC","HAC-HSV",1496883000000],[176,1496878500000,1496888100000,"Y3656",true,"XA","XA","PDV-HAC","HAC-KVP",1496872200000],[176,1496842500000,1496867100000,"Y8200",true,"SF","SF","CFA-HAC","HAC-WOX",1496833800000],[133,1496929200000,1496934000000,"Y8062",true,"AS","AS","XPT-HAC","HAC-BMG-XTJ",1496920800000],[133,1496911500000,1496917200000,"Y7654",true,"LJ","LJ","XPT-HAC","HAC-XPT",1496905500000],[133,1496902500000,1496906400000,"Y8477",true,"YP","YP","MMT-HAC","HAC-GHM",1496896800000],[133,1496893200000,1496898000000,"Y3318",true,"XA","XA","HSV-GZL-HAC","HAC-GZL-HSV",1496872800000],[133,1496886600000,1496890200000,"Y3703",true,"AS","AS","KVP-BRX-HAC","HAC-HSZ",1496867100000],[133,1496880300000,1496881800000,"Y7634",true,"XA","XA","STS-HAC","HAC-MMT-OQT",1496872200000],[133,1496843400000,1496867700000,"Y2168",true,"NU","NU","SIY-ULX-HAC","HAC-STS-XTJ",1496822400000],[82,1496925900000,1496934000000,"Y7632",true,"XA","XA","WWT-KET-HAC","HAC-HSZ",1496903400000],[82,1496917200000,1496921100000,"Y8076",true,"XA","XA","XTL-HAC","HAC-XTL",1496908200000],[82,1496907600000,1496913900000,"Y3639",true,"AS","AS","HSZ-HAC","HAC-BRX-KVP",1496898300000],[82,1496896500000,1496900100000,"Y8497",true,"SF","SF","CRB-HAC","HAC-GBM",1496886600000],[82,1496883600000,1496893500000,"Y3089",true,"XA","XA","SZP-HAC","HAC-PNT-OQT",1496879100000],[82,1496875800000,1496879400000,"Y7632",true,"XA","XA","SUV-HAC","HAC-KET-WWT",1496867400000],[82,1496841300000,1496870700000,"Y4383",true,"AS","AS","HSV-HAC","HAC-MPT",1496825700000],[314,1496921700000,1496934000000,"Y8241",true,"AS","AS","GZL-HAC","HAC-STS",1496910900000],[314,1496912700000,1496916300000,"Y4682",true,"AS","AS","SIY-HAC","HAC-PNT",1496895600000],[314,1496902200000,1496906400000,"Y8211",true,"NF","NF","OFN-PNT-HAC","HAC-PNT",1496882700000],[314,1496893200000,1496897100000,"Y4289",true,"SF","SF","FIX-OSD-HAC","HAC-OSD-FIX",1496871300000],[314,1496885100000,1496889600000,"Y3340",true,"XA","XA","KVP-HAC","HAC-XGF",1496873400000],[314,1496875500000,1496878200000,"Y8309",true,"XA","XA","WBT-HAC","HAC-DFS-OSD",1496869500000],[314,1496840400000,1496868000000,"Y3086",true,"XA","XA","MMB-HAC","HAC-HSZ",1496826900000],[251,1496916900000,1496921100000,"Y4636",true,"AS","AS","XGF-HAC","HAC-SUV",1496907000000],[251,1496901000000,1496905500000,"Y1004",true,"XA","XA","SIY-STS-HAC","HAC-STS-SIY",1496876400000],[251,1496884500000,1496888400000,"Y7714",true,"XA","XA","WOX-HAC","HAC-WOX",1496872200000],[251,1496875200000,1496880900000,"Y3087",true,"XA","XA","MZL-HAC","HAC-DMA-XTJ",1496867700000],[251,1496847000000,1496871300000,"Y4638",true,"AS","AS","SZP-HAC","HAC-SZP",1496842500000],[189,1496918400000,1496934000000,"Y3166",true,"AS","AS","XTL-HAC","HAC-STS",1496910000000],[189,1496907300000,1496911200000,"Y4804",true,"XA","XA","PDV-HAC","HAC-PDV",1496901600000],[189,1496900700000,1496904600000,"Y0040",true,"XA","XA","XTJ-HAC","HAC-XTJ",1496884800000],[189,1496890200000,1496894700000,"Y4619",true,"AS","AS","PNT-HAC","HAC-PNT",1496882100000],[189,1496879400000,1496883000000,"Y3094",true,"6F","6F","CRB-HAC","HAC-CRB",1496869500000],[189,1496869800000,1496873700000,"Y8784",true,"SF","SF","SZP-HAC","HAC-KET",1496865600000],[189,1496850000000,1496866500000,"Y0018",true,"KM","KM","GMZ-HAC","HAC-SUV",1496839800000],[51,1496931000000,1496934000000,"Y1334",true,"AS","AS","GZL-HAC","HAC-QFS",1496919900000],[51,1496907900000,1496921400000,"Y4329",true,"AS","AS","KVP-HAC","HAC-XGF",1496895900000],[51,1496903100000,1496907600000,"Y7347",true,"SF","SF","OSD-HAC","HAC-XTL",1496892000000],[51,1496894700000,1496898900000,"Y8798",true,"XA","XA","FIX-HAC","HAC-FIX",1496876400000],[51,1496883600000,1496889300000,"Y7631",true,"XA","XA","XTW-HAC","HAC-BMA",1496877600000],[51,1496874000000,1496877600000,"Y1576",true,"XA","XA","HBC-HAC","HAC-HBC",1496868600000],[51,1496840400000,1496871000000,"Y8483",true,"AS","AS","GZL-HAC","HAC-BMG-XTJ",1496824500000],[243,1496925300000,1496934000000,"Y3309",true,"AS","AS","XGF-HAC","HAC-GMZ",1496915700000],[243,1496915400000,1496919300000,"Y3729",true,"XA","XA","HSV-HAC","HAC-HSV",1496900100000],[243,1496903400000,1496907300000,"Y7606",true,"XA","XA","FIX-PDV-HAC","HAC-PSM",1496880300000],[243,1496895000000,1496899500000,"Y4477",true,"SF","SF","XGF-HAC","HAC-MPT",1496886600000],[243,1496884800000,1496891100000,"Y8090",false,"XZ","XZ","KVP-HAC","HAC-KVP",1496872800000],[243,1496840400000,1496876700000,"Y3088",true,"XA","XA","DFC-HAC","HAC-OQT",1496828100000],[40,1496929800000,1496934000000,"Y2822",true,"NU","NU","SIY-ULX-HAC","HAC-STS-XTJ",1496908800000],[40,1496917200000,1496922600000,"Y4224",true,"AS","AS","KVP-HAC","HAC-DFC",1496904900000],[40,1496910000000,1496914500000,"Y3697",true,"XA","XA","HSZ-HAC","HAC-KVP",1496901000000],[40,1496894100000,1496898000000,"Y8373",true,"XA","XA","XPT-HAC","HAC-SIY",1496886000000],[40,1496881500000,1496885100000,"Y3369",true,"XA","XA","HSZ-HAC","HAC-GZL-XTJ",1496872500000],[40,1496840400000,1496877600000,"Y4896",true,"AS","AS","KVP-HAC","HAC-KET",1496827800000],[201,1496924100000,1496934000000,"Y3901",true,"XA","XA","HSZ-HAC","HAC-HSZ",1496914500000],[201,1496912100000,1496915700000,"Y8642",true,"NU","NU","KVP-HAC","HAC-KVP",1496899500000],[201,1496904300000,1496908800000,"Y7952",true,"XZ","XZ","KVP-HAC","HAC-KVP",1496892000000],[201,1496895300000,1496900100000,"Y3913",true,"XA","XA","HSZ-HAC","HAC-HSZ",1496886300000],[201,1496883000000,1496890200000,"Y4636",true,"AS","AS","PNT-HAC","HAC-XGF",1496874900000],[201,1496845500000,1496873400000,"Y1134",true,"AS","AS","KVP-HAC","HAC-XGF",1496833200000],[174,1496929500000,1496934000000,"Y8982",true,"AS","AS","KET-HAC","HAC-KVP",1496919600000],[174,1496918400000,1496922900000,"Y3479",true,"SF","SF","KVP-HAC","HAC-KVP",1496906700000],[174,1496908500000,1496912100000,"Y7304",false,"XA","XA","DFS-HAC","HAC-DFS",1496902200000],[174,1496897400000,1496902800000,"Y1134",true,"AS","AS","XGF-HAC","HAC-KVP",1496887800000],[174,1496890800000,1496891700000,"Y3279",true,"AS","AS","HSZ-QWA-HAC","HAC-XPT",1496876700000],[174,1496880600000,1496884800000,"Y8367",true,"VF","VF","XGF-HAC","HAC-XGF",1496871600000],[174,1496842200000,1496876400000,"Y3499",true,"XA","XA","KVP-HAC","HAC-HSZ",1496829600000],[41,1496928600000,1496934000000,"Y3912",true,"XA","XA","KVP-HAC","HAC-KVP",1496916000000],[41,1496910600000,1496919600000,"Y3498",true,"XA","XA","KVP-HAC","HAC-SZP",1496898000000],[41,1496898900000,1496904900000,"Y3499",true,"XA","XA","HSZ-HAC","HAC-HSZ",1496889900000],[41,1496886300000,1496892600000,"Y2116",true,"NF","NF","KET-HAC","HAC-HSZ",1496877000000],[41,1496840400000,1496872500000,"Y8963",true,"AS","AS","HSZ-HAC","HAC-KET",1496829000000],[39,1496920800000,1496924700000,"Y2153",true,"NU","NU","HSV-CNM-HAC","HAC-ULX",1496899500000],[39,1496911800000,1496916600000,"Y8764",false,"NF","NF","GBM-HAC","HAC-GBM",1496901900000],[39,1496885700000,1496890200000,"Y7249",true,"SF","SF","KVP-HAC","HAC-KVP",1496873700000],[39,1496841600000,1496874600000,"Y3888",true,"XA","XA","HSZ-HAC","HAC-KVP",1496832600000],[105,1496925300000,1496934000000,"Y8963",true,"AS","AS","HSZ-HAC","HAC-XGF",1496915400000],[105,1496915100000,1496920500000,"Y8978",true,"SF","SF","XGF-HAC","HAC-HBC",1496907000000],[105,1496906100000,1496910000000,"Y8348",true,"XA","XA","WOX-HAC","HAC-WOX",1496893800000],[105,1496895600000,1496902200000,"Y8963",true,"AS","AS","KET-HAC","HAC-HSZ",1496885700000],[105,1496883600000,1496888100000,"Y3918",true,"XZ","XZ","XGF-HAC","HAC-XGF",1496874600000],[105,1496846400000,1496868600000,"Y8318",true,"SL","SL","RMX-BRS-HAC","HAC-BRS-RMX",1496829600000],[274,1496840400000,1496901600000,"Y2238",true,"Q4","Q4","KMS-HAC","HAC-ASZ",1496815200000],[304,1496923800000,1496928600000,"Y3896",true,"SF","SF","GZL-MTY-HAC","HAC-SZP",1496905800000],[304,1496915400000,1496919000000,"Y4619",true,"AS","AS","PNT-HAC","HAC-KVP",1496907900000],[304,1496903400000,1496907600000,"Y4434",true,"NU","NU","HSZ-HAC","HAC-XPT",1496894700000],[304,1496895300000,1496899200000,"Y8559",false,"HX","HX","GMZ-HAC","HAC-GMZ",1496885400000],[304,1496874900000,1496882100000,"Y8424",true,"WA","WA","PSM-HAC","HAC-SQQ-GHM",1496868600000],[304,1496842200000,1496870100000,"Y4418",true,"SF","SF","PDV-HAC","HAC-XPT",1496836500000],[242,1496924700000,1496929800000,"Y4144",true,"SF","SF","SIY-MPT-HAC","HAC-SZP",1496902200000],[242,1496917800000,1496921400000,"Y3338",true,"XA","XA","KET-HAC","HAC-KVP",1496907600000],[242,1496908200000,1496913600000,"Y1309",true,"6F","6F","XGF-HAC","HAC-XGF",1496899200000],[242,1496892600000,1496899800000,"Y3904",false,"NF","NF","HSZ-HAC","HAC-HSZ",1496883300000],[242,1496880600000,1496883600000,"Y4518",true,"SF","SF","STS-HAC","HAC-STS",1496872500000],[242,1496848800000,1496876700000,"Y3866",true,"SF","SF","HBC-HAC","HAC-KVP",1496843100000],[181,1496926800000,1496934000000,"Y8457",true,"SF","SF","SZP-HAC","HAC-FIX-PST",1496922300000],[181,1496920200000,1496924100000,"Y1570",true,"XZ","XZ","STS-HAC","HAC-STS",1496911800000],[181,1496845800000,1496868000000,"Y7347",true,"SF","SF","MPT-HAC","HAC-OSD",1496838000000],[186,1496929200000,1496934000000,"Y8316",true,"AS","AS","SUV-HAC","HAC-MGT",1496921700000],[186,1496843700000,1496868300000,"Y2599",true,"SF","SF","XTL-HAC","HAC-CRB-CMM",1496834400000],[180,1496910300000,1496917800000,"Y3871",true,"NF","NF","HSZ-HAC","HAC-HSZ",1496901300000],[180,1496897100000,1496901600000,"Y7954",true,"XZ","XZ","KVP-HAC","HAC-KVP",1496884800000],[180,1496889000000,1496893500000,"Y8978",true,"SF","SF","KVP-HAC","HAC-XGF",1496876700000],[70,1496931900000,1496934000000,"Y0086",true,"XA","XA","XAC-HAC","HAC-PNT",1496923200000],[70,1496914800000,1496919300000,"Y3298",true,"XZ","XZ","XGF-HAC","HAC-XGF",1496906100000],[70,1496904900000,1496908500000,"Y1602",true,"NF","NF","MPT-HAC","HAC-MPT",1496896800000],[70,1496893800000,1496897400000,"Y4894",true,"AS","AS","SUV-HAC","HAC-KVP",1496885400000],[70,1496883900000,1496887800000,"Y1664",true,"TQ","TQ","STS-HAC","HAC-CFA-SIY",1496875500000],[70,1496877300000,1496881200000,"Y3677",true,"6F","6F","XPT-HAC","HAC-XGF",1496870100000],[70,1496848500000,1496866200000,"Y8326",true,"TQ","TQ","CMM-VMS-HAC","HAC-ABR-CMM",1496831400000],[108,1496913900000,1496918400000,"Y3921",true,"XA","XA","KVP-HAC","HAC-KVP",1496901600000],[108,1496904600000,1496909400000,"Y8062",false,"AS","AS","CRB-HAC","HAC-XPT",1496893800000],[108,1496885100000,1496889600000,"Y1984",true,"SF","SF","CRB-HAC","HAC-CRB",1496874000000],[108,1496849400000,1496870700000,"Y1983",true,"SF","SF","KVP-HAC","HAC-KVP",1496836800000],[109,1496928000000,1496934000000,"Y3499",true,"XA","XA","HSZ-HAC","HAC-HSZ",1496919000000],[109,1496917500000,1496921700000,"Y4219",true,"NF","NF","DFS-HAC","HAC-DFS",1496910900000],[109,1496910600000,1496915100000,"Y3911",true,"SF","SF","KVP-HAC","HAC-KVP",1496897700000],[109,1496901900000,1496906700000,"Y1983",true,"SF","SF","KVP-HAC","HAC-KVP",1496889000000],[109,1496893500000,1496898000000,"Y3466",true,"XZ","XZ","KVP-HAC","HAC-KVP",1496880900000],[109,1496884200000,1496888700000,"Y3850",true,"NF","NF","PNT-HAC","HAC-PNT",1496876700000],[109,1496842800000,1496871000000,"Y8982",true,"AS","AS","KET-HAC","HAC-KVP",1496833200000],[135,1496912700000,1496918400000,"Y0020",true,"AS","AS","YPP-HAC","HAC-CRB",1496901900000],[135,1496892300000,1496896800000,"Y8058",true,"AS","AS","DFC-HAC","HAC-GKV",1496883600000],[135,1496885700000,1496889900000,"SO2414",true,"PV","PV","RXM-HAC","HAC-RXM",1496871600000],[135,1496863500000,1496879700000,"Y8568",true,"XZ","XZ","OZC-HAC","HAC-KVP",1496811000000],[135,1496851800000,1496859000000,"VRUMC",true,"R5","R5","OVW-HAC","HAC-OVW",1496817000000],[135,1496840400000,1496842500000,"Y3920",true,"XZ","XZ","KVP-HAC","HAC-UIZ",1496823900000],[269,1496918400000,1496934000000,"Y1920",true,"AS","AS","OSD-DNG-HAC","HAC-PRC",1496901600000],[269,1496909400000,1496914500000,"Y83784",true,"Y2","Y2","INJ-HAC","HAC-INJ",1496903400000],[269,1496892900000,1496897100000,"Y8302",true,"XA","XA","TBH-HAC","HAC-SZM",1496883600000],[269,1496879700000,1496887800000,"Y0020",true,"AS","AS","CRB-HAC","HAC-YPP",1496868900000],[269,1496840700000,1496869500000,"Y4677",true,"AS","AS","YPP-HAC","HAC-HSV",1496831400000],[172,1496924700000,1496928600000,"SHZYE",true,"UW","UW","WNP-HAC","HAC-WNP",1496914200000],[172,1496914200000,1496920800000,"Y8058",true,"AS","AS","GKV-HAC","HAC-DFC",1496907300000],[172,1496905500000,1496910900000,"Y3734",true,"XA","XA","YPP-HAC","HAC-XGF",1496894400000],[172,1496881500000,1496891100000,"Y8154",true,"XA","XA","MPT-HAC","HAC-SPG",1496873700000],[172,1496869200000,1496874600000,"Y8062",true,"AS","AS","YPP-HAC","HAC-CRB",1496858700000],[172,1496852100000,1496856000000,"0NZJI",true,"ZP","ZP","PFO-HAC","HAC-PFO",1496836800000],[172,1496840700000,1496844300000,"0EGZJ",true,"GI","GI","HRM-HAC","HAC-HRM",1496826000000],[291,1496927100000,1496930700000,"0EGZL",true,"GI","GI","HRM-HAC","HAC-HRM",1496912400000],[291,1496916000000,1496919300000,"0NZTQ",true,"ZP","ZP","PFO-HAC","HAC-PFO",1496900400000],[291,1496908200000,1496912700000,"Y0047",true,"XA","XA","STS-HAC","HAC-WKH",1496900100000],[291,1496900700000,1496904300000,"Y8289",true,"AS","AS","MGT-HAC","HAC-YPP",1496892000000],[291,1496892000000,1496895600000,"Y8241",true,"AS","AS","PFO-HAC","HAC-GZL",1496876400000],[291,1496868900000,1496884500000,"Y0086",true,"XA","XA","WKH-HAC","HAC-HTM",1496847600000],[81,1496920500000,1496928300000,"Y8059",true,"AS","AS","CRB-HAC","HAC-YPP",1496910300000],[81,1496906400000,1496910000000,"Y0079",true,"0X","0X","SIY-SRZ-HAC","HAC-KMS",1496883900000],[81,1496898900000,1496902500000,"Y8481",true,"AS","AS","GZL-HAC","HAC-PFO",1496887800000],[81,1496890500000,1496894400000,"Y3620",true,"XA","XA","KVP-PLD-HAC","HAC-YPP",1496872200000],[81,1496883000000,1496886600000,"0ENTK",true,"NR","NR","HRM-HAC","HAC-HRM",1496869200000],[81,1496871900000,1496876100000,"Y8506",true,"SF","SF","SZP-HAC","HAC-OKJ",1496867100000],[81,1496841000000,1496869500000,"Y8523",true,"AS","AS","MIG-HAC","HAC-STS",1496824200000],[122,1496909100000,1496916000000,"Y0089",true,"AS","AS","KMS-HAC","HAC-BRS",1496901000000],[122,1496898900000,1496907000000,"Y8119",true,"XA","XA","KMS-HAC","HAC-MPT",1496889600000],[122,1496889300000,1496893200000,"0NZJW",true,"ZP","ZP","YPR-HAC","HAC-YPR",1496877900000],[122,1496881200000,1496885100000,"0NZTN",true,"ZP","ZP","PFO-HAC","HAC-PFO",1496866200000],[122,1496869200000,1496878800000,"Y4328",true,"AS","AS","SPG-HAC","HAC-RXM",1496853900000],[122,1496847300000,1496866800000,"Y1751",true,"0X","0X","KMS-HAC","HAC-SRZ-SIY",1496836800000],[280,1496933400000,1496934000000,"Y3497",true,"XA","XA","HSZ-HAC","HAC-GKV",1496924100000],[280,1496915100000,1496919900000,"Y8302",true,"XA","XA","SZM-HAC","HAC-STS",1496907900000],[280,1496904300000,1496909100000,"Y81784",true,"XR","XR","GKV-HAC","HAC-GKV",1496897400000],[280,1496889600000,1496893800000,"SO2204",true,"LA","LA","RXM-HAC","HAC-RXM",1496876400000],[280,1496885400000,1496888100000,"Y0089",true,"AS","AS","QFS-HAC","HAC-KMS",1496878800000],[280,1496848500000,1496875500000,"Y8287",true,"AS","AS","MPT-HAC","HAC-HRM",1496840400000],[280,1496840400000,1496841900000,"Y8062",true,"AS","AS","CRB-HAC","HAC-YPP",1496823900000],[182,1496919000000,1496921700000,"Y3620",true,"XA","XA","YPP-HAC","HAC-SUV",1496907900000],[182,1496909100000,1496912700000,"Y8287",false,"AS","AS","HRM-HAC","HAC-XPT",1496894400000],[182,1496898000000,1496903100000,"Y8506",true,"SF","SF","OKJ-HAC","HAC-CFA",1496888700000],[182,1496878200000,1496889000000,"Y8027",true,"AS","AS","DFC-HAC","HAC-HRM",1496870100000],[182,1496848200000,1496872500000,"Y4477",true,"SF","SF","SPG-HAC","HAC-XGF",1496834100000],[182,1496840400000,1496842200000,"SHZYA",true,"UW","UW","WNP-HAC","HAC-WNP",1496827800000],[3,1496922000000,1496926800000,"Y8027",true,"AS","AS","HRM-HAC","HAC-SZP",1496907000000],[3,1496908500000,1496912400000,"Y0086",true,"XA","XA","HTM-HAC","HAC-XAC",1496899800000],[3,1496896500000,1496902200000,"Y3901",true,"XA","XA","GKV-HAC","HAC-HSZ",1496889000000],[3,1496883600000,1496890800000,"Y4654",true,"AS","AS","MGT-HAC","HAC-MIG",1496874300000],[3,1496846400000,1496879400000,"Y3901",true,"XA","XA","HBC-HAC","HAC-GKV",1496840700000],[127,1496886300000,1496886900000,"Y2838",true,"FH","FH","CCC-HAC","HAC-***",1496880000000],[319,1496907600000,1496934000000,"Y3564",true,"QW","QW","KVP-HAC","HAC-KVP",1496896200000],[154,1496840400000,1496934000000,"Y1737",true,"QW","QW","KVP-HAC","HAC-HSZ",1495659300000],[71,1496925600000,1496934000000,"Y6706",true,"A8","A8","NUN-HAC","HAC-STS",1496923200000],[97,1496901000000,1496934000000,"M6666J",true,"QW","QW","HBC-HAC","HAC-SZP",1496896200000],[296,1496856600000,1496934000000,"YSEK",true,"A8","A8","XZM-HAC","HAC-KVP",1496854800000],[257,1496840400000,1496934000000,"Y1833",true,"QW","QW","QST-HAC","HAC-STS",1495940400000],[136,1496840400000,1496934000000,"Y1711",true,"A8","A8","CRB-HAC","HAC-HSZ",1496808000000],[313,1496927700000,1496934000000,"Y6746",true,"QW","QW","OBZ-HAC","HAC-XZM",1496919600000],[277,1496840400000,1496934000000,"M8222F",true,"A8","A8","NZX-HAC","HAC-KET",1496835900000],[48,1496840400000,1496934000000,"Y1867",true,"QW","QW","KET-HAC","HAC-PRC",1496631600000],[110,1496930700000,1496934000000,"M433MH",true,"A8","A8","SPT-HAC","HAC-SPT",1496928900000],[37,1496858700000,1496934000000,"M001UZ",true,"QW","QW","ZMX-HAC","HAC-HDZ",1496824440000],[107,1496840400000,1496934000000,"YODD",true,"A8","A8","KET-HAC","HAC-NUN",1496368800000],[226,1496925000000,1496934000000,"Y6438",true,"A8","A8","CHK-HAC","HAC-KVP",1496912400000],[226,1496848500000,1496908800000,"Y1884",true,"A8","A8","KVP-HAC","HAC-MIG",1496836800000],[83,1496923200000,1496934000000,"Y1841",true,"A8","A8","NOV-HAC","HAC-SPT",1496901600000],[83,1496840400000,1496894400000,"Y6719",true,"QW","QW","HBC-HAC","HAC-KVP",1496811600000],[167,1496923200000,1496934000000,"Y2236",true,"A8","A8","ASZ-HAC","HAC-ASZ",1496920800000],[167,1496840400000,1496894400000,"Y2236",true,"A8","A8","QWA-HAC","HAC-ASZ",1496830200000],[290,1496840400000,1496934000000,"Y6436",true,"A8","A8","DFC-HAC","HAC-XGF",1496646000000],[89,1496840400000,1496934000000,"Y1732",true,"A8","A8","KVP-HAC","HAC-XGF",1496822400000],[130,1496840400000,1496934000000,"M616ZA",true,"A8","A8","CHK-HAC","HAC-KVP",1496393700000],[173,1496884200000,1496934000000,"M765HZ",true,"A8","A8","CRB-HAC","HAC-CRB",1496876400000],[103,1496840400000,1496934000000,"Y1683",true,"TU","A8","PDO-HAC","HAC-MMB",1495346400000],[307,1496840400000,1496934000000,"EKXDJ",true,"A8","A8","KVP-HAC","HAC-NUN",1496548800000],[80,1496840400000,1496934000000,"M003NH",true,"A8","A8","CRB-HAC","HAC-NUN",1496811600000],[247,1496842800000,1496934000000,"M6610S",true,"QW","QW","OSD-HAC","HAC-NUN",1496833200000],[31,1496840400000,1496934000000,"Y1839",true,"TU","TU","KVP-HAC","HAC-GHM",1496610000000],[52,1496887200000,1496934000000,"Y6724",true,"A8","A8","GHM-HAC","HAC-KVP",1496876400000],[286,1496874300000,1496934000000,"Y7043",true,"L6","L6","GKV-HAC","HAC-KVP",1496868900000],[286,1496854800000,1496856600000,"Y7182",true,"L6","L6","XGF-HAC","HAC-XGF",1496847300000],[286,1496840400000,1496844600000,"Y7043",true,"L6","L6","GKV-HAC","HAC-MTY",1496782500000],[282,1496863200000,1496934000000,"Y7033",true,"L6","L6","QQM-HAC","HAC-QQM",1496859600000],[282,1496840400000,1496843400000,"Y7173",true,"L6","L6","MGT-HAC","HAC-STS",1496781600000],[246,1496888700000,1496924400000,"Y8536",true,"L6","L6","DVU-HAC","HAC-DFC",1496878500000],[246,1496849400000,1496851200000,"Y7033",true,"L6","L6","XPT-HAC","HAC-QQM",1496842200000],[246,1496840400000,1496842500000,"Y7016",true,"L6","L6","SUV-HAC","HAC-DMA",1496781600000],[310,1496872200000,1496931600000,"Y7421",true,"B1","B1","KVP-HAC","HAC-KVP",1496859600000],[310,1496840400000,1496845200000,"Y7421",true,"B1","B1","KVP-HAC","HAC-KVP",1496773200000],[53,1496876400000,1496929800000,"Y2917",true,"L6","L6","KVP-HAC","HAC-STS",1496865300000],[53,1496840400000,1496849400000,"Y2917",true,"L6","L6","KVP-HAC","HAC-KVP",1496778900000],[273,1496874000000,1496931900000,"Y7176",true,"XU","XU","MPT-HAC","HAC-MPT",1496865900000],[273,1496863500000,1496865300000,"Y7018",true,"L6","L6","STS-HAC","HAC-PSM",1496856300000],[273,1496840400000,1496845500000,"Y7176",true,"XU","XU","MPT-HAC","HAC-MPT",1496779500000],[117,1496868300000,1496928000000,"Y7178",true,"L6","L6","DFC-HAC","HAC-KET",1496860200000],[117,1496840400000,1496851200000,"Y7982",true,"L6","L6","MTY-HAC","HAC-GKV",1496785500000],[265,1496874900000,1496928900000,"Y7016",true,"L6","L6","SUV-HAC","HAC-DMA",1496868000000],[223,1496876400000,1496934000000,"Y7100",true,"L6","L6","MGT-HAC","HAC-KVP",1496868000000],[223,1496860500000,1496863200000,"Y7173",true,"L6","L6","STS-HAC","HAC-KET",1496853300000],[223,1496851800000,1496856000000,"Y7100",true,"L6","L6","KET-HAC","HAC-MGT",1496843700000],[223,1496840400000,1496841600000,"Y8536",true,"L6","L6","DVU-HAC","HAC-KET",1496792400000],[47,1496840400000,1496934000000,"Y3003",true,"L6","L6","KVP-HAC","HAC-KVP",1496692500000],[126,1496871000000,1496934000000,"Y8423",true,"L6","L6","STS-HAC","HAC-STS",1496863800000],[126,1496840400000,1496851500000,"Y8423",true,"L6","L6","STS-HAC","HAC-STS",1496777400000],[288,1496932500000,1496934000000,"M647FK",true,"4C","4C","RXM-HAC","HAC-RXM",1496919000000],[288,1496850600000,1496856900000,"M647FK",true,"4C","4C","HRM-HAC","HAC-RXM",1496835900000],[115,1496850000000,1496856000000,"M544FK",true,"4C","4C","XIP-HAC","HAC-XIP",1496841600000],[227,1496846100000,1496855400000,"M642FK",true,"4C","4C","RXM-HAC","HAC-MIG",1496832600000],[206,1496852100000,1496858100000,"KPYYX",true,"1U","1U","HTM-HAC","HAC-HTM",1496842200000],[309,1496840400000,1496934000000,"Y1640",true,"XA","XA","KVP-HAC","HAC-KVP",1494367800000],[190,1496840400000,1496934000000,"Y4686",true,"WA","WA","RMX-DWH-HAC","HAC-XTL",1496744100000],[190,1496840400000,1496885700000,"Y3639",true,"AS","AS","HSZ-HAC","HAC-HSZ",1496817900000],[289,1496928600000,1496934000000,"M417FK",true,"4C","4C","XTM-HAC","HAC-YPP",1496889300000],[289,1496842200000,1496862000000,"M427FK",true,"4C","4C","XTM-HAC","HAC-YPP",1496802900000],[300,1496920800000,1496934000000,"Y0091",true,"AS","AS","XTJ-HAC","HAC-KMS",1496905500000],[300,1496840400000,1496886000000,"Y3386",true,"AS","AS","XAC-HAC","HAC-XGF",1496806800000],[131,1496850900000,1496856900000,"M645FK",true,"4C","4C","PFO-HAC","HAC-PFO",1496836200000],[101,1496849700000,1496855700000,"M685FK",true,"4C","4C","MIG-HAC","HAC-HRM",1496832300000],[292,1496931300000,1496934000000,"Y8006",true,"AS","AS","OBR-HAC","HAC-DFC",1496920800000],[292,1496840400000,1496881500000,"Y3278",true,"AS","AS","XTL-HAC","HAC-HSV",1496823600000],[306,1496928300000,1496934000000,"Y3087",true,"XA","XA","XTJ-DMA-HAC","HAC-PSM-GBM",1496906400000],[306,1496840400000,1496889600000,"Y3410",true,"AS","AS","GMZ-HAC","HAC-CRB",1496819700000],[184,1496849100000,1496857800000,"Y81284",true,"XR","XR","GKV-HAC","HAC-GKV",1496841300000],[231,1496922300000,1496934000000,"Y3144",true,"AS","AS","KET-HAC","HAC-YPP",1496913300000],[231,1496840400000,1496886000000,"Y3840",true,"AS","AS","SIY-HAC","HAC-SIY",1496820000000],[69,1496844600000,1496883300000,"Y1306",true,"AS","AS","GZL-HAC","HAC-PSM-KET",1496833500000],[302,1496925300000,1496934000000,"Y3428",true,"AS","AS","KET-QQM-HAC","HAC-DCM",1496912100000],[293,1496922300000,1496934000000,"Y8154",true,"XA","XA","SPG-HAC","HAC-STS",1496908200000],[293,1496847900000,1496881200000,"Y0060",true,"AS","AS","HBC-HAC","HAC-CUM",1496842500000],[87,1496840700000,1496887200000,"Y3697",true,"XA","XA","STS-HAC","HAC-HSZ",1496832900000],[204,1496848800000,1496880900000,"Y1920",true,"AS","AS","ZZG-XTL-HAC","HAC-DNG-OSD",1496820000000],[311,1496925000000,1496934000000,"Y1306",true,"AS","AS","KET-PSM-HAC","HAC-PSM-KET",1496909400000],[311,1496846400000,1496869800000,"Y4619",true,"AS","AS","DFC-HAC","HAC-PNT",1496838000000]]}}')},function(t,e,n){t.exports=!n(153)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){function n(t){this._$handlers={},this._$eventProcessor=t}var u=Array.prototype.slice;function r(t,e,n,i,r,o){var a,s,l=t._$handlers;if("function"==typeof n&&(r=i,i=n,n=null),!i||!e)return t;s=n,a=(a=t)._$eventProcessor,n=s=null!=s&&a&&a.normalizeQuery?a.normalizeQuery(s):s,l[e]||(l[e]=[]);for(var u=0;u<l[e].length;u++)if(l[e][u].h===i)return t;o={h:i,one:o,query:n,ctx:r||t,callAtLast:i.zrEventfulCallAtLast},n=l[e].length-1,r=l[e][n];return r&&r.callAtLast?l[e].splice(n,0,o):l[e].push(o),t}n.prototype={constructor:n,one:function(t,e,n,i){return r(this,t,e,n,i,!0)},on:function(t,e,n,i){return r(this,t,e,n,i,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var n=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},trigger:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var i=arguments,r=i.length;3<r&&(i=u.call(i,1));for(var o=e.length,a=0;a<o;){var s=e[a];if(n&&n.filter&&null!=s.query&&!n.filter(t,s.query))a++;else{switch(r){case 1:s.h.call(s.ctx);break;case 2:s.h.call(s.ctx,i[1]);break;case 3:s.h.call(s.ctx,i[1],i[2]);break;default:s.h.apply(s.ctx,i)}s.one?(e.splice(a,1),o--):a++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e)for(var i=arguments,r=i.length,o=(i=4<r?u.call(i,1,i.length-1):i)[i.length-1],a=e.length,s=0;s<a;){var l=e[s];if(n&&n.filter&&null!=l.query&&!n.filter(t,l.query))s++;else{switch(r){case 1:l.h.call(o);break;case 2:l.h.call(o,i[1]);break;case 3:l.h.call(o,i[1],i[2]);break;default:l.h.apply(o,i)}l.one?(e.splice(s,1),a--):s++}}return n&&n.afterTrigger&&n.afterTrigger(t),this}},t.exports=n},function(t,e,n){function o(t){for(var e in i.call(this,t=t||{}),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0}var a=n(1),i=n(628),l=n(30);o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){var n;return t&&t!==this&&t.parent!==this&&e&&e.parent===this&&(0<=(e=(n=this._children).indexOf(e))&&(n.splice(e,0,t),this._doAdd(t))),this},_doAdd:function(t){t.parent&&t.parent.remove(t);var e=(t.parent=this).__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,i=this._children,r=a.indexOf(i,t);return r<0||(i.splice(r,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),e&&e.refresh()),this},removeAll:function(){for(var t,e=this._children,n=this.__storage,i=0;i<e.length;i++)t=e[i],n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),t.parent=null;return e.length=0,this},eachChild:function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},traverse:function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n];t.call(e,i),"group"===i.type&&i.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.addToStorage(n),n instanceof o&&n.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.delFromStorage(n),n instanceof o&&n.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,n=new l(0,0,0,0),i=t||this._children,r=[],o=0;o<i.length;o++){var a,s=i[o];s.ignore||s.invisible||(a=s.getBoundingRect(),(s=s.getLocalTransform(r))?(n.copy(a),n.applyTransform(s),(e=e||n.clone()).union(n)):(e=e||a.clone()).union(a))}return e||n}},a.inherits(o,i),t.exports=o},function(t,e,n){var i=n(156),r=n(1),o=n(55),a=n(275),s=n(274).ContextCachedBy,n=function(t){i.call(this,t)};n.prototype={constructor:n,type:"text",brush:function(t,e){var n=this.style;this.__dirty&&a.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var i=n.text;null!=i&&(i+=""),a.needDrawText(i,n)?(this.setTransform(t),a.renderText(this,t,i,n,null,e),this.restoreTransform(t)):t.__attrCachedBy=s.NONE},getBoundingRect:function(){var t,e=this.style;return this.__dirty&&a.normalizeTextStyle(e,!0),this._rect||(null!=(t=e.text)?t+="":t="",(t=o.getBoundingRect(e.text+"",e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich)).x+=e.x||0,t.y+=e.y||0,a.getStroke(e.textStroke,e.textStrokeWidth)&&(e=e.textStrokeWidth,t.x-=e/2,t.y-=e/2,t.width+=e,t.height+=e),this._rect=t),this._rect}},r.inherits(n,i),t.exports=n},function(t,e,n){n(20).__DEV__;var i=n(1),r=(i.isTypedArray,i.extend),o=(i.assert,i.each),a=i.isObject,i=n(17),s=i.getDataItemValue,l=i.isDataItemOption,u=n(13).parseDate,c=n(159),n=n(160),h=n.SOURCE_FORMAT_TYPED_ARRAY,d=n.SOURCE_FORMAT_ARRAY_ROWS,p=n.SOURCE_FORMAT_ORIGINAL,f=n.SOURCE_FORMAT_OBJECT_ROWS;function g(t,e){c.isInstance(t)||(t=c.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===h&&(this._offset=0,this._dimSize=e,this._data=n);i=m[i===d?i+"_"+t.seriesLayoutBy:i];r(this,i)}n=g.prototype;n.pure=!1;var m={arrayRows_column:{pure:n.persistent=!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:x},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i<n.length;i++){var r=n[i];e.push(r?r[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:v,getItem:y,appendData:x},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name,t=this._data[t];return t?t.length:0},getItem:function(t){for(var e=[],n=this._source.dimensionsDefine,i=0;i<n.length;i++){var r=this._data[n[i].name];e.push(r?r[t]:null)}return e},appendData:function(t){var r=this._data;o(t,function(t,e){for(var n=r[e]||(r[e]=[]),i=0;i<(t||[]).length;i++)n.push(t[i])})}},original:{count:v,getItem:y,appendData:x},typedArray:{persistent:!(n.getSource=function(){return this._source}),pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var n=this._dimSize*t,i=0;i<this._dimSize;i++)e[i]=this._data[n+i];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function v(){return this._data.length}function y(t){return this._data[t]}function x(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var _={arrayRows:b,objectRows:function(t,e,n,i){return null!=n?t[i]:t},keyedColumns:b,original:function(t,e,n,i){t=s(t);return null!=n&&t instanceof Array?t[n]:t},typedArray:b};function b(t,e,n,i){return null!=n?t[n]:t}n={arrayRows:S,objectRows:function(t,e,n,i){return A(t[e],this._dimensionInfos[e])},keyedColumns:S,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return!this._rawData.pure&&l(t)&&(this.hasItemOption=!0),A(r instanceof Array?r[i]:r,this._dimensionInfos[e])},typedArray:function(t,e,n,i){return t[i]}};function S(t,e,n,i){return A(t[i],this._dimensionInfos[e])}function A(t,e){var n=e&&e.type;if("ordinal"!==n)return null==(t="time"===n&&"number"!=typeof t&&null!=t&&"-"!==t?+u(t):t)||""===t?NaN:+t;e=e&&e.ordinalMeta;return e?e.parseAndCollect(t):t}e.DefaultDataProvider=g,e.defaultDimValueGetters=n,e.retrieveRawValue=function(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r,o,a=t.getProvider().getSource().sourceFormat,n=t.getDimensionInfo(n);return n&&(r=n.name,o=n.index),_[a](i,e,o,r)}}},e.retrieveRawAttr=function(t,e,n){if(t){var i=t.getProvider().getSource().sourceFormat;if(i===p||i===f){e=t.getRawDataItem(e);return(e=i===p&&!a(e)?null:e)?e[n]:void 0}}}},function(t,e){function o(t){return t}function n(t,e,n,i,r){this._old=t,this._new=e,this._oldKeyGetter=n||o,this._newKeyGetter=i||o,this.context=r}function c(t,e,n,i,r){for(var o=0;o<t.length;o++){var a="_ec_"+r[i](t[o],o),s=e[a];null==s?(n.push(a),e[a]=o):(s.length||(e[a]=s=[s]),s.push(o))}}n.prototype={constructor:n,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,n={},i=[],r=[];for(c(t,{},i,"_oldKeyGetter",this),c(e,n,r,"_newKeyGetter",this),o=0;o<t.length;o++)null!=(a=n[s=i[o]])?((u=a.length)?(1===u&&(n[s]=null),a=a.shift()):n[s]=null,this._update&&this._update(a,o)):this._remove&&this._remove(o);for(var o=0;o<r.length;o++){var a,s=r[o];if(n.hasOwnProperty(s))if(null!=(a=n[s]))if(a.length)for(var l=0,u=a.length;l<u;l++)this._add&&this._add(a[l]);else this._add&&this._add(a)}}};t.exports=n},function(t,e,n){n(20).__DEV__;var i=n(4),l=n(283),u=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&l.fixValue(t),u.superApply(this,"render",arguments),o(this,t,0,n,0,!0)},updateAxisPointer:function(t,e,n,i,r){o(this,t,0,n,0,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),u.superApply(this,"remove",arguments)},dispose:function(t,e){c(this,e),u.superApply(this,"dispose",arguments)}});function o(t,e,n,i,r,o){var a,s=u.getAxisPointerClass(t.axisPointerClass);s&&((a=l.getAxisPointerModel(e))?(t._axisPointer||(t._axisPointer=new s)).render(e,a,i,o):c(t,i))}function c(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var r=[];u.registerAxisPointerClass=function(t,e){r[t]=e},u.getAxisPointerClass=function(t){return t&&r[t]},t.exports=u},function(t,e,n){var g=n(1).isFunction;t.exports=function(t,o,f){return{seriesType:t,performRawSeries:!0,reset:function(a,t,e){var n=a.getData(),s=a.get("symbol"),l=a.get("symbolSize"),i=a.get("symbolKeepAspect"),u=a.get("symbolRotate"),c=g(s),h=g(l),d=g(u),p=c||h||d,r=!c&&s?s:o;if(n.setVisual({legendSymbol:f||r,symbol:r,symbolSize:h?null:l,symbolKeepAspect:i,symbolRotate:u}),!t.isSeriesFiltered(a))return{dataEach:n.hasItemOption||p?function(t,e){var n,i,r,o;p&&(i=a.getRawValue(e),r=a.getDataParams(e),c&&t.setItemVisual(e,"symbol",s(i,r)),h&&t.setItemVisual(e,"symbolSize",l(i,r)),d&&t.setItemVisual(e,"symbolRotate",u(i,r))),t.hasItemOption&&(n=(o=t.getItemModel(e)).getShallow("symbol",!0),i=o.getShallow("symbolSize",!0),r=o.getShallow("symbolRotate",!0),o=o.getShallow("symbolKeepAspect",!0),null!=n&&t.setItemVisual(e,"symbol",n),null!=i&&t.setItemVisual(e,"symbolSize",i),null!=r&&t.setItemVisual(e,"symbolRotate",r),null!=o&&t.setItemVisual(e,"symbolKeepAspect",o))}:null}}}}},function(t,e,n){var i=n(1);function r(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}e.retrieveTargetInfo=function(t,e,n){if(t&&0<=i.indexOf(e,t.type)){e=n.getData().tree.root,n=t.targetNode;if((n="string"==typeof n?e.getNodeById(n):n)&&e.contains(n))return{node:n};t=t.targetNodeId;return null!=t&&(n=e.getNodeById(t))?{node:n}:void 0}},e.getPathToRoot=r,e.aboveViewRoot=function(t,e){return t=r(t),0<=i.indexOf(t,e)},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 a=n(1),o=n(71),i=n(13).linearMap,s=a.each,l=a.isObject,u=-1,c=function(t){var e=t.mappingMethod,n=t.type,t=this.option=a.clone(t);this.type=n,this.mappingMethod=e,this._normalizeData=_[e];var i,n=h[n];this.applyVisual=n.applyVisual,this.getColorMapper=n.getColorMapper,this._doMap=n._doMap[e],"piecewise"===e?(r(t),n=(i=t).pieceList,i.hasSpecialVisual=!1,a.each(n,function(t,e){t.originIndex=e,null!=t.visual&&(i.hasSpecialVisual=!0)})):"category"===e?t.categories?function(t){var e=t.categories,n=t.visual,i=t.categoryMap={};{var r;s(e,function(t,e){i[t]=e}),a.isArray(n)||(r=[],a.isObject(n)?s(n,function(t,e){e=i[e];r[null!=e?e:u]=t}):r[u]=n,n=x(t,r))}for(var o=e.length-1;0<=o;o--)null==n[o]&&(delete i[e[o]],e.pop())}(t):r(t,!0):(a.assert("linear"!==e||t.dataExtent),r(t))};c.prototype={constructor:c,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return a.bind(this._normalizeData,this)}};var h=c.visualHandlers={color:{applyVisual:f("color"),getColorMapper:function(){var r=this.option;return a.bind("category"===r.mappingMethod?function(t,e){return e||(t=this._normalizeData(t)),g.call(this,t)}:function(t,e,n){var i=!!n;return e||(t=this._normalizeData(t)),n=o.fastLerp(t,r.parsedVisual,n),i?n:o.stringify(n,"rgba")},this)},_doMap:{linear:function(t){return o.stringify(o.fastLerp(t,this.option.parsedVisual),"rgba")},category:g,piecewise:function(t,e){e=y.call(this,e);return e=null==e?o.stringify(o.fastLerp(t,this.option.parsedVisual),"rgba"):e},fixed:m}},colorHue:d(function(t,e){return o.modifyHSL(t,e)}),colorSaturation:d(function(t,e){return o.modifyHSL(t,null,e)}),colorLightness:d(function(t,e){return o.modifyHSL(t,null,null,e)}),colorAlpha:d(function(t,e){return o.modifyAlpha(t,e)}),opacity:{applyVisual:f("opacity"),_doMap:v([0,1])},liftZ:{applyVisual:f("liftZ"),_doMap:{linear:m,category:m,piecewise:m,fixed:m}},symbol:{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);if(a.isString(i))n("symbol",i);else if(l(i))for(var r in i)i.hasOwnProperty(r)&&n(r,i[r])},_doMap:{linear:p,category:g,piecewise:function(t,e){e=y.call(this,e);return e=null==e?p.call(this,t):e},fixed:m}},symbolSize:{applyVisual:f("symbolSize"),_doMap:v([0,1])}};function r(t,e){var n=t.visual,i=[];a.isObject(n)?s(n,function(t){i.push(t)}):null!=n&&i.push(n);e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),x(t,i)}function d(i){return{applyVisual:function(t,e,n){t=this.mapValueToVisual(t),n("color",i(e("color"),t))},_doMap:v([0,1])}}function p(t){var e=this.option.visual;return e[Math.round(i(t,[0,1],[0,e.length-1],!0))]||{}}function f(i){return function(t,e,n){n(i,this.mapValueToVisual(t))}}function g(t){var e=this.option.visual;return e[this.option.loop&&t!==u?t%e.length:t]}function m(){return this.option.visual[0]}function v(n){return{linear:function(t){return i(t,n,this.option.visual,!0)},category:g,piecewise:function(t,e){e=y.call(this,e);return e=null==e?i(t,n,this.option.visual,!0):e},fixed:m}}function y(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){n=n[c.findPieceIndex(t,n)];if(n&&n.visual)return n.visual[this.type]}}function x(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=a.map(e,function(t){return o.parse(t)})),e}var _={linear:function(t){return i(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,t=c.findPieceIndex(t,e,!0);if(null!=t)return i(t,[0,e.length-1],[0,1],!0)},category:function(t){t=this.option.categories?this.option.categoryMap[t]:t;return null==t?u:t},fixed:a.noop};function b(t,e,n){return t?e<=n:e<n}c.listVisualTypes=function(){var n=[];return a.each(h,function(t,e){n.push(e)}),n},c.addVisualHandler=function(t,e){h[t]=e},c.isValidType=function(t){return h.hasOwnProperty(t)},c.eachVisual=function(t,e,n){a.isObject(t)?a.each(t,e,n):e.call(n,t)},c.mapVisual=function(t,n,i){var r,o=a.isArray(t)?[]:a.isObject(t)?{}:(r=!0,null);return c.eachVisual(t,function(t,e){t=n.call(i,t,e);r?o=t:o[e]=t}),o},c.retrieveVisuals=function(n){var i,r={};return n&&s(h,function(t,e){n.hasOwnProperty(e)&&(r[e]=n[e],i=!0)}),i?r:null},c.prepareVisualTypes=function(t){if(l(t)){var n=[];s(t,function(t,e){n.push(e)}),t=n}else{if(!a.isArray(t))return[];t=t.slice()}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},c.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},c.findPieceIndex=function(n,t,e){for(var i,r=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===n||"string"==typeof s&&s===n+"")return o;e&&c(s,o)}}for(o=0,a=t.length;o<a;o++){var l=t[o],u=l.interval,l=l.close;if(u){if(u[0]===-1/0){if(b(l[1],n,u[1]))return o}else if(u[1]===1/0){if(b(l[0],u[0],n))return o}else if(b(l[0],u[0],n)&&b(l[1],n,u[1]))return o;e&&c(u[0],o),e&&c(u[1],o)}}if(e)return n===1/0?t.length-1:n===-1/0?0:i;function c(t,e){t=Math.abs(t-n);t<r&&(r=t,i=e)}},t.exports=c},function(t,e,n){"use strict";function i(t,e){var n=e.to,i=e.url,e=e.replace;n&&t?(n=t[e?"replace":"push"](n))&&n.catch&&n.catch(function(t){if(t&&!("NavigationDuplicated"===(e=t).name||e.message&&-1!==e.message.indexOf("redundant navigation")))throw t;var e}):i&&(e?location.replace(i):location.href=i)}e.__esModule=!0,e.route=i,e.functionalRoute=function(t){i(t.parent&&t.parent.$router,t.props)},e.routeProps=void 0;var r={url:String,replace:Boolean,to:[String,Object]};e.routeProps=r},function(t,s,l){"use strict";!function(t){s.__esModule=!0,s.raf=a,s.doubleRaf=function(t){a(function(){a(t)})},s.cancelRaf=function(t){o.call(n,t)};var e=l(7),i=Date.now();var n=e.isServer?t:window,r=n.requestAnimationFrame||function(t){var e=Date.now(),n=Math.max(0,16-(e-i)),t=setTimeout(t,n);return i=e+n,t},o=n.cancelAnimationFrame||n.clearTimeout;function a(t){return r.call(n,t)}}.call(this,l(122))},function(t,e,n){"use strict";e.__esModule=!0,e.FieldMixin=void 0;e.FieldMixin={inject:{vanField:{default:null}},watch:{value:function(){var t=this.vanField;t&&(t.resetValidation(),t.validateWithTrigger("onChange"))}},created:function(){var t=this.vanField;t&&!t.children&&(t.children=this)}}},function(t,e,n){"use strict";function i(t,e,n){var i=t.indexOf(e);return-1===i?t:"-"===e&&0!==i?t.slice(0,i):t.slice(0,i+1)+t.slice(i).replace(n,"")}e.__esModule=!0,e.range=function(t,e,n){return Math.min(Math.max(t,e),n)},e.formatNumber=function(t,e,n){void 0===e&&(e=!0);void 0===n&&(n=!0);t=e?i(t,".",/\./g):t.split(".")[0];t=n?i(t,"-",/-/g):t.replace(/-/,"");e=e?/[^-0-9.]/g:/[^-0-9]/g;return t.replace(e,"")}},function(t,e,n){"use strict";var i=n(256);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(253);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(242);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(233);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var s=n(31),x=n(12),C=n(15);function T(t){var n=t.innerRows,i=t.dimAxisName,e=t.dimension,r=t.axisVisible,o=t.dimAxisType,a=t.dims;return e.map(function(e){return{type:"category",name:i,nameLocation:"middle",nameGap:22,data:"value"===o?function(t){for(var e=Math.max.apply(null,t),t=Math.min.apply(null,t),n=[],i=t;i<=e;i++)n.push(i);return n}(a):n.map(function(t){return t[e]}),axisLabel:{formatter:function(t){return String(t)}},show:r,axisLine:{lineStyle:{color:"#FFF"}}}})}function I(t){for(var n=t.meaAxisName,i=t.meaAxisType,e=t.axisVisible,r=t.digit,o=t.scale,a=t.min,s=t.max,l={type:"value",axisTick:{show:!1},show:e,axisLine:{lineStyle:{color:"#FFF"}}},u=[],c=0;c<2;c++)!function(e){i[e]?u[e]=Object.assign({},l,{axisLabel:{formatter:function(t){return Object(x.c)(t,i[e],r)}}}):u[e]=Object.assign({},l),u[e].name=n[e]||"",u[e].scale=o[e]||!1,u[e].min=a[e]||null,u[e].max=s[e]||null}(c);return u}function D(t){var e=t.axisSite,n=t.isHistogram,r=t.meaAxisType,o=t.digit,i=t.labelMap,a=n?e.right||[]:e.top||[];return i&&(a=a.map(function(t){return void 0===i[t]?t:i[t]})),{trigger:"axis",formatter:function(t){var i=[];return i.push(t[0].name+"<br>"),t.forEach(function(t){var e=t.seriesName,n=~a.indexOf(e)?r[1]:r[0];i.push(Object(s.g)(t.color)),i.push(e+": "),i.push(Object(x.c)(t.value,n,o)),i.push("<br>")}),i.join("")}}}function L(t){var e=t.innerRows,n=t.metrics,i=t.stack,r=t.axisSite,o=t.isHistogram,a=t.labelMap,s=t.itemStyle,l=t.label,u=t.showLine,c=void 0===u?[]:u,h=t.dimAxisType,d=t.barGap,p=t.opacity,f=t.dims,t=[],g={},m=o?r.right||[]:r.top||[],v=o?"yAxisIndex":"xAxisIndex",y=i&&Object(x.e)(i);return n.forEach(function(t){g[t]=[]}),e.forEach(function(e){n.forEach(function(t){g[t].push(e[t])})}),!!(t=Object.keys(g).map(function(t,e){var n="value"===h?function(t,e){for(var n=Math.max.apply(null,e),i=[],r=Math.min.apply(null,e);r<=n;r++){var o=e.indexOf(r);~o?i.push(t[o]):i.push(null)}return i}(g[t],f):g[t],n=((n={name:null!=a[t]?a[t]:t,type:~c.indexOf(t)?"line":"bar",data:n})[v]=~m.indexOf(t)?"1":"0",n);i&&y[t]&&(n.stack=y[t]),l&&(n.label=l),s&&(n.itemStyle=s);t=p||Object(C.d)(n,"itemStyle.normal.opacity");return"value"===h&&(n.barGap=d,n.barCategoryGap="1%",null==t&&(t=.5)),null!=t&&Object(C.j)(n,"itemStyle.normal.opacity",t),n})).length&&t}function k(t){var e=t.metrics,n=t.labelMap,i=t.legendName;return i||n?{data:n?e.map(function(t){return null==n[t]?t:n[t]}):e,formatter:function(t){return null!=i[t]?i[t]:t}}:{data:e}}function N(t,e){return t.map(function(t){return t[e[0]]})}var i=function(t,e,n,i){var r=Object(C.b)(e),o=n.axisSite,a=void 0===o?{}:o,s=n.dimension,l=void 0===s?[t[0]]:s,u=n.stack,c=void 0===u?{}:u,h=n.axisVisible,d=void 0===h||h,p=n.digit,f=void 0===p?2:p,g=n.dataOrder,m=void 0!==g&&g,v=n.scale,y=void 0===v?[!1,!1]:v,x=n.min,_=void 0===x?[null,null]:x,b=n.max,S=void 0===b?[null,null]:b,A=n.legendName,e=void 0===A?{}:A,o=n.labelMap,s=void 0===o?{}:o,u=n.label,h=n.itemStyle,p=n.showLine,g=n.barGap,v=void 0===g?"-100%":g,x=n.opacity,b=i.tooltipVisible,A=i.legendVisible,o=t.slice();a.top&&a.bottom?o=a.top.concat(a.bottom):a.bottom&&!a.right?o=a.bottom:n.metrics?o=n.metrics:o.splice(t.indexOf(l[0]),1);var M,w,g=n.xAxisType||["normal","normal"],i=n.yAxisType||"category",t=n.xAxisName||[],n=n.yAxisName||"";m&&(M=m.label,w=m.order,M&&w?r.sort(function(t,e){return"desc"===w?t[M]-e[M]:e[M]-t[M]}):console.warn("Need to provide name and order parameters"));m=N(r,l),e=A&&k({metrics:o,labelMap:s,legendName:e}),n=T({innerRows:r,dimAxisName:n,dimension:l,axisVisible:d,dimAxisType:i,dims:m}),S=I({meaAxisName:t,meaAxisType:g,axisVisible:d,digit:f,scale:y,min:_,max:S});return{legend:e,yAxis:n,series:L({innerRows:r,metrics:o,stack:c,axisSite:a,isHistogram:!1,labelMap:s,itemStyle:h,label:u,showLine:p,dimAxisType:i,dimension:l,barGap:v,opacity:x,dims:m}),xAxis:S,tooltip:b&&D({axisSite:a,isHistogram:!1,meaAxisType:g,digit:f,labelMap:s})}},r=function(t,e,n,i){var r,o,a=Object(C.b)(e),s=n.axisSite,l=void 0===s?{}:s,u=n.dimension,c=void 0===u?[t[0]]:u,h=n.stack,d=void 0===h?{}:h,p=n.axisVisible,f=void 0===p||p,g=n.digit,m=void 0===g?2:g,v=n.dataOrder,y=void 0!==v&&v,x=n.scale,_=void 0===x?[!1,!1]:x,b=n.min,S=void 0===b?[null,null]:b,A=n.max,M=void 0===A?[null,null]:A,w=n.labelMap,e=void 0===w?{}:w,s=n.legendName,u=void 0===s?{}:s,h=n.label,p=n.itemStyle,g=n.showLine,v=n.barGap,x=void 0===v?"-100%":v,b=n.opacity;y&&(r=y.label,o=y.order,r&&o?a.sort(function(t,e){return"desc"===o?t[r]-e[r]:e[r]-t[r]}):console.warn("Need to provide name and order parameters"));A=i.tooltipVisible,w=i.legendVisible,s=t.slice();l.left&&l.right?s=l.left.concat(l.right):l.left&&!l.right?s=l.left:n.metrics?s=n.metrics:s.splice(t.indexOf(c[0]),1);v=n.yAxisType||["normal","normal"],y=n.xAxisType||"category",i=n.yAxisName||[],t=n.xAxisName||"",n=N(a,c),u=w&&k({metrics:s,labelMap:e,legendName:u}),t=T({innerRows:a,dimAxisName:t,dimension:c,axisVisible:f,dimAxisType:y,dims:n});return{legend:u,yAxis:I({meaAxisName:i,meaAxisType:v,axisVisible:f,digit:m,scale:_,min:S,max:M}),series:L({innerRows:a,metrics:s,stack:d,axisSite:l,isHistogram:!0,labelMap:e,itemStyle:p,label:h,showLine:g,dimAxisType:y,dimension:c,barGap:x,opacity:b,dims:n}),xAxis:t,tooltip:A&&D({axisSite:l,isHistogram:!0,meaAxisType:v,digit:m,labelMap:e})}}},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var I=n(31),D=n(12),L=n(15),k=[80,100],N=[20,100];var r=function(t,e,n,i,r){var o,a,s,l,u,c,h,d=Object(L.b)(e),p=n.dataType,f=void 0===p?"normal":p,g=n.percentShow,m=n.dimension,v=void 0===m?t[0]:m,y=n.metrics,x=void 0===y?t[1]:y,_=n.roseType,b=void 0!==_&&_,S=n.radius,A=void 0===S?r?b?N:k:100:S,M=n.offsetY,w=void 0===M?200:M,C=n.legendLimit,T=void 0===C?30:C,e=n.selectedMode,p=void 0!==e&&e,m=n.hoverAnimation,t=void 0===m||m,y=n.digit,_=void 0===y?2:y,S=n.legendName,M=void 0===S?{}:S,C=n.label,e=void 0!==C&&C,m=n.level,y=void 0!==m&&m,S=n.limitShowNum,C=void 0===S?0:S,m=n.labelLine,S=n.itemStyle,n=i.tooltipVisible,i=i.legendVisible;return C&&d.sort(function(t,e){return e[x]-t[x]}),{series:function(t){var e=t.innerRows,o=t.dataType,a=t.percentShow,s=t.dimension,l=t.metrics,u=t.radius,n=t.offsetY,i=t.selectedMode,r=t.hoverAnimation,c=t.digit,h=t.roseType,d=t.label,p=t.level,f=t.limitShowNum,g=t.isRing,m=t.labelLine,v=t.itemStyle,y=[],x={},_=[];p?(p.forEach(function(t,e){t.forEach(function(t){Object(D.f)(x,t,e)})}),e.forEach(function(e){var t=x[e[s]];t&&t.length&&t.forEach(function(t){Object(D.f)(_,t,e)})})):_.push(e);var b,S={type:"pie",selectedMode:i,hoverAnimation:r,roseType:h,center:["50%",n]},A=_.length;return _.forEach(function(t,e){var n,i=Object.assign({data:[]},S),r=u/A;i.radius=e?[n=r+u/(2*A)*(2*e-1),n+u/(2*A)]:g?u:r,1<A&&0===e&&(i.label={normal:{position:"inner"}}),d&&(i.label=d),m&&(i.labelLine=m),v&&(i.itemStyle=v),a&&(i.label={normal:{show:!0,position:1<A&&0===e?"inner":"outside",formatter:function(t){var e=[];return e.push(t.name+":"),e.push(Object(D.c)(t.value,o,c)),e.push("("+t.percent+"%)"),e.join(" ")}}}),i.data=t.map(function(t){return{name:t[s],value:t[l]}}),y.push(i)}),f&&f<y[0].data.length&&(n=(h=y[0].data).slice(f,h.length),b=0,n.forEach(function(t){b+=t.value}),y[0].data=h.slice(0,f),y[0].data.push({name:"其他",value:b})),y}({innerRows:d,dataType:f,percentShow:g,dimension:v,metrics:x,radius:A,offsetY:w,selectedMode:p,hoverAnimation:t,digit:_,roseType:b,label:e,level:y,legendName:M,limitShowNum:C,isRing:r,labelLine:m,itemStyle:S}),legend:i&&function(t){var e=t.innerRows,n=t.dimension,i=t.legendLimit,r=t.legendName,o=t.level,a=t.limitShowNum,s=[],l=[];if(o)o.forEach(function(t){t.forEach(function(t){l.push(t)})}),s=l;else if(a&&a<e.length){for(var u=0;u<a;u++)s.push(e[u][n]);s.push("其他")}else s=e.map(function(t){return t[n]});return!!s.length&&{data:s,show:s.length<i,formatter:function(t){return null!=r[t]?r[t]:t}}}({innerRows:d,dimension:v,legendLimit:T,legendName:M,level:y,limitShowNum:C}),tooltip:n&&(o=(_={dataType:f,innerRows:d,limitShowNum:C,digit:_,metrics:x,dimension:v}).dataType,v=_.innerRows,a=_.limitShowNum,s=_.digit,l=_.metrics,u=_.dimension,c=0,h=v.map(function(t){return c+=t[l],{name:t[u],value:t[l]}}).slice(a,v.length),{formatter:function(t){var i=[];return i.push(Object(I.g)(t.color)),a&&"其他"===t.name?(i.push("其他:"),h.forEach(function(t){var e=t.name,n=t.value,t=Object(D.c)(n/c,"percent");i.push("<br>"+e+":"),i.push(Object(D.c)(n,o,s)),i.push("("+t+")")})):(i.push(t.name+":"),i.push(Object(D.c)(t.value,o,s)),i.push("("+t.percent+"%)")),i.join(" ")}})}},i=function(t,e,n,i){return r(t,e,n,i,!0)}},function(t,e,n){"use strict";e.__esModule=!0;var i,r=n(802),n=(i=r)&&i.__esModule?i:{default:i};e.default=n.default||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}},,function(t,e){var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var i=n(124),r=n(266);t.exports=n(99)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(265),r=n(617),o=n(318),a=Object.defineProperty;e.f=n(99)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(620),r=n(319);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(322)("wks"),r=n(269),o=n(85).Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},function(t,e,n){var i=n(156),r=n(30),o=n(1),c=n(332);function a(t){i.call(this,t)}a.prototype={constructor:a,type:"image",brush:function(t,e){var n=this.style,i=n.image;n.bind(t,this,e);var r,o,a,s,l,u=this._image=c.createOrUpdateImage(i,this._image,this,this.onload);u&&c.isImageReady(u)&&(r=n.x||0,o=n.y||0,a=n.width,e=n.height,i=u.width/u.height,null==a&&null!=e?a=e*i:null==e&&null!=a?e=a/i:null==a&&null==e&&(a=u.width,e=u.height),this.setTransform(t),n.sWidth&&n.sHeight?(s=n.sx||0,l=n.sy||0,t.drawImage(u,s,l,n.sWidth,n.sHeight,r,o,a,e)):n.sx&&n.sy?(s=n.sx,l=n.sy,t.drawImage(u,s,l,a-s,e-l,r,o,a,e)):t.drawImage(u,r,o,a,e),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(a,i),t.exports=a},function(t,e,n){var s=n(1);t.exports=function(a){for(var t=0;t<a.length;t++)a[t][1]||(a[t][1]=a[t][0]);return function(t,e,n){for(var i={},r=0;r<a.length;r++){var o=a[r][1];e&&0<=s.indexOf(e,o)||n&&s.indexOf(n,o)<0||null!=(o=t.getShallow(o))&&(i[a[r][0]]=o)}return i}}},function(t,e,n){var S=n(86),f=n(29),g=n(157),m=n(30),i=n(273).devicePixelRatio,A={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},v=[],y=[],x=[],_=[],b=Math.min,M=Math.max,w=Math.cos,C=Math.sin,T=Math.sqrt,I=Math.abs,s="undefined"!=typeof Float32Array,n=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};n.prototype={constructor:n,_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){this._ux=I((n=n||0)/i/t)||0,this._uy=I(n/i/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return(this._ctx=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(A.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=I(t-this._xi)>this._ux||I(e-this._yi)>this._uy||this._len<5;return this.addData(A.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(A.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(A.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(A.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=w(r)*n+t,this._yi=C(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(A.R,t,e,n,i),this},closePath:function(){this.addData(A.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;for(var e=this._dashIdx=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!s||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},appendPath:function(t){for(var e=(t=!(t instanceof Array)?[t]:t).length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();s&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var n=0;n<arguments.length;n++)e[this._len++]=arguments[n];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var n,i,r=this._dashSum,o=this._dashOffset,a=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,c=t-l,h=e-u,d=T(c*c+h*h),p=l,f=u,g=a.length;for(o<0&&(o=r+o),p-=(o%=r)*(c/=d),f-=o*(h/=d);0<c&&p<=t||c<0&&t<=p||0===c&&(0<h&&f<=e||h<0&&e<=f);)p+=c*(n=a[i=this._dashIdx]),f+=h*n,this._dashIdx=(i+1)%g,0<c&&p<l||c<0&&l<p||0<h&&f<u||h<0&&u<f||s[i%2?"moveTo":"lineTo"]((0<=c?b:M)(p,t),(0<=h?b:M)(f,e));this._dashOffset=-T((c=p-t)*c+(h=f-e)*h)},_dashedBezierTo:function(t,e,n,i,r,o){var a,s,l,u,c,h=this._dashSum,d=this._dashOffset,p=this._lineDash,f=this._ctx,g=this._xi,m=this._yi,v=S.cubicAt,y=0,x=this._dashIdx,_=p.length,b=0;for(d<0&&(d=h+d),d%=h,a=0;a<1;a+=.1)s=v(g,t,n,r,a+.1)-v(g,t,n,r,a),l=v(m,e,i,o,a+.1)-v(m,e,i,o,a),y+=T(s*s+l*l);for(;x<_&&!(d<(b+=p[x]));x++);for(a=(b-d)/y;a<=1;)u=v(g,t,n,r,a),c=v(m,e,i,o,a),x%2?f.moveTo(u,c):f.lineTo(u,c),a+=p[x]/y,x=(x+1)%_;x%2!=0&&f.lineTo(r,o),this._dashOffset=-T((s=r-u)*s+(l=o-c)*l)},_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,s&&(this.data=new Float32Array(t)))},getBoundingRect:function(){v[0]=v[1]=x[0]=x[1]=Number.MAX_VALUE,y[0]=y[1]=_[0]=_[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,r=0,o=0;o<t.length;){var a=t[o++];switch(1===o&&(i=e=t[o],r=n=t[o+1]),a){case A.M:i=t[o++],n=r=t[o++],x[0]=e=i,x[1]=r,_[0]=i,_[1]=r;break;case A.L:g.fromLine(e,n,t[o],t[o+1],x,_),e=t[o++],n=t[o++];break;case A.C:g.fromCubic(e,n,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],x,_),e=t[o++],n=t[o++];break;case A.Q:g.fromQuadratic(e,n,t[o++],t[o++],t[o],t[o+1],x,_),e=t[o++],n=t[o++];break;case A.A:var s=t[o++],l=t[o++],u=t[o++],c=t[o++],h=t[o++],d=t[o++]+h;o+=1;var p=1-t[o++];1===o&&(i=w(h)*u+s,r=C(h)*c+l),g.fromArc(s,l,u,c,h,d,p,x,_),e=w(d)*u+s,n=C(d)*c+l;break;case A.R:i=e=t[o++],r=n=t[o++],c=t[o++],l=t[o++];g.fromLine(i,r,i+c,r+l,x,_);break;case A.Z:e=i,n=r}f.min(v,v,x),f.max(y,y,_)}return 0===o&&(v[0]=v[1]=y[0]=y[1]=0),new m(v[0],v[1],y[0]-v[0],y[1]-v[1])},rebuildPath:function(t){for(var e,n,i,r,o=this.data,a=this._ux,s=this._uy,l=this._len,u=0;u<l;){var c=o[u++];switch(1===u&&(e=i=o[u],n=r=o[u+1]),c){case A.M:e=i=o[u++],n=r=o[u++],t.moveTo(i,r);break;case A.L:_=o[u++],b=o[u++],(I(_-i)>a||I(b-r)>s||u===l-1)&&(t.lineTo(_,b),i=_,r=b);break;case A.C:t.bezierCurveTo(o[u++],o[u++],o[u++],o[u++],o[u++],o[u++]),i=o[u-2],r=o[u-1];break;case A.Q:t.quadraticCurveTo(o[u++],o[u++],o[u++],o[u++]),i=o[u-2],r=o[u-1];break;case A.A:var h=o[u++],d=o[u++],p=o[u++],f=o[u++],g=o[u++],m=o[u++],v=o[u++],y=o[u++],x=f<p?p:f,_=f<p?1:p/f,b=f<p?f/p:1,m=g+m;.001<Math.abs(p-f)?(t.translate(h,d),t.rotate(v),t.scale(_,b),t.arc(0,0,x,g,m,1-y),t.scale(1/_,1/b),t.rotate(-v),t.translate(-h,-d)):t.arc(h,d,x,g,m,1-y),1===u&&(e=w(g)*p+h,n=C(g)*f+d),i=w(m)*p+h,r=C(m)*f+d;break;case A.R:e=i=o[u],n=r=o[u+1],t.rect(o[u++],o[u++],o[u++],o[u++]);break;case A.Z:t.closePath(),i=e,r=n}}}},n.CMD=A,t.exports=n},function(t,e,n){var i=n(17).makeInner;t.exports=function(){var o=i();return function(t){var e=o(t),n=t.pipelineContext,i=e.large,r=e.progressiveRender,t=e.large=n&&n.large,n=e.progressiveRender=n&&n.progressiveRender;return!!(i^t||r^n)&&"reset"}}},function(t,e,n){var i=n(278);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(1),n={getMin:function(t){var e=this.option,e=t||null==e.rangeStart?e.min:e.rangeStart;return e=this.axis&&null!=e&&"dataMin"!==e&&"function"!=typeof e&&!i.eqNaN(e)?this.axis.scale.parse(e):e},getMax:function(t){var e=this.option,e=t||null==e.rangeEnd?e.max:e.rangeEnd;return e=this.axis&&null!=e&&"dataMax"!==e&&"function"!=typeof e&&!i.eqNaN(e)?this.axis.scale.parse(e):e},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=n},function(t,e,n){var r=n(131),o=n(60),n=n(1),a=n.extend,s=n.isArray;t.exports=function(t,e,n){e=s(e)?{coordDimensions:e}:a({},e);var i=t.getSource(),e=r(i,e);return(t=new o(e,t)).initData(i,n),t}},function(t,e){function l(t,e){t=t[e]-t[1-e];return{span:Math.abs(t),sign:0<t||!(t<0)&&e?-1:1}}function u(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,n,i,r,o){t=t||0;var a=n[1]-n[0];null!=r&&(r=u(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i&&(s=u(s=Math.abs(e[1]-e[0]),[0,a]),r=o=u(s,[r,o]),i=0),e[0]=u(e[0],n),e[1]=u(e[1],n);var s=l(e,i);return e[i]+=t,t=r||0,n=n.slice(),s.sign<0?n[0]+=t:n[1]-=t,e[i]=u(e[i],n),n=l(e,i),null!=r&&(n.sign!==s.sign||n.span<r)&&(e[1-i]=e[i]+s.sign*r),n=l(e,i),null!=o&&n.span>o&&(e[1-i]=e[i]+n.sign*o),e}},function(t,e,n){n(20).__DEV__;var i=n(4),s=n(1),r=n(38),o=n(17),a=n(359),l=n(1063),u=s.each,c=a.eachAxisDim,i=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);s.merge(this.option,t,!0),s.merge(this.settledOption,e,!0),this.doInit(e)},doInit:function(t){var n=this.option;r.canvasSupported||(n.realtime=!1),this._setDefaultThrottle(t),d(this,t);var i=this.settledOption;u([["start","startValue"],["end","endValue"]],function(t,e){"value"===this._rangePropMode[e]&&(n[t[0]]=i[t[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var o=this._axisProxies;this.eachTargetAxis(function(t,e,n,i){var r=this.dependentModels[t.axis][e],i=r.__dzAxisProxy||(r.__dzAxisProxy=new l(t.name,e,this,i));o[t.name+"_"+e]=i},this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();c(function(t){t=t.axisIndex;e[t]=o.normalizeToArray(e[t])},this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,n=!1;c(function(t){null!=e[t.axisIndex]&&(n=!0)},this);var t=e.orient;return null==t&&n?"orient":n?void 0:(null==t&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t,o=!0,e=this.get("orient",!0),a=this.option,n=this.dependentModels;o&&(n[(t="vertical"===e?"y":"x")+"Axis"].length?(a[t+"AxisIndex"]=[0],o=!1):u(n.singleAxis,function(t){o&&t.get("orient",!0)===e&&(a.singleAxisIndex=[t.componentIndex],o=!1)})),o&&c(function(t){if(o){var e=[],n=this.dependentModels[t.axis];if(n.length&&!e.length)for(var i=0,r=n.length;i<r;i++)"category"===n[i].get("type")&&e.push(i);(a[t.axisIndex]=e).length&&(o=!1)}},this),o&&this.ecModel.eachSeries(function(r){this._isSeriesHasAllAxesTypeOf(r,"value")&&c(function(t){var e=a[t.axisIndex],n=r.get(t.axisIndex),i=r.get(t.axisId),n=r.ecModel.queryComponents({mainType:t.axis,index:n,id:i})[0].componentIndex;s.indexOf(e,n)<0&&e.push(n)})},this)},_autoSetOrient:function(){var e;this.eachTargetAxis(function(t){e=e||t.name},this),this.option.orient="y"===e?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(n,i){var r=!0;return c(function(t){var e=n.get(t.axisIndex),e=this.dependentModels[t.axis][e];e&&e.get("type")===i||(r=!1)},this),r},_setDefaultThrottle:function(t){t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle&&(t=this.ecModel.option,this.option.throttle=t.animation&&0<t.animationDurationUpdate?100:20)},getFirstTargetAxisModel:function(){var n;return c(function(t){var e;null!=n||(e=this.get(t.axisIndex)).length&&(n=this.dependentModels[t.axis][e[0]])},this),n},eachTargetAxis:function(n,i){var r=this.ecModel;c(function(e){u(this.get(e.axisIndex),function(t){n.call(i,e,t,this,r)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){e=this.getAxisProxy(t,e);return e&&e.getAxisModel()},setRawRange:function(e){var n=this.option,i=this.settledOption;u([["start","startValue"],["end","endValue"]],function(t){null==e[t[0]]&&null==e[t[1]]||(n[t[0]]=i[t[0]]=e[t[0]],n[t[1]]=i[t[1]]=e[t[1]])},this),d(this,e)},setCalculatedRange:function(e){var n=this.option;u(["start","startValue","end","endValue"],function(t){n[t]=e[t]})},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();e=this.findRepresentativeAxisProxy();return e?e.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e,n=this._axisProxies;for(e in n)if(n.hasOwnProperty(e)&&n[e].hostedBy(this))return n[e];for(e in n)if(n.hasOwnProperty(e)&&!n[e].hostedBy(this))return n[e]},getRangePropMode:function(){return this._rangePropMode.slice()}});function h(e){var n={};return u(["start","end","startValue","endValue","throttle"],function(t){e.hasOwnProperty(t)&&(n[t]=e[t])}),n}function d(t,i){var r=t._rangePropMode,o=t.get("rangeMode");u([["start","startValue"],["end","endValue"]],function(t,e){var n=null!=i[t[0]],t=null!=i[t[1]];n&&!t?r[e]="percent":!n&&t?r[e]="value":o?r[e]=o[e]:n&&(r[e]="percent")})}t.exports=i},function(t,e,n){n=n(277).extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.dataZoomModel,i=this.ecModel,r={};return t.eachTargetAxis(function(t,e){var n,e=i.getComponent(t.axis,e);e&&(n=e.getCoordSysModel())&&function(t,e,n,i){for(var r,o=0;o<n.length;o++)if(n[o].model===t){r=n[o];break}r||n.push(r={model:t,axisModels:[],coordIndex:i});r.axisModels.push(e)}(n,e,r[n.mainType]||(r[n.mainType]=[]),n.componentIndex)},this),r}});t.exports=n},function(t,e,n){"use strict";e.__esModule=!0,e.camelize=function(t){return t.replace(i,function(t,e){return e.toUpperCase()})},e.padZero=function(t,e){void 0===e&&(e=2);var n=t+"";for(;n.length<e;)n="0"+n;return n};var i=/-(\w)/g},function(t,e,n){"use strict";e.__esModule=!0,e.PopupMixin=function(e){void 0===e&&(e={});return{mixins:[l.TouchMixin,c.CloseOnPopstateMixin,(0,u.PortalMixin)({afterPortal:function(){this.overlay&&(0,r.updateOverlay)()}})],props:h,data:function(){return{inited:this.value}},computed:{shouldRender:function(){return this.inited||!this.lazyRender}},watch:{value:function(t){t=t?"open":"close";this.inited=this.inited||this.value,this[t](),e.skipToggleEvent||this.$emit(t)},overlay:"renderOverlay"},mounted:function(){this.value&&this.open()},activated:function(){this.shouldReopen&&(this.$emit("input",!0),this.shouldReopen=!1)},beforeDestroy:function(){(0,r.removeOverlay)(this),this.opened&&this.removeLock(),this.getContainer&&(0,o.removeNode)(this.$el)},deactivated:function(){this.value&&(this.close(),this.shouldReopen=!0)},methods:{open:function(){this.$isServer||this.opened||(void 0!==this.zIndex&&(i.context.zIndex=this.zIndex),this.opened=!0,this.renderOverlay(),this.addLock())},addLock:function(){this.lockScroll&&((0,a.on)(document,"touchstart",this.touchStart),(0,a.on)(document,"touchmove",this.onTouchMove),i.context.lockCount||document.body.classList.add("van-overflow-hidden"),i.context.lockCount++)},removeLock:function(){this.lockScroll&&i.context.lockCount&&(i.context.lockCount--,(0,a.off)(document,"touchstart",this.touchStart),(0,a.off)(document,"touchmove",this.onTouchMove),i.context.lockCount||document.body.classList.remove("van-overflow-hidden"))},close:function(){this.opened&&((0,r.closeOverlay)(this),this.opened=!1,this.removeLock(),this.$emit("input",!1))},onTouchMove:function(t){this.touchMove(t);var e=0<this.deltaY?"10":"01",n=(0,s.getScroller)(t.target,this.$el),i=n.scrollHeight,r=n.offsetHeight,o=n.scrollTop,n="11";0===o?n=i<=r?"00":"01":i<=o+r&&(n="10"),"11"===n||"vertical"!==this.direction||parseInt(n,2)&parseInt(e,2)||(0,a.preventDefault)(t,!0)},renderOverlay:function(){var t=this;!this.$isServer&&this.value&&this.$nextTick(function(){t.updateZIndex(t.overlay?1:0),t.overlay?(0,r.openOverlay)(t,{zIndex:i.context.zIndex++,duration:t.duration,className:t.overlayClass,customStyle:t.overlayStyle}):(0,r.closeOverlay)(t)})},updateZIndex:function(t){void 0===t&&(t=0),this.$el.style.zIndex=++i.context.zIndex+t}}}},e.popupMixinProps=void 0;var i=n(727),r=n(1142),a=n(40),o=n(371),s=n(62),l=n(63),u=n(372),c=n(1143),h={transitionAppear:Boolean,value:Boolean,overlay:Boolean,overlayStyle:Object,overlayClass:String,closeOnClickOverlay:Boolean,zIndex:[Number,String],lockScroll:{type:Boolean,default:!0},lazyRender:{type:Boolean,default:!0}};e.popupMixinProps=h},,function(t,e){var a=Object.prototype.hasOwnProperty,s=Object.prototype.toString;t.exports=function(t,e,n){if("[object Function]"!==s.call(e))throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var r=0;r<i;r++)e.call(n,t[r],r,t);else for(var o in t)a.call(t,o)&&e.call(n,t[o],o,t)}},,function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),p=i(n(41)),f=n(7),g=n(47),m=n(110),o=n(369),v=i(n(32)),i=(0,f.createNamespace)("cell"),n=i[0],y=i[1];function a(e,n,i,r){var t=n.icon,o=n.size,a=n.title,s=n.label,l=n.value,u=n.isLink,c=i.title||(0,f.isDef)(a);var h=u||n.clickable,d={clickable:h,center:n.center,required:n.required,borderless:!n.border};return o&&(d[o]=o),e("div",(0,p.default)([{class:y(d),attrs:{role:h?"button":null,tabindex:h?0:null},on:{click:function(t){(0,g.emit)(r,"click",t),(0,m.functionalRoute)(r)}}},(0,g.inherit)(r)]),[i.icon?i.icon():t?e(v.default,{class:y("left-icon"),attrs:{name:t,classPrefix:n.iconPrefix}}):void 0,function(){if(c)return e("div",{class:[y("title"),n.titleClass],style:n.titleStyle},[i.title?i.title():e("span",[a]),function(){if(i.label||(0,f.isDef)(s))return e("div",{class:[y("label"),n.labelClass]},[i.label?i.label():s])}()])}(),function(){if(i.default||(0,f.isDef)(l))return e("div",{class:[y("value",{alone:!c}),n.valueClass]},[i.default?i.default():e("span",[l])])}(),function(){var t=i["right-icon"];if(t)return t();if(u){t=n.arrowDirection;return e(v.default,{class:y("right-icon"),attrs:{name:t?"arrow-"+t:"arrow"}})}}(),null==i.extra?void 0:i.extra()])}a.props=(0,r.default)({},o.cellProps,m.routeProps);n=n(a);e.default=n},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(41)),o=n(7),a=i(n(32)),i=(0,o.createNamespace)("image"),n=i[0],s=i[1],n=n({props:{src:String,fit:String,alt:String,round:Boolean,width:[Number,String],height:[Number,String],radius:[Number,String],lazyLoad:Boolean,iconPrefix:String,showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},errorIcon:{type:String,default:"photo-fail"},loadingIcon:{type:String,default:"photo"}},data:function(){return{loading:!0,error:!1}},watch:{src:function(){this.loading=!0,this.error=!1}},computed:{style:function(){var t={};return(0,o.isDef)(this.width)&&(t.width=(0,o.addUnit)(this.width)),(0,o.isDef)(this.height)&&(t.height=(0,o.addUnit)(this.height)),(0,o.isDef)(this.radius)&&(t.overflow="hidden",t.borderRadius=(0,o.addUnit)(this.radius)),t}},created:function(){var t=this.$Lazyload;t&&o.inBrowser&&(t.$on("loaded",this.onLazyLoaded),t.$on("error",this.onLazyLoadError))},beforeDestroy:function(){var t=this.$Lazyload;t&&(t.$off("loaded",this.onLazyLoaded),t.$off("error",this.onLazyLoadError))},methods:{onLoad:function(t){this.loading=!1,this.$emit("load",t)},onLazyLoaded:function(t){t.el===this.$refs.image&&this.loading&&this.onLoad()},onLazyLoadError:function(t){t.el!==this.$refs.image||this.error||this.onError()},onError:function(t){this.error=!0,this.loading=!1,this.$emit("error",t)},onClick:function(t){this.$emit("click",t)},genPlaceholder:function(){var t=this.$createElement;return this.loading&&this.showLoading?t("div",{class:s("loading")},[this.slots("loading")||t(a.default,{attrs:{name:this.loadingIcon,classPrefix:this.iconPrefix},class:s("loading-icon")})]):this.error&&this.showError?t("div",{class:s("error")},[this.slots("error")||t(a.default,{attrs:{name:this.errorIcon,classPrefix:this.iconPrefix},class:s("error-icon")})]):void 0},genImage:function(){var t=this.$createElement,e={class:s("img"),attrs:{alt:this.alt},style:{objectFit:this.fit}};if(!this.error)return this.lazyLoad?t("img",(0,r.default)([{ref:"image",directives:[{name:"lazy",value:this.src}]},e])):t("img",(0,r.default)([{attrs:{src:this.src},on:{load:this.onLoad,error:this.onError}},e]))}},render:function(){return(0,arguments[0])("div",{class:s({round:this.round}),style:this.style,on:{click:this.onClick}},[this.genImage(),this.genPlaceholder(),this.slots()])}});e.default=n},,,function(t,e,n){"use strict";n.d(e,"a",function(){return i});var et=n(12),nt=n(15);function it(t){for(var n=t.yAxisName,i=t.yAxisType,e=t.axisVisible,r=t.scale,o=t.min,a=t.max,s=t.digit,l={type:"value",axisTick:{show:!1},show:e,axisLine:{lineStyle:{color:"#FFF"}}},u=[],c=0;c<2;c++)!function(e){i[e]?u[e]=Object.assign({},l,{axisLabel:{formatter:function(t){return Object(et.c)(t,i[e],s)}}}):u[e]=Object.assign({},l),u[e].name=n[e]||"",u[e].scale=r[e]||!1,u[e].min=o[e]||null,u[e].max=a[e]||null}(c);return u}var i=function(t,e,n,i){e=Object(nt.f)(e)?e:[],t=Object(nt.f)(t)?t:[];var r=n.axisSite,o=void 0===r?{}:r,a=n.yAxisType,s=void 0===a?["normal","normal"]:a,l=n.xAxisType,u=void 0===l?"category":l,c=n.yAxisName,h=void 0===c?[]:c,d=n.dimension,p=void 0===d?[t[0]]:d,f=n.xAxisName,g=void 0===f?[]:f,m=n.axisVisible,v=void 0===m||m,y=n.area,x=n.stack,_=n.scale,b=void 0===_?[!1,!1]:_,S=n.min,A=void 0===S?[null,null]:S,M=n.max,w=void 0===M?[null,null]:M,C=n.nullAddZero,r=void 0!==C&&C,a=n.digit,l=void 0===a?2:a,c=n.legendName,d=void 0===c?{}:c,f=n.labelMap,m=void 0===f?{}:f,_=n.label,S=n.itemStyle,M=n.lineStyle,C=n.areaStyle,a=i.tooltipVisible,c=i.legendVisible,f=i.tooltipFormatter,i=t.slice();o.left&&o.right?i=o.left.concat(o.right):o.left&&!o.right?i=o.left:n.metrics?i=n.metrics:i.splice(t.indexOf(p[0]),1);var T,I,D,L,k,N,O,P,E,H,z,R,j,B,V,F,Y,X,W,G,U,Z,$,q,Q,K,J,tt,T=c&&(T=(d={metrics:i,legendName:d,labelMap:m}).metrics,I=d.legendName,D=d.labelMap,I||D?{data:D?T.map(function(t){return null==D[t]?t:D[t]}):T,formatter:function(t){return null!=I[t]?I[t]:t}}:{data:T}),L=a&&(H=(L={axisSite:o,yAxisType:s,digit:l,labelMap:m,xAxisType:u,tooltipFormatter:f}).axisSite,k=L.yAxisType,N=L.digit,O=L.labelMap,P=L.tooltipFormatter,H=H.right||[],E=O?H.map(function(t){return void 0===O[t]?t:O[t]}):H,{trigger:"axis",formatter:function(t){if(P)return P.apply(null,arguments);var o=[],e=t[0],n=e.name,e=e.axisValueLabel;return o.push((n||e)+"<br>"),t.forEach(function(t){var e=t.seriesName,n=t.data,i=t.marker,t=~E.indexOf(e)?k[1]:k[0],n=Object(nt.f)(n)?n[1]:n,r=Object(et.c)(n,t,N);o.push(i),o.push(e+": "+r),o.push("<br>")}),o.join("")}}),g=(g=(H={dimension:p,rows:e,xAxisName:g,axisVisible:v,xAxisType:u}).dimension,z=H.rows,R=H.xAxisName,j=H.axisVisible,B=H.xAxisType,g.map(function(e,t){return{type:B,nameLocation:"middle",nameGap:22,name:R[t]||"",axisTick:{show:!0,lineStyle:{color:"#eee"}},data:z.map(function(t){return t[e]}),show:j,axisLine:{lineStyle:{color:"#FFF"}}}})),l=it({yAxisName:h,yAxisType:s,axisVisible:v,scale:b,min:A,max:w,digit:l});return{legend:T,xAxis:g,series:(p=(u={rows:e,axisSite:o,metrics:i,area:y,stack:x,nullAddZero:r,labelMap:m,label:_,itemStyle:S,lineStyle:M,areaStyle:C,xAxisType:u,dimension:p}).rows,V=u.axisSite,F=u.metrics,Y=u.area,X=u.stack,W=u.nullAddZero,G=u.labelMap,U=u.label,Z=u.itemStyle,$=u.lineStyle,q=u.areaStyle,Q=u.dimension,K=[],J={},tt=X&&Object(et.e)(X),F.forEach(function(t){J[t]=[]}),p.forEach(function(n){F.forEach(function(t){var e=null;null!=n[t]?e=n[t]:W&&(e=0),J[t].push([n[Q[0]],e])})}),F.forEach(function(t){var e={name:null!=G[t]?G[t]:t,type:"line",data:J[t]};Y&&(e.areaStyle={normal:{}}),V.right&&(e.yAxisIndex=~V.right.indexOf(t)?1:0),X&&tt[t]&&(e.stack=tt[t]),U&&(e.label=U),Z&&(e.itemStyle=Z),$&&(e.lineStyle=$),q&&(e.areaStyle=q),K.push(e)}),K),yAxis:l,tooltip:L}}},,function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o});function i(t,n){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=arguments[3];return new window.Promise(function(o,e){function a(t){e(t.response||t.statusText||"Server Error 500")}var s=new XMLHttpRequest;s.open(t,n),s.setRequestHeader("Content-Type","application/json"),s.timeout=1e4,r&&r(s),s.onload=function(){if(4===s.readyState)if(200<=s.status&&s.status<300||304===s.status){var t=s.response,e=s.getResponseHeader("Content-Type");if(-1<e.indexOf("zip")){var n="style.zip",i=s.getResponseHeader("content-disposition");i&&-1!==i.indexOf("attachment")&&(null!=(r=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i))&&r[1]&&(n=r[1].replace(/['"]/g,"")));var r=new Blob([t],{type:e}),e=URL.createObjectURL(r),r=document.createElement("a");return r.href=e,r.download=n,r.click(),void o(t)}try{t=JSON.parse(s.response)}catch(t){}o(t)}else a(s);else a(s)},s.onerror=function(){a(s)},s.ontimeout=function(){s.abort(),e("Request Timeout")},s.send(JSON.stringify(i))})}var r=function(t,e,n){return i("POST",t,e,n)},o=function(t){return i("GET",t)}},function(t,e,n){"use strict";n=n(787);e.a=n.a},,function(t,e){t=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(4),r=n(1),o=n(281),a=o.layout,o=o.largeLayout;n(340),n(884),n(885),n(163),i.registerLayout(i.PRIORITY.VISUAL.LAYOUT,r.curry(a,"bar")),i.registerLayout(i.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,o),i.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},function(t,e,n){var i=function(){};1===n(273).debugMode&&(i=console.error),t.exports=i},function(t,e,n){var i=n(1),r=n(331),o=n(628),n=n(634);function a(t){for(var e in o.call(this,t=t||{}),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new r(t.style,this),this._rect=null,this.__clipPaths=null}a.prototype={constructor:a,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){e=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(e[0],e[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(a,o),i.mixin(a,n),t.exports=a},function(t,e,n){var p=n(29),m=n(86),v=Math.min,y=Math.max,f=Math.sin,g=Math.cos,x=2*Math.PI,_=p.create(),b=p.create(),S=p.create();var A=[],M=[];e.fromPoints=function(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],s=i[1],l=1;l<t.length;l++)i=t[l],r=v(r,i[0]),o=y(o,i[0]),a=v(a,i[1]),s=y(s,i[1]);e[0]=r,e[1]=a,n[0]=o,n[1]=s}},e.fromLine=function(t,e,n,i,r,o){r[0]=v(t,n),r[1]=v(e,i),o[0]=y(t,n),o[1]=y(e,i)},e.fromCubic=function(t,e,n,i,r,o,a,s,l,u){var c,h=m.cubicExtrema,d=m.cubicAt,p=h(t,n,r,a,A);for(l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0,c=0;c<p;c++){var f=d(t,n,r,a,A[c]);l[0]=v(f,l[0]),u[0]=y(f,u[0])}for(p=h(e,i,o,s,M),c=0;c<p;c++){var g=d(e,i,o,s,M[c]);l[1]=v(g,l[1]),u[1]=y(g,u[1])}l[0]=v(t,l[0]),u[0]=y(t,u[0]),l[0]=v(a,l[0]),u[0]=y(a,u[0]),l[1]=v(e,l[1]),u[1]=y(e,u[1]),l[1]=v(s,l[1]),u[1]=y(s,u[1])},e.fromQuadratic=function(t,e,n,i,r,o,a,s){var l=m.quadraticExtremum,u=m.quadraticAt,c=y(v(l(t,n,r),1),0),l=y(v(l(e,i,o),1),0),c=u(t,n,r,c),l=u(e,i,o,l);a[0]=v(t,r,c),a[1]=v(e,o,l),s[0]=y(t,r,c),s[1]=y(e,o,l)},e.fromArc=function(t,e,n,i,r,o,a,s,l){var u=p.min,c=p.max,h=Math.abs(r-o);if(h%x<1e-4&&1e-4<h)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);_[0]=g(r)*n+t,_[1]=f(r)*i+e,b[0]=g(o)*n+t,b[1]=f(o)*i+e,u(s,_,b),c(l,_,b),(r%=x)<0&&(r+=x),(o%=x)<0&&(o+=x),o<r&&!a?o+=x:r<o&&a&&(r+=x),a&&(a=o,o=r,r=a);for(var d=0;d<o;d+=Math.PI/2)r<d&&(S[0]=g(d)*n+t,S[1]=f(d)*i+e,u(s,S,s),c(l,S,l))}},function(t,e,n){var v=n(1),a=n(78).parseClassType,i=0;e.getUID=function(t){return[t||"",i++,Math.random().toFixed(5)].join("_")},e.enableSubTypeDefaulter=function(r){var o={};return r.registerSubTypeDefaulter=function(t,e){t=a(t),o[t.main]=e},r.determineSubType=function(t,e){var n,i=e.type;return i||(n=a(t).main,r.hasSubTypes(t)&&o[n]&&(i=o[n](e))),i},r},e.enableTopologicalTravel=function(t,g){function m(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,e,n,i){if(t.length){var o,a,s,e=(o=e,a={},s=[],v.each(o,function(n){var e,i,r=m(a,n),t=r.originalDeps=g(n),t=(t=t,e=o,i=[],v.each(t,function(t){0<=v.indexOf(e,t)&&i.push(t)}),i);r.entryCount=t.length,0===r.entryCount&&s.push(n),v.each(t,function(t){v.indexOf(r.predecessor,t)<0&&r.predecessor.push(t);var e=m(a,t);v.indexOf(e.successor,t)<0&&e.successor.push(n)})}),{graph:a,noEntryList:s}),r=e.graph,l=e.noEntryList,u={};for(v.each(t,function(t){u[t]=!0});l.length;){var c=l.pop(),h=r[c],d=!!u[c];d&&(n.call(i,c,h.originalDeps.slice()),delete u[c]),v.each(h.successor,d?f:p)}v.each(u,function(){throw new Error("Circle dependency may exists")})}function p(t){r[t].entryCount--,0===r[t].entryCount&&l.push(t)}function f(t){u[t]=!0,p(t)}}}},function(t,e,n){var i=n(1),r=i.createHashMap,o=i.isTypedArray,i=n(78).enableClassCheck,n=n(160),a=n.SOURCE_FORMAT_ORIGINAL,s=n.SERIES_LAYOUT_BY_COLUMN,l=n.SOURCE_FORMAT_UNKNOWN,u=n.SOURCE_FORMAT_TYPED_ARRAY,c=n.SOURCE_FORMAT_KEYED_COLUMNS;function h(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===c?{}:[]),this.sourceFormat=t.sourceFormat||l,this.seriesLayoutBy=t.seriesLayoutBy||s,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&r(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}h.seriesDataToSource=function(t){return new h({data:t,sourceFormat:o(t)?u:a,fromDataset:!1})},i(h),t.exports=h},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(1),h=i.each,d=i.createHashMap,p=(i.assert,n(20).__DEV__,d(["tooltip","label","itemName","itemId","seriesName"]));function f(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}e.OTHER_DIMENSIONS=p,e.summarizeDimensions=function(o){var t={},a=t.encode={},s=d(),l=[],u=[],c=t.userOutput={dimensionNames:o.dimensions.slice(),encode:{}};h(o.dimensions,function(t){var e,n,i=o.getDimensionInfo(t),r=i.coordDim;r&&(e=i.coordDimIndex,f(a,r)[e]=t,i.isExtraCoord||(s.set(r,1),"ordinal"===(n=i.type)||"time"===n||(l[0]=t),f(c.encode,r)[e]=i.index),i.defaultTooltip&&u.push(t)),p.each(function(t,e){var n=f(a,e),e=i.otherDims[e];null!=e&&!1!==e&&(n[e]=i.name)})});var i=[],r={};s.each(function(t,e){var n=a[e];r[e]=n[0],i=i.concat(n)}),t.dataDimsOnCoord=i,t.encodeFirstDimNotExtra=r;var e=a.label;return e&&e.length&&(l=e.slice()),(e=a.tooltip)&&e.length?u=e.slice():u.length||(u=l.slice()),a.defaultedLabel=l,a.defaultedTooltip=u,t},e.getDimensionTypeByAxis=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},function(t,e,n){var l=n(8),r=n(13).round;function i(t,e,n){var i=t.getArea(),r=t.getBaseAxis().isHorizontal(),o=i.x,a=i.y,s=i.width,t=i.height,i=n.get("lineStyle.width")||2;o-=i/2,a-=i/2,s+=i,t+=i;o=Math.floor(o),s=Math.round(s),a=new l.Rect({shape:{x:o,y:a,width:s,height:t}});return e&&(a.shape[r?"width":"height"]=0,l.initProps(a,{shape:{width:s,height:t}},n)),a}function o(t,e,n){var i=t.getArea(),t=new l.Sector({shape:{cx:r(t.cx,1),cy:r(t.cy,1),r0:r(i.r0,1),r:r(i.r,1),startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return e&&(t.shape.endAngle=i.startAngle,l.initProps(t,{shape:{endAngle:i.endAngle}},n)),t}e.createGridClipPath=i,e.createPolarClipPath=o,e.createClipPath=function(t,e,n){return t?"polar"===t.type?o(t,e,n):"cartesian2d"===t.type?i(t,e,n):null:null}},function(t,e,n){var i=n(4),r=n(1),o=n(8);n(340),n(888),i.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new o.Rect({shape:t.coordinateSystem.getRect(),style:r.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},function(t,e,n){var i=n(4),r=n(1),o=n(283),a=n(890);n(891),n(892),n(669),i.registerPreprocessor(function(t){var e;t&&(t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={}),(e=t.axisPointer.link)&&!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){var c=n(8),i=n(285),r=n(1).isObject;function o(t){this.group=new c.Group,this._symbolCtor=t||i}n=o.prototype;function h(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 d(t){return(t=null!=t&&!r(t)?{isIgnore:t}:t)||{}}function p(t){t=t.hostModel;return{itemStyle:t.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:t.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label"),cursorStyle:t.get("cursor")}}n.updateData=function(i,r){r=d(r);var o=this.group,a=i.hostModel,s=this._data,l=this._symbolCtor,u=p(i);s||o.removeAll(),i.diff(s).add(function(t){var e,n=i.getItemLayout(t);h(i,n,t,r)&&((e=new l(i,t,u)).attr("position",n),i.setItemGraphicEl(t,e),o.add(e))}).update(function(t,e){var n=s.getItemGraphicEl(e),e=i.getItemLayout(t);h(i,e,t,r)?(n?(n.updateData(i,t,u),c.updateProps(n,{position:e},a)):(n=new l(i,t)).attr("position",e),o.add(n),i.setItemGraphicEl(t,n)):o.remove(n)}).remove(function(t){var e=s.getItemGraphicEl(t);e&&e.fadeOut(function(){o.remove(e)})}).execute(),this._data=i},n.isPersistent=function(){return!0},n.updateLayout=function(){var n=this._data;n&&n.eachItemGraphicEl(function(t,e){e=n.getItemLayout(e);t.attr("position",e)})},n.incrementalPrepareUpdate=function(t){this._seriesScope=p(t),this._data=null,this.group.removeAll()},n.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}n=d(n);for(var r=t.start;r<t.end;r++){var o,a=e.getItemLayout(r);h(e,a,r,n)&&((o=new this._symbolCtor(e,r,this._seriesScope)).traverse(i),o.attr("position",a),this.group.add(o),e.setItemGraphicEl(r,o))}},n.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)})}):e.removeAll()},t.exports=o},function(t,e,n){var i=n(1).map,r=n(130),o=n(73).isDimensionStacked;t.exports=function(t){return{seriesType:t,plan:r(),reset:function(t){var e=t.getData(),c=t.coordinateSystem,h=t.pipelineContext.large;if(c){var d=i(c.dimensions,function(t){return e.mapDimension(t)}).slice(0,2),p=d.length,t=e.getCalculationInfo("stackResultDimension");return o(e,d[0])&&(d[0]=t),o(e,d[1])&&(d[1]=t),p&&{progress:function(t,e){for(var n,i,r=t.end-t.start,o=h&&new Float32Array(r*p),a=t.start,s=0,l=[],u=[];a<t.end;a++)i=1===p?(n=e.get(d[0],a),!isNaN(n)&&c.dataToPoint(n,null,u)):(n=l[0]=e.get(d[0],a),i=l[1]=e.get(d[1],a),!isNaN(n)&&!isNaN(i)&&c.dataToPoint(l,null,u)),h?(o[s++]=i?i[0]:NaN,o[s++]=i?i[1]:NaN):e.setItemLayout(a,i&&i.slice()||[NaN,NaN]);h&&e.setLayout("symbolPoints",o)}}}}}}},function(t,e){t.exports=function(n,e){this.getAllNames=function(){var t=e();return t.mapArray(t.getName)},this.containName=function(t){return 0<=e().indexOfName(t)},this.indexOfName=function(t){return n().indexOfName(t)},this.getItemVisual=function(t,e){return n().getItemVisual(t,e)}}},function(t,e,n){var r=n(1).createHashMap;t.exports=function(i){return{getTargetSeries:function(t){var e={},n=r();return t.eachSeriesByType(i,function(t){t.__paletteScope=e,n.set(t.uid,t)}),n},reset:function(o,t){var a=o.getRawData(),s={},l=o.getData();l.each(function(t){var e=l.getRawIndex(t);s[e]=t}),a.each(function(t){var e,n=s[t],i=null!=n&&l.getItemVisual(n,"color",!0),r=null!=n&&l.getItemVisual(n,"borderColor",!0);i&&r||(e=a.getItemModel(t)),i||(t=e.get("itemStyle.color")||o.getColorFromPalette(a.getName(t)||t+"",o.__paletteScope,a.count()),null!=n&&l.setItemVisual(n,"color",t)),r||(e=e.get("itemStyle.borderColor"),null!=n&&l.setItemVisual(n,"borderColor",e))})}}}},function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var i,r=e.findComponents({mainType:"legend"});r&&r.length&&(i=t.getData()).filterSelf(function(t){for(var e=i.getName(t),n=0;n<r.length;n++)if(!r[n].isSelected(e))return!1;return!0})}}}},function(t,e,n){var l=n(1),u=n(101),s=n(70),c=n(681);function i(n){this.pointerChecker,this._zr=n,this._opt={};var t=l.bind,i=t(h,this),r=t(d,this),o=t(p,this),a=t(f,this),s=t(g,this);u.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(t,e){this.disable(),this._opt=l.defaults(l.clone(e)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),!0!==(t=null==t?!0:t)&&"move"!==t&&"pan"!==t||(n.on("mousedown",i),n.on("mousemove",r),n.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(n.on("mousewheel",a),n.on("pinch",s))},this.disable=function(){n.off("mousedown",i),n.off("mousemove",r),n.off("mouseup",o),n.off("mousewheel",a),n.off("pinch",s)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function h(t){var e,n;s.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable||(e=t.offsetX,n=t.offsetY,this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0))}function d(t){var e,n,i,r,o,a;this._dragging&&y("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!c.isTaken(this._zr,"globalPan")&&(e=t.offsetX,n=t.offsetY,o=e-(i=this._x),a=n-(r=this._y),this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&s.stop(t.event),v(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:i,oldY:r,newX:e,newY:n}))}function p(t){s.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function f(t){var e=y("zoomOnMouseWheel",t,this._opt),n=y("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;0!==i&&(e||n)&&(e&&(r=3<r?1.4:1<r?1.2:1.1,m(this,"zoom","zoomOnMouseWheel",t,{scale:0<i?r:1/r,originX:o,originY:a})),n&&m(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(0<i?1:-1)*(3<(i=Math.abs(i))?.4:1<i?.15:.05),originX:o,originY:a}))}function g(t){c.isTaken(this._zr,"globalPan")||m(this,"zoom",null,t,{scale:1<t.pinchScale?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function m(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(s.stop(i.event),v(t,e,n,i,r))}function v(t,e,n,i,r){r.isAvailableBehavior=l.bind(y,null,n,i),t.trigger(e,r)}function y(t,e,n){n=n[t];return!t||n&&(!l.isString(n)||e.event[n+"Key"])}l.mixin(i,u),t.exports=i},function(t,e,n){"use strict";e.__esModule=!0,e.isNumeric=function(t){return/^\d+(\.\d+)?$/.test(t)},e.isNaN=function(t){if(Number.isNaN)return Number.isNaN(t);return t!=t}},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var a=i(n(41)),s=n(7),l=n(47),i=(0,s.createNamespace)("info"),n=i[0],u=i[1];function r(t,e,n,i){var r=e.dot,o=e.info,o=(0,s.isDef)(o)&&""!==o;if(r||o)return t("div",(0,a.default)([{class:u({dot:r})},(0,l.inherit)(i,!0)]),[r?"":e.info])}r.props={dot:Boolean,info:[Number,String]};n=n(r);e.default=n},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0,e.isHidden=function(t){var e=window.getComputedStyle(t),n="none"===e.display,e=null===t.offsetParent&&"fixed"!==e.position;return n||e}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){var n;e&&(t.super_=e,(n=function(){}).prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t)}},function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return l}),n.d(e,"c",function(){return u});var e=n(64),i=n(148),r=e.a.version,o={local:"http://localhost:3008/",alpha:"https://element-api.ar.elenet.me/element/theme/",production:"https://element-api.ele.me/element/theme/"},a=o[void 0]||o.production,s=function(){return Object(i.a)(a+"getVariable?version="+r)},l=function(){return Object(i.a)(o.alpha+"getVariable")},u=function(t,e){return Object(i.b)(a+"updateVariable?version="+r,t,e)}},function(t,e,n){"use strict";var i=n(197);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(121);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(248);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(247);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(150),r=n(314),o=n(6);n.n(o).a.directive("popover",r.a),i.a.install=function(t){t.directive("popover",r.a),t.component(i.a.name,i.a)},i.a.directive=r.a,e.a=i.a},function(t,e,n){"use strict";var i=n(239);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(238);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(196);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(195);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var g={th:3,mi:6,bi:9,tr:12},i={zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0,abbrLabel:{th:"k",mi:"m",bi:"b",tr:"t"}},m=1e12,v=1e9,y=1e6,x=1e3;function _(t,e,n,i){var r=t.toString().split("."),o=e-(i||0),r=2===r.length?Math.min(Math.max(r[1].length,o),e):o,o=Math.pow(10,r),o=(n(t+"e+"+r)/o).toFixed(r);return e-r<i&&(r=new RegExp("\\.?0{1,"+(i-(e-r))+"}$"),o=o.replace(r,"")),o}function a(t,e,n,i){var r=Math.abs(e),o=!1,a=!1,s="",l="",u=!1,c=void 0,h=void 0;e=e||0,~(n=n||"").indexOf("(")?(o=!0,n=n.replace(/[(|)]/g,"")):(~n.indexOf("+")||~n.indexOf("-"))&&(h=~n.indexOf("+")?n.indexOf("+"):e<0?n.indexOf("-"):-1,n=n.replace(/[+|-]/g,"")),~n.indexOf("a")&&(c=!!(c=n.match(/a(k|m|b|t)?/))&&c[1],~n.indexOf(" a")&&(s=" "),n=n.replace(new RegExp(s+"a[kmbt]?"),""),m<=r&&!c||"t"===c?(s+=t.abbrLabel.tr,e/=m):r<m&&v<=r&&!c||"b"===c?(s+=t.abbrLabel.bi,e/=v):r<v&&y<=r&&!c||"m"===c?(s+=t.abbrLabel.mi,e/=y):(r<y&&x<=r&&!c||"k"===c)&&(s+=t.abbrLabel.th,e/=x)),~n.indexOf("[.]")&&(a=!0,n=n.replace("[.]","."));var d=e.toString().split(".")[0],p=n.split(".")[1],r=n.indexOf(","),t=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length;if(p?(d=(l=~p.indexOf("[")?_(e,(p=(p=p.replace("]","")).split("["))[0].length+p[1].length,i,p[1].length):_(e,p.length,i)).split(".")[0],l=~l.indexOf(".")?"."+l.split(".")[1]:"",a&&0==+l.slice(1)&&(l="")):d=_(e,0,i),s&&!c&&1e3<=+d&&s!==g.trillion&&(d=""+ +d/1e3,s=g.million),~d.indexOf("-")&&(d=d.slice(1),u=!0),d.length<t)for(var f=t-d.length;0<f;f--)d="0"+d;-1<r&&(d=d.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"));s=(d=!n.indexOf(".")?"":d)+l+(s||"");return o?s=(o&&u?"(":"")+s+(o&&u?")":""):0<=h?s=0===h?(u?"-":"+")+s:s+(u?"-":"+"):u&&(s="-"+s),s}function r(e,n){Object.keys(n).forEach(function(t){e[t]=n[t]})}var s={},l={};function u(t,e,n){var i;return function(t,e,n){e=e||s.defaultFormat,n=n||Math.round;var i=void 0,r=void 0;if(0===t&&null!==s.zeroFormat)i=s.zeroFormat;else if(null===t&&null!==s.nullFormat)i=s.nullFormat;else{for(var o in l)if(l[o]&&e.match(l[o].regexp)){r=l[o].format;break}i=(r=r||a.bind(null,s))(t,e,n,u)}return i}(0===t||void 0===t?0:null===t||"number"==typeof(i=t)&&isNaN(i)?null:"string"==typeof t?s.zeroFormat&&t===s.zeroFormat?0:s.nullFormat&&t===s.nullFormat||!t.replace(/[^0-9]+/g,"").length?null:+t:+t||null,e,n)}r(s,i),u.options=s,u._numberToFormat=a.bind(null,s),u.register=function(t,e){l[t]=e},u.unregister=function(t){l[t]=null},u.setOptions=function(t){r(s,t)},u.reset=function(){r(s,i)},u.register("percentage",{regexp:/%/,format:function(t,e,n,i){var r=~e.indexOf(" %")?" ":"",o=void 0;return i.options.scalePercentBy100&&(t*=100),e=e.replace(/\s?%/,""),o=~(o=i._numberToFormat(t,e,n)).indexOf(")")?((o=o.split("")).splice(-1,0,r+"%"),o.join("")):o+r+"%"}}),e.a=u},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t){t.exports=JSON.parse('{"zh-CN":[{"name":"指南","children":[{"path":"/installation","name":"安装"},{"path":"/quickstart","name":"使用说明"},{"path":"/dev","name":"开发说明"},{"path":"/theme","name":"主题定制"}]},{"name":"组件","groups":[{"groupName":"Basic","list":[{"path":"/layout","title":"Layout 布局"},{"path":"/container","title":"Container 布局容器"},{"path":"/border","title":"Border 边框"},{"path":"/icon","title":"Icon 图标"},{"path":"/button","title":"Button 按钮"},{"path":"/link","title":"Link 文字链接"}]},{"groupName":"Form","list":[{"path":"/radio","title":"Radio 单选框"},{"path":"/checkbox","title":"Checkbox 多选框"},{"path":"/input","title":"Input 输入框"},{"path":"/input-number","title":"InputNumber 计数器"},{"path":"/select","title":"Select 选择器"},{"path":"/cascader","title":"Cascader 级联选择器"},{"path":"/switch","title":"Switch 开关"},{"path":"/time-picker","title":"TimePicker 时间选择器"},{"path":"/date-picker","title":"DatePicker 日期选择器"},{"path":"/datetime-picker","title":"DateTimePicker 日期时间选择器"},{"path":"/color-picker","title":"ColorPicker 颜色选择器"},{"path":"/transfer","title":"Transfer 穿梭框"},{"path":"/form","title":"Form 表单"}]},{"groupName":"Data","list":[{"path":"/table","title":"Table 表格"},{"path":"/tag","title":"Tag 标签"},{"path":"/progress","title":"Progress 进度条"},{"path":"/tree","title":"Tree 树形控件"},{"path":"/pagination","title":"Pagination 分页"},{"path":"/badge","title":"Badge 标记"},{"path":"/avatar","title":"Avatar 头像"}]},{"groupName":"Notice","list":[{"path":"/alert","title":"Alert 警告"},{"path":"/loading","title":"Loading 加载"},{"path":"/message","title":"Message 消息提示"},{"path":"/message-box","title":"MessageBox 弹框"},{"path":"/notification","title":"Notification 通知"}]},{"groupName":"Navigation","list":[{"path":"/menu","title":"NavMenu 导航菜单"},{"path":"/tabs","title":"Tabs 标签页"},{"path":"/breadcrumb","title":"Breadcrumb 面包屑"},{"path":"/dropdown","title":"Dropdown 下拉菜单"},{"path":"/steps","title":"Steps 步骤条"}]},{"groupName":"Charts","list":[{"path":"/c-line","title":"Line 线图"},{"path":"/c-bar","title":"Bar 柱状图"},{"path":"/c-pie","title":"Pie 饼图"},{"path":"/c-ring","title":"Ring 环形图"},{"path":"/c-funnel","title":"Funnel 漏斗图"},{"path":"/c-radar","title":"Radar 雷达图"},{"path":"/c-graph","title":"Graph 拓扑图"},{"path":"/c-gantt","title":"Gantt 甘特图"}]},{"groupName":"Others","list":[{"path":"/dialog","title":"Dialog 对话框"},{"path":"/popover","title":"Popover 弹出框"},{"path":"/popconfirm","title":"Popconfirm 气泡确认框"},{"path":"/card","title":"Card 卡片"},{"path":"/carousel","title":"Carousel 走马灯"},{"path":"/collapse","title":"Collapse 折叠面板"},{"path":"/drawer","title":"Drawer 抽屉"}]}]}],"en-US":[{"name":"Changelog","path":"/changelog"},{"name":"Element React","href":"https://elemefe.github.io/element-react/"},{"name":"Element Angular","href":"https://element-angular.faas.ele.me/"},{"name":"Development","children":[{"path":"/installation","name":"Installation"},{"path":"/quickstart","name":"Quick Start"},{"path":"/i18n","name":"Internationalization"},{"path":"/custom-theme","name":"Custom Theme"},{"path":"/transition","name":"Built-in transition"}]},{"name":"Components","groups":[{"groupName":"Basic","list":[{"path":"/layout","title":"Layout"},{"path":"/container","title":"Layout Container"},{"path":"/color","title":"Color"},{"path":"/typography","title":"Typography"},{"path":"/border","title":"Border"},{"path":"/icon","title":"Icon"},{"path":"/button","title":"Button"},{"path":"/link","title":"Link"}]},{"groupName":"Form","list":[{"path":"/radio","title":"Radio"},{"path":"/checkbox","title":"Checkbox"},{"path":"/input","title":"Input"},{"path":"/input-number","title":"InputNumber"},{"path":"/select","title":"Select"},{"path":"/cascader","title":"Cascader"},{"path":"/switch","title":"Switch"},{"path":"/slider","title":"Slider"},{"path":"/time-picker","title":"TimePicker"},{"path":"/date-picker","title":"DatePicker"},{"path":"/datetime-picker","title":"DateTimePicker"},{"path":"/upload","title":"Upload"},{"path":"/rate","title":"Rate"},{"path":"/color-picker","title":"ColorPicker"},{"path":"/transfer","title":"Transfer"},{"path":"/form","title":"Form"}]},{"groupName":"Data","list":[{"path":"/table","title":"Table"},{"path":"/tag","title":"Tag"},{"path":"/progress","title":"Progress"},{"path":"/tree","title":"Tree"},{"path":"/pagination","title":"Pagination"},{"path":"/badge","title":"Badge"}]},{"groupName":"Notice","list":[{"path":"/alert","title":"Alert"},{"path":"/loading","title":"Loading"},{"path":"/message","title":"Message"},{"path":"/message-box","title":"MessageBox"},{"path":"/notification","title":"Notification"}]},{"groupName":"Navigation","list":[{"path":"/menu","title":"NavMenu"},{"path":"/tabs","title":"Tabs"},{"path":"/breadcrumb","title":"Breadcrumb"},{"path":"/page-header","title":"PageHeader"},{"path":"/dropdown","title":"Dropdown"},{"path":"/steps","title":"Steps"}]},{"groupName":"Others","list":[{"path":"/dialog","title":"Dialog"},{"path":"/tooltip","title":"Tooltip"},{"path":"/popover","title":"Popover"},{"path":"/popconfirm","title":"Popconfirm"},{"path":"/card","title":"Card"},{"path":"/carousel","title":"Carousel"},{"path":"/collapse","title":"Collapse"},{"path":"/timeline","title":"Timeline"},{"path":"/divider","title":"Divider"},{"path":"/calendar","title":"Calendar"},{"path":"/image","title":"Image"},{"path":"/backtop","title":"Backtop"},{"path":"/infiniteScroll","title":"InfiniteScroll"},{"path":"/avatar","title":"Avatar"},{"path":"/drawer","title":"Drawer"}]}]}],"es":[{"name":"Changelog","path":"/changelog"},{"name":"Element React","href":"https://elemefe.github.io/element-react/"},{"name":"Element Angular","href":"https://element-angular.faas.ele.me/"},{"name":"Development","children":[{"path":"/installation","name":"Installation"},{"path":"/quickstart","name":"Quick Start"},{"path":"/i18n","name":"Internationalization"},{"path":"/custom-theme","name":"Custom Theme"},{"path":"/transition","name":"Built-in transition"}]},{"name":"Components","groups":[{"groupName":"Basic","list":[{"path":"/layout","title":"Layout"},{"path":"/container","title":"Layout Container"},{"path":"/color","title":"Color"},{"path":"/typography","title":"Typography"},{"path":"/border","title":"Border"},{"path":"/icon","title":"Icon"},{"path":"/button","title":"Button"},{"path":"/link","title":"Link"}]},{"groupName":"Form","list":[{"path":"/radio","title":"Radio"},{"path":"/checkbox","title":"Checkbox"},{"path":"/input","title":"Input"},{"path":"/input-number","title":"InputNumber"},{"path":"/select","title":"Select"},{"path":"/cascader","title":"Cascader"},{"path":"/switch","title":"Switch"},{"path":"/slider","title":"Slider"},{"path":"/time-picker","title":"TimePicker"},{"path":"/date-picker","title":"DatePicker"},{"path":"/datetime-picker","title":"DateTimePicker"},{"path":"/upload","title":"Upload"},{"path":"/rate","title":"Rate"},{"path":"/color-picker","title":"ColorPicker"},{"path":"/transfer","title":"Transfer"},{"path":"/form","title":"Form"}]},{"groupName":"Data","list":[{"path":"/table","title":"Table"},{"path":"/tag","title":"Tag"},{"path":"/progress","title":"Progress"},{"path":"/tree","title":"Tree"},{"path":"/pagination","title":"Pagination"},{"path":"/badge","title":"Badge"}]},{"groupName":"Notice","list":[{"path":"/alert","title":"Alert"},{"path":"/loading","title":"Loading"},{"path":"/message","title":"Message"},{"path":"/message-box","title":"MessageBox"},{"path":"/notification","title":"Notification"}]},{"groupName":"Navigation","list":[{"path":"/menu","title":"NavMenu"},{"path":"/tabs","title":"Tabs"},{"path":"/breadcrumb","title":"Breadcrumb"},{"path":"/page-header","title":"PageHeader"},{"path":"/dropdown","title":"Dropdown"},{"path":"/steps","title":"Steps"}]},{"groupName":"Others","list":[{"path":"/dialog","title":"Dialog"},{"path":"/tooltip","title":"Tooltip"},{"path":"/popover","title":"Popover"},{"path":"/popconfirm","title":"Popconfirm"},{"path":"/card","title":"Card"},{"path":"/carousel","title":"Carousel"},{"path":"/collapse","title":"Collapse"},{"path":"/timeline","title":"Timeline"},{"path":"/divider","title":"Divider"},{"path":"/calendar","title":"Calendar"},{"path":"/image","title":"Image"},{"path":"/backtop","title":"Backtop"},{"path":"/infiniteScroll","title":"InfiniteScroll"},{"path":"/avatar","title":"Avatar"},{"path":"/drawer","title":"Drawer"}]}]}],"fr-FR":[{"name":"Changelog","path":"/changelog"},{"name":"Element pour React","href":"https://elemefe.github.io/element-react/"},{"name":"Element pour Angular","href":"https://element-angular.faas.ele.me/"},{"name":"Développement","children":[{"path":"/installation","name":"Installation"},{"path":"/quickstart","name":"Démarrer"},{"path":"/i18n","name":"Internationalisation"},{"path":"/custom-theme","name":"Thème"},{"path":"/transition","name":"Transitions"}]},{"name":"Composants","groups":[{"groupName":"Basiques","list":[{"path":"/layout","title":"Layout"},{"path":"/container","title":"Layout Container"},{"path":"/color","title":"Color"},{"path":"/typography","title":"Typography"},{"path":"/border","title":"Border"},{"path":"/icon","title":"Icon"},{"path":"/button","title":"Button"},{"path":"/link","title":"Link"}]},{"groupName":"Formulaire","list":[{"path":"/radio","title":"Radio"},{"path":"/checkbox","title":"Checkbox"},{"path":"/input","title":"Input"},{"path":"/input-number","title":"InputNumber"},{"path":"/select","title":"Select"},{"path":"/cascader","title":"Cascader"},{"path":"/switch","title":"Switch"},{"path":"/slider","title":"Slider"},{"path":"/time-picker","title":"TimePicker"},{"path":"/date-picker","title":"DatePicker"},{"path":"/datetime-picker","title":"DateTimePicker"},{"path":"/upload","title":"Upload"},{"path":"/rate","title":"Rate"},{"path":"/color-picker","title":"ColorPicker"},{"path":"/transfer","title":"Transfer"},{"path":"/form","title":"Form"}]},{"groupName":"Données","list":[{"path":"/table","title":"Table"},{"path":"/tag","title":"Tag"},{"path":"/progress","title":"Progress"},{"path":"/tree","title":"Tree"},{"path":"/pagination","title":"Pagination"},{"path":"/badge","title":"Badge"}]},{"groupName":"Notifier","list":[{"path":"/alert","title":"Alert"},{"path":"/loading","title":"Loading"},{"path":"/message","title":"Message"},{"path":"/message-box","title":"MessageBox"},{"path":"/notification","title":"Notification"}]},{"groupName":"Navigation","list":[{"path":"/menu","title":"NavMenu"},{"path":"/tabs","title":"Tabs"},{"path":"/breadcrumb","title":"Breadcrumb"},{"path":"/page-header","title":"PageHeader"},{"path":"/dropdown","title":"Dropdown"},{"path":"/steps","title":"Steps"}]},{"groupName":"Autres","list":[{"path":"/dialog","title":"Dialog"},{"path":"/tooltip","title":"Tooltip"},{"path":"/popover","title":"Popover"},{"path":"/popconfirm","title":"Popconfirm"},{"path":"/card","title":"Card"},{"path":"/carousel","title":"Carousel"},{"path":"/collapse","title":"Collapse"},{"path":"/timeline","title":"Timeline"},{"path":"/divider","title":"Divider"},{"path":"/calendar","title":"Calendar"},{"path":"/image","title":"Image"},{"path":"/backtop","title":"Backtop"},{"path":"/infiniteScroll","title":"InfiniteScroll"},{"path":"/avatar","title":"Avatar"},{"path":"/drawer","title":"Drawer"}]}]}]}')},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o});function r(t){return"{}"===JSON.stringify(t)}var i=function(t){try{var e=JSON.parse(t),n=e.global,i=e.local;return r(n)&&r(i)?!1:e}catch(t){return!1}},o=function(t,e){var n=document.getElementById(t);n||((n=document.createElement("style")).setAttribute("id",t),document.head.appendChild(n)),n.innerText=e.replace(/@font-face{[^}]+}/,"")}},function(t,e,n){var i=n(152);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return 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(619),r=n(323);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e){t.exports=!0},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(626),l=n(38),u=n(1),c=n(834),h=n(838),r=n(842),d=n(844),p=n(845),f=!l.canvasSupported,g={canvas:r},o={};function a(t,e,n){n=n||{},this.dom=e,this.id=t;var i=this,r=new h,o=n.renderer;if(f){if(!g.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");o="vml"}else o&&g[o]||(o="canvas");n=new g[o](e,r,n,t),this.storage=r,this.painter=n,t=l.node||l.worker?null:new p(n.getViewportRoot(),n.root),this.handler=new c(r,n,t,n.root),this.animation=new d({stage:{update:u.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var a=r.delFromStorage,s=r.addToStorage;r.delFromStorage=function(t){a.call(r,t),t&&t.removeSelfFromZr(i)},r.addToStorage=function(t){s.call(r,t),t.addSelfToZr(i)}}a.prototype={constructor:a,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){e=this.painter.addHover(t,e);return this.refreshHover(),e}},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){this.painter.resize((t=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 o[t]}},e.version="4.3.2",e.init=function(t,e){return e=new a(i(),t,e),o[e.id]=e},e.dispose=function(t){if(t)t.dispose();else{for(var e in o)o.hasOwnProperty(e)&&o[e].dispose();o={}}return this},e.getInstance=function(t){return o[t]},e.registerPainter=function(t,e){g[t]=e}},function(t,e,n){var o=n(52),i=n(29),a=o.identity;function s(t){return 5e-5<t||t<-5e-5}function r(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}n=r.prototype;n.transform=null,n.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var l=[];n.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),i=this.transform;n||e?(i=i||o.create(),n?this.getLocalTransform(i):a(i),e&&(n?o.mul(i,t.transform,i):o.copy(i,t.transform)),this.transform=i,null!=(e=this.globalScaleRatio)&&1!==e&&(this.getGlobalScale(l),t=((l[1]-(n=l[1]<0?-1:1))*e+n)/l[1]||0,i[0]*=n=((l[0]-(n=l[0]<0?-1:1))*e+n)/l[0]||0,i[1]*=n,i[2]*=t,i[3]*=t),this.invTransform=this.invTransform||o.create(),o.invert(this.invTransform,i)):i&&a(i)},n.getLocalTransform=function(t){return r.getLocalTransform(this,t)},n.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)},n.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var u=[],c=o.create();n.setLocalTransform=function(t){var e,n,i,r;t&&(e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=this.position,r=this.scale,s(e-1)&&(e=Math.sqrt(e)),s(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))},n.decomposeTransform=function(){var t,e;this.transform&&(e=this.parent,t=this.transform,e&&e.transform&&(o.mul(u,e.invTransform,t),t=u),(e=this.origin)&&(e[0]||e[1])&&(c[4]=e[0],c[5]=e[1],o.mul(u,t,c),u[4]-=e[0],u[5]-=e[1],t=u),this.setLocalTransform(t))},n.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[0]=1,t[1]=1),t},n.transformCoordToLocal=function(t,e){t=[t,e],e=this.invTransform;return e&&i.applyTransform(t,t,e),t},n.transformCoordToGlobal=function(t,e){t=[t,e],e=this.transform;return e&&i.applyTransform(t,t,e),t},r.getLocalTransform=function(t,e){a(e=e||[]);var n=t.origin,i=t.scale||[1,1],r=t.rotation||0,t=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),o.scale(e,e,i),r&&o.rotate(e,e,r),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=t[0],e[5]+=t[1],e},t.exports=r},function(t,e){var n=1,n=n="undefined"!=typeof window?Math.max(window.devicePixelRatio||1,1):n;e.debugMode=0,e.devicePixelRatio=n},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(1),h=i.retrieve2,d=i.retrieve3,r=i.each,o=i.normalizeCssArray,p=i.isString,f=i.isObject,T=n(55),g=n(635),m=n(332),C=n(631),n=n(274),I=n.ContextCachedBy,D=n.WILL_BE_RESTORED,L=T.DEFAULT_FONT,a={left:1,right:1,center:1},s={top:1,bottom:1,middle:1},k=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],u={},N={};function l(t){var e;t&&(t.font=T.makeFont(t),e=t.textAlign,t.textAlign=null==(e="middle"===e?"center":e)||a[e]?e:"left",e=t.textVerticalAlign||t.textBaseline,t.textVerticalAlign=null==(e="center"===e?"middle":e)||s[e]?e:"top",t.textPadding&&(t.textPadding=o(t.textPadding)))}function O(t,e,n,i,r){var o;n&&e.textRotation&&("center"===(o=e.textOrigin)?(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 P(t,e,n,i,r,o,a,s){var l=i.rich[n.styleName]||{};l.text=n.text;var u=n.textVerticalAlign,c=o+r/2;"top"===u?c=o+n.height/2:"bottom"===u&&(c=o+r-n.height/2),!n.isLineHolder&&E(l)&&H(t,e,l,"right"===s?a-n.width:"center"===s?a-n.width/2:a,c-n.height/2,n.width,n.height);t=n.textPadding;t&&(a=B(a,s,t),c-=n.height/2-t[2]-n.textHeight/2),y(e,"shadowBlur",d(l.textShadowBlur,i.textShadowBlur,0)),y(e,"shadowColor",l.textShadowColor||i.textShadowColor||"transparent"),y(e,"shadowOffsetX",d(l.textShadowOffsetX,i.textShadowOffsetX,0)),y(e,"shadowOffsetY",d(l.textShadowOffsetY,i.textShadowOffsetY,0)),y(e,"textAlign",s),y(e,"textBaseline","middle"),y(e,"font",n.font||L);t=R(l.textStroke||i.textStroke,void 0),s=j(l.textFill||i.textFill),i=h(l.textStrokeWidth,i.textStrokeWidth);t&&(y(e,"lineWidth",i),y(e,"strokeStyle",t),e.strokeText(n.text,a,c)),s&&(y(e,"fillStyle",s),e.fillText(n.text,a,c))}function E(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function H(t,e,n,i,r,o,a){var s,l,u=n.textBackgroundColor,c=n.textBorderWidth,h=n.textBorderColor,d=p(u);y(e,"shadowBlur",n.textBoxShadowBlur||0),y(e,"shadowColor",n.textBoxShadowColor||"transparent"),y(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),y(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),(d||c&&h)&&(e.beginPath(),(s=n.textBorderRadius)?g.buildPath(e,{x:i,y:r,width:o,height:a,r:s}):e.rect(i,r,o,a),e.closePath()),d?(y(e,"fillStyle",u),null!=n.fillOpacity?(l=e.globalAlpha,e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=l):e.fill()):f(u)&&(d=u.image,(d=m.createOrUpdateImage(d,null,t,v,u))&&m.isImageReady(d)&&e.drawImage(d,i,r,o,a)),c&&h&&(y(e,"lineWidth",c),y(e,"strokeStyle",h),null!=n.strokeOpacity?(l=e.globalAlpha,e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=l):e.stroke())}function v(t,e){e.image=t}function z(t,e,n,i){var r,o=n.x||0,a=n.y||0,s=n.textAlign,l=n.textVerticalAlign;return i&&((r=n.textPosition)instanceof Array?(o=i.x+c(r[0],i.width),a=i.y+c(r[1],i.height)):(o=(i=(e&&e.calculateTextPosition?e:T).calculateTextPosition(u,n,i)).x,a=i.y,s=s||i.textAlign,l=l||i.textVerticalAlign),(n=n.textOffset)&&(o+=n[0],a+=n[1])),(t=t||{}).baseX=o,t.baseY=a,t.textAlign=s,t.textVerticalAlign=l,t}function y(t,e,n){return t[e]=C(t,e,n),t[e]}function R(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function j(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function c(t,e){return"string"==typeof t?0<=t.lastIndexOf("%")?parseFloat(t)/100*e:parseFloat(t):t}function B(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 l(t),r(t.rich,l),t},e.renderText=function(t,e,n,i,r,o){(i.rich?function(t,e,n,i,r,o){o!==D&&(e.__attrCachedBy=I.NONE);o=t.__textCotentBlock;o&&!t.__dirtyText||(o=t.__textCotentBlock=T.parseRichText(n,i));!function(t,e,n,i,r){var o=n.width,a=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=z(N,t,i,r),c=u.baseX,h=u.baseY,d=u.textAlign,u=u.textVerticalAlign;O(e,i,r,c,h);var d=T.adjustTextX(c,a,d),u=T.adjustTextY(h,s,u),p=d,f=u;l&&(p+=l[3],f+=l[0]);var g=p+o;E(i)&&H(t,e,i,d,u,a,s);for(var m,v=0;v<n.lines.length;v++){for(var y=n.lines[v],x=y.tokens,_=x.length,b=y.lineHeight,S=y.width,A=0,M=p,w=g,C=_-1;A<_&&(!(m=x[A]).textAlign||"left"===m.textAlign);)P(t,e,m,i,b,f,M,"left"),S-=m.width,M+=m.width,A++;for(;0<=C&&"right"===(m=x[C]).textAlign;)P(t,e,m,i,b,f,w,"right"),S-=m.width,w-=m.width,C--;for(M+=(o-(M-p)-(g-w)-S)/2;A<=C;)m=x[A],P(t,e,m,i,b,f,M+m.width/2,"center"),M+=m.width,A++;f+=b}}(t,e,o,i,r)}:function(t,e,n,i,r,o){"use strict";var a,s=E(i),l=!1,u=e.__attrCachedBy===I.PLAIN_TEXT;o!==D?(o&&(a=o.style,l=!s&&u&&a),e.__attrCachedBy=s?I.NONE:I.PLAIN_TEXT):u&&(e.__attrCachedBy=I.NONE);var c=i.font||L;l&&c===(a.font||L)||(e.font=c);var h=t.__computedFont;t.__styleFont!==c&&(t.__styleFont=c,h=t.__computedFont=e.font);var d=i.textPadding,p=i.textLineHeight,f=t.__textCotentBlock;f&&!t.__dirtyText||(f=t.__textCotentBlock=T.parsePlainText(n,h,d,p,i.truncate));var o=f.outerHeight,g=f.lines,m=f.lineHeight,u=z(N,t,i,r),c=u.baseX,p=u.baseY,f=u.textAlign||"left",u=u.textVerticalAlign;O(e,i,r,c,p);var u=T.adjustTextY(p,o,u),v=c,y=u;(s||d)&&(n=T.getWidth(n,h),d&&(n+=d[1]+d[3]),h=T.adjustTextX(c,n,f),s&&H(t,e,i,h,u,n,o),d&&(v=B(c,f,d),y+=d[0]));e.textAlign=f,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var x=0;x<k.length;x++){var _=k[x],b=_[0],S=_[1],A=i[b];l&&A===a[b]||(e[S]=C(e,S,A||_[2]))}y+=m/2;var c=i.textStrokeWidth,d=l?a.textStrokeWidth:null,f=!l||c!==d,d=!l||f||i.textStroke!==a.textStroke,M=R(i.textStroke,c),w=j(i.textFill);M&&(f&&(e.lineWidth=c),d&&(e.strokeStyle=M));w&&(l&&i.textFill===a.textFill||(e.fillStyle=w));if(1===g.length)M&&e.strokeText(g[0],v,y),w&&e.fillText(g[0],v,y);else for(x=0;x<g.length;x++)M&&e.strokeText(g[x],v,y),w&&e.fillText(g[x],v,y),y+=m})(t,e,n,i,r,o)},e.getBoxPosition=z,e.getStroke=R,e.getFill=j,e.parsePercent=c,e.needDrawText=function(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}},function(t,e){function n(t){this.colorStops=t||[]}n.prototype={constructor:n,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};t.exports=n},function(t,e,n){function i(){this.group=new r,this.uid=o.getUID("viewComponent")}var r=n(102),o=n(158),a=n(78),n=i.prototype={constructor:i,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){},filterForExposedEvent:null};n.updateView=n.updateLayout=n.updateVisual=function(t,e,n,i){},a.enableClassExtend(i),a.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},function(t,e,n){var i=n(1),w=i.createHashMap,C=i.each,T=i.isString,I=i.defaults,D=i.extend,L=i.isObject,k=i.clone,N=n(17).normalizeToArray,i=n(79),O=i.guessOrdinal,P=i.BE_ORDINAL,E=n(159),H=n(161).OTHER_DIMENSIONS,z=n(653);function R(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}t.exports=function(t,e,n){E.isInstance(e)||(e=E.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var i,r,o,a,s,l=(n.dimsDef||[]).slice(),u=w(),c=w(),h=[],d=(i=e,r=t,o=l,a=n.dimCount,s=Math.max(i.dimensionsDetectCount||1,r.length,o.length,a||0),C(r,function(t){t=t.dimsDef;t&&(s=Math.max(s,t.length))}),s),p=0;p<d;p++){var f=l[p]=D({},L(l[p])?l[p]:{name:l[p]}),g=f.name,m=h[p]=new z;null!=g&&null==u.get(g)&&(m.name=m.displayName=g,u.set(g,p)),null!=f.type&&(m.type=f.type),null!=f.displayName&&(m.displayName=f.displayName)}var v=n.encodeDef;!v&&n.encodeDefaulter&&(v=n.encodeDefaulter(e,d)),(v=w(v)).each(function(t,n){var i;1===(t=N(t).slice()).length&&!T(t[0])&&t[0]<0?v.set(n,!1):(i=v.set(n,[]),C(t,function(t,e){null!=(t=T(t)?u.get(t):t)&&t<d&&(i[e]=t,x(h[t],n,e))}))});var y=0;function x(t,e,n){null!=H.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,c.set(e,!0))}C(t,function(n,t){var i,r,o,e;T(n)?(o=n,n={}):(o=n.name,e=n.ordinalMeta,n.ordinalMeta=null,(n=k(n)).ordinalMeta=e,i=n.dimsDef,r=n.otherDims,n.name=n.coordDim=n.coordDimIndex=n.dimsDef=n.otherDims=null);var a=v.get(o);if(!1!==a){if(!(a=N(a)).length)for(var s=0;s<(i&&i.length||1);s++){for(;y<h.length&&null!=h[y].coordDim;)y++;y<h.length&&a.push(y++)}C(a,function(t,e){t=h[t];x(I(t,n),o,e),null==t.name&&i&&(e=i[e],L(e)||(e={name:e}),t.name=t.displayName=e.name,t.defaultTooltip=e.defaultTooltip),r&&I(t.otherDims,r)})}});for(var _=n.generateCoord,b=null!=(S=n.generateCoordCount),S=_?S||1:0,A=_||"value",M=0;M<d;M++)null==(m=h[M]=h[M]||new z).coordDim&&(m.coordDim=R(A,c,b),m.coordDimIndex=0,(!_||S<=0)&&(m.isExtraCoord=!0),S--),null==m.name&&(m.name=R(m.coordDim,u)),null!=m.type||O(e,M,m.name)!==P.Must&&(!m.isExtraCoord||null==m.otherDims.itemName&&null==m.otherDims.seriesName)||(m.type="ordinal");return h}},function(t,e,n){n=n(78);function i(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}i.prototype.parse=function(t){return t},i.prototype.getSetting=function(t){return this._setting[t]},i.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},i.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},i.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},i.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},i.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},i.prototype.getExtent=function(){return this._extent.slice()},i.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},i.prototype.isBlank=function(){return this._isBlank},i.prototype.setBlank=function(t){this._isBlank=t},i.prototype.getLabel=null,n.enableClassExtend(i),n.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},function(t,e,n){var h=n(13),i=n(26),r=n(279),o=n(655),l=h.round,a=r.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[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),a.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=o.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]<i[0]&&(t?o.push(l(i[0]-e,r)):o.push(n[0]));for(var a=i[0];a<=i[1]&&(o.push(a),(a=l(a+e,r))!==o[o.length-1]);)if(1e4<o.length)return[];var s=o.length?o[o.length-1]:i[1];return n[1]>s&&(t?o.push(l(s+e,r)):o.push(n[1])),o},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,l=[],u=(o-a)/t;s<t-1;){var c=h.round(a+(s+1)*u);c>i[0]&&c<i[1]&&l.push(c),s++}n.push(l)}return n},getLabel:function(t,e){if(null==t)return"";e=e&&e.precision;return null==e?e=h.getPrecisionSafe(t)||0:"auto"===e&&(e=this._intervalPrecision),t=l(t,e,!0),i.addCommas(t)},niceTicks:function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];isFinite(r)&&(r<0&&i.reverse(),n=o.intervalScaleNiceTicks(i,t,e,n),this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent)},niceExtent:function(t){var e=this._extent;e[0]===e[1]&&(0!==e[0]?(n=e[0],t.fixMax||(e[1]+=n/2),e[0]-=n/2):e[1]=1);var n=e[1]-e[0];isFinite(n)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);n=this._interval;t.fixMin||(e[0]=l(Math.floor(e[0]/n)*n)),t.fixMax||(e[1]=l(Math.ceil(e[1]/n)*n))}});a.create=function(){return new a},t.exports=a},function(t,e,n){var p=n(1),f=n(13).parsePercent,D=n(73).isDimensionStacked,n=n(130),l="__ec_stack_",x="undefined"!=typeof Float32Array?Float32Array:Array;function L(t){return t.get("stack")||l+t.seriesIndex}function k(t){return t.dim+t.index}function i(t,e){var n=[];return e.eachSeriesByType(t,function(t){a(t)&&!s(t)&&n.push(t)}),n}function r(t){var l=function(t){var l={};p.each(t,function(t){var e=t.coordinateSystem.getBaseAxis();if("time"===e.type||"value"===e.type)for(var n=t.getData(),i=e.dim+"_"+e.index,r=n.mapDimension(e.dim),o=0,a=n.count();o<a;++o){var s=n.get(r,o);l[i]?l[i].push(s):l[i]=[s]}});var e,n=[];for(e in l)if(l.hasOwnProperty(e)){var i=l[e];if(i){i.sort(function(t,e){return t-e});for(var r=null,o=1;o<i.length;++o){var a=i[o]-i[o-1];0<a&&(r=null===r?a:Math.min(r,a))}n[e]=r}}return n}(t),u=[];return p.each(t,function(t){var e,n=t.coordinateSystem.getBaseAxis(),i=n.getExtent();e="category"===n.type?n.getBandWidth():"value"===n.type||"time"===n.type?(r=n.dim+"_"+n.index,o=l[r],a=Math.abs(i[1]-i[0]),e=n.scale.getExtent(),r=Math.abs(e[1]-e[0]),o?a/r*o:a):(s=t.getData(),Math.abs(i[1]-i[0])/s.count());var r=f(t.get("barWidth"),e),o=f(t.get("barMaxWidth"),e),a=f(t.get("barMinWidth")||1,e),i=t.get("barGap"),s=t.get("barCategoryGap");u.push({bandWidth:e,barWidth:r,barMaxWidth:o,barMinWidth:a,barGap:i,barCategoryGap:s,axisKey:k(n),stackId:L(t)})}),c(u)}function c(t){var a={};p.each(t,function(t,e){var n=t.axisKey,i=t.bandWidth,r=a[n]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;a[n]=r;i=t.stackId;o[i]||r.autoWidthCount++,o[i]=o[i]||{width:0,maxWidth:0};n=t.barWidth;n&&!o[i].width&&(o[i].width=n,n=Math.min(r.remainedWidth,n),r.remainedWidth-=n);n=t.barMaxWidth;n&&(o[i].maxWidth=n);n=t.barMinWidth;n&&(o[i].minWidth=n);n=t.barGap;null!=n&&(r.gap=n);t=t.barCategoryGap;null!=t&&(r.categoryGap=t)});var d={};return p.each(a,function(t,n){d[n]={};var e=t.stacks,i=t.bandWidth,r=f(t.categoryGap,i),o=f(t.gap,1),a=t.remainedWidth,s=t.autoWidthCount,l=(a-r)/(s+(s-1)*o),l=Math.max(l,0);p.each(e,function(t){var e,n=t.maxWidth,i=t.minWidth;t.width?(e=t.width,n&&(e=Math.min(e,n)),i&&(e=Math.max(e,i)),t.width=e,a-=e+o*e,s--):(e=l,n&&n<e&&(e=Math.min(n,a)),(e=i&&e<i?i:e)!==l&&(t.width=e,a-=e+o*e,s--))}),l=(a-r)/(s+(s-1)*o),l=Math.max(l,0);var u,c=0;p.each(e,function(t,e){t.width||(t.width=l),c+=(u=t).width*(1+o)}),u&&(c-=u.width*o);var h=-c/2;p.each(e,function(t,e){d[n][e]=d[n][e]||{bandWidth:i,offset:h,width:t.width},h+=t.width*(1+o)})}),d}function o(t,e,n){if(t&&e){e=t[k(e)];return e=null!=e&&null!=n?e[L(n)]:e}}n={seriesType:"bar",plan:n(),reset:function(t){if(a(t)&&s(t)){var e=t.getData(),h=t.coordinateSystem,d=h.grid.getRect(),n=h.getBaseAxis(),p=h.getOtherAxis(n),f=e.mapDimension(p.dim),g=e.mapDimension(n.dim),m=p.isHorizontal(),v=m?0:1,y=o(r([t]),n,t).width;return.5<y||(y=.5),{progress:function(t,e){var n,i=t.count,r=new x(2*i),o=new x(2*i),a=new x(i),s=[],l=[],u=0,c=0;for(;null!=(n=t.next());)l[v]=e.get(f,n),l[1-v]=e.get(g,n),s=h.dataToPoint(l,null,s),o[u]=m?d.x+d.width:s[0],r[u++]=s[0],o[u]=m?s[1]:d.y+d.height,r[u++]=s[1],a[c++]=n;e.setLayout({largePoints:r,largeDataIndices:a,largeBackgroundPoints:o,barWidth:y,valueAxisStart:N(0,p),backgroundStart:m?d.x:d.y,valueAxisHorizontal:m})}}}}};function a(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function s(t){return t.pipelineContext&&t.pipelineContext.large}function N(t,e){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 i=n.getBandWidth(),r=0;r<t.count;r++)e.push(p.defaults({bandWidth:i,axisKey:"axis0",stackId:l+r},t));for(var o=c(e),a=[],r=0;r<t.count;r++){var s=o.axis0[l+r];s.offsetCenter=s.offset+s.width/2,a.push(s)}return a}},e.prepareLayoutBarSeries=i,e.makeColumnLayout=r,e.retrieveColumnLayout=o,e.layout=function(t,e){var C=r(e=i(t,e)),T={},I={};p.each(e,function(t){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=L(t),o=C[k(i)][r],a=o.offset,s=o.width,l=n.getOtherAxis(i),u=t.get("barMinHeight")||0;T[r]=T[r]||[],I[r]=I[r]||[],e.setLayout({bandWidth:o.bandWidth,offset:a,size:s});for(var c=e.mapDimension(l.dim),h=e.mapDimension(i.dim),d=D(e,c),p=l.isHorizontal(),f=N(0,l),g=0,m=e.count();g<m;g++){var v,y,x,_,b,S=e.get(c,g),A=e.get(h,g),M=0<=S?"p":"n",w=f;d&&(T[r][A]||(T[r][A]={p:f,n:f}),w=T[r][A][M]),p?(v=w,y=(b=n.dataToPoint([S,A]))[1]+a,x=b[0]-f,_=s,Math.abs(x)<u&&(x=(x<0?-1:1)*u),isNaN(x)||d&&(T[r][A][M]+=x)):(v=(b=n.dataToPoint([A,S]))[0]+a,y=w,x=s,_=b[1]-f,Math.abs(_)<u&&(_=(_<=0?-1:1)*u),isNaN(_)||d&&(T[r][A][M]+=_)),e.setItemLayout(g,{x:v,y:y,width:x,height:_})}},this)},e.largeLayout=n},function(t,e,n){var s=n(1),i=n(661),r=n(43),o=n(21),l=o.getLayoutParams,u=o.mergeLayoutParam,c=n(654),h=["value","category","time","log"];t.exports=function(o,t,a,e){s.each(h,function(r){t.extend({type:o+"Axis."+r,mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?l(t):{},e=e.getTheme();s.merge(t,e.get(r+"Axis")),s.merge(t,this.getDefaultOption()),t.type=a(o,t),n&&u(t,i,n)},optionUpdated:function(){"category"===this.option.type&&(this.__ordinalMeta=c.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:s.mergeAll([{},i[r+"Axis"],e],!0)})}),r.registerSubTypeDefaulter(o+"Axis",s.curry(a,o))}},function(t,e,n){var f=n(1),g=n(39),m=f.each,o=f.curry;function v(t,e){return"all"===t||f.isArray(t)&&0<=f.indexOf(t,e)||t===e}function a(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[x(t)]}function y(t){return!!t.get("handle.show")}function x(t){return t.type+"||"+t.id}e.collect=function(t,e){var u,c,r,h,d,p,n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return u=n,e=e,r=(c=t).getComponent("tooltip"),h=c.getComponent("axisPointer"),d=h.get("link",!0)||[],p=[],m(e.getCoordinateSystems(),function(a){var s,l,t,e,n;function i(t,e,n){var i,r=n.model.getModel("axisPointer",h),o=r.get("show");o&&("auto"!==o||t||y(r))&&(null==e&&(e=r.get("triggerTooltip")),i=(r=t?function(t,e,n,i,r,o){var a=e.getModel("axisPointer"),s={};m(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){s[t]=f.clone(a.get(t))}),s.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(s.type="line");e=s.label||(s.label={});null==e.show&&(e.show=!1),"cross"===r&&(r=a.get("label.show"),e.show=null==r||r,o||(o=s.lineStyle=a.get("crossStyle"))&&f.defaults(e,o.textStyle));return t.model.getModel("axisPointer",new g(s,n,i))}(n,l,h,c,t,e):r).get("snap"),o=x(n.model),t=e||i||"category"===n.type,r=u.axesInfo[o]={key:o,axis:n,coordSys:a,axisPointerModel:r,triggerTooltip:e,involveSeries:t,snap:i,useHandle:y(r),seriesModels:[]},s[o]=r,u.seriesInvolved|=t,null!=(t=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(v(o[i+"AxisId"],n.id)||v(o[i+"AxisIndex"],n.componentIndex)||v(o[i+"AxisName"],n.name))return r}}(d,n))&&((n=p[t]||(p[t]={axesInfo:{}})).axesInfo[o]=r,n.mapper=d[t].mapper,r.linkGroup=n))}a.axisPointerEnabled&&(n=x(a.model),s=u.coordSysAxesInfo[n]={},l=(u.coordSysMap[n]=a).model.getModel("tooltip",r),m(a.getAxes(),o(i,!1,null)),a.getTooltipAxes&&r&&l.get("show")&&(t="axis"===l.get("trigger"),e="cross"===l.get("axisPointer.type"),n=a.getTooltipAxes(l.get("axisPointer.axis")),(t||e)&&m(n.baseAxes,o(i,!e||"cross",t)),e&&m(n.otherAxes,o(i,"cross",!1))))}),n.seriesInvolved&&function(r,t){t.eachSeries(function(n){var i=n.coordinateSystem,t=n.get("tooltip.trigger",!0),e=n.get("tooltip.show",!0);i&&"none"!==t&&!1!==t&&"item"!==t&&!1!==e&&!1!==n.get("axisPointer.show",!0)&&m(r.coordSysAxesInfo[x(i.model)],function(t){var e=t.axis;i.getAxis(e.dim)===e&&(t.seriesModels.push(n),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=n.getData().count())})},this)}(n,t),n},e.fixValue=function(t){var e,n,i,r,o=a(t);o&&(i=o.axisPointerModel,r=o.axis.scale,e=i.option,n=i.get("status"),null!=(t=i.get("value"))&&(t=r.parse(t)),i=y(i),null==n&&(e.status=i?"show":"hide"),(r=r.getExtent().slice())[0]>r[1]&&r.reverse(),(t=null==t||t>r[1]?r[1]:t)<r[0]&&(t=r[0]),e.value=t,i&&(e.status=o.axis.scale.isBlank()?"hide":"show"))},e.getAxisInfo=a,e.getAxisPointerModel=function(t){return(t=a(t))&&t.axisPointerModel},e.makeKey=x},function(t,e,n){var s=n(1),r=n(8),f=n(55),g=n(26),o=n(52),l=n(67),u=n(90);function c(t,e,n,i,r){var o=m(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),a=n.getModel("label"),s=g.normalizeCssArray(a.get("padding")||0),l=a.getFont(),u=f.getBoundingRect(o,l),c=r.position,h=u.width+s[1]+s[3],d=u.height+s[0]+s[2],p=r.align;"right"===p&&(c[0]-=h),"center"===p&&(c[0]-=h/2);n=r.verticalAlign;"bottom"===n&&(c[1]-=d),"middle"===n&&(c[1]-=d/2),u=c,p=h,r=d,i=(n=i).getWidth(),n=n.getHeight(),u[0]=Math.min(u[0]+p,i)-p,u[1]=Math.min(u[1]+r,n)-r,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0);u=a.get("backgroundColor");u&&"auto"!==u||(u=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:h,height:d,r:a.get("borderRadius")},position:c.slice(),style:{text:o,textFont:l,textFill:a.getTextColor(),textPosition:"inside",textPadding:s,fill:u,stroke:a.get("borderColor")||"transparent",lineWidth:a.get("borderWidth")||0,shadowBlur:a.get("shadowBlur"),shadowColor:a.get("shadowColor"),shadowOffsetX:a.get("shadowOffsetX"),shadowOffsetY:a.get("shadowOffsetY")},z2:10}}function m(t,e,n,i,r){t=e.scale.parse(t);var o,a=e.scale.getLabel(t,{precision:r.precision}),r=r.formatter;return r&&(o={value:l.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]},s.each(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),t=t.dataIndexInside,t=e&&e.getDataParams(t);t&&o.seriesData.push(t)}),s.isString(r)?a=r.replace("{value}",a):s.isFunction(r)&&(a=r(o))),a}function h(t,e,n){var i=o.create();return o.rotate(i,i,n.rotation),o.translate(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}e.buildElStyle=function(t){var e,n=t.get("type"),t=t.getModel(n+"Style");return"line"===n?(e=t.getLineStyle()).fill=null:"shadow"===n&&((e=t.getAreaStyle()).stroke=null),e},e.buildLabelElOption=c,e.getValueLabel=m,e.getTransformedPosition=h,e.buildCartesianSingleLabelElOption=function(t,e,n,i,r,o){var a=u.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get("label.margin"),c(e,i,r,o,{position:h(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})},e.makeLineShape=function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},e.makeRectShape=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},e.makeSectorShape=function(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}},function(t,e,n){var v=n(1),o=n(56).createSymbol,y=n(8),x=n(13).parsePercent,_=n(341).getDefaultLabel;function i(t,e,n){y.Group.call(this),this.updateData(t,e,n)}var n=i.prototype,u=i.getSymbolSize=function(t,e){e=t.getItemVisual(e,"symbolSize");return e instanceof Array?e.slice():[+e,+e]};function b(t){return[t[0]/2,t[1]/2]}function a(t,e){this.parent.drift(t,e)}n._createSymbol=function(t,e,n,i,r){this.removeAll();n=e.getItemVisual(n,"color"),r=o(t,-1,-1,2,2,n,r);r.attr({z2:100,culling:!0,scale:b(i)}),r.drift=a,this._symbolType=t,this.add(r)},n.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},n.getSymbolPath=function(){return this.childAt(0)},n.getScale=function(){return this.childAt(0).scale},n.highlight=function(){this.childAt(0).trigger("emphasis")},n.downplay=function(){this.childAt(0).trigger("normal")},n.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},n.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},n.updateData=function(t,e,n){this.silent=!1;var i,r,o=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,s=u(t,e),l=o!==this._symbolType;l?(i=t.getItemVisual(e,"symbolKeepAspect"),this._createSymbol(o,t,e,s,i)):((r=this.childAt(0)).silent=!1,y.updateProps(r,{scale:b(s)},a,e)),this._updateCommon(t,e,s,n),l&&(r=this.childAt(0),l=n&&n.fadeIn,n={scale:r.scale.slice()},l&&(n.style={opacity:r.style.opacity}),r.scale=[0,0],l&&(r.style.opacity=0),y.initProps(r,n,a,e)),this._seriesModel=a};var S=["itemStyle"],A=["emphasis","itemStyle"],M=["label"],w=["emphasis","label"];function C(t,e){var n,i;this.incremental||this.useHoverLayer||("emphasis"===e?(i=(n=this.__symbolOriginalScale)[1]/n[0],i={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*i)]},this.animateTo(i,400,"elasticOut")):"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut"))}n._updateCommon=function(n,t,e,i){var r=this.childAt(0),o=n.hostModel,a=n.getItemVisual(t,"color");"image"!==r.type?r.useStyle({strokeNoScale:!0}):r.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var s=i&&i.itemStyle,l=i&&i.hoverItemStyle,u=i&&i.symbolOffset,c=i&&i.labelModel,h=i&&i.hoverLabelModel,d=i&&i.hoverAnimation,p=i&&i.cursorStyle;!i||n.hasItemOption?(s=(g=i&&i.itemModel?i.itemModel:n.getItemModel(t)).getModel(S).getItemStyle(["color"]),l=g.getModel(A).getItemStyle(),u=g.getShallow("symbolOffset"),c=g.getModel(M),h=g.getModel(w),d=g.getShallow("hoverAnimation"),p=g.getShallow("cursor")):l=v.extend({},l);var f=r.style,g=n.getItemVisual(t,"symbolRotate");r.attr("rotation",(g||0)*Math.PI/180||0),u&&r.attr("position",[x(u[0],e[0]),x(u[1],e[1])]),p&&r.attr("cursor",p),r.setColor(a,i&&i.symbolInnerColor),r.setStyle(s);p=n.getItemVisual(t,"opacity");null!=p&&(f.opacity=p);s=n.getItemVisual(t,"liftZ"),p=r.__z2Origin;null!=s?null==p&&(r.__z2Origin=r.z2,r.z2+=s):null!=p&&(r.z2=p,r.__z2Origin=null);var m=i&&i.useNameLabel;y.setLabelStyle(f,l,c,h,{labelFetcher:o,labelDataIndex:t,defaultText:function(t,e){return m?n.getName(t):_(n,t)},isRectText:!0,autoColor:a}),r.__symbolOriginalScale=b(e),r.hoverStyle=l,r.highDownOnUpdate=d&&o.isAnimationEnabled()?C:null,y.setHoverStyle(r)},n.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,e&&e.keepLabel||(n.style.text=null),y.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},v.inherits(i,y.Group),t.exports=i},function(t,e,n){n(20).__DEV__;var i=n(1),l=i.each,u=i.createHashMap,r=n(339),o=n(922),i=n(927),c=n(30),h={geoJSON:o,svg:i},i={load:function(e,n,i){var r,o=[],a=u(),s=u(),t=d(e);return l(t,function(t){t=h[t.type].load(e,t,i);l(t.regions,function(t){var e=t.name;n&&n.hasOwnProperty(e)&&(t=t.cloneShallow(e=n[e])),o.push(t),a.set(e,t),s.set(e,t.center)});t=t.boundingRect;t&&(r?r.union(t):r=t.clone())}),{regions:o,regionsMap:a,nameCoordMap:s,boundingRect:r||new c(0,0,0,0)}},makeGraphic:a("makeGraphic"),removeGraphic:a("removeGraphic")};function a(o){return function(n,i){var t=d(n),r=[];return l(t,function(t){var e=h[t.type][o];e&&r.push(e(n,t,i))}),r}}function d(t){return r.retrieveMap(t)||[]}t.exports=i},function(t,e){var i={axisPointer:1,tooltip:1,brush:1};e.onIrrelevantElement=function(t,e,n){return e=e.getComponentByElement(t.topTarget),t=e&&e.coordinateSystem,e&&e!==n&&!i[e.mainType]&&t&&t.model!==n}},function(t,e,n){function h(t){return t.get("autoCurveness")||null}function d(t,e){var n=h(t),i=20,r=[];if("number"==typeof n)i=n;else if(g.isArray(n))return t.__curvenessList=n,0;for(var o=(i=i<e?e:i)%2?i+2:i+3,r=[],a=0;a<o;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=r}function p(t,e,n){return t=[t.id,t.dataIndex].join("."),e=[e.id,e.dataIndex].join("."),[n.uid,t,e].join(i)}function f(t){return[(t=t.split(i))[0],t[2],t[1]].join(i)}var g=n(1),i="--\x3e",m=function(t,e){e=e.__edgeMap;return e[t]?e[t].length:0};e.initCurvenessList=function(t){h(t)&&(t.__curvenessList=[],t.__edgeMap={},d(t))},e.createEdgeMapForCurveness=function(t,e,n,i){h(n)&&(t=p(t,e,n),n=(e=n.__edgeMap)[f(t)],e[t]&&!n?e[t].isForward=!0:n&&e[t]&&(n.isForward=!0,e[t].isForward=!1),e[t]=e[t]||[],e[t].push(i))},e.getCurvenessForEdge=function(t,e,n,i){var r=h(e),o=g.isArray(r);if(!r)return null;var a=function(t,e){t=p(t.node1,t.node2,e);return e.__edgeMap[t]}(t,e);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}u=e,c=m(p((c=t).node1,c.node2,u),u)+m(p(c.node2,c.node1,u),u),d(e,c),t.lineStyle=t.lineStyle||{};var u=p(t.node1,t.node2,e),t=e.__curvenessList,c=o||c%2?0:1;return a.isForward?t[c+s]:(u=f(u),u=m(u,e),e=t[s+u+c],i?!o||r&&0===r[0]?(u+c)%2?e:-e:((u%2?0:1)+c)%2?e:-e:t[s+u+c])}},function(t,e,n){var a=n(1),m=n(109),s=a.each;function r(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return 1}e.createVisualMappings=function(e,t,r){var o={};return s(t,function(n){var i=o[n]=(t.prototype.__hidden=t.prototype,new t);function t(){}s(e[n],function(t,e){m.isValidType(e)&&(t={type:e,visual:t},r&&r(t,n),i[e]=new m(t),"opacity"===e&&((t=a.clone(t)).type="colorAlpha",i.__hidden.__alphaForOpacity=new m(t)))})}),o},e.replaceVisualOption=function(e,n,t){var i;a.each(t,function(t){n.hasOwnProperty(t)&&r(n[t])&&(i=!0)}),i&&a.each(t,function(t){n.hasOwnProperty(t)&&r(n[t])?e[t]=a.clone(n[t]):delete e[t]})},e.applyVisual=function(t,s,l,u,c,h){var d,p={};function f(t){return l.getItemVisual(d,t)}function g(t,e){l.setItemVisual(d,t,e)}function e(t,e){d=null==h?t:e;e=l.getRawDataItem(d);if(!e||!1!==e.visualMap)for(var e=u.call(c,t),n=s[e],i=p[e],r=0,o=i.length;r<o;r++){var a=i[r];n[a]&&n[a].applyVisual(t,f,g)}}a.each(t,function(t){var e=m.prepareVisualTypes(s[t]);p[t]=e}),null==h?l.each(e):l.each([h],e)},e.incrementalApplyVisual=function(t,d,p,f){var g={};return a.each(t,function(t){var e=m.prepareVisualTypes(d[t]);g[t]=e}),{progress:function(t,n){function e(t){return n.getItemVisual(r,t)}function i(t,e){n.setItemVisual(r,t,e)}var r;for(null!=f&&(f=n.getDimension(f));null!=(r=t.next());){var o=n.getRawDataItem(r);if(!o||!1!==o.visualMap)for(var a=null!=f?n.get(f,r,!0):r,o=p(a),s=d[o],l=g[o],u=0,c=l.length;u<c;u++){var h=l[u];s[h]&&s[h].applyVisual(a,e,i)}}}}}},function(t,e,n){"use strict";e.__esModule=!0,e.addUnit=function(t){return(0,r.isDef)(t)?(t=String(t),(0,o.isNumeric)(t)?t+"px":t):void 0},e.unitToPx=function(t){if("number"==typeof t)return t;if(r.inBrowser){if(-1!==t.indexOf("rem"))return function(t){return+(t=t.replace(/rem/g,""))*function(){{var t;i||(t=document.documentElement,t=t.style.fontSize||window.getComputedStyle(t).fontSize,i=parseFloat(t))}return i}()}(t);if(-1!==t.indexOf("vw"))return function(t){return+(t=t.replace(/vw/g,""))*window.innerWidth/100}(t);if(-1!==t.indexOf("vh"))return function(t){return+(t=t.replace(/vh/g,""))*window.innerHeight/100}(t)}return parseFloat(t)};var i,r=n(7),o=n(171)},function(t,e,n){},,,function(t,e,n){"use strict";var l=function(t){return!(!(e=t)||"object"!=typeof e||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||function(t){return t.$$typeof===i}(e)));var e};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function u(t,e){var n;return e&&!0===e.clone&&l(t)?h((n=t,Array.isArray(n)?[]:{}),t,e):t}function c(n,t,i){var r=n.slice();return t.forEach(function(t,e){void 0===r[e]?r[e]=u(t,i):l(t)?r[e]=h(n[e],t,i):-1===n.indexOf(t)&&r.push(u(t,i))}),r}function h(t,e,n){var i,r,o,a,s=Array.isArray(e);return s===Array.isArray(t)?s?((n||{arrayMerge:c}).arrayMerge||c)(t,e,n):(r=e,o=n,a={},l(i=t)&&Object.keys(i).forEach(function(t){a[t]=u(i[t],o)}),Object.keys(r).forEach(function(t){l(r[t])&&i[t]?a[t]=h(i[t],r[t],o):a[t]=u(r[t],o)}),a):u(e,n)}h.all=function(t,n){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce(function(t,e){return h(t,e,n)})},t.exports=h},,,,function(t,e,n){"use strict";n.d(e,"a",function(){return i});var I=n(12);var i=function(t,e,n,i){var r=n.dataType,o=void 0===r?"normal":r,a=n.dimension,s=void 0===a?t[0]:a,l=n.totalName,u=void 0===l?"总计":l,c=n.totalNum,h=n.remainName,d=void 0===h?"其他":h,p=n.xAxisName,f=void 0===p?s:p,g=n.labelMap,m=void 0===g?{}:g,r=n.axisVisible,a=void 0===r||r,l=n.digit,h=void 0===l?2:l,p=i.tooltipVisible,g=t.slice();g.splice(g.indexOf(s),1);var v,y,x,_,b,S,A,M,w,C,T=g[0],r=T,n=p&&(v=o,y=h,{trigger:"axis",axisPointer:{type:"shadow"},formatter:function(t){t=t[1];return[t.name+"<br/>"+t.seriesName+" :",""+Object(I.c)(t.value,v,y)].join("")}}),l=parseFloat(e.reduce(function(t,e){return t+Number(e[T])},0).toFixed(h)),g=(i=l,(t=c)?i<t?"have-remain":"none-remain":"not-total");return{tooltip:n,xAxis:(x=(p={dimension:s,rows:e,remainStatus:g,totalName:u,remainName:d,xAxisName:f,labelMap:m,axisVisible:a}).dimension,i=p.rows,t=p.remainStatus,n=p.totalName,u=p.remainName,d=p.labelMap,f=p.xAxisName,p=p.axisVisible,i=[n].concat(i.map(function(t){return t[x]})),"have-remain"===t&&(i=i.concat([u])),{type:"category",name:d&&d[f]||f,splitLine:{show:!1},data:i,show:p}),yAxis:(_=(r={dataType:o,yAxisName:r,axisVisible:a,digit:h,labelMap:m}).dataType,a=r.yAxisName,m=r.axisVisible,b=r.digit,{type:"value",name:null!=(r=r.labelMap)[a]?r[a]:a,axisTick:{show:!1},axisLabel:{formatter:function(t){return Object(I.c)(t,_,b)}},show:m}),series:(S=(m={dataType:o,rows:e,dimension:s,metrics:T,totalNum:c,remainStatus:g,dataSum:l,digit:h}).dataType,o=m.rows,A=m.metrics,e=m.totalNum,s=m.remainStatus,c=m.dataSum,M=m.digit,g={type:"bar",stack:"总量"},w=c,C=e,h=l=void 0,m=o.map(function(t){return t[A]}),h="have-remain"===s?(l=[0].concat(o.map(function(t){return C-=t[A]})).concat([0]),[e].concat(m).concat([e-c])):(l=[0].concat(o.map(function(t){return w-=t[A]})),[c].concat(m)),(m=[]).push(Object.assign({name:"辅助",itemStyle:{normal:{opacity:0},emphasis:{opacity:0}},data:l},g)),m.push(Object.assign({name:"数值",label:{normal:{show:!0,position:"top",formatter:function(t){return Object(I.c)(t.value,S,M)}}},data:h},g)),m)}}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var _=n(31),b=n(12);var i=function(t,e,n,i){var r,o,a,s=t.slice(),l=e.slice(),u=n.dataType,c=void 0===u?"normal":u,h=n.dimension,d=void 0===h?s[0]:h,p=n.sequence,f=void 0===p?l.map(function(t){return t[d]}):p,g=n.digit,m=void 0===g?2:g,v=n.ascending,y=n.label,x=n.labelLine,t=n.legendName,e=void 0===t?{}:t,u=n.itemStyle,h=n.filterZero,p=n.useDefaultOrder,g=i.tooltipVisible,t=i.legendVisible,i=void 0,i=n.metrics||((n=s.slice()).splice(s.indexOf(d),1),n[0]);return{tooltip:g&&(r=c,o=m,{trigger:"item",formatter:function(t){var e=[];return e.push(Object(_.g)(t.color)),e.push(t.name+": "+Object(b.c)(t.data.realValue,r,o)),e.join("")}}),legend:t&&(e=(t={data:f,legendName:e}).data,a=t.legendName,{data:e,formatter:function(t){return null!=a[t]?a[t]:t}}),series:function(t){var n=t.dimension,i=t.metrics,e=t.rows,r=t.sequence,o=t.ascending,a=t.label,s=t.labelLine,l=t.itemStyle,u=t.filterZero,c=t.useDefaultOrder,t={type:"funnel"},h=e.sort(function(t,e){return r.indexOf(t[n])-r.indexOf(e[n])});u&&(h=h.filter(function(t){return t[i]}));var d=!1;h.some(function(t,e){if(e&&t[i]>h[e-1][i])return d=!0});var p=100/h.length;return t.data=d&&!c?h.slice().reverse().map(function(t,e){return{name:t[n],value:(e+1)*p,realValue:t[i]}}):h.map(function(t){return{name:t[n],value:t[i],realValue:t[i]}}),o&&(t.sort="ascending"),a&&(t.label=a),s&&(t.labelLine=s),l&&(t.itemStyle=l),t}({dimension:d,metrics:i,rows:l,sequence:f,ascending:v,label:y,labelLine:x,itemStyle:u,filterZero:h,useDefaultOrder:p})}}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var D=n(31),L=n(12);var i=function(t,e,n,i){var r=n.dataType,o=void 0===r?{}:r,a=n.legendName,s=void 0===a?{}:a,l=n.labelMap,u=void 0===l?{}:l,c=n.dimension,h=void 0===c?t[0]:c,d=n.digit,p=void 0===d?2:d,f=n.label,r=n.itemStyle,a=n.lineStyle,l=n.areaStyle,c=i.tooltipVisible,d=i.legendVisible,i=t.slice();n.metrics?i=n.metrics:i.splice(t.indexOf(h),1);var g,m,v,y,x,_,b,S,A,M,w,C,T,d=d&&(g=h,m=s,{data:e.map(function(t){return t[g]}),formatter:function(t){return null!=m[t]?m[t]:t}}),I=(v=i,y=u,s={indicator:[],shape:"circle",splitNumber:5},x={},e.forEach(function(n){v.forEach(function(t){var e=null!=y[t]?y[t]:t;x[e]?x[e].push(n[t]):x[e]=[n[t]]})}),s.indicator=Object.keys(x).map(function(t){return{name:t,max:Math.max.apply(null,x[t])}}),s);return{legend:d,tooltip:c&&(_=o,b=p,S=[],A=[],I.indicator.map(function(t,e){S[e]=_[t.name],A[e]=t.name}),{formatter:function(t){var n=[];return n.push(Object(D.g)(t.color)),n.push(t.name+"<br />"),t.data.value.forEach(function(t,e){n.push(A[e]+": "),n.push(Object(L.c)(t,S[e],b)+"<br />")}),n.join("")}}),radar:I,series:(f=(i={rows:e,dimension:h,metrics:i,radar:I,label:f,itemStyle:r,lineStyle:a,labelMap:u,areaStyle:l}).rows,M=i.dimension,w=i.metrics,r=i.radar,a=i.label,u=i.itemStyle,l=i.lineStyle,C=i.labelMap,i=i.areaStyle,T={},r.indicator.forEach(function(t,e){t=t.name;T[t]=e}),f=f.map(function(n){var i={value:[],name:n[M]};return Object.keys(n).forEach(function(t){var e;~w.indexOf(t)&&(e=null!=C[t]?T[C[t]]:T[t],i.value[e]=n[t])}),i}),f={name:M,type:"radar",data:f},a&&(f.label=a),u&&(f.itemStyle=u),l&&(f.lineStyle=l),i&&(f.areaStyle=i),[f])}}},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),y=i(n(41)),o=n(7),x=n(47),_=n(54),b=n(110),S=i(n(32)),A=i(n(74)),n=(0,o.createNamespace)("button"),o=n[0],M=n[1];function a(t,e,n,i){var r=e.tag,o=e.icon,a=e.type,s=e.color,l=e.plain,u=e.disabled,c=e.loading,h=e.hairline,d=e.loadingText,p=e.iconPosition,f={};s&&(f.color=l?s:"white",l||(f.background=s),-1!==s.indexOf("gradient")?f.border=0:f.borderColor=s);var g,m,l=[M([a,e.size,{plain:l,loading:c,disabled:u,hairline:h,block:e.block,round:e.round,square:e.square}]),((l={})[_.BORDER_SURROUND]=h,l)];function v(){return c?n.loading?n.loading():t(A.default,{class:M("loading"),attrs:{size:e.loadingSize,type:e.loadingType,color:"currentColor"}}):o?t(S.default,{attrs:{name:o,classPrefix:e.iconPrefix},class:M("icon")}):void 0}return t(r,(0,y.default)([{style:f,class:l,attrs:{type:e.nativeType,disabled:u},on:{click:function(t){c||u||((0,x.emit)(i,"click",t),(0,b.functionalRoute)(i))},touchstart:function(t){(0,x.emit)(i,"touchstart",t)}}},(0,x.inherit)(i)]),[t("div",{class:M("content")},[(m=[],"left"===p&&m.push(v()),(g=c?d:n.default?n.default():e.text)&&m.push(t("span",{class:M("text")},[g])),"right"===p&&m.push(v()),m)])])}a.props=(0,r.default)({},b.routeProps,{text:String,icon:String,color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:String,loadingText:String,loadingType:String,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"},loadingSize:{type:String,default:"20px"},iconPosition:{type:String,default:"left"}});o=o(a);e.default=o},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var o=i(n(41)),a=i(n(28)),s=n(7),l=n(47),r=n(40),i=(0,s.createNamespace)("overlay"),n=i[0],u=i[1];function c(t){(0,r.preventDefault)(t,!0)}function h(t,e,n,i){var r=(0,a.default)({zIndex:e.zIndex},e.customStyle);return(0,s.isDef)(e.duration)&&(r.animationDuration=e.duration+"s"),t("transition",{attrs:{name:"van-fade"}},[t("div",(0,o.default)([{directives:[{name:"show",value:e.show}],style:r,class:[u(),e.className],on:{touchmove:e.lockScroll?c:s.noop}},(0,l.inherit)(i,!0)]),[null==n.default?void 0:n.default()])])}h.props={show:Boolean,zIndex:[Number,String],duration:[Number,String],className:null,customStyle:Object,lockScroll:{type:Boolean,default:!0}};n=n(h);e.default=n},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=n(7),a=n(36),i=n(110),n=(0,o.createNamespace)("tab"),o=n[0],s=n[1],i=o({mixins:[(0,a.ChildrenMixin)("vanTabs")],props:(0,r.default)({},i.routeProps,{dot:Boolean,name:[Number,String],info:[Number,String],badge:[Number,String],title:String,titleStyle:null,titleClass:null,disabled:Boolean}),data:function(){return{inited:!1}},computed:{computedName:function(){var t;return null!=(t=this.name)?t:this.index},isActive:function(){var t=this.computedName===this.parent.currentName;return t&&(this.inited=!0),t}},watch:{title:function(){this.parent.setLine(),this.parent.scrollIntoView()},inited:function(t){var e=this;this.parent.lazyRender&&t&&this.$nextTick(function(){e.parent.$emit("rendered",e.computedName,e.title)})}},render:function(t){var e=this.slots,n=this.parent,i=this.isActive,r=e();if(0,r||n.animated){e=n.scrollspy||i,r=this.inited||n.scrollspy||!n.lazyRender?r:t();return n.animated?t("div",{attrs:{role:"tabpanel","aria-hidden":!i},class:s("pane-wrapper",{inactive:!i})},[t("div",{class:s("pane")},[r])]):t("div",{directives:[{name:"show",value:e}],attrs:{role:"tabpanel"},class:s("pane")},[r])}}});e.default=i},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var a=n(174),i=n(290),r=n(7),s=n(62),o=n(81),l=(0,r.createNamespace)("sticky"),n=l[0],u=l[1],o=n({mixins:[(0,o.BindEventMixin)(function(t,e){this.scroller||(this.scroller=(0,s.getScroller)(this.$el)),this.observer&&this.observer[e?"observe":"unobserve"](this.$el),t(this.scroller,"scroll",this.onScroll,!0),this.onScroll()})],props:{zIndex:[Number,String],container:null,offsetTop:{type:[Number,String],default:0}},data:function(){return{fixed:!1,height:0,transform:0}},computed:{offsetTopPx:function(){return(0,i.unitToPx)(this.offsetTop)},style:function(){if(this.fixed){var t={};return(0,r.isDef)(this.zIndex)&&(t.zIndex=this.zIndex),this.offsetTopPx&&this.fixed&&(t.top=this.offsetTopPx+"px"),this.transform&&(t.transform="translate3d(0, "+this.transform+"px, 0)"),t}}},created:function(){var e=this;!r.isServer&&window.IntersectionObserver&&(this.observer=new IntersectionObserver(function(t){0<t[0].intersectionRatio&&e.onScroll()},{root:document.body}))},methods:{onScroll:function(){var t=this;if(!(0,a.isHidden)(this.$el)){this.height=this.$el.offsetHeight;var e=this.container,n=this.offsetTopPx,i=(0,s.getScrollTop)(window),r=(0,s.getElementTop)(this.$el),o=function(){t.$emit("scroll",{scrollTop:i,isFixed:t.fixed})};if(e){e=r+e.offsetHeight;if(i+n+this.height>e){e=this.height+i-e;return e<this.height?(this.fixed=!0,this.transform=-(e+n)):this.fixed=!1,void o()}}r<i+n?(this.fixed=!0,this.transform=0):this.fixed=!1,o()}}},render:function(){var t=arguments[0],e=this.fixed;return t("div",{style:{height:e?this.height+"px":null}},[t("div",{class:u({fixed:e}),style:this.style},[this.slots()])])}});e.default=o},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=n(7),a=n(40),s=n(54),l=n(735),u=n(290),c=i(n(74)),h=i(n(1159)),n=(0,o.createNamespace)("picker"),o=n[0],d=n[1],p=n[2],r=o({props:(0,r.default)({},l.pickerProps,{defaultIndex:{type:[Number,String],default:0},columns:{type:Array,default:function(){return[]}},toolbarPosition:{type:String,default:"top"},valueKey:{type:String,default:"text"}}),data:function(){return{children:[],formattedColumns:[]}},computed:{itemPxHeight:function(){return this.itemHeight?(0,u.unitToPx)(this.itemHeight):l.DEFAULT_ITEM_HEIGHT},dataType:function(){var t=this.columns[0]||{};return t.children?"cascade":t.values?"object":"text"}},watch:{columns:{handler:"format",immediate:!0}},methods:{format:function(){var t=this.columns,e=this.dataType;"text"===e?this.formattedColumns=[{values:t}]:"cascade"===e?this.formatCascade():this.formattedColumns=t},formatCascade:function(){for(var t=[],e={children:this.columns};e&&e.children;){for(var n,i=e.children,r=null!=(n=e.defaultIndex)?n:+this.defaultIndex;i[r]&&i[r].disabled;){if(!(r<i.length-1)){r=0;break}r++}t.push({values:e.children,className:e.className,defaultIndex:r}),e=i[r]}this.formattedColumns=t},emit:function(t){var e,n=this;"text"===this.dataType?this.$emit(t,this.getColumnValue(0),this.getColumnIndex(0)):(e=this.getValues(),"cascade"===this.dataType&&(e=e.map(function(t){return t[n.valueKey]})),this.$emit(t,e,this.getIndexes()))},onCascadeChange:function(t){for(var e={children:this.columns},n=this.getIndexes(),i=0;i<=t;i++)e=e.children[n[i]];for(;e&&e.children;)this.setColumnValues(++t,e.children),e=e.children[e.defaultIndex||0]},onChange:function(t){var e,n=this;"cascade"===this.dataType&&this.onCascadeChange(t),"text"===this.dataType?this.$emit("change",this,this.getColumnValue(0),this.getColumnIndex(0)):(e=this.getValues(),"cascade"===this.dataType&&(e=e.map(function(t){return t[n.valueKey]})),this.$emit("change",this,e,t))},getColumn:function(t){return this.children[t]},getColumnValue:function(t){t=this.getColumn(t);return t&&t.getValue()},setColumnValue:function(t,e){var n=this.getColumn(t);n&&(n.setValue(e),"cascade"===this.dataType&&this.onCascadeChange(t))},getColumnIndex:function(t){return(this.getColumn(t)||{}).currentIndex},setColumnIndex:function(t,e){var n=this.getColumn(t);n&&(n.setIndex(e),"cascade"===this.dataType&&this.onCascadeChange(t))},getColumnValues:function(t){return(this.children[t]||{}).options},setColumnValues:function(t,e){t=this.children[t];t&&t.setOptions(e)},getValues:function(){return this.children.map(function(t){return t.getValue()})},setValues:function(t){var n=this;t.forEach(function(t,e){n.setColumnValue(e,t)})},getIndexes:function(){return this.children.map(function(t){return t.currentIndex})},setIndexes:function(t){var n=this;t.forEach(function(t,e){n.setColumnIndex(e,t)})},confirm:function(){this.children.forEach(function(t){return t.stopMomentum()}),this.emit("confirm")},cancel:function(){this.emit("cancel")},genTitle:function(){var t=this.$createElement,e=this.slots("title");return e||(this.title?t("div",{class:["van-ellipsis",d("title")]},[this.title]):void 0)},genCancel:function(){return(0,this.$createElement)("button",{attrs:{type:"button"},class:d("cancel"),on:{click:this.cancel}},[this.slots("cancel")||this.cancelButtonText||p("cancel")])},genConfirm:function(){return(0,this.$createElement)("button",{attrs:{type:"button"},class:d("confirm"),on:{click:this.confirm}},[this.slots("confirm")||this.confirmButtonText||p("confirm")])},genToolbar:function(){var t=this.$createElement;if(this.showToolbar)return t("div",{class:d("toolbar")},[this.slots()||[this.genCancel(),this.genTitle(),this.genConfirm()]])},genColumns:function(){var t=this.$createElement,e=this.itemPxHeight,n=e*this.visibleItemCount,i={height:e+"px"},r={height:n+"px"},e={backgroundSize:"100% "+(n-e)/2+"px"};return t("div",{class:d("columns"),style:r,on:{touchmove:a.preventDefault}},[this.genColumnItems(),t("div",{class:d("mask"),style:e}),t("div",{class:[s.BORDER_UNSET_TOP_BOTTOM,d("frame")],style:i})])},genColumnItems:function(){var i=this,r=this.$createElement;return this.formattedColumns.map(function(t,e){var n;return r(h.default,{attrs:{readonly:i.readonly,valueKey:i.valueKey,allowHtml:i.allowHtml,className:t.className,itemHeight:i.itemPxHeight,defaultIndex:null!=(n=t.defaultIndex)?n:+i.defaultIndex,swipeDuration:i.swipeDuration,visibleItemCount:i.visibleItemCount,initialOptions:t.values},scopedSlots:{option:i.$scopedSlots.option},on:{change:function(){i.onChange(e)}}})})}},render:function(t){return t("div",{class:d()},["top"===this.toolbarPosition?this.genToolbar():t(),this.loading?t(c.default,{class:d("loading")}):t(),this.slots("columns-top"),this.genColumns(),this.slots("columns-bottom"),"bottom"===this.toolbarPosition?this.genToolbar():t()])}});e.default=r},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var s=i(n(41)),l=i(n(28)),r=n(738),o=n(113),a=n(40),u=n(7),c=i(n(32)),h=i(n(142)),d=n(369),i=(0,u.createNamespace)("field"),n=i[0],p=i[1],d=n({inheritAttrs:!1,provide:function(){return{vanField:this}},inject:{vanForm:{default:null}},props:(0,l.default)({},d.cellProps,{name:String,rules:Array,disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null},autosize:[Boolean,Object],leftIcon:String,rightIcon:String,clearable:Boolean,formatter:Function,maxlength:[Number,String],labelWidth:[Number,String],labelClass:null,labelAlign:String,inputAlign:String,placeholder:String,errorMessage:String,errorMessageAlign:String,showWordLimit:Boolean,value:{type:[Number,String],default:""},type:{type:String,default:"text"},error:{type:Boolean,default:null},colon:{type:Boolean,default:null},clearTrigger:{type:String,default:"focus"},formatTrigger:{type:String,default:"onChange"}}),data:function(){return{focused:!1,validateFailed:!1,validateMessage:""}},watch:{value:function(){this.updateValue(this.value),this.resetValidation(),this.validateWithTrigger("onChange"),this.$nextTick(this.adjustSize)}},mounted:function(){this.updateValue(this.value,this.formatTrigger),this.$nextTick(this.adjustSize),this.vanForm&&this.vanForm.addField(this)},beforeDestroy:function(){this.vanForm&&this.vanForm.removeField(this)},computed:{showClear:function(){var t=this.getProp("readonly");if(this.clearable&&!t){var e=(0,u.isDef)(this.value)&&""!==this.value,t="always"===this.clearTrigger||"focus"===this.clearTrigger&&this.focused;return e&&t}},showError:function(){return null!==this.error?this.error:!!(this.vanForm&&this.vanForm.showError&&this.validateFailed)||void 0},listeners:function(){return(0,l.default)({},this.$listeners,{blur:this.onBlur,focus:this.onFocus,input:this.onInput,click:this.onClickInput,keypress:this.onKeypress})},labelStyle:function(){var t=this.getProp("labelWidth");if(t)return{width:(0,u.addUnit)(t)}},formValue:function(){return(this.children&&(this.$scopedSlots.input||this.$slots.input)?this.children:this).value}},methods:{focus:function(){this.$refs.input&&this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},runValidator:function(n,i){return new Promise(function(t){var e=i.validator(n,i);if((0,u.isPromise)(e))return e.then(t);t(e)})},isEmptyValue:function(t){return Array.isArray(t)?!t.length:0!==t&&!t},runSyncRule:function(t,e){return(!e.required||!this.isEmptyValue(t))&&!(e.pattern&&!e.pattern.test(t))},getRuleMessage:function(t,e){var n=e.message;return(0,u.isFunction)(n)?n(t,e):n},runRules:function(t){var i=this;return t.reduce(function(t,n){return t.then(function(){if(!i.validateFailed){var e=i.formValue;return n.formatter&&(e=n.formatter(e,n)),i.runSyncRule(e,n)?n.validator?i.runValidator(e,n).then(function(t){!1===t&&(i.validateFailed=!0,i.validateMessage=i.getRuleMessage(e,n))}):void 0:(i.validateFailed=!0,void(i.validateMessage=i.getRuleMessage(e,n)))}})},Promise.resolve())},validate:function(e){var n=this;return void 0===e&&(e=this.rules),new Promise(function(t){e||t(),n.resetValidation(),n.runRules(e).then(function(){n.validateFailed?t({name:n.name,message:n.validateMessage}):t()})})},validateWithTrigger:function(e){var n,t;this.vanForm&&this.rules&&(n=this.vanForm.validateTrigger===e,t=this.rules.filter(function(t){return t.trigger?t.trigger===e:n}),this.validate(t))},resetValidation:function(){this.validateFailed&&(this.validateFailed=!1,this.validateMessage="")},updateValue:function(t,e){void 0===e&&(e="onChange"),t=(0,u.isDef)(t)?String(t):"";var n=this.maxlength;(0,u.isDef)(n)&&t.length>n&&(t=this.value&&this.value.length===+n?this.value:t.slice(0,n)),"number"!==this.type&&"digit"!==this.type||(n="number"===this.type,t=(0,o.formatNumber)(t,n,n)),this.formatter&&e===this.formatTrigger&&(t=this.formatter(t));e=this.$refs.input;e&&t!==e.value&&(e.value=t),t!==this.value&&this.$emit("input",t)},onInput:function(t){t.target.composing||this.updateValue(t.target.value)},onFocus:function(t){this.focused=!0,this.$emit("focus",t),this.getProp("readonly")&&this.blur()},onBlur:function(t){this.focused=!1,this.updateValue(this.value,"onBlur"),this.$emit("blur",t),this.validateWithTrigger("onBlur"),(0,r.resetScroll)()},onClick:function(t){this.$emit("click",t)},onClickInput:function(t){this.$emit("click-input",t)},onClickLeftIcon:function(t){this.$emit("click-left-icon",t)},onClickRightIcon:function(t){this.$emit("click-right-icon",t)},onClear:function(t){(0,a.preventDefault)(t),this.$emit("input",""),this.$emit("clear",t)},onKeypress:function(t){13===t.keyCode&&(this.getProp("submitOnEnter")||"textarea"===this.type||(0,a.preventDefault)(t),"search"===this.type&&this.blur()),this.$emit("keypress",t)},adjustSize:function(){var t,e,n,i=this.$refs.input;"textarea"===this.type&&this.autosize&&i&&(i.style.height="auto",t=i.scrollHeight,(0,u.isObject)(this.autosize)&&(e=(n=this.autosize).maxHeight,n=n.minHeight,e&&(t=Math.min(t,e)),n&&(t=Math.max(t,n))),t&&(i.style.height=t+"px"))},genInput:function(){var t=this.$createElement,e=this.type,n=this.getProp("disabled"),i=this.getProp("readonly"),r=this.slots("input"),o=this.getProp("inputAlign");if(r)return t("div",{class:p("control",[o,"custom"]),on:{click:this.onClickInput}},[r]);n={ref:"input",class:p("control",o),domProps:{value:this.value},attrs:(0,l.default)({},this.$attrs,{name:this.name,disabled:n,readonly:i,placeholder:this.placeholder}),on:this.listeners,directives:[{name:"model",value:this.value}]};if("textarea"===e)return t("textarea",(0,s.default)([{},n]));var a,i=e;return"number"===e&&(i="text",a="decimal"),"digit"===e&&(i="tel",a="numeric"),t("input",(0,s.default)([{attrs:{type:i,inputmode:a}},n]))},genLeftIcon:function(){var t=this.$createElement;if(this.slots("left-icon")||this.leftIcon)return t("div",{class:p("left-icon"),on:{click:this.onClickLeftIcon}},[this.slots("left-icon")||t(c.default,{attrs:{name:this.leftIcon,classPrefix:this.iconPrefix}})])},genRightIcon:function(){var t=this.$createElement,e=this.slots;if(e("right-icon")||this.rightIcon)return t("div",{class:p("right-icon"),on:{click:this.onClickRightIcon}},[e("right-icon")||t(c.default,{attrs:{name:this.rightIcon,classPrefix:this.iconPrefix}})])},genWordLimit:function(){var t=this.$createElement;if(this.showWordLimit&&this.maxlength){var e=(this.value||"").length;return t("div",{class:p("word-limit")},[t("span",{class:p("word-num")},[e]),"/",this.maxlength])}},genMessage:function(){var t=this.$createElement;if(!this.vanForm||!1!==this.vanForm.showErrorMessage){var e=this.errorMessage||this.validateMessage;if(e){var n=this.getProp("errorMessageAlign");return t("div",{class:p("error-message",n)},[e])}}},getProp:function(t){return(0,u.isDef)(this[t])?this[t]:this.vanForm&&(0,u.isDef)(this.vanForm[t])?this.vanForm[t]:void 0},genLabel:function(){var t=this.$createElement,e=this.getProp("colon")?":":"";return this.slots("label")?[this.slots("label"),e]:this.label?t("span",[this.label+e]):void 0}},render:function(){var t=arguments[0],e=this.slots,n=this.getProp("disabled"),i=this.getProp("labelAlign"),r={icon:this.genLeftIcon},o=this.genLabel();o&&(r.title=function(){return o});var a=this.slots("extra");return a&&(r.extra=function(){return a}),t(h.default,{attrs:{icon:this.leftIcon,size:this.size,center:this.center,border:this.border,isLink:this.isLink,required:this.required,clickable:this.clickable,titleStyle:this.labelStyle,valueClass:p("value"),titleClass:[p("label",i),this.labelClass],arrowDirection:this.arrowDirection},scopedSlots:r,class:p(((n={error:this.showError,disabled:n})["label-"+i]=i,n["min-height"]="textarea"===this.type&&!this.autosize,n)),on:{click:this.onClick}},[t("div",{class:p("body")},[this.genInput(),this.showClear&&t(c.default,{attrs:{name:"clear"},class:p("clear"),on:{touchstart:this.onClear}}),this.genRightIcon(),e("button")&&t("div",{class:p("button")},[e("button")])]),this.genWordLimit(),this.genMessage()])}});e.default=d},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=n(7),i=n(36),n=(0,o.createNamespace)("swipe-item"),o=n[0],a=n[1],i=o({mixins:[(0,i.ChildrenMixin)("vanSwipe")],data:function(){return{offset:0,inited:!1,mounted:!1}},mounted:function(){var t=this;this.$nextTick(function(){t.mounted=!0})},computed:{style:function(){var t={},e=this.parent,n=e.size,e=e.vertical;return n&&(t[e?"height":"width"]=n+"px"),this.offset&&(t.transform="translate"+(e?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,e=this.inited,n=this.parent,i=this.mounted;if(!n.lazyRender||e)return!0;if(!i)return!1;var r,o=n.activeIndicator,e=n.count-1,i=0===o&&n.loop?e:o-1,n=o===e&&n.loop?0:o+1;return(r=t===o||t===i||t===n)&&(this.inited=!0),r}},render:function(){return(0,arguments[0])("div",{class:a(),style:this.style,on:(0,r.default)({},this.$listeners)},[this.shouldRender&&this.slots()])}});e.default=i},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(174),o=n(40),a=n(111),s=n(113),l=n(63),u=n(36),c=n(81),n=(0,i.createNamespace)("swipe"),i=n[0],h=n[1],c=i({mixins:[l.TouchMixin,(0,u.ParentMixin)("vanSwipe"),(0,c.BindEventMixin)(function(t,e){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),e?this.initialize():this.clear()})],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){0<t?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t,e,n={transitionDuration:(this.swiping?0:this.duration)+"ms",transform:"translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)"};return this.size&&(t=this.vertical?"height":"width",e=this.vertical?"width":"height",n[t]=this.trackSize+"px",n[e]=this[e]?this[e]+"px":""),n},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){var e;void 0===t&&(t=+this.initialSwipe),this.$el&&!(0,r.isHidden)(this.$el)&&(clearTimeout(this.timer),e=this.$el.getBoundingClientRect(),this.rect=e,this.swiping=!0,this.active=t,this.computedWidth=+this.width||e.width,this.computedHeight=+this.height||e.height,this.offset=this.getTargetOffset(t),this.children.forEach(function(t){t.offset=0}),this.autoPlay())},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&((0,o.preventDefault)(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){var t,e,n,i;this.touchable&&this.swiping&&(t=this.size,e=this.delta,i=Date.now()-this.touchStartTime,(.25<Math.abs(e/i)||Math.abs(e)>t/2)&&this.isCorrectDirection?(n=this.vertical?this.offsetY:this.offsetX,i=0,i=this.loop?0<n?0<e?-1:1:0:-Math[0<e?"ceil":"floor"](e/t),this.move({pace:i,emitChange:!0})):e&&this.move({pace:0}),this.swiping=!1,this.autoPlay())},getTargetActive:function(t){var e=this.active,n=this.count,i=this.maxCount;return t?this.loop?(0,s.range)(e+t,-1,n):(0,s.range)(e+t,0,i):e},getTargetOffset:function(t,e){t*=this.size,t=(e=void 0===e?0:e)-(t=!this.loop?Math.min(t,-this.minOffset):t);return t=!this.loop?(0,s.range)(t,this.minOffset,0):t},move:function(t){var e=t.pace,n=t.offset,i=void 0===n?0:n,r=t.emitChange,o=this.loop,a=this.count,s=this.active,l=this.children,n=this.trackSize,t=this.minOffset;a<=1||(e=this.getTargetActive(void 0===e?0:e),i=this.getTargetOffset(e,i),o&&(l[0]&&i!==t&&(l[0].offset=i<t?n:0),l[a-1]&&0!==i&&(l[a-1].offset=0<i?-n:0)),this.active=e,this.offset=i,r&&e!==s&&this.$emit("change",this.activeIndicator))},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),(0,a.doubleRaf)(function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})})},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),(0,a.doubleRaf)(function(){t.swiping=!1,t.move({pace:1,emitChange:!0})})},swipeTo:function(e,n){var i=this;void 0===n&&(n={}),this.correctPosition(),this.resetTouchStatus(),(0,a.doubleRaf)(function(){var t=i.loop&&e===i.count?0===i.active?0:e:e%i.count;n.immediate?(0,a.doubleRaf)(function(){i.swiping=!1}):i.swiping=!1,i.move({pace:t-i.active,emitChange:!0})})},correctPosition:function(){this.swiping=!0,this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,e=this.autoplay;0<e&&1<this.count&&(this.clear(),this.timer=setTimeout(function(){t.next(),t.autoPlay()},e))},genIndicator:function(){var n=this,i=this.$createElement,t=this.count,r=this.activeIndicator,e=this.slots("indicator");return e||(this.showIndicators&&1<t?i("div",{class:h("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(t)).map(function(t,e){return i("i",{class:h("indicator",{active:e===r}),style:e===r?n.indicatorStyle:null})})]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:h()},[t("div",{ref:"track",style:this.trackStyle,class:h("track",{vertical:this.vertical})},[this.slots()]),this.genIndicator()])}});e.default=c},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(36),n=(0,i.createNamespace)("sidebar"),i=n[0],o=n[1],r=i({mixins:[(0,r.ParentMixin)("vanSidebar")],model:{prop:"activeKey"},props:{activeKey:{type:[Number,String],default:0}},data:function(){return{index:+this.activeKey}},watch:{activeKey:function(){this.setIndex(+this.activeKey)}},methods:{setIndex:function(t){t!==this.index&&(this.index=t,this.$emit("change",t))}},render:function(){return(0,arguments[0])("div",{class:o()},[this.slots()])}});e.default=r},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=n(7),a=n(36),s=n(110),l=i(n(172)),n=(0,o.createNamespace)("sidebar-item"),o=n[0],u=n[1],r=o({mixins:[(0,a.ChildrenMixin)("vanSidebar")],props:(0,r.default)({},s.routeProps,{dot:Boolean,info:[Number,String],badge:[Number,String],title:String,disabled:Boolean}),computed:{select:function(){return this.index===+this.parent.activeKey}},methods:{onClick:function(){this.disabled||(this.$emit("click",this.index),this.parent.$emit("input",this.index),this.parent.setIndex(this.index),(0,s.route)(this.$router,this))}},render:function(){var t,e=arguments[0];return e("a",{class:u({select:this.select,disabled:this.disabled}),on:{click:this.onClick}},[e("div",{class:u("text")},[null!=(t=this.slots("title"))?t:this.title,e(l.default,{attrs:{dot:this.dot,info:null!=(e=this.badge)?e:this.info},class:u("info")})])])}});e.default=r},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var h=i(n(41)),r=n(7),d=n(47),p=i(n(32)),n=(0,r.createNamespace)("tag"),r=n[0],f=n[1];function o(t,e,n,i){var r=e.type,o=e.mark,a=e.plain,s=e.color,l=e.round,u=e.size,c=((c={})[a?"color":"backgroundColor"]=s,c);e.textColor&&(c.color=e.textColor);l={mark:o,plain:a,round:l};u&&(l[u]=u);u=e.closeable&&t(p.default,{attrs:{name:"cross"},class:f("close"),on:{click:function(t){t.stopPropagation(),(0,d.emit)(i,"close")}}});return t("transition",{attrs:{name:e.closeable?"van-fade":null}},[t("span",(0,h.default)([{key:"content",style:c,class:f([l,r])},(0,d.inherit)(i,!0)]),[null==n.default?void 0:n.default(),u])])}o.props={size:String,mark:Boolean,color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean,type:{type:String,default:"default"}};r=r(o);e.default=r},,,,function(t,e,n){"use strict";var i=n(439),r=n(440);e.a={install:function(t){t.use(i.a),t.prototype.$loading=r.a},directive:i.a,service:r.a}},function(t,e,n){"use strict";n.d(e,"c",function(){return a}),n.d(e,"a",function(){return s}),n.d(e,"d",function(){return l}),n.d(e,"b",function(){return u});function i(t,e){localStorage.setItem(t,JSON.stringify(e))}function r(t){try{return JSON.parse(localStorage.getItem(t))}catch(t){return console.error(t),null}}var o=n(59),a=function(t){i(o.f,t)},s=function(){return r(o.f)||{}},l=function(t){i(o.g,t)},u=function(){return r(o.g)}},function(t,e,n){var g=n(85),m=n(151),v=n(805),y=n(123),x=n(100),_="prototype",b=function(t,e,n){var i,r,o,a=t&b.F,s=t&b.G,l=t&b.S,u=t&b.P,c=t&b.B,h=t&b.W,d=s?m:m[e]||(m[e]={}),p=d[_],f=s?g:l?g[e]:(g[e]||{})[_];for(i in n=s?e:n)(r=!a&&f&&void 0!==f[i])&&x(d,i)||(o=(r?f:n)[i],d[i]=s&&"function"!=typeof f[i]?n[i]:c&&r?v(o,g):h&&f[i]==o?function(i){function t(t,e,n){if(this instanceof i){switch(arguments.length){case 0:return new i;case 1:return new i(t);case 2:return new i(t,e)}return new i(t,e,n)}return i.apply(this,arguments)}return t[_]=i[_],t}(o):u&&"function"==typeof o?v(Function.call,o):o,u&&((d.virtual||(d.virtual={}))[i]=o,t&b.R&&p&&!p[i]&&y(p,i,o)))};b.F=1,b.G=2,b.S=4,b.P=8,b.B=16,b.W=32,b.U=64,b.R=128,t.exports=b},function(t,e,n){var r=n(152);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?i:n)(t)}},function(t,e,n){var i=n(322)("keys"),r=n(269);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var i=n(151),r=n(85),o="__core-js_shared__",a=r[o]||(r[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(268)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(319);t.exports=function(t){return Object(i(t))}},function(t,e){t.exports={}},function(t,e,n){var i=n(124).f,r=n(100),o=n(126)("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){e.f=n(126)},function(t,e,n){var i=n(85),r=n(151),o=n(268),a=n(328),s=n(124).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=!o&&i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e){var u=32,y=7;function c(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&0<=i(t[r],t[r-1]);)r++;return r-e}function h(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)r(a,t[o=s+l>>>1])<0?l=o:s=1+o;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(;0<u;)t[s+u]=t[s+u-1],u--}t[s]=a}}function x(t,e,n,i,r,o){var a=0,s=0,l=1;if(0<o(t,e[n+r])){for(s=i-r;l<s&&0<o(t,e[n+r+l]);)(l=1+((a=l)<<1))<=0&&(l=s);s<l&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[n+r-l])<=0;)(l=1+((a=l)<<1))<=0&&(l=s);i=a,a=r-(l=s<l?s:l),l=r-i}for(a++;a<l;){var u=a+(l-a>>>1);0<o(t,e[n+u])?a=u+1:l=u}return l}function _(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;l<s&&o(t,e[n+r-l])<0;)(l=1+((a=l)<<1))<=0&&(l=s);var u=a,a=r-(l=s<l?s:l),l=r-u}else{for(s=i-r;l<s&&0<=o(t,e[n+r+l]);)(l=1+((a=l)<<1))<=0&&(l=s);s<l&&(l=s),a+=r,l+=r}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function d(f,g){var o,a,m=y,s=0;f.length;var v=[];function e(t){var e=o[t],n=a[t],i=o[t+1],r=a[t+1];a[t]=n+r,t===s-3&&(o[t+1]=o[t+2],a[t+1]=a[t+2]),s--;t=_(f[i],f,e,n,0,g);e+=t,0!=(n-=t)&&0!==(r=x(f[e+n-1],f,i,r,r-1,g))&&(n<=r?function(t,e,n,i){var r=0;for(r=0;r<e;r++)v[r]=f[t+r];var o=0,a=n,s=t;if(f[s++]=f[a++],0!=--i)if(1!==e){for(var l,u,c,h=m;;){u=l=0,c=!1;do{if(g(f[a],v[o])<0){if(f[s++]=f[a++],u++,(l=0)==--i){c=!0;break}}else if(f[s++]=v[o++],l++,u=0,1==--e){c=!0;break}}while((l|u)<h);if(c)break;do{if(0!==(l=_(f[a],v,o,e,0,g))){for(r=0;r<l;r++)f[s+r]=v[o+r];if(s+=l,o+=l,(e-=l)<=1){c=!0;break}}if(f[s++]=f[a++],0==--i){c=!0;break}if(0!==(u=x(v[o],f,a,i,0,g))){for(r=0;r<u;r++)f[s+r]=f[a+r];if(s+=u,a+=u,0===(i-=u)){c=!0;break}}if(f[s++]=v[o++],1==--e){c=!0;break}}while(h--,y<=l||y<=u);if(c)break;h<0&&(h=0),h+=2}if((m=h)<1&&(m=1),1===e){for(r=0;r<i;r++)f[s+r]=f[a+r];f[s+i]=v[o]}else{if(0===e)throw new Error;for(r=0;r<e;r++)f[s+r]=v[o+r]}}else{for(r=0;r<i;r++)f[s+r]=f[a+r];f[s+i]=v[o]}else for(r=0;r<e;r++)f[s+r]=v[o+r]}:function(t,e,n,i){var r=0;for(r=0;r<i;r++)v[r]=f[n+r];var o=t+e-1,a=i-1,s=n+i-1,l=0,u=0;if(f[s--]=f[o--],0!=--e)if(1!==i){for(var c=m;;){var h=0,d=0,p=!1;do{if(g(v[a],f[o])<0){if(f[s--]=f[o--],h++,(d=0)==--e){p=!0;break}}else if(f[s--]=v[a--],d++,h=0,1==--i){p=!0;break}}while((h|d)<c);if(p)break;do{if(0!==(h=e-_(v[a],f,t,e,e-1,g))){for(e-=h,u=(s-=h)+1,l=(o-=h)+1,r=h-1;0<=r;r--)f[u+r]=f[l+r];if(0===e){p=!0;break}}if(f[s--]=v[a--],1==--i){p=!0;break}if(0!==(d=i-x(f[o],v,0,i,i-1,g))){for(i-=d,u=(s-=d)+1,l=(a-=d)+1,r=0;r<d;r++)f[u+r]=v[l+r];if(i<=1){p=!0;break}}if(f[s--]=f[o--],0==--e){p=!0;break}}while(c--,y<=h||y<=d);if(p)break;c<0&&(c=0),c+=2}if((m=c)<1&&(m=1),1===i){for(u=(s-=e)+1,l=(o-=e)+1,r=e-1;0<=r;r--)f[u+r]=f[l+r];f[s]=v[a]}else{if(0===i)throw new Error;for(l=s-(i-1),r=0;r<i;r++)f[l+r]=v[r]}}else{for(u=(s-=e)+1,l=(o-=e)+1,r=e-1;0<=r;r--)f[u+r]=f[l+r];f[s]=v[a]}else for(l=s-(i-1),r=0;r<i;r++)f[l+r]=v[r]})(e,n,i,r)}o=[],a=[],this.mergeRuns=function(){for(;1<s;){var t=s-2;if(1<=t&&a[t-1]<=a[t]+a[t+1]||2<=t&&a[t-2]<=a[t]+a[t-1])a[t-1]<a[t+1]&&t--;else if(a[t]>a[t+1])break;e(t)}},this.forceMergeRuns=function(){for(;1<s;){var t=s-2;0<t&&a[t-1]<a[t+1]&&t--,e(t)}},this.pushRun=function(t,e){o[s]=t,a[s]=e,s+=1}}t.exports=function(t,e,n,i){var r=(i=i||t.length)-(n=n||0);if(!(r<2)){var o=0;if(r<u)h(t,n,i,n+(o=c(t,n,i,e)),e);else{var a,s=new d(t,e),l=function(t){for(var e=0;u<=t;)e|=1&t,t>>=1;return t+e}(r);do{}while((o=c(t,n,i,e))<l&&(h(t,n,n+(a=l<(a=r)?l:a),n+o,e),o=a),s.pushRun(n,o),s.mergeRuns(),n+=o,0!==(r-=o));s.forceMergeRuns()}}}},function(t,e,n){var u=n(631),c=n(274).ContextCachedBy,h=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],n=function(t){this.extendFrom(t,!1)};function a(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;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;return t.createLinearGradient(i,o,r,a)}function s(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 i=n.prototype={constructor:n,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 i=this,r=n&&n.style,o=!r||t.__attrCachedBy!==c.STYLE_BIND;t.__attrCachedBy=c.STYLE_BIND;for(var a=0;a<h.length;a++){var s=h[a],l=s[0];!o&&i[l]===r[l]||(t[l]=u(t,l,i[l]||s[1]))}!o&&i.fill===r.fill||(t.fillStyle=i.fill),!o&&i.stroke===r.stroke||(t.strokeStyle=i.stroke),!o&&i.opacity===r.opacity||(t.globalAlpha=null==i.opacity?1:i.opacity),!o&&i.blend===r.blend||(t.globalCompositeOperation=i.blend||"source-over"),this.hasStroke()&&(n=i.lineWidth,t.lineWidth=n/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1))},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&0<this.lineWidth},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?s:a)(t,e,n),r=e.colorStops,o=0;o<r.length;o++)i.addColorStop(r[o].offset,r[o].color);return i}},r=0;r<h.length;r++){var o=h[r];o[0]in i||(i[o[0]]=o[1])}n.getGradient=i.getGradient,t.exports=n},function(t,e,n){var a=new(n(630))(50);function s(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function l(t){return t&&t.width&&t.height}e.findExistImage=function(t){return"string"!=typeof t?t:(t=a.get(t))&&t.image},e.createOrUpdateImage=function(t,e,n,i,r){if(t){if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var o=a.get(t),r={hostEl:n,cb:i,cbPayload:r};return o?l(e=o.image)||o.pending.push(r):((e=new Image).onload=e.onerror=s,a.put(t,e.__cachedImgObj={image:e,pending:[r]}),e.src=e.__zrImageSrc=t),e}return e},e.isImageReady=l},function(t,e,n){var i=n(35),a=n(635),s=n(334).subPixelOptimizeRect,l={},i=i.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n,i,r,o;this.subPixelOptimize?(s(l,e,this.style),n=l.x,i=l.y,r=l.width,o=l.height,l.r=e.r,e=l):(n=e.x,i=e.y,r=e.width,o=e.height),e.r?a.buildPath(t,e):t.rect(n,i,r,o),t.closePath()}});t.exports=i},function(t,e){var a=Math.round;function s(t,e,n){if(!e)return t;t=a(2*t);return(t+a(e))%2==0?t/2:(t+(n?1:-1))/2}e.subPixelOptimizeLine=function(t,e,n){var i,r,o;e&&(i=e.x1,r=e.x2,o=e.y1,e=e.y2,t.x1=i,t.x2=r,t.y1=o,t.y2=e,(n=n&&n.lineWidth)&&(a(2*i)===a(2*r)&&(t.x1=t.x2=s(i,n,!0)),a(2*o)===a(2*e)&&(t.y1=t.y2=s(o,n,!0))))},e.subPixelOptimizeRect=function(t,e,n){var i,r,o;e&&(i=e.x,r=e.y,o=e.width,e=e.height,t.x=i,t.y=r,t.width=o,t.height=e,(n=n&&n.lineWidth)&&(t.x=s(i,n,!0),t.y=s(r,n,!0),t.width=Math.max(s(i+o,n,!1)-t.x,0===o?0:1),t.height=Math.max(s(r+e,n,!1)-t.y,0===e?0:1)))},e.subPixelOptimize=s},function(t,e,n){var i=n(1),a=n(276),n=function(t,e,n,i,r,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==i?0:i,this.type="linear",this.global=o||!1,a.call(this,r)};n.prototype={constructor:n},i.inherits(n,a),t.exports=n},function(t,e,n){var i=n(1).inherits,r=n(156),o=n(30);function a(t){r.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}a.prototype.incremental=!0,a.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},a.prototype.addDisplayable=function(t,e){(e?this._temporaryDisplayables:this._displayables).push(t),this.dirty()},a.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},a.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},a.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++)(e=this._displayables[t]).parent=this,e.update(),e.parent=null;for(var e,t=0;t<this._temporaryDisplayables.length;t++)(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null},a.prototype.brush=function(t,e){for(var n=this._cursor;n<this._displayables.length;n++)(i=this._displayables[n]).beforeBrush&&i.beforeBrush(t),i.brush(t,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(t);this._cursor=n;for(var i,n=0;n<this._temporaryDisplayables.length;n++)(i=this._temporaryDisplayables[n]).beforeBrush&&i.beforeBrush(t),i.brush(t,0===n?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(t);this._temporaryDisplayables=[],this.notClear=!0};var s=[];a.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(s)),t.union(i)}this._rect=t}return this._rect},a.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0;return!1},i(a,r),t.exports=a},function(t,e,n){var s=n(104).retrieveRawValue,i=n(26),h=i.getTooltipMarker,l=i.formatTpl,d=n(17).getTooltipRenderMode,u=/\{@(.+?)\}/g;t.exports={getDataParams:function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"color"),l=n.getItemVisual(t,"borderColor"),u=this.ecModel.getComponent("tooltip"),c=u&&u.get("renderMode"),t=d(c),u=this.mainType,c="series"===u,n=n.userOutput;return{componentType:u,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:s,borderColor:l,dimensionNames:n?n.dimensionNames:null,encode:n?n.encode:null,marker:h({color:s,renderMode:t}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(i,t,e,n,r){t=t||"normal";var o=this.getData(e),a=o.getItemModel(i),e=this.getDataParams(i,e);null!=n&&e.value instanceof Array&&(e.value=e.value[n]);r=a.get("normal"===t?[r||"label","formatter"]:[t,r||"label","formatter"]);return"function"==typeof r?(e.status=t,e.dimensionIndex=n,r(e)):"string"==typeof r?l(r,e).replace(u,function(t,e){var n=e.length;return"["===e.charAt(0)&&"]"===e.charAt(n-1)&&(e=+e.slice(1,n-1)),s(o,i,e)}):void 0},getRawValue:function(t,e){return s(this.getData(e),t)},formatTooltip:function(){}}},function(t,e,n){var i=n(1),f=(i.assert,i.isArray);n(20).__DEV__;function r(t){this._reset=(t=t||{}).reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}n=r.prototype;n.perform=function(t){var e,n=this._upstream,i=t&&t.skip;this._dirty&&n&&((o=this.context).data=o.outputData=n.context.outputData),this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var r=l(this._modBy),o=this._modDataCount||0,a=l(t&&t.modBy),s=t&&t.modDataCount||0;function l(t){return t=!(1<=t)?1:t}r===a&&o===s||(e="reset"),!this._dirty&&"reset"!==e||(this._dirty=!1,p=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),f(n)&&!n.length&&(n=null));t._progress=n,t._modBy=t._modDataCount=null;t=t._downstream;return t&&t.dirty(),i}(this,i)),this._modBy=a,this._modDataCount=s;t=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var u=this._dueIndex,c=Math.min(null!=t?this._dueIndex+t:1/0,this._dueEnd);if(!i&&(p||u<c)){var h=this._progress;if(f(h))for(var d=0;d<h.length;d++)g(this,h[d],u,c,a,s);else g(this,h,u,c,a,s)}this._dueIndex=c;var p=null!=this._settedOutputEnd?this._settedOutputEnd:c;this._outputDueEnd=p}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var o,a,s,l,u,c,h=c={reset:function(t,e,n,i){a=t,o=e,s=n,l=i,u=Math.ceil(l/s),c.next=1<s&&0<l?p:d}};function d(){return a<o?a++:null}function p(){var t=a%u*s+Math.ceil(a/u),t=o<=a?null:t<l?t:a;return a++,t}function g(t,e,n,i,r,o){h.reset(n,i,r,o),t._callingProgress=e,t._callingProgress({start:n,end:i,count:i-n,next:h.next},t.context)}n.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},n.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},n.pipe=function(t){this._downstream===t&&!this._dirty||((this._downstream=t)._upstream=this,t.dirty())},n.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},n.getUpstream=function(){return this._upstream},n.getDownstream=function(){return this._downstream},n.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e.createTask=function(t){return new r(t)}},function(t,e,n){n(20).__DEV__;var i=n(1),r=i.createHashMap,o=i.isString,a=i.isArray,s=i.each,l=(i.assert,n(651).parseXML),u=r(),r={registerMap:function(t,e,n){n=a(e)?e:e.svg?[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),[{type:"geoJSON",source:e,specialAreas:n}]);return s(n,function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,c[e])(t)}),u.set(t,n)},retrieveMap:function(t){return u.get(t)}},c={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports=r},function(t,e,n){n(20).__DEV__;var i=n(1),r=i.isObject,u=i.each,o=i.map,l=i.indexOf,s=(i.retrieve,n(21).getLayoutRect),i=n(67),c=i.createScaleByModel,a=i.ifAxisCrossZero,h=i.niceScaleExtent,d=i.estimateLabelUnionRect,p=n(880),f=n(882),i=n(66),g=n(73).getStackedDimension;function m(t,e){return t.getCoordSysModel()===e}function v(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}n(883);n=v.prototype;function y(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],e=n.model,n=e.get("axisLine.onZero"),e=e.get("axisLine.onZeroAxisIndex");if(n){if(null!=e)x(o[e])&&(r=o[e]);else for(var a in o)if(o.hasOwnProperty(a)&&x(o[a])&&!i[s(o[a])]){r=o[a];break}r&&(i[s(r)]=!0)}function s(t){return t.dim+"_"+t.index}}function x(t){return t&&"category"!==t.type&&"time"!==t.type&&a(t)}n.type="grid",n.axisPointerEnabled=!0,n.getRect=function(){return this._rect},n.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),u(n.x,function(t){h(t.scale,t.model)}),u(n.y,function(t){h(t.scale,t.model)});var i={};u(n.x,function(t){y(n,"y",t,i)}),u(n.y,function(t){y(n,"x",t,i)}),this.resize(this.model,e)},n.resize=function(t,e,n){var a=s(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=a;var i=this._axesList;function r(){u(i,function(t){var e,n,i=t.isHorizontal(),r=i?[0,a.width]:[0,a.height],o=t.inverse?1:0;t.setExtent(r[o],r[1-o]),t=t,e=i?a.x:a.y,i=t.getExtent(),n=i[0]+i[1],t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}})}r(),!n&&t.get("containLabel")&&(u(i,function(t){var e,n,i;t.model.get("axisLabel.inside")||(e=d(t))&&(n=t.isHorizontal()?"height":"width",i=t.model.get("axisLabel.margin"),a[n]-=e[n]+i,"top"===t.position?a.y+=e.height+i:"left"===t.position&&(a.x+=e.width+i))}),r())},n.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},n.getAxes=function(){return this._axesList.slice()},n.getCartesian=function(t,e){if(null!=t&&null!=e)return this._coordsMap["x"+t+"y"+e];r(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===t||i[n].getAxis("y").index===e)return i[n]},n.getCartesians=function(){return this._coordsList.slice()},n.convertToPixel=function(t,e,n){e=this._findConvertTarget(t,e);return e.cartesian?e.cartesian.dataToPoint(n):e.axis?e.axis.toGlobalCoord(e.axis.dataToCoord(n)):null},n.convertFromPixel=function(t,e,n){e=this._findConvertTarget(t,e);return e.cartesian?e.cartesian.pointToData(n):e.axis?e.axis.coordToData(e.axis.toLocalCoord(n)):null},n._findConvertTarget=function(t,e){var n,i,r=e.seriesModel,o=e.xAxisModel||r&&r.getReferringComponents("xAxis")[0],a=e.yAxisModel||r&&r.getReferringComponents("yAxis")[0],s=e.gridModel,e=this._coordsList;return r?(n=r.coordinateSystem,l(e,n)<0&&(n=null)):o&&a?n=this.getCartesian(o.componentIndex,a.componentIndex):o?i=this.getAxis("x",o.componentIndex):a?i=this.getAxis("y",a.componentIndex):s&&s.coordinateSystem===this&&(n=this._coordsList[0]),{cartesian:n,axis:i}},n.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},n._initCartesian=function(o,t,e){var a={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},l={x:0,y:0};if(t.eachComponent("xAxis",n("x"),this),t.eachComponent("yAxis",n("y"),this),!l.x||!l.y)return this._axesMap={},void(this._axesList=[]);function n(r){return function(t,e){var n,i;m(t,o)&&(i=t.get("position"),"x"===r?"top"!==i&&"bottom"!==i&&(i=a.bottom?"top":"bottom"):"left"!==i&&"right"!==i&&(i=a.left?"right":"left"),a[i]=!0,i="category"===(n=new f(r,c(t),[0,0],t.get("type"),i)).type,n.onBand=i&&t.get("boundaryGap"),n.inverse=t.get("inverse"),(t.axis=n).model=t,n.grid=this,n.index=e,this._axesList.push(n),s[r][e]=n,l[r]++)}}this._axesMap=s,u(s.x,function(i,r){u(s.y,function(t,e){var n="x"+r+"y"+e,e=new p(n);e.grid=this,e.model=o,this._coordsMap[n]=e,this._coordsList.push(e),e.addAxis(i),e.addAxis(t)},this)},this)},n._updateScale=function(t,r){function o(e,n){u(e.mapDimension(n.dim,!0),function(t){n.scale.unionExtentFromData(e,g(e,t))})}u(this._axesList,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeries(function(t){var e,n,i;S(t)&&(e=(i=b(t))[0],n=i[1],m(e,r)&&m(n,r)&&(i=this.getCartesian(e.componentIndex,n.componentIndex),e=t.getData(),n=i.getAxis("x"),i=i.getAxis("y"),"list"===e.type&&(o(e,n),o(e,i))))},this)},n.getTooltipAxes=function(n){var i=[],r=[];return u(this.getCartesians(),function(t){var e=null!=n&&"auto"!==n?t.getAxis(n):t.getBaseAxis(),t=t.getOtherAxis(e);l(i,e)<0&&i.push(e),l(r,t)<0&&r.push(t)}),{baseAxes:i,otherAxes:r}};var _=["xAxis","yAxis"];function b(e){return o(_,function(t){return e.getReferringComponents(t)[0]})}function S(t){return"cartesian2d"===t.get("coordinateSystem")}v.create=function(i,r){var o=[];return i.eachComponent("grid",function(t,e){var n=new v(t,i,r);n.name="grid_"+e,n.resize(t,r,!0),t.coordinateSystem=n,o.push(n)}),i.eachSeries(function(t){var e,n,i;S(t)&&(e=(i=b(t))[0],n=i[1],i=e.getCoordSysModel().coordinateSystem,t.coordinateSystem=i.getCartesian(e.componentIndex,n.componentIndex))}),o},v.dimensions=v.prototype.dimensions=p.prototype.dimensions,i.register("cartesian2d",v),t.exports=v},function(t,e,n){var s=n(104).retrieveRawValue;e.getDefaultLabel=function(t,e){var n=t.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return s(t,e,n[0]);if(i){for(var r=[],o=0;o<n.length;o++){var a=s(t,e,n[o]);r.push(a)}return r.join(" ")}}},function(t,e,n){var s=n(1),i=n(78),l=n(8),o=n(283),u=n(70),c=n(87),a=(0,n(17).makeInner)(),h=s.clone,d=s.bind;function r(){}function p(t,e,n,i){!function n(i,t){{if(s.isObject(i)&&s.isObject(t)){var r=!0;return s.each(t,function(t,e){r=r&&n(i[e],t)}),!!r}return i===t}}(a(n).lastProp,i)&&(a(n).lastProp=i,e?l.updateProps(n,i,t):(n.stopAnimation(),n.attr(i)))}function f(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}i.enableClassExtend((r.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,i=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(i&&i.hide());a&&a.show(),i&&i.show();o={};this.makeElOption(o,r,t,e,n);i=o.graphicKey;i!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=i;i=this._moveAnimation=this.determineAnimation(t,e);a?(i=s.curry(p,e,i),this.updatePointerEl(a,o,i,e),this.updateLabelEl(a,o,i,e)):(a=this._group=new l.Group,this.createPointerEl(a,o,t,e),this.createLabelEl(a,o,t,e),n.getZr().add(a)),m(a,e,!0),this._renderHandle(r)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,e=e.get("snap");if(!e&&!r)return!1;if("auto"!==n&&null!=n)return!0===n;n=this.animationThreshold;if(r&&i.getBandWidth()>n)return!0;if(e){t=o.getAxisInfo(t).seriesDataCount,i=i.getExtent();return Math.abs(i[0]-i[1])/t>n}return!1},makeElOption:function(t,e,n,i,r){},createPointerEl:function(t,e,n,i){var r=e.pointer;r&&(e=a(t).pointerEl=new l[r.type](h(e.pointer)),t.add(e))},createLabelEl:function(t,e,n,i){e.label&&(e=a(t).labelEl=new l.Rect(h(e.label)),t.add(e),f(e,i))},updatePointerEl:function(t,e,n){t=a(t).pointerEl;t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){t=a(t).labelEl;t&&(t.setStyle(e.label.style),n(t,{shape:e.label.shape,position:e.label.position}),f(t,i))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=l.createIcon(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){u.stop(t.event)},onmousedown:d(this._onHandleDragMove,this,0,0),drift:d(this._onHandleDragMove,this),ondragend:d(this._onHandleDragEnd,this)}),i.add(r)),m(r,n,!1);r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));n=o.get("size");s.isArray(n)||(n=[n,n]),r.attr("scale",[n[0]/2,n[1]/2]),c.createOrUpdate(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){p(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;n&&(this._dragging=!0,e=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=e,n.stopAnimation(),n.attr(g(e)),a(n).lastProp=null,this._doDispatchAxisPointer())},_doDispatchAxisPointer:function(){var t,e;this._handle&&(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){var e;this._dragging=!1,this._handle&&(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,t=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),t&&e.remove(t),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]}}}).constructor=r),t.exports=r},function(t,e,n){var i=n(4);n(670),n(897),n(671);var r=n(898),n=n(43);i.registerProcessor(i.PRIORITY.PROCESSOR.SERIES_FILTER,r),n.registerSubTypeDefaulter("legend",function(){return"plain"})},function(t,e,n){var i=n(4);n(901),n(902);var r=n(107),o=n(166),a=n(904);n(163),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(4),r=n(1);n(905),n(906);var o=n(677),a=n(168),s=n(907),n=n(169);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(n("pie"))},function(t,e,n){var i=n(1);t.exports={updateSelectedMap:function(t){this._targetList=i.isArray(t)?t.slice():[],this._selectTargetMap=i.reduce(t||[],function(t,e){return t.set(e.name,e),t},i.createHashMap())},select:function(t,e){t=null!=e?this._targetList[e]:this._selectTargetMap.get(t);"single"===this.get("selectedMode")&&this._selectTargetMap.each(function(t){t.selected=!1}),t&&(t.selected=!0)},unSelect:function(t,e){t=null!=e?this._targetList[e]:this._selectTargetMap.get(t);t&&(t.selected=!1)},toggleSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=n)return this[n.selected?"unSelect":"select"](t,e),n.selected},isSelected:function(t,e){t=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return t&&t.selected}}},function(t,e,n){var i=n(4);n(921),n(928),n(682),n(350);var r=n(930),o=n(931),a=n(932),s=n(933),n=n(677);i.registerLayout(r),i.registerVisual(o),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,a),i.registerPreprocessor(s),n("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},function(t,e){e.updateViewOnPan=function(t,e,n){var i=t.target;(t=i.position)[0]+=e,t[1]+=n,i.dirty()},e.updateViewOnZoom=function(t,e,n,i){var r=t.target,o=t.zoomLimit,a=r.position,s=r.scale,l=t.zoom=t.zoom||1;l*=e,o&&(u=o.min||0,o=o.max||1/0,l=Math.max(Math.min(o,l),u));var u=l/t.zoom;t.zoom=l,a[0]-=(n-a[0])*(u-1),a[1]-=(i-a[1])*(u-1),s[0]*=u,s[1]*=u,r.dirty()}},function(t,e){e.updateCenterAndZoom=function(t,e,n){var i,r,o=t.getZoom(),a=t.getCenter(),s=e.zoom,l=t.dataToPoint(a);return null!=e.dx&&null!=e.dy&&(l[0]-=e.dx,l[1]-=e.dy,a=t.pointToData(l),t.setCenter(a)),null!=s&&(n&&(r=n.min||0,i=n.max||1/0,s=Math.max(Math.min(o*s,i),r)/o),t.scale[0]*=s,t.scale[1]*=s,i=t.position,r=(e.originX-i[0])*(s-1),e=(e.originY-i[1])*(s-1),i[0]-=r,i[1]-=e,t.updateTransform(),a=t.pointToData(l),t.setCenter(a),t.setZoom(s*o)),{center:t.getCenter(),zoom:t.getZoom()}}},function(t,e,n){n(20).__DEV__;var i=n(4),l=n(1),u=n(929),c=n(21),h=n(13),a=n(286),d=n(339);function p(t,e){var n=t.get("boundingCoords");null!=n&&(s=n[0],a=n[1],isNaN(s[0])||isNaN(s[1])||isNaN(a[0])||isNaN(a[1])||this.setBoundingRect(s[0],s[1],a[0]-s[0],a[1]-s[1]));var i,r=this.getBoundingRect(),o=t.get("layoutCenter"),n=t.get("layoutSize"),a=e.getWidth(),s=e.getHeight(),e=r.width/r.height*this.aspectScale,r=!1;o&&n&&(o=[h.parsePercent(o[0],a),h.parsePercent(o[1],s)],n=h.parsePercent(n,Math.min(a,s)),isNaN(o[0])||isNaN(o[1])||isNaN(n)||(r=!0)),r?(i={},1<e?(i.width=n,i.height=n/e):(i.height=n,i.width=n*e),i.y=o[1]-i.height/2,i.x=o[0]-i.width/2):((o=t.getBoxLayoutParams()).aspect=e,i=c.getLayoutRect(o,{width:a,height:s})),this.setViewRect(i.x,i.y,i.width,i.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function f(n,t){l.each(t.get("geoCoord"),function(t,e){n.addGeoCoord(e,t)})}n={dimensions:u.prototype.dimensions,create:function(t,a){var s=[];t.eachComponent("geo",function(t,e){var n=t.get("map"),i=t.get("aspectScale"),r=!0,o=d.retrieveMap(n);o&&o[0]&&"svg"===o[0].type?(null==i&&(i=1),r=!1):null==i&&(i=.75);r=new u(n+e,n,t.get("nameMap"),r);r.aspectScale=i,r.zoomLimit=t.get("scaleLimit"),s.push(r),f(r,t),(t.coordinateSystem=r).model=t,r.resize=p,r.resize(t,a)}),t.eachSeries(function(t){var e;"geo"===t.get("coordinateSystem")&&(e=t.get("geoIndex")||0,t.coordinateSystem=s[e])});var n={};return t.eachSeriesByType("map",function(t){var e;t.getHostGeoModel()||(e=t.getMapType(),n[e]=n[e]||[],n[e].push(t))}),l.each(n,function(t,e){var n=l.map(t,function(t){return t.get("nameMap")}),i=new u(e,e,l.mergeAll(n));i.zoomLimit=l.retrieve.apply(null,l.map(t,function(t){return t.get("scaleLimit")})),s.push(i),i.resize=p,i.aspectScale=t[0].get("aspectScale"),i.resize(t[0],a),l.each(t,function(t){f(t.coordinateSystem=i,t)})}),s},getFilledRegions:function(t,e,n){for(var i=(t||[]).slice(),r=l.createHashMap(),o=0;o<i.length;o++)r.set(i[o].name,i[o]);n=a.load(e,n);return l.each(n.regions,function(t){t=t.name;r.get(t)||i.push({name:t})}),i}};i.registerCoordinateSystem("geo",n),t.exports=n},function(t,e,n){var i=n(1),o=n(29),r=n(52),a=n(30),s=n(272),l=o.applyTransform;function u(){s.call(this)}function c(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function h(t,e,n,i){n=n.seriesModel,n=n?n.coordinateSystem:null;return n===this?n[t](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,i){return this._rect=new a(t,e,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,i){this.transformTo(t,e,n,i),this._viewRect=new a(t,e,n,i)},transformTo:function(t,e,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new a(t,e,n,i)),o.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom(),i=o.applyTransform([],i,t),n=o.applyTransform([],n,t);e.origin=i,e.position=[n[0]-i[0],n[1]-i[1]],e.scale=[r,r],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;(e.parent=t).updateTransform(),e.updateTransform(),r.copy(this.transform||(this.transform=[]),e.transform||r.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],r.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var t=this._roamTransformable.transform,e=this._rawTransformable;return{roamTransform:t?i.slice(t):r.create(),rawScale:i.slice(e.scale),rawPosition:i.slice(e.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,n){e=e?this._rawTransform:this.transform;return n=n||[],e?l(n,t,e):o.copy(n,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:i.curry(h,"dataToPoint"),convertFromPixel:i.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},i.mixin(c,s),t.exports=c},function(t,e,n){function c(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e}var h=n(1),i=n(686),r=n(60),o=n(131);function a(t){this.root,this.data,this._nodes=[],this.hostModel=t}function d(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}c.prototype={constructor:c,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,n){"function"==typeof t&&(n=e,e=t,t=null);var i,r=(t=h.isString(t=t||{})?{order:t}:t).order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var a=0;!i&&a<o.length;a++)o[a].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},contains:function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},getAncestors:function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,e){0<=this.dataIndex&&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){0<=this.dataIndex&&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)}},a.prototype={constructor:a,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){t=this.data.getRawIndex(t);return this._nodes[t]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},a.createTree=function(t,e,n){var s=new a(e),l=[],u=1;!function t(e,n){var i=e.value;u=Math.max(u,h.isArray(i)?i.length:1);l.push(e);var r=new c(e.name,s);n?d(r,n):s.root=r;s._nodes.push(r);var o=e.children;if(o)for(var a=0;a<o.length;a++)t(o[a],r)}(t),s.root.updateDepthAndHeight(0);t=o(l,{coordDimensions:["value"],dimensionsCount:u}),e=new r(t,e);return e.initData(l),n&&n(e),i({mainData:e,struct:s,structAttr:"tree"}),s.update(),s},t.exports=a},function(t,e,n){var i=n(8),r=n(354);function o(t){this._ctor=t||r,this.group=new i.Group}n=o.prototype;function s(t){t=t.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function a(t){return isNaN(t[0])||isNaN(t[1])}function l(t){return!a(t[0])&&!a(t[1])}n.isPersistent=function(){return!0},n.updateData=function(r){var o=this,e=o.group,n=o._lineData;o._lineData=r,n||e.removeAll();var a=s(r);r.diff(n).add(function(t){var e,n,i;e=o,n=t,i=a,l((t=r).getItemLayout(n))&&(i=new e._ctor(t,n,i),t.setItemGraphicEl(n,i),e.group.add(i))}).update(function(t,e){!function(t,e,n,i,r,o){i=e.getItemGraphicEl(i);l(n.getItemLayout(r))?(i?i.updateData(n,r,o):i=new t._ctor(n,r,o),n.setItemGraphicEl(r,i),t.group.add(i)):t.group.remove(i)}(o,n,r,e,t,a)}).remove(function(t){e.remove(n.getItemGraphicEl(t))}).execute()},n.updateLayout=function(){var n=this._lineData;n&&n.eachItemGraphicEl(function(t,e){t.updateLayout(n,e)},this)},n.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},n.incrementalUpdate=function(t,e){function n(t){var e;t.isGroup||(e=t).animators&&0<e.animators.length||(t.incremental=t.useHoverLayer=!0)}for(var i,r=t.start;r<t.end;r++)l(e.getItemLayout(r))&&((i=new this._ctor(e,r,this._seriesScope)).traverse(n),this.group.add(i),e.setItemGraphicEl(r,i))},n.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},n._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=o},function(t,e,n){var f=n(1),b=n(29),a=n(56),s=n(954),g=n(8),m=n(13).round,v=["fromSymbol","toSymbol"];function l(t){return"_"+t+"Type"}function u(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,"color"),o=e.getItemVisual(n,t+"Size"),n=e.getItemVisual(n,t+"Rotate");f.isArray(o)||(o=[o,o]);r=a.createSymbol(i,-o[0]/2,-o[1]/2,o[0],o[1],r);return r.__specifiedRotation=null==n||isNaN(n)?void 0:+n*Math.PI/180||0,r.name=t,r}}function c(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;e=e[2];e?(t.cpx1=e[0],t.cpy1=e[1]):(t.cpx1=NaN,t.cpy1=NaN)}function i(t,e,n){g.Group.call(this),this._createLine(t,e,n)}n=i.prototype;n.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),n=this.childOfName("label");if(t||e||!n.ignore){for(var i=1,r=this.parent;r;)r.scale&&(i/=r.scale[0]),r=r.parent;var o=this.childOfName("line");if(this.__dirty||o.__dirty){var a,s,l,u,c,h=o.shape.percent,d=o.pointAt(0),p=o.pointAt(h),f=b.sub([],p,d);if(b.normalize(f,f),t&&(t.attr("position",d),null==(a=t.__specifiedRotation)?(g=o.tangentAt(0),t.attr("rotation",Math.PI/2-Math.atan2(g[1],g[0]))):t.attr("rotation",a),t.attr("scale",[i*h,i*h])),e&&(e.attr("position",p),null==(a=e.__specifiedRotation)?(g=o.tangentAt(1),e.attr("rotation",-Math.PI/2-Math.atan2(g[1],g[0]))):e.attr("rotation",a),e.attr("scale",[i*h,i*h])),!n.ignore){n.attr("position",p);var g,e=n.__labelDistance,m=e[0]*i,v=e[1]*i,e=h/2,h=[(g=o.tangentAt(e))[1],-g[0]],y=o.pointAt(e);0<h[1]&&(h[0]=-h[0],h[1]=-h[1]);var x,_=g[0]<0?-1:1;switch("start"!==n.__position&&"end"!==n.__position&&(h=-Math.atan2(g[1],g[0]),p[0]<d[0]&&(h=Math.PI+h),n.attr("rotation",h)),n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":x=-v,u="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":x=v,u="top";break;default:x=0,u="middle"}switch(n.__position){case"end":s=[f[0]*m+p[0],f[1]*v+p[1]],l=.8<f[0]?"left":f[0]<-.8?"right":"center",u=.8<f[1]?"top":f[1]<-.8?"bottom":"middle";break;case"start":s=[-f[0]*m+d[0],-f[1]*v+d[1]],l=.8<f[0]?"right":f[0]<-.8?"left":"center",u=.8<f[1]?"bottom":f[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":s=[m*_+d[0],d[1]+x],l=g[0]<0?"right":"left",c=[-m*_,-x];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":s=[y[0],y[1]+x],l="center",c=[0,-x];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":s=[-m*_+p[0],p[1]+x],l=0<=g[0]?"right":"left",c=[m*_,-x]}n.attr({style:{textVerticalAlign:n.__verticalAlign||u,textAlign:n.__textAlign||l},position:s,scale:[i,i],origin:c})}}}},n._createLine=function(n,i,t){var e,r=n.hostModel,o=n.getItemLayout(i),o=(e=o,c((o=new s({name:"line",subPixelOptimize:!0})).shape,e),o);o.shape.percent=0,g.initProps(o,{shape:{percent:1}},r,i),this.add(o);o=new g.Text({name:"label",lineLabelOriginalOpacity:1});this.add(o),f.each(v,function(t){var e=u(t,n,i);this.add(e),this[l(t)]=n.getItemVisual(i,t)},this),this._updateCommonStl(n,i,t)},n.updateData=function(i,r,t){var e=i.hostModel,n=this.childOfName("line"),o=i.getItemLayout(r),a={shape:{}};c(a.shape,o),g.updateProps(n,a,e,r),f.each(v,function(t){var e=i.getItemVisual(r,t),n=l(t);this[n]!==e&&(this.remove(this.childOfName(t)),t=u(t,i,r),this.add(t)),this[n]=e},this),this._updateCommonStl(i,r,t)},n._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.lineStyle,a=n&&n.hoverLineStyle,s=n&&n.labelModel,l=n&&n.hoverLabelModel;n&&!t.hasItemOption||(o=(n=t.getItemModel(e)).getModel("lineStyle").getLineStyle(),a=n.getModel("emphasis.lineStyle").getLineStyle(),s=n.getModel("label"),l=n.getModel("emphasis.label"));var u=t.getItemVisual(e,"color"),c=f.retrieve3(t.getItemVisual(e,"opacity"),o.opacity,1);r.useStyle(f.defaults({strokeNoScale:!0,fill:"none",stroke:u,opacity:c},o)),r.hoverStyle=a,f.each(v,function(t){t=this.childOfName(t);t&&(t.setColor(u),t.setStyle({opacity:c}))},this);var h,o=s.getShallow("show"),r=l.getShallow("show"),a=this.childOfName("label");(o||r)&&(h=u||"#000",null==(p=i.getFormattedLabel(e,"normal",t.dataType))&&(p=null==(d=i.getRawValue(e))?t.getName(e):isFinite(d)?m(d):d));var d=o?p:null,t=r?f.retrieve2(i.getFormattedLabel(e,"emphasis",t.dataType),p):null,p=a.style;null==d&&null==t||(g.setTextStyle(a.style,s,{text:d},{autoColor:h}),a.__textAlign=p.textAlign,a.__verticalAlign=p.textVerticalAlign,a.__position=s.get("position")||"middle",s=s.get("distance"),f.isArray(s)||(s=[s,s]),a.__labelDistance=s),a.hoverStyle=null!=t?{text:t,textFill:l.getTextColor(!0),fontStyle:l.getShallow("fontStyle"),fontWeight:l.getShallow("fontWeight"),fontSize:l.getShallow("fontSize"),fontFamily:l.getShallow("fontFamily")}:{text:null},a.ignore=!o&&!r,g.setHoverStyle(this)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},n.setLinePoints=function(t){var e=this.childOfName("line");c(e.shape,t),e.dirty()},f.inherits(i,g.Group),t.exports=i},function(t,e){e.getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,t=(t=e.scale)&&t[0]||1;return((e.getZoom()-1)*n+1)/t},e.getSymbolSize=function(t){return+(t=(t=t.getVisual("symbolSize"))instanceof Array?(t[0]+t[1])/2:t)}},function(t,e,n){n(20).__DEV__;var u=n(1),i=n(101),a=n(8),r=n(681),c=n(105),o=u.curry,h=u.each,s=u.map,l=Math.min,f=Math.max,d=Math.pow,p=1e4,g=6,m=6,v={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},y={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},x={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},_=0;function b(t){i.call(this),this._zr=t,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+_++,this._handlers={},h($,function(t,e){this._handlers[e]=u.bind(t,this)},this)}function S(t,e){var n=Q[e.brushType].createCover(t,e);return n.__brushOption=e,w(n,e),t.group.add(n),n}function A(t,e){var n=T(e);return n.endCreating&&(n.endCreating(t,e),w(e,e.__brushOption)),e}function M(t,e){var n=e.__brushOption;T(e).updateCoverShape(t,e,n.range,n)}function w(t,e){var n=e.z;null==n&&(n=p),t.traverse(function(t){t.z=n,t.z2=n})}function C(t,e){T(e).updateCommon(t,e),M(t,e)}function T(t){return Q[t.__brushOption.brushType]}function I(t,e,n){var i,r=t._panels;if(!r)return!0;var o=t._transform;return h(r,function(t){t.isTargetByCursor(e,n,o)&&(i=t)}),i}function D(t,e){t=t._panels;if(!t)return!0;e=e.__brushOption.panelId;return null==e||t[e]}function L(e){var t=e._covers,n=t.length;return h(t,function(t){e.group.remove(t)},e),t.length=0,n}function k(t,e){var n=s(t._covers,function(t){var e=t.__brushOption,t=u.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:t}});t.trigger("brush",n,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function N(t){var e=t.length-1;return[t[0],t[e=e<0?0:e]]}function O(e,n,t,i){var r=new a.Group;return r.add(new a.Rect({name:"main",style:z(t),silent:!0,draggable:!0,cursor:"move",drift:o(e,n,r,"nswe"),ondragend:o(k,n,{isEnd:!0})})),h(i,function(t){r.add(new a.Rect({name:t,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:o(e,n,r,t),ondragend:o(k,n,{isEnd:!0})}))}),r}function P(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=f(r,m),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],d=c-o+r/2,p=h-o+r/2,n=c-a,c=h-s,h=n+r,r=c+r;H(t,e,"main",a,s,n,c),i.transformable&&(H(t,e,"w",l,u,o,r),H(t,e,"e",d,u,o,r),H(t,e,"n",l,u,h,o),H(t,e,"s",l,p,h,o),H(t,e,"nw",l,u,o,o),H(t,e,"ne",d,u,o,o),H(t,e,"sw",l,p,o,o),H(t,e,"se",d,p,o,o))}function E(n,i){var t=i.__brushOption,r=t.transformable,e=i.childAt(0);e.useStyle(z(t)),e.attr({silent:!r,cursor:r?"move":"default"}),h(["w","e","n","s","se","sw","ne","nw"],function(t){var e=i.childOfName(t),t=function t(e,n){{if(1<n.length){n=n.split("");var i=[t(e,n[0]),t(e,n[1])];return"e"!==i[0]&&"w"!==i[0]||i.reverse(),i.join("")}var r={w:"left",e:"right",n:"top",s:"bottom"},o={left:"w",right:"e",top:"n",bottom:"s"},i=a.transformDirection(r[n],j(e));return o[i]}}(n,t);e&&e.attr({silent:!r,invisible:!r,cursor:r?y[t]+"-resize":null})})}function H(t,e,n,i,r,o,a){n=e.childOfName(n);n&&n.setShape((i=Y(t,e,[[i,r],[i+o,r+a]]),o=l(i[0][0],i[1][0]),r=l(i[0][1],i[1][1]),a=f(i[0][0],i[1][0]),i=f(i[0][1],i[1][1]),{x:o,y:r,width:a-o,height:i-r}))}function z(t){return u.defaults({strokeNoScale:!0},t.brushStyle)}function R(t,e,n,i){var r=[l(t,n),l(e,i)],i=[f(t,n),f(e,i)];return[[r[0],i[0]],[r[1],i[1]]]}function j(t){return a.getTransform(t.group)}function B(t,e,n,i,r,o,a,s){var l=i.__brushOption,u=t(l.range),c=F(n,o,a);h(r.split(""),function(t){t=v[t];u[t[0]][t[1]]+=c[t[0]]}),l.range=e(R(u[0][0],u[1][0],u[0][1],u[1][1])),C(n,i),k(n,{isEnd:!1})}function V(t,e,n,i,r){var o=e.__brushOption.range,a=F(t,n,i);h(o,function(t){t[0]+=a[0],t[1]+=a[1]}),C(t,e),k(t,{isEnd:!1})}function F(t,e,n){t=t.group,n=t.transformCoordToLocal(e,n),t=t.transformCoordToLocal(0,0);return[n[0]-t[0],n[1]-t[1]]}function Y(t,e,n){e=D(t,e);return e&&!0!==e?e.clipPath(n,t._transform):u.clone(n)}function X(t,e,n){if(t._brushType&&!function(t,e,n){t=t._zr;return e<0||e>t.getWidth()||n<0||n>t.getHeight()}(t,e)){var i=t._zr,r=t._covers,o=I(t,e,n);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(!0===o||s.panelId===o.panelId)&&Q[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}function W(t){t=t.event;t.preventDefault&&t.preventDefault()}function G(t,e,n){return t.childOfName("main").contain(e,n)}function U(t,e,n,i){var r,o,a=t._creatingCover,s=t._creatingPanel,l=t._brushOption;return t._track.push(n.slice()),function(t){if((n=t._track).length){var e=n[n.length-1],t=n[0],n=e[0]-t[0],t=e[1]-t[1],t=d(n*n+t*t,.5);return g<t}}(t)||a?(s&&!a&&("single"===l.brushMode&&L(t),(r=u.clone(l)).brushType=Z(r.brushType,s),r.panelId=!0===s?null:s.panelId,a=t._creatingCover=S(t,r),t._covers.push(a)),a&&(o=Q[Z(t._brushType,s)],a.__brushOption.range=o.getCreatingRange(Y(t,a,t._track)),i&&(A(t,a),o.updateCommon(t,a)),M(t,a),o={isEnd:i})):i&&"single"===l.brushMode&&l.removeOnClick&&I(t,e,n)&&L(t)&&(o={isEnd:i,removeOnClick:!0}),o}function Z(t,e){return"auto"===t?e.defaultBrushType:t}b.prototype={constructor:b,enableBrush:function(t){var e,n;return this._brushType&&(n=(e=this)._zr,r.release(n,"globalPan",e._uid),function(n,t){h(t,function(t,e){n.off(e,t)})}(n,e._handlers),e._brushType=e._brushOption=null),t.brushType&&function(t,e){var n=t._zr;t._enableGlobalPan||r.take(n,"globalPan",t._uid);(function(n,t){h(t,function(t,e){n.on(e,t)})})(n,t._handlers),t._brushType=e.brushType,t._brushOption=u.merge(u.clone(x),e,!0)}(this,t),this},setPanels:function(t){var e;return t&&t.length?(e=this._panels={},u.each(t,function(t){e[t.panelId]=u.clone(t)})):this._panels=null,this},mount:function(t){this._enableGlobalPan=(t=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){h(this._covers,t,e)},updateCovers:function(i){i=u.map(i,function(t){return u.merge(u.clone(x),t,!0)});var n="\0-brush-index-",r=this._covers,o=this._covers=[],a=this,s=this._creatingCover;return new c(r,i,function(t,e){return l(t.__brushOption,e)},l).add(t).update(t).remove(function(t){r[t]!==s&&a.group.remove(r[t])}).execute(),this;function l(t,e){return(null!=t.id?t.id:n+e)+"-"+t.brushType}function t(t,e){var n=i[t];null!=e&&r[e]===s?o[t]=r[e]:(n=o[t]=null!=e?(r[e].__brushOption=n,r[e]):A(a,S(a,n)),C(a,n))}},unmount:function(){return this.enableBrush(!1),L(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},u.mixin(b,i);var $={mousedown:function(t){var e;this._dragging?q(this,t):t.target&&t.target.draggable||(W(t),e=this.group.transformCoordToLocal(t.offsetX,t.offsetY),this._creatingCover=null,(this._creatingPanel=I(this,t,e))&&(this._dragging=!0,this._track=[e.slice()]))},mousemove:function(t){var e=t.offsetX,n=t.offsetY,n=this.group.transformCoordToLocal(e,n);X(this,t,n),this._dragging&&(W(t),(n=U(this,t,n,!1))&&k(this,n))},mouseup:function(t){q(this,t)}};function q(t,e){var n,i;t._dragging&&(W(e),n=e.offsetX,i=e.offsetY,i=t.group.transformCoordToLocal(n,i),i=U(t,e,i,!0),t._dragging=!1,t._track=[],t._creatingCover=null,i&&k(t,i))}var Q={lineX:K(0),lineY:K(1),rect:{createCover:function(t,e){return O(o(B,function(t){return t},function(t){return t}),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){t=N(t);return R(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(t,e,n,i){P(t,e,n,i)},updateCommon:E,contain:G},polygon:{createCover:function(t,e){var n=new a.Group;return n.add(new a.Polyline({name:"main",style:z(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new a.Polygon({name:"main",draggable:!0,drift:o(V,t,e),ondragend:o(k,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:Y(t,e,n)})},updateCommon:E,contain:G}};function K(a){return{createCover:function(t,e){return O(o(B,function(t){t=[t,[0,100]];return a&&t.reverse(),t},function(t){return t[a]}),t,e,[["w","e"],["n","s"]][a])},getCreatingRange:function(t){t=N(t);return[l(t[0][a],t[1][a]),f(t[0][a],t[1][a])]},updateCoverShape:function(t,e,n,i){var r=D(t,e),o=[n,!0!==r&&r.getLinearBrushOtherExtent?r.getLinearBrushOtherExtent(a,t._transform):[0,[(o=t._zr).getWidth(),o.getHeight()][1-a]]];a&&o.reverse(),P(t,e,o,i)},updateCommon:E,contain:G}}t.exports=b},function(t,e,n){n(20).__DEV__;var u=n(1),c=n(1037),h=n(13).parsePercent,i=n(67),r=i.createScaleByModel,a=i.niceScaleExtent,i=n(66),s=n(73).getStackedDimension;function d(t,e){var n,i=this,r=i.getAngleAxis(),o=i.getRadiusAxis();r.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){var e;t.coordinateSystem===i&&(e=t.getData(),u.each(e.mapDimension("radius",!0),function(t){o.scale.unionExtentFromData(e,s(e,t))}),u.each(e.mapDimension("angle",!0),function(t){r.scale.unionExtentFromData(e,s(e,t))}))}),a(r.scale,r.model),a(o.scale,o.model),"category"!==r.type||r.onBand||(n=r.getExtent(),t=360/r.scale.count(),r.inverse?n[1]+=t:n[1]-=t,r.setExtent(n[0],n[1]))}function p(t,e){var n;t.type=e.get("type"),t.scale=r(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType&&(t.inverse^=e.get("clockwise"),n=e.get("startAngle"),t.setExtent(n,n+(t.inverse?-360:360))),(e.axis=t).model=e}n(1040);n={dimensions:c.prototype.dimensions,create:function(n,s){var l=[];return n.eachComponent("polar",function(t,e){var n=new c(e);n.update=d;var i=n.getRadiusAxis(),r=n.getAngleAxis(),o=t.findAxisModel("radiusAxis"),a=t.findAxisModel("angleAxis");p(i,o),p(r,a),e=n,i=s,r=(o=t).get("center"),a=i.getWidth(),i=i.getHeight(),e.cx=h(r[0],a),e.cy=h(r[1],i),e=e.getRadiusAxis(),i=Math.min(a,i)/2,null==(o=o.get("radius"))?o=[0,"100%"]:u.isArray(o)||(o=[0,o]),o=[h(o[0],i),h(o[1],i)],e.inverse?e.setExtent(o[1],o[0]):e.setExtent(o[0],o[1]),l.push(n),(t.coordinateSystem=n).model=t}),n.eachSeries(function(t){var e;"polar"===t.get("coordinateSystem")&&(e=n.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0],t.coordinateSystem=e.coordinateSystem)}),l}};i.register("polar",n)},function(t,e,n){n(43).registerSubTypeDefaulter("dataZoom",function(){return"slider"})},function(t,e,n){var h=n(1),i=n(26),r=["cartesian2d","polar","singleAxis"];function o(t,a){t=t.slice();var s=h.map(t,i.capitalFirst);a=(a||[]).slice();var l=h.map(a,i.capitalFirst);return function(r,o){h.each(t,function(t,e){for(var n={name:t,capital:s[e]},i=0;i<a.length;i++)n[a[i]]=t+l[i];r.call(o,n)})}}n=o(["x","y","z","radius","angle","single"],["axisIndex","axis","index","id"]);e.isCoordSupported=function(t){return 0<=h.indexOf(r,t)},e.createNameEach=o,e.eachAxisDim=n,e.createLinkedNodesFinder=function(n,l,u){return function(t){var a,s={nodes:[],records:{}};if(l(function(t){s.records[t.name]={}}),!t)return s;for(c(t,s);a=!1,n(e),a;);function e(t){var n,i,r,e,o;e=t,o=s,0<=h.indexOf(o.nodes,e)||(n=t,i=s,r=!1,l(function(e){h.each(u(n,e)||[],function(t){i.records[e.name][t]&&(r=!0)})}),!r)||(c(t,s),a=!0)}return s};function c(t,n){n.nodes.push(t),l(function(e){h.each(u(t,e)||[],function(t){n.records[e.name][t]=!0})})}}},function(t,e,n){var i=n(4),n=n(1),r=n.createHashMap,o=n.each;i.registerProcessor({getTargetSeries:function(t){var i=r();return t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,e,n){e=n.getAxisProxy(t.name,e);o(e.getTargetSeriesModels(),function(t){i.set(t.uid,t)})})}),i},modifyOutputEnd:!0,overallReset:function(t,i){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(t,e,n){n.getAxisProxy(t.name,e).reset(n,i)}),t.eachTargetAxis(function(t,e,n){n.getAxisProxy(t.name,e).filterData(n,i)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy(),n=e.getDataPercentWindow(),e=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:e[0],endValue:e[1]})})}})},function(t,e,n){var i=n(4),o=n(1),a=n(359);i.registerAction("dataZoom",function(n,t){var i=a.createLinkedNodesFinder(o.bind(t.eachComponent,t,"dataZoom"),a.eachAxisDim,function(t,e){return t.get(e.axisIndex)}),r=[];t.eachComponent({mainType:"dataZoom",query:n},function(t,e){r.push.apply(r,i(t).nodes)}),o.each(r,function(t,e){t.setRawRange({start:n.start,end:n.end,startValue:n.startValue,endValue:n.endValue})})})},function(t,e,n){n(20).__DEV__;var i=n(4),s=n(1),r=n(38),o=n(17),a=n(26),n=n(337),l=a.addCommas,u=a.encodeHTML;function c(t){o.defaultEmphasis(t,"label",["show"])}i=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(r.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,i,e,r){var o=this.constructor,a=this.mainType+"Model";e||i.eachSeries(function(t){var e=t.get(this.mainType,!0),n=t[a];e&&e.data?(n?n._mergeOption(e,i,!0):(r&&c(e),s.each(e.data,function(t){t instanceof Array?(c(t[0]),c(t[1])):c(t)}),n=new o(e,this,i),s.extend(n,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),n.__hostSeries=t),t[a]=n):t[a]=null},this)},formatTooltip:function(t,e,n,i){var r=this.getData(),o=this.getRawValue(t),a=s.isArray(o)?s.map(o,l).join(", "):l(o),r=r.getName(t),t=u(this.name);return null==o&&!r||(t+="html"===i?"<br/>":"\n"),r&&(t+=u(r),null!=o&&(t+=" : ")),null!=o&&(t+=u(a)),t},getData:function(){return this._data},setData:function(t){this._data=t}});s.mixin(i,n),t.exports=i},function(t,e,n){var l=n(1),u=n(13),c=n(73).isDimensionStacked,h=l.indexOf;function i(t,e,n,i,r,o){var a=[],s=c(e,i)?e.getCalculationInfo("stackResultDimension"):i,t=f(e,s,t),t=e.indicesOfNearest(s,t)[0];a[r]=e.get(n,t),a[o]=e.get(s,t);s=e.get(i,t),t=u.getPrecision(e.get(i,t));return 0<=(t=Math.min(t,20))&&(a[o]=+a[o].toFixed(t)),[a,s]}var n=l.curry,d={min:n(i,"min"),max:n(i,"max"),average:n(i,"average")};function p(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<i.length;r++){var o=n.getDimensionInfo(i[r]);if(o.name===e)return o.coordDim}}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function f(t,e,n){if("average"!==n)return"median"===n?t.getMedian(e):t.getDataExtent(e,!0)["max"===n?1:0];var i=0,r=0;return t.each(e,function(t,e){isNaN(t)||(i+=t,r++)}),i/r}e.dataTransform=function(t,e){var n=t.getData(),i=t.coordinateSystem;if(e&&(o=e,isNaN(parseFloat(o.x))||isNaN(parseFloat(o.y)))&&!l.isArray(e.coord)&&i){var r=i.dimensions,o=p(e,n,i,t);if((e=l.clone(e)).type&&d[e.type]&&o.baseAxis&&o.valueAxis){i=h(r,o.baseAxis.dim),t=h(r,o.valueAxis.dim),t=d[e.type](n,o.baseDataDim,o.valueDataDim,i,t);e.coord=t[0],e.value=t[1]}else{for(var a=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],s=0;s<2;s++)d[a[s]]&&(a[s]=f(n,n.mapDimension(r[s]),a[s]));e.coord=a}}return e},e.getAxisInfo=p,e.dataFilter=function(t,e){return!(t&&t.containData&&e.coord&&(n=e,isNaN(parseFloat(n.x))&&isNaN(parseFloat(n.y))))||t.containData(e.coord);var n},e.dimValueGetter=function(t,e,n,i){return i<2?t.coord&&t.coord[i]:t.value},e.numCalculate=f},function(t,e,n){var i=n(4),r=n(1),i=i.extendComponentView({type:"marker",init:function(){this.markerGroupMap=r.createHashMap()},render:function(t,n,i){var e=this.markerGroupMap;e.each(function(t){t.__keep=!1});var r=this.type+"Model";n.eachSeries(function(t){var e=t[r];e&&this.renderSeries(t,e,n,i)},this),e.each(function(t){t.__keep||this.group.remove(t.group)},this)},renderSeries:function(){}});t.exports=i},function(t,e,n){n(711),n(720)},function(t,e,n){var M=n(367).createElement,i=n(129),r=n(30),w=n(52),C=n(55),T=n(275),I=n(103),_=i.CMD,o=Array.prototype.join,a="none",b=Math.round,S=Math.sin,A=Math.cos,D=Math.PI,L=2*Math.PI,k=180/D,s=1e-4;function N(t){return b(1e4*t)/1e4}function O(t){return t<s&&-s<t}function P(t,e){e&&c(t,"transform","matrix("+o.call(e,",")+")")}function c(t,e,n){n&&("linear"===n.type||"radial"===n.type)||t.setAttribute(e,n)}function E(t,e,n,i){var r,o;r=e,null!=(r=n?r.textFill:r.fill)&&r!==a?(c(t,"fill",o="transparent"===(o=n?e.textFill:e.fill)?a:o),c(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)):c(t,"fill",a),o=e,null!=(o=n?o.textStroke:o.stroke)&&o!==a?(c(t,"stroke",o="transparent"===(o=n?e.textStroke:e.stroke)?a:o),c(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?i.getLineScale():1)),c(t,"paint-order",n?"stroke":"fill"),c(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(c(t,"stroke-dasharray",e.lineDash.join(",")),c(t,"stroke-dashoffset",b(e.lineDashOffset||0))):c(t,"stroke-dasharray",""),e.lineCap&&c(t,"stroke-linecap",e.lineCap),e.lineJoin&&c(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&c(t,"stroke-miterlimit",e.miterLimit)):c(t,"stroke",a)}var l={};l.brush=function(t){var e=t.style,n=t.__svgEl;n||(n=M("path"),t.__svgEl=n),t.path||t.createPathProxy();var i=t.path;t.__dirtyPath&&(i.beginPath(),i.subPixelOptimize=!1,t.buildPath(i,t.shape),t.__dirtyPath=!1,(i=function(t){for(var e=[],n=t.data,i=t.len(),r=0;r<i;){var o="",a=0;switch(n[r++]){case _.M:o="M",a=2;break;case _.L:o="L",a=2;break;case _.Q:o="Q",a=4;break;case _.C:o="C",a=6;break;case _.A:var s=n[r++],l=n[r++],u=n[r++],c=n[r++],h=n[r++],d=n[r++],p=n[r++],f=n[r++],g=Math.abs(d),m=O(g-L)||(f?L<=d:L<=-d),v=!1,v=!!m||!O(g)&&D<=(0<d?d%L:d%L+L)==!!f,y=N(s+u*A(h)),g=N(l+c*S(h));m&&(d=f?L-1e-4:1e-4-L,v=!0,9===r&&e.push("M",y,g));s=N(s+u*A(h+d)),d=N(l+c*S(h+d));e.push("A",N(u),N(c),b(p*k),+v,+f,s,d);break;case _.Z:o="Z";break;case _.R:s=N(n[r++]),d=N(n[r++]),v=N(n[r++]),f=N(n[r++]);e.push("M",s,d,"L",s+v,d,"L",s+v,d+f,"L",s,d+f,"L",s,d)}o&&e.push(o);for(var x=0;x<a;x++)e.push(N(n[r++]))}return e.join(" ")}(i)).indexOf("NaN")<0&&c(n,"d",i)),E(n,e,!1,t),P(n,t.transform),null!=e.text?h(t,t.getBoundingRect()):d(t)};var n={brush:function(t){var e,n,i,r,o,a,s,l=t.style,u=l.image;(u=u instanceof HTMLImageElement?u.src:u)&&(e=l.x||0,n=l.y||0,i=l.width,r=l.height,(o=t.__svgEl)||(o=M("image"),t.__svgEl=o),u!==t.__imageSrc&&(a="href",s=u,o.setAttributeNS("http://www.w3.org/1999/xlink",a,s),t.__imageSrc=u),c(o,"width",i),c(o,"height",r),c(o,"x",e),c(o,"y",n),P(o,t.transform),null!=l.text?h(t,t.getBoundingRect()):d(t))}},i={},H=new r,z={},R=[],u={left:"start",right:"end",center:"middle",middle:"middle"},h=function(t,e){var n=t.style,i=t.transform,r=t instanceof I||n.transformText;t.__dirty&&T.normalizeTextStyle(n,!0);var o=n.text;if(null!=o&&(o+=""),T.needDrawText(o,n)){null==o&&(o=""),!r&&i&&(H.copy(e),H.applyTransform(i),e=H);var a=t.__textSvgEl;a||(a=M("text"),t.__textSvgEl=a);var s=a.style,l=n.font||C.DEFAULT_FONT,u=a.__computedFont;l!==a.__styleFont&&(s.font=a.__styleFont=l,u=a.__computedFont=s.font);var c=n.textPadding,h=n.textLineHeight,d=t.__textCotentBlock,l=(d=!d||t.__dirtyText?t.__textCotentBlock=C.parsePlainText(o,u,c,h,n.truncate):d).outerHeight,p=d.lineHeight;T.getBoxPosition(z,t,n,e);var s=z.baseX,u=z.baseY,f=z.textAlign||"left",h=z.textVerticalAlign;!function(t,e,n,i,r,o,a){w.identity(R),e&&n&&w.copy(R,n);n=i.textRotation;r&&n&&("center"===(i=i.textOrigin)?(o=r.width/2+r.x,a=r.height/2+r.y):i&&(o=i[0]+r.x,a=i[1]+r.y),R[4]-=o,R[5]-=a,w.rotate(R,R,n),R[4]+=o,R[5]+=a);P(t,R)}(a,r,i,n,e,s,u);var g=s,m=C.adjustTextY(u,l,h);c&&(l=s,h=c,g="right"===(s=f)?l-h[1]:"center"===s?l+h[3]/2-h[1]/2:l+h[3],m+=c[0]),m+=p/2,E(a,n,!0,t);var n=d.canCacheByTextString,v=t.__tspanList||(t.__tspanList=[]),y=v.length;if(n&&t.__canCacheByTextString&&t.__text===o){if(t.__dirtyText&&y)for(var x=0;x<y;++x)j(v[x],f,g,m+x*p)}else{t.__text=o,t.__canCacheByTextString=n;for(var _=d.lines,b=_.length,x=0;x<b;x++){var S=v[x],A=_[x];S?S.__zrText!==A&&(S.innerHTML="",S.appendChild(document.createTextNode(A))):(S=v[x]=M("tspan"),a.appendChild(S),S.appendChild(document.createTextNode(A))),j(S,f,g,m+x*p)}if(b<y){for(;x<y;x++)a.removeChild(v[x]);v.length=b}}}};function j(t,e,n,i){c(t,"dominant-baseline","middle"),c(t,"text-anchor",u[e]),c(t,"x",n),c(t,"y",i)}function d(t){t&&t.__textSvgEl&&(t.__textSvgEl.parentNode&&t.__textSvgEl.parentNode.removeChild(t.__textSvgEl),t.__textSvgEl=null,t.__tspanList=[],t.__text=null)}i.drawRectText=h,i.brush=function(t){null!=t.style.text?h(t,!1):d(t)},e.path=l,e.image=n,e.text=i},function(t,e){e.createElement=function(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}},function(t,e,n){var i=n(367).createElement,r=n(1),o=n(35),a=n(127),s=n(103),n=n(366),l=n.path,u=n.image,c=n.text;function h(t,e,n,i,r){this._zrId=t,this._svgRoot=e,this._tagNames="string"==typeof n?[n]:n,this._markLabel=i,this._domName=r||"_dom",this.nextId=0}h.prototype.createElement=i,h.prototype.getDefs=function(t){var e=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return 0===i.length?t?((i=e.insertBefore(this.createElement("defs"),e.firstChild)).contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;0<=n;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},h.prototype.update=function(t,e){var n;t&&(n=this.getDefs(!1),t[this._domName]&&n.contains(t[this._domName])?"function"==typeof e&&e(t):(e=this.add(t))&&(t[this._domName]=e))},h.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},h.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},h.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var n=[];return r.each(this._tagNames,function(t){t=e.getElementsByTagName(t);n=n.concat([].slice.call(t))}),n},h.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;r.each(t,function(t){t[e._markLabel]="0"})},h.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},h.prototype.removeUnused=function(){var t,e,n=this.getDefs(!1);n&&(t=this.getDoms(),e=this,r.each(t,function(t){"1"!==t[e._markLabel]&&n.removeChild(t)}))},h.prototype.getSvgProxy=function(t){return t instanceof o?l:t instanceof a?u:t instanceof s?c:l},h.prototype.getTextSvgElement=function(t){return t.__textSvgEl},h.prototype.getSvgElement=function(t){return t.__svgEl},t.exports=h},function(t,e,n){"use strict";e.__esModule=!0,e.cellProps=void 0;var i={icon:String,size:String,center:Boolean,isLink:Boolean,required:Boolean,clickable:Boolean,iconPrefix:String,titleStyle:null,titleClass:null,valueClass:null,labelClass:null,title:[Number,String],value:[Number,String],label:[Number,String],arrowDirection:String,border:{type:Boolean,default:!0}};e.cellProps=i},function(t,e,n){"use strict";e.__esModule=!0,e.formatMonthTitle=function(t){return o("monthTitle",t.getFullYear(),t.getMonth()+1)},e.compareMonth=a,e.compareDay=function(t,e){var n=a(t,e);if(0!==n)return n;t=t.getDate(),e=e.getDate();return t===e?0:e<t?1:-1},e.getDayByOffset=s,e.getPrevDay=function(t){return s(t,-1)},e.getNextDay=function(t){return s(t,1)},e.calcDateNum=function(t){var e=t[0].getTime();return(t[1].getTime()-e)/864e5+1},e.copyDate=l,e.copyDates=function(t){if(Array.isArray(t))return t.map(function(t){return null===t?t:l(t)});return l(t)};var i=(e.t=e.bem=e.createComponent=void 0,n(7).createNamespace)("calendar"),r=i[0],n=i[1],o=i[2];function a(t,e){var n=t.getFullYear(),i=e.getFullYear(),t=t.getMonth(),e=e.getMonth();return n===i?t===e?0:e<t?1:-1:i<n?1:-1}function s(t,e){return(t=new Date(t)).setDate(t.getDate()+e),t}function l(t){return new Date(t)}e.t=o,e.bem=n,e.createComponent=r},function(t,e,n){"use strict";e.__esModule=!0,e.removeNode=function(t){var e=t.parentNode;e&&e.removeChild(t)}},function(t,e,n){"use strict";e.__esModule=!0,e.PortalMixin=function(t){var t=void 0===t?{}:t,i=t.ref,r=t.afterPortal;return{props:{getContainer:[String,Function]},watch:{getContainer:"portal"},mounted:function(){this.getContainer&&this.portal()},methods:{portal:function(){var t,e=this.getContainer,n=i?this.$refs[i]:this.$el;e?t="string"!=typeof(t=e)?t():document.querySelector(t):this.$parent&&(t=this.$parent.$el),t&&t!==n.parentNode&&t.appendChild(n),r&&r.call(this)}}}}},function(t,e,n){"use strict";e.__esModule=!0,e.times=function(t,e){var n=-1,i=Array(t);for(;++n<t;)i[n]=e(n);return i},e.getTrueValue=function(t){if(!t)return 0;for(;(0,i.isNaN)(parseInt(t,10));){if(!(1<t.length))return 0;t=t.slice(1)}return parseInt(t,10)},e.getMonthEndDay=function(t,e){return 32-new Date(t,e-1,32).getDate()};var i=n(171)},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0,e.ClickOutsideMixin=void 0;var i=n(40);e.ClickOutsideMixin=function(n){return{props:{closeOnClickOutside:{type:Boolean,default:!0}},data:function(){var e=this;return{clickOutsideHandler:function(t){e.closeOnClickOutside&&!e.$el.contains(t.target)&&e[n.method]()}}},mounted:function(){(0,i.on)(document,n.event,this.clickOutsideHandler)},beforeDestroy:function(){(0,i.off)(document,n.event,this.clickOutsideHandler)}}}},,,function(t,e){var n,i,t=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(t){n=r}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(t){i=o}}();var s,l=[],u=!1,c=-1;function h(){u&&s&&(u=!1,s.length?l=s.concat(l):c=-1,l.length&&d())}function d(){if(!u){var t=a(h);u=!0;for(var e=l.length;e;){for(s=l,l=[];++c<e;)s&&s[c].run();c=-1,e=l.length}s=null,u=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function f(){}t.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new p(t,e)),1!==l.length||u||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=f,t.addListener=f,t.once=f,t.off=f,t.removeListener=f,t.removeAllListeners=f,t.emit=f,t.prependListener=f,t.prependOnceListener=f,t.listeners=function(t){return[]},t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=i(n(6)),a=i(n(1144)),s=n(7),l=n(371),u={icon:"",type:"text",mask:!1,value:!0,message:"",className:"",overlay:!1,onClose:null,onOpened:null,duration:2e3,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,getContainer:"body",overlayStyle:null,closeOnClick:!1,closeOnClickOverlay:!1},c={},h=[],d=!1,p=(0,r.default)({},u);function f(t){return(0,s.isObject)(t)?t:{message:t}}function g(){return s.isServer?{}:((h=h.filter(function(t){return!t.$el.parentNode||(t=t.$el,document.body.contains(t))})).length&&!d||((e=new(o.default.extend(a.default))({el:document.createElement("div")})).$on("input",function(t){e.value=t}),h.push(e)),h[h.length-1]);var e}function m(t){void 0===t&&(t={});var e,n=g();return n.value&&n.updateZIndex(),t=f(t),(t=(0,r.default)({},p,c[t.type||p.type],t)).clear=function(){n.value=!1,t.onClose&&(t.onClose(),t.onClose=null),d&&!s.isServer&&n.$on("closed",function(){clearTimeout(n.timer),h=h.filter(function(t){return t!==n}),(0,l.removeNode)(n.$el),n.$destroy()})},(0,r.default)(n,(e=t,(0,r.default)({},e,{overlay:e.mask||e.overlay,mask:void 0,duration:void 0}))),clearTimeout(n.timer),0<t.duration&&(n.timer=setTimeout(function(){n.clear()},t.duration)),n}["loading","success","fail"].forEach(function(t){var e;m[t]=(e=t,function(t){return m((0,r.default)({type:e},f(t)))})}),m.clear=function(t){h.length&&(t?(h.forEach(function(t){t.clear()}),h=[]):(d?h.shift():h[0]).clear())},m.setDefaultOptions=function(t,e){"string"==typeof t?c[t]=e:(0,r.default)(p,t)},m.resetDefaultOptions=function(t){"string"==typeof t?c[t]=null:(p=(0,r.default)({},u),c={})},m.allowMultiple=function(t){d=t=void 0===t?!0:t},m.install=function(){o.default.use(a.default)},o.default.prototype.$toast=m,e.default=m},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r,o=i(n(28)),a=i(n(6)),s=i(n(1222)),l=n(7),u={loop:!0,value:!0,images:[],maxZoom:3,minZoom:1/3,onClose:null,onChange:null,className:"",showIndex:!0,closeable:!1,closeIcon:"clear",asyncClose:!1,getContainer:"body",startPosition:0,swipeDuration:500,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"},n=function(t,e){if(void 0===e&&(e=0),!l.isServer){r||(r=new(a.default.extend(s.default))({el:document.createElement("div")}),document.body.appendChild(r.$el),r.$on("change",function(t){r.onChange&&r.onChange(t)}),r.$on("scale",function(t){r.onScale&&r.onScale(t)}));t=Array.isArray(t)?{images:t,startPosition:e}:t;return(0,o.default)(r,u,t),r.$once("input",function(t){r.value=t}),r.$once("closed",function(){r.images=[]}),t.onClose&&(r.$off("close"),r.$once("close",t.onClose)),r}};n.Component=s.default,n.install=function(){a.default.use(s.default)},e.default=n},,function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"tong-xin-mo-kuai"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#tong-xin-mo-kuai"}},[t._v("¶")]),t._v(" 通信模块")]),e("p",[t._v("tis提供一套完整的“发布-订阅模式”的事件通信机制,而且提供“系统级”,“应用级”, 自定义事件的区分,应用/框架之间可借助该模块,进行相互通信。")]),e("h3",{attrs:{id:"api"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#api"}},[t._v("¶")]),t._v(" API")]),e("h4",{attrs:{id:"emit-eventname-args"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#emit-eventname-args"}},[t._v("¶")]),t._v(" $emit( eventName, args )")]),e("ul",[e("li",[e("strong",[t._v("参数eventName")]),t._v(":{string} 自定义事件名")]),e("li",[e("strong",[t._v("参数args:")]),t._v(" 任意参数")]),e("li",[e("strong",[t._v("用法:")]),t._v(" 触发事件。附加参数都会传给监听器回调。")]),e("li",[e("strong",[t._v("示例")])])]),e("pre",[e("code",{staticClass:"language-js"},[t._v("// 只配合一个事件名使用 $emit:\nthis.$emit('welcome')\n// 配合额外的参数使用 $emit:\nthis.$emit('welcome', ['Mike','Alice'])\n")])]),e("h4",{attrs:{id:"on-eventname-appids-system-callback"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#on-eventname-appids-system-callback"}},[t._v("¶")]),t._v(" $on(eventName, { appIds, system }, callback)")]),e("ul",[e("li",[e("strong",[t._v("参数eventName:")]),t._v(" {string} 监听的自定义事件名")]),e("li",[e("strong",[t._v("参数appIds:")]),t._v(" 每个应用都可以发出同名自定义事件,因此我们需要传入监听哪些app发出的该事件")]),e("li",[e("strong",[t._v("参数system:")]),t._v(" {boolean} tis宿主框架也可以和应用一样,发出同名自定义事件,如果想同时监听tis宿主发出的该事件,请将该字段设置为true")]),e("li",[e("strong",[t._v("参数callback:")]),t._v(" {Function} 监听回调函数")]),e("li",[e("strong",[t._v("用法:")]),t._v(" 监听事件总线上的自定义事件,而且可限定事件触发者的应用id以及是否为宿主框架发出,回调函数会接收所有传入事件触发函数的额外参数以及发出者信息")]),e("li",[e("strong",[t._v("示例:")])])]),e("pre",[e("code",{staticClass:"language-js"},[t._v("// 监听应用id为app_1,app_2以及tis宿主框架发出的名为\"message\"的事件\nthis.$on('message', { \n appIds: ['app_1', 'app_2'], \n system: true \n}, function(payload, { \n appId, \n system \n}) { \n if (system) { \n console.log('收到了系统级事件(由宿主框架发出)') \n } else { \n console.log(`收到了应用级事件(由应用发出),发送事件方的appId为: ${appId}`) \n } \n console.log('事件参数为', payload) \n})\n")])]),e("h4",{attrs:{id:"off-eventname-appids-system-callback"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#off-eventname-appids-system-callback"}},[t._v("¶")]),t._v(" $off(eventName, { appIds, system }, callback)")]),e("ul",[e("li",[e("strong",[t._v("参数eventName:")]),t._v(" {string} 取消监听的自定义事件名")]),e("li",[e("strong",[t._v("参数appIds:")]),t._v(" 每个应用都可以发出同名自定义事件,因此我们需要传入取消监听哪些app发出的该事件")]),e("li",[e("strong",[t._v("参数system:")]),t._v(" {boolean} tis宿主框架也可以和应用一样,发出同名自定义事件,如果想同时取消监听tis宿主发出的该事件,请将该字段设置为true")]),e("li",[e("strong",[t._v("参数callback:")]),t._v(" {Function} 监听回调函数")]),e("li",[e("strong",[t._v("用法:")]),t._v(" 移除事件监听器")])])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"fu-chuang-xiang-guan"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fu-chuang-xiang-guan"}},[t._v("¶")]),t._v(" 浮窗相关")]),e("p",[t._v("通过getWdigets, getOpenedWidgets, openWidget, closeWidget 获取/打开/关闭tis宿主框架中的浮窗。")]),e("h3",{attrs:{id:"api"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#api"}},[t._v("¶")]),t._v(" API")]),e("h4",{attrs:{id:"getwidgets-widgets"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#getwidgets-widgets"}},[t._v("¶")]),t._v(" getWidgets(): widgets")]),e("ul",[e("li",[e("strong",[t._v("返回值widgets")]),t._v(":Array<浮窗对象> widgets")]),e("li",[e("strong",[t._v("浮窗对象:")]),t._v(" widget\n"),e("ul",[e("li",[t._v("{string} id: 浮窗唯一ID")]),e("li",[t._v("{string} name:浮窗显示名称")]),e("li",[t._v("{string} icon:浮窗图标URL")]),e("li",[t._v("{Vue Component} comp:浮窗Vue组件对象")]),e("li",[t._v("{boolean} opened:当前是否已打开")])])]),e("li",[e("strong",[t._v("用法:")]),t._v(" 获取所有已注册在tis宿主框架中的浮窗列表")])]),e("h4",{attrs:{id:"getopenedwidgets-widgets"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#getopenedwidgets-widgets"}},[t._v("¶")]),t._v(" getOpenedWidgets(): widgets")]),e("ul",[e("li",[e("strong",[t._v("返回值widgets")]),t._v(":Array<浮窗对象> widgets")]),e("li",[e("strong",[t._v("浮窗对象:")]),t._v(" widget\n"),e("ul",[e("li",[t._v("{string} id: 浮窗唯一ID")]),e("li",[t._v("{string} name:浮窗显示名称")]),e("li",[t._v("{string} icon:浮窗图标URL")]),e("li",[t._v("{Vue Component} comp:浮窗Vue组件对象")]),e("li",[t._v("{boolean} opened:当前是否已打开")])])]),e("li",[e("strong",[t._v("用法:")]),t._v(" 获取所有在tis宿主框架中,当前已打开的浮窗列表")])]),e("h4",{attrs:{id:"openwidget-widgetid-params"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#openwidget-widgetid-params"}},[t._v("¶")]),t._v(" openWidget( widgetId, params )")]),e("ul",[e("li",[e("strong",[t._v("参数widgetId:")]),t._v(" {string} 浮窗id")]),e("li",[e("strong",[t._v("参数params:")]),t._v(" {any} 传入的参数,会当作浮窗的props传入给浮窗组件")]),e("li",[e("strong",[t._v("用法:")]),t._v(" 根据浮窗唯一ID,打开显示某浮窗")])]),e("h4",{attrs:{id:"closewidget-widgetid"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#closewidget-widgetid"}},[t._v("¶")]),t._v(" closeWidget( widgetId )")]),e("ul",[e("li",[e("strong",[t._v("用法:")]),t._v(" 根据浮窗唯一ID,在tis宿主框架中,关闭某浮窗")])])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"ying-yong-xiang-guan"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#ying-yong-xiang-guan"}},[t._v("¶")]),t._v(" 应用相关")]),e("p",[t._v("通过getApps, openApp, getCurrentApp, closeCurrentApp,可以获取/打开/关闭 tis宿主框架中的应用。")]),e("h3",{attrs:{id:"api"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#api"}},[t._v("¶")]),t._v(" API")]),e("h4",{attrs:{id:"getapps-apps"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#getapps-apps"}},[t._v("¶")]),t._v(" getApps(): apps")]),e("ul",[e("li",[e("strong",[t._v("返回值apps:")]),t._v(" Array<应用对象app>")]),e("li",[e("strong",[t._v("应用对象app:")]),e("ul",[e("li",[t._v("{string} id: 应用唯一ID")]),e("li",[t._v("{string} name:应用显示名称")]),e("li",[t._v("{string} icon:应用图标URL")]),e("li",[t._v("{string} entry:应用入口URL(即应用独立访问的URL)")]),e("li",[t._v("{boolean} default:是否默认应用")]),e("li",[t._v("{boolean} opened:当前是否已打开在前台")])])]),e("li",[e("strong",[t._v("用法:")]),t._v(" 获取所有已注册在tis宿主框架中的应用列表")])]),e("h4",{attrs:{id:"openapp-appid-params"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#openapp-appid-params"}},[t._v("¶")]),t._v(" openApp( appId, params )")]),e("ul",[e("li",[e("strong",[t._v("参数appId:")]),t._v(" {string} 应用id")]),e("li",[e("strong",[t._v("参数params:")]),t._v(" {any} 传入参数,应用可在show生命周期接收到的该参数")]),e("li",[e("strong",[t._v("用法:")]),t._v(" 根据应用唯一ID,将某应用在宿主框架打开")])]),e("h4",{attrs:{id:"getcurrentapp-app"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#getcurrentapp-app"}},[t._v("¶")]),t._v(" getCurrentApp(): app")]),e("ul",[e("li",[e("strong",[t._v("返回值app:")]),t._v(" {应用对象app}\n"),e("ul",[e("li",[t._v("{string} id: 应用唯一ID")]),e("li",[t._v("{string} name:应用显示名称")]),e("li",[t._v("{string} icon:应用图标URL")]),e("li",[t._v("{string} entry:应用入口URL(即应用独立访问的URL)")]),e("li",[t._v("{boolean} default:是否默认应用")]),e("li",[t._v("{boolean} opened:当前是否已打开在前台(此时一定是true)")])])]),e("li",[e("strong",[t._v("用法:")]),t._v(" 获取所有已注册在tis宿主框架中的应用列表")])]),e("h4",{attrs:{id:"closecurrentapp"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#closecurrentapp"}},[t._v("¶")]),t._v(" closeCurrentApp()")]),e("ul",[e("li",[e("strong",[t._v("用法:")]),t._v(" 关闭当前前台打开的应用")])])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"quan-ju-bian-liang"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#quan-ju-bian-liang"}},[t._v("¶")]),t._v(" 全局变量")]),e("p",[t._v("全局变量是一种key-value的存储模式(key为字符串,value是任意数据类型),所有应用均可读取和修改。")]),e("h3",{attrs:{id:"api"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#api"}},[t._v("¶")]),t._v(" API")]),e("h4",{attrs:{id:"getglobalstate-key-value"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#getglobalstate-key-value"}},[t._v("¶")]),t._v(" getGlobalState( key ): value")]),e("ul",[e("li",[e("strong",[t._v("参数key:")]),t._v(" {string}")]),e("li",[e("strong",[t._v("返回值value:")]),t._v(" {any}")]),e("li",[e("strong",[t._v("用法:")]),t._v(" 获取全局变量key的值")])]),e("h4",{attrs:{id:"setglobalstate-key-value"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#setglobalstate-key-value"}},[t._v("¶")]),t._v(" setGlobalState( key, value )")]),e("ul",[e("li",[e("strong",[t._v("参数key:")]),t._v(" {string}")]),e("li",[e("strong",[t._v("参数value:")]),t._v(" {any}")]),e("li",[e("strong",[t._v("用法:")]),t._v(" 设置全局变量key的值")])]),e("h3",{attrs:{id:"shi-yong-shi-li"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#shi-yong-shi-li"}},[t._v("¶")]),t._v(" 使用示例")]),e("pre",[e("code",{staticClass:"language-html"},[t._v('<template>\n <div>\n <h2>读取/设置 全局变量示例</h2>\n <div>请在输入框里填写全局变量key: <input v-model="key" /></div>\n <br />\n <button @click="onSetValue">设置全局变量</button>\n <button @click="onGetValue">获取全局变量</button>\n </div>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n key: "some_key",\n };\n },\n methods: {\n onSetValue() {\n const value = prompt(`请输入全局变量${this.key}的值:`);\n this.$tis.setGlobalState(this.key, value);\n },\n onGetValue() {\n const value = this.$tis.getGlobalState(this.key);\n alert(`全局变量${this.key}的值为:${value}`);\n },\n },\n};\n<\/script>\n')])])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"sheng-ming-zhou-qi"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#sheng-ming-zhou-qi"}},[this._v("¶")]),this._v(" 生命周期")]),t("p",[this._v("如果应用是在tis宿主框架中运行(非独立模式运行),则可以通过Vue.prototype.$tis访问到所有tis的API。(如果是在Vue组件中,可以直接通过this.$tis访问到)")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"unmount"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#unmount"}},[this._v("¶")]),this._v(" unmount")]),t("p",[this._v("应用在框架中被关闭时触发,此时应用DOM树已被卸载销毁。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"hide"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#hide"}},[this._v("¶")]),this._v(" hide")]),t("p",[this._v("应用在框架中被隐藏时触发,此时应用依然在框架中后台运行,而且DOM树没有被销毁。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"show"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#show"}},[this._v("¶")]),this._v(" show")]),t("p",[this._v("应用在框架中从隐藏态(后台)切换到显示态(前台)时触发")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"mount"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#mount"}},[this._v("¶")]),this._v(" mount")]),t("p",[this._v("应用在框架中被打开时触发,此时应用会初始化渲染构建自己的DOM树。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"bootstrap"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#bootstrap"}},[this._v("¶")]),this._v(" bootstrap")]),t("p",[this._v("bootstrap 只会在应用初始化的时候调用一次,下次应用重新进入时会直接调用 mount 钩子,不会再重复触发 bootstrap。通常我们可以在这里做一些全局变量的初始化,比如不会在 unmount 阶段被销毁的应用级别的缓存等。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"sheng-ming-zhou-qi"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#sheng-ming-zhou-qi"}},[this._v("¶")]),this._v(" 生命周期")]),t("p",[this._v("tis-app拥有完整的生命周期,具体如下,应用生命周期可在src/main.js中定义,然后通过 setup 函数入参传入。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"src-mu-lu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#src-mu-lu"}},[t._v("¶")]),t._v(" /src 目录")]),e("p",[t._v("项目源码目录,你的大多数编码工作都是在该目录下进行。")]),e("h3",{attrs:{id:"src-assets"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#src-assets"}},[t._v("¶")]),t._v(" src/assets/")]),e("p",[t._v("用于存放各种静态文件,如图片,css")]),e("h3",{attrs:{id:"src-compnents"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#src-compnents"}},[t._v("¶")]),t._v(" src/compnents/")]),e("p",[t._v("用于存放我们的Vue组件")]),e("h3",{attrs:{id:"src-tis"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#src-tis"}},[t._v("¶")]),t._v(" src/tis/")]),e("p",[t._v("存放tis核心模块相关的所有内容,请勿擅自修改。")]),e("h3",{attrs:{id:"src-app-vue"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#src-app-vue"}},[t._v("¶")]),t._v(" src/App.vue")]),e("p",[t._v("主vue组件,引入其他组件,App.vue是项目的主组件。")]),e("h3",{attrs:{id:"src-main-js"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#src-main-js"}},[t._v("¶")]),t._v(" src/main.js")]),e("p",[t._v("项目入口文件,可以理解为项目运行起来,是从整个文件的第一行代码开始执行,作用是初始化tis应用,添加应用生命周期函数钩子,也可以在此文件中引用组件库等。")]),e("p",[t._v("下方是项目模版中默认的main.js文件示例:")]),e("pre",[e("code",{staticClass:"language-javascript"},[t._v('import tis, { setup } from "./tis";\nimport App from "./App.vue";\n\n// 定义应用生命周期函数\n\n// bootstrap 只会在应用初始化的时候调用一次,下次应用重新进入时会直接调用 mount 钩子,不会再重复触发 bootstrap。通常我们可以在这里做一些全局变量的初始化,比如不会在 unmount 阶段被销毁的应用级别的缓存等。\nfunction bootstrap(params) {\n console.log(`[App: ${tis.appId}] boostrap`, params);\n}\n// 应用在框架中被打开时触发,此时应用会初始化渲染构建自己的DOM树。\nfunction mount(params) {\n console.log(`[App: ${tis.appId}] mount`, params);\n}\n// 应用在框架中从隐藏态(后台)切换到显示态(前台)时触发。\nfunction show(params) {\n console.log(`[App: ${tis.appId}] show`, params);\n}\n// 应用在框架中被隐藏时触发,此时应用依然在框架中后台运行,而且DOM树没有被销毁。\nfunction hide(params) {\n console.log(`[App: ${tis.appId}] hide`, params);\n}\n// 应用在框架中被关闭时触发,此时应用DOM树已被卸载销毁。\nfunction unmount(params) {\n console.log(`[App: ${tis.appId}] unmount`, params);\n}\n\n// 必须要执行setup方法\n// 第一个参数是入口vue组件\n// 第二个参数是一个对象,用于传入定义好的生命周期函数钩子\nsetup(App, {\n bootstrap,\n mount,\n hide,\n show,\n unmount\n});\n\n// 注意,下方这句代码是为主框架使用,必须保留,请勿删除\nexport * from "./tis";\n')])])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"public-mu-lu"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#public-mu-lu"}},[this._v("¶")]),this._v(" /public 目录")]),t("p",[this._v("存放各种静态资源,例如:图片,音频,视频等,这个目录下的所有内容,在打包构建时,会自动被复制到/dist的根目录。")]),t("h3",{attrs:{id:"index-html"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#index-html"}},[this._v("¶")]),this._v(" index.html")]),t("p",[this._v("生成项目的入口文件,webpack打包的js,css也会自动注入到该页面中,一般无需修改,使用默认模版即可。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"dist-mu-lu"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#dist-mu-lu"}},[this._v("¶")]),this._v(" /dist 目录")]),t("p",[this._v("存放打包构建后的产物,无需手动维护,每次打包构建后,这个目录的内容都会重新生成。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);var i=[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"yi-kuang-jia"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#yi-kuang-jia"}},[t._v("¶")]),t._v(" 一、框架")]),e("h3",{attrs:{id:"1-kuang-jia-jie-gou-ceng-ji"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#1-kuang-jia-jie-gou-ceng-ji"}},[t._v("¶")]),t._v(" 1.框架结构层级")]),e("p",[e("img",{attrs:{src:n(1277),alt:"img"}})]),e("h4",{attrs:{id:"statusbar-xi-tong-zhuang-tai-lan"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#statusbar-xi-tong-zhuang-tai-lan"}},[t._v("¶")]),t._v(" StatusBar:系统状态栏")]),e("p",[t._v("在任何情况下,系统状态栏都会固定显示在界面顶部,一般可以在这里显示常用系统信息,例如:系统时间,设备经纬度坐标,设备电量,信号状态,默认框架中给出了一个简单的系统状态栏示例,请根据自己的需要,修改components/StatusBar.vue文件,进行定制化开发。")]),e("h4",{attrs:{id:"sidermenu-zuo-ce-cai-dan-lan"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#sidermenu-zuo-ce-cai-dan-lan"}},[t._v("¶")]),t._v(" SiderMenu:左侧菜单栏")]),e("p",[t._v("左侧菜单栏,位于界面左侧,高度与视图同高,一般在这里放置核心功能入口或常用应用快捷方式,默认框架中给出了一个简单的左侧菜单栏示例,请根据自己的需要,修改components/SiderMenu.vue文件,进行定制化开发。")]),e("h4",{attrs:{id:"navbar-dao-hang-lan"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#navbar-dao-hang-lan"}},[t._v("¶")]),t._v(" NavBar:导航栏")]),e("p",[t._v("导航栏位于系统状态栏下方,只在默认应用(默认应用是在注册时,default字段为true的应用)显示时展示,用户打开其他应用后,导航栏就会自动隐藏(被AppBar应用控制栏所代替)。通常导航栏里会显示当前用户信息,全局搜索条等,消息提醒等。默认框架中给出了一个简单的导航栏示例,请根据自己的需要,修改components/NavBar.vue文件,进行定制化开发。")]),e("p",[e("img",{attrs:{src:n(1278),alt:"img"}})]),e("h4",{attrs:{id:"appbar-ying-yong-kong-zhi-lan"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#appbar-ying-yong-kong-zhi-lan"}},[t._v("¶")]),t._v(" AppBar:应用控制栏")]),e("p",[t._v("当打开某应用后(非默认应用),会在应用视图上方显示,左侧是应用名称,右侧是2个操作按钮,分别是“打开浮窗选择”和“关闭当前应用”。默认框架中给出了一个简单的应用控制栏示例,请根据自己的需要,修改components/AppBar.vue文件,进行定制化开发。")]),e("h4",{attrs:{id:"appview-ying-yong-shi-tu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#appview-ying-yong-shi-tu"}},[t._v("¶")]),t._v(" AppView:应用视图")]),e("p",[t._v("在应用视图里,会自动加载并显示当前应用,如果当前没有打开任何应用,则会自动加载显示“默认应用”(应用配置字段中default为true的就是默认应用)默认框架中给出了一个简单的应用视图示例,请根据自己的需要,修改components/AppView.vue文件,进行定制化开发。")]),e("p",[e("img",{attrs:{src:n(1279),alt:"img"}})]),e("h4",{attrs:{id:"widgetspanel-fu-chuang-lie-biao"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#widgetspanel-fu-chuang-lie-biao"}},[t._v("¶")]),t._v(" WidgetsPanel: 浮窗列表")]),e("p",[t._v("在浮窗列表中(可点击在AppBar应用控制栏右侧的三个点按钮唤起浮窗列表),会自动加载显示在框架中已注册过的所有浮窗组件,用户可在该界面中,通过勾选操作,来选择一些浮窗,固定显示在浮窗视图(WidgetsView)当中。默认框架中给出了一个简单的浮窗列表示例,请根据自己的需要,修改components/WidgetsPanel.vue文件,进行定制化开发。")]),e("p",[e("img",{attrs:{src:n(1280),alt:"img"}})]),e("h4",{attrs:{id:"widgetsview-fu-chuang-shi-tu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#widgetsview-fu-chuang-shi-tu"}},[t._v("¶")]),t._v(" WidgetsView:浮窗视图")]),e("p",[t._v("此视图悬浮于AppView(应用视图)上方,可以在里面添加一些浮窗组件,进行固定显示。浮窗视图独立于应用视图,两个没有任何关系,关闭某应用后,并不会导致浮窗视图消失。默认框架中给出了一个简单的浮窗视图示例,请根据自己的需要,修改components/WidgetsView.vue文件,进行定制化开发。")]),e("h3",{attrs:{id:"2-qi-dong-yun-xing-kuang-jia"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#2-qi-dong-yun-xing-kuang-jia"}},[t._v("¶")]),t._v(" 2.启动运行框架")]),e("p",[t._v("下载好默认项目代码后,是直接可以运行启动的,但通常你需要根据需求,重新配置下框架参数或进行定制化开发,主要核心需要配置有三处(1. 配置layouts,2. 注册应用,3. 注册浮窗组件),全部都在src/main.js文件中:")]),e("p",[t._v("例子:")]),e("pre",[e("code",{staticClass:"language-javascript"},[t._v('\nimport { setup } from \'./tis\'\n\n// layouts 导入布局组件\n\nimport StatusBar from \'./components/StatusBar\'\n\nimport SiderMenu from \'./components/SiderMenu\'\n\nimport NavBar from \'./components/NavBar\'\n\nimport AppBar from \'./components/AppBar\'\n\nimport WidgetsPanel from \'./components/WidgetsPanel\'\n\nimport Widget from \'./components/Widget\'\n\nimport WidgetsView from \'./components/WidgetsView\'\n\nimport AppView from \'./components/AppView\'\n\n// widgets 导入浮窗组件 \n\nimport WidgetExample1 from \'./widgets/widget-example-1\'\n\nimport WidgetExample2 from \'./widgets/widget-example-2\'\n\nimport WidgetExample3 from \'./widgets/widget-example-3\'\n\nimport WidgetExample4 from \'./widgets/widget-example-4\'\n\n\n\n// 启动\n\nsetup({\n\n // 配置layouts布局\n\n layouts: {\n\n StatusBar,\n\n SiderMenu,\n\n NavBar,\n\n AppBar,\n\n WidgetsPanel,\n\n WidgetsView,\n\n Widget,\n\n AppView\n\n },\n\n // 注册应用\n\n apps: [\n\n {\n\n id: "app_1", // 应用唯一id\n\n name: "移动指挥", // 应用名称\n\n icon: "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-04b48fc3-2230-456c-afbc-662ca76d81a8/f0ee65c0-4f21-484d-b9e7-3b411e318c5c.png",\n\n entry: "http://localhost:7101",\n\n default: true, // 默认应用\n\n },\n\n {\n\n id: "app_2",\n\n name: "雷达监控",\n\n icon: "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-04b48fc3-2230-456c-afbc-662ca76d81a8/0e154291-d52b-4b4f-93f2-87b64b52169c.png",\n\n entry: "http://localhost:7102/",\n\n },\n\n {\n\n id: "app_3",\n\n name: "地图前线",\n\n icon: "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-04b48fc3-2230-456c-afbc-662ca76d81a8/b8ff6dbc-3d3c-4cc3-a0a8-6676881396a9.png",\n\n entry: "http://localhost:7103",\n\n },\n\n ],\n\n // 注册浮窗\n\n widgets: [\n\n {\n\n comp: WidgetExample1,\n\n name: "浮窗例子11",\n\n id: "w_1",\n\n }, {\n\n comp: WidgetExample2,\n\n name: "浮窗例子22",\n\n id: "w_2",\n\n }, {\n\n comp: WidgetExample3,\n\n name: "浮窗例子33",\n\n id: "w_3",\n\n }, {\n\n comp: WidgetExample4,\n\n name: "浮窗例子44",\n\n id: "w_4",\n\n }\n\n ]\n\n})\n')])]),e("h4",{attrs:{id:"kuang-jia-api-tis"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#kuang-jia-api-tis"}},[t._v("¶")]),t._v(" 框架API($tis)")]),e("p",[t._v("框架启动后,会自动将所有API注入到Vue.prototype.$tis上,所以在所有的Vue组件实例中,都可以通过this.$tis访问到,具体API说明如下:")]),e("h4",{attrs:{id:"layouts"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#layouts"}},[t._v("¶")]),t._v(" layouts")]),e("p",[t._v("layouts是个对象,上面可以访问到所有在src/main.js中setup时注册所有layouts组件:StatusBar,SiderMenu,NavBar,AppBar,WidgetsPanel,WidgetsView,Widget,AppView")]),e("h4",{attrs:{id:"getglobalstate-k"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#getglobalstate-k"}},[t._v("¶")]),t._v(" getGlobalState(k)")]),e("p",[t._v("获取全局变量,k是字符串类型,是区分变量的唯一标识符")]),e("h4",{attrs:{id:"setglobalstate-k-v"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#setglobalstate-k-v"}},[t._v("¶")]),t._v(" setGlobalState(k, v)")]),e("p",[t._v("设置全局变量,k是字符串类型,是区分变量的唯一标识符,v是变量值,可以是任意类型")]),e("h4",{attrs:{id:"getapps"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#getapps"}},[t._v("¶")]),t._v(" getApps()")]),e("p",[t._v("获取所有已注册的应用,返回值是一个数组,数组每项是个对象,属性如下:")]),e("ul",[e("li",[t._v("id: 字符串类型。应用唯一ID")]),e("li",[t._v("name:字符串类型,应用名称")]),e("li",[t._v("icon:字符串类型,应用图标")]),e("li",[t._v("entry:字符串类型,应用入口URL")]),e("li",[t._v("default:布尔类型,是否是默认应用")]),e("li",[t._v("opened:布尔类型,是否当前打开了")])]),e("h4",{attrs:{id:"openapp-appid-params"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#openapp-appid-params"}},[t._v("¶")]),t._v(" openApp(appId, params)")]),e("p",[t._v("根据应用唯一ID,打开显示某应用")]),e("ul",[e("li",[t._v("appId: 字符串类型,应用唯一ID")]),e("li",[t._v("params: 任意类型,传入的参数,会在应用的bootstrap生命周期接收到")])]),e("h4",{attrs:{id:"getcurrentapp"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#getcurrentapp"}},[t._v("¶")]),t._v(" getCurrentApp()")]),e("p",[t._v("获取当前打开激活的应用,返回值是一个对象,属性如下:")]),e("ul",[e("li",[t._v("id: 字符串类型。应用唯一ID")]),e("li",[t._v("name:字符串类型,应用名称")]),e("li",[t._v("icon:字符串类型,应用图标")]),e("li",[t._v("entry:字符串类型,应用入口URL")]),e("li",[t._v("default:布尔类型,是否是默认应用")]),e("li",[t._v("opened:布尔类型,是否当前打开了(此时一定是true)")])]),e("h4",{attrs:{id:"closecurrentapp"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#closecurrentapp"}},[t._v("¶")]),t._v(" closeCurrentApp()")]),e("p",[t._v("关闭当前已打开的应用")]),e("h4",{attrs:{id:"getwidgets"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#getwidgets"}},[t._v("¶")]),t._v(" getWidgets()")]),e("p",[t._v("获取所有已注册的浮窗,返回值是一个数组,数组每项是个对象,属性如下:")]),e("ul",[e("li",[t._v("id: 字符串类型。组件唯一ID")]),e("li",[t._v("name:字符串类型,组件名称")]),e("li",[t._v("opened:布尔类型,是否当前已打开")]),e("li",[t._v("comp: Vue Component类型,浮窗组件")])]),e("h4",{attrs:{id:"getopenedwidgets"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#getopenedwidgets"}},[t._v("¶")]),t._v(" getOpenedWidgets()")]),e("p",[t._v("获取所有已打开的浮窗,返回值是一个数组,数组每项是个对象,属性同上")]),e("h4",{attrs:{id:"openwidget-widgetid-params"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#openwidget-widgetid-params"}},[t._v("¶")]),t._v(" openWidget(widgetId, params)")]),e("p",[t._v("根据浮窗唯一ID,打开显示某浮窗")]),e("ul",[e("li",[t._v("widgetId: 字符串类型,浮窗唯一ID")]),e("li",[t._v("params: 任意类型,传入的参数,会当作浮窗的props传入给浮窗组件")])]),e("h4",{attrs:{id:"closewidget-widgetid"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#closewidget-widgetid"}},[t._v("¶")]),t._v(" closeWidget(widgetId)")]),e("p",[t._v("根据浮窗唯一ID,关闭某浮窗")]),e("h4",{attrs:{id:"bus"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#bus"}},[t._v("¶")]),t._v(" bus")]),e("p",[t._v("bus是个事件总线对象,可实现发布-订阅模式。")]),e("p",[t._v("原理:本质上bus是一个Vue的实例,借助Vue自带的事件机制,可以方便的实现事件总线。")]),e("h5",{attrs:{id:"bus-emit-eventname-args"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#bus-emit-eventname-args"}},[t._v("¶")]),t._v(" bus.$emit( eventName, […args] )")]),e("ul",[e("li",[e("p",[t._v("参数")]),e("p",[t._v(":")]),e("ul",[e("li",[t._v("{string} eventName")]),e("li",[t._v("[...args]")])])])]),e("p",[t._v("触发事件。附加参数都会传给监听器回调。")]),e("ul",[e("li",[e("strong",[t._v("示例:")])])]),e("pre",[e("code",{staticClass:"language-javascript"},[t._v("// 只配合一个事件名使用 $emit:\n\nthis.$emit('welcome')\n\n// 配合额外的参数使用 $emit:\n\n this.$emit('welcome', ['Mike','Alice'])\n")])]),e("h5",{attrs:{id:"bus-on-event-callback"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#bus-on-event-callback"}},[t._v("¶")]),t._v(" bus.$on( event, callback )")]),e("ul",[e("li",[e("p",[t._v("参数")]),e("p",[t._v(":")]),e("ul",[e("li",[t._v("{string | Array<string>} event")]),e("li",[t._v("{Function} callback")])])]),e("li",[e("p",[e("strong",[t._v("用法")]),t._v(":")])])]),e("p",[t._v("监听事件总线上的事件。事件可以由 this.tis.$emit 触发。回调函数会接收所有传入事件触发函数的额外参数。")]),e("ul",[e("li",[e("strong",[t._v("示例")]),t._v(":")])]),e("pre",[e("code",{staticClass:"language-javascript"},[t._v("this.$tis.bus.$on('test', function (msg) {\n\n console.log(msg)\n\n})\n\nthis.$tis.bus.$emit('test', 'hi')\n\n// => \"hi\"\n")])]),e("h5",{attrs:{id:"bus-once-event-callback"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#bus-once-event-callback"}},[t._v("¶")]),t._v(" bus.$once( event, callback )")]),e("ul",[e("li",[e("p",[t._v("参数")]),e("p",[t._v(":")]),e("ul",[e("li",[t._v("{string} event")]),e("li",[t._v("{Function} callback")])])]),e("li",[e("p",[e("strong",[t._v("用法")]),t._v(":")])])]),e("p",[t._v("监听一个事件,但是只触发一次。一旦触发之后,监听器就会被移除。")]),e("h5",{attrs:{id:"bus-off-event-callback"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#bus-off-event-callback"}},[t._v("¶")]),t._v(" bus.$off( [event, callback] )")]),e("ul",[e("li",[e("p",[t._v("参数")]),e("p",[t._v(":")]),e("ul",[e("li",[t._v("{string | Array<string>} event")]),e("li",[t._v("{Function} [callback]")])])]),e("li",[e("p",[e("strong",[t._v("用法")]),t._v(":")])])]),e("p",[t._v("移除事件监听器。")]),e("ul",[e("li",[t._v("如果没有提供参数,则移除所有的事件监听器;")]),e("li",[t._v("如果只提供了事件,则移除该事件所有的监听器;")]),e("li",[t._v("如果同时提供了事件与回调,则只移除这个回调的监听器。")])]),e("h2",{attrs:{id:"er-ying-yong"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#er-ying-yong"}},[t._v("¶")]),t._v(" 二、应用")]),e("h3",{attrs:{id:"ying-yong-jie-shao"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#ying-yong-jie-shao"}},[t._v("¶")]),t._v(" 应用介绍")]),e("p",[t._v("每个应用可以理解为是一个Vue的CSR的SPA的Web页面,我们会提供一个应用模版,每次开发新应用时,直接git clone这个模版,然后在此基础上开发即可。应用模版里已经集成了TIS SDK 和 UI组件库,可以直接使用。")]),e("pre",[e("code",{staticClass:"language-shell"},[t._v("# 下载应用模版\n\ngit clone 应用模版地址\n\n\n\n# 安装依赖\n\nyarn install \n\n\n\n# 启动开发模式\n\nyarn serve\n\n\n\n# 编码\n\n\n\n# 打包\n\nyarn build\n")])]),e("h3",{attrs:{id:"ying-yong-de-sheng-ming-zhou-qi"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#ying-yong-de-sheng-ming-zhou-qi"}},[t._v("¶")]),t._v(" 应用的生命周期")]),e("h4",{attrs:{id:"bootstrap"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#bootstrap"}},[t._v("¶")]),t._v(" bootstrap")]),e("p",[t._v("bootstrap 只会在应用初始化的时候调用一次,下次微应用重新进入时会直接调用 mount 钩子,不会再重复触发 bootstrap。通常我们可以在这里做一些全局变量的初始化,比如不会在 unmount 阶段被销毁的应用级别的缓存等。")]),e("h4",{attrs:{id:"mount"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#mount"}},[t._v("¶")]),t._v(" mount")]),e("p",[t._v("应用每次进入都会调用 mount 方法,此时TIS SDK会自动加载渲染应用")]),e("h4",{attrs:{id:"unmount"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#unmount"}},[t._v("¶")]),t._v(" unmount")]),e("p",[t._v("应用每次 切出/卸载 会调用的方法,此时TIS SDK会卸载应用的整个DOM(应用停止渲染)")]),e("h3",{attrs:{id:"zai-kuang-jia-zhong-zhu-ce-ying-yong"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#zai-kuang-jia-zhong-zhu-ce-ying-yong"}},[t._v("¶")]),t._v(" 在框架中注册应用")]),e("p",[t._v("在主框架中,每个应用由一个JSON结构描述,这个JSON中含有四个字段,分别是:id、name、icon、entry")]),e("h4",{attrs:{id:"id-ying-yong-wei-yi-biao-shi-fu-zi-fu-chuan-lei-xing"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#id-ying-yong-wei-yi-biao-shi-fu-zi-fu-chuan-lei-xing"}},[t._v("¶")]),t._v(" id:应用唯一标识符,字符串类型")]),e("p",[t._v("应用的唯一标识符,可以"),e("em",[t._v("由英文")]),t._v("字母、阿拉伯数字、下划线构成,长度在1-64个字符之间,这个字段对用户不可见,只用于内部区分应用。")]),e("h4",{attrs:{id:"name-ying-yong-ming-cheng-zi-fu-chuan-lei-xing"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#name-ying-yong-ming-cheng-zi-fu-chuan-lei-xing"}},[t._v("¶")]),t._v(" name:应用名称,字符串类型")]),e("p",[t._v("应用名称,可以由任意字符组成,长度在1到16个字符之间,用于在界面中显示应用名称,这个字段可以重复,但不建议这样做。")]),e("h4",{attrs:{id:"icon-ying-yong-tu-biao-tu-pian-di-zhi-url-lei-xing"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#icon-ying-yong-tu-biao-tu-pian-di-zhi-url-lei-xing"}},[t._v("¶")]),t._v(" icon:应用图标,图片地址URL类型")]),e("p",[t._v("应用图标,用于在界面中显示应用自己的图标")]),e("h4",{attrs:{id:"entry-ying-yong-ru-kou-url"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#entry-ying-yong-ru-kou-url"}},[t._v("¶")]),t._v(" entry: 应用入口,URL")]),e("p",[t._v("表示应用的访问地址,例如 http://localhost:7101/")]),e("pre",[e("code",{staticClass:"language-json"},[t._v(' {\n\n id: "app_1", // 应用唯一id\n\n name: "移动指挥", // 应用名称\n\n icon: "https://vkceyugu.cdn.bspapp.com/VKCEYUGU-04b48fc3-2230-456c-afbc-662ca76d81a8/f0ee65c0-4f21-484d-b9e7-3b411e318c5c.png",\n\n entry: "http://localhost:7101",\n\n }\n')])]),e("h3",{attrs:{id:"zai-ying-yong-zhong-shi-yong-kuang-jia-api-tis"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#zai-ying-yong-zhong-shi-yong-kuang-jia-api-tis"}},[t._v("¶")]),t._v(" 在应用中使用框架API($tis)")]),e("p",[t._v("从框架中加载打开的应用,TIS的SDK都会自动将框架中的API对象即$tis,自动注入到应用中,并且也会挂载到Vue.prototype.$tis上,因此在应用中也可以像在框架中一样,使用框架提供的所有API")]),e("h2",{attrs:{id:"san-fu-chuang-zu-jian"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#san-fu-chuang-zu-jian"}},[t._v("¶")]),t._v(" 三、浮窗组件")]),e("h3",{attrs:{id:"fu-chuang-zu-jian-jie-shao"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fu-chuang-zu-jian-jie-shao"}},[t._v("¶")]),t._v(" 浮窗组件介绍")]),e("p",[t._v("浮窗组件是一个Vue Componet组件,它们只会显示在应用的浮窗视图(WidgetsView)当中,悬浮于应用视图(AppView)上方,方便用户快捷查看/操作的行为。")]),e("h3",{attrs:{id:"ru-he-kai-fa-fu-chuang-zu-jian"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#ru-he-kai-fa-fu-chuang-zu-jian"}},[t._v("¶")]),t._v(" 如何开发浮窗组件")]),e("p",[t._v("浮窗组件是标准的Vue的Component,开发方式与开发Vue Component一样,只要遵循Vue Component开发规范即可。")]),e("p",[t._v("除此之外,浮窗组件是运行在框架中,因此浮窗组件实例vm(即组件中的this),是可以访问到$tis对象,所以浮窗组件可以调用$tis的所有API。")]),e("p",[t._v("例子:在默认项目中 src/widgets/widget-example-1.vue 文件是一个组件示例,代码如下:")]),e("pre",[e("code",{staticClass:"language-html"},[t._v('<template>\n\n <div class="widget">\n\n <div>Widget Exmaple 1</div>\n\n <el-button @click="onClick">利用事件总线,发送消息</el-button>\n\n </div>\n\n</template>\n\n\n\n<script>\n\nexport default {\n\n props: {\n\n params: Object,\n\n },\n\n created() {\n\n console.log("浮窗组件接收到的打开参数为", this.params);\n\n },\n\n methods: {\n\n onClick() {\n\n this.$tis.bus.$emit("msg", {\n\n title: "你好啊,这是一条浮窗组件Example 1发来的消息",\n\n });\n\n },\n\n },\n\n};\n\n<\/script>\n\n\n\n<style lang="scss" scoped>\n\n.widget {\n\n background: #5bb5b6;\n\n text-align: center;\n\n width: 300px;\n\n height: 150px;\n\n display: flex;\n\n flex-direction: column;\n\n align-items: center;\n\n justify-content: center;\n\n}\n\n</style>\n')])]),e("h3",{attrs:{id:"fu-chuang-de-sheng-ming-zhou-qi"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fu-chuang-de-sheng-ming-zhou-qi"}},[t._v("¶")]),t._v(" 浮窗的生命周期")]),e("p",[t._v("因为浮窗本质上就是一个Vue Component,所以它的生命周期与Vue Component的生命周期一模一样,拥有的生命周期钩子函数有:"),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#beforeCreate"}},[t._v("beforeCreate")]),t._v(","),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#created"}},[t._v("created")]),t._v(","),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#beforeMount"}},[t._v("beforeMount")]),t._v(","),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#mounted"}},[t._v("mounted")]),t._v(","),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#beforeUpdate"}},[t._v("beforeUpdate")]),t._v(","),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#updated"}},[t._v("updated")]),t._v(","),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#activated"}},[t._v("activated")]),t._v(","),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#deactivated"}},[t._v("deactivated")]),t._v(","),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#beforeDestroy"}},[t._v("beforeDestroy")]),t._v(","),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#destroyed"}},[t._v("destroyed")])]),e("p",[t._v("详细介绍于使用请参见Vue官方文档:"),e("a",{attrs:{href:"https://cn.vuejs.org/v2/api/#%E9%80%89%E9%A1%B9-%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F%E9%92%A9%E5%AD%90"}},[t._v("API — Vue.js")])]),e("h3",{attrs:{id:"fu-chuang-de-da-kai-yu-guan-bi"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fu-chuang-de-da-kai-yu-guan-bi"}},[t._v("¶")]),t._v(" 浮窗的打开与关闭")]),e("p",[t._v("在框架默认布局中,点击应用控制栏(AppBar)中右侧三个点的按钮,即可唤起浮窗列表(WidgetsPanel)视图,然后勾选上你需要显示的浮窗,点击右上角“确定”即可,然后被勾选的所有”浮窗“就会在框架的浮窗视图(WidgetsView)中一直显示。")]),e("p",[t._v("如果需要关闭,有两种方式:")]),e("ol",[e("li",[t._v("直接在浮窗视图中(WidgetView)中,对当前显示的浮窗,点击它的右上角关闭即可。")]),e("li",[t._v("在浮窗列表视图中,把不需要展示的浮窗,进行取消勾选即可。")])])])}],r=n(0),i=Object(r.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},i,!1,null,null,null);e.default=i.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"tis-app"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#tis-app"}},[this._v("¶")]),this._v(" tis-app")]),t("p",[this._v("tis-app 是一个使用 Vue.js 开发所有tis应用的框架,开发者使用此框架编写代码,构建打包,即可生成符合tis平台规范的应用,可嵌入运行在tis平台中。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"bu-shu-fa-bu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#bu-shu-fa-bu"}},[t._v("¶")]),t._v(" 部署发布")]),e("h3",{attrs:{id:"ben-di-gou-jian"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#ben-di-gou-jian"}},[t._v("¶")]),t._v(" 本地构建")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v("yarn build\n\n# 执行完上方命令后,会看到类似如下结果:\nyarn run v1.22.10\n$ vue-cli-service build\n\n⠏ Building for production...\n\n DONE Compiled successfully in 2414ms 11:02:18\n\n File Size Gzipped\n\n dist/static/js/chunk-vendors.113302c8.js 96.53 KiB 34.33 KiB\n dist/static/js/app.eb1f39ab.js 5.00 KiB 1.98 KiB\n dist/static/css/app.c1528f44.css 0.15 KiB 0.14 KiB\n\n Images and other types of assets omitted.\n\n DONE Build complete. The dist directory is ready to be deployed.\n INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html\n\n✨ Done in 4.98s.\n")])]),e("p",[t._v("构建产物默认生成到 ./dist 下,然后通过"),e("code",[t._v("tree")]),t._v("命令查看,")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v("tree ./dist\n\n# 执行完上方命令后,会看到类似如下结果:\ndist\n├── favicon.ico\n├── index.html\n└── static\n ├── css\n │ └── app.c1528f44.css\n └── js\n ├── app.eb1f39ab.js\n ├── app.eb1f39ab.js.map\n ├── chunk-vendors.113302c8.js\n └── chunk-vendors.113302c8.js.map\n\n3 directories, 7 files\n")])]),e("h3",{attrs:{id:"ben-di-yan-zheng"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#ben-di-yan-zheng"}},[t._v("¶")]),t._v(" 本地验证")]),e("p",[t._v("发布之前,可以通过 "),e("code",[t._v("serve")]),t._v(" 做本地验证:")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v("yarn global add serve\nserve ./dist\n\n# 执行完上方命令后,会看到类似如下结果:\n \n │ Serving! │\n │ │\n │ - Local: http://localhost:5000 │\n │ - On Your Network: http://192.168.1.5:5000 │\n │ │\n │ Copied local address to clipboard! \n")])]),e("p",[t._v("访问 http://localhost:5000,正常情况下应该是和执行 "),e("code",[t._v("yarn start")]),t._v(" 时是一致的。")]),e("h3",{attrs:{id:"xian-shang-bu-shu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#xian-shang-bu-shu"}},[t._v("¶")]),t._v(" 线上部署")]),e("p",[t._v("本地验证完,就可以部署了。你需要把dist目录部署到服务器上。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"huan-jing-zhun-bei"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#huan-jing-zhun-bei"}},[t._v("¶")]),t._v(" 环境准备")]),e("p",[t._v("首先得有 "),e("a",{attrs:{href:"https://nodejs.org/en/"}},[t._v("node")]),t._v(",并确保 node 版本是 10.13 或以上。(mac 下推荐使用 "),e("a",{attrs:{href:"https://github.com/creationix/nvm"}},[t._v("nvm")]),t._v(" 来管理 node 版本,这样不仅可以很方便地切换 node 版本,而且全局安装时候也不用加 sudo 了。)")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v("$ node -v\nv10.13.0\n")])]),e("p",[t._v("推荐使用 yarn 管理 npm 依赖,并"),e("a",{attrs:{href:"https://github.com/yiminghe/tyarn"}},[t._v("使用国内源")]),t._v("。")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v("# 国内源\n$ npm i yarn tyarn -g\n# 后面文档里的 yarn 换成 tyarn\n$ tyarn -v\n")])])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"xia-zai-mo-ban"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#xia-zai-mo-ban"}},[this._v("¶")]),this._v(" 下载模版")]),t("p",[this._v("请下载项目模版zip包,然后解压后,会看到tis-app文件夹,请以此目录作为项目根目录,当然你可以根据自己的需求修改文件夹名称。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"an-zhuang-yi-lai"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#an-zhuang-yi-lai"}},[this._v("¶")]),this._v(" 安装依赖")]),t("pre",[t("code",{staticClass:"language-bash"},[this._v("# 切换到项目根目录\ncd tis-app/\n# 安装依赖\nyarn\n")])])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);var i=[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"qi-dong-xiang-mu"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#qi-dong-xiang-mu"}},[this._v("¶")]),this._v(" 启动项目")]),t("pre",[t("code",{staticClass:"language-bash"},[this._v("yarn serve\n\n# 执行完上方命令后,会看到类似如下结果:\nyarn run v1.22.10\n$ vue-cli-service serve\n INFO Starting development server...\n98% after emitting CopyPlugin\n\n DONE Compiled successfully in 968ms 10:49:43\n\n App running at:\n - Local: http://localhost:7000/\n - Network: http://192.168.1.5:7000/\n\n Note that the development build is not optimized.\n To create a production build, run yarn build.\n")])]),t("p",[this._v("在浏览器里打开 http://localhost:7000/,能看到以下界面,")]),t("p",[t("img",{attrs:{src:n(746),alt:"img"}})])])}],r=n(0),i=Object(r.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},i,!1,null,null,null);e.default=i.exports},function(t,e,n){"use strict";n.r(e);var i=[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"kuang-jia-zhong-yun-xing"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#kuang-jia-zhong-yun-xing"}},[t._v("¶")]),t._v(" 框架中运行")]),e("p",[t._v("tis-app是可以独立运行的,如上方介绍,我们已经成功在浏览器里打开 http://localhost:7000/。但通常我们需要让应用运行在框架中。")]),e("p",[t._v("首先在浏览器中,我们打开发版tis框架测试地址 http://tis-dev.com,如下图:")]),e("p",[e("img",{attrs:{src:n(747),alt:"img"}})]),e("p",[t._v("然后点击左上角绿色Devtool按钮,并填入如下信息:")]),e("ul",[e("li",[t._v("应用唯一id:应用的唯一标识符,可以由英文字母、阿拉伯数字、下划线构成,长度在1-32个字符之间,这个字段在界面不可见,只用于程序内部区分不同应用。可以把它想象成人的身份证号。")]),e("li",[t._v("应用名称:应用显示的名称,可以由任意字符组成,长度在1到16个字符之间,用于在界面中显示,可以把它想象成人的姓名。")]),e("li",[t._v("应用入口地址:访问应用地址的URL,本地开发时,是yarn serve之后得到的地址,例如 http://localhost:7100")]),e("li",[t._v("应用图标地址:地应用图标地址URL,一般推荐将图标放到public/目录下,并且命名为icon.png, 这样本地开发时,可以直接通过 http://localhost:7000/icon.png 访问到。")])]),e("p",[e("img",{attrs:{src:n(748),alt:"img"}})]),e("p",[t._v("填写完成后,保存确认,再次点击左上角Devtool,关闭Devtool窗口,然后点击左侧菜单栏第一个,打开所有应用列表窗口:")]),e("p",[e("img",{attrs:{src:n(749),alt:"img"}})]),e("p",[t._v("可以看到刚刚添加的本地应用在最后一个:")]),e("p",[e("img",{attrs:{src:n(750),alt:"img"}})]),e("p",[t._v("我们点击应用图标,即可在框架中打开本地开发应用:")]),e("p",[e("img",{attrs:{src:n(751),alt:"img"}})])])}],r=n(0),i=Object(r.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},i,!1,null,null,null);e.default=i.exports},function(t,e,n){"use strict";n.r(e);var i=[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"re-chong-zai-hot-reload"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#re-chong-zai-hot-reload"}},[t._v("¶")]),t._v(" 热重载 (Hot reload)")]),e("p",[t._v("tis-app的热重载功能可帮助您在修改代码保存后,无需重新启动项目,无需刷新浏览器的情况下,浏览器界面中即可实时显示修改后的结果。")]),e("h3",{attrs:{id:"shi-shi-yu-lan"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#shi-shi-yu-lan"}},[t._v("¶")]),t._v(" 实时预览")]),e("p",[t._v("一起试一下,打开编辑器,在src/App.vue文件中,插入一行标签代码,然后保存:")]),e("p",[e("img",{attrs:{src:n(752),alt:"img"}})]),e("p",[t._v("然后返回浏览器界面,即可实时看到修改后的结果:")]),e("p",[e("img",{attrs:{src:n(753),alt:"img"}})]),e("h3",{attrs:{id:"zhuang-tai-bao-liu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#zhuang-tai-bao-liu"}},[t._v("¶")]),t._v(" 状态保留")]),e("p",[t._v("“热重载”不只是当你修改文件的时候简单重新加载页面。启用热重载后,当你修改 .vue 文件时,该组件的所有实例将在不刷新页面的情况下被替换。它甚至保持了应用程序和被替换组件的当前状态!当你调整模版或者修改样式时,这极大地提高了开发体验。")]),e("p",[t._v('再来试试,我们在浏览器中,点击“计数器+1”的按钮8次,然后界面中已变成:"我的计数器数值:8"字样:')]),e("p",[e("img",{attrs:{src:n(754),alt:"img"}})]),e("p",[t._v("此时再去修改下src/App.vue文件,保存")]),e("p",[e("img",{attrs:{src:n(755),alt:"img"}})]),e("p",[t._v('返回浏览器,可以看到,新加的一段文本已经显示出来了,而且计数器状态还是显示的为"8",说明我们应用状态并没有因为代码的修改,而导致被清空,这极大的提高了开发效率。')]),e("p",[e("img",{attrs:{src:n(756),alt:"img"}})])])}],r=n(0),i=Object(r.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},i,!1,null,null,null);e.default=i.exports},function(t,e,n){"use strict";n.r(e);var i=[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"cuo-wu-ti-shi"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#cuo-wu-ti-shi"}},[this._v("¶")]),this._v(" 错误提示")]),t("p",[this._v("我们在编写代码中,难免会失误出错,但是不用担心,代码出错后,会有友好的界面提示出错在哪里了")]),t("p",[this._v("试一下,我们故意在代码中删除h1的闭合标签:")]),t("p",[t("img",{attrs:{src:n(757),alt:"img"}})]),t("p",[this._v("保存代码后,返回浏览器可以即可立即看到出错提示:")]),t("p",[t("img",{attrs:{src:n(758),alt:"img"}})])])}],r=n(0),i=Object(r.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},i,!1,null,null,null);e.default=i.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"bu-shu-fa-bu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#bu-shu-fa-bu"}},[t._v("¶")]),t._v(" 部署发布")]),e("h3",{attrs:{id:"ben-di-gou-jian"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#ben-di-gou-jian"}},[t._v("¶")]),t._v(" 本地构建")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v("yarn build\n\n# 执行完上方命令后,会看到类似如下结果:\nyarn run v1.22.10\n$ vue-cli-service build\n\n⠏ Building for production...\n\n DONE Compiled successfully in 2414ms 11:02:18\n\n File Size Gzipped\n\n dist/static/js/chunk-vendors.113302c8.js 96.53 KiB 34.33 KiB\n dist/static/js/app.eb1f39ab.js 5.00 KiB 1.98 KiB\n dist/static/css/app.c1528f44.css 0.15 KiB 0.14 KiB\n\n Images and other types of assets omitted.\n\n DONE Build complete. The dist directory is ready to be deployed.\n INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html\n\n✨ Done in 4.98s.\n")])]),e("p",[t._v("构建产物默认生成到 ./dist 下,然后通过"),e("code",[t._v("tree")]),t._v("命令查看,")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v("tree ./dist\n\n# 执行完上方命令后,会看到类似如下结果:\ndist\n├── favicon.ico\n├── index.html\n└── static\n ├── css\n │ └── app.c1528f44.css\n └── js\n ├── app.eb1f39ab.js\n ├── app.eb1f39ab.js.map\n ├── chunk-vendors.113302c8.js\n └── chunk-vendors.113302c8.js.map\n\n3 directories, 7 files\n")])]),e("h3",{attrs:{id:"ben-di-yan-zheng"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#ben-di-yan-zheng"}},[t._v("¶")]),t._v(" 本地验证")]),e("p",[t._v("发布之前,可以通过 "),e("code",[t._v("serve")]),t._v(" 做本地验证:")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v("yarn global add serve\nserve ./dist\n\n# 执行完上方命令后,会看到类似如下结果:\n \n │ Serving! │\n │ │\n │ - Local: http://localhost:5000 │\n │ - On Your Network: http://192.168.1.5:5000 │\n │ │\n │ Copied local address to clipboard! \n")])]),e("p",[t._v("访问 http://localhost:5000,正常情况下应该是和执行 "),e("code",[t._v("yarn start")]),t._v(" 时是一致的。")]),e("h3",{attrs:{id:"xian-shang-bu-shu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#xian-shang-bu-shu"}},[t._v("¶")]),t._v(" 线上部署")]),e("p",[t._v("本地验证完,就可以部署了。你需要把dist目录部署到服务器上。")])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,t=this._self._c||t;return t("section",{staticClass:"content element-doc"},[t("h2",{attrs:{id:"mu-lu-jie-gou"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#mu-lu-jie-gou"}},[this._v("¶")]),this._v(" 目录结构")]),t("p",[this._v("一个基础的 tis-app 项目大致是这样的:")]),t("pre",[t("code",{staticClass:"language-bash"},[this._v(".\n├── babel.config.js\n├── dist\n├── package.json\n├── public\n│ ├── favicon.ico\n│ ├── icon.png\n│ └── index.html\n├── src\n│ ├── App.vue\n│ ├── assets\n│ │ └── logo.png\n│ ├── components\n│ │ └── HelloWorld.vue\n│ ├── main.js\n│ └── tis\n│ └── index.js\n├── vue.config.js\n")])])])}],!1,null,null,null),e.default=n.exports},function(t,e,n){"use strict";n.r(e);n=n(0),n=Object(n.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"gen-mu-lu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#gen-mu-lu"}},[t._v("¶")]),t._v(" 根目录")]),e("h3",{attrs:{id:"package-json"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#package-json"}},[t._v("¶")]),t._v(" package.json")]),e("p",[t._v("项目基本配置信息,项目开发所需要模块,版本,需要哪些npm包来参与到项目中来,yarn命令根据这个配置文件增减来管理本地的安装包。")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v('{\n "name": "tis-app",\n "version": "0.1.0",\n "private": true,\n "scripts": {\n // 本地开发运行脚本命令\n "serve": "vue-cli-service serve",\n // 打包构建命令\n "build": "vue-cli-service build",\n // lint检查命令\n "lint": "vue-cli-service lint"\n },\n // 项目生产环境依赖的第三方包\n "dependencies": {\n "core-js": "^3.6.5",\n "vue": "^2.6.11"\n },\n // 项目开发环境依赖的第三方包\n "devDependencies": {\n "@vue/cli-plugin-babel": "~4.5.0",\n "@vue/cli-plugin-eslint": "~4.5.0",\n "@vue/cli-service": "~4.5.0",\n "@vue/eslint-config-prettier": "^6.0.0",\n "babel-eslint": "^10.1.0",\n "eslint": "^6.7.2",\n "eslint-plugin-prettier": "^3.1.3",\n "eslint-plugin-vue": "^6.2.2",\n "lint-staged": "^9.5.0",\n "prettier": "^1.19.1",\n "sass": "^1.26.5",\n "sass-loader": "^8.0.2",\n "vue-template-compiler": "^2.6.11"\n },\n // git的一些hook\n "gitHooks": {\n // 每次commit前,会自动进行代码格式化检查\n "pre-commit": "lint-staged"\n },\n "lint-staged": {\n "*.{js,jsx,vue}": [\n "vue-cli-service lint",\n "git add"\n ]\n }\n}\n')])]),e("h3",{attrs:{id:"vue-config-js"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#vue-config-js"}},[t._v("¶")]),t._v(" vue.config.js")]),e("p",[t._v("vue.config.js 是一个配置文件,用于自定义webpack,devServer,outputDir,assetsDir等信息的配置,一般不需要修改,如有高级自定义需求,可参见https://cli.vuejs.org/zh/config/#vue-config-js 进行配置修改。")]),e("h3",{attrs:{id:"babel-config-js"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#babel-config-js"}},[t._v("¶")]),t._v(" babel.config.js")]),e("p",[t._v("可以通过 babel.config.js 进行配置Babel,一般不需要修改,如有高级自定义需求,可参见https://www.babeljs.cn/docs/configuration进行配置修改。")]),e("h3",{attrs:{id:"eslintrc-js"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#eslintrc-js"}},[t._v("¶")]),t._v(" .eslintrc.js")]),e("p",[t._v("可以通过 .eslintrc.js 进行配置ESlint,一般不需要修改,如有高级自定义需求,可参见https://cn.eslint.org/docs/user-guide/configuring进行配置修改。")])])}],!1,null,null,null),e.default=n.exports},function(t,e){t.exports=VueRouter},function(t,e,n){"use strict";var i=n(207);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(255);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(201);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(258);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(252);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(251);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(205);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(259);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(250);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(249);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(246);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(245);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(243);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(241);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(240);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(193);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){var i=n(77),n=n(48);t.exports={throttle:i,debounce:n}},function(t,e,n){"use strict";var i=n(262);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(192);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(208);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(209);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(237);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(203);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(199);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(236);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(235);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";n=n(789);e.a=n.a},function(t,e,n){"use strict";var i=n(198);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},,,function(t,e,n){"use strict";var i=n(234);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(188);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(189);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(194);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(229);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";n=n(790);e.a=n.a},function(t,e,n){"use strict";var i=n(226);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(224);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(222);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(219);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(217);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(214);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(213);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(212);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(210);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(211);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(191);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(200);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(215);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(216);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(218);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(220);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(221);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(260);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(223);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(225);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(227);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(202);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(204);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(228);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(190);i.a.install=function(t){t.directive(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(230);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(261);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(231);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";var i=n(232);i.a.install=function(t){t.component(i.a.name,i.a)},e.a=i.a},function(t,e,n){"use strict";n(154);var i=n(118),n=n(19);e.a=Object.assign({},n.a,{name:"VeBar",data:function(){return this.chartHandler=i.a,{}}})},function(t,e,n){"use strict";n(154);var i=n(118),n=n(19);e.a=Object.assign({},n.a,{name:"VeHistogram",data:function(){return this.chartHandler=i.b,{}}})},function(t,e,n){"use strict";n(344);var i=n(146),n=n(19);e.a=Object.assign({},n.a,{name:"VeLine",data:function(){return this.chartHandler=i.a,{}}})},function(t,e,n){"use strict";n(345);var i=n(119),n=n(19);e.a=Object.assign({},n.a,{name:"VePie",data:function(){return this.chartHandler=i.a,{}}})},function(t,e,n){"use strict";n(345);var i=n(119),n=n(19);e.a=Object.assign({},n.a,{name:"VeRing",data:function(){return this.chartHandler=i.b,{}}})},function(t,e,n){"use strict";n(154);var i=n(298),n=n(19);e.a=Object.assign({},n.a,{name:"VeWaterfall",data:function(){return this.chartHandler=i.a,{}}})},function(t,e,n){"use strict";n(678);var i=n(299),n=n(19);e.a=Object.assign({},n.a,{name:"VeFunnel",data:function(){return this.chartHandler=i.a,{}}})},function(t,e,n){"use strict";n(679);var i=n(300),n=n(19);e.a=Object.assign({},n.a,{name:"VeRadar",data:function(){return this.chartHandler=i.a,{}}})},function(t,e,n){"use strict";var i=n(118),r=n(146),o=n(119),a=n(299),s=n(300),l=n(298),n=n(19);e.a=Object.assign({},n.a,{name:"VeChart",data:function(){return this.chartLib={bar:i.a,histogram:i.b,line:r.a,pie:o.a,ring:o.b,funnel:a.a,radar:s.a,waterfall:l.a},this.chartHandler=this.chartLib[this.settings.type],{}}})},function(t,e,n){"use strict";var i=n(301),r=n.n(i),i=n(1130);r.a.name="m-button",e.a=r.a},function(t,e,n){"use strict";var i=n(142),r=n.n(i),i=n(1137);r.a.name="m-cell",e.a=r.a},function(t,e,n){"use strict";var i=n(488),r=n.n(i),i=n(1138);r.a.name="m-cell-group",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var o=i(n(41)),i=n(7),a=n(47),s=n(54),n=(0,i.createNamespace)("cell-group"),i=n[0],l=n[1];function r(t,e,n,i){var r,i=t("div",(0,o.default)([{class:[l(),((r={})[s.BORDER_TOP_BOTTOM]=e.border,r)]},(0,a.inherit)(i,!0)]),[null==n.default?void 0:n.default()]);return e.title||n.title?t("div",[t("div",{class:l("title")},[n.title?n.title():e.title]),i]):i}r.props={title:String,border:{type:Boolean,default:!0}};i=i(r);e.default=i},function(t,e,n){"use strict";var i=n(490),r=n.n(i),i=n(1140);r.a.name="m-calendar",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var o=n(111),r=n(726),c=n(62),a=n(370),s=i(n(82)),l=i(n(301)),u=i(n(380)),h=i(n(1146)),d=i(n(1147)),r=(0,a.createComponent)({props:{title:String,color:String,value:Boolean,readonly:Boolean,formatter:Function,rowHeight:[Number,String],confirmText:String,rangePrompt:String,defaultDate:[Date,Array],getContainer:[String,Function],allowSameDay:Boolean,confirmDisabledText:String,type:{type:String,default:"single"},round:{type:Boolean,default:!0},position:{type:String,default:"bottom"},poppable:{type:Boolean,default:!0},maxRange:{type:[Number,String],default:null},lazyRender:{type:Boolean,default:!0},showMark:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showSubtitle:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},minDate:{type:Date,validator:r.isDate,default:function(){return new Date}},maxDate:{type:Date,validator:r.isDate,default:function(){var t=new Date;return new Date(t.getFullYear(),t.getMonth()+6,t.getDate())}},firstDayOfWeek:{type:[Number,String],default:0,validator:function(t){return 0<=t&&t<=6}}},data:function(){return{subtitle:"",currentDate:this.getInitialDate()}},computed:{months:function(){var t=[],e=new Date(this.minDate);for(e.setDate(1);t.push(new Date(e)),e.setMonth(e.getMonth()+1),1!==(0,a.compareMonth)(e,this.maxDate););return t},buttonDisabled:function(){var t=this.type,e=this.currentDate;if(e){if("range"===t)return!e[0]||!e[1];if("multiple"===t)return!e.length}return!e},dayOffset:function(){return this.firstDayOfWeek?this.firstDayOfWeek%7:0}},watch:{type:"reset",value:"init",defaultDate:function(t){this.currentDate=t,this.scrollIntoView()}},mounted:function(){this.init()},activated:function(){this.init()},methods:{reset:function(){this.currentDate=this.getInitialDate(),this.scrollIntoView()},init:function(){var t=this;this.poppable&&!this.value||this.$nextTick(function(){t.bodyHeight=Math.floor(t.$refs.body.getBoundingClientRect().height),t.onScroll(),t.scrollIntoView()})},scrollToDate:function(i){var r=this;(0,o.raf)(function(){var t=r.value||!r.poppable;i&&t&&r.months.some(function(t,e){if(0!==(0,a.compareMonth)(t,i))return!1;var n=r.$refs,t=n.body;return n.months[e].scrollIntoView(t),!0})})},scrollIntoView:function(){var t=this.currentDate;t&&(t="single"===this.type?t:t[0],this.scrollToDate(t))},getInitialDate:function(){var t=this.type,e=this.minDate,n=this.maxDate,i=this.defaultDate;if(null===i)return i;var r=new Date;if(-1===(0,a.compareDay)(r,e)?r=e:1===(0,a.compareDay)(r,n)&&(r=n),"range"!==t)return"multiple"===t?i||[r]:i||r;i=i||[];return[i[0]||r,i[1]||(0,a.getNextDay)(r)]},onScroll:function(){var t=this.$refs,e=t.body,n=t.months,i=(0,c.getScrollTop)(e),r=i+this.bodyHeight,o=n.map(function(t){return t.getHeight()});if(!(o.reduce(function(t,e){return t+e},0)<r&&0<i)){for(var a,s=0,l=[-1,-1],u=0;u<n.length;u++)s<=r&&s+o[u]>=i&&(l[1]=u,a||(a=n[u],l[0]=u),n[u].showed||(n[u].showed=!0,this.$emit("month-show",{date:n[u].date,title:n[u].title}))),s+=o[u];n.forEach(function(t,e){t.visible=e>=l[0]-1&&e<=l[1]+1}),a&&(this.subtitle=a.title)}},onClickDay:function(t){var n,e,i,r,o;this.readonly||(n=t.date,o=this.type,e=this.currentDate,"range"===o?e?(i=e[0],t=e[1],i&&!t?1===(t=(0,a.compareDay)(n,i))?this.select([i,n],!0):-1===t?this.select([n,null]):this.allowSameDay&&this.select([n,n],!0):this.select([n,null])):this.select([n,null]):"multiple"===o?e?this.currentDate.some(function(t,e){t=0===(0,a.compareDay)(t,n);return t&&(r=e),t})?(o=e.splice(r,1)[0],this.$emit("unselect",(0,a.copyDate)(o))):this.maxRange&&e.length>=this.maxRange?(0,u.default)(this.rangePrompt||(0,a.t)("rangePrompt",this.maxRange)):this.select([].concat(e,[n])):this.select([n]):this.select(n,!0))},togglePopup:function(t){this.$emit("input",t)},select:function(t,e){function n(t){i.currentDate=t,i.$emit("select",(0,a.copyDates)(i.currentDate))}var i=this;if(e&&"range"===this.type&&!this.checkRange(t))return void(this.showConfirm?n([t[0],(0,a.getDayByOffset)(t[0],this.maxRange-1)]):n(t));n(t),e&&!this.showConfirm&&this.onConfirm()},checkRange:function(t){var e=this.maxRange,n=this.rangePrompt;return!(e&&(0,a.calcDateNum)(t)>e)||((0,u.default)(n||(0,a.t)("rangePrompt",e)),!1)},onConfirm:function(){this.$emit("confirm",(0,a.copyDates)(this.currentDate))},genMonth:function(t,e){var n=this.$createElement,e=0!==e||!this.showSubtitle;return n(h.default,{ref:"months",refInFor:!0,attrs:{date:t,type:this.type,color:this.color,minDate:this.minDate,maxDate:this.maxDate,showMark:this.showMark,formatter:this.formatter,rowHeight:this.rowHeight,lazyRender:this.lazyRender,currentDate:this.currentDate,showSubtitle:this.showSubtitle,allowSameDay:this.allowSameDay,showMonthTitle:e,firstDayOfWeek:this.dayOffset},on:{click:this.onClickDay}})},genFooterContent:function(){var t=this.$createElement,e=this.slots("footer");if(e)return e;if(this.showConfirm){e=this.buttonDisabled?this.confirmDisabledText:this.confirmText;return t(l.default,{attrs:{round:!0,block:!0,type:"danger",color:this.color,disabled:this.buttonDisabled,nativeType:"button"},class:(0,a.bem)("confirm"),on:{click:this.onConfirm}},[e||(0,a.t)("confirm")])}},genFooter:function(){return(0,this.$createElement)("div",{class:(0,a.bem)("footer",{unfit:!this.safeAreaInsetBottom})},[this.genFooterContent()])},genCalendar:function(){var t=this,e=this.$createElement;return e("div",{class:(0,a.bem)()},[e(d.default,{attrs:{title:this.title,showTitle:this.showTitle,subtitle:this.subtitle,showSubtitle:this.showSubtitle,firstDayOfWeek:this.dayOffset},scopedSlots:{title:function(){return t.slots("title")}}}),e("div",{ref:"body",class:(0,a.bem)("body"),on:{scroll:this.onScroll}},[this.months.map(this.genMonth)]),this.genFooter()])}},render:function(){var e=this;if(this.poppable){var t,n=function(t){return function(){return e.$emit(t)}};return(0,arguments[0])(s.default,{attrs:((t={round:!0,value:this.value}).round=this.round,t.position=this.position,t.closeable=this.showTitle||this.showSubtitle,t.getContainer=this.getContainer,t.closeOnPopstate=this.closeOnPopstate,t.closeOnClickOverlay=this.closeOnClickOverlay,t),class:(0,a.bem)("popup"),on:{input:this.togglePopup,open:n("open"),opened:n("opened"),close:n("close"),closed:n("closed")}},[this.genCalendar()])}return this.genCalendar()}});e.default=r},function(t,e,n){"use strict";var i=n(492),r=n.n(i),i=n(1148);r.a.name="m-cascader",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=i(n(303)),a=i(n(1151)),s=i(n(32)),n=(0,r.createNamespace)("cascader"),r=n[0],l=n[1],u=n[2],r=r({props:{title:String,value:[Number,String],placeholder:String,activeColor:String,options:{type:Array,default:function(){return[]}},closeable:{type:Boolean,default:!0}},data:function(){return{tabs:[],activeTab:0}},watch:{options:{deep:!0,handler:"updateTabs"},value:function(t){if((t||0===t)&&-1!==this.tabs.map(function(t){return null==(t=t.selectedOption)?void 0:t.value}).indexOf(t))return;this.updateTabs()}},created:function(){this.updateTabs()},methods:{getSelectedOptionsByValue:function(t,e){for(var n=0;n<t.length;n++){var i=t[n];if(i.value===e)return[i];if(i.children){var r=this.getSelectedOptionsByValue(i.children,e);if(r)return[i].concat(r)}}},updateTabs:function(){var t=this;if(this.value||0===this.value){var e=this.getSelectedOptionsByValue(this.options,this.value);if(e){var i=this.options;return this.tabs=e.map(function(e){var t={options:i,selectedOption:e},n=i.filter(function(t){return t.value===e.value});return n.length&&(i=n[0].children),t}),i&&this.tabs.push({options:i,selectedOption:null}),void this.$nextTick(function(){t.activeTab=t.tabs.length-1})}}this.tabs=[{options:this.options,selectedOption:null}]},onSelect:function(t,e){var n=this;this.tabs[e].selectedOption=t,this.tabs.length>e+1&&(this.tabs=this.tabs.slice(0,e+1)),t.children&&(i={options:t.children,selectedOption:null},this.tabs[e+1]?this.$set(this.tabs,e+1,i):this.tabs.push(i),this.$nextTick(function(){n.activeTab++}));var i=this.tabs.map(function(t){return t.selectedOption}).filter(function(t){return!!t}),i={value:t.value,tabIndex:e,selectedOptions:i};this.$emit("input",t.value),this.$emit("change",i),t.children||this.$emit("finish",i)},onClose:function(){this.$emit("close")},renderHeader:function(){var t=this.$createElement;return t("div",{class:l("header")},[t("h2",{class:l("title")},[this.slots("title")||this.title]),this.closeable?t(s.default,{attrs:{name:"cross"},class:l("close-icon"),on:{click:this.onClose}}):null])},renderOptions:function(t,n,i){var r=this,o=this.$createElement;return o("ul",{class:l("options")},[t.map(function(t){var e=n&&t.value===n.value;return o("li",{class:l("option",{selected:e}),style:{color:e?r.activeColor:null},on:{click:function(){r.onSelect(t,i)}}},[o("span",[t.text]),e?o(s.default,{attrs:{name:"success"},class:l("selected-icon")}):null])})])},renderTab:function(t,e){var n=this.$createElement,i=t.options,r=t.selectedOption,t=r?r.text:this.placeholder||u("select");return n(o.default,{attrs:{title:t,titleClass:l("tab",{unselected:!r})}},[this.renderOptions(i,r,e)])},renderTabs:function(){var e=this;return(0,this.$createElement)(a.default,{attrs:{animated:!0,swipeable:!0,swipeThreshold:0,color:this.activeColor},class:l("tabs"),model:{value:e.activeTab,callback:function(t){e.activeTab=t}}},[this.tabs.map(this.renderTab)])}},render:function(){return(0,arguments[0])("div",{class:l()},[this.renderHeader(),this.renderTabs()])}});e.default=r},function(t,e,n){"use strict";var i=n(494),r=n.n(i),i=n(1155);r.a.name="m-checkbox",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(732),n=(0,i.createNamespace)("checkbox"),i=n[0],n=n[1],n=i({mixins:[(0,r.CheckboxMixin)({bem:n,role:"checkbox",parent:"vanCheckbox"})],computed:{checked:{get:function(){return this.parent?-1!==this.parent.value.indexOf(this.name):this.value},set:function(t){this.parent?this.setParentValue(t):this.$emit("input",t)}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggle:function(t){var e=this;void 0===t&&(t=!this.checked),clearTimeout(this.toggleTask),this.toggleTask=setTimeout(function(){e.checked=t})},setParentValue:function(t){var e=this.parent,n=e.value.slice();t?e.max&&n.length>=e.max||-1===n.indexOf(this.name)&&(n.push(this.name),e.$emit("input",n)):-1!==(t=n.indexOf(this.name))&&(n.splice(t,1),e.$emit("input",n))}}});e.default=n},function(t,e,n){"use strict";var i=n(496),r=n.n(i),i=n(1157);r.a.name="m-datetime-picker",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=n(7),a=i(n(1158)),s=i(n(1160)),n=(0,o.createNamespace)("datetime-picker"),o=n[0],l=n[1],o=o({props:(0,r.default)({},a.default.props,s.default.props),methods:{getPicker:function(){return this.$refs.root.getPicker()}},render:function(){return(0,arguments[0])(("time"===this.type?a:s).default,{ref:"root",class:l(),scopedSlots:this.$scopedSlots,props:(0,r.default)({},this.$props),on:(0,r.default)({},this.$listeners)})}});e.default=o},function(t,e,n){"use strict";var i=n(306),r=n.n(i),i=n(1161);r.a.name="m-field",e.a=r.a},function(t,e,n){"use strict";var i=n(82),r=n.n(i),i=n(1163);r.a.name="m-popup",e.a=r.a},function(t,e,n){"use strict";var i=n(305),r=n.n(i),i=n(1164);r.a.name="m-picker",e.a=r.a},function(t,e,n){"use strict";var i=n(501),r=n.n(i),i=n(1165);r.a.name="m-number-keyboard",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=n(40),a=n(372),s=n(81),l=i(n(1167)),n=(0,r.createNamespace)("number-keyboard"),r=n[0],u=n[1],s=r({mixins:[(0,a.PortalMixin)(),(0,s.BindEventMixin)(function(t){this.hideOnClickOutside&&t(document.body,"touchstart",this.onBlur)})],model:{event:"update:value"},props:{show:Boolean,title:String,zIndex:[Number,String],randomKeyOrder:Boolean,closeButtonText:String,deleteButtonText:String,closeButtonLoading:Boolean,theme:{type:String,default:"default"},value:{type:String,default:""},extraKey:{type:[String,Array],default:""},maxlength:{type:[Number,String],default:Number.MAX_VALUE},transition:{type:Boolean,default:!0},showDeleteKey:{type:Boolean,default:!0},hideOnClickOutside:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0}},watch:{show:function(t){this.transition||this.$emit(t?"show":"hide")}},computed:{keys:function(){return"custom"===this.theme?this.genCustomKeys():this.genDefaultKeys()}},methods:{genBasicKeys:function(){for(var t=[],e=1;e<=9;e++)t.push({text:e});return this.randomKeyOrder&&t.sort(function(){return.5<Math.random()?1:-1}),t},genDefaultKeys:function(){return[].concat(this.genBasicKeys(),[{text:this.extraKey,type:"extra"},{text:0},{text:this.showDeleteKey?this.deleteButtonText:"",type:this.showDeleteKey?"delete":""}])},genCustomKeys:function(){var t=this.genBasicKeys(),e=this.extraKey,e=Array.isArray(e)?e:[e];return 1===e.length?t.push({text:0,wider:!0},{text:e[0],type:"extra"}):2===e.length&&t.push({text:e[0],type:"extra"},{text:0},{text:e[1],type:"extra"}),t},onBlur:function(){this.show&&this.$emit("blur")},onClose:function(){this.$emit("close"),this.onBlur()},onAnimationEnd:function(){this.$emit(this.show?"show":"hide")},onPress:function(t,e){var n;""!==t?(n=this.value,"delete"===e?(this.$emit("delete"),this.$emit("update:value",n.slice(0,n.length-1))):"close"===e?this.onClose():n.length<this.maxlength&&(this.$emit("input",t),this.$emit("update:value",n+t))):"extra"===e&&this.onBlur()},genTitle:function(){var t=this.$createElement,e=this.title,n=this.theme,i=this.closeButtonText,r=this.slots("title-left"),n=i&&"default"===n;if(e||n||r)return t("div",{class:u("header")},[r&&t("span",{class:u("title-left")},[r]),e&&t("h2",{class:u("title")},[e]),n&&t("button",{attrs:{type:"button"},class:u("close"),on:{click:this.onClose}},[i])])},genKeys:function(){var e=this,n=this.$createElement;return this.keys.map(function(t){return n(l.default,{key:t.text,attrs:{text:t.text,type:t.type,wider:t.wider,color:t.color},on:{press:e.onPress}},["delete"===t.type&&e.slots("delete"),"extra"===t.type&&e.slots("extra-key")])})},genSidebar:function(){var t=this.$createElement;if("custom"===this.theme)return t("div",{class:u("sidebar")},[this.showDeleteKey&&t(l.default,{attrs:{large:!0,text:this.deleteButtonText,type:"delete"},on:{press:this.onPress}},[this.slots("delete")]),t(l.default,{attrs:{large:!0,text:this.closeButtonText,type:"close",color:"blue",loading:this.closeButtonLoading},on:{press:this.onPress}})])}},render:function(){var t=arguments[0],e=this.genTitle();return t("transition",{attrs:{name:this.transition?"van-slide-up":""}},[t("div",{directives:[{name:"show",value:this.show}],style:{zIndex:this.zIndex},class:u({unfit:!this.safeAreaInsetBottom,"with-title":e}),on:{touchstart:o.stopPropagation,animationend:this.onAnimationEnd,webkitAnimationEnd:this.onAnimationEnd}},[e,t("div",{class:u("body")},[t("div",{class:u("keys")},[this.genKeys()]),this.genSidebar()])])])}});e.default=s},function(t,e,n){"use strict";var i=n(503),r=n.n(i),i=n(1170);r.a.name="m-password-input",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var y=i(n(41)),x=n(7),_=n(47),b=n(54),i=(0,x.createNamespace)("password-input"),n=i[0],S=i[1];function r(t,e,n,i){for(var r=e.mask,o=e.value,a=e.length,s=e.gutter,l=e.focused,u=e.errorInfo,c=u||e.info,h=[],d=0;d<a;d++){var p,f=o[d],g=0!==d&&!s,m=l&&d===o.length,v=void 0;0!==d&&s&&(v={marginLeft:(0,x.addUnit)(s)}),h.push(t("li",{class:[((p={})[b.BORDER_LEFT]=g,p),S("item",{focus:m})],style:v},[r?t("i",{style:{visibility:f?"visible":"hidden"}}):f,m&&t("div",{class:S("cursor")})]))}return t("div",{class:S()},[t("ul",(0,y.default)([{class:[S("security"),((e={})[b.BORDER_SURROUND]=!s,e)],on:{touchstart:function(t){t.stopPropagation(),(0,_.emit)(i,"focus",t)}}},(0,_.inherit)(i,!0)]),[h]),c&&t("div",{class:S(u?"error-info":"info")},[c])])}r.props={info:String,gutter:[Number,String],focused:Boolean,errorInfo:String,mask:{type:Boolean,default:!0},value:{type:String,default:""},length:{type:[Number,String],default:6}};n=n(r);e.default=n},function(t,e,n){"use strict";var i=n(505),r=n.n(i),i=n(1172);r.a.name="m-form",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(730),n=(0,i.createNamespace)("form"),i=n[0],o=n[1],i=i({props:{colon:Boolean,disabled:Boolean,readonly:Boolean,labelWidth:[Number,String],labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,errorMessageAlign:String,submitOnEnter:{type:Boolean,default:!0},validateTrigger:{type:String,default:"onBlur"},showError:{type:Boolean,default:!0},showErrorMessage:{type:Boolean,default:!0}},provide:function(){return{vanForm:this}},data:function(){return{fields:[]}},methods:{getFieldsByNames:function(e){return e?this.fields.filter(function(t){return-1!==e.indexOf(t.name)}):this.fields},validateSeq:function(i){var r=this;return new Promise(function(t,e){var n=[];r.getFieldsByNames(i).reduce(function(t,e){return t.then(function(){if(!n.length)return e.validate().then(function(t){t&&n.push(t)})})},Promise.resolve()).then(function(){n.length?e(n):t()})})},validateFields:function(i){var r=this;return new Promise(function(e,n){var t=r.getFieldsByNames(i);Promise.all(t.map(function(t){return t.validate()})).then(function(t){(t=t.filter(function(t){return t})).length?n(t):e()})})},validate:function(t){return t&&!Array.isArray(t)?this.validateField(t):this.validateFirst?this.validateSeq(t):this.validateFields(t)},validateField:function(e){var t=this.fields.filter(function(t){return t.name===e});return t.length?new Promise(function(e,n){t[0].validate().then(function(t){t?n(t):e()})}):Promise.reject()},resetValidation:function(t){t&&!Array.isArray(t)&&(t=[t]),this.getFieldsByNames(t).forEach(function(t){t.resetValidation()})},scrollToField:function(e,n){this.fields.some(function(t){return t.name===e&&(t.$el.scrollIntoView(n),!0)})},addField:function(t){this.fields.push(t),(0,r.sortChildren)(this.fields,this)},removeField:function(e){this.fields=this.fields.filter(function(t){return t!==e})},getValues:function(){return this.fields.reduce(function(t,e){return t[e.name]=e.formValue,t},{})},onSubmit:function(t){t.preventDefault(),this.submit()},submit:function(){var e=this,n=this.getValues();this.validate().then(function(){e.$emit("submit",n)}).catch(function(t){e.$emit("failed",{values:n,errors:t}),e.scrollToError&&e.scrollToField(t[0].name)})}},render:function(){return(0,arguments[0])("form",{class:o(),on:{submit:this.onSubmit}},[this.slots()])}});e.default=i},function(t,e,n){"use strict";var i=n(507),r=n.n(i),i=n(1173);r.a.name="m-action-sheet",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=i(n(41)),a=n(7),u=n(47),s=n(138),c=i(n(32)),h=i(n(82)),d=i(n(74)),n=(0,a.createNamespace)("action-sheet"),a=n[0],p=n[1];function l(a,s,e,l){var t=s.title,n=s.cancelText,i=s.closeable;function r(){(0,u.emit)(l,"input",!1),(0,u.emit)(l,"cancel")}return a(h.default,(0,o.default)([{class:p(),attrs:{position:"bottom",round:s.round,value:s.value,overlay:s.overlay,duration:s.duration,lazyRender:s.lazyRender,lockScroll:s.lockScroll,getContainer:s.getContainer,closeOnPopstate:s.closeOnPopstate,closeOnClickOverlay:s.closeOnClickOverlay,safeAreaInsetBottom:s.safeAreaInsetBottom}},(0,u.inherit)(l,!0)]),[function(){if(t)return a("div",{class:p("header")},[t,i&&a(c.default,{attrs:{name:s.closeIcon},class:p("close"),on:{click:r}})])}(),function(){var t=(null==e.description?void 0:e.description())||s.description;if(t)return a("div",{class:p("description")},[t])}(),a("div",{class:p("content")},[s.actions&&s.actions.map(function(e,n){var i=e.disabled,r=e.loading,o=e.callback;return a("button",{attrs:{type:"button"},class:[p("item",{disabled:i,loading:r}),e.className],style:{color:e.color},on:{click:function(t){t.stopPropagation(),i||r||(o&&o(e),(0,u.emit)(l,"select",e,n),s.closeOnClickAction&&(0,u.emit)(l,"input",!1))}}},[r?a(d.default,{class:p("loading-icon")}):[a("span",{class:p("name")},[e.name]),e.subname&&a("div",{class:p("subname")},[e.subname])]])}),null==e.default?void 0:e.default()]),function(){if(n)return[a("div",{class:p("gap")}),a("button",{attrs:{type:"button"},class:p("cancel"),on:{click:r}},[n])]}()])}l.props=(0,r.default)({},s.popupMixinProps,{title:String,actions:Array,duration:[Number,String],cancelText:String,description:String,getContainer:[String,Function],closeOnPopstate:Boolean,closeOnClickAction:Boolean,round:{type:Boolean,default:!0},closeable:{type:Boolean,default:!0},closeIcon:{type:String,default:"cross"},safeAreaInsetBottom:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}});a=a(l);e.default=a},function(t,e,n){"use strict";var i=n(509),r=n.n(i),i=n(1175);r.a.Component.name="m-notify",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r,o,a=i(n(28)),s=i(n(6)),l=i(n(1177)),u=n(7),c=n(47);function h(t){var e;if(!u.isServer)return o=o||(0,c.mount)(l.default,{on:{click:function(t){o.onClick&&o.onClick(t)},close:function(){o.onClose&&o.onClose()},opened:function(){o.onOpened&&o.onOpened()}}}),t=(0,a.default)({},h.currentOptions,(e=t,(0,u.isObject)(e)?e:{message:e})),(0,a.default)(o,t),clearTimeout(r),t.duration&&0<t.duration&&(r=setTimeout(h.clear,t.duration)),o}function d(){return{type:"danger",value:!0,message:"",color:void 0,background:void 0,duration:3e3,className:"",onClose:null,onClick:null,onOpened:null}}h.clear=function(){o&&(o.value=!1)},h.currentOptions=d(),h.setDefaultOptions=function(t){(0,a.default)(h.currentOptions,t)},h.resetDefaultOptions=function(){h.currentOptions=d()},h.install=function(){s.default.use(l.default)},h.Component=l.default,s.default.prototype.$notify=h,e.default=h},function(t,e,n){"use strict";var i=n(511),r=n.n(i),i=n(1178);r.a.name="m-pull-refresh",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=n(40),a=n(62),s=n(63),l=i(n(74)),n=(0,r.createNamespace)("pull-refresh"),r=n[0],u=n[1],c=n[2],h=["pulling","loosing","success"],s=r({mixins:[s.TouchMixin],props:{disabled:Boolean,successText:String,pullingText:String,loosingText:String,loadingText:String,value:{type:Boolean,required:!0},successDuration:{type:[Number,String],default:500},animationDuration:{type:[Number,String],default:300},headHeight:{type:[Number,String],default:50}},data:function(){return{status:"normal",distance:0,duration:0}},computed:{touchable:function(){return"loading"!==this.status&&"success"!==this.status&&!this.disabled},headStyle:function(){if(50!==this.headHeight)return{height:this.headHeight+"px"}}},watch:{value:function(t){this.duration=this.animationDuration,t?this.setStatus(+this.headHeight,!0):this.slots("success")||this.successText?this.showSuccessTip():this.setStatus(0,!1)}},mounted:function(){this.bindTouchEvent(this.$refs.track),this.scrollEl=(0,a.getScroller)(this.$el)},methods:{checkPullStart:function(t){this.ceiling=0===(0,a.getScrollTop)(this.scrollEl),this.ceiling&&(this.duration=0,this.touchStart(t))},onTouchStart:function(t){this.touchable&&this.checkPullStart(t)},onTouchMove:function(t){this.touchable&&(this.ceiling||this.checkPullStart(t),this.touchMove(t),this.ceiling&&0<=this.deltaY&&"vertical"===this.direction&&((0,o.preventDefault)(t),this.setStatus(this.ease(this.deltaY))))},onTouchEnd:function(){var t=this;this.touchable&&this.ceiling&&this.deltaY&&(this.duration=this.animationDuration,"loosing"===this.status?(this.setStatus(+this.headHeight,!0),this.$emit("input",!0),this.$nextTick(function(){t.$emit("refresh")})):this.setStatus(0))},ease:function(t){var e=+this.headHeight;return e<t&&(t=t<2*e?e+(t-e)/2:1.5*e+(t-2*e)/4),Math.round(t)},setStatus:function(t,e){e=e?"loading":0===t?"normal":t<this.headHeight?"pulling":"loosing";this.distance=t,e!==this.status&&(this.status=e)},genStatus:function(){var t=this.$createElement,e=this.status,n=this.distance,i=this.slots(e,{distance:n});if(i)return i;n=[],i=this[e+"Text"]||c(e);return-1!==h.indexOf(e)&&n.push(t("div",{class:u("text")},[i])),"loading"===e&&n.push(t(l.default,{attrs:{size:"16"}},[i])),n},showSuccessTip:function(){var t=this;this.status="success",setTimeout(function(){t.setStatus(0)},this.successDuration)}},render:function(){var t=arguments[0],e={transitionDuration:this.duration+"ms",transform:this.distance?"translate3d(0,"+this.distance+"px, 0)":""};return t("div",{class:u()},[t("div",{ref:"track",class:u("track"),style:e},[t("div",{class:u("head"),style:this.headStyle},[this.genStatus()]),this.slots()])])}});e.default=s},function(t,e,n){"use strict";var i=n(307),r=n.n(i),i=n(1180);r.a.name="m-swipe-item",e.a=r.a},function(t,e,n){"use strict";var i=n(308),r=n.n(i),i=n(1181);r.a.name="m-swipe",e.a=r.a},function(t,e,n){"use strict";var i=n(515),r=n.n(i),i=n(1182);r.a.name="m-swipe-cell",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(113),o=n(40),a=n(63),s=n(376),n=(0,i.createNamespace)("swipe-cell"),i=n[0],l=n[1],s=i({mixins:[a.TouchMixin,(0,s.ClickOutsideMixin)({event:"touchstart",method:"onClick"})],props:{onClose:Function,disabled:Boolean,leftWidth:[Number,String],rightWidth:[Number,String],beforeClose:Function,stopPropagation:Boolean,name:{type:[Number,String],default:""}},data:function(){return{offset:0,dragging:!1}},computed:{computedLeftWidth:function(){return+this.leftWidth||this.getWidthByRef("left")},computedRightWidth:function(){return+this.rightWidth||this.getWidthByRef("right")}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{getWidthByRef:function(t){return this.$refs[t]?this.$refs[t].getBoundingClientRect().width:0},open:function(t){var e="left"===t?this.computedLeftWidth:-this.computedRightWidth;this.opened=!0,this.offset=e,this.$emit("open",{position:t,name:this.name,detail:this.name})},close:function(t){this.offset=0,this.opened&&(this.opened=!1,this.$emit("close",{position:t,name:this.name}))},onTouchStart:function(t){this.disabled||(this.startOffset=this.offset,this.touchStart(t))},onTouchMove:function(t){this.disabled||(this.touchMove(t),"horizontal"===this.direction&&(this.dragging=!0,this.lockClick=!0,(!this.opened||this.deltaX*this.startOffset<0)&&(0,o.preventDefault)(t,this.stopPropagation),this.offset=(0,r.range)(this.deltaX+this.startOffset,-this.computedRightWidth,this.computedLeftWidth)))},onTouchEnd:function(){var t=this;this.disabled||this.dragging&&(this.toggle(0<this.offset?"left":"right"),this.dragging=!1,setTimeout(function(){t.lockClick=!1},0))},toggle:function(t){var e=Math.abs(this.offset),n=this.opened?.85:.15,i=this.computedLeftWidth,r=this.computedRightWidth;r&&"right"===t&&r*n<e?this.open("right"):i&&"left"===t&&i*n<e?this.open("left"):this.close()},onClick:function(t){this.$emit("click",t=void 0===t?"outside":t),this.opened&&!this.lockClick&&(this.beforeClose?this.beforeClose({position:t,name:this.name,instance:this}):this.onClose?this.onClose(t,this,{name:this.name}):this.close(t))},getClickHandler:function(e,n){var i=this;return function(t){n&&t.stopPropagation(),i.onClick(e)}},genLeftPart:function(){var t=this.$createElement,e=this.slots("left");if(e)return t("div",{ref:"left",class:l("left"),on:{click:this.getClickHandler("left",!0)}},[e])},genRightPart:function(){var t=this.$createElement,e=this.slots("right");if(e)return t("div",{ref:"right",class:l("right"),on:{click:this.getClickHandler("right",!0)}},[e])}},render:function(){var t=arguments[0],e={transform:"translate3d("+this.offset+"px, 0, 0)",transitionDuration:this.dragging?"0s":".6s"};return t("div",{class:l(),on:{click:this.getClickHandler("cell")}},[t("div",{class:l("wrapper"),style:e},[this.genLeftPart(),this.slots(),this.genRightPart()])])}});e.default=s},function(t,e,n){"use strict";var i=n(517),r=n.n(i),i=n(1184);r.a.name="m-notice-bar",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var o=n(7),a=n(111),r=n(81),u=i(n(32)),i=(0,o.createNamespace)("notice-bar"),n=i[0],c=i[1],r=n({mixins:[(0,r.BindEventMixin)(function(t){t(window,"pageshow",this.start)})],props:{text:String,mode:String,color:String,leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null},delay:{type:[Number,String],default:1},speed:{type:[Number,String],default:50}},data:function(){return{show:!0,offset:0,duration:0,wrapWidth:0,contentWidth:0}},watch:{scrollable:"start",text:{handler:"start",immediate:!0}},activated:function(){this.start()},methods:{onClickIcon:function(t){"closeable"===this.mode&&(this.show=!1,this.$emit("close",t))},onTransitionEnd:function(){var t=this;this.offset=this.wrapWidth,(this.duration=0,a.raf)(function(){(0,a.doubleRaf)(function(){t.offset=-t.contentWidth,t.duration=(t.contentWidth+t.wrapWidth)/t.speed,t.$emit("replay")})})},reset:function(){this.offset=0,this.duration=0,this.wrapWidth=0,this.contentWidth=0},start:function(){var r=this,t=(0,o.isDef)(this.delay)?1e3*this.delay:0;this.reset(),clearTimeout(this.startTimer),this.startTimer=setTimeout(function(){var t,e,n=r.$refs,i=n.wrap,n=n.content;i&&n&&!1!==r.scrollable&&(t=i.getBoundingClientRect().width,e=n.getBoundingClientRect().width,(r.scrollable||t<e)&&(0,a.doubleRaf)(function(){r.offset=-e,r.duration=e/r.speed,r.wrapWidth=t,r.contentWidth=e}))},t)}},render:function(){var t,e=this,n=arguments[0],i=this.slots,r=this.mode,o=this.leftIcon,a=this.onClickIcon,s={color:this.color,background:this.background},l={transform:this.offset?"translateX("+this.offset+"px)":"",transitionDuration:this.duration+"s"};return n("div",{attrs:{role:"alert"},directives:[{name:"show",value:this.show}],class:c({wrapable:this.wrapable}),style:s,on:{click:function(t){e.$emit("click",t)}}},[i("left-icon")||(o?n(u.default,{class:c("left-icon"),attrs:{name:o}}):void 0),n("div",{ref:"wrap",class:c("wrap"),attrs:{role:"marquee"}},[n("div",{ref:"content",class:[c("content"),{"van-ellipsis":!1===this.scrollable&&!this.wrapable}],style:l,on:{transitionend:this.onTransitionEnd}},[this.slots()||this.text])]),i("right-icon")||("closeable"===r?t="cross":"link"===r&&(t="arrow"),t?n(u.default,{class:c("right-icon"),attrs:{name:t},on:{click:a}}):void 0)])}});e.default=r},function(t,e,n){"use strict";var i=n(519),r=n.n(i),i=n(1186);r.a.name="m-grid",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(54),o=n(36),a=(0,i.createNamespace)("grid"),n=a[0],s=a[1],o=n({mixins:[(0,o.ParentMixin)("vanGrid")],props:{square:Boolean,gutter:[Number,String],iconSize:[Number,String],direction:String,clickable:Boolean,columnNum:{type:[Number,String],default:4},center:{type:Boolean,default:!0},border:{type:Boolean,default:!0}},computed:{style:function(){var t=this.gutter;if(t)return{paddingLeft:(0,i.addUnit)(t)}}},render:function(){var t;return(0,arguments[0])("div",{style:this.style,class:[s(),((t={})[r.BORDER_TOP]=this.border&&!this.gutter,t)]},[this.slots()])}});e.default=o},function(t,e,n){"use strict";var i=n(521),r=n.n(i),i=n(1188);r.a.name="m-grid-item",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=n(7),s=n(54),a=n(110),l=n(36),u=i(n(172)),c=i(n(32)),i=(0,o.createNamespace)("grid-item"),n=i[0],h=i[1],r=n({mixins:[(0,l.ChildrenMixin)("vanGrid")],props:(0,r.default)({},a.routeProps,{dot:Boolean,text:String,icon:String,iconPrefix:String,info:[Number,String],badge:[Number,String]}),computed:{style:function(){var t=this.parent,e=t.square,n=t.gutter,i=t.columnNum,t=100/i+"%",r={flexBasis:t};return e?r.paddingTop=t:n&&(n=(0,o.addUnit)(n),r.paddingRight=n,this.index>=i&&(r.marginTop=n)),r},contentStyle:function(){var t=this.parent,e=t.square,t=t.gutter;if(e&&t){t=(0,o.addUnit)(t);return{right:t,bottom:t,height:"auto"}}}},methods:{onClick:function(t){this.$emit("click",t),(0,a.route)(this.$router,this)},genIcon:function(){var t=this.$createElement,e=this.slots("icon"),n=null!=(n=this.badge)?n:this.info;return e?t("div",{class:h("icon-wrapper")},[e,t(u.default,{attrs:{dot:this.dot,info:n}})]):this.icon?t(c.default,{attrs:{name:this.icon,dot:this.dot,badge:n,size:this.parent.iconSize,classPrefix:this.iconPrefix},class:h("icon")}):void 0},getText:function(){var t=this.$createElement,e=this.slots("text");return e||(this.text?t("span",{class:h("text")},[this.text]):void 0)},genContent:function(){var t=this.slots();return t||[this.genIcon(),this.getText()]}},render:function(){var t=arguments[0],e=this.parent,n=e.center,i=e.border,r=e.square,o=e.gutter,a=e.direction,e=e.clickable;return t("div",{class:[h({square:r})],style:this.style},[t("div",{style:this.contentStyle,attrs:{role:e?"button":null,tabindex:e?0:null},class:[h("content",[a,{center:n,square:r,clickable:e,surround:i&&o}]),((o={})[s.BORDER]=i,o)],on:{click:this.onClick}},[this.genContent()])])}});e.default=r},function(t,e,n){"use strict";var i=n(523),r=n.n(i),i=n(1190);r.a.name="m-index-bar",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),l=n(174),r=n(40),u=n(62),o=n(63),a=n(36),s=n(81);var c=(0,i.createNamespace)("index-bar"),n=c[0],h=c[1],s=n({mixins:[o.TouchMixin,(0,a.ParentMixin)("vanIndexBar"),(0,s.BindEventMixin)(function(t){this.scroller||(this.scroller=(0,u.getScroller)(this.$el)),t(this.scroller,"scroll",this.onScroll)})],props:{zIndex:[Number,String],highlightColor:String,sticky:{type:Boolean,default:!0},stickyOffsetTop:{type:Number,default:0},indexList:{type:Array,default:function(){for(var t=[],e="A".charCodeAt(0),n=0;n<26;n++)t.push(String.fromCharCode(e+n));return t}}},data:function(){return{activeAnchorIndex:null}},computed:{sidebarStyle:function(){if((0,i.isDef)(this.zIndex))return{zIndex:this.zIndex+1}},highlightStyle:function(){var t=this.highlightColor;if(t)return{color:t}}},watch:{indexList:function(){this.$nextTick(this.onScroll)},activeAnchorIndex:function(t){t&&this.$emit("change",t)}},methods:{onScroll:function(){var i,r,o,a,s=this;(0,l.isHidden)(this.$el)||(i=(0,u.getScrollTop)(this.scroller),r=this.getScrollerRect(),o=this.children.map(function(t){return t.getRect(s.scroller,r)}),a=this.getActiveAnchorIndex(i,o),this.activeAnchorIndex=this.indexList[a],this.sticky&&this.children.forEach(function(t,e){var n;e===a||e===a-1?(n=t.$el.getBoundingClientRect(),t.left=n.left,t.width=n.width):(t.left=null,t.width=null),e===a?(t.active=!0,t.top=Math.max(s.stickyOffsetTop,o[e].top-i)+r.top):e===a-1?(n=o[a].top-i,t.active=0<n,t.top=n+r.top-o[e].height):t.active=!1}))},getScrollerRect:function(){return this.scroller.getBoundingClientRect?this.scroller.getBoundingClientRect():{top:0,left:0}},getActiveAnchorIndex:function(t,e){for(var n=this.children.length-1;0<=n;n--){var i=0<n?e[n-1].height:0;if(t+(this.sticky?i+this.stickyOffsetTop:0)>=e[n].top)return n}return-1},onClick:function(t){this.scrollToElement(t.target)},onTouchMove:function(t){var e;this.touchMove(t),"vertical"===this.direction&&((0,r.preventDefault)(t),t=(e=t.touches[0]).clientX,e=e.clientY,(t=document.elementFromPoint(t,e))&&(e=t.dataset.index,this.touchActiveIndex!==e&&(this.touchActiveIndex=e,this.scrollToElement(t))))},scrollTo:function(e){var t=this.children.filter(function(t){return String(t.index)===e});t[0]&&(t[0].scrollIntoView(),this.sticky&&this.stickyOffsetTop&&(0,u.setRootScrollTop)((0,u.getRootScrollTop)()-this.stickyOffsetTop),this.$emit("select",t[0].index))},scrollToElement:function(t){t=t.dataset.index;this.scrollTo(t)},onTouchEnd:function(){this.active=null}},render:function(){var n=this,i=arguments[0],t=this.indexList.map(function(t){var e=t===n.activeAnchorIndex;return i("span",{class:h("index",{active:e}),style:e?n.highlightStyle:null,attrs:{"data-index":t}},[t])});return i("div",{class:h()},[i("div",{class:h("sidebar"),style:this.sidebarStyle,on:{click:this.onClick,touchstart:this.touchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}},[t]),this.slots("default")])}});e.default=s},function(t,e,n){"use strict";var i=n(309),r=n.n(i),i=n(1192);r.a.name="m-sidebar",e.a=r.a},function(t,e,n){"use strict";var i=n(526),r=n.n(i),i=n(1193);r.a.name="m-search",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var a=i(n(41)),s=i(n(28)),r=n(7),l=n(47),u=n(40),c=i(n(306)),n=(0,r.createNamespace)("search"),r=n[0],h=n[1],d=n[2];function o(t,e,n,i){var r={attrs:i.data.attrs,on:(0,s.default)({},i.listeners,{keypress:function(t){13===t.keyCode&&((0,u.preventDefault)(t),(0,l.emit)(i,"search",e.value)),(0,l.emit)(i,"keypress",t)}})},o=(0,l.inherit)(i);return o.attrs=void 0,t("div",(0,a.default)([{class:h({"show-action":e.showAction}),style:{background:e.background}},o]),[null==n.left?void 0:n.left(),t("div",{class:h("content",e.shape)},[function(){if(n.label||e.label)return t("div",{class:h("label")},[n.label?n.label():e.label])}(),t(c.default,(0,a.default)([{attrs:{type:"search",border:!1,value:e.value,leftIcon:e.leftIcon,rightIcon:e.rightIcon,clearable:e.clearable,clearTrigger:e.clearTrigger},scopedSlots:{"left-icon":n["left-icon"],"right-icon":n["right-icon"]}},r]))]),function(){if(e.showAction)return t("div",{class:h("action"),attrs:{role:"button",tabindex:"0"},on:{click:function(){n.action||((0,l.emit)(i,"input",""),(0,l.emit)(i,"cancel"))}}},[n.action?n.action():e.actionText||d("cancel")])}()])}o.props={value:String,label:String,rightIcon:String,actionText:String,background:String,showAction:Boolean,clearTrigger:String,shape:{type:String,default:"square"},clearable:{type:Boolean,default:!0},leftIcon:{type:String,default:"search"}};r=r(o);e.default=r},function(t,e,n){"use strict";var i=n(528),r=n.n(i),i=n(1195);r.a.name="m-tree-select",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var d=i(n(41)),p=n(7),f=n(47),g=i(n(32)),m=i(n(309)),v=i(n(310)),i=(0,p.createNamespace)("tree-select"),n=i[0],y=i[1];function r(i,r,t,o){var e=r.items,n=r.height,a=r.activeId,s=r.selectedIcon,l=r.mainActiveIndex;var u=(e[+l]||{}).children||[],c=Array.isArray(a);function h(t){return c?-1!==a.indexOf(t):a===t}e=e.map(function(t){var e;return i(v.default,{attrs:{dot:t.dot,info:null!=(e=t.badge)?e:t.info,title:t.text,disabled:t.disabled},class:[y("nav-item"),t.className]})});return i("div",(0,d.default)([{class:y(),style:{height:(0,p.addUnit)(n)}},(0,f.inherit)(o)]),[i(m.default,{class:y("nav"),attrs:{activeKey:l},on:{change:function(t){(0,f.emit)(o,"update:main-active-index",t),(0,f.emit)(o,"click-nav",t),(0,f.emit)(o,"navclick",t)}}},[e]),i("div",{class:y("content")},[t.content?t.content():u.map(function(n){return i("div",{key:n.id,class:["van-ellipsis",y("item",{active:h(n.id),disabled:n.disabled})],on:{click:function(){var t,e;n.disabled||(t=n.id,c&&(-1!==(e=(t=a.slice()).indexOf(n.id))?t.splice(e,1):t.length<r.max&&t.push(n.id)),(0,f.emit)(o,"update:active-id",t),(0,f.emit)(o,"click-item",n),(0,f.emit)(o,"itemclick",n))}}},[n.text,h(n.id)&&i(g.default,{attrs:{name:s},class:y("selected")})])})])])}r.props={max:{type:[Number,String],default:1/0},items:{type:Array,default:function(){return[]}},height:{type:[Number,String],default:300},activeId:{type:[Number,String,Array],default:0},selectedIcon:{type:String,default:"success"},mainActiveIndex:{type:[Number,String],default:0}};n=n(r);e.default=n},function(t,e,n){"use strict";var i=n(530),r=n.n(i),i=n(1197);r.a.name="m-card",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var c=i(n(41)),h=n(7),d=n(47),p=i(n(311)),f=i(n(143)),i=(0,h.createNamespace)("card"),n=i[0],g=i[1];function r(e,n,i,r){var t=n.thumb,o=i.num||(0,h.isDef)(n.num),a=i.price||(0,h.isDef)(n.price),s=i["origin-price"]||(0,h.isDef)(n.originPrice),l=o||a||s||i.bottom;function u(t){(0,d.emit)(r,"click-thumb",t)}return e("div",(0,c.default)([{class:g()},(0,d.inherit)(r,!0)]),[e("div",{class:g("header")},[function(){if(i.thumb||t)return e("a",{attrs:{href:n.thumbLink},class:g("thumb"),on:{click:u}},[i.thumb?i.thumb():e(f.default,{attrs:{src:t,width:"100%",height:"100%",fit:"cover","lazy-load":n.lazyLoad}}),function(){if(i.tag||n.tag)return e("div",{class:g("tag")},[i.tag?i.tag():e(p.default,{attrs:{mark:!0,type:"danger"}},[n.tag])])}()])}(),e("div",{class:g("content",{centered:n.centered})},[e("div",[i.title?i.title():n.title?e("div",{class:[g("title"),"van-multi-ellipsis--l2"]},[n.title]):void 0,i.desc?i.desc():n.desc?e("div",{class:[g("desc"),"van-ellipsis"]},[n.desc]):void 0,null==i.tags?void 0:i.tags()]),l&&e("div",{class:"van-card__bottom"},[null==(l=i["price-top"])?void 0:l.call(i),function(){if(a)return e("div",{class:g("price")},[i.price?i.price():(t=n.price.toString().split("."),e("div",[e("span",{class:g("price-currency")},[n.currency]),e("span",{class:g("price-integer")},[t[0]]),".",e("span",{class:g("price-decimal")},[t[1]])]))]);var t}(),function(){if(s){var t=i["origin-price"];return e("div",{class:g("origin-price")},[t?t():n.currency+" "+n.originPrice])}}(),function(){if(o)return e("div",{class:g("num")},[i.num?i.num():"x"+n.num])}(),null==i.bottom?void 0:i.bottom()])])]),function(){if(i.footer)return e("div",{class:g("footer")},[i.footer()])}()])}r.props={tag:String,desc:String,thumb:String,title:String,centered:Boolean,lazyLoad:Boolean,thumbLink:String,num:[Number,String],price:[Number,String],originPrice:[Number,String],currency:{type:String,default:"¥"}};n=n(r);e.default=n},function(t,e,n){"use strict";var i=n(143),r=n.n(i),i=n(1199);r.a.name="m-image",e.a=r.a},function(t,e,n){"use strict";var i=n(533),r=n.n(i),i=n(1200);r.a.name="m-col",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(36),n=(0,i.createNamespace)("col"),i=n[0],o=n[1],r=i({mixins:[(0,r.ChildrenMixin)("vanRow")],props:{span:[Number,String],offset:[Number,String],tag:{type:String,default:"div"}},computed:{style:function(){var t=this.index,e=(this.parent||{}).spaces;if(e&&e[t]){e=e[t],t=e.left,e=e.right;return{paddingLeft:t?t+"px":null,paddingRight:e?e+"px":null}}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=this.span,n=this.offset;return(0,arguments[0])(this.tag,{style:this.style,class:o(((t={})[e]=e,t["offset-"+n]=n,t)),on:{click:this.onClick}},[this.slots()])}});e.default=r},function(t,e,n){"use strict";var i=n(535),r=n.n(i),i=n(1202);r.a.name="m-row",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(36),n=(0,i.createNamespace)("row"),i=n[0],o=n[1],r=i({mixins:[(0,r.ParentMixin)("vanRow")],props:{type:String,align:String,justify:String,tag:{type:String,default:"div"},gutter:{type:[Number,String],default:0}},computed:{spaces:function(){var i=Number(this.gutter);if(i){var r=[],n=[[]],o=0;return this.children.forEach(function(t,e){24<(o+=Number(t.span))?(n.push([e]),o-=24):n[n.length-1].push(e)}),n.forEach(function(t){var n=i*(t.length-1)/t.length;t.forEach(function(t,e){0===e?r.push({right:n}):(t=i-r[t-1].right,r.push({left:t,right:n-t}))})}),r}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=this.align,n=this.justify,i="flex"===this.type;return(0,arguments[0])(this.tag,{class:o(((t={flex:i})["align-"+e]=i&&e,t["justify-"+n]=i&&n,t)),on:{click:this.onClick}},[this.slots()])}});e.default=r},function(t,e,n){"use strict";var i=n(380),r=n.n(i),i=n(1204);e.a=r.a},function(t,e,n){"use strict";var i=n(310),r=n.n(i),i=n(1205);r.a.name="m-sidebar-item",e.a=r.a},function(t,e,n){"use strict";var i=n(539),r=n.n(i),i=n(1206);r.a.name="m-radio",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(732),n=(0,i.createNamespace)("radio"),i=n[0],n=n[1],n=i({mixins:[(0,r.CheckboxMixin)({bem:n,role:"radio",parent:"vanRadio"})],computed:{currentValue:{get:function(){return(this.parent||this).value},set:function(t){(this.parent||this).$emit("input",t)}},checked:function(){return this.currentValue===this.name}},methods:{toggle:function(){this.currentValue=this.name}}});e.default=n},function(t,e,n){"use strict";var i=n(541),r=n.n(i),i=n(1208);r.a.name="m-radio-group",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(112),o=n(36),n=(0,i.createNamespace)("radio-group"),i=n[0],a=n[1],r=i({mixins:[(0,o.ParentMixin)("vanRadio"),r.FieldMixin],props:{value:null,disabled:Boolean,direction:String,checkedColor:String,iconSize:[Number,String]},watch:{value:function(t){this.$emit("change",t)}},render:function(){return(0,arguments[0])("div",{class:a([this.direction]),attrs:{role:"radiogroup"}},[this.slots()])}});e.default=r},function(t,e,n){"use strict";var i=n(543),r=n.n(i),i=n(1210);r.a.name="m-rate",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=n(40),a=n(63),s=n(112),f=i(n(32)),i=(0,r.createNamespace)("rate"),n=i[0],g=i[1];s=n({mixins:[a.TouchMixin,s.FieldMixin],props:{size:[Number,String],color:String,gutter:[Number,String],readonly:Boolean,disabled:Boolean,allowHalf:Boolean,voidColor:String,iconPrefix:String,disabledColor:String,value:{type:Number,default:0},icon:{type:String,default:"star"},voidIcon:{type:String,default:"star-o"},count:{type:[Number,String],default:5},touchable:{type:Boolean,default:!0}},computed:{list:function(){for(var t,e,n,i=[],r=1;r<=this.count;r++)i.push((t=this.value,e=r,n=this.allowHalf,e<=t?"full":e<=t+.5&&n?"half":"void"));return i},sizeWithUnit:function(){return(0,r.addUnit)(this.size)},gutterWithUnit:function(){return(0,r.addUnit)(this.gutter)}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{select:function(t){this.disabled||this.readonly||t===this.value||(this.$emit("input",t),this.$emit("change",t))},onTouchStart:function(t){var n,i=this;this.readonly||this.disabled||!this.touchable||(this.touchStart(t),t=this.$refs.items.map(function(t){return t.getBoundingClientRect()}),n=[],t.forEach(function(t,e){i.allowHalf?n.push({score:e+.5,left:t.left},{score:e+1,left:t.left+t.width/2}):n.push({score:e+1,left:t.left})}),this.ranges=n)},onTouchMove:function(t){this.readonly||this.disabled||!this.touchable||(this.touchMove(t),"horizontal"===this.direction&&((0,o.preventDefault)(t),t=t.touches[0].clientX,this.select(this.getScoreByPosition(t))))},getScoreByPosition:function(t){for(var e=this.ranges.length-1;0<e;e--)if(t>this.ranges[e].left)return this.ranges[e].score;return this.allowHalf?.5:1},genStar:function(t,e){var n,i=this,r=this.$createElement,o=this.icon,a=this.color,s=this.count,l=this.voidIcon,u=this.disabled,c=this.voidColor,h=this.disabledColor,d=e+1,p="full"===t,t="void"===t;return this.gutterWithUnit&&d!==+s&&(n={paddingRight:this.gutterWithUnit}),r("div",{ref:"items",refInFor:!0,key:e,attrs:{role:"radio",tabindex:"0","aria-setsize":s,"aria-posinset":d,"aria-checked":String(!t)},style:n,class:g("item")},[r(f.default,{attrs:{size:this.sizeWithUnit,name:p?o:l,color:u?h:p?a:c,classPrefix:this.iconPrefix,"data-score":d},class:g("icon",{disabled:u,full:p}),on:{click:function(){i.select(d)}}}),this.allowHalf&&r(f.default,{attrs:{size:this.sizeWithUnit,name:t?l:o,color:u?h:t?c:a,classPrefix:this.iconPrefix,"data-score":d-.5},class:g("icon",["half",{disabled:u,full:!t}]),on:{click:function(){i.select(d-.5)}}})])}},render:function(){var n=this;return(0,arguments[0])("div",{class:g({readonly:this.readonly,disabled:this.disabled}),attrs:{tabindex:"0",role:"radiogroup"}},[this.list.map(function(t,e){return n.genStar(t,e)})])}});e.default=s},function(t,e,n){"use strict";var i=n(545),r=n.n(i),i=n(1212);r.a.name="m-slider",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;function i(t,e){return JSON.stringify(t)===JSON.stringify(e)}var h=n(7),r=n(736),o=n(40),a=n(63),s=n(112),l=(0,h.createNamespace)("slider"),n=l[0],d=l[1],s=n({mixins:[a.TouchMixin,s.FieldMixin],props:{disabled:Boolean,vertical:Boolean,range:Boolean,barHeight:[Number,String],buttonSize:[Number,String],activeColor:String,inactiveColor:String,min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},value:{type:[Number,Array],default:0}},data:function(){return{dragStatus:""}},computed:{scope:function(){return this.max-this.min},buttonStyle:function(){if(this.buttonSize){var t=(0,h.addUnit)(this.buttonSize);return{width:t,height:t}}}},created:function(){this.updateValue(this.value)},mounted:function(){this.range?(this.bindTouchEvent(this.$refs.wrapper0),this.bindTouchEvent(this.$refs.wrapper1)):this.bindTouchEvent(this.$refs.wrapper)},methods:{onTouchStart:function(t){this.disabled||(this.touchStart(t),this.currentValue=this.value,this.range?this.startValue=this.value.map(this.format):this.startValue=this.format(this.value),this.dragStatus="start")},onTouchMove:function(t){this.disabled||("start"===this.dragStatus&&this.$emit("drag-start"),(0,o.preventDefault)(t,!0),this.touchMove(t),this.dragStatus="draging",t=this.$el.getBoundingClientRect(),t=(this.vertical?this.deltaY:this.deltaX)/(this.vertical?t.height:t.width)*this.scope,this.range?this.currentValue[this.index]=this.startValue[this.index]+t:this.currentValue=this.startValue+t,this.updateValue(this.currentValue))},onTouchEnd:function(){this.disabled||("draging"===this.dragStatus&&(this.updateValue(this.currentValue,!0),this.$emit("drag-end")),this.dragStatus="")},onClick:function(t){var e,n;t.stopPropagation(),this.disabled||(e=this.$el.getBoundingClientRect(),n=this.vertical?t.clientY-e.top:t.clientX-e.left,t=this.vertical?e.height:e.width,e=+this.min+n/t*this.scope,this.range&&(e<=((t=(n=this.value)[0])+(n=n[1]))/2?t=e:n=e,e=[t,n]),this.startValue=this.value,this.updateValue(e,!0))},handleOverlap:function(t){return t[0]>t[1]?(t=(0,r.deepClone)(t)).reverse():t},updateValue:function(t,e){t=this.range?this.handleOverlap(t).map(this.format):this.format(t),i(t,this.value)||this.$emit("input",t),e&&!i(t,this.startValue)&&this.$emit("change",t)},format:function(t){return Math.round(Math.max(this.min,Math.min(t,this.max))/this.step)*this.step}},render:function(){var t,e,n,i,r=this,o=arguments[0],a=this.vertical,s=a?"height":"width",l=((c={background:this.inactiveColor})[a?"width":"height"]=(0,h.addUnit)(this.barHeight),c),u=function(){var t=r.value,e=r.min,n=r.range,i=r.scope;return n?100*(t[0]-e)/i+"%":null},u=((c={})[s]=(t=r.value,e=r.min,n=r.range,i=r.scope,n?100*(t[1]-t[0])/i+"%":100*(t-e)/i+"%"),c.left=this.vertical?null:u(),c.top=this.vertical?u():null,c.background=this.activeColor,c);this.dragStatus&&(u.transition="none");var c=function(t){var e="number"==typeof t;return o("div",{ref:e?"wrapper"+t:"wrapper",attrs:{role:"slider",tabindex:r.disabled?-1:0,"aria-valuemin":r.min,"aria-valuenow":r.value,"aria-valuemax":r.max,"aria-orientation":r.vertical?"vertical":"horizontal"},class:d(e?"button-wrapper-"+["left","right"][t]:"button-wrapper"),on:{touchstart:function(){e&&(r.index=t)},click:function(t){return t.stopPropagation()}}},[r.slots("button")||o("div",{class:d("button"),style:r.buttonStyle})])};return o("div",{style:l,class:d({disabled:this.disabled,vertical:a}),on:{click:this.onClick}},[o("div",{class:d("bar"),style:u},[this.range?[c(0),c(1)]:c()])])}});e.default=s},function(t,e,n){"use strict";var i=n(547),r=n.n(i),i=n(1214);r.a.name="m-stepper",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(41)),o=n(7),a=n(738),s=n(40),l=n(113),u=n(171),c=n(112),i=(0,o.createNamespace)("stepper"),n=i[0],h=i[1];function d(t,e){return String(t)===String(e)}c=n({mixins:[c.FieldMixin],props:{value:null,theme:String,integer:Boolean,disabled:Boolean,allowEmpty:Boolean,inputWidth:[Number,String],buttonSize:[Number,String],asyncChange:Boolean,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,decimalLength:[Number,String],name:{type:[Number,String],default:""},min:{type:[Number,String],default:1},max:{type:[Number,String],default:1/0},step:{type:[Number,String],default:1},defaultValue:{type:[Number,String],default:1},showPlus:{type:Boolean,default:!0},showMinus:{type:Boolean,default:!0},showInput:{type:Boolean,default:!0},longPress:{type:Boolean,default:!0}},data:function(){var t=null!=(t=this.value)?t:this.defaultValue,t=this.format(t);return d(t,this.value)||this.$emit("input",t),{currentValue:t}},computed:{minusDisabled:function(){return this.disabled||this.disableMinus||this.currentValue<=+this.min},plusDisabled:function(){return this.disabled||this.disablePlus||this.currentValue>=+this.max},inputStyle:function(){var t={};return this.inputWidth&&(t.width=(0,o.addUnit)(this.inputWidth)),this.buttonSize&&(t.height=(0,o.addUnit)(this.buttonSize)),t},buttonStyle:function(){if(this.buttonSize){var t=(0,o.addUnit)(this.buttonSize);return{width:t,height:t}}}},watch:{max:"check",min:"check",integer:"check",decimalLength:"check",value:function(t){d(t,this.currentValue)||(this.currentValue=this.format(t))},currentValue:function(t){this.$emit("input",t),this.$emit("change",t,{name:this.name})}},methods:{check:function(){var t=this.format(this.currentValue);d(t,this.currentValue)||(this.currentValue=t)},formatNumber:function(t){return(0,l.formatNumber)(String(t),!this.integer)},format:function(t){return this.allowEmpty&&""===t?t:(t=this.formatNumber(t),t=(0,u.isNaN)(t=""===t?0:+t)?this.min:t,t=Math.max(Math.min(this.max,t),this.min),(0,o.isDef)(this.decimalLength)?t.toFixed(this.decimalLength):t)},onInput:function(t){var e=t.target.value,n=this.formatNumber(e);d(e,n=(0,o.isDef)(this.decimalLength)&&-1!==n.indexOf(".")?(e=n.split("."))[0]+"."+e[1].slice(0,this.decimalLength):n)||(t.target.value=n),n===String(+n)&&(n=+n),this.emitChange(n)},emitChange:function(t){this.asyncChange?(this.$emit("input",t),this.$emit("change",t,{name:this.name})):this.currentValue=t},onChange:function(){var t,e,n,i=this.type;this[i+"Disabled"]?this.$emit("overlimit",i):(n="minus"===i?-this.step:+this.step,n=this.format((t=+this.currentValue,e=n,n=Math.pow(10,10),Math.round((t+e)*n)/n)),this.emitChange(n),this.$emit(i))},onFocus:function(t){this.disableInput&&this.$refs.input?this.$refs.input.blur():this.$emit("focus",t)},onBlur:function(t){var e=this.format(t.target.value);t.target.value=e,this.currentValue=e,this.$emit("blur",t),(0,a.resetScroll)()},longPressStep:function(){var t=this;this.longPressTimer=setTimeout(function(){t.onChange(),t.longPressStep(t.type)},200)},onTouchStart:function(){var t=this;this.longPress&&(clearTimeout(this.longPressTimer),this.isLongPress=!1,this.longPressTimer=setTimeout(function(){t.isLongPress=!0,t.onChange(),t.longPressStep()},600))},onTouchEnd:function(t){this.longPress&&(clearTimeout(this.longPressTimer),this.isLongPress&&(0,s.preventDefault)(t))},onMousedown:function(t){this.disableInput&&t.preventDefault()}},render:function(){function t(e){return{on:{click:function(t){t.preventDefault(),n.type=e,n.onChange()},touchstart:function(){n.type=e,n.onTouchStart()},touchend:n.onTouchEnd,touchcancel:n.onTouchEnd}}}var n=this,e=arguments[0];return e("div",{class:h([this.theme])},[e("button",(0,r.default)([{directives:[{name:"show",value:this.showMinus}],attrs:{type:"button"},style:this.buttonStyle,class:h("minus",{disabled:this.minusDisabled})},t("minus")])),e("input",{directives:[{name:"show",value:this.showInput}],ref:"input",attrs:{type:this.integer?"tel":"text",role:"spinbutton",disabled:this.disabled,readonly:this.disableInput,inputmode:this.integer?"numeric":"decimal",placeholder:this.placeholder,"aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":this.currentValue},class:h("input"),domProps:{value:this.currentValue},style:this.inputStyle,on:{input:this.onInput,focus:this.onFocus,blur:this.onBlur,mousedown:this.onMousedown}}),e("button",(0,r.default)([{directives:[{name:"show",value:this.showPlus}],attrs:{type:"button"},style:this.buttonStyle,class:h("plus",{disabled:this.plusDisabled})},t("plus")]))])}});e.default=c},function(t,e,n){"use strict";var i=n(549),r=n.n(i),i=n(1216);r.a.name="m-switch",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=n(1218),a=n(112),s=i(n(74)),i=(0,r.createNamespace)("switch"),n=i[0],l=i[1],o=n({mixins:[a.FieldMixin],props:o.switchProps,computed:{checked:function(){return this.value===this.activeValue},style:function(){return{fontSize:(0,r.addUnit)(this.size),backgroundColor:this.checked?this.activeColor:this.inactiveColor}}},methods:{onClick:function(t){this.$emit("click",t),this.disabled||this.loading||(t=this.checked?this.inactiveValue:this.activeValue,this.$emit("input",t),this.$emit("change",t))},genLoading:function(){var t=this.$createElement;if(this.loading){var e=this.checked?this.activeColor:this.inactiveColor;return t(s.default,{class:l("loading"),attrs:{color:e}})}}},render:function(){var t=arguments[0],e=this.checked,n=this.loading,i=this.disabled;return t("div",{class:l({on:e,loading:n,disabled:i}),attrs:{role:"switch","aria-checked":String(e)},style:this.style,on:{click:this.onClick}},[t("div",{class:l("node")},[this.genLoading()])])}});e.default=o},function(t,e,n){"use strict";var i=n(551),r=n.n(i),i=n(1219);r.a.name="m-uploader",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var l=i(n(28)),r=n(7),u=n(1221),o=n(112),c=i(n(32)),h=i(n(143)),a=i(n(74)),s=i(n(381)),i=(0,r.createNamespace)("uploader"),n=i[0],d=i[1],o=n({inheritAttrs:!1,mixins:[o.FieldMixin],model:{prop:"fileList"},props:{disabled:Boolean,lazyLoad:Boolean,uploadText:String,afterRead:Function,beforeRead:Function,beforeDelete:Function,previewSize:[Number,String],previewOptions:Object,name:{type:[Number,String],default:""},accept:{type:String,default:"image/*"},fileList:{type:Array,default:function(){return[]}},maxSize:{type:[Number,String],default:Number.MAX_VALUE},maxCount:{type:[Number,String],default:Number.MAX_VALUE},deletable:{type:Boolean,default:!0},showUpload:{type:Boolean,default:!0},previewImage:{type:Boolean,default:!0},previewFullImage:{type:Boolean,default:!0},imageFit:{type:String,default:"cover"},resultType:{type:String,default:"dataUrl"},uploadIcon:{type:String,default:"photograph"}},computed:{previewSizeWithUnit:function(){return(0,r.addUnit)(this.previewSize)},value:function(){return this.fileList}},methods:{getDetail:function(t){return void 0===t&&(t=this.fileList.length),{name:this.name,index:t}},onChange:function(t){var e=this,n=t.target.files;if(!this.disabled&&n.length){if(n=1===n.length?n[0]:[].slice.call(n),this.beforeRead){t=this.beforeRead(n,this.getDetail());if(!t)return void this.resetInput();if((0,r.isPromise)(t))return void t.then(function(t){t?e.readFile(t):e.readFile(n)}).catch(this.resetInput)}this.readFile(n)}},readFile:function(i){var t,r=this,o=(0,u.isOversize)(i,this.maxSize);Array.isArray(i)?(t=this.maxCount-this.fileList.length,i.length>t&&(i=i.slice(0,t)),Promise.all(i.map(function(t){return(0,u.readFile)(t,r.resultType)})).then(function(n){var t=i.map(function(t,e){t={file:t,status:"",message:""};return n[e]&&(t.content=n[e]),t});r.onAfterRead(t,o)})):(0,u.readFile)(i,this.resultType).then(function(t){var e={file:i,status:"",message:""};t&&(e.content=t),r.onAfterRead(e,o)})},onAfterRead:function(t,e){var n=this;this.resetInput();var i,r=t;e&&(i=t,Array.isArray(t)?(i=[],r=[],t.forEach(function(t){t.file&&(t.file.size>n.maxSize?i:r).push(t)})):r=null,this.$emit("oversize",i,this.getDetail())),(Array.isArray(r)?Boolean(r.length):Boolean(r))&&(this.$emit("input",[].concat(this.fileList,(0,u.toArray)(r))),this.afterRead&&this.afterRead(r,this.getDetail()))},onDelete:function(t,e){var n=this,i=null!=(i=t.beforeDelete)?i:this.beforeDelete;if(i){i=i(t,this.getDetail(e));if(!i)return;if((0,r.isPromise)(i))return void i.then(function(){n.deleteFile(t,e)}).catch(r.noop)}this.deleteFile(t,e)},deleteFile:function(t,e){var n=this.fileList.slice(0);n.splice(e,1),this.$emit("input",n),this.$emit("delete",t,this.getDetail(e))},resetInput:function(){this.$refs.input&&(this.$refs.input.value="")},onPreviewImage:function(t){var e,n,i=this;this.previewFullImage&&(n=(e=this.fileList.filter(function(t){return(0,u.isImageFile)(t)})).map(function(t){return t.content||t.url}),this.imagePreview=(0,s.default)((0,l.default)({images:n,startPosition:e.indexOf(t),onClose:function(){i.$emit("close-preview")}},this.previewOptions)))},closeImagePreview:function(){this.imagePreview&&this.imagePreview.close()},chooseFile:function(){this.disabled||this.$refs.input&&this.$refs.input.click()},genPreviewMask:function(t){var e=this.$createElement,n=t.status,i=t.message;if("uploading"===n||"failed"===n){t="failed"===n?e(c.default,{attrs:{name:"close"},class:d("mask-icon")}):e(a.default,{class:d("loading")}),n=(0,r.isDef)(i)&&""!==i;return e("div",{class:d("mask")},[t,n&&e("div",{class:d("mask-message")},[i])])}},genPreviewItem:function(e,n){var i=this,t=this.$createElement,r=null!=(s=e.deletable)?s:this.deletable,o="uploading"!==e.status&&r&&t("div",{class:d("preview-delete"),on:{click:function(t){t.stopPropagation(),i.onDelete(e,n)}}},[t(c.default,{attrs:{name:"cross"},class:d("preview-delete-icon")})]),a=this.slots("preview-cover",(0,l.default)({index:n},e)),s=a&&t("div",{class:d("preview-cover")},[a]),a=null!=(r=e.previewSize)?r:this.previewSize,r=null!=(r=e.imageFit)?r:this.imageFit,s=(0,u.isImageFile)(e)?t(h.default,{attrs:{fit:r,src:e.content||e.url,width:a,height:a,lazyLoad:this.lazyLoad},class:d("preview-image"),on:{click:function(){i.onPreviewImage(e)}}},[s]):t("div",{class:d("file"),style:{width:this.previewSizeWithUnit,height:this.previewSizeWithUnit}},[t(c.default,{class:d("file-icon"),attrs:{name:"description"}}),t("div",{class:[d("file-name"),"van-ellipsis"]},[e.file?e.file.name:e.url]),s]);return t("div",{class:d("preview"),on:{click:function(){i.$emit("click-preview",e,i.getDetail(n))}}},[s,this.genPreviewMask(e),o])},genPreviewList:function(){if(this.previewImage)return this.fileList.map(this.genPreviewItem)},genUpload:function(){var t=this.$createElement;if(!(this.fileList.length>=this.maxCount)&&this.showUpload){var e,n=this.slots(),i=t("input",{attrs:(0,l.default)({},this.$attrs,{type:"file",accept:this.accept,disabled:this.disabled}),ref:"input",class:d("input"),on:{change:this.onChange}});return n?t("div",{class:d("input-wrapper")},[n,i]):(this.previewSize&&(e={width:e=this.previewSizeWithUnit,height:e}),t("div",{class:d("upload"),style:e},[t(c.default,{attrs:{name:this.uploadIcon},class:d("upload-icon")}),this.uploadText&&t("span",{class:d("upload-text")},[this.uploadText]),i]))}}},render:function(){var t=arguments[0];return t("div",{class:d()},[t("div",{class:d("wrapper",{disabled:this.disabled})},[this.genPreviewList(),this.genUpload()])])}});e.default=o},function(t,e,n){"use strict";n=n(794);e.a=n.a},function(t,e,n){"use strict";var i=n(554),r=n.n(i),i=n(1224);r.a.name="m-dropdown-menu",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(62),o=n(36),a=n(376),s=(0,i.createNamespace)("dropdown-menu"),n=s[0],l=s[1],a=n({mixins:[(0,o.ParentMixin)("vanDropdownMenu"),(0,a.ClickOutsideMixin)({event:"click",method:"onClickOutside"})],props:{zIndex:[Number,String],activeColor:String,overlay:{type:Boolean,default:!0},duration:{type:[Number,String],default:.2},direction:{type:String,default:"down"},closeOnClickOverlay:{type:Boolean,default:!0}},data:function(){return{offset:0}},computed:{scroller:function(){return(0,r.getScroller)(this.$el)},opened:function(){return this.children.some(function(t){return t.showWrapper})},barStyle:function(){if(this.opened&&(0,i.isDef)(this.zIndex))return{zIndex:1+this.zIndex}}},methods:{updateOffset:function(){var t;this.$refs.bar&&(t=this.$refs.bar.getBoundingClientRect(),"down"===this.direction?this.offset=t.bottom:this.offset=window.innerHeight-t.top)},toggleItem:function(n){this.children.forEach(function(t,e){e===n?t.toggle():t.showPopup&&t.toggle(!1,{immediate:!0})})},onClickOutside:function(){this.children.forEach(function(t){t.toggle(!1)})}},render:function(){var n=this,i=arguments[0],t=this.children.map(function(t,e){return i("div",{attrs:{role:"button",tabindex:t.disabled?-1:0},class:l("item",{disabled:t.disabled}),on:{click:function(){t.disabled||n.toggleItem(e)}}},[i("span",{class:[l("title",{active:t.showPopup,down:t.showPopup===("down"===n.direction)}),t.titleClass],style:{color:t.showPopup?n.activeColor:""}},[i("div",{class:"van-ellipsis"},[t.slots("title")||t.displayTitle])])])});return i("div",{class:l()},[i("div",{ref:"bar",style:this.barStyle,class:l("bar",{opened:this.opened})},[t]),this.slots("default")])}});e.default=a},function(t,e,n){"use strict";var i=n(556),r=n.n(i),i=n(1226);r.a.name="m-dropdown-item",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=n(40),a=n(372),s=n(36),c=i(n(142)),h=i(n(32)),d=i(n(82)),n=(0,r.createNamespace)("dropdown-item"),r=n[0],p=n[1],s=r({mixins:[(0,a.PortalMixin)({ref:"wrapper"}),(0,s.ChildrenMixin)("vanDropdownMenu")],props:{value:null,title:String,disabled:Boolean,titleClass:String,options:{type:Array,default:function(){return[]}},lazyRender:{type:Boolean,default:!0}},data:function(){return{transition:!0,showPopup:!1,showWrapper:!1}},computed:{displayTitle:function(){var e=this;if(this.title)return this.title;var t=this.options.filter(function(t){return t.value===e.value});return t.length?t[0].text:""}},watch:{showPopup:function(t){this.bindScroll(t)}},beforeCreate:function(){function t(t){return function(){return e.$emit(t)}}var e=this;this.onOpen=t("open"),this.onClose=t("close"),this.onOpened=t("opened")},methods:{toggle:function(t,e){void 0===e&&(e={}),(t=void 0===t?!this.showPopup:t)!==this.showPopup&&(this.transition=!e.immediate,(this.showPopup=t)&&(this.parent.updateOffset(),this.showWrapper=!0))},bindScroll:function(t){var e=this.parent.scroller;(t?o.on:o.off)(e,"scroll",this.onScroll,!0)},onScroll:function(){this.parent.updateOffset()},onClickWrapper:function(t){this.getContainer&&t.stopPropagation()}},render:function(){var n=this,i=arguments[0],t=this.parent,e=t.zIndex,r=t.offset,o=t.overlay,a=t.duration,s=t.direction,l=t.activeColor,u=t.closeOnClickOverlay,t=this.options.map(function(t){var e=t.value===n.value;return i(c.default,{attrs:{clickable:!0,icon:t.icon,title:t.text},key:t.value,class:p("option",{active:e}),style:{color:e?l:""},on:{click:function(){n.showPopup=!1,t.value!==n.value&&(n.$emit("input",t.value),n.$emit("change",t.value))}}},[e&&i(h.default,{class:p("icon"),attrs:{color:l,name:"success"}})])}),e={zIndex:e};return"down"===s?e.top=r+"px":e.bottom=r+"px",i("div",[i("div",{directives:[{name:"show",value:this.showWrapper}],ref:"wrapper",style:e,class:p([s]),on:{click:this.onClickWrapper}},[i(d.default,{attrs:{overlay:o,position:"down"===s?"top":"bottom",duration:this.transition?a:0,lazyRender:this.lazyRender,overlayStyle:{position:"absolute"},closeOnClickOverlay:u},class:p("content"),on:{open:this.onOpen,close:this.onClose,opened:this.onOpened,closed:function(){n.showWrapper=!1,n.$emit("closed")}},model:{value:n.showPopup,callback:function(t){n.showPopup=t}}},[t,this.slots("default")])])])}});e.default=s},function(t,e,n){"use strict";var i=n(302),r=n.n(i),i=n(1228);r.a.name="m-overlay",e.a=r.a},function(t,e,n){"use strict";var i=n(559),r=n.n(i),i=n(1229);r.a.name="m-share-sheet",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=n(7),a=n(138),s=i(n(82)),l=["qq","link","weibo","wechat","poster","qrcode","weapp-qrcode"],n=(0,o.createNamespace)("share-sheet"),o=n[0],u=n[1],c=n[2],a=o({props:(0,r.default)({},a.popupMixinProps,{title:String,cancelText:String,description:String,getContainer:[String,Function],options:{type:Array,default:function(){return[]}},overlay:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}}),methods:{onCancel:function(){this.toggle(!1),this.$emit("cancel")},onSelect:function(t,e){this.$emit("select",t,e)},toggle:function(t){this.$emit("input",t)},getIconURL:function(t){return-1!==l.indexOf(t)?"https://img.yzcdn.cn/vant/share-icon-"+t+".png":t},genHeader:function(){var t=this.$createElement,e=this.slots("title")||this.title,n=this.slots("description")||this.description;if(e||n)return t("div",{class:u("header")},[e&&t("h2",{class:u("title")},[e]),n&&t("span",{class:u("description")},[n])])},genOptions:function(t,e){var n=this,i=this.$createElement;return i("div",{class:u("options",{border:e})},[t.map(function(t,e){return i("div",{attrs:{role:"button",tabindex:"0"},class:[u("option"),t.className],on:{click:function(){n.onSelect(t,e)}}},[i("img",{attrs:{src:n.getIconURL(t.icon)},class:u("icon")}),t.name&&i("span",{class:u("name")},[t.name]),t.description&&i("span",{class:u("option-description")},[t.description])])})])},genRows:function(){var n=this,t=this.options;return Array.isArray(t[0])?t.map(function(t,e){return n.genOptions(t,0!==e)}):this.genOptions(t)},genCancelText:function(){var t=this.$createElement,e=null!=(e=this.cancelText)?e:c("cancel");if(e)return t("button",{attrs:{type:"button"},class:u("cancel"),on:{click:this.onCancel}},[e])},onClickOverlay:function(){this.$emit("click-overlay")}},render:function(){return(0,arguments[0])(s.default,{attrs:{round:!0,value:this.value,position:"bottom",overlay:this.overlay,duration:this.duration,lazyRender:this.lazyRender,lockScroll:this.lockScroll,getContainer:this.getContainer,closeOnPopstate:this.closeOnPopstate,closeOnClickOverlay:this.closeOnClickOverlay,safeAreaInsetBottom:this.safeAreaInsetBottom},class:u(),on:{input:this.toggle,"click-overlay":this.onClickOverlay}},[this.genHeader(),this.genRows(),this.genCancelText()])}});e.default=a},function(t,e,n){"use strict";var i=n(561),r=n.n(i),i=n(1231);r.a.name="m-badge",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(171),o=(0,i.createNamespace)("badge"),n=o[0],a=o[1],n=n({props:{dot:Boolean,max:[Number,String],color:String,content:[Number,String],tag:{type:String,default:"div"}},methods:{hasContent:function(){return!!(this.$scopedSlots.content||(0,i.isDef)(this.content)&&""!==this.content)},renderContent:function(){var t=this.dot,e=this.max,n=this.content;if(!t&&this.hasContent())return this.$scopedSlots.content?this.$scopedSlots.content():(0,i.isDef)(e)&&(0,r.isNumeric)(n)&&e<+n?e+"+":n},renderBadge:function(){var t=this.$createElement;if(this.hasContent()||this.dot)return t("div",{class:a({dot:this.dot,fixed:!!this.$scopedSlots.default}),style:{background:this.color}},[this.renderContent()])}},render:function(){return this.$scopedSlots.default?(0,arguments[0])(this.tag,{class:a("wrapper")},[this.$scopedSlots.default(),this.renderBadge()]):this.renderBadge()}});e.default=n},function(t,e,n){"use strict";var i=n(563),r=n.n(i),i=n(1233);r.a.name="m-circle",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(111),o=(0,i.createNamespace)("circle"),n=o[0],a=o[1],s=0;function l(t){return Math.min(Math.max(t,0),100)}n=n({props:{text:String,size:[Number,String],color:[String,Object],layerColor:String,strokeLinecap:String,value:{type:Number,default:0},speed:{type:[Number,String],default:0},fill:{type:String,default:"none"},rate:{type:[Number,String],default:100},strokeWidth:{type:[Number,String],default:40},clockwise:{type:Boolean,default:!0}},beforeCreate:function(){this.uid="van-circle-gradient-"+s++},computed:{style:function(){var t=(0,i.addUnit)(this.size);return{width:t,height:t}},path:function(){return t=this.clockwise,"M "+(e=this.viewBoxSize)/2+" "+e/2+" m 0, -500 a 500, 500 0 1, "+(t=t?1:0)+" 0, 1000 a 500, 500 0 1, "+t+" 0, -1000";var t,e},viewBoxSize:function(){return+this.strokeWidth+1e3},layerStyle:function(){return{fill:""+this.fill,stroke:""+this.layerColor,strokeWidth:this.strokeWidth+"px"}},hoverStyle:function(){var t=3140*this.value/100;return{stroke:""+this.color,strokeWidth:+this.strokeWidth+1+"px",strokeLinecap:this.strokeLinecap,strokeDasharray:t+"px 3140px"}},gradient:function(){return(0,i.isObject)(this.color)},LinearGradient:function(){var n=this,i=this.$createElement;if(this.gradient){var t=Object.keys(this.color).sort(function(t,e){return parseFloat(t)-parseFloat(e)}).map(function(t,e){return i("stop",{key:e,attrs:{offset:t,"stop-color":n.color[t]}})});return i("defs",[i("linearGradient",{attrs:{id:this.uid,x1:"100%",y1:"0%",x2:"0%",y2:"0%"}},[t])])}}},watch:{rate:{handler:function(t){this.startTime=Date.now(),this.startRate=this.value,this.endRate=l(t),this.increase=this.endRate>this.startRate,this.duration=Math.abs(1e3*(this.startRate-this.endRate)/this.speed),this.speed?((0,r.cancelRaf)(this.rafId),this.rafId=(0,r.raf)(this.animate)):this.$emit("input",this.endRate)},immediate:!0}},methods:{animate:function(){var t=Date.now(),t=Math.min((t-this.startTime)/this.duration,1)*(this.endRate-this.startRate)+this.startRate;this.$emit("input",l(parseFloat(t.toFixed(1)))),(this.increase?t<this.endRate:t>this.endRate)&&(this.rafId=(0,r.raf)(this.animate))}},render:function(){var t=arguments[0];return t("div",{class:a(),style:this.style},[t("svg",{attrs:{viewBox:"0 0 "+this.viewBoxSize+" "+this.viewBoxSize}},[this.LinearGradient,t("path",{class:a("layer"),style:this.layerStyle,attrs:{d:this.path}}),t("path",{attrs:{d:this.path,stroke:this.gradient?"url(#"+this.uid+")":this.color},class:a("hover"),style:this.hoverStyle})]),this.slots()||this.text&&t("div",{class:a("text")},[this.text])])}});e.default=n},function(t,e,n){"use strict";var i=n(565),r=n.n(i),i=n(1235);r.a.name="m-collapse",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(36),o=n(54),n=(0,i.createNamespace)("collapse"),i=n[0],a=n[1],r=i({mixins:[(0,r.ParentMixin)("vanCollapse")],props:{accordion:Boolean,value:[String,Number,Array],border:{type:Boolean,default:!0}},methods:{switch:function(e,t){this.accordion||(e=t?this.value.concat(e):this.value.filter(function(t){return t!==e})),this.$emit("change",e),this.$emit("input",e)}},render:function(){var t;return(0,arguments[0])("div",{class:[a(),((t={})[o.BORDER_TOP_BOTTOM]=this.border,t)]},[this.slots()])}});e.default=r},function(t,e,n){"use strict";var i=n(567),r=n.n(i),i=n(1236);r.a.name="m-collapse-item",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var a=i(n(28)),r=n(7),s=n(111),o=n(36),l=i(n(142)),i=n(369),n=(0,r.createNamespace)("collapse-item"),r=n[0],u=n[1],c=["title","icon","right-icon"],i=r({mixins:[(0,o.ChildrenMixin)("vanCollapse")],props:(0,a.default)({},i.cellProps,{name:[Number,String],disabled:Boolean,isLink:{type:Boolean,default:!0}}),data:function(){return{show:null,inited:null}},computed:{currentName:function(){var t;return null!=(t=this.name)?t:this.index},expanded:function(){var e=this;if(!this.parent)return null;var t=this.parent,n=t.value;return t.accordion?n===this.currentName:n.some(function(t){return t===e.currentName})}},created:function(){this.show=this.expanded,this.inited=this.expanded},watch:{expanded:function(r,t){var o=this;null!==t&&(r&&(this.show=!0,this.inited=!0),(r?this.$nextTick:s.raf)(function(){var t,e=o.$refs,n=e.content,i=e.wrapper;n&&i&&((n=n.offsetHeight)?(t=n+"px",i.style.height=r?0:t,(0,s.doubleRaf)(function(){i.style.height=r?t:0})):o.onTransitionEnd())}))}},methods:{onClick:function(){this.disabled||this.toggle()},toggle:function(t){void 0===t&&(t=!this.expanded);var e=this.parent,n=this.currentName,e=e.accordion&&n===e.value;this.parent.switch(e?"":n,t)},onTransitionEnd:function(){this.expanded?this.$refs.wrapper.style.height="":this.show=!1},genTitle:function(){var n=this,t=this.$createElement,e=this.border,i=this.disabled,r=this.expanded,o=c.reduce(function(t,e){return n.slots(e)&&(t[e]=function(){return n.slots(e)}),t},{});return this.slots("value")&&(o.default=function(){return n.slots("value")}),t(l.default,{attrs:{role:"button",tabindex:i?-1:0,"aria-expanded":String(r)},class:u("title",{disabled:i,expanded:r,borderless:!e}),on:{click:this.onClick},scopedSlots:o,props:(0,a.default)({},this.$props)})},genContent:function(){var t=this.$createElement;if(this.inited)return t("div",{directives:[{name:"show",value:this.show}],ref:"wrapper",class:u("wrapper"),on:{transitionend:this.onTransitionEnd}},[t("div",{ref:"content",class:u("content")},[this.slots()])])}},render:function(){return(0,arguments[0])("div",{class:[u({border:this.index&&this.border})]},[this.genTitle(),this.genContent()])}});e.default=i},function(t,e,n){"use strict";var i=n(569),r=n.n(i),i=n(1238);r.a.name="m-count-down",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(111),o=n(1240),a=(0,i.createNamespace)("count-down"),n=a[0],s=a[1],n=n({props:{millisecond:Boolean,time:{type:[Number,String],default:0},format:{type:String,default:"HH:mm:ss"},autoStart:{type:Boolean,default:!0}},data:function(){return{remain:0}},computed:{timeData:function(){return(0,o.parseTimeData)(this.remain)},formattedTime:function(){return(0,o.parseFormat)(this.format,this.timeData)}},watch:{time:{immediate:!0,handler:"reset"}},activated:function(){this.keepAlivePaused&&(this.counting=!0,this.keepAlivePaused=!1,this.tick())},deactivated:function(){this.counting&&(this.pause(),this.keepAlivePaused=!0)},beforeDestroy:function(){this.pause()},methods:{start:function(){this.counting||(this.counting=!0,this.endTime=Date.now()+this.remain,this.tick())},pause:function(){(this.counting=!1,r.cancelRaf)(this.rafId)},reset:function(){this.pause(),this.remain=+this.time,this.autoStart&&this.start()},tick:function(){i.inBrowser&&(this.millisecond?this.microTick():this.macroTick())},microTick:function(){var t=this;this.rafId=(0,r.raf)(function(){t.counting&&(t.setRemain(t.getRemain()),0<t.remain&&t.microTick())})},macroTick:function(){var e=this;this.rafId=(0,r.raf)(function(){var t;e.counting&&(t=e.getRemain(),(0,o.isSameSecond)(t,e.remain)&&0!==t||e.setRemain(t),0<e.remain&&e.macroTick())})},getRemain:function(){return Math.max(this.endTime-Date.now(),0)},setRemain:function(t){this.remain=t,this.$emit("change",this.timeData),0===t&&(this.pause(),this.$emit("finish"))}},render:function(){return(0,arguments[0])("div",{class:s()},[this.slots("default",this.timeData)||this.formattedTime])}});e.default=n},function(t,e,n){"use strict";var i=n(571),r=n.n(i),i=n(1241);r.a.name="m-divider",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(41)),i=n(7),o=n(47),n=(0,i.createNamespace)("divider"),i=n[0],a=n[1];function s(t,e,n,i){return t("div",(0,r.default)([{attrs:{role:"separator"},style:{borderColor:e.borderColor},class:a(((t={dashed:e.dashed,hairline:e.hairline})["content-"+e.contentPosition]=n.default,t))},(0,o.inherit)(i,!0)]),[n.default&&n.default()])}s.props={dashed:Boolean,hairline:{type:Boolean,default:!0},contentPosition:{type:String,default:"center"}};i=i(s);e.default=i},function(t,e,n){"use strict";var i=n(573),r=n.n(i),i=n(1243);r.a.name="m-empty",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=i(n(1245)),i=(0,r.createNamespace)("empty"),n=i[0],a=i[1],s=["error","search","default"],n=n({props:{imageSize:[Number,String],description:String,image:{type:String,default:"default"}},methods:{genImageContent:function(){var t=this.$createElement,e=this.slots("image");if(e)return e;if("network"===this.image)return t(o.default);e=this.image;return t("img",{attrs:{src:e=-1!==s.indexOf(e)?"https://img.yzcdn.cn/vant/empty-image-"+e+".png":e}})},genImage:function(){var t=this.$createElement,e={width:(0,r.addUnit)(this.imageSize),height:(0,r.addUnit)(this.imageSize)};return t("div",{class:a("image"),style:e},[this.genImageContent()])},genDescription:function(){var t=this.$createElement,e=this.slots("description")||this.description;if(e)return t("p",{class:a("description")},[e])},genBottom:function(){var t=this.$createElement,e=this.slots();if(e)return t("div",{class:a("bottom")},[e])}},render:function(){return(0,arguments[0])("div",{class:a()},[this.genImage(),this.genDescription(),this.genBottom()])}});e.default=n},function(t,e,n){"use strict";var i=n(381),r=n.n(i),i=n(1246);e.a=r.a},function(t,e,n){"use strict";var i=n(576),r=n.n(i),i=n(1247);r.a.name="m-lazyload",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;n=i(n(1248)).default;e.default=n},function(t,e,n){"use strict";var i=n(578),r=n.n(i),i=n(1249);r.a.name="m-list",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=n(174),a=n(62),s=n(81),l=i(n(74)),n=(0,r.createNamespace)("list"),r=n[0],u=n[1],c=n[2],s=r({mixins:[(0,s.BindEventMixin)(function(t){this.scroller||(this.scroller=(0,a.getScroller)(this.$el)),t(this.scroller,"scroll",this.check)})],model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:[Number,String],default:300},direction:{type:String,default:"down"}},data:function(){return{innerLoading:this.loading}},updated:function(){this.innerLoading=this.loading},mounted:function(){this.immediateCheck&&this.check()},watch:{loading:"check",finished:"check"},methods:{check:function(){var r=this;this.$nextTick(function(){if(!(r.innerLoading||r.finished||r.error)){var t=r.$el,e=r.scroller,n=r.offset,i=r.direction,e=e.getBoundingClientRect?e.getBoundingClientRect():{top:0,bottom:e.innerHeight};if(!(e.bottom-e.top)||(0,o.isHidden)(t))return!1;t=r.$refs.placeholder.getBoundingClientRect();("up"===i?e.top-t.top<=n:t.bottom-e.bottom<=n)&&(r.innerLoading=!0,r.$emit("input",!0),r.$emit("load"))}})},clickErrorText:function(){this.$emit("update:error",!1),this.check()},genLoading:function(){var t=this.$createElement;if(this.innerLoading&&!this.finished)return t("div",{key:"loading",class:u("loading")},[this.slots("loading")||t(l.default,{attrs:{size:"16"}},[this.loadingText||c("loading")])])},genFinishedText:function(){var t=this.$createElement;if(this.finished){var e=this.slots("finished")||this.finishedText;if(e)return t("div",{class:u("finished-text")},[e])}},genErrorText:function(){var t=this.$createElement;if(this.error){var e=this.slots("error")||this.errorText;if(e)return t("div",{on:{click:this.clickErrorText},class:u("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",key:"placeholder",class:u("placeholder")});return t("div",{class:u(),attrs:{role:"feed","aria-busy":this.innerLoading}},["down"===this.direction?this.slots():e,this.genLoading(),this.genFinishedText(),this.genErrorText(),"up"===this.direction?this.slots():e])}});e.default=s},function(t,e,n){"use strict";var i=n(580),r=n.n(i),i=n(1251);r.a.name="m-popover",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=n(1253),a=n(7),l=n(54),s=n(376),u=i(n(32)),c=i(n(82)),n=(0,a.createNamespace)("popover"),a=n[0],h=n[1],s=a({mixins:[(0,s.ClickOutsideMixin)({event:"touchstart",method:"onClickOutside"})],props:{value:Boolean,trigger:String,overlay:Boolean,offset:{type:Array,default:function(){return[0,8]}},theme:{type:String,default:"light"},actions:{type:Array,default:function(){return[]}},placement:{type:String,default:"bottom"},getContainer:{type:[String,Function],default:"body"},closeOnClickAction:{type:Boolean,default:!0}},watch:{value:"updateLocation",placement:"updateLocation"},mounted:function(){this.updateLocation()},beforeDestroy:function(){this.popper&&(this.popper.destroy(),this.popper=null)},methods:{createPopper:function(){return(0,o.createPopper)(this.$refs.wrapper,this.$refs.popover.$el,{placement:this.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},(0,r.default)({},o.offsetModifier,{options:{offset:this.offset}})]})},updateLocation:function(){var t=this;this.$nextTick(function(){t.value&&(t.popper?t.popper.setOptions({placement:t.placement}):t.popper=t.createPopper())})},renderAction:function(t,e){var n=this,i=this.$createElement,r=t.icon,o=t.text,a=t.disabled,s=t.className;return i("div",{attrs:{role:"menuitem"},class:[h("action",{disabled:a,"with-icon":r}),s],on:{click:function(){return n.onClickAction(t,e)}}},[r&&i(u.default,{attrs:{name:r},class:h("action-icon")}),i("div",{class:[h("action-text"),l.BORDER_BOTTOM]},[o])])},onToggle:function(t){this.$emit("input",t)},onClickWrapper:function(){"click"===this.trigger&&this.onToggle(!this.value)},onTouchstart:function(t){t.stopPropagation(),this.$emit("touchstart",t)},onClickAction:function(t,e){t.disabled||(this.$emit("select",t,e),this.closeOnClickAction&&this.$emit("input",!1))},onClickOutside:function(){this.$emit("input",!1)},onOpen:function(){this.$emit("open")},onOpened:function(){this.$emit("opened")},onClose:function(){this.$emit("close")},onClosed:function(){this.$emit("closed")}},render:function(){var t=arguments[0];return t("span",{ref:"wrapper",class:h("wrapper"),on:{click:this.onClickWrapper}},[t(c.default,{ref:"popover",attrs:{value:this.value,overlay:this.overlay,position:null,transition:"van-popover-zoom",lockScroll:!1,getContainer:this.getContainer},class:h([this.theme]),on:{open:this.onOpen,close:this.onClose,input:this.onToggle,opened:this.onOpened,closed:this.onClosed},nativeOn:{touchstart:this.onTouchstart}},[t("div",{class:h("arrow")}),t("div",{class:h("content"),attrs:{role:"menu"}},[this.slots("default")||this.actions.map(this.renderAction)])]),this.slots("reference")])}});e.default=s},function(t,e,n){"use strict";var i=n(582),r=n.n(i),i=n(1254);r.a.name="m-progress",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var a=n(7),i=(0,a.createNamespace)("progress"),n=i[0],s=i[1],n=n({props:{color:String,inactive:Boolean,pivotText:String,textColor:String,pivotColor:String,trackColor:String,strokeWidth:[Number,String],percentage:{type:[Number,String],required:!0,validator:function(t){return 0<=t&&t<=100}},showPivot:{type:Boolean,default:!0}},data:function(){return{pivotWidth:0,progressWidth:0}},mounted:function(){this.resize()},watch:{showPivot:"resize",pivotText:"resize"},methods:{resize:function(){var t=this;this.$nextTick(function(){t.progressWidth=t.$el.offsetWidth,t.pivotWidth=t.$refs.pivot?t.$refs.pivot.offsetWidth:0})}},render:function(){var t=arguments[0],e=this.pivotText,n=this.percentage,i=null!=e?e:n+"%",r=this.showPivot&&i,o=this.inactive?"#cacaca":this.color,e={color:this.textColor,left:(this.progressWidth-this.pivotWidth)*n/100+"px",background:this.pivotColor||o},o={background:o,width:this.progressWidth*n/100+"px"},n={background:this.trackColor,height:(0,a.addUnit)(this.strokeWidth)};return t("div",{class:s(),style:n},[t("span",{class:s("portion"),style:o},[r&&t("span",{ref:"pivot",style:e,class:s("pivot")},[i])])])}});e.default=n},function(t,e,n){"use strict";var i=n(584),r=n.n(i),i=n(1256);r.a.name="m-skeleton",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var a=i(n(41)),s=n(7),l=n(47),i=(0,s.createNamespace)("skeleton"),n=i[0],u=i[1];function r(r,o,t,e){return o.loading?r("div",(0,a.default)([{class:u({animate:o.animate,round:o.round})},(0,l.inherit)(e)]),[function(){if(o.avatar){var t=(0,s.addUnit)(o.avatarSize);return r("div",{class:u("avatar",o.avatarShape),style:{width:t,height:t}})}}(),r("div",{class:u("content")},[function(){if(o.title)return r("h3",{class:u("title"),style:{width:(0,s.addUnit)(o.titleWidth)}})}(),function(){for(var t,e=[],n=o.rowWidth,i=0;i<o.row;i++)e.push(r("div",{class:u("row"),style:{width:(0,s.addUnit)((t=i,"100%"===n&&t===+o.row-1?"60%":Array.isArray(n)?n[t]:n))}}));return e}()])]):t.default&&t.default()}r.props={title:Boolean,round:Boolean,avatar:Boolean,titleWidth:[Number,String],avatarSize:[Number,String],row:{type:[Number,String],default:0},loading:{type:Boolean,default:!0},animate:{type:Boolean,default:!0},avatarShape:{type:String,default:"round"},rowWidth:{type:[Number,String,Array],default:"100%"}};n=n(r);e.default=n},function(t,e,n){"use strict";var i=n(586),r=n.n(i),i=n(1258);r.a.name="m-step",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=n(54),a=n(36),s=i(n(32)),n=(0,r.createNamespace)("step"),r=n[0],l=n[1],a=r({mixins:[(0,a.ChildrenMixin)("vanSteps")],computed:{status:function(){return this.index<this.parent.active?"finish":this.index===+this.parent.active?"process":void 0},active:function(){return"process"===this.status},lineStyle:function(){return"finish"===this.status?{background:this.parent.activeColor}:{background:this.parent.inactiveColor}},titleStyle:function(){return this.active?{color:this.parent.activeColor}:this.status?void 0:{color:this.parent.inactiveColor}}},methods:{genCircle:function(){var t=this.$createElement,e=this.parent,n=e.activeIcon,i=e.activeColor,e=e.inactiveIcon;if(this.active)return this.slots("active-icon")||t(s.default,{class:l("icon","active"),attrs:{name:n,color:i}});i=this.slots("inactive-icon");return e||i?i||t(s.default,{class:l("icon"),attrs:{name:e}}):t("i",{class:l("circle"),style:this.lineStyle})},onClickStep:function(){this.parent.$emit("click-step",this.index)}},render:function(){var t=arguments[0],e=this.status,n=this.active,i=this.parent.direction;return t("div",{class:[o.BORDER,l([i,((i={})[e]=e,i)])]},[t("div",{class:l("title",{active:n}),style:this.titleStyle,on:{click:this.onClickStep}},[this.slots()]),t("div",{class:l("circle-container"),on:{click:this.onClickStep}},[this.genCircle()]),t("div",{class:l("line"),style:this.lineStyle})])}});e.default=a},function(t,e,n){"use strict";var i=n(588),r=n.n(i),i=n(1260);r.a.name="m-steps",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(36),n=(0,i.createNamespace)("steps"),i=n[0],o=n[1],r=i({mixins:[(0,r.ParentMixin)("vanSteps")],props:{activeColor:String,inactiveIcon:String,inactiveColor:String,active:{type:[Number,String],default:0},direction:{type:String,default:"horizontal"},activeIcon:{type:String,default:"checked"}},render:function(){var t=arguments[0];return t("div",{class:o([this.direction])},[t("div",{class:o("items")},[this.slots()])])}});e.default=r},function(t,e,n){"use strict";var i=n(304),r=n.n(i),i=n(1262);r.a.name="m-sticky",e.a=r.a},function(t,e,n){"use strict";var i=n(311),r=n.n(i),i=n(1263);r.a.name="m-tag",e.a=r.a},function(t,e,n){"use strict";var i=n(592),r=n.n(i),i=n(1264);r.a.name="m-nav-bar",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=n(54),a=i(n(32)),n=(0,r.createNamespace)("nav-bar"),r=n[0],s=n[1],r=r({props:{title:String,fixed:Boolean,zIndex:[Number,String],leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,border:{type:Boolean,default:!0}},data:function(){return{height:null}},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.navBar.getBoundingClientRect().height)},methods:{genLeft:function(){var t=this.$createElement,e=this.slots("left");return e||[this.leftArrow&&t(a.default,{class:s("arrow"),attrs:{name:"arrow-left"}}),this.leftText&&t("span",{class:s("text")},[this.leftText])]},genRight:function(){var t=this.$createElement,e=this.slots("right");return e||(this.rightText?t("span",{class:s("text")},[this.rightText]):void 0)},genNavBar:function(){var t,e=this.$createElement;return e("div",{ref:"navBar",style:{zIndex:this.zIndex},class:[s({fixed:this.fixed,"safe-area-inset-top":this.safeAreaInsetTop}),((t={})[o.BORDER_BOTTOM]=this.border,t)]},[e("div",{class:s("content")},[this.hasLeft()&&e("div",{class:s("left"),on:{click:this.onClickLeft}},[this.genLeft()]),e("div",{class:[s("title"),"van-ellipsis"]},[this.slots("title")||this.title]),this.hasRight()&&e("div",{class:s("right"),on:{click:this.onClickRight}},[this.genRight()])])])},hasLeft:function(){return this.leftArrow||this.leftText||this.slots("left")},hasRight:function(){return this.rightText||this.slots("right")},onClickLeft:function(t){this.$emit("click-left",t)},onClickRight:function(t){this.$emit("click-right",t)}},render:function(){return this.placeholder&&this.fixed?(0,arguments[0])("div",{class:s("placeholder"),style:{height:this.height+"px"}},[this.genNavBar()]):this.genNavBar()}});e.default=r},function(t,e,n){"use strict";var i=n(594),r=n.n(i),i=n(1266);r.a.name="m-pagination",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),a=n(54),n=(0,i.createNamespace)("pagination"),i=n[0],s=n[1],l=n[2];function u(t,e,n){return{number:t,text:e,active:n}}i=i({props:{prevText:String,nextText:String,forceEllipses:Boolean,mode:{type:String,default:"multi"},value:{type:Number,default:0},pageCount:{type:[Number,String],default:0},totalItems:{type:[Number,String],default:0},itemsPerPage:{type:[Number,String],default:10},showPageSize:{type:[Number,String],default:5}},computed:{count:function(){var t=this.pageCount||Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(1,t)},pages:function(){var t=[],e=this.count,n=+this.showPageSize;if("multi"!==this.mode)return t;for(var i=1,r=e,o=n<e,a=i=o&&e<(r=(i=Math.max(this.value-Math.floor(n/2),1))+n-1)?(r=e)-n+1:i;a<=r;a++){var s=u(a,a,a===this.value);t.push(s)}return o&&0<n&&this.forceEllipses&&(1<i&&(i=u(i-1,"...",!1),t.unshift(i)),r<e&&(e=u(r+1,"...",!1),t.push(e))),t}},watch:{value:{handler:function(t){this.select(t||this.value)},immediate:!0}},methods:{select:function(t,e){t=Math.min(this.count,Math.max(1,t)),this.value!==t&&(this.$emit("input",t),e&&this.$emit("change",t))}},render:function(){function n(t){return function(){i.select(t,!0)}}var t,i=this,r=arguments[0],e=this.value,o="multi"!==this.mode;return r("ul",{class:s({simple:o})},[r("li",{class:[s("item",{disabled:1===e}),s("prev"),a.BORDER],on:{click:n(e-1)}},[(null!=(t=this.slots("prev-text"))?t:this.prevText)||l("prev")]),this.pages.map(function(t){var e;return r("li",{class:[s("item",{active:t.active}),s("page"),a.BORDER],on:{click:n(t.number)}},[null!=(e=i.slots("page",t))?e:t.text])}),o&&r("li",{class:s("page-desc")},[this.slots("pageDesc")||e+"/"+this.count]),r("li",{class:[s("item",{disabled:e===this.count}),s("next"),a.BORDER],on:{click:n(e+1)}},[(null!=(e=this.slots("next-text"))?e:this.nextText)||l("next")])])}});e.default=i},function(t,e,n){"use strict";var i=n(303),r=n.n(i),i=n(1268);r.a.name="m-tab",e.a=r.a},function(t,e,n){"use strict";var i=n(597),r=n.n(i),i=n(1269);r.a.name="m-tabbar",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(54),o=n(731),a=n(36),n=(0,i.createNamespace)("tabbar"),i=n[0],s=n[1],a=i({mixins:[(0,a.ParentMixin)("vanTabbar")],props:{route:Boolean,zIndex:[Number,String],placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,value:{type:[Number,String],default:0},border:{type:Boolean,default:!0},fixed:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:null}},data:function(){return{height:null}},computed:{fit:function(){return null!==this.safeAreaInsetBottom?this.safeAreaInsetBottom:this.fixed}},watch:{value:"setActiveItem",children:"setActiveItem"},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.tabbar.getBoundingClientRect().height)},methods:{setActiveItem:function(){var n=this;this.children.forEach(function(t,e){t.active=(t.name||e)===n.value})},onChange:function(t){var e=this;t!==this.value&&(0,o.callInterceptor)({interceptor:this.beforeChange,args:[t],done:function(){e.$emit("input",t),e.$emit("change",t)}})},genTabbar:function(){var t;return(0,this.$createElement)("div",{ref:"tabbar",style:{zIndex:this.zIndex},class:[((t={})[r.BORDER_TOP_BOTTOM]=this.border,t),s({unfit:!this.fit,fixed:this.fixed})]},[this.slots()])}},render:function(){return this.placeholder&&this.fixed?(0,arguments[0])("div",{class:s("placeholder"),style:{height:this.height+"px"}},[this.genTabbar()]):this.genTabbar()}});e.default=a},function(t,e,n){"use strict";var i=n(599),r=n.n(i),i=n(1271);r.a.name="m-tabbar-item",e.a=r.a},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=n(7),a=n(110),s=n(36),l=i(n(32)),u=i(n(172)),i=(0,o.createNamespace)("tabbar-item"),n=i[0],c=i[1],r=n({mixins:[(0,s.ChildrenMixin)("vanTabbar")],props:(0,r.default)({},a.routeProps,{dot:Boolean,icon:String,name:[Number,String],info:[Number,String],badge:[Number,String],iconPrefix:String}),data:function(){return{active:!1}},computed:{routeActive:function(){var t=this.to,e=this.$route;if(t&&e){var n=(0,o.isObject)(t)?t:{path:t},t=n.path===e.path,e=(0,o.isDef)(n.name)&&n.name===e.name;return t||e}}},methods:{onClick:function(t){this.parent.onChange(this.name||this.index),this.$emit("click",t),(0,a.route)(this.$router,this)},genIcon:function(t){var e=this.$createElement,t=this.slots("icon",{active:t});return t||(this.icon?e(l.default,{attrs:{name:this.icon,classPrefix:this.iconPrefix}}):void 0)}},render:function(){var t=arguments[0],e=this.parent.route?this.routeActive:this.active,n=this.parent[e?"activeColor":"inactiveColor"];return t("div",{class:c({active:e}),style:{color:n},on:{click:this.onClick}},[t("div",{class:c("icon")},[this.genIcon(e),t(u.default,{attrs:{dot:this.dot,info:null!=(n=this.badge)?n:this.info}})]),t("div",{class:c("text")},[this.slots("default",{active:e})])])}});e.default=r},function(t,e,n){"use strict";var i=n(32),r=n.n(i),i=n(1273);r.a.name="m-icon",e.a=r.a},function(t,e,n){"use strict";var i=n(602),r=n.n(i),i=n(1274);r.a.name="m-index-anchor",e.a=r.a},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(36),o=n(54),a=n(62),n=(0,i.createNamespace)("index-anchor"),i=n[0],s=n[1],r=i({mixins:[(0,r.ChildrenMixin)("vanIndexBar",{indexKey:"childrenIndex"})],props:{index:[Number,String]},data:function(){return{top:0,left:null,rect:{top:0,height:0},width:null,active:!1}},computed:{sticky:function(){return this.active&&this.parent.sticky},anchorStyle:function(){if(this.sticky)return{zIndex:""+this.parent.zIndex,left:this.left?this.left+"px":null,width:this.width?this.width+"px":null,transform:"translate3d(0, "+this.top+"px, 0)",color:this.parent.highlightColor}}},mounted:function(){var t=this.$el.getBoundingClientRect();this.rect.height=t.height},methods:{scrollIntoView:function(){this.$el.scrollIntoView()},getRect:function(t,e){var n=this.$el.getBoundingClientRect();return this.rect.height=n.height,t===window||t===document.body?this.rect.top=n.top+(0,a.getRootScrollTop)():this.rect.top=n.top+(0,a.getScrollTop)(t)-e.top,this.rect}},render:function(){var t=arguments[0],e=this.sticky;return t("div",{style:{height:e?this.rect.height+"px":null}},[t("div",{style:this.anchorStyle,class:[s({sticky:e}),((t={})[o.BORDER_BOTTOM]=e,t)]},[this.slots("default")||this.index])])}});e.default=r},function(t,e,n){"use strict";var i=n(69),u=n.n(i),l=n(98),c=void 0,h=void 0,d=void 0,p=[0,0],f=void 0,g=void 0,m=void 0,v=[],y=[],x=void 0,n={name:"ve-gantt",props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},options:{type:Object,default:null}},data:function(){return{myChart:null}},mounted:function(){this.myChart=u.a.init(this.$refs.ganttContainer);var t;this.myChart.setOption(t=this.makeOption()),this.initDrag(),t&&this.myChart.setOption(t)},methods:{initDrag:function(){var t,e,n,i=this;function r(){t(n),e=requestAnimationFrame(r)}function o(){x.stop(),h&&(this.myChart.getZr().remove(h),h=null),d&&(this.myChart.getZr().remove(d),d=null),m=g=null}function a(t,e,n,i){var r=this.myChart.convertToPixel("grid",[e.timeArrival,e.categoryIndex]),o=this.myChart.convertToPixel("grid",[e.timeDeparture,e.categoryIndex])[0]-r[0],e=.6*Math.abs(this.myChart.convertToPixel("grid",[0,0])[1]-this.myChart.convertToPixel("grid",[0,1])[1]);return t||(t=new u.a.graphic.Rect({shape:{x:0,y:0,width:0,height:0},style:n,z:i}),this.myChart.getZr().add(t)),t.attr({shape:{x:0,y:0,width:o,height:e},position:[r[0],r[1]-e]}),t}function s(t,e){var n=t-(e[0]+30),e=t-(e[1]-30);return n*e<=0?0:n<0?n:e}t=function(t){var e=this.myChart.getOption(),n=e.dataZoom[1],i=e.dataZoom[3],e=[];function r(t,e,n,i,r){var o;0!==r&&(o=i-n,n+=r=.2*(r/Math.abs(r)),(n=100<(i+=r)?(i=100)-o:n)<0&&(i=(n=0)+o),t.push({dataZoomId:e,start:n,end:i}))}r(e,"insideX",n.start,n.end,t.cursorDistX),r(e,"insideY",i.start,i.end,-t.cursorDistY),e.length&&this.myChart.dispatchAction({type:"dataZoom",batch:e})},n=e=void 0,t=u.a.throttle(t,30),x={start:function(t){n=t,null==e&&r()},stop:function(){null!=e&&cancelAnimationFrame(e),e=n=null}},this.myChart.on("mousedown",function(t){c&&t&&null!=t.seriesIndex&&(g={dataIndex:t.dataIndex,categoryIndex:t.value[0],timeArrival:t.value[1],timeDeparture:t.value[2]},h=a(h,g,{lineWidth:2,fill:"rgba(255,0,0,0.1)",stroke:"rgba(255,0,0,0.8)",lineDash:[6,3]},100),p=[h.position[0]-t.event.offsetX,h.position[1]-t.event.offsetY],f=g.timeDeparture-g.timeArrival)}),this.myChart.getZr().on("mousemove",function(t){var e;h&&(e=t.offsetX,t=t.offsetY,h.attr("position",[p[0]+e,p[1]+t]),function(){var t=h.shape.x+h.position[0],e=h.shape.y+h.position[1],e=this.myChart.convertFromPixel("grid",[t,e]);e&&(m={categoryIndex:Math.floor(e[1]),timeArrival:e[0],timeDeparture:e[0]+f},d=a(d,m,{fill:"rgba(0,0,0,0.4)"},99))}(),function(t,e){t=s(t,v),e=s(e,y);0!==t||0!==e?x.start({cursorDistX:t,cursorDistY:e}):x.stop()}(e,t))}),this.myChart.getZr().on("mouseup",function(){h&&m&&(!function(){for(var t=l.flight.data,e=t[g.dataIndex],n=0;n<t.length;n++){var i=t[n];if(i!==e&&m.categoryIndex===i[0]&&m.timeArrival<i[2]&&m.timeDeparture>i[1])return void alert("Conflict! Find a free space to settle the bar!")}return e[0]=m.categoryIndex,e[1]=m.timeArrival,e[2]=m.timeDeparture,!0}()||i.myChart.setOption({series:{id:"flightData",data:l.flight.data}})),o()}),this.myChart.getZr().on("globalout",o)},onDragSwitchClick:function(t,e,n){c=!c,this.myChart.setOption({dataZoom:[{id:"insideX",disabled:c},{id:"insideY",disabled:c}]}),this.model.setIconStatus(n,c?"emphasis":"normal")},clipRectByRect:function(t,e){return u.a.graphic.clipRectByRect(e,{x:t.coordSys.x,y:t.coordSys.y,width:t.coordSys.width,height:t.coordSys.height})},renderAxisLabelItem:function(t,e){var n=e.coord([0,e.value(0)])[1];if(!(n<t.coordSys.y+5))return{type:"group",position:[10,n],children:[{type:"path",shape:{d:"M0,0 L0,-20 L30,-20 C42,-20 38,-1 50,-1 L70,-1 L70,0 Z",x:0,y:-20,width:90,height:20,layout:"cover"},style:{fill:"#368c6c"}},{type:"text",style:{x:24,y:-3,text:e.value(1),textVerticalAlign:"bottom",textAlign:"center",textFill:"#fff"}},{type:"text",style:{x:75,y:-2,textVerticalAlign:"bottom",textAlign:"center",text:e.value(2),textFill:"#000"}}]}},renderGanttItem:function(t,e){var n=e.value(0),i=e.coord([e.value(1),n]),r=e.coord([e.value(2),n]),o=t.coordSys;v[0]=o.x,v[1]=o.x+o.width,y[0]=o.y,y[1]=o.y+o.height;var a=r[0]-i[0],s=.6*e.size([0,1])[1],l=i[0],n=i[1]-s,o=e.value(3)+"",r=u.a.format.getTextRect(o).width+40<a&&180<=l+a?o:"",i=this.clipRectByRect(t,{x:l,y:n,width:a,height:s}),o=this.clipRectByRect(t,{x:l,y:n,width:a/2,height:s}),s=this.clipRectByRect(t,{x:l,y:n,width:a,height:s});return{type:"group",children:[{type:"rect",ignore:!i,shape:i,style:e.style()},{type:"rect",ignore:!o&&!e.value(4),shape:o,style:e.style({fill:"#ddb30b"})},{type:"rect",ignore:!s,shape:s,style:e.style({fill:"transparent",stroke:"transparent",text:r,textFill:"#fff"})}]}},makeOption:function(){return{tooltip:{},animation:!1,toolbox:{left:20,top:0,itemSize:20,feature:{myDrag:{show:!0,title:"Make bars\ndraggable",icon:"path://M990.55 380.08 q11.69 0 19.88 8.19 q7.02 7.01 7.02 18.71 l0 480.65 q-1.17 43.27 -29.83 71.93 q-28.65 28.65 -71.92 29.82 l-813.96 0 q-43.27 -1.17 -72.5 -30.41 q-28.07 -28.07 -29.24 -71.34 l0 -785.89 q1.17 -43.27 29.24 -72.5 q29.23 -29.24 72.5 -29.24 l522.76 0 q11.7 0 18.71 7.02 q8.19 8.18 8.19 18.71 q0 11.69 -7.6 19.29 q-7.6 7.61 -19.3 7.61 l-518.08 0 q-22.22 1.17 -37.42 16.37 q-15.2 15.2 -15.2 37.42 l0 775.37 q0 23.39 15.2 38.59 q15.2 15.2 37.42 15.2 l804.6 0 q22.22 0 37.43 -15.2 q15.2 -15.2 16.37 -38.59 l0 -474.81 q0 -11.7 7.02 -18.71 q8.18 -8.19 18.71 -8.19 l0 0 ZM493.52 723.91 l-170.74 -170.75 l509.89 -509.89 q23.39 -23.39 56.13 -21.05 q32.75 1.17 59.65 26.9 l47.94 47.95 q25.73 26.89 27.49 59.64 q1.75 32.75 -21.64 57.3 l-508.72 509.9 l0 0 ZM870.09 80.69 l-56.13 56.14 l94.72 95.9 l56.14 -57.31 q8.19 -9.35 8.19 -21.05 q-1.17 -12.86 -10.53 -22.22 l-47.95 -49.12 q-10.52 -9.35 -23.39 -9.35 q-11.69 -1.17 -21.05 7.01 l0 0 ZM867.75 272.49 l-93.56 -95.9 l-380.08 380.08 l94.73 94.73 l378.91 -378.91 l0 0 ZM322.78 553.16 l38.59 39.77 l-33.92 125.13 l125.14 -33.92 l38.59 38.6 l-191.79 52.62 q-5.85 1.17 -12.28 0 q-6.44 -1.17 -11.11 -5.84 q-4.68 -4.68 -5.85 -11.7 q-2.34 -5.85 0 -11.69 l52.63 -192.97 l0 0 Z",onclick:this.onDragSwitchClick}}},title:{text:"甘特图示例",left:"center"},dataZoom:[{type:"slider",xAxisIndex:0,filterMode:"weakFilter",height:20,bottom:0,start:0,end:26,handleIcon:"path://M10.7,11.9H9.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z",handleSize:"80%",showDetail:!1},{type:"inside",id:"insideX",xAxisIndex:0,filterMode:"weakFilter",start:0,end:26,zoomOnMouseWheel:!1,moveOnMouseMove:!0},{type:"slider",yAxisIndex:0,zoomLock:!0,width:10,right:10,top:70,bottom:20,start:95,end:100,handleSize:0,showDetail:!1},{type:"inside",id:"insideY",yAxisIndex:0,start:95,end:100,zoomOnMouseWheel:!1,moveOnMouseMove:!0,moveOnMouseWheel:!0}],grid:{show:!0,top:70,bottom:20,left:100,right:20,backgroundColor:"#fff",borderWidth:0},xAxis:{type:"time",position:"top",splitLine:{lineStyle:{color:["#E9EDFF"]}},axisLine:{show:!1},axisTick:{lineStyle:{color:"#929ABA"}},axisLabel:{color:"#929ABA",inside:!1,align:"center"}},yAxis:{axisTick:{show:!1},splitLine:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},min:0,max:l.parkingApron.data.length},series:[{id:"flightData",type:"custom",renderItem:this.renderGanttItem,dimensions:l.flight.dimensions,encode:{x:[1,2],y:0,tooltip:[0,1,2]},data:l.flight.data},{type:"custom",renderItem:this.renderAxisLabelItem,dimensions:l.parkingApron.dimensions,encode:{x:-1,y:0},data:l.parkingApron.data.map(function(t,e){return[e].concat(t)})}]}}},render:function(){var t=arguments[0];return t("div",{attrs:{className:"c-gantt-wrapper"},style:{width:this.width,height:this.height}},[t("div",{attrs:{className:"c-gantt-container"},ref:"ganttContainer",style:{width:this.width,height:this.height}})])}};e.a=n},function(t,e,n){"use strict";n(1125);var f=n(15);function i(t,e,n,i){var r,o,a,s,l,u=void 0===(d=n.dimension)?t[0]:d,c=void 0===(p=n.metrics)?t[1]:p,h=n.color,d=n.sizeMax,t=n.sizeMin,p=n.shape,n=i.tooltipVisible,i=i.tooltipFormatter;return{series:(r=(h={dimension:u,metrics:c,rows:e,color:void 0===h?"":h,sizeMax:void 0===d?60:d,sizeMin:void 0===t?12:t,shape:void 0===p?"circle":p}).dimension,o=h.metrics,d=h.rows,a=h.color,t=h.sizeMax,p=h.sizeMin,h=h.shape,t={type:"wordCloud",textStyle:{normal:{color:!Object(f.f)(a)&&a?a:function(){return"rgb("+[Math.round(160*Math.random()),Math.round(160*Math.random()),Math.round(160*Math.random())].join(",")+")"}}},shape:h,sizeRange:[p,t]},s=Object(f.f)(a)?a.length:0,d=d.slice().map(function(t){t={name:t[r],value:t[o]};return 0<s&&(t.textStyle={normal:{color:a[Math.floor(Math.random()*s)]}}),t}),t.data=d,[t]),tooltip:n&&(l={tooltipFormatter:i}.tooltipFormatter,{show:!0,formatter:function(t){var e=t.data,n=e.name,e=e.value;return l?l.apply(null,t):n+": "+e}})}}n=n(19),e.a=Object.assign({},n.a,{name:"VeWordcloud",data:function(){return this.chartHandler=i,{}}})},function(t,e,n){"use strict";n(1120);var x=n(15),_=n(12);function i(t,e,n,i){var r,o,a,s,l,u,c,h,d,p=void 0===(v=n.dimension)?t[0]:v,f=void 0===(y=n.metrics)?t[1]:y,g=n.seriesMap,m=n.dataType,v=n.digit,y=n.wave,n=i.tooltipVisible,i=i.tooltipFormatter;return{tooltip:n&&(r=(v={tooltipFormatter:i,dataType:void 0===m?"percent":m,digit:void 0===v?2:v}).tooltipFormatter,o=v.dataType,a=v.digit,{show:!0,formatter:function(t){var e=t.seriesName,t=t.value;return r?r.apply(null,arguments):[e+": ",Object(_.c)(t,o,a)].join("")}}),series:(s=(g={rows:e,columns:t,dimension:p,metrics:f,seriesMap:void 0===g?{}:g,wave:void 0===y?[]:y}).dimension,l=g.metrics,u=g.seriesMap,y=g.rows,c=g.wave,h=c,d=Object(x.f)(u)?u.length:0,y.slice().map(function(t,e){var n=[],i={type:"liquidFill"},r=t[s],o=Number(t[l]),t={};return Object(x.f)(u)?t=u[e]||u[d-1]:Object(x.i)(u[r])&&(t=u[r]),Object(x.f)(c)&&Object(x.f)(c[0])&&(h=Object(x.f)(c[e])?c[e]:c[c.length-1]),n.push({value:o}),h&&h.length&&(n=n.concat(h.map(function(t){return{value:t}}))),Object.assign(i,{data:n,name:r},t)}))}}n=n(19),e.a=Object.assign({},n.a,{name:"VeLiquidfill",data:function(){return this.chartHandler=i,{}}})},function(t,e,n){"use strict";n(685);var d=n(15);function i(t,e,n,i){var r,o,a,s,l,u=void 0===(c=n.dimension)?t[0]:c,c=void 0===(h=n.metrics)?t[1]:h,t=n.seriesMap,h=i.legendVisible,n=i.tooltipFormatter,i=i.tooltipVisible;return{series:(r=(c={dimension:u,metrics:c,rows:e,seriesMap:void 0===t?{}:t}).dimension,o=c.metrics,t=c.rows,a=c.seriesMap,s=[],t.forEach(function(t){var e=t[r],n=a[e],i={type:"tree",name:t[r],data:t[o]};a[t[r]]&&Object.keys(n).forEach(function(t){Object(d.i)(i[t])?Object.assign(i[t],n[t]):i[t]=n[t]}),s.push(i)}),s),legend:h&&1<e.length&&(l=(e={dimension:u,rows:e}).dimension,{data:e.rows.map(function(t){return t[l]})}),tooltip:i&&{trigger:"item",triggerOn:"mousemove",formatter:{tooltipFormatter:n}.tooltipFormatter}}}n=n(19),e.a=Object.assign({},n.a,{name:"VeTree",data:function(){return this.chartHandler=i,{}}})},function(t,e,n){"use strict";n(692);var _=n(12),b=n(15);function i(t,e,n,i){var r,o,a,s,l,u,c,h,d,p,f=void 0===(v=n.dimension)?t[0]:v,g=void 0===(y=n.metrics)?t[1]:y,m=n.digit,v=void 0===(x=n.dataType)?{}:x,t=n.labelMap,y=n.seriesMap,x=n.dataName,n=i.tooltipFormatter;return{tooltip:i.tooltipVisible&&(r=(n={tooltipFormatter:n,dataType:v}).tooltipFormatter,o=n.dataType,a=n.digit,{formatter:function(t){var e=t.seriesName,n=t.data,i=n.value,t=n.name;if(r)return r.apply(null,arguments);n=[];return n.push(e+": "),n.push(Object(_.c)(i,o[e],a)+" "+t),n.join("")}}),series:(x=(y={rows:e,dimension:f,metrics:g,digit:void 0===m?2:m,dataType:v,labelMap:void 0===t?{}:t,seriesMap:void 0===y?{}:y,dataName:void 0===x?{}:x}).rows,s=y.dimension,l=y.metrics,u=y.digit,c=y.dataType,h=y.labelMap,d=y.seriesMap,p=y.dataName,x.map(function(t){var e=t[s],n=d[e],i={type:"gauge",name:null!=h[e]?h[e]:e,data:[{name:p[e]||"",value:t[l]}],detail:{formatter:function(t){return Object(_.c)(t,c[e],u)}},axisLabel:{formatter:function(t){return Object(_.c)(t,c[e],u)}}};return n&&Object.keys(n).forEach(function(t){Object(b.i)(i[t])?Object.assign(i[t],n[t]):i[t]=n[t]}),i}))}}n=n(19),e.a=Object.assign({},n.a,{name:"VeGauge",data:function(){return this.chartHandler=i,{}}})},function(t,e,n){"use strict";n(154),n(344),n(698),n(365),n(708);var j=n(31),B=n(12),V=n(15),F=[5,10,20,30],Y={show:!1};function X(t){var n=t.values,e=t.volumes,i=t.upColor,r=t.downColor,o=t.showMA,a=t.MA,s=t.showVol,l=t.labelMap,u=t.digit,t=t.itemStyle,c={normal:{opacity:.5}},h=[{name:null==l["日K"]?"日K":l["日K"],type:"candlestick",data:n,itemStyle:t||{normal:{color:i,color0:r,borderColor:null,borderColor0:null}}}];return o&&a.forEach(function(t){var r,o,a,s,e="MA"+t;h.push({name:null==l[e]?e:l[e],data:(r=t,a=u,s=[],(o=n).forEach(function(t,e){if(e<r)s.push("-");else{for(var n=0,i=0;i<r;i++)n+=o[e-i][1];s.push(+(n/r).toFixed(a))}}),s),type:"line",lineStyle:c,smooth:!0})}),s&&h.push({name:"Volume",type:"bar",xAxisIndex:1,yAxisIndex:1,data:e}),h}function i(i,t,e,n){var r=void 0===(d=e.dimension)?i[0]:d,o=void 0===(m=e.metrics)?i.slice(1,6):m,a=void 0===(p=e.digit)?2:p,s=e.itemStyle,l=void 0===(x=e.labelMap)?{}:x,u=void 0===(f=e.legendName)?{}:f,c=void 0===(v=e.MA)?F:v,h=void 0!==(g=e.showMA)&&g,d=void 0!==(y=e.showVol)&&y,p=void 0!==(m=e.showDataZoom)&&m,f=void 0===(x=e.downColor)?"#ec0000":x,g=void 0===(v=e.upColor)?"#00da3c":v,m=void 0===(y=e.start)?50:y,v=void 0===(x=e.end)?100:x,y=e.dataType,x=n.tooltipVisible,e=n.legendVisible,n=Object(V.f)(t[0]),_=[],b=[],S=[],A=o.slice(0,4),M=o[4];n?t.forEach(function(e){var n=[];_.push(e[i.indexOf(r)]),A.forEach(function(t){n.push(e[i.indexOf(t)])}),b.push(n),M&&S.push(e[i.indexOf(M)])}):t.forEach(function(e,t){var n,i=[];_.push(e[r]),A.forEach(function(t){i.push(e[t])}),b.push(i),M&&(n=e[o[0]]>e[o[1]]?1:-1,S.push([t,e[M],n]))});var w,C,T,I,D,L,k,N,O,P,E=e&&(E=(k={showMA:h,MA:c,legendName:u,labelMap:l}).showMA,H=k.MA,w=k.legendName,C=k.labelMap,k=["日K"],E&&(k=k.concat(H.map(function(t){return"MA"+t}))),{data:k=C?k.map(function(t){return null==C[t]?t:C[t]}):k,formatter:function(t){return null!=w[t]?w[t]:t}}),H=x&&(T=(N={metrics:o,dataType:y,digit:a,labelMap:l}).metrics,I=N.dataType,D=N.digit,L=N.labelMap,{trigger:"axis",axisPointer:{type:"cross"},position:function(t,e,n,i,r){var o={top:10};return o[t[0]<r.viewSize[0]/2?"right":"left"]=60,o},formatter:function(t){var r=[];return r.push(t[0].axisValue+"<br>"),t.forEach(function(t){var n=t.data,e=t.seriesName,i=t.componentSubType,t=t.color,e=null==L[e]?e:L[e];r.push(Object(j.g)(t)+" "+e+": "),"candlestick"===i?(r.push("<br>"),T.slice(0,4).forEach(function(t,e){t=null!=L[t]?L[t]:t,e=Object(B.c)(n[e+1],I,D);r.push("- "+t+": "+e+"<br>")})):"line"===i?(e=Object(B.c)(n,I,D),r.push(e+"<br>")):"bar"===i&&(i=Object(B.c)(n[1],I,D),r.push(i+"<br>"))}),r.join("")}}),z=d&&(x=(k={downColor:f,upColor:g,MA:c,showMA:h}).downColor,z=k.upColor,N=k.MA,{show:!1,seriesIndex:k.showMA?1+N.length:1,dimension:2,pieces:[{value:1,color:x},{value:-1,color:z}]}),R=p&&(v=(R={start:m,end:v}).start,R=R.end,[{type:"inside",xAxisIndex:[0,1],start:v,end:R},{show:!0,xAxisIndex:[0,1],type:"slider",top:"85%",start:v,end:R}]);return{legend:E,tooltip:H,visualMap:z,grid:[{left:"10%",right:"8%",top:"10%",height:{showVol:d}.showVol?"50%":"65%",containLabel:!1},{left:"10%",right:"8%",top:"65%",height:"16%",containLabel:!1}],xAxis:[{type:"category",data:z=(H={dims:_}).dims,scale:!0,boundaryGap:!1,axisLine:H={onZero:!1},splitLine:Y,min:"dataMin",max:"dataMax"},{type:"category",gridIndex:1,data:z,scale:!0,boundaryGap:!1,axisLine:H,axisTick:Y,splitLine:Y,axisLabel:Y,min:"dataMin",max:"dataMax"}],yAxis:(O=(y={dataType:y,digit:a}).dataType,P=y.digit,[{scale:!0,axisTick:Y,axisLabel:{formatter:function(t){return Object(B.c)(t,O,P)}}},{scale:!0,gridIndex:1,splitNumber:2,axisLine:Y,axisTick:Y,splitLine:Y,axisLabel:Y}]),dataZoom:R,series:X({values:b,volumes:S,upColor:g,downColor:f,showMA:h,MA:c,showVol:d,labelMap:l,digit:a,itemStyle:s}),axisPointer:{link:{xAxisIndex:"all"}}}}n=n(19),e.a=Object.assign({},n.a,{name:"VeCandle",data:function(){return this.chartHandler=i,{}}})},function(t,e,n){"use strict";var i=n(4),r=n.n(i),i={name:"ve-graph",props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},options:{type:Object,default:null}},data:function(){return{charts:null}},mounted:function(){this.renderCharts()},methods:{renderCharts:function(){for(var t=r.a.init(this.$refs.veGraphContainer),e=[],n=0;n<2;n++)e[n]={name:"类目"+n};var i=this.options||{title:{text:"拓扑图"},tooltip:{formatter:function(t){return t.data.des}},toolbox:{show:!0,feature:{mark:{show:!0},restore:{show:!0},saveAsImage:{show:!0}}},legend:[{data:e.map(function(t){return t.name})}],series:[{type:"graph",layout:"force",symbolSize:40,roam:!0,edgeSymbol:["circle","arrow"],edgeSymbolSize:[2,10],edgeLabel:{normal:{textStyle:{fontSize:20}}},force:{repulsion:2500,edgeLength:[10,50]},draggable:!0,lineStyle:{normal:{width:2,color:"#4b565b"}},label:{normal:{show:!0,textStyle:{}}},data:[{name:"node01",des:"nodedes01",symbolSize:70,category:0},{name:"node02",des:"nodedes02",symbolSize:50,category:1},{name:"node03",des:"nodedes3",symbolSize:50,category:1},{name:"node04",des:"nodedes04",symbolSize:50,category:1},{name:"node05",des:"nodedes05",symbolSize:50,category:1}],links:[{source:"node01",target:"node02",name:"link01",des:"link01des"},{source:"node01",target:"node03",name:"link02",des:"link02des"},{source:"node01",target:"node04",name:"link03",des:"link03des"},{source:"node01",target:"node05",name:"link04",des:"link05des"}],categories:e}]};t.setOption(i),this.charts=t}},watch:{options:function(){this.renderCharts()}},render:function(){var t=arguments[0];return t("div",{class:"v-charts-graph-wrapper",style:{width:this.width,height:this.height}},[t("div",{class:"v-charts-graph-container",ref:"veGraphContainer",style:{width:this.width,height:this.height}})])}};e.a=i},function(t,e,n){"use strict";n(702),n(365),n(683),n(347);var j=n(31),B=n(12),i=n(4),V=n.n(i);function F(t,e){var n=[];return t.forEach(function(t){~n.indexOf(t[e])||n.push(t[e])}),n}function Y(t){var e=t.rows,o=t.innerXAxisList,a=t.innerYAxisList,s=t.xDim,l=t.yDim,u=t.metrics,n=t.type,c=t.extraMetrics;return"cartesian"===n?e.map(function(e){var t=o.indexOf(e[s]),n=a.indexOf(e[l]),i=u?e[u]:1,r=c.map(function(t){return e[t]||"-"});return{value:[t,n,i].concat(r)}}):e.map(function(t){var e=u?t[u]:1;return{value:[t[s],t[l],e]}})}function X(t,e){return{type:"category",data:t,name:e,nameLocation:"end",splitArea:{show:!0}}}function r(t,e,n,i){var r=void 0===(T=n.type)?"cartesian":T,o=n.xAxisList,a=n.yAxisList,s=void 0===(S=n.dimension)?[t[0],t[1]]:S,l=void 0===(A=n.metrics)?t[2]:A,u=void 0===(M=n.dataType)?"normal":M,c=n.min,h=n.max,d=n.digit,p=n.bmap,f=n.amap,g=n.geo,m=n.key,v=void 0===(w=n.v)?"2.0":w,y=n.position,x=n.positionJsonLink,_=n.beforeRegisterMap,b=void 0===(C=n.pointSize)?10:C,S=void 0===(T=n.blurSize)?5:T,A=n.heatColor,M=n.yAxisName,w=n.xAxisName,C=n.beforeRegisterMapOnce,T=void 0===(T=n.mapURLProfix)?"https://unpkg.com/echarts@3.6.2/map/json/":T,I=void 0===(n=n.specialAreas)?{}:n,n=i.tooltipVisible,i=o,o=a,a=[],D=[],L=s.concat([l]);t.forEach(function(t){~L.indexOf(t)||D.push(t)}),a=Y("cartesian"===r?{rows:e,innerXAxisList:i=!i||!i.length?F(e,s[0]):i,innerYAxisList:o=!o||!o.length?F(e,s[1]):o,xDim:s[0],yDim:s[1],metrics:l,type:r,extraMetrics:D}:{rows:e,xDim:s[0],yDim:s[1],metrics:l,type:r,extraMetrics:D}),(s=l?e.map(function(t){return t[l]}):[0,5]).length||(s=[0]);var k,N,O,P,E,H,e=c||Math.min.apply(null,s),c=h||Math.max.apply(null,s),h=X(i,w),s=X(o,M),e=(a=(M={innerMin:e,innerMax:c,type:r,heatColor:A,series:w=[{type:"heatmap",data:{chartData:a}.chartData}]}).innerMin,e=M.innerMax,c=M.type,A=M.heatColor,M=M.series,a={min:a,max:e,calculable:!0},e=null,"map"===c?(e={orient:"vertical",left:0,bottom:0,inRange:{color:A||j.e}},M[0].data.length||(e.show=!1)):e="bmap"===c||"amap"===c?{show:!1,orient:"vertical",left:0,bottom:0,inRange:{color:A||j.d}}:{orient:"horizontal",left:"center",bottom:10,dimension:2,inRange:A&&{color:A}},Object.assign(a,e)),z=n&&(k=(z={dataType:u,innerXAxisList:i,innerYAxisList:o,digit:d,extraMetrics:D,metrics:l}).dataType,N=z.innerXAxisList,O=z.innerYAxisList,P=z.digit,E=z.extraMetrics,H=z.metrics,{trigger:"item",formatter:function(t){var e=t.color,n=t.data.value,i=n[0],r=n[1],t=n[2],o=n.slice(3),a=[];return a.push(N[i]+" ~ "+O[r]+"<br>"),E.forEach(function(t,e){a.push(t+": "+o[e]+"<br>")}),a.push(Object(j.g)(e)+" "+H+": "+Object(B.c)(t,k,P)+"<br>"),a.join("")}}),R={visualMap:e,series:w};return"bmap"===r?(Object.assign(R.series[0],{coordinateSystem:"bmap",pointSize:b,blurSize:S}),Object(B.b)(m,v).then(function(t){return Object.assign({bmap:p},R)})):"map"===r?(R.series[0].coordinateSystem="geo",Object(B.d)({position:y,positionJsonLink:x,beforeRegisterMapOnce:C,mapURLProfix:T}).then(function(t){var e=Object.assign({map:y},g);return _&&(t=_(t)),V.a.registerMap(y,t,I),Object.assign({geo:e},R)})):"amap"===r?(Object.assign(R.series[0],{coordinateSystem:"amap",pointSize:b,blurSize:S}),Object(B.a)(m,v).then(function(t){return Object.assign({amap:f},R)})):Object.assign({xAxis:h,yAxis:s,tooltip:z},R)}n=n(19),e.a=Object.assign({},n.a,{name:"VeHeatmap",data:function(){return this.chartHandler=r,{}}})},function(t,e,n){"use strict";n(696);var x=n(12),_=n(31);function i(t,e,n,i){var r=n.links,o=void 0===(h=n.dimension)?t[0]:h,a=void 0===(d=n.metrics)?t[1]:d,s=void 0===(u=n.dataType)?["normal","normal"]:u,l=void 0===(c=n.digit)?2:c,t=void 0!==(h=n.valueFull)&&h,u=void 0!==(d=n.useDataValue)&&d,c=n.label,h=n.itemStyle,d=n.lineStyle;if(r){var p,f,g,m,v,y,n=s[0],s=s[1];return{tooltip:(p=(l={itemDataType:n,linksDataType:s,digit:l}).itemDataType,f=l.linksDataType,g=l.digit,{trigger:"item",formatter:function(t){var e=[],n=t.name,i=t.data,r=t.value,t=t.color;return e.push(Object(_.g)(t)),e.push(n+" : "),i&&i.source?e.push(Object(x.c)(r,f,g)+"<br />"):e.push(Object(x.c)(r,p,g)+"<br />"),e.join("")}}),series:(r=(a={rows:e,dimension:o,metrics:a,links:r,valueFull:t,useDataValue:u,label:c,itemStyle:h,lineStyle:d}).rows,m=a.dimension,v=a.metrics,t=a.links,u=a.valueFull,c=a.useDataValue,h=a.label,d=a.itemStyle,a=a.lineStyle,y={},t={type:"sankey",data:r.map(function(t){return y[t[m]]=t[v],{name:t[m],value:t[v]}}),links:c?t.map(function(t){return Object.assign({},t,{value:y[t.target]})}):u?t:t.map(function(t){return null==t.value?Object.assign({},t,{value:y[t.target]}):t})},h&&(t.label=h),d&&(t.itemStyle=d),a&&(t.lineStyle=a),[t])}}console.warn("links is needed in settings!")}n=n(19),e.a=Object.assign({},n.a,{name:"VeSankey",data:function(){return this.chartHandler=i,{}}})},function(t,e,n){"use strict";n(1118);function i(t,e,n,i){var r=n.key,o=n.v,a=n.amap,s=n.useOuterMap,n=i._once,i="amap_register";return r||s||console.warn("settings.key must be a string."),n[i]?{}:(n[i]=!0,s?{amap:a}:Object(l.a)(r,o).then(function(t){return{amap:a}}))}var l=n(12),n=n(19);e.a=Object.assign({},n.a,{name:"VeAmap",data:function(){return this.chartHandler=i,{}}})},function(t,e,n){"use strict";n(683);function i(t,e,n,i){var r=n.key,o=n.v,a=n.bmap,s=n.useOuterMap,n=i._once,i="bmap_register";return r||s||console.warn("settings.key must be a string."),n[i]?{}:(n[i]=!0,s?{bmap:a}:Object(l.b)(r,o).then(function(t){return{bmap:a}}))}var l=n(12),n=n(19);e.a=Object.assign({},n.a,{name:"VeBmap",data:function(){return this.chartHandler=i,{}}})},function(t,e,n){"use strict";n(347);var i=n(4),l=n.n(i),rt=n(31),ot=n(12),r="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};function at(t,e,n){"object"===(void 0===t?"undefined":r(t))?e[n]=t:t&&(e[n]={normal:{show:!0},emphasis:{show:!0}})}function st(t,e){var n=t._once,i=t.registerSign,r=t.beforeRegisterMap,o=t.beforeRegisterMapOnce,a=t.registerSignOnce,s=t.position,t=t.specialAreas;n[i]||(r&&(e=r(e)),o&&!n[a]&&(n[a]=!0,e=o(e)),n[i]=!0,l.a.registerMap(s,e,t))}function o(t,e,n,i){var r=void 0===(b=n.position)?"china":b,o=void 0!==(S=n.selectData)&&S,a=n.selectedMode,s=void 0===(A=n.label)||A,l=void 0===(T=n.dataType)?{}:T,u=void 0===(M=n.digit)?2:M,c=void 0===(I=n.dimension)?t[0]:I,h=n.roam,d=n.center,p=n.aspectScale,f=n.boundingCoords,g=n.zoom,m=n.scaleLimit,v=void 0===(w=n.legendName)?{}:w,y=void 0===(C=n.labelMap)?{}:C,x=n.mapGrid,_=n.itemStyle,b=n.positionJsonLink,S=n.beforeRegisterMap,A=n.beforeRegisterMapOnce,M=void 0===(T=n.mapURLProfix)?"https://unpkg.com/echarts@3.6.2/map/json/":T,w=void 0===(I=n.specialAreas)?{}:I,C=n.mapOrigin,T=t.slice();n.metrics?T=n.metrics:T.splice(t.indexOf(c),1);var I=i.tooltipVisible,n=i.legendVisible,t=i.color,i=i._once,D={};e.forEach(function(t){D[t[c]]=t});var L,k,N,O,P,E,H,z,R,j,B,V,F,Y,X,W,G,U,Z,$,q,Q,K,J,tt=I&&(L=l,k=u,N=D,O=T,P=t,E=y,{formatter:function(i){var r=[];return i.name?(r.push(i.name+"<br>"),O.forEach(function(t,e){var n=null!=E[t]?E[t]:t;r.push(Object(rt.g)(P[e])+" "+n+" : "),N[i.name]?r.push(Object(ot.c)(N[i.name][t],L[t],k)):r.push("-"),r.push("<br>")}),r.join(" ")):""}}),et=n&&(v=(n={metrics:T,legendName:v,labelMap:y}).metrics,H=n.legendName,z=n.labelMap,H||z?{data:z?v.map(function(t){return null==z[t]?t:z[t]}):v,formatter:function(t){return null!=H[t]?H[t]:t}}:{data:v}),nt=(m=(y={position:r,selectData:o,label:s,itemStyle:_,dimension:c,metrics:T,rows:e,selectedMode:a,roam:h,center:d,aspectScale:p,boundingCoords:f,zoom:g,labelMap:y,scaleLimit:m,mapGrid:x}).position,R=y.selectData,j=y.dimension,x=y.metrics,B=y.rows,V=y.label,F=y.itemStyle,Y=y.selectedMode,X=y.roam,W=y.center,G=y.aspectScale,U=y.boundingCoords,Z=y.zoom,$=y.labelMap,q=y.scaleLimit,Q=y.mapGrid,K=[],J={type:"map",mapType:m},x.forEach(function(e){var n=Object.assign({name:null!=$[e]?$[e]:e,data:[],selectedMode:Y,roam:X,center:W,aspectScale:G,boundingCoords:U,zoom:Z,scaleLimit:q},J);Q&&Object.keys(Q).forEach(function(t){n[t]=Q[t]}),at(F,n,"itemStyle"),at(V,n,"label"),B.forEach(function(t){n.data.push({name:t[j],value:t[e],selected:R})}),K.push(n)}),K),it={_once:i,beforeRegisterMap:S,beforeRegisterMapOnce:A,registerSign:"MAP_REGISTER_"+r,registerSignOnce:"ONCE_MAP_REGISTER_"+r,position:r,specialAreas:w};return C?(st(it,C),{series:nt,tooltip:tt,legend:et}):Object(ot.d)({position:r,positionJsonLink:b,beforeRegisterMapOnce:A,mapURLProfix:M}).then(function(t){return st(it,t),{series:nt,tooltip:tt,legend:et}})}n=n(19),e.a=Object.assign({},n.a,{name:"VeMap",data:function(){return this.chartHandler=o,{}}})},function(t,e,n){"use strict";n(684);var H=n(15),l=n(31),z=n(12),R=n(146);function j(t,e){var i=e.labelMap,r=e.columns,o=e.dataType,a=e.digit,s=[],n=t.color,e=t.seriesName,t=t.data.value;return s.push(Object(l.g)(n)+" "+e+"<br>"),t.forEach(function(t,e){var n=i[r[e]]||r[e],e=isNaN(t)?t:Object(z.c)(t,o[r[e]],a);s.push(n+": "+e+"<br>")}),s.join("")}function i(t,e,n,i){var r=void 0===(d=n.dimension)?t[0]:d,o=void 0===(b=n.metrics)?[t[1],t[2]]:b,a=void 0===(p=n.dataType)?{}:p,s=void 0===(S=n.xAxisType)?"category":S,l=n.xAxisName,u=n.yAxisName,c=void 0===(f=n.digit)?2:f,h=void 0===(A=n.legendName)?{}:A,d=void 0===(g=n.labelMap)?{}:g,p=void 0===(b=n.tooltipTrigger)?"item":b,f=void 0===(S=n.axisVisible)||S,g=void 0===(A=n.symbolSizeMax)?50:A,m=n.symbol,v=n.symbolSize,y=n.symbolRotate,x=n.symbolOffset,_=n.cursor,b=n.min,S=n.max,A=n.scale,M=n.label,w=n.itemStyle;if(Object(H.f)(e)){var C=Object.assign({},n,{xAxisName:l?[l]:void 0,yAxisName:u?[u]:void 0,scale:A?[A]:void 0,min:b?[b]:void 0,max:S?[S]:void 0,dimension:r?[r]:void 0}),T=Object(R.a)(t,e,C,i);return T&&T.series?(T.series.forEach(function(t){Object.assign(t,{type:"scatter",symbol:m,symbolSize:v||10,symbolRotate:y,symbolOffset:x,cursor:_,label:M,itemStyle:w})}),T):{}}var I,D,L,k,N,O,P,E,C=i.tooltipVisible,T=i.legendVisible,i=Object.keys(e);return{legend:T&&(I=h,{data:i,formatter:function(t){return null!=I[t]?I[t]:t}}),tooltip:C&&{trigger:(D={tooltipTrigger:p,labelMap:d,columns:t,dataType:a,digit:c}).tooltipTrigger,formatter:function(t){return Object(H.f)(t)?t.map(function(t){return j(t,D)}).join(""):j(t,D)}},xAxis:(p=(C={xAxisName:l,axisVisible:f,xAxisType:s,dataLabels:i,dimension:r,rows:e}).xAxisName,d=C.axisVisible,l=C.xAxisType,L=C.rows,s=C.dataLabels,k=C.dimension,N=[],s.forEach(function(t){L[t].forEach(function(t){t=t[k];t&&!~N.indexOf(t)&&N.push(t)})}),[{type:l,show:d,name:p,data:N}]),yAxis:(u=(A={min:b,max:S,scale:A,yAxisName:u,dataType:a,metrics:o,digit:c,axisVisible:f}).min,a=A.max,c=A.scale,f=A.yAxisName,O=A.dataType,P=A.metrics,E=A.digit,{type:"value",show:A.axisVisible,scale:c,min:u,max:a,axisTick:{show:!1},name:f,axisLabel:{formatter:function(t){return Object(z.c)(t,O[P[0]],E)}}}),series:function(t){var e=t.rows,n=t.dataLabels,i=t.columns,r=t.metrics,o=t.dimension,a=t.label,s=t.itemStyle,l=t.symbol,u=t.symbolSizeMax,c=t.symbolSize,h=t.symbolRotate,d=t.symbolOffset,p=t.cursor,f=i.filter(function(t){return!~r.indexOf(t)&&t!==o}),g=[];n.forEach(function(t){e[t].forEach(function(t){g.push(t[r[1]])})});var m=Math.max.apply(null,g),v=[];return n.forEach(function(t){var i=[];e[t].forEach(function(e){var n={value:[]};n.value.push(e[o],e[r[0]],e[r[1]]),f.forEach(function(t){n.value.push(e[t])}),n.symbolSize=c||e[r[1]]/m*u,i.push(n)}),v.push({type:"scatter",data:i,name:t,label:a,itemStyle:s,symbol:l,symbolRotate:h,symbolOffset:d,cursor:p})}),v}({rows:e,dataLabels:i,columns:t,metrics:o,dimension:r,label:M,itemStyle:w,symbol:m,symbolSizeMax:g,symbolSize:v,symbolRotate:y,symbolOffset:x,cursor:_})}}n=n(19),e.a=Object.assign({},n.a,{name:"VeScatter",data:function(){return this.chartHandler=i,{}}})},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return s}),n.d(e,"e",function(){return l}),n.d(e,"d",function(){return u}),n.d(e,"c",function(){return c});function o(t){var e=location.hash.replace("#","").split("/")[1]||"zh-CN";return i.filter(function(t){return t.lang===e})[0][t]}var e=n(294),a=n.n(e),i=n(782),r=function(t){switch(t){case"color":case"typography":case"border":return"global";default:return"local"}},s=function(t,i){var r={};return["color","typography","border"].forEach(function(e){var n={};t.find(function(t){return t.name===e}).config.forEach(function(t){return n[t.key]=a()({},t)}),r[e]=n,Object.keys(n).forEach(function(t){i.global[t]&&(n[t].value=i.global[t])})}),r},l=function(t,e){return t.startsWith("$")?e[t].value:t},u=function(t,e){var n,i=o("display-name");if(t.name)return n=t.key.replace("$--",""),o("variable-name")[n]||n;var r=t.key.replace("$--"+e+"-","");return Object.keys(i).forEach(function(t){r=r.replace(t,i[t])}),(r=r.replace(/-/g," ")).trim()},c=function(t){return o("action")[t]||t}},function(t,e,n){t.exports=!n(99)&&!n(153)(function(){return 7!=Object.defineProperty(n(618)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(152),r=n(85).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){var a=n(100),s=n(125),l=n(808)(!1),u=n(321)("IE_PROTO");t.exports=function(t,e){var n,i=s(t),r=0,o=[];for(n in i)n!=u&&a(i,n)&&o.push(n);for(;e.length>r;)a(i,n=e[r++])&&(~l(o,n)||o.push(n));return o}},function(t,e,n){var i=n(621);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){"use strict";function y(){return this}var x=n(268),_=n(317),b=n(623),S=n(123),A=n(326),M=n(815),w=n(327),C=n(818),T=n(126)("iterator"),I=!([].keys&&"next"in[].keys()),D="values";t.exports=function(t,e,n,i,r,o,a){M(n,e,i);function s(t){if(!I&&t in f)return f[t];switch(t){case"keys":case D:return function(){return new n(this,t)}}return function(){return new n(this,t)}}var l,u,c,h=e+" Iterator",d=r==D,p=!1,f=t.prototype,g=f[T]||f["@@iterator"]||r&&f[r],m=g||s(r),v=r?d?s("entries"):m:void 0,i="Array"==e&&f.entries||g;if(i&&(c=C(i.call(new t)))!==Object.prototype&&c.next&&(w(c,h,!0),x||"function"==typeof c[T]||S(c,T,y)),d&&g&&g.name!==D&&(p=!0,m=function(){return g.call(this)}),x&&!a||!I&&!p&&f[T]||S(f,T,m),A[e]=m,A[h]=y,r)if(l={values:d?m:s(D),keys:o?m:s("keys"),entries:v},a)for(u in l)u in f||b(f,u,l[u]);else _(_.P+_.F*(I||p),e,l);return l}},function(t,e,n){t.exports=n(123)},function(t,e,n){function i(){}var r=n(265),o=n(816),a=n(323),s=n(321)("IE_PROTO"),l="prototype",u=function(){var t=n(618)("iframe"),e=a.length;for(t.style.display="none",n(817).appendChild(t),t.src="javascript:",(t=t.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;e--;)delete u[l][a[e]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(i[l]=r(t),n=new i,i[l]=null,n[s]=t):n=u(),void 0===e?n:o(n,e)}},function(t,e,n){var i=n(619),r=n(323).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e){var n=2311;t.exports=function(){return n++}},function(t,e,n){var a=n(38),p=n(836).buildTransformer,s="___zrEVENTSAVED",o=[];function l(t,e,n,i,r){if(e.getBoundingClientRect&&a.domSupported&&!u(e)){var o=e[s]||(e[s]={}),r=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=!0,s=[],l=[],u=0;u<4;u++){var c=t[u].getBoundingClientRect(),h=2*u,d=c.left,c=c.top;s.push(d,c),a=a&&o&&d===o[h]&&c===o[1+h],l.push(t[u].offsetLeft,t[u].offsetTop)}return a&&r?r:(e.srcCoords=s,e[i]=n?p(l,s):p(s,l))}(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,o),o,r);if(r)return r(t,n,i),!0}return!1}function u(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=function(t,e,n,i,r){return l(o,e,i,r,!0)&&l(t,n,o[0],o[1])},e.transformCoordWithViewport=l,e.isCanvasEl=u},function(t,e,n){var i=n(626),r=n(101),o=n(272),a=n(839),s=n(1),n=function(t){o.call(this,t),r.call(this,t),a.call(this,t),this.id=t.id||i()};n.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]))[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){var n;"position"===t||"scale"===t||"origin"===t?e&&((n=(n=this[t])||(this[t]=[]))[0]=e[0],n[1]=e[1]):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).__zr=e,(t.__clipTarget=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<e.length;n++)t.animation.addAnimator(e[n]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},s.mixin(n,a),s.mixin(n,o),s.mixin(n,r),t.exports=n},function(t,e,n){var N=n(840),O=n(71),P=n(1).isArrayLike,l=Array.prototype.slice;function r(t,e){return t[e]}function o(t,e,n){t[e]=n}function E(t,e,n){return(e-t)*n+t}function H(t,e,n){return.5<n?e:t}function z(t,e,n,i,r){var o=t.length;if(1===r)for(var a=0;a<o;a++)i[a]=E(t[a],e[a],n);else for(var s=o&&t[0].length,a=0;a<o;a++)for(var l=0;l<s;l++)i[a][l]=E(t[a][l],e[a][l],n)}function R(t,e,n){var i=t.length,r=e.length;if(i!==r)if(r<i)t.length=r;else for(var o=i;o<r;o++)t.push(1===n?e[o]:l.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}function j(t,e,n,i,r,o,a,s,l){var u=t.length;if(1===l)for(var c=0;c<u;c++)s[c]=B(t[c],e[c],n[c],i[c],r,o,a);else for(var h=t[0].length,c=0;c<u;c++)for(var d=0;d<h;d++)s[c][d]=B(t[c][d],e[c][d],n[c][d],i[c][d],r,o,a)}function B(t,e,n,i,r,o,a){t=.5*(n-t),i=.5*(i-e);return(2*(e-n)+t+i)*a+(-3*(e-n)-2*t-i)*o+t*r+e}function V(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function u(t,e,n,i,o,r){var a=t._getter,s=t._setter,l="spline"===e,u=i.length;if(u){var c=i[0].value,h=P(c),d=!1,p=!1,f=h?(c=(c=i)[c.length-1].value,P(c&&c[0])?2:1):0;i.sort(function(t,e){return t.time-e.time});for(var g=i[u-1].time,m=[],v=[],y=i[0].value,x=!0,_=0;_<u;_++){m.push(i[_].time/g);var b,S=i[_].value;h&&function(t,e,n){if(t===e)return 1;var i=t.length;if(i===e.length){if(1===n){for(var r=0;r<i;r++)if(t[r]!==e[r])return}else for(var o=t[0].length,r=0;r<i;r++)for(var a=0;a<o;a++)if(t[r][a]!==e[r][a])return;return 1}}(S,y,f)||!h&&S===y||(x=!1),"string"==typeof(y=S)&&((b=O.parse(S))?(S=b,d=!0):p=!0),v.push(S)}if(r||!x){for(var A=v[u-1],_=0;_<u-1;_++)h?R(v[_],A,f):!isNaN(v[_])||isNaN(A)||p||d||(v[_]=A);h&&R(a(t._target,o),A,f);var M,w,C,T,I,D,L=0,k=0;d&&(D=[0,0,0,0]);n=new N({target:t._target,life:g,loop:t._loop,delay:t._delay,onframe:function(t,e){var n;if(e<0)n=0;else if(e<k){for(n=Math.min(L+1,u-1);0<=n&&!(m[n]<=e);n--);n=Math.min(n,u-2)}else{for(n=L;n<u&&!(m[n]>e);n++);n=Math.min(n-1,u-2)}k=e;var i,r=m[(L=n)+1]-m[n];if(0!=r)if(M=(e-m[n])/r,l)if(C=v[n],w=v[0===n?n:n-1],T=v[u-2<n?u-1:n+1],I=v[u-3<n?u-1:n+2],h)j(w,C,T,I,M,M*M,M*M*M,a(t,o),f);else{if(d)i=j(w,C,T,I,M,M*M,M*M*M,D,1),i=V(D);else{if(p)return.5<M?T:C;i=B(w,C,T,I,M,M*M,M*M*M)}s(t,o,i)}else if(h)z(v[n],v[n+1],M,a(t,o),f);else{if(d)z(v[n],v[n+1],M,D,1),i=V(D);else{if(p)return H(v[n],v[n+1],M);i=E(v[n],v[n+1],M)}s(t,o,i)}},ondestroy:n});return e&&"spline"!==e&&(n.easing=e),n}}}n=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||r,this._setter=i||o,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};n.prototype={when:function(t,e){var n,i=this._tracks;for(n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var r=this._getter(this._target,n);if(null==r)continue;0!==t&&i[n].push({time:0,value:function(t){if(P(t)){var e=t.length;if(P(t[0])){for(var n=[],i=0;i<e;i++)n.push(l.call(t[i]));return n}return l.call(t)}return t}(r)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,n=0;n<e;n++)t[n].call(this)},start:function(t,e){function n(){--l||s._doneCallback()}var i,r,o,a,s=this,l=0;for(r in this._tracks)this._tracks.hasOwnProperty(r)&&((o=u(this,t,n,this._tracks[r],r,e))&&(this._clipList.push(o),l++,this.animation&&this.animation.addClip(o),i=o));return i&&(a=i.onframe,i.onframe=function(t,e){a(t,e);for(var n=0;n<s._onframeList.length;n++)s._onframeList[n](t,e)}),l||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,n=this.animation,i=0;i<e.length;i++){var r=e[i];t&&r.onframe(this._target,1),n&&n.removeClip(r)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}},t.exports=n},function(t,e){function n(){this.head=null,this.tail=null,this._len=0}var i=n.prototype;i.insert=function(t){t=new s(t);return this.insertEntry(t),t},i.insertEntry=function(t){this.head?((this.tail.next=t).prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},i.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},i.len=function(){return this._len},i.clear=function(){this.head=this.tail=null,this._len=0};function r(t){this._list=new n,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null}var s=function(t){this.value=t,this.next,this.prev},i=r.prototype;i.put=function(t,e){var n,i,r=this._list,o=this._map,a=null;return null==o[t]&&(i=r.len(),n=this._lastRemovedEntry,i>=this._maxSize&&0<i&&(i=r.head,r.remove(i),delete o[i.key],a=i.value,this._lastRemovedEntry=i),n?n.value=e:n=new s(e),n.key=t,r.insertEntry(n),o[t]=n),a},i.get=function(t){var e=this._map[t],t=this._list;if(null!=e)return e!==t.tail&&(t.remove(e),t.insertEntry(e)),e.value},i.clear=function(){this._list.clear(),this._map={}},t.exports=r},function(t,e){var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};t.exports=function(t,e,n){return i.hasOwnProperty(e)?n*t.dpr:n}},function(t,e){function n(t,e){this.image=t,this.repeat=e,this.type="pattern"}n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};t.exports=n},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 o=n(275),i=n(30),a=n(274).WILL_BE_RESTORED,s=new i,i=function(){};i.prototype={constructor:i,drawRectText:function(t,e){var n=this.style;e=n.textRect||e,this.__dirty&&o.normalizeTextStyle(n,!0);var i,r=n.text;null!=r&&(r+=""),o.needDrawText(r,n)&&(t.save(),i=this.transform,n.transformText?this.setTransform(t):i&&(s.copy(e),s.applyTransform(i),e=s),o.renderText(this,t,r,n,e,a),t.restore())}},t.exports=i},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,e=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof e?n=i=r=o=e:e instanceof Array?1===e.length?n=i=r=o=e[0]:2===e.length?(n=r=e[0],i=o=e[1]):3===e.length?(n=e[0],i=o=e[1],r=e[2]):(n=e[0],i=e[1],r=e[2],o=e[3]):n=i=r=o=0,u<n+i&&(n*=u/(a=n+i),i*=u/a),u<r+o&&(r*=u/(a=r+o),o*=u/a),c<i+r&&(i*=c/(a=i+r),r*=c/a),c<n+o&&(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(20).__DEV__;var i=n(1),u=i.each,c=i.filter,l=i.map,h=i.isArray,d=i.indexOf,p=i.isObject,o=i.isString,r=i.createHashMap,f=i.assert,a=i.clone,g=i.merge,m=i.extend,s=i.mixin,v=n(17),y=n(39),x=n(43),_=n(863),i=n(648),b=n(79).resetSourceDefaulter,S="\0_ec_inner",n=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){f(!(S in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e,n=!1,i=this._optionManager;return t&&"recreate"!==t||(e=i.mountOption("recreate"===t),this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(e)):function(t){this.option={},this.option[S]=1,this._componentsMap=r({series:[]}),this._seriesIndices,this._seriesIndicesMap,function(n,t){var i=n.color&&!n.colorLayer;u(t,function(t,e){"colorLayer"===e&&i||x.hasClass(e)||("object"==typeof t?n[e]=n[e]?g(n[e],t,!1):a(t):null==n[e]&&(n[e]=t))})}(t,this._theme.option),g(t,_,!1),this.mergeOption(t)}.call(this,e),n=!0),"timeline"!==t&&"media"!==t||this.restoreData(),t&&"recreate"!==t&&"timeline"!==t||(e=i.getTimelineOption(this))&&(this.mergeOption(e),n=!0),t&&"recreate"!==t&&"media"!==t||(i=i.getMediaOption(this,this._api)).length&&u(i,function(t){this.mergeOption(t,n=!0)},this),n},mergeOption:function(n){var s=this.option,l=this._componentsMap,i=[];b(this),u(n,function(t,e){null!=t&&(x.hasClass(e)?e&&i.push(e):s[e]=null==s[e]?a(t):g(s[e],t,!0))}),x.topologicalTravel(i,x.getAllClassMainTypes(),function(o,t){var e=v.normalizeToArray(n[o]),e=v.mappingToExists(l.get(o),e);v.makeIdAndName(e),u(e,function(t,e){var n,i=t.option;p(i)&&(t.keyInfo.mainType=o,t.keyInfo.subType=(n=o,i=i,t=t.exist,i.type||(t?t.subType:x.determineSubType(n,i))))});var a=function(e,t){h(t)||(t=t?[t]:[]);var n={};return u(t,function(t){n[t]=(e.get(t)||[]).slice()}),n}(l,t);s[o]=[],l.set(o,[]),u(e,function(t,e){var n,i=t.exist,r=t.option;f(p(r)||i,"Empty component definition"),r?(n=x.getClass(o,t.keyInfo.subType,!0),i&&i.constructor===n?(i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1)):(i=new n(r,this,this,t=m({dependentModels:a,componentIndex:e},t.keyInfo)),m(i,t),i.init(r,this,this,t),i.optionUpdated(null,!0))):(i.mergeOption({},this),i.optionUpdated({},!1)),l.get(o)[e]=i,s[o][e]=i.option},this),"series"===o&&A(this,l.get("series"))},this),this._seriesIndicesMap=r(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var i=a(this.option);return u(i,function(t,e){if(x.hasClass(e)){for(var n=(t=v.normalizeToArray(t)).length-1;0<=n;n--)v.isIdInner(t[n])&&t.splice(n,1);i[e]=t}}),delete i[S],i},getTheme:function(){return this._theme},getComponent:function(t,e){t=this._componentsMap.get(t);if(t)return t[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,i,r=t.index,o=t.id,a=t.name,s=this._componentsMap.get(e);return s&&s.length?M(null!=r?(h(r)||(r=[r]),c(l(r,function(t){return s[t]}),function(t){return!!t})):null!=o?(n=h(o),c(s,function(t){return n&&0<=d(o,t.id)||!n&&t.id===o})):null!=a?(i=h(a),c(s,function(t){return i&&0<=d(a,t.name)||!i&&t.name===a})):s.slice(),t):[]},findComponents:function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(n=s+"Index",i=s+"Id",r=s+"Name",!(e=a)||null==e[n]&&null==e[i]&&null==e[r]?null:{mainType:s,index:e[n],id:e[i],name:e[r]}),l=l?this.queryComponents(l):this._componentsMap.get(s);return o=M(l,t),t.filter?c(o,t.filter):o},eachComponent:function(t,i,r){var e=this._componentsMap;"function"==typeof t?(r=i,i=t,e.each(function(t,n){u(t,function(t,e){i.call(r,n,t,e)})})):o(t)?u(e.get(t),i,r):p(t)&&(t=this.findComponents(t),u(t,i,r))},getSeriesByName:function(e){var t=this._componentsMap.get("series");return c(t,function(t){return t.name===e})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return c(t,function(t){return t.subType===e})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(n,i){u(this._seriesIndices,function(t){var e=this._componentsMap.get("series")[t];n.call(i,e,t)},this)},eachRawSeries:function(t,e){u(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(n,i,r){u(this._seriesIndices,function(t){var e=this._componentsMap.get("series")[t];e.subType===n&&i.call(r,e,t)},this)},eachRawSeriesByType:function(t,e,n){return u(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){e=c(this._componentsMap.get("series"),t,e);A(this,e)},restoreData:function(n){var i=this._componentsMap;A(this,i.get("series"));var r=[];i.each(function(t,e){r.push(e)}),x.topologicalTravel(r,x.getAllClassMainTypes(),function(e,t){u(i.get(e),function(t){"series"===e&&function(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,e=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=e&&t.name!==e}}(t,n)||t.restoreData()})})}});function A(t,e){t._seriesIndicesMap=r(t._seriesIndices=l(e,function(t){return t.componentIndex})||[])}function M(t,e){return e.hasOwnProperty("subType")?c(t,function(t){return t.subType===e.subType}):t}s(n,i),t.exports=n},function(t,e,n){function i(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}var a=n(35),I=n(129),r=n(852),f=Math.sqrt,g=Math.sin,m=Math.cos,v=Math.PI,y=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(i(t)*i(e))},x=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(y(t,e))};function D(t,e,n,i,r,o,a,s,l,u,c){var h=l*(v/180),d=m(h)*(t-n)/2+g(h)*(e-i)/2,p=-1*g(h)*(t-n)/2+m(h)*(e-i)/2,l=d*d/(a*a)+p*p/(s*s);1<l&&(a*=f(l),s*=f(l));l=(r===o?-1:1)*f((a*a*(s*s)-a*a*(p*p)-s*s*(d*d))/(a*a*(p*p)+s*s*(d*d)))||0,r=l*a*p/s,l=l*-s*d/a,t=(t+n)/2+m(h)*r-g(h)*l,n=(e+i)/2+g(h)*r+m(h)*l,e=x([1,0],[(d-r)/a,(p-l)/s]),i=[(d-r)/a,(p-l)/s],p=[(-1*d-r)/a,(-1*p-l)/s],l=x(i,p);y(i,p)<=-1&&(l=v),1<=y(i,p)&&(l=0),0===o&&0<l&&(l-=2*v),1===o&&l<0&&(l+=2*v),c.addData(u,t,n,a,s,e,l,h,o)}var L=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,k=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function o(t,e){var n=function(t){if(!t)return new I;for(var e,n=0,i=0,r=n,o=i,a=new I,s=I.CMD,l=t.match(L),u=0;u<l.length;u++){for(var c,h=l[u],d=h.charAt(0),p=h.match(k)||[],f=p.length,g=0;g<f;g++)p[g]=parseFloat(p[g]);for(var m=0;m<f;){var v,y,x,_,b,S=n,A=i;switch(d){case"l":n+=p[m++],i+=p[m++],c=s.L,a.addData(c,n,i);break;case"L":n=p[m++],i=p[m++],c=s.L,a.addData(c,n,i);break;case"m":n+=p[m++],i+=p[m++],c=s.M,a.addData(c,n,i),r=n,o=i,d="l";break;case"M":n=p[m++],i=p[m++],c=s.M,a.addData(c,n,i),r=n,o=i,d="L";break;case"h":n+=p[m++],c=s.L,a.addData(c,n,i);break;case"H":n=p[m++],c=s.L,a.addData(c,n,i);break;case"v":i+=p[m++],c=s.L,a.addData(c,n,i);break;case"V":i=p[m++],c=s.L,a.addData(c,n,i);break;case"C":c=s.C,a.addData(c,p[m++],p[m++],p[m++],p[m++],p[m++],p[m++]),n=p[m-2],i=p[m-1];break;case"c":c=s.C,a.addData(c,p[m++]+n,p[m++]+i,p[m++]+n,p[m++]+i,p[m++]+n,p[m++]+i),n+=p[m-2],i+=p[m-1];break;case"S":var M=n,w=i,C=a.len(),T=a.data;e===s.C&&(M+=n-T[C-4],w+=i-T[C-3]),c=s.C,S=p[m++],A=p[m++],n=p[m++],i=p[m++],a.addData(c,M,w,S,A,n,i);break;case"s":M=n,w=i;C=a.len(),T=a.data;e===s.C&&(M+=n-T[C-4],w+=i-T[C-3]),c=s.C,S=n+p[m++],A=i+p[m++],n+=p[m++],i+=p[m++],a.addData(c,M,w,S,A,n,i);break;case"Q":S=p[m++],A=p[m++],n=p[m++],i=p[m++],c=s.Q,a.addData(c,S,A,n,i);break;case"q":S=p[m++]+n,A=p[m++]+i,n+=p[m++],i+=p[m++],c=s.Q,a.addData(c,S,A,n,i);break;case"T":M=n,w=i;C=a.len(),T=a.data;e===s.Q&&(M+=n-T[C-4],w+=i-T[C-3]),n=p[m++],i=p[m++],c=s.Q,a.addData(c,M,w,n,i);break;case"t":M=n,w=i;C=a.len(),T=a.data;e===s.Q&&(M+=n-T[C-4],w+=i-T[C-3]),n+=p[m++],i+=p[m++],c=s.Q,a.addData(c,M,w,n,i);break;case"A":v=p[m++],y=p[m++],x=p[m++],_=p[m++],b=p[m++],D(S=n,A=i,n=p[m++],i=p[m++],_,b,v,y,x,c=s.A,a);break;case"a":v=p[m++],y=p[m++],x=p[m++],_=p[m++],b=p[m++],D(S=n,A=i,n+=p[m++],i+=p[m++],_,b,v,y,x,c=s.A,a)}}"z"!==d&&"Z"!==d||(c=s.Z,a.addData(c),n=r,i=o),e=c}return a.toStatic(),a}(t);return(e=e||{}).buildPath=function(t){var e;t.setData?(t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e)):n.rebuildPath(e=t)},e.applyTransform=function(t){r(n,t),this.dirty(!0)},e}e.createFromString=function(t,e){return new a(o(t,e))},e.extendFromString=function(t,e){return a.extend(o(t,e))},e.mergePath=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];o.path||o.createPathProxy(),o.__dirtyPath&&o.buildPath(o.path,o.shape,!0),n.push(o.path)}return(e=new a(e)).createPathProxy(),e.buildPath=function(t){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e)},e}},function(t,e){e.containStroke=function(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,r=0;return!(e+s<a&&i+s<a||a<e-s&&a<i-s||t+s<o&&n+s<o||o<t-s&&o<n-s)&&(t===n?Math.abs(o-t)<=s/2:(n=(r=(e-i)/(t-n))*o-a+(t*i-n*e)/(t-n))*n/(r*r+1)<=s/2*s/2)}},function(t,e,n){var u=n(86).quadraticProjectPoint;e.containStroke=function(t,e,n,i,r,o,a,s,l){return 0!==a&&(!(e+a<l&&i+a<l&&o+a<l||l<e-a&&l<i-a&&l<o-a||t+a<s&&n+a<s&&r+a<s||s<t-a&&s<n-a&&s<r-a)&&u(t,e,n,i,r,o,s,l,null)<=a/2)}},function(t,e){var n=2*Math.PI;e.normalizeRadian=function(t){return(t%=n)<0&&(t+=n),t}},function(t,e){t.exports=function(t,e,n,i,r,o){if(e<o&&i<o||o<e&&o<i)return 0;if(i===e)return 0;var a=i<e?1:-1;return 1!=(o=(o-e)/(i-e))&&0!=o||(a=i<e?.5:-.5),(t=o*(n-t)+t)===r?1/0:r<t?a:0}},function(t,e,n){n=n(35).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=n},function(t,e,n){var i=n(38),l=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=function(s){return i.browser.ie&&11<=i.browser.version?function(){var t,e=this.__clipPaths,n=this.style;if(e)for(var i=0;i<e.length;i++){var r=e[i],o=r&&r.shape,r=r&&r.type;if(o&&("sector"===r&&o.startAngle===o.endAngle||"rect"===r&&(!o.width||!o.height))){for(var a=0;a<l.length;a++)l[a][2]=n[l[a][0]],n[l[a][0]]=l[a][1];t=!0;break}}if(s.apply(this,arguments),t)for(a=0;a<l.length;a++)n[l[a][0]]=l[a][2]}:s}},function(t,e,n){var i=n(35),r=n(645),i=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){r.buildPath(t,e,!0)}});t.exports=i},function(t,e,n){var d=n(855),p=n(856);e.buildPath=function(t,e,n){var i=e.points,r=e.smooth;if(i&&2<=i.length){if(r&&"spline"!==r){var o=p(i,r,n,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=i[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{"spline"===r&&(i=d(i,n)),t.moveTo(i[0][0],i[0][1]);for(var s=1,h=i.length;s<h;s++)t.lineTo(i[s][0],i[s][1])}n&&t.closePath()}}},function(t,e,n){var i=n(35),r=n(645),i=i.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){r.buildPath(t,e,!1)}});t.exports=i},function(t,e,n){var i=n(35),a=n(334).subPixelOptimizeLine,s={},i=i.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n,i,r,o=this.subPixelOptimize?(a(s,e,this.style),n=s.x1,i=s.y1,r=s.x2,s.y2):(n=e.x1,i=e.y1,r=e.x2,e.y2),e=e.percent;0!==e&&(t.moveTo(n,i),e<1&&(r=n*(1-e)+r*e,o=i*(1-e)+o*e),t.lineTo(r,o))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=i},function(t,e,n){var i=n(17),n=i.makeInner,s=i.normalizeToArray,l=n();t.exports={clearColorPalette:function(){l(this).colorIdx=0,l(this).colorNameMap={}},getColorFromPalette:function(t,e,n){var i=l(e=e||this),r=i.colorIdx||0,o=i.colorNameMap=i.colorNameMap||{};if(o.hasOwnProperty(t))return o[t];var a=s(this.get("color",!0)),e=this.get("colorLayer",!0),n=null!=n&&e?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(e,n):a;if((n=n||a)&&n.length){a=n[r];return t&&(o[t]=a),i.colorIdx=(r+1)%n.length,a}}}},function(t,e,n){var i=n(1),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];t.exports=function(e){i.each(r,function(t){this[t]=i.bind(e[t],e)},this)}},function(t,e,n){var i=n(43),r=n(277),o=n(79).detectSourceFormat,n=n(160).SERIES_LAYOUT_BY_COLUMN;i.extend({type:"dataset",defaultOption:{seriesLayoutBy:n,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),r.extend({type:"dataset"})},function(t,e,n){var c=n(102),i=n(127),r=n(103),o=n(642),h=n(333),a=n(874),s=n(647),l=n(35),u=n(644),d=n(646),p=n(335),f=n(331),g=n(52),m=n(637).createFromString,n=n(1),v=n.isString,y=n.extend,x=n.defaults,_=n.trim,b=n.each,S=/[\s,]+/;function A(t){for(9===(t=v(t)?(new DOMParser).parseFromString(t,"text/xml"):t).nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function M(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}M.prototype.parse=function(t,e){e=e||{};var n=A(t);if(!n)throw new Error("Illegal svg");var i=new c;this._root=i;var r=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),t=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(t)&&(t=null),L(n,i,null,!0);for(var a,s,l,u=n.firstChild;u;)this._parseNode(u,i),u=u.nextSibling;return!r||4<=(s=_(r).split(S)).length&&(a={x:parseFloat(s[0]||0),y:parseFloat(s[1]||0),width:parseFloat(s[2]),height:parseFloat(s[3])}),a&&null!=o&&null!=t&&(l=E(a,o,t),e.ignoreViewBox||(s=i,(i=new c).add(s),s.scale=l.scale.slice(),s.position=l.position.slice())),e.ignoreRootClip||null==o||null==t||i.setClipPath(new h({shape:{x:0,y:0,width:o,height:t}})),{root:i,width:o,height:t,viewBoxRect:a,viewBoxTransform:l}},M.prototype._parseNode=function(t,e){var n,i,r,o,a=t.nodeName.toLowerCase();"defs"===a?this._isDefine=!0:"text"===a&&(this._isText=!0),this._isDefine?(o=C[a])&&(i=o.call(this,t),(r=t.getAttribute("id"))&&(this._defs[r]=i)):(o=w[a])&&(n=o.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"===a?this._isDefine=!1:"text"===a&&(this._isText=!1)},M.prototype._parseText=function(t,e){var n;1===t.nodeType&&(n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0,this._textX+=parseFloat(n),this._textY+=parseFloat(i));var i=new r({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});T(e,i),L(t,i,this._defs);t=i.style.fontSize;t&&t<9&&(i.style.fontSize=9,i.scale=i.scale||[1,1],i.scale[0]*=t/9,i.scale[1]*=t/9);t=i.getBoundingRect();return this._textX+=t.width,e.add(i),i};var w={g:function(t,e){var n=new c;return T(e,n),L(t,n,this._defs),n},rect:function(t,e){var n=new h;return T(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 o;return T(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 s;return T(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 a;return T(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=(n=t.getAttribute("points"))&&I(n),n=new u({shape:{points:n||[]}});return T(e,n),L(t,n,this._defs),n},polyline:function(t,e){var n=new l;T(e,n),L(t,n,this._defs);t=(t=t.getAttribute("points"))&&I(t);return new d({shape:{points:t||[]}})},image:function(t,e){var n=new i;return T(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,i=t.getAttribute("y")||0,r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);o=new c;return T(e,o),L(t,o,this._defs),o},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||0,n=t.getAttribute("dy")||0,i=new c;return T(e,i),L(t,i,this._defs),this._textX+=r,this._textY+=n,i},path:function(t,e){var n=t.getAttribute("d")||"",n=m(n);return T(e,n),L(t,n,this._defs),n}},C={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),r=new p(e,n,i,r);return function(t,e){var n=t.firstChild;for(;n;){var i,r;1===n.nodeType&&(i=0<(i=n.getAttribute("offset")).indexOf("%")?parseInt(i,10)/100:i?parseFloat(i):0,r=n.getAttribute("stop-color")||"#000000",e.addColorStop(i,r)),n=n.nextSibling}}(t,r),r},radialgradient:function(t){}};function T(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),x(e.__inheritedStyle,t.__inheritedStyle))}function I(t){for(var e=_(t).split(S),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([r,o])}return n}var D={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function L(t,e,n,i){var r,o=e.__inheritedStyle||{},a="text"===e.type;if(1===t.nodeType&&(function(t,e){t=t.getAttribute("transform");if(t){t=t.replace(/,/g," ");var n=null,i=[];t.replace(O,function(t,e,n){i.push(e,n)});for(var r=i.length-1;0<r;r-=2){var o=i[r],a=i[r-1];switch(n=n||g.create(),a){case"translate":o=_(o).split(S),g.translate(n,n,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=_(o).split(S),g.scale(n,n,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=_(o).split(S),g.rotate(n,n,parseFloat(o[0]));break;case"skew":o=_(o).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":o=_(o).split(S);n[0]=parseFloat(o[0]),n[1]=parseFloat(o[1]),n[2]=parseFloat(o[2]),n[3]=parseFloat(o[3]),n[4]=parseFloat(o[4]),n[5]=parseFloat(o[5])}}e.setLocalTransform(n)}}(t,e),y(o,function(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,r,o={};P.lastIndex=0;for(;null!=(i=P.exec(e));)o[i[1]]=i[2];for(r in D)D.hasOwnProperty(r)&&null!=o[r]&&(n[D[r]]=o[r]);return n}(t)),!i))for(var s in D)!D.hasOwnProperty(s)||null!=(r=t.getAttribute(s))&&(o[D[s]]=r);var l=a?"textFill":"fill",i=a?"textStroke":"stroke";e.style=e.style||new f;var u=e.style;null!=o.fill&&u.set(l,N(o.fill,n)),null!=o.stroke&&u.set(i,N(o.stroke,n)),b(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){null!=o[t]&&u.set("lineWidth"===t&&a?"textStrokeWidth":t,parseFloat(o[t]))}),o.textBaseline&&"auto"!==o.textBaseline||(o.textBaseline="alphabetic"),"alphabetic"===o.textBaseline&&(o.textBaseline="bottom"),"start"===o.textAlign&&(o.textAlign="left"),"end"===o.textAlign&&(o.textAlign="right"),b(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(t){null!=o[t]&&u.set(t,o[t])}),o.lineDash&&(e.style.lineDash=_(o.lineDash).split(S)),u[i]&&"none"!==u[i]&&(e[i]=!0),e.__inheritedStyle=o}var k=/url\(\s*#(.*?)\)/;function N(t,e){var n=e&&t&&t.match(k);return n?e[_(n[1])]:t}var O=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;var P=/([^\s:;]+)\s*:\s*([^:;]+)/g;function E(t,e,n){var i=e/t.width,r=n/t.height,r=Math.min(i,r);return{scale:[r,r],position:[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+n/2]}}e.parseXML=A,e.makeViewBoxTransform=E,e.parseSVG=function(t,e){return(new M).parse(t,e)}},function(t,e,n){var i=n(271);e.zrender=i;var r=n(52);e.matrix=r;i=n(29);e.vector=i;var o=n(1),r=n(71);e.color=r;var a=n(8),i=n(13);e.number=i;r=n(26);e.format=r;i=n(87),i.throttle;e.throttle=i.throttle;r=n(875);e.helper=r;i=n(657);e.parseGeoJSON=i;r=n(60);e.List=r;r=n(39);e.Model=r;r=n(89);e.Axis=r;n=n(38);e.env=n;var i=i,s={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(t){s[t]=o[t]});var l={};o.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){l[t]=a[t]}),e.parseGeoJson=i,e.util=s,e.graphic=l},function(t,e,n){var i=n(1);t.exports=function(t){null!=t&&i.extend(this,t),this.otherDims={}}},function(t,e,n){var n=n(1),i=n.createHashMap,r=n.isObject,o=n.map;function a(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}a.createByAxisModel=function(t){var e=t.option,t=e.data,t=t&&o(t,l);return new a({categories:t,needCollect:!t,deduplication:!1!==e.dedplication})};n=a.prototype;function s(t){return t._map||(t._map=i(t.categories))}function l(t){return r(t)&&null!=t.value?t.value:t+""}n.getOrdinal=function(t){return s(this).get(t)},n.parseAndCollect=function(t){var e=this._needCollect;if("string"!=typeof t&&!e)return t;if(e&&!this._deduplication)return n=this.categories.length,this.categories[n]=t,n;var n,i=s(this);return null==(n=i.get(t))&&(e?(n=this.categories.length,this.categories[n]=t,i.set(t,n)):n=NaN),n},t.exports=a},function(t,e,n){var a=n(13),s=a.round;function l(t){return a.getPrecisionSafe(t)+2}function i(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function u(t,e){isFinite(t[0])||(t[0]=e[0]),isFinite(t[1])||(t[1]=e[1]),i(t,0,e),i(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,i){var r={},o=t[1]-t[0],e=r.interval=a.nice(o/e,!0);return null!=n&&e<n&&(e=r.interval=n),null!=i&&i<e&&(e=r.interval=i),i=r.intervalPrecision=l(e),u(r.niceTickExtent=[s(Math.ceil(t[0]/e)*e,i),s(Math.floor(t[1]/e)*e,i)],t),r},e.getIntervalPrecision=l,e.fixExtent=u},function(t,e,n){var o=n(1),i=n(279),a=n(13),r=n(280),s=i.prototype,l=r.prototype,u=a.getPrecisionSafe,c=a.round,h=Math.floor,d=Math.ceil,p=Math.pow,f=Math.log,g=i.extend({type:"log",base:10,$constructor:function(){i.apply(this,arguments),this._originalScale=new r},getTicks:function(t){var n=this._originalScale,i=this._extent,r=n.getExtent();return o.map(l.getTicks.call(this,t),function(t){var e=a.round(p(this.base,t)),e=t===i[0]&&n.__fixMin?m(e,r[0]):e;return e=t===i[1]&&n.__fixMax?m(e,r[1]):e},this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),p(this.base,t)},setExtent:function(t,e){var n=this.base;t=f(t)/f(n),e=f(e)/f(n),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=p(t,e[0]),e[1]=p(t,e[1]);var n=this._originalScale,t=n.getExtent();return n.__fixMin&&(e[0]=m(e[0],t[0])),n.__fixMax&&(e[1]=m(e[1],t[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=f(t[0])/f(e),t[1]=f(t[1])/f(e),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=a.quantity(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&0<Math.abs(i);)i*=10;e=[a.round(d(e[0]/i)*i),a.round(h(e[1]/i)*i)];this._interval=i,this._niceExtent=e}},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))}o.each(["contain","normalize"],function(e){g.prototype[e]=function(t){return t=f(t)/f(this.base),s[e].call(this,t)}}),g.create=function(){return new g},t.exports=g},function(t,e,n){var o=n(1),a=n(658);function h(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=(s=t.charCodeAt(a)-64)>>1^-(1&s),l=(l=t.charCodeAt(a+1)-64)>>1^-(1&l);s+=r,l+=o,i.push([(r=s)/n,(o=l)/n])}return i}t.exports=function(t,r){return function(t){if(!t.UTF8Encoding)return;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,i=0;i<n.length;i++)for(var r=n[i].geometry,o=r.coordinates,a=r.encodeOffsets,s=0;s<o.length;s++){var l=o[s];if("Polygon"===r.type)o[s]=h(l,a[s],e);else if("MultiPolygon"===r.type)for(var u=0;u<l.length;u++){var c=l[u];l[u]=h(c,a[s][u],e)}}t.UTF8Encoding=!1}(t),o.map(o.filter(t.features,function(t){return t.geometry&&t.properties&&0<t.geometry.coordinates.length}),function(t){var e=t.properties,n=t.geometry,t=n.coordinates,i=[];"Polygon"===n.type&&i.push({type:"polygon",exterior:t[0],interiors:t.slice(1)}),"MultiPolygon"===n.type&&o.each(t,function(t){t[0]&&i.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});t=new a(e[r||"name"],i,e.cp);return t.properties=e,t})}},function(t,e,n){var p=n(30),l=n(157),f=n(29),u=n(659);function i(t,e,n){this.name=t,this.geometries=e,n=n?[n[0],n[1]]:[(e=this.getBoundingRect()).x+e.width/2,e.y+e.height/2],this.center=n}i.prototype={constructor:i,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e,t=Number.MAX_VALUE,n=[t,t],i=[-t,-t],r=[],o=[],a=this.geometries,s=0;s<a.length;s++)"polygon"===a[s].type&&(e=a[s].exterior,l.fromPoints(e,r,o),f.min(n,n,r),f.max(i,i,o));return 0===s&&(n[0]=n[1]=i[0]=i[1]=0),this._rect=new p(n[0],n[1],i[0]-n[0],i[1]-n[1])},contain:function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++)if("polygon"===n[i].type){var o=n[i].exterior,a=n[i].interiors;if(u.contain(o,t[0],t[1])){for(var s=0;s<(a?a.length:0);s++)if(u.contain(a[s]))continue t;return!0}}return!1},transformTo:function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i=i||n/o:n=o*i;for(var i=new p(t,e,n,i),a=r.calculateTransform(i),s=this.geometries,l=0;l<s.length;l++)if("polygon"===s[l].type){for(var u=s[l].exterior,c=s[l].interiors,h=0;h<u.length;h++)f.applyTransform(u[h],u[h],a);for(var d=0;d<(c?c.length:0);d++)for(h=0;h<c[d].length;h++)f.applyTransform(c[d][h],c[d][h],a)}(r=this._rect).copy(i),this.center=[r.x+r.width/2,r.y+r.height/2]},cloneShallow:function(t){t=new i(t=null==t?this.name:t,this.geometries,this.center);return t._rect=this._rect,t.transformTo=null,t}},t.exports=i},function(t,e,n){var l=n(641),i=1e-8;function u(t,e){return Math.abs(t-e)<i}e.contain=function(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];i+=l(r[0],r[1],a[0],a[1],e,n),r=a}var s=t[0];return u(r[0],s[0])&&u(r[1],s[1])||(i+=l(r[0],r[1],s[0],s[1],e,n)),0!==i}},function(t,e,n){var i=n(1),r=n(43),o=n(282),n=n(132),a=r.extend({type:"cartesian2dAxis",axis:null,init:function(){a.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){a.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){a.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function s(t,e){return e.type||(e.data?"category":"value")}i.merge(a.prototype,n);n={offset:0};o("x",a,s,n),o("y",a,s,n),t.exports=a},function(t,e,n){var i=n(1),r={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},n={};n.categoryAxis=i.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),n.valueAxis=i.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},r),n.timeAxis=i.defaults({scale:!0,min:"dataMin",max:"dataMax"},n.valueAxis),n.logAxis=i.defaults({scale:!0,logBase:10},n.valueAxis),t.exports=n},function(t,e,n){var i=n(44),r=n(80),i=i.extend({type:"series.__base_bar__",getInitialData:function(t,e){return r(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var n=e.dataToPoint(e.clampData(t)),i=this.getData(),t=i.getLayout("offset"),i=i.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=t+i/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=i},function(t,e,n){var l=n(8),u=n(341).getDefaultLabel;function c(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,n,i,r,o,a){var s=n.getModel("label"),n=n.getModel("emphasis.label");l.setLabelStyle(t,e,s,n,{labelFetcher:r,labelDataIndex:o,defaultText:u(r.getData(),o),isRectText:!0,autoColor:i}),c(t),c(e)}},function(t,e,n){var h=n(1);e.layout=function(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,t=[(c=i.getRect()).x,c.x+c.width,c.y,c.y+c.height],r={left:0,right:1,top:0,bottom:1,onZero:2},i=e.get("offset")||0,c="x"===u?[t[2]-i,t[3]+i]:[t[0]-i,t[1]+i];return a&&(i=a.toGlobalCoord(a.dataToCoord(0)),c[r.onZero]=Math.max(Math.min(i,c[1]),c[0])),o.position=["y"===u?c[r[l]]:t[0],"x"===u?c[r[l]]:t[3]],o.rotation=Math.PI/2*("x"===u?0:1),o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?c[r[s]]-c[r.onZero]:0,e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),h.retrieve(n.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection),e=e.get("axisLabel.rotate"),o.labelRotate="top"===l?-e:e,o.z2=1,o}},function(t,e,n){var S=n(1),A=n(8);e.rectCoordAxisBuildSplitArea=function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),n=o.getModel("areaStyle"),a=n.get("color"),s=i.coordinateSystem.getRect(),l=r.getTicksCoords({tickModel:o,clamp:!0});if(l.length){var u=a.length,c=t.__splitAreaColors,h=S.createHashMap(),d=0;if(c)for(var p=0;p<l.length;p++){var f=c.get(l[p].tickValue);if(null!=f){d=(f+(u-1)*p)%u;break}}for(var g=r.toGlobalCoord(l[0].coord),m=n.getAreaStyle(),a=S.isArray(a)?a:[a],p=1;p<l.length;p++){var v,y,x,_,b=r.toGlobalCoord(l[p].coord),g=r.isHorizontal()?(y=s.y,_=s.height,(v=g)+(x=b-v)):(v=s.x,x=s.width,(y=g)+(_=b-y)),b=l[p-1].tickValue;null!=b&&h.set(b,d),e.add(new A.Rect({anid:null!=b?"area_"+b:null,shape:{x:v,y:y,width:x,height:_},style:S.defaults({fill:a[d]},m),silent:!0})),d=(d+1)%u}t.__splitAreaColors=h}}},e.rectCoordAxisHandleRemove=function(t){t.__splitAreaColors=null}},function(t,e,n){var i=n(4);n(164),n(893),n(894),i.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),i.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},function(t,e,n){var a=n(1),s=n(17);t.exports=function(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData();return null==(e=s.queryDataIndex(o,t))||e<0||a.isArray(e)?{point:[]}:(r=o.getItemGraphicEl(e),t=n.coordinateSystem,n.getTooltipPosition?i=n.getTooltipPosition(e)||[]:t&&t.dataToPoint?i=t.dataToPoint(o.getValues(a.map(t.dimensions,function(t){return o.mapDimension(t)}),e,!0))||[]:r&&((e=r.getBoundingRect().clone()).applyTransform(r.transform),i=[e.x+e.width/2,e.y+e.height/2]),{point:i,el:r})}},function(t,e,n){var o=n(1),a=n(38),u=(0,n(17).makeInner)(),c=o.each;function h(t,e,n){t.handler("leave",null,n)}function d(t,e,n,i){e.handler(t,n,i)}e.register=function(t,e,n){var i,s,l;function r(t,a){s.on(t,function(e){var n,i,r,o=(n=l,{dispatchAction:r=function(t){var e=i[t.type];e?e.push(t):(t.dispatchAction=r,n.dispatchAction(t))},pendings:i={showTip:[],hideTip:[]}});c(u(s).records,function(t){t&&a(t,e,o.dispatchAction)}),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(o.pendings,l)})}a.node||(i=e.getZr(),u(i).records||(u(i).records={}),l=e,u(s=i).initialized||(u(s).initialized=!0,r("click",o.curry(d,"click")),r("mousemove",o.curry(d,"mousemove")),r("globalout",h)),(u(i).records[t]||(u(i).records[t]={})).handler=n)},e.unregister=function(t,e){a.node||(e=e.getZr(),(u(e).records||{})[t]&&(u(e).records[t]=null))}},function(t,e,n){var i=n(342),h=n(284),d=n(664),n=n(106),i=i.extend({makeElOption:function(t,e,n,i,r){var o,a=n.axis,s=a.grid,l=i.get("type"),u=p(s,a).getOtherAxis(a).getGlobalExtent(),c=a.toGlobalCoord(a.dataToCoord(e,!0));l&&"none"!==l&&(o=h.buildElStyle(i),(u=f[l](a,c,u)).style=o,t.graphicKey=u.type,t.pointer=u);s=d.layout(s.model,n);h.buildCartesianSingleLabelElOption(e,t,s,n,i,r)},getHandleTransform:function(t,e,n){var i=d.layout(e.axis.grid.model,e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:h.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.grid,a=r.getGlobalExtent(!0),n=p(o,r).getOtherAxis(r).getGlobalExtent(),o="x"===r.dim?0:1,r=t.position;r[o]+=e[o],r[o]=Math.min(a[1],r[o]),r[o]=Math.max(a[0],r[o]);n=(n[1]+n[0])/2,n=[n,n];n[o]=r[o];return{position:r,rotation:t.rotation,cursorPoint:n,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][o]}}});function p(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var f={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:h.makeLineShape([e,n[0]],[e,n[1]],o(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:h.makeRectShape([e-i/2,n[0]],[i,r],o(t))}}};function o(t){return"x"===t.dim?0:1}n.registerAxisPointerClass("CartesianAxisPointer",i),t.exports=i},function(t,e,n){var i=n(4),a=n(1),s=n(39),l=n(17).isNameSpecified,n=n(88).legend.selector,r={all:{type:"all",title:a.clone(n.all)},inverse:{type:"inverse",title:a.clone(n.inverse)}},o=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){o.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var n=t.selector;!0===n&&(n=t.selector=["all","inverse"]),a.isArray(n)&&a.each(n,function(t,e){a.isString(t)&&(t={type:t}),n[e]=a.merge(t,r[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<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}e||this.select(t[0].get("name"))}},_updateData:function(i){var r=[],o=[];i.eachRawSeries(function(t){var e,n=t.name;o.push(n),t.legendVisualProvider?(n=t.legendVisualProvider.getAllNames(),i.isSeriesFiltered(t)||(o=o.concat(n)),n.length?r=r.concat(n):e=!0):e=!0,e&&l(t)&&r.push(t.name)}),this._availableNames=o;var t=this.get("data")||r,t=a.map(t,function(t){return new s(t="string"==typeof t||"number"==typeof t?{name:t}:t,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(t){var e,n=this.option.selected;"single"===this.get("selectedMode")&&(e=this._data,a.each(e,function(t){n[t.get("name")]=!1})),n[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},allSelect:function(){var t=this._data,e=this.option.selected;a.each(t,function(t){e[t.get("name",!0)]=!0})},inverseSelect:function(){var t=this._data,e=this.option.selected;a.each(t,function(t){t=t.get("name",!0);e.hasOwnProperty(t)||(e[t]=!0),e[t]=!e[t]})},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&0<=a.indexOf(this._availableNames,t)},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}}});t.exports=o},function(t,e,n){n(20).__DEV__;var i=n(4),S=n(1),A=n(56).createSymbol,M=n(8),u=n(672).makeBackground,f=n(21),m=S.curry,r=S.each,w=M.Group,i=i.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new w),this._backgroundEl,this.group.add(this._selectorGroup=new w),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,e,n){var i,r,o,a,s,l=this._isFirstRender;this._isFirstRender=!1,this.resetInner(),t.get("show",!0)&&(i=t.get("align"),s=t.get("orient"),i&&"auto"!==i||(i="right"===t.get("left")&&"vertical"===s?"right":"left"),r=t.get("selector",!0),a=t.get("selectorPosition",!0),this.renderInner(i,t,e,n,r,s,a=r&&(!a||"auto"===a)?"horizontal"===s?"end":"start":a),o=t.getBoxLayoutParams(),e={width:n.getWidth(),height:n.getHeight()},s=t.get("padding"),n=f.getLayoutRect(o,e,s),a=this.layoutInner(t,i,n,l,r,a),s=f.getLayoutRect(S.defaults({width:a.width,height:a.height},o),e,s),this.group.attr("position",[s.x-a.x,s.y-a.y]),this.group.add(this._backgroundEl=u(a,t)))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(l,u,c,h,t,e,n){var d=this.getContentGroup(),p=S.createHashMap(),f=u.get("selectedMode"),g=[];c.eachRawSeries(function(t){t.get("legendHoverLink")||g.push(t.id)}),r(u.getData(),function(i,r){var t,e,n,o,a,s=i.get("name");this.newlineDisabled||""!==s&&"\n"!==s?(t=c.getSeriesByName(s)[0],p.get(s)||(t?(e=(a=t.getData()).getVisual("color"),n=a.getVisual("borderColor"),"function"==typeof e&&(e=e(t.getDataParams(0))),"function"==typeof n&&(n=n(t.getDataParams(0))),o=a.getVisual("legendSymbol")||"roundRect",a=a.getVisual("symbol"),this._createItem(s,r,i,u,o,a,l,e,n,f).on("click",m(v,s,null,h,g)).on("mouseover",m(y,t.name,null,h,g)).on("mouseout",m(x,t.name,null,h,g)),p.set(s,!0)):c.eachRawSeries(function(t){var e,n;p.get(s)||!t.legendVisualProvider||(e=t.legendVisualProvider).containName(s)&&(n=e.indexOfName(s),t=e.getItemVisual(n,"color"),n=e.getItemVisual(n,"borderColor"),this._createItem(s,r,i,u,"roundRect",null,l,t,n,f).on("click",m(v,null,s,h,g)).on("mouseover",m(y,null,s,h,g)).on("mouseout",m(x,null,s,h,g)),p.set(s,!0))},this))):d.add(new w({newline:!0}))},this),t&&this._createSelector(t,u,h,e,n)},_createSelector:function(t,o,a,e,n){var s=this.getSelectorGroup();r(t,function(t){!function(t){var e=t.type,n=new M.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){a.dispatchAction({type:"all"===e?"legendAllSelect":"legendInverseSelect"})}});s.add(n);var i=o.getModel("selectorLabel"),r=o.getModel("emphasis.selectorLabel");M.setLabelStyle(n.style,n.hoverStyle={},i,r,{defaultText:t.title,isRectText:!1}),M.setHoverStyle(n)}(t)})},_createItem:function(t,e,n,i,r,o,a,s,l,u){var c=i.get("itemWidth"),h=i.get("itemHeight"),d=i.get("inactiveColor"),p=i.get("inactiveBorderColor"),f=i.get("symbolKeepAspect"),g=i.getModel("itemStyle"),m=i.isSelected(t),v=new w,y=n.getModel("textStyle"),x=n.get("icon"),_=n.getModel("tooltip"),b=_.parentModel,n=A(r=x||r,0,0,c,h,m?s:d,null==f||f);v.add(C(n,r,g,l,p,m)),x||!o||o===r&&"none"!==o||(f=A(o="none"===o?"circle":o,(c-(r=.8*h))/2,(h-r)/2,r,r,m?s:d,null==f||f),v.add(C(f,o,g,l,p,m)));l="left"===a?c+5:-5,p=a,c=i.get("formatter"),a=t;"string"==typeof c&&c?a=c.replace("{name}",null!=t?t:""):"function"==typeof c&&(a=c(t)),v.add(new M.Text({style:M.setTextStyle({},y,{text:a,x:l,y:h/2,textFill:m?y.getTextColor():d,textAlign:p,textVerticalAlign:"middle"})}));_=new M.Rect({shape:v.getBoundingRect(),invisible:!0,tooltip:_.get("show")?S.extend({content:t,formatter:b.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:t,$vars:["name"]}},_.option):null});return v.add(_),v.eachChild(function(t){t.silent=!0}),_.silent=!u,this.getContentGroup().add(v),M.setHoverStyle(v),v.__legendDataIndex=e,v},layoutInner:function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();f.box(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(r){f.box("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,n=0===p?"width":"height",r=0===p?"height":"width",t=0===p?"y":"x";"end"===o?h[p]+=l[n]+d:u[p]+=c[n]+d,h[1-p]+=l[r]/2-c[r]/2,s.attr("position",h),a.attr("position",u);s={x:0,y:0};return s[n]=l[n]+d+c[n],s[r]=Math.max(l[r],c[r]),s[t]=Math.min(0,c[t]+h[1-p]),s}return a.attr("position",u),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function C(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 v(t,e,n,i){x(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),y(t,e,n,i)}function y(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 x(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=i},function(t,e,n){var i=n(21),a=i.getLayoutRect,s=i.box,l=i.positionElement,r=n(26),o=n(8);e.layout=function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},n=a(i,o,r);s(e.get("orient"),t,e.get("itemGap"),n.width,n.height),l(t,i,o,r)},e.makeBackground=function(t,e){var n=r.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new o.Rect({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}},,,function(t,e,n){var c=n(73).isDimensionStacked,h=n(1).map;e.prepareDataCoordInfo=function(t,e,n){var i,r=t.getBaseAxis(),o=function(t,e){var n=0,t=t.scale.getExtent();"start"===e?n=t[0]:"end"===e?n=t[1]:0<t[0]?n=t[0]:t[1]<0&&(n=t[1]);return n}(u=t.getOtherAxis(r),n),a=r.dim,s=u.dim,l=e.mapDimension(s),n=e.mapDimension(a),r="x"===s||"radius"===s?1:0,u=h(t.dimensions,function(t){return e.mapDimension(t)}),t=e.getCalculationInfo("stackResultDimension");return(i|=c(e,u[0]))&&(u[0]=t),(i|=c(e,u[1]))&&(u[1]=t),{dataDimsForPoint:u,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!i,valueDim:l,baseDim:n,baseDataOffset:r,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(35),b=n(29),r=n(643),S=b.min,A=b.max,M=b.scaleAndAdd,w=b.copy,C=[],T=[],I=[];function D(t){return isNaN(t[0])||isNaN(t[1])}function c(t,e,n,i,r,o,a,s,l,u,c){return("none"!==u&&u?function(t,e,n,i,r,o,a,s,l,u,c){for(var h=0,d=n,p=0;p<i;p++){var f,g,m,v=e[d];if(r<=d||d<0)break;if(D(v)){if(c){d+=o;continue}break}d===n?t[0<o?"moveTo":"lineTo"](v[0],v[1]):0<l?(f=e[h],m=(v[g="y"===u?1:0]-f[g])*l,w(T,f),T[g]=f[g]+m,w(I,v),I[g]=v[g]-m,t.bezierCurveTo(T[0],T[1],I[0],I[1],v[0],v[1])):t.lineTo(v[0],v[1]),h=d,d+=o}return p}:function(t,e,n,i,r,o,a,s,l,u,c){for(var h,d=0,p=n,f=0;f<i;f++){var g=e[p];if(r<=p||p<0)break;if(D(g)){if(c){p+=o;continue}break}if(p===n)t[0<o?"moveTo":"lineTo"](g[0],g[1]),w(T,g);else if(0<l){var m=p+o,v=e[m];if(c)for(;v&&D(e[m]);)v=e[m+=o];var y,x=.5,_=e[d];!(v=e[m])||D(v)?w(I,g):(D(v)&&!c&&(v=g),b.sub(C,v,_),_="x"===u||"y"===u?(y="x"===u?0:1,h=Math.abs(g[y]-_[y]),Math.abs(g[y]-v[y])):(h=b.dist(g,_),b.dist(g,v)),M(I,g,C,-l*(1-(x=_/(_+h))))),S(T,T,s),A(T,T,a),S(I,I,s),A(I,I,a),t.bezierCurveTo(T[0],T[1],I[0],I[1],g[0],g[1]),M(T,g,C,l*x)}else t.lineTo(g[0],g[1]);d=p,p+=o}return f}).apply(this,arguments)}function h(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var r=0;r<t.length;r++){var o=t[r];o[0]<n[0]&&(n[0]=o[0]),o[1]<n[1]&&(n[1]=o[1]),o[0]>i[0]&&(i[0]=o[0]),o[1]>i[1]&&(i[1]=o[1])}return{min:e?n:i,max:e?i:n}}n=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,r=n.length,o=h(n,e.smoothConstraint);if(e.connectNulls){for(;0<r&&D(n[r-1]);r--);for(;i<r&&D(n[i]);i++);}for(;i<r;)i+=c(t,n,i,r,r,1,o.min,o.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),i=i.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:r(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length,a=e.smoothMonotone,s=h(n,e.smoothConstraint),l=h(i,e.smoothConstraint);if(e.connectNulls){for(;0<o&&D(n[o-1]);o--);for(;r<o&&D(n[r]);r++);}for(;r<o;){var u=c(t,n,r,o,o,1,s.min,s.max,e.smooth,a,e.connectNulls);c(t,i,r+u-1,u,o,-1,l.min,l.max,e.stackedOnSmooth,a,e.connectNulls),r+=u+1,t.closePath()}}});e.Polyline=n,e.Polygon=i},function(t,e,n){var i=n(4),r=n(1);t.exports=function(n,t){r.each(t,function(r){r.update="updateView",i.registerAction(r,function(t,e){var i={};return e.eachComponent({mainType:"series",subType:n,query:t},function(e){e[r.method]&&e[r.method](t.name,t.dataIndex);var n=e.getData();n.each(function(t){t=n.getName(t);i[t]=e.isSelected(t)||!1})}),{name:t.name,selected:i,seriesId:t.seriesId}})})}},function(t,e,n){var i=n(4);n(909),n(910);var r=n(168),o=n(911),n=n(169);i.registerVisual(r("funnel")),i.registerLayout(o),i.registerProcessor(n("funnel"))},function(t,e,n){var i=n(4);n(912),n(917),n(918);var r=n(168),o=n(107),a=n(919),s=n(169),n=n(920);i.registerVisual(r("radar")),i.registerVisual(o("radar","circle")),i.registerLayout(a),i.registerProcessor(s("radar")),i.registerPreprocessor(n)},function(t,e,n){var I=n(1),i=n(170),l=n(348),u=n(287).onIrrelevantElement,D=n(8),r=n(286),o=n(158).getUID,d=n(272);function L(t){var e=t.getItemStyle(),t=t.get("areaColor");return null!=t&&(e.fill=t),e}function p(n,t){t.eachChild(function(e){I.each(e.__regions,function(t){e.trigger(n.isSelected(t.name)?"emphasis":"normal")})})}function a(t,e){var n=new D.Group;this.uid=o("ec_map_draw"),this._controller=new i(t.getZr()),this._controllerHost={target:e?n:null},this.group=n,this._updateGroup=e,this._mouseDownFlag,this._mapName,this._initialized,n.add(this._regionsGroup=new D.Group),n.add(this._backgroundGroup=new D.Group)}a.prototype={constructor:a,draw:function(f,t,e,n,i){var g="geo"===f.mainType,m=f.getData&&f.getData();g&&t.eachComponent({mainType:"series",subType:"map"},function(t){m||t.getHostGeoModel()!==f||(m=t.getData())});var r=f.coordinateSystem;this._updateBackground(r);var o,v,y=this._regionsGroup,x=this.group,a=r.getTransformInfo(),_=!y.childAt(0)||i;_?(x.transform=a.roamTransform,x.decomposeTransform(),x.dirty()):((o=new d).transform=a.roamTransform,o.decomposeTransform(),i={scale:o.scale,position:o.position},v=o.scale,D.updateProps(x,i,f));var b=a.rawScale,S=a.rawPosition;y.removeAll();var s,l,u,c,h,A=["itemStyle"],M=["emphasis","itemStyle"],w=["label"],C=["emphasis","label"],T=I.createHashMap();I.each(r.regions,function(t){var e=T.get(t.name)||T.set(t.name,new D.Group),o=new D.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});e.add(o);var n,i=f.getRegionModel(t.name)||f,r=i.getModel(A),a=i.getModel(M),s=L(r),l=L(a),u=i.getModel(w),c=i.getModel(C);m&&(n=m.indexOfName(t.name),(p=m.getItemVisual(n,"color",!0))&&(s.fill=p));function h(t){return[t[0]*b[0]+S[0],t[1]*b[1]+S[1]]}I.each(t.geometries,function(t){if("polygon"===t.type){for(var e=[],n=0;n<t.exterior.length;++n)e.push(h(t.exterior[n]));o.shape.paths.push(new D.Polygon({segmentIgnoreThreshold:1,shape:{points:e}}));for(n=0;n<(t.interiors?t.interiors.length:0);++n){for(var i=t.interiors[n],e=[],r=0;r<i.length;++r)e.push(h(i[r]));o.shape.paths.push(new D.Polygon({segmentIgnoreThreshold:1,shape:{points:e}}))}}}),o.setStyle(s),o.style.strokeNoScale=!0,o.culling=!0;var d,r=u.get("show"),a=c.get("show"),p=m&&isNaN(m.get(m.mapDimension("value"),n)),s=m&&m.getItemLayout(n);(g||p&&(r||a)||s&&s.showLabel)&&(a=g?t.name:n,(!m||0<=n)&&(d=f),s=new D.Text({position:h(t.center.slice()),scale:[1/x.scale[0],1/x.scale[1]],z2:10,silent:!0}),D.setLabelStyle(s.style,s.hoverStyle={},u,c,{labelFetcher:d,labelDataIndex:a,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),_||(a=[1/v[0],1/v[1]],D.updateProps(s,{scale:a},f)),e.add(s)),m?m.setItemGraphicEl(n,e):(i=f.getRegionModel(t.name),o.eventData={componentType:"geo",componentIndex:f.componentIndex,geoIndex:f.componentIndex,name:t.name,region:i&&i.option||{}}),(e.__regions||(e.__regions=[])).push(t),e.highDownSilentOnTouch=!!f.get("selectedMode"),D.setHoverStyle(e,l),y.add(e)}),this._updateController(f,t,e),s=this,l=f,c=e,h=n,(u=y).off("click"),u.off("mousedown"),l.get("selectedMode")&&(u.on("mousedown",function(){s._mouseDownFlag=!0}),u.on("click",function(t){if(s._mouseDownFlag){s._mouseDownFlag=!1;for(var e=t.target;!e.__regions;)e=e.parent;e&&((t={type:("geo"===l.mainType?"geo":"map")+"ToggleSelect",batch:I.map(e.__regions,function(t){return{name:t.name,from:h.uid}})})[l.mainType+"Id"]=l.id,c.dispatchAction(t),p(l,u))}})),p(f,y)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&r.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){t=t.map;this._mapName!==t&&I.each(r.makeGraphic(t,this.uid),function(t){this._backgroundGroup.add(t)},this),this._mapName=t},_updateController:function(i,t,r){var o=i.coordinateSystem,e=this._controller,n=this._controllerHost;n.zoomLimit=i.get("scaleLimit"),n.zoom=o.getZoom(),e.enable(i.get("roam")||!1);var a=i.mainType;function s(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=i.id,t}e.off("pan").on("pan",function(t){this._mouseDownFlag=!1,l.updateViewOnPan(n,t.dx,t.dy),r.dispatchAction(I.extend(s(),{dx:t.dx,dy:t.dy}))},this),e.off("zoom").on("zoom",function(t){var e;this._mouseDownFlag=!1,l.updateViewOnZoom(n,t.scale,t.originX,t.originY),r.dispatchAction(I.extend(s(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup&&(e=this.group.scale,this._regionsGroup.traverse(function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])}))},this),e.setPointerChecker(function(t,e,n){return o.getViewRectAfterRoam().contain(e,n)&&!u(t,r,i)})}},t.exports=a},function(t,e,n){var n=n(4),i="\0_ec_interaction_mutex";function r(t){return t[i]||(t[i]={})}n.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.take=function(t,e,n){r(t)[e]=n},e.release=function(t,e,n){(t=r(t))[e]===n&&(t[e]=null)},e.isTaken=function(t,e){return!!r(t)[e]}},function(t,e,n){var i=n(4),o=n(1),a=n(349).updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(i,t){var r=i.componentType||"series";t.eachComponent({mainType:r,query:i},function(t){var e,n=t.coordinateSystem;"geo"===n.type&&(e=a(n,i,t.get("scaleLimit")),t.setCenter&&t.setCenter(e.center),t.setZoom&&t.setZoom(e.zoom),"series"===r&&o.each(t.seriesGroup,function(t){t.setCenter(e.center),t.setZoom(e.zoom)}))})})},function(t,e,n){var i=n(69),r=n(1115);n(1116),n(1117),i.registerCoordinateSystem("bmap",r),i.registerAction({type:"bmapRoam",event:"bmapRoam",update:"updateLayout"},function(t,e){e.eachComponent("bmap",function(t){var e=t.getBMap(),n=e.getCenter();t.setCenterAndZoom([n.lng,n.lat],e.getZoom())})});e.version="1.0.0"},function(t,e,n){var i=n(4);n(934),n(935);var r=n(107),o=n(166);n(163),i.registerVisual(r("scatter","circle")),i.registerLayout(o("scatter"))},function(t,e,n){var i=n(4);n(937),n(938),n(939);var r=n(107),n=n(940);i.registerVisual(r("tree","circle")),i.registerLayout(n)},function(t,e,n){var r=n(1),o=r.each,a="\0__link_datas",s="\0__link_mainData";function l(t,e){var n;return(n=this)[s]===n?d((n=r.extend({},this[a]))[this.dataType]=e,n,t):p(e,this.dataType,this[s],t),e}function u(t,e){return t.struct&&t.struct.update(this),e}function c(n,i){return o(i[a],function(t,e){t!==i&&p(t.cloneShallow(),e,i,n)}),i}function h(t){var e=this[s];return null==t||null==e?e:e[a][t]}function d(n,t,i){n[a]={},o(t,function(t,e){p(t,e,n,i)})}function p(t,e,n,i){(n[a][e]=t)[s]=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=h}t.exports=function(n){var i=n.mainData,t=n.datas;t||(t={main:i},n.datasAttr={main:"data"}),n.datas=n.mainData=null,d(i,t,n),o(t,function(e){o(i.TRANSFERABLE_METHODS,function(t){e.wrapMethod(t,r.curry(l,n))})}),i.wrapMethod("cloneShallow",r.curry(c,n)),o(i.CHANGABLE_METHODS,function(t){i.wrapMethod(t,r.curry(u,n))}),r.assert(t[i.dataType]===i)}},function(t,e,n){var i=n(21);function p(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function f(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function r(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;0<=r;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,r=t.hierNode.i?i[t.hierNode.i-1]:null;n.length?(function(t){var e=t.children,n=e.length,i=0,r=0;for(;0<=--n;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t),n=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2,r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-n):t.hierNode.prelim=n):r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r)),t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,h=s.hierNode.modifier;s=p(s),o=f(o),s&&o;){r=p(r),a=f(a),r.hierNode.ancestor=t;var d=s.hierNode.prelim+h-o.hierNode.prelim-u+i(s,o);0<d&&(function(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(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}(s,t,n),t,d),u+=d,l+=d),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!p(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!f(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=t)}return n}(t,r,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:r},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 f=n(1),g=n(60),m=n(952),v=n(686),y=n(131),x=n(66),_=n(80);t.exports=function(t,e,n,i,r){for(var o=new m(i),a=0;a<t.length;a++)o.addNode(f.retrieve(t[a].id,t[a].name,a),a);for(var s,l=[],u=[],c=0,a=0;a<e.length;a++){var h=e[a],d=h.source,p=h.target;o.addEdge(d,p,c)&&(u.push(h),l.push(f.retrieve(h.id,d+" > "+p)),c++)}return"cartesian2d"===(i=n.get("coordinateSystem"))||"polar"===i?s=_(t,n):(i=(i=x.get(i))&&"view"!==i.type&&i.dimensions||[],f.indexOf(i,"value")<0&&i.concat(["value"]),i=y(t,{coordDimensions:i}),(s=new g(i,n)).initData(t)),(n=new g(["value"],n)).initData(u,l),r&&r(s,n),v({mainData:s,struct:o,structAttr:"graph",datas:{node:s,edge:n},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}},function(t,e,n){n=n(4);n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},function(t,e,n){var a=n(29),s=n(1),l=n(288).getCurvenessForEdge;function i(t,o){t.eachEdge(function(t,e){var n=s.retrieve3(t.getModel().get("lineStyle.curveness"),-l(t,o,e,!0),0),i=a.clone(t.node1.getLayout()),r=a.clone(t.node2.getLayout()),e=[i,r];+n&&e.push([(i[0]+r[0])/2-(i[1]-r[1])*n,(i[1]+r[1])/2-(r[0]-i[0])*n]),t.setLayout(e)})}e.simpleLayout=function(t){var e=t.coordinateSystem;e&&"view"!==e.type||((e=t.getGraph()).eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),i(e,t))},e.simpleLayoutEdge=i},function(t,e,n){var c=n(29),i=n(355),d=i.getSymbolSize,p=i.getNodeGlobalScale,h=n(1),f=n(288).getCurvenessForEdge,g=Math.PI,m=[];var a={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"),e=c*(u?e:1)/2;l+=e,t.setLayout([r*Math.cos(l)+o,r*Math.sin(l)+a]),l+=e})},symbolSize:function(t,e,n,i,r,o,a,s){var l=0;m.length=s;var u=p(t);n.eachNode(function(t){var e=d(t);(e=isNaN(e)?2:e)<0&&(e=0),e*=u;e=Math.asin(e/2/r);isNaN(e)&&(e=g/2),m[t.dataIndex]=e,l+=2*e});var c=(2*g-l)/s/2,h=0;n.eachNode(function(t){var e=c+m[t.dataIndex];h+=e,t.setLayout([r*Math.cos(h)+o,r*Math.sin(h)+a]),h+=e})}};e.circularLayout=function(s,t){var e,n,l,u,i,r,o=s.coordinateSystem;o&&"view"!==o.type||(r=o.getBoundingRect(),n=(e=s.getData()).graph,l=r.width/2+r.x,u=r.height/2+r.y,i=Math.min(r.width,r.height)/2,r=e.count(),e.setLayout({cx:l,cy:u}),r&&(a[t](s,o,n,e,i,l,u,r),n.eachEdge(function(t,e){var n,i=h.retrieve3(t.getModel().get("lineStyle.curveness"),f(t,s,e),0),r=c.clone(t.node1.getLayout()),o=c.clone(t.node2.getLayout()),a=(r[0]+o[0])/2,e=(r[1]+o[1])/2;+i&&(n=[l*(i*=3)+a*(1-i),u*i+e*(1-i)]),t.setLayout([r,o,n])})))}},function(t,e,n){n(965),n(966)},function(t,e,n){var i=n(4),r=n(1),o=n(87),a=n(969);n(694),n(972),n(974);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,n){r.each(this._handlers,function(t,e){n.getZr().off(e,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(5<Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2))return;t=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==t.behavior&&this._dispatchExpand({axisExpandWindow:t.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){var e,n;!this._mouseDownPoint&&l(this,"mousemove")&&("jump"===(t=(n=(e=this._model).coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY])).behavior)&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===t?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===t&&null}))}};function l(t,e){t=t._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===e}i.registerPreprocessor(a)},function(t,e,n){var a=n(970);n(66).register("parallel",{create:function(i,r){var o=[];return i.eachComponent("parallel",function(t,e){var n=new a(t,i,r);n.name="parallel_"+e,n.resize(t,r),(t.coordinateSystem=n).model=t,o.push(n)}),i.eachSeries(function(t){var e;"parallel"===t.get("coordinateSystem")&&(e=i.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0],t.coordinateSystem=e.coordinateSystem)}),o}})},function(t,e,n){var i=n(30),a=n(287).onIrrelevantElement,r=n(8);function s(t){return i.create(t)}e.makeRectPanelClipPath=function(n){return n=s(n),function(t,e){return r.clipPointsByRect(t,n)}},e.makeLinearBrushOtherExtent=function(n,i){return n=s(n),function(t){var e=null!=i?i:t,t=e?n.width:n.height,e=e?n.x:n.y;return[e,e+(t||0)]}},e.makeRectIsTargetByCursor=function(i,r,o){return i=s(i),function(t,e,n){return i.contain(e[0],e[1])&&!a(t,r,o)}}},function(t,e,n){var i=n(4);n(980),n(981),n(982);var r=n(983),n=n(984);i.registerLayout(r),i.registerVisual(n)},function(t,e,n){var u=n(133),c=n(1),h=n(161).getDimensionTypeByAxis,d=n(79).makeSeriesEncodeForAxisCoordSys;e.seriesModelMixin={_baseAxisDim:null,getInitialData:function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l,e=["x","y"],a="horizontal"===t.layout?0:1,s=this._baseAxisDim=e[a],e=e[1-a],r=[r,o],o=r[a].get("type"),r=r[1-a].get("type"),a=t.data;a&&i&&(l=[],c.each(a,function(t,e){var n;t.value&&c.isArray(t.value)?(n=t.value.slice(),t.value.unshift(e)):c.isArray(t)?(n=t.slice(),t.unshift(e)):n=t,l.push(n)}),t.data=l);t=this.defaultValueDimensions,r=[{name:s,type:h(o),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:e,type:h(r),dimsDef:t.slice()}];return u(this,{coordDimensions:r,dimensionsCount:t.length+1,encodeDefaulter:c.curry(d,r,this)})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}}},function(t,e,n){var i=n(4);n(990),n(991);var r=n(992),o=n(993),n=n(994);i.registerPreprocessor(r),i.registerVisual(o),i.registerLayout(n)},function(t,e,n){var i=n(8),r=n(354),c=n(1),s=n(56).createSymbol,h=n(29),d=n(86);function o(t,e,n){i.Group.call(this),this.add(this.createLine(t,e,n)),this._updateEffectSymbol(t,e)}n=o.prototype;n.createLine=function(t,e,n){return new r(t,e,n)},n._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),r=n.get("symbol");c.isArray(i)||(i=[i,i]);var o=n.get("color")||t.getItemVisual(e,"color"),a=this.childAt(1);this._symbolType!==r&&(this.remove(a),(a=s(r,-.5,-.5,1,1,o)).z2=100,a.culling=!0,this.add(a)),a&&(a.setStyle("shadowColor",o),a.setStyle(n.getItemStyle(["color"])),a.attr("scale",i),a.setColor(o),a.attr("scale",i),this._symbolType=r,this._symbolScale=i,this._updateEffectAnimation(t,n,e))},n._updateEffectAnimation=function(e,t,n){var i,r,o,a,s,l,u=this.childAt(1);u&&(i=this,r=e.getItemLayout(n),o=1e3*t.get("period"),a=t.get("loop"),l=t.get("constantSpeed"),t="function"==typeof(s=c.retrieve(t.get("delay"),function(t){return t/e.count()*o/3})),u.ignore=!0,this.updateAnimationPoints(u,r),(o=0<l?this.getLineLength(u)/l*1e3:o)===this._period&&a===this._loop||(u.stopAnimation(),l=s,t&&(l=s(n)),0<u.__t&&(l=-o*u.__t),u.__t=0,l=u.animate("",a).when(o,{__t:1}).delay(l).during(function(){i.updateSymbolPosition(u)}),a||l.done(function(){i.remove(u)}),l.start()),this._period=o,this._loop=a)},n.getLineLength=function(t){return h.dist(t.__p1,t.__cp1)+h.dist(t.__cp1,t.__p2)},n.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]},n.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},n.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t,o=t.position,a=[o[0],o[1]],s=d.quadraticAt,l=d.quadraticDerivativeAt;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u,s=l(e[0],i[0],n[0],r),n=l(e[1],i[1],n[1],r);t.rotation=-Math.atan2(n,s)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(u=1.05*h.dist(a,o),t.attr("scale",[t.scale[0],u]),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===t.__lastT?(u=2*h.dist(e,o),t.attr("scale",[t.scale[0],u])):t.attr("scale",this._symbolScale)),t.__lastT=t.__t,t.ignore=!1},n.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},c.inherits(o,i.Group),t.exports=o},function(t,e,n){var s=n(8),l=n(1);function i(t,e,n){s.Group.call(this),this._createPolyline(t,e,n)}n=i.prototype;n._createPolyline=function(t,e,n){var i=t.getItemLayout(e),i=new s.Polyline({shape:{points:i}});this.add(i),this._updateCommonStl(t,e,n)},n.updateData=function(t,e,n){var i=t.hostModel,r=this.childAt(0),o={shape:{points:t.getItemLayout(e)}};s.updateProps(r,o,i,e),this._updateCommonStl(t,e,n)},n._updateCommonStl=function(t,e,n){var i=this.childAt(0),r=t.getItemModel(e),o=t.getItemVisual(e,"color"),a=n&&n.lineStyle,e=n&&n.hoverLineStyle;n&&!t.hasItemOption||(a=r.getModel("lineStyle").getLineStyle(),e=r.getModel("emphasis.lineStyle").getLineStyle()),i.useStyle(l.defaults({strokeNoScale:!0,fill:"none",stroke:o},a)),i.hoverStyle=e,s.setHoverStyle(this)},n.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},l.inherits(i,s.Group),t.exports=i},function(t,e,n){n={seriesType:"lines",plan:n(130)(),reset:function(f){var g=f.coordinateSystem,m=f.get("polyline"),v=f.pipelineContext.large;return{progress:function(t,e){var n=[];if(v){var i,r=t.end-t.start;if(m){for(var o=0,a=t.start;a<t.end;a++)o+=f.getLineCoordsCount(a);i=new Float32Array(r+2*o)}else i=new Float32Array(4*r);for(var s=0,l=[],a=t.start;a<t.end;a++){var u=f.getLineCoords(a,n);m&&(i[s++]=u);for(var c=0;c<u;c++)l=g.dataToPoint(n[c],!1,l),i[s++]=l[0],i[s++]=l[1]}e.setLayout("linesPoints",i)}else for(a=t.start;a<t.end;a++){var h=e.getItemModel(a),u=f.getLineCoords(a,n),d=[];if(m)for(var p=0;p<u;p++)d.push(g.dataToPoint(n[p]));else{d[0]=g.dataToPoint(n[0]),d[1]=g.dataToPoint(n[1]);h=h.get("lineStyle.curveness");+h&&(d[2]=[(d[0][0]+d[1][0])/2-(d[0][1]-d[1][1])*h,(d[0][1]+d[1][1])/2-(d[1][0]-d[0][0])*h])}e.setItemLayout(a,d)}}}}};t.exports=n},function(t,e,n){n(1005),n(1006)},function(t,e,n){var i=n(4);n(1012),n(1015),n(1016),n(164),n(1017),i.extendComponentView({type:"single"})},function(t,e,n){var s=n(1);e.layout=function(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,i={horizontal:{top:(n=[(i=n.getRect()).x,i.x+i.width,i.y,i.y+i.height])[2],bottom:n[3]},vertical:{left:n[0],right:n[1]}};return r.position=["vertical"===a?i.vertical[o]:n[0],"horizontal"===a?i.horizontal[o]:n[3]],r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get("axisTick.inside")&&(r.tickDirection=-r.tickDirection),s.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(r.labelDirection=-r.labelDirection),null==(e=e.rotate)&&(e=t.get("axisLabel.rotate")),r.labelRotation="top"===o?-e:e,r.z2=1,r}},function(t,e,n){n(20).__DEV__;var l=n(1),i=n(8),r=n(17),o=n(695),u=l.each,c=l.indexOf,a=l.curry,s=["dataToPoint","pointToData"],h=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(t,e,n){var i=this._targetInfoList=[],r={},o=f(e,t);u(g,function(t,e){n&&n.include&&!(0<=c(n.include,e))||t(o,i,r)})}n=d.prototype;function p(t){return t[0]>t[1]&&t.reverse(),t}function f(t,e){return r.parseFinder(t,e,{includeMainTypes:h})}n.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,n){(t.coordRanges||(t.coordRanges=[])).push(e),t.coordRange||(t.coordRange=e,e=y[t.brushType](0,n,e),t.__rangeOffset={offset:_[t.brushType](e.values,t.range,[1,1]),xyMinMax:e.xyMinMax})})},n.matchOutputRanges=function(t,i,r){u(t,function(n){var t=this.findTargetInfo(n,i);t&&!0!==t&&l.each(t.coordSyses,function(t){var e=y[n.brushType](1,t,n.range);r(n,e.values,t,i)})},this)},n.setInputRanges=function(t,i){u(t,function(t){var e,n=this.findTargetInfo(t,i);t.range=t.range||[],n&&!0!==n&&(t.panelId=n.panelId,e=y[t.brushType](0,n.coordSys,t.coordRange),n=t.__rangeOffset,t.range=n?_[t.brushType](e.values,n.offset,function(t,e){t=S(t),e=S(e),e=[t[0]/e[0],t[1]/e[1]];return isNaN(e[0])&&(e[0]=1),isNaN(e[1])&&(e[1]=1),e}(e.xyMinMax,n.xyMinMax)):e.values)},this)},n.makePanelOpts=function(n,i){return l.map(this._targetInfoList,function(t){var e=t.getPanelRect();return{panelId:t.panelId,defaultBrushType:i&&i(t),clipPath:o.makeRectPanelClipPath(e),isTargetByCursor:o.makeRectIsTargetByCursor(e,n,t.coordSysModel),getLinearBrushOtherExtent:o.makeLinearBrushOtherExtent(e)}})},n.controlSeries=function(t,e,n){n=this.findTargetInfo(t,n);return!0===n||n&&0<=c(n.coordSyses,e.coordinateSystem)},n.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=f(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(r=0;r<m.length;r++)if(m[r](i,o))return o}return!0};var g={grid:function(t,i){var r=t.xAxisModels,o=t.yAxisModels,t=t.gridModels,e=l.createHashMap(),a={},s={};(r||o||t)&&(u(r,function(t){t=t.axis.grid.model;e.set(t.id,t),a[t.id]=!0}),u(o,function(t){t=t.axis.grid.model;e.set(t.id,t),s[t.id]=!0}),u(t,function(t){e.set(t.id,t),a[t.id]=!0,s[t.id]=!0}),e.each(function(t){var e=t.coordinateSystem,n=[];u(e.getCartesians(),function(t,e){(0<=c(r,t.getAxis("x").model)||0<=c(o,t.getAxis("y").model))&&n.push(t)}),i.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:n[0],coordSyses:n,getPanelRect:v.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})}))},geo:function(t,n){u(t.geoModels,function(t){var e=t.coordinateSystem;n.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:e,coordSyses:[e],getPanelRect:v.geo})})}},m=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,t=t.gridModel;return(t=!(t=!t&&n?n.axis.grid.model:t)&&i?i.axis.grid.model:t)&&t===e.gridModel},function(t,e){t=t.geoModel;return t&&t===e.geoModel}],v={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(i.getTransform(t)),e}},y={lineX:a(x,0),lineY:a(x,1),rect:function(t,e,n){var i=e[s[t]]([n[0][0],n[1][0]]),n=e[s[t]]([n[0][1],n[1][1]]),n=[p([i[0],n[0]]),p([i[1],n[1]])];return{values:n,xyMinMax:n}},polygon:function(e,n,t){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:l.map(t,function(t){t=n[s[e]](t);return i[0][0]=Math.min(i[0][0],t[0]),i[1][0]=Math.min(i[1][0],t[1]),i[0][1]=Math.max(i[0][1],t[0]),i[1][1]=Math.max(i[1][1],t[1]),t}),xyMinMax:i}}};function x(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=p(l.map([0,1],function(t){return e?r.coordToData(r.toLocalCoord(i[t])):r.toGlobalCoord(r.dataToCoord(i[t]))})),n=[];return n[t]=o,n[1-t]=[NaN,NaN],{values:o,xyMinMax:n}}var _={lineX:a(b,0),lineY:a(b,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,n,i){return l.map(t,function(t,e){return[t[0]-i[0]*n[e][0],t[1]-i[1]*n[e][1]]})}};function b(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]}t.exports=d},function(t,e,n){var a=n(1).each,i="\0_ec_hist_store";function s(t){return t[i]||(t[i]=[{}])}e.push=function(r,t){var o=s(r);a(t,function(t,e){for(var n,i=o.length-1;0<=i;i--)if(o[i][e])break;i<0&&((n=r.queryComponents({mainType:"dataZoom",subType:"select",id:e})[0])&&(n=n.getPercentRange(),o[0][e]={dataZoomId:e,start:n[0],end:n[1]}))}),o.push(t)},e.pop=function(t){var i=s(t),t=i[i.length-1];1<i.length&&i.pop();var r={};return a(t,function(t,e){for(var n=i.length-1;0<=n;n--)if(t=i[n][e]){r[e]=t;break}}),r},e.clear=function(t){t[i]=null},e.count=function(t){return s(t).length}},function(t,e,n){var i=n(4),y=n(1),r=n(30),u=n(289),x=n(1069),s=n(87),o=n(705),_=["inBrush","outOfBrush"],c="__ecBrushSelect",h="__ecInBrushSelectEvent",n=i.PRIORITY.VISUAL.BRUSH;function a(e){e.eachComponent({mainType:"brush"},function(t){(t.brushTargetManager=new o(t.option,e)).setInputRanges(t.areas,e)})}function d(t,e){var n;t.isDisposed()||((n=t.getZr())[h]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[h]=!1)}function b(t,e,n,i){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t[a.brushType](i,n,a.selectors,a))return 1}}function S(t){var o=t.brushSelector;if(y.isString(o)){var e=[];return y.each(x,function(r,t){e[t]=function(t,e,n,i){t=e.getItemLayout(t);return r[o](t,n,i)}}),e}if(y.isFunction(o)){var n={};return y.each(x,function(t,e){n[e]=o}),n}return o}i.registerLayout(n,function(t,e,n){t.eachComponent({mainType:"brush"},function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})}),a(t)}),i.registerVisual(n,function(v,t,e){var r,o,n,i,a,l=[];v.eachComponent({mainType:"brush"},function(c,t){var a={brushId:c.id,brushIndex:t,brushName:c.name,areas:y.clone(c.areas),selected:[]};l.push(a);var e=c.option,n=e.brushLink,i=[],h=[],d=[],p=0;t||(r=e.throttleType,o=e.throttleDelay);var f=y.map(c.areas,function(t){return n=y.defaults({boundingRect:A[t.brushType](t)},t),i=n.selectors={},y.each(x[n.brushType],function(e,t){i[t]=function(t){return e(t,i,n)}}),n;var n,i}),s=u.createVisualMappings(c.option,_,function(t){t.mappingMethod="fixed"});function g(t){return"all"===n||i[t]}function m(t){return!!t.length}y.isArray(n)&&y.each(n,function(t){i[t]=1}),v.eachSeries(function(t,e){var n,i,r,o,a,s,l,u=d[e]=[];"parallel"===t.subType?(s=e,l=(a=t).coordinateSystem,p|=l.hasAxisBrushed(),g(s)&&l.eachActiveState(a.getData(),function(t,e){"active"===t&&(h[e]=1)})):(e=e,i=u,(o=S(n=t))&&!function(t,e){t=t.option.seriesIndex;return null!=t&&"all"!==t&&(y.isArray(t)?y.indexOf(t,e)<0:e!==t)}(c,e)&&(y.each(f,function(t){o[t.brushType]&&c.brushTargetManager.controlSeries(t,n,v)&&i.push(t),p|=m(i)}),g(e)&&m(i)&&(r=n.getData()).each(function(t){b(o,i,r,t)&&(h[t]=1)})))}),v.eachSeries(function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(n);var i=S(t),r=d[e],o=t.getData(),t=g(e)?function(t){return h[t]?(n.dataIndex.push(o.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(t){return b(i,r,o,t)?(n.dataIndex.push(o.getRawIndex(t)),"inBrush"):"outOfBrush"};(g(e)?p:m(r))&&u.applyVisual(_,s,o,t)})}),n=t,i=r,a=o,t=l,(e=e)&&((e=n.getZr())[h]||(e[c]||(e[c]=d),s.createOrUpdate(e,c,a,i)(n,t)))});var A={lineX:y.noop,lineY:y.noop,rect:function(t){return l(t.range)},polygon:function(t){for(var e=t.range,n=0,i=e.length;n<i;n++){var r,o=e[n];o[0]<(r=r||[[1/0,-1/0],[1/0,-1/0]])[0][0]&&(r[0][0]=o[0]),o[0]>r[0][1]&&(r[0][1]=o[0]),o[1]<r[1][0]&&(r[1][0]=o[1]),o[1]>r[1][1]&&(r[1][1]=o[1])}return r&&l(r)}};function l(t){return new r(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=a},function(t,e,n){n(709),n(710)},function(t,e,n){n(358),n(135),n(136),n(1097),n(1098),n(360),n(361)},function(t,e,n){n(358),n(135),n(136),n(1099),n(1100),n(360),n(361)},function(t,e,n){var i=n(4),r=n(712);n(713),n(714),n(1102),n(1103),n(719),i.registerPreprocessor(r)},function(t,e,n){var i=n(1),r=i.each;function o(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}t.exports=function(t){t=t&&t.visualMap,i.isArray(t)||(t=t?[t]:[]),r(t,function(t){t&&(o(t,"splitList")&&!o(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList),(t=t.pieces)&&i.isArray(t)&&r(t,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(43).registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?0<t.pieces.length:0<t.splitNumber)&&!t.calculable?"piecewise":"continuous"})},function(t,e,n){var i=n(4),o=n(1),r=n(289),d=n(109),n=i.PRIORITY.VISUAL.COMPONENT;function a(t,e,n,i){for(var r=e.targetVisuals[i],o=d.prepareVisualTypes(r),a={color:t.getData().getVisual("color")},s=0,l=o.length;s<l;s++){var u=o[s],u=r["opacity"===u?"__alphaForOpacity":u];u&&u.applyVisual(n,c,h)}return a.color;function c(t){return a[t]}function h(t,e){a[t]=e}}i.registerVisual(n,{createOnAllSeries:!0,reset:function(n,t){var i=[];return t.eachComponent("visualMap",function(t){var e=n.pipelineContext;!t.isTargetSeries(n)||e&&e.large||i.push(r.incrementalApplyVisual(t.stateList,t.targetVisuals,o.bind(t.getValueState,t),t.getDataDimension(n.getData())))}),i}}),i.registerVisual(n,{createOnAllSeries:!0,reset:function(n,t){var i=n.getData(),r=[];t.eachComponent("visualMap",function(t){var e;t.isTargetSeries(n)&&(e=t.getVisualMeta(o.bind(a,null,n,t))||{stops:[],outerColors:[]},t=t.getDataDimension(i),null!=(t=i.getDimensionInfo(t))&&(e.dimension=t.index,r.push(e)))}),n.getData().setVisual("visualMeta",r)}})},function(t,e,n){var i=n(4),u=n(1),r=n(38),a=n(716),s=n(109),o=n(289),l=n(17),n=n(13),c=s.mapVisual,h=s.eachVisual,d=u.isArray,p=u.each,f=n.asc,g=n.linearMap,n=u.noop,n=i.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(t,e,n){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(t,n)},optionUpdated:function(t,e){var n=this.option;r.canvasSupported||(n.realtime=!1),e||o.replaceVisualOption(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=u.bind(t,this),this.controllerVisuals=o.createVisualMappings(this.option.controller,e,t),this.targetVisuals=o.createVisualMappings(this.option.target,e,t)},getTargetSeriesIndices:function(){var t=this.option.seriesIndex,n=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,e){n.push(e)}):n=l.normalizeToArray(t),n},eachTargetSeries:function(e,n){u.each(this.getTargetSeriesIndices(),function(t){e.call(n,this.ecModel.getSeriesByIndex(t))},this)},isTargetSeries:function(e){var n=!1;return this.eachTargetSeries(function(t){t===e&&(n=!0)}),n},formatValueText:function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,r=r.formatter;return n=n||["<",">"],u.isArray(t)&&(t=t.slice(),i=!0),e=e?t:i?[s(t[0]),s(t[1])]:s(t),u.isString(r)?r.replace("{value}",i?e[0]:e).replace("{value2}",i?e[1]:e):u.isFunction(r)?i?r(t[0],t[1]):r(t):i?t[0]===a[0]?n[0]+" "+e[1]:t[1]===a[1]?n[1]+" "+e[0]:e[0]+" - "+e[1]:e;function s(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},resetExtent:function(){var t=this.option,t=f([t.min,t.max]);this._dataExtent=t},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;0<=r;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={}),r=e.controller||(e.controller={});u.merge(i,n),u.merge(r,n);var l=this.isCategory();function o(i){d(e.color)&&!i.inRange&&(i.inRange={color:e.color.slice().reverse()}),i.inRange=i.inRange||{color:t.get("gradientColor")},p(this.stateList,function(t){var e,n=i[t];u.isString(n)&&((e=a.get(n,"active",l))?(i[t]={},i[t][n]=e):delete i[t])},this)}o.call(this,i),o.call(this,r),function(t,e,n){var e=t[e],i=t[n];e&&!i&&(i=t[n]={},p(e,function(t,e){var n;!s.isValidType(e)||null!=(n=a.get(e,"inactive",l))&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}))}.call(this,i,"inRange","outOfRange"),function(r){var o=(r.inRange||{}).symbol||(r.outOfRange||{}).symbol,a=(r.inRange||{}).symbolSize||(r.outOfRange||{}).symbolSize,s=this.get("inactiveColor");p(this.stateList,function(t){var e=this.itemSize,n=r[t];null==(n=n||(r[t]={color:l?s:[s]})).symbol&&(n.symbol=o&&u.clone(o)||(l?"roundRect":["roundRect"])),null==n.symbolSize&&(n.symbolSize=a&&u.clone(a)||(l?e[0]:[e[0],e[0]])),n.symbol=c(n.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var i,t=n.symbolSize;null!=t&&(i=-1/0,h(t,function(t){i<t&&(i=t)}),n.symbolSize=c(t,function(t){return g(t,[0,i],[0,e[0]],!0)}))},this)}.call(this,r)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:n,getValueState:n,getVisualMeta:n});t.exports=n},function(t,e,n){var i=n(1),n={get:function(t,e,n){e=i.clone((r[t]||{})[e]);return n&&i.isArray(e)?e[e.length-1]:e}},r={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]}};t.exports=n},function(t,e,n){var i=n(4),c=n(1),r=n(8),o=n(26),a=n(21),h=n(109),i=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){!1!==(this.visualMapModel=t).get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,n=o.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new r.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(n,i,r){var t,e=(r=r||{}).forceState,o=this.visualMapModel,a={};function s(t){return a[t]}function l(t,e){a[t]=e}"symbol"===i&&(a.symbol=o.get("itemSymbol")),"color"===i&&(t=o.get("contentColor"),a.color=t);var u=o.controllerVisuals[e||o.getValueState(n)],o=h.prepareVisualTypes(u);return c.each(o,function(t){var e=u[t];r.convertOpacityToAlpha&&"opacity"===t&&(t="colorAlpha",e=u.__alphaForOpacity),h.dependsOn(t,i)&&e&&e.applyVisual(n,s,l)}),a[i]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;a.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:c.noop});t.exports=i},function(t,e,n){var i=n(1),h=n(21).getLayoutRect;e.getItemAlign=function(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var t={width:e.getWidth(),height:e.getHeight()},o="horizontal"===i.orient?1:0,a=[["left","right","width"],["top","bottom","height"]],s=a[o],l=[0,null,10],u={},c=0;c<3;c++)u[a[1-o][c]]=l[c],u[s[c]]=2===c?n[0]:i[s[c]];return r=[["x","width",3],["y","height",0]][o],e=h(u,t,i.padding),s[(e.margin[r[2]]||0)+e[r[0]]+.5*e[r[1]]<.5*t[r[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(4).registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(t){t.setSelected(e.selected)})})},function(t,e,n){var i=n(4),r=n(712);n(713),n(714),n(1104),n(1105),n(719),i.registerPreprocessor(r)},function(t,e,n){var i,r=n(38),o="urn:schemas-microsoft-com:vml",n="undefined"==typeof window?null:window,a=!1,s=n&&n.document;if(s&&!r.canvasSupported)try{s.namespaces.zrvml||s.namespaces.add("zrvml",o),i=function(t){return s.createElement("<zrvml:"+t+' class="zrvml">')}}catch(t){i=function(t){return s.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}e.doc=s,e.createNode=function(t){return i(t)},e.initVML=function(){var t;!a&&s&&(a=!0,((t=s.styleSheets).length<31?s.createStyleSheet():t[0]).addRule(".zrvml","behavior:url(#default#VML)"))}},function(t,e,n){},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(6)),o=n(724),n=i(n(1134)),a=r.default.prototype,r=r.default.util.defineReactive;r(a,"$vantLang","zh-CN"),r(a,"$vantMessages",{"zh-CN":n.default}),e.default={messages:function(){return a.$vantMessages[a.$vantLang]},use:function(t,e){var n;a.$vantLang=t,this.add(((n={})[t]=e,n))},add:function(t){(0,o.deepAssign)(a.$vantMessages,t=void 0===t?{}:t)}}},function(t,e,n){"use strict";e.__esModule=!0,e.deepAssign=l;var a=n(7),s=Object.prototype.hasOwnProperty;function l(r,o){return Object.keys(o).forEach(function(t){var e,n,i;e=r,t=(n=o)[i=t],(0,a.isDef)(t)&&(s.call(e,i)&&(0,a.isObject)(t)?e[i]=l(Object(e[i]),n[i]):e[i]=t)}),r}},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0,e.isDate=function(t){return"[object Date]"===Object.prototype.toString.call(t)&&!(0,i.isNaN)(t.getTime())};var i=n(171)},function(t,e,n){"use strict";e.__esModule=!0,e.context=void 0;e.context={zIndex:2e3,lockCount:0,stack:[],find:function(e){return this.stack.filter(function(t){return t.vm===e})[0]}}},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0,e.sortChildren=function(t,e){var n,e=e.$vnode.componentOptions;e&&e.children&&(n=function(t){var n=[];return function e(t){t.forEach(function(t){n.push(t),t.componentInstance&&e(t.componentInstance.$children.map(function(t){return t.$vnode})),t.children&&e(t.children)})}(t),n}(e.children),t.sort(function(t,e){return n.indexOf(t.$vnode)-n.indexOf(e.$vnode)}))}},function(t,e,n){"use strict";e.__esModule=!0,e.callInterceptor=function(t){var e=t.interceptor,n=t.args,i=t.done;e?(n=e.apply(void 0,n),(0,r.isPromise)(n)?n.then(function(t){t&&i()}).catch(r.noop):n&&i()):i()};var r=n(7)},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.CheckboxMixin=void 0;var r=i(n(32)),o=n(112),a=n(36),s=n(7);e.CheckboxMixin=function(t){var e=t.parent,i=t.bem,n=t.role;return{mixins:[(0,a.ChildrenMixin)(e),o.FieldMixin],props:{name:null,value:null,disabled:Boolean,iconSize:[Number,String],checkedColor:String,labelPosition:String,labelDisabled:Boolean,shape:{type:String,default:"round"},bindGroup:{type:Boolean,default:!0}},computed:{disableBindRelation:function(){return!this.bindGroup},isDisabled:function(){return this.parent&&this.parent.disabled||this.disabled},direction:function(){return this.parent&&this.parent.direction||null},iconStyle:function(){var t=this.checkedColor||this.parent&&this.parent.checkedColor;if(t&&this.checked&&!this.isDisabled)return{borderColor:t,backgroundColor:t}},tabindex:function(){return this.isDisabled||"radio"===n&&!this.checked?-1:0}},methods:{onClick:function(t){var e=this,n=t.target,i=this.$refs.icon,n=i===n||i.contains(n);this.isDisabled||!n&&this.labelDisabled?this.$emit("click",t):(this.toggle(),setTimeout(function(){e.$emit("click",t)}))},genIcon:function(){var t=this.$createElement,e=this.checked,n=this.iconSize||this.parent&&this.parent.iconSize;return t("div",{ref:"icon",class:i("icon",[this.shape,{disabled:this.isDisabled,checked:e}]),style:{fontSize:(0,s.addUnit)(n)}},[this.slots("icon",{checked:e})||t(r.default,{attrs:{name:"success"},style:this.iconStyle})])},genLabel:function(){var t=this.$createElement,e=this.slots();if(e)return t("span",{class:i("label",[this.labelPosition,{disabled:this.isDisabled}])},[e])}},render:function(){var t=arguments[0],e=[this.genIcon()];return"left"===this.labelPosition?e.unshift(this.genLabel()):e.push(this.genLabel()),t("div",{attrs:{role:n,tabindex:this.tabindex,"aria-checked":String(this.checked)},class:i([{disabled:this.isDisabled,"label-disabled":this.labelDisabled},this.direction]),on:{click:this.onClick}},[e])}}}},function(t,e,n){},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.TimePickerMixin=e.sharedProps=void 0;var r=i(n(28)),o=n(373),a=n(137),s=n(735),l=i(n(305)),n=(0,r.default)({},s.pickerProps,{value:null,filter:Function,columnsOrder:Array,showToolbar:{type:Boolean,default:!0},formatter:{type:Function,default:function(t,e){return e}}});e.sharedProps=n,e.TimePickerMixin={data:function(){return{innerValue:this.formatValue(this.value)}},computed:{originColumns:function(){var i=this;return this.ranges.map(function(t){var e=t.type,n=t.range,t=(0,o.times)(n[1]-n[0]+1,function(t){return(0,a.padZero)(n[0]+t)});return{type:e,values:t=i.filter?i.filter(e,t):t}})},columns:function(){var n=this;return this.originColumns.map(function(e){return{values:e.values.map(function(t){return n.formatter(e.type,t)})}})}},watch:{columns:"updateColumnValue",innerValue:function(t){this.$emit("input",t)}},mounted:function(){var t=this;this.updateColumnValue(),this.$nextTick(function(){t.updateInnerValue()})},methods:{getPicker:function(){return this.$refs.picker},onConfirm:function(){this.$emit("confirm",this.innerValue)},onCancel:function(){this.$emit("cancel")}},render:function(){var e=this,t=arguments[0],n={};return Object.keys(s.pickerProps).forEach(function(t){n[t]=e[t]}),t(l.default,{ref:"picker",attrs:{columns:this.columns,readonly:this.readonly},scopedSlots:this.$scopedSlots,on:{change:this.onChange,confirm:this.onConfirm,cancel:this.onCancel},props:(0,r.default)({},n)})}}},function(t,e,n){"use strict";e.__esModule=!0,e.pickerProps=e.DEFAULT_ITEM_HEIGHT=void 0;e.DEFAULT_ITEM_HEIGHT=44;var i={title:String,loading:Boolean,readonly:Boolean,itemHeight:[Number,String],showToolbar:Boolean,cancelButtonText:String,confirmButtonText:String,allowHtml:{type:Boolean,default:!0},visibleItemCount:{type:[Number,String],default:6},swipeDuration:{type:[Number,String],default:1e3}};e.pickerProps=i},function(t,e,n){"use strict";e.__esModule=!0,e.deepClone=function e(t){if(Array.isArray(t))return t.map(function(t){return e(t)});if("object"==typeof t)return(0,i.deepAssign)({},t);return t};var i=n(724)},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0,e.resetScroll=function(){r&&(0,i.setRootScrollTop)((0,i.getRootScrollTop)())};var e=n(1162),i=n(62),r=(0,e.isIOS)()},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0;var i=(e.bem=e.createComponent=void 0,n(7).createNamespace)("image-preview"),n=i[0],i=i[1];e.bem=i,e.createComponent=n},function(t){t.exports=JSON.parse('{"zh-CN":[{"name":"mobile组件","groups":[{"groupName":"基础组件","list":[{"path":"/m-button","title":"Button 移动端按钮"},{"path":"/m-cell","title":"Cell 单元格"},{"path":"/m-image","title":"Image 图片"},{"path":"/m-layout","title":"Layout 布局"},{"path":"/m-popup","title":"Popup 弹出层"},{"path":"/m-toast","title":"Toast 轻提示"}]},{"groupName":"表单组件","list":[{"path":"/m-calendar","title":"Calendar 日历"},{"path":"/m-cascader","title":"Cascader 级联选择"},{"path":"/m-checkbox","title":"Checkbox 复选框"},{"path":"/m-datetime-picker","title":"DatetimePicker 时间选择"},{"path":"/m-field","title":"Field 输入框"},{"path":"/m-form","title":"Form 表单"},{"path":"/m-password-input","title":"PasswordInput 密码输入框"},{"path":"/m-number-keyboard","title":"NumberKeyboard 数字键盘"},{"path":"/m-picker","title":"Picker 选择器"},{"path":"/m-radio","title":"Radio 单选框"},{"path":"/m-rate","title":"Rate 评分"},{"path":"/m-search","title":"Search 搜索"},{"path":"/m-slider","title":"Slider 滑块"},{"path":"/m-stepper","title":"Stepper 步进器"},{"path":"/m-switch","title":"Switch 开关"},{"path":"/m-uploader","title":"Uploader 文件上传"}]},{"groupName":"反馈组件","list":[{"path":"/m-action-sheet","title":"ActionSheet 动作面板"},{"path":"/m-dialog","title":"Dialog 弹出框"},{"path":"/m-dropdown-menu","title":"DropdownMenu 下拉菜单"},{"path":"/m-loading","title":"Loading 加载"},{"path":"/m-notify","title":"Notify 消息通知"},{"path":"/m-overlay","title":"Overlay 遮罩层"},{"path":"/m-pull-refresh","title":"PullRefresh 下拉刷新"},{"path":"/m-share-sheet","title":"ShareSheet 分享面板"},{"path":"/m-swipe-cell","title":"SwipeCell 滑动单元格"}]},{"groupName":"展示组件","list":[{"path":"/m-badge","title":"Badge 徽标"},{"path":"/m-circle","title":"Circle 环形进度条"},{"path":"/m-collapse","title":"Collapse 折叠面板"},{"path":"/m-count-down","title":"CountDown 倒计时"},{"path":"/m-divider","title":"Divider 分割线"},{"path":"/m-empty","title":"Empty 空状态"},{"path":"/m-image-preview","title":"ImagePreview 图片预览"},{"path":"/m-lazyload","title":"Lazyload 懒加载"},{"path":"/m-list","title":"List 列表"},{"path":"/m-notice-bar","title":"NoticeBar 通知栏"},{"path":"/m-popover","title":"Popover 气泡弹出框"},{"path":"/m-progress","title":"Progress 进度条"},{"path":"/m-skeleton","title":"Skeleton 骨架屏"},{"path":"/m-steps","title":"Steps 步骤条"},{"path":"/m-sticky","title":"Sticky 粘性布局"},{"path":"/m-swipe","title":"Swipe 轮播"},{"path":"/m-tag","title":"Tag 标签"}]},{"groupName":"导航组件","list":[{"path":"/m-grid","title":"Grid 宫格"},{"path":"/m-index-bar","title":"IndexBar 索引栏"},{"path":"/m-nav-bar","title":"NavBar 导航栏"},{"path":"/m-pagination","title":"Pagination 分页"},{"path":"/m-sidebar","title":"Sidebar 侧边导航"},{"path":"/m-tab","title":"Tab 标签页"},{"path":"/m-tabbar","title":"Tabbar 标签栏"},{"path":"/m-tree-select","title":"TreeSelect 分类选择"}]}]}]}')},function(t,e,n){},function(t,e,n){t.exports=n.p+"static/start-1.fa54277.png"},function(t,e,n){t.exports=n.p+"static/start-2.2591c2c.png"},function(t,e,n){t.exports=n.p+"static/start-3.4073254.png"},function(t,e,n){t.exports=n.p+"static/start-4.2591c2c.png"},function(t,e,n){t.exports=n.p+"static/start-5.dcb57af.png"},function(t,e,n){t.exports=n.p+"static/start-6.9c8a263.png"},function(t,e,n){t.exports=n.p+"static/start-7.5461c80.png"},function(t,e,n){t.exports=n.p+"static/start-8.8335802.png"},function(t,e,n){t.exports=n.p+"static/start-9.0977a86.png"},function(t,e,n){t.exports=n.p+"static/start-10.9efde88.png"},function(t,e,n){t.exports=n.p+"static/start-11.bcea929.png"},function(t,e,n){t.exports=n.p+"static/start-12.ccf510c.png"},function(t,e,n){t.exports=n.p+"static/start-13.b4b4c40.png"},function(t,e,n){},function(t,e,n){},function(t,e,n){},,,,,function(t,e,n){"use strict";var i=Object.prototype.toString;t.exports=function(t){var e=i.call(t);return"[object Arguments]"===e||"[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&0<=t.length&&"[object Function]"===i.call(t.callee)}},,function(t,e,n){"use strict";function o(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}t.exports=function(n,i,r,t){return i=i||"&",r=r||"=","object"==typeof(n=null===n?void 0:n)?s(l(n),function(t){var e=encodeURIComponent(o(t))+r;return a(n[t])?s(n[t],function(t){return e+encodeURIComponent(o(t))}).join(i):e+encodeURIComponent(o(n[t]))}).join(i):t?encodeURIComponent(o(t))+r+encodeURIComponent(o(n)):""};var a=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function s(t,e){if(t.map)return t.map(e);for(var n=[],i=0;i<t.length;i++)n.push(e(t[i],i));return n}var l=Object.keys||function(t){var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);return 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){},,function(t,e,n){"use strict";n.r(e);var i={name:"main-layout",data:function(){return{lang:this.$route.meta.lang,navsData:[{path:"/intro-tis-app",name:"tis-app"},{path:"/quickstart",name:"快速开始",children:[{path:"/quick-start-1",name:"环境准备"},{path:"/quick-start-2",name:"下载模版"},{path:"/quick-start-3",name:"安装依赖"},{path:"/quick-start-4",name:"启动项目"},{path:"/quick-start-5",name:"框架中运行"},{path:"/quick-start-6",name:"热重载 (Hot reload)"},{path:"/quick-start-7",name:"错误提示"},{path:"/quick-start-8",name:"部署发布"}]},{path:"/catalog",name:"目录结构",children:[{path:"/catalog-1",name:"根目录"},{path:"/catalog-2",name:"/dist 目录"},{path:"/catalog-3",name:"/public 目录"},{path:"/catalog-4",name:"/src 目录"}]},{path:"/lifecycle",name:"生命周期",children:[{path:"/lifecycle-1",name:"bootstrap"},{path:"/lifecycle-2",name:"mount"},{path:"/lifecycle-3",name:"show"},{path:"/lifecycle-4",name:"hide"},{path:"/lifecycle-5",name:"unmount"}]},{name:"tis的API",path:"/tis-api",children:[{name:"全局变量",path:"/tis-api-1"},{name:"应用相关",path:"/tis-api-2"},{name:"浮窗相关",path:"/tis-api-3"},{name:"通信模块",path:"/tis-api-4"}]}]}}},n=(n(1276),n(0)),i=Object(n.a)(i,function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"page-container page-guide"},[t("tis-row",[t("tis-col",{attrs:{xs:24,sm:5}},[t("side-nav",{attrs:{data:this.navsData,base:"/zh-CN/main-layout"}})],1),t("tis-col",{attrs:{xs:24,sm:19}},[t("router-view",{staticClass:"element-doc content main-layout-doc"})],1)],1)],1)},[],!1,null,null,null);e.default=i.exports},function(t,I,e){"use strict";!function(t){var i="undefined"!=typeof Map?Map:(Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(t){t=r(this.__entries__,t),t=this.__entries__[t];return t&&t[1]},e.prototype.set=function(t,e){var n=r(this.__entries__,t);~n?this.__entries__[n][1]=e:this.__entries__.push([t,e])},e.prototype.delete=function(t){var e=this.__entries__,t=r(e,t);~t&&e.splice(t,1)},e.prototype.has=function(t){return!!~r(this.__entries__,t)},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__;n<i.length;n++){var r=i[n];t.call(e,r[1],r[0])}},e);function r(t,n){var i=-1;return t.some(function(t,e){return t[0]===n&&(i=e,!0)}),i}function e(){this.__entries__=[]}var n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),l="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},u=2;var a=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,c=(h.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},h.prototype.removeObserver=function(t){var e=this.observers_,t=e.indexOf(t);~t&&e.splice(t,1),!e.length&&this.connected_&&this.disconnect_()},h.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},h.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),0<t.length},h.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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)},h.prototype.disconnect_=function(){n&&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)},h.prototype.onTransitionEnd_=function(t){var t=t.propertyName,e=void 0===t?"":t;a.some(function(t){return!!~e.indexOf(t)})&&this.refresh()},h.getInstance=function(){return this.instance_||(this.instance_=new h),this.instance_},h.instance_=null,h);function h(){function t(){o&&(o=!1,i()),a&&n()}function e(){l(t)}function n(){var t=Date.now();if(o){if(t-s<u)return;a=!0}else a=!(o=!0),setTimeout(e,r);s=t}var i,r,o,a,s;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(i=this.refresh.bind(this),a=o=!(r=20),s=0,n)}var d=function(t,e){for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];Object.defineProperty(t,r,{value:e[r],enumerable:!1,writable:!1,configurable:!0})}return t},p=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},f=_(0,0,0,0);function g(t){return parseFloat(t)||0}function m(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return t.reduce(function(t,e){return t+g(n["border-"+e+"-width"])},0)}function v(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return f;var i=p(t).getComputedStyle(t),r=function(t){for(var e={},n=0,i=["top","right","bottom","left"];n<i.length;n++){var r=i[n],o=t["padding-"+r];e[r]=g(o)}return e}(i),o=r.left+r.right,a=r.top+r.bottom,s=g(i.width),l=g(i.height);return"border-box"===i.boxSizing&&(Math.round(s+o)!==e&&(s-=m(i,"left","right")+o),Math.round(l+a)!==n&&(l-=m(i,"top","bottom")+a)),(t=t)!==p(t).document.documentElement&&(e=Math.round(s+o)-e,n=Math.round(l+a)-n,1!==Math.abs(e)&&(s-=e),1!==Math.abs(n)&&(l-=n)),_(r.left,r.top,s,l)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof p(t).SVGGraphicsElement}:function(t){return t instanceof p(t).SVGElement&&"function"==typeof t.getBBox};function x(t){return n?y(t)?_(0,0,(e=(e=t).getBBox()).width,e.height):v(t):f;var e}function _(t,e,n,i){return{x:t,y:e,width:n,height:i}}var b=(S.prototype.isActive=function(){var t=x(this.target);return(this.contentRect_=t).width!==this.broadcastWidth||t.height!==this.broadcastHeight},S.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},S);function S(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=t}var A=function(t,e){var n,i,r,o=(n=(o=e).x,i=o.y,r=o.width,e=o.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,o=Object.create(o.prototype),d(o,{x:n,y:i,width:r,height:e,top:i,right:n+r,bottom:e+i,left:n}),o);d(this,{target:t,contentRect:o})},M=(w.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},w.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},w.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},w.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},w.prototype.broadcastActive=function(){var t,e;this.hasActive()&&(t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new A(t.target,t.broadcastRect())}),this.callback_.call(t,e,t),this.clearActive())},w.prototype.clearActive=function(){this.activeObservations_.splice(0)},w.prototype.hasActive=function(){return 0<this.activeObservations_.length},w);function w(t,e,n){if(this.activeObservations_=[],this.observations_=new i,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}var C=new("undefined"!=typeof WeakMap?WeakMap:i),T=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=c.getInstance(),n=new M(e,n,this);C.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){T.prototype[e]=function(){var t;return(t=C.get(this))[e].apply(t,arguments)}});t=void 0!==o.ResizeObserver?o.ResizeObserver:T;I.a=t}.call(this,e(122))},function(t,e,n){t.exports=n(798)},function(t,e){t.exports=hljs},function(t,e,o){"use strict";function a(t,e){return z[t](e)}var r,s,n=o(263),i=o(781),l=o(744),u=o(776),c=o(397),h=o(398),d=o(399),p=o(400),f=o(401),g=o(402),m=o(403),v=o(404),y=o(405),x=o(406),_=o(407),b=o(408),S=o(409),A=o(396),M=o(395),w=o(394),C=o(393),T=o(392),I=o(391),D=o(390),L=o(389),k=o(388),N=o(387),O=o(386),P=o(385),E=o(384),H=o(383),z={"zh-CN":function(e){return function(t){return Promise.all([o.e(0),o.e(1),o.e(6)]).then(function(){return t(o(1321)("./"+e+".vue"))}.bind(null,o)).catch(o.oe)}},"en-US":function(e){return function(t){return Promise.all([o.e(0),o.e(1),o.e(3)]).then(function(){return t(o(1322)("./"+e+".vue"))}.bind(null,o)).catch(o.oe)}},es:function(e){return function(t){return Promise.all([o.e(0),o.e(1),o.e(4)]).then(function(){return t(o(1323)("./"+e+".vue"))}.bind(null,o)).catch(o.oe)}},"fr-FR":function(e){return function(t){return Promise.all([o.e(0),o.e(1),o.e(5)]).then(function(){return t(o(1324)("./"+e+".vue"))}.bind(null,o)).catch(o.oe)}}},R={"zh-CN":function(e){return function(t){return Promise.all([o.e(0),o.e(1),o.e(6)]).then(function(){return t(o(1325)("./zh-CN"+e+".md"))}.bind(null,o)).catch(o.oe)}},"en-US":function(e){return function(t){return Promise.all([o.e(0),o.e(1),o.e(3)]).then(function(){return t(o(1326)("./en-US"+e+".md"))}.bind(null,o)).catch(o.oe)}},es:function(e){return function(t){return Promise.all([o.e(0),o.e(1),o.e(4)]).then(function(){return t(o(1327)("./es"+e+".md"))}.bind(null,o)).catch(o.oe)}},"fr-FR":function(e){return function(t){return Promise.all([o.e(0),o.e(1),o.e(5)]).then(function(){return t(o(1328)("./fr-FR"+e+".md"))}.bind(null,o)).catch(o.oe)}}},j=(r=n,s=[],Object.keys(r).forEach(function(e,n){var t=r[e],i=l["zh-CN"];s.push({path:"/"+e+"/component",redirect:"/"+e+"/component/installation",component:a(e,"component"),children:[]}),s.push({path:"/"+e+"/mobile",redirect:"/"+e+"/mobile/m-button",component:a(e,"component-mobile"),children:[]}),t.forEach(function(t){t.href||(t.groups?t.groups.forEach(function(t){t.list.forEach(function(t){B(t,e,n)})}):t.children?t.children.forEach(function(t){B(t,e,n)}):B(t,e,n))}),i.forEach(function(t){t.href||(t.groups?t.groups.forEach(function(t){t.list.forEach(function(t){B(t,e,1)})}):t.children?t.children.forEach(function(t){B(t,e,1)}):B(t,e,1))})}),s);function B(t,e,n){var i,r="/changelog"===t.path?a(e,"changelog"):(i=e,r=t.path,R[i](r)),r={path:t.path.slice(1),meta:{title:t.title||t.name,description:t.description,lang:e},name:"component-"+e+(t.title||t.name),component:r.default||r};s[n].children.push(r)}i.forEach(function(t){var e,n;j=j.concat((e=t.lang,n={path:"/"+e+"/guide",redirect:"/"+e+"/guide/design",component:a(e,"guide"),children:[{path:"design",name:"guide-design"+e,meta:{lang:e},component:a(e,"design")},{path:"nav",name:"guide-nav"+e,meta:{lang:e},component:a(e,"nav")}]},t={path:"/"+e+"/theme",component:a(e,"theme-nav"),children:[{path:"/",name:"theme"+e,meta:{lang:e},component:a(e,"theme")},{path:"preview",name:"theme-preview-"+e,meta:{lang:e},component:a(e,"theme-preview")}]},[n,{path:"/"+e+"/resource",meta:{lang:e},name:"resource"+e,component:a(e,"resource")},t,{path:"/"+e,meta:{lang:e},name:"home"+e,component:a(e,"index")}]))}),j.push({path:"/play",name:"play",component:o(1319)});[["quick-start",8]].reduce(function(e,t){for(var n=t[0],i=t[1],r=1;r<=i;r++)!function(t){e.push({path:"/zh-CN/main-layout/"+n+"-"+t,component:function(){return o(1281)("./"+n+"-"+t+".md")}})}(r);return e},[]);j.push({path:"/zh-CN/main-layout",redirect:"/zh-CN/main-layout/intro-tis-app",name:"mainLayout",component:u.default,children:[{path:"/zh-CN/main-layout/intro-tis-app",component:h.default},{path:"/zh-CN/main-layout/quickstart",component:d.default},{path:"/zh-CN/main-layout/quick-start-1",component:p.default},{path:"/zh-CN/main-layout/quick-start-2",component:f.default},{path:"/zh-CN/main-layout/quick-start-3",component:g.default},{path:"/zh-CN/main-layout/quick-start-4",component:m.default},{path:"/zh-CN/main-layout/quick-start-5",component:v.default},{path:"/zh-CN/main-layout/quick-start-6",component:y.default},{path:"/zh-CN/main-layout/quick-start-7",component:x.default},{path:"/zh-CN/main-layout/quick-start-8",component:_.default},{path:"/zh-CN/main-layout/catalog",component:b.default},{path:"/zh-CN/main-layout/catalog-1",component:S.default},{path:"/zh-CN/main-layout/catalog-2",component:A.default},{path:"/zh-CN/main-layout/catalog-3",component:M.default},{path:"/zh-CN/main-layout/catalog-4",component:w.default},{path:"/zh-CN/main-layout/lifecycle",component:C.default},{path:"/zh-CN/main-layout/lifecycle-1",component:T.default},{path:"/zh-CN/main-layout/lifecycle-2",component:I.default},{path:"/zh-CN/main-layout/lifecycle-3",component:D.default},{path:"/zh-CN/main-layout/lifecycle-4",component:L.default},{path:"/zh-CN/main-layout/lifecycle-5",component:k.default},{path:"/zh-CN/main-layout/tis-api",component:N.default},{path:"/zh-CN/main-layout/tis-api-1",component:O.default},{path:"/zh-CN/main-layout/tis-api-2",component:P.default},{path:"/zh-CN/main-layout/tis-api-3",component:E.default},{path:"/zh-CN/main-layout/tis-api-4",component:H.default},{path:"/zh-CN/main-layout/develop",name:"mainLayoutDevelop",component:c.default}]});H=localStorage.getItem("ELEMENT_LANGUAGE")||window.navigator.language||"en-US",c="/en-US";-1!==H.indexOf("zh-")?c="/zh-CN":-1!==H.indexOf("es")?c="/es":-1!==H.indexOf("fr")&&(c="/fr-FR"),j=j.concat([{path:"/",redirect:c},{path:"*",redirect:c}]),e.a=j},function(t){t.exports=JSON.parse('[{"lang":"zh-CN"},{"lang":"en-US"},{"lang":"es"},{"lang":"fr-FR"}]')},function(t){t.exports=JSON.parse('[{"lang":"zh-CN","display-name":{"border-color":"边框颜色","font-color":"文字颜色","background-color":"背景颜色","font-weight":"文字粗细","font-size":"文字大小","font-line-height":"文字行高","border-radius":"边框圆角","vertical":"纵向","horizontal":"横向","padding":"内间距","margin":"外间距","icon":"图标","placeholder":"占位符","dropdown":"下拉菜单","checked":"选中状态","active":"激活状态","hover":"鼠标悬停状态","max":"最大","medium":"中号","small":"小号","mini":"最小号","min":"最小","focus":"聚焦","selected":"选中","height":"高度","size":"大小","header":"头部","group":"分组","radius":"圆角","width":"宽度","color":"颜色","title":"标题","content":"内容","success":"成功状态","danger":"危险状态","warning":"警告状态","info":"提示状态","customed":"客制化的","disabled":"禁用状态","default":"默认","primary":"主要","inrange":"日期范围"},"action":{"require-them-name":"主题名称是必填项","duplicate-them-name":"主题名称重复","confirm-delete-theme":"确定要删除这个主题?","max-user-theme":"已达自定义主题上限","no-preview-config":"获取主题预览配置错误","undo":"撤销","redo":"重做","notice":"提示","confirm":"确定","cancel":"取消","load-local-theme-config":"正在恢复您上次编辑的自定义主题","upload-theme":"点击上传主题","rename-theme":"修改命名","copy-theme":"复制主题","last-modified":"最近修改","reset-theme":"重置","delete-theme":"删除主题","download-theme":"下载","theme-check":"查看","theme-copy":"复制","theme-edit":"编辑","description-element":"默认主题","description-napos":"深色主题","description-kiwi":"KIWI 主题"},"category":{"BrandColor":"品牌颜色","FunctionalColor":"辅助颜色","FontColor":"文字颜色","BorderColor":"边框颜色","BackgroundColor":"背景颜色","Other":"其他","Color":"颜色","Border":"边框","Font":"文字","Radius":"边框圆角","Shadow":"阴影","Spacing":"间距","FontSize":"文字大小","FontWeight":"文字粗细","LineHeight":"文字行高"},"variable-name":{"color-primary":"主题色","color-white":"基础白色","color-black":"基础黑色","color-success":"成功颜色","color-warning":"警告颜色","color-danger":"危险颜色","color-info":"信息颜色","color-text-primary":"主要文字颜色","color-text-regular":"常规文字颜色","color-text-secondary":"次要文字颜色","color-text-placeholder":"占位文字颜色","border-color-base":"一级边框颜色","border-color-light":"二级边框颜色","border-color-lighter":"三级边框颜色","border-color-extra-light":"四级边框颜色","background-color-base":"基础背景色","border-radius-base":"大圆角","border-radius-small":"小圆角","border-radius-zero":"无圆角","border-radius-circle":"圆形圆角","box-shadow-base":"基础投影","box-shadow-dark":"深色投影","box-shadow-light":"浅色投影","font-size-extra-large":"主标题文字大小","font-size-large":"标题文字大小","font-size-medium":"小标题文字大小","font-size-base":"正文文字大小","font-size-small":"正文(小)文字大小","font-size-extra-small":"辅助文字大小","font-weight-primary":"主要文字粗细","font-weight-secondary":"次要文字粗细","font-line-height-primary":"主要文字行高","font-line-height-secondary":"次要文字行高","tooltip-fill":"Dark 主题背景色","tooltip-color":"Light 主题背景色","slider-height":"滑块轨道高度","datepicker-off-font-color":"不是当前月份的日期文字颜色"}},{"lang":"en-US","variable-name":{"color-primary":"primary color","color-white":"basic white","color-black":"basic black","color-success":"success color","color-warning":"warning color","color-danger":"danger color","color-info":"info color","color-text-primary":"primary text color","color-text-regular":"regular text color","color-text-secondary":"secondary text color","color-text-placeholder":"placeholder text color","border-color-base":"border color base","border-color-light":"border color light","border-color-lighter":"border color lighter","border-color-extra-light":"border color extra light","background-color-base":"base background color","border-radius-base":"border radius base","border-radius-small":"border radius small","border-radius-circle":"border radius circle","box-shadow-base":"box shadow base","box-shadow-dark":"box shadow dark","box-shadow-light":"box shadow light","font-size-extra-large":"extra large font size","font-size-large":"large font size","font-size-medium":"medium font size","font-size-base":"base font size","font-size-small":"small font size","font-size-extra-small":"extra small font size","font-weight-primary":"primary font weight","font-weight-secondary":"secondary font weight","font-line-height-primary":"primary font line height","font-line-height-secondary":"secondary font line height"},"display-name":{"border-color":"border color","font-color":"font color","background-color":"background color","font-weight":"font weight","font-size":"font size","font-line-height":"font line height","border-radius":"border radius"},"action":{"require-them-name":"Theme name is required","duplicate-them-name":"Duplicate them name","confirm-delete-theme":"Are you sure you want to delete this theme?","no-preview-config":"No preview config found","max-user-theme":"Maxium user theme limit","undo":"Undo","redo":"Redo","notice":"Notice","confirm":"Confirm","cancel":"Cancel","load-local-theme-config":"Loading your last saved theme config","last-modified":"Last modified","upload-theme":"Click to upload theme","reset-theme":"Reset","rename-theme":"Rename","copy-theme":"Copy","delete-theme":"Delete","download-theme":"Download","theme-check":"Preview","theme-copy":"Copy","theme-edit":"Edit","description-element":"Default theme","description-napos":"Dark theme","description-kiwi":"kiwi theme"},"category":{"BrandColor":"Brand Color","FunctionalColor":"Functional Color","FontColor":"Font Color","BorderColor":"Border Color","BackgroundColor":"Background Color","FontSize":"Font Size","FontWeight":"Font Weight","LineHeight":"Line Height"}},{"lang":"es","variable-name":{"color-primary":"primary color","color-white":"basic white","color-black":"basic black","color-success":"success color","color-warning":"warning color","color-danger":"danger color","color-info":"info color","color-text-primary":"primary text color","color-text-regular":"regular text color","color-text-secondary":"secondary text color","color-text-placeholder":"placeholder text color","border-color-base":"border color base","border-color-light":"border color light","border-color-lighter":"border color lighter","border-color-extra-light":"border color extra light","background-color-base":"base background color","border-radius-base":"border radius base","border-radius-small":"border radius small","border-radius-circle":"border radius circle","box-shadow-base":"box shadow base","box-shadow-dark":"box shadow dark","box-shadow-light":"box shadow light","font-size-extra-large":"extra large font size","font-size-large":"large font size","font-size-medium":"medium font size","font-size-base":"base font size","font-size-small":"small font size","font-size-extra-small":"extra small font size","font-weight-primary":"primary font weight","font-weight-secondary":"secondary font weight","font-line-height-primary":"primary font line height","font-line-height-secondary":"secondary font line height"},"display-name":{"border-color":"border color","font-color":"font color","background-color":"background color","font-weight":"font weight","font-size":"font size","font-line-height":"font line height","border-radius":"border radius"},"action":{"require-them-name":"Theme name is required","duplicate-them-name":"Duplicate them name","confirm-delete-theme":"Are you sure you want to delete this theme?","no-preview-config":"No preview config found","max-user-theme":"Maxium user theme limit","undo":"Undo","redo":"Redo","notice":"Notice","confirm":"Confirm","cancel":"Cancel","load-local-theme-config":"Loading your last saved theme config","last-modified":"Last modified","upload-theme":"Click to upload theme","reset-theme":"Reset","rename-theme":"Rename","copy-theme":"Copy","delete-theme":"Delete","download-theme":"Download","theme-check":"Preview","theme-copy":"Copy","theme-edit":"Edit","description-element":"Default theme","description-napos":"Dark theme","description-kiwi":"kiwi theme"},"category":{"BrandColor":"Brand Color","FunctionalColor":"Functional Color","FontColor":"Font Color","BorderColor":"Border Color","BackgroundColor":"Background Color","FontSize":"Font Size","FontWeight":"Font Weight","LineHeight":"Line Height"}},{"lang":"fr-FR","variable-name":{"color-primary":"primary color","color-white":"basic white","color-black":"basic black","color-success":"success color","color-warning":"warning color","color-danger":"danger color","color-info":"info color","color-text-primary":"primary text color","color-text-regular":"regular text color","color-text-secondary":"secondary text color","color-text-placeholder":"placeholder text color","border-color-base":"border color base","border-color-light":"border color light","border-color-lighter":"border color lighter","border-color-extra-light":"border color extra light","background-color-base":"base background color","border-radius-base":"border radius base","border-radius-small":"border radius small","border-radius-circle":"border radius circle","box-shadow-base":"box shadow base","box-shadow-dark":"box shadow dark","box-shadow-light":"box shadow light","font-size-extra-large":"extra large font size","font-size-large":"large font size","font-size-medium":"medium font size","font-size-base":"base font size","font-size-small":"small font size","font-size-extra-small":"extra small font size","font-weight-primary":"primary font weight","font-weight-secondary":"secondary font weight","font-line-height-primary":"primary font line height","font-line-height-secondary":"secondary font line height"},"display-name":{"border-color":"border color","font-color":"font color","background-color":"background color","font-weight":"font weight","font-size":"font size","font-line-height":"font line height","border-radius":"border radius"},"action":{"require-them-name":"Theme name is required","duplicate-them-name":"Duplicate them name","confirm-delete-theme":"Are you sure you want to delete this theme?","no-preview-config":"No preview config found","max-user-theme":"Maxium user theme limit","undo":"Undo","redo":"Redo","notice":"Notice","confirm":"Confirm","cancel":"Cancel","load-local-theme-config":"Loading your last saved theme config","last-modified":"Last modified","upload-theme":"Click to upload theme","reset-theme":"Reset","rename-theme":"Rename","copy-theme":"Copy","delete-theme":"Delete","download-theme":"Download","theme-check":"Preview","theme-copy":"Copy","theme-edit":"Edit","description-element":"Default theme","description-napos":"Dark theme","description-kiwi":"kiwi theme"},"category":{"BrandColor":"Brand Color","FunctionalColor":"Functional Color","FontColor":"Font Color","BorderColor":"Border Color","BackgroundColor":"Background Color","FontSize":"Font Size","FontWeight":"Font Weight","LineHeight":"Line Height"}}]')},function(t){t.exports=JSON.parse('{"zh-CN":{"home":"Tis-Design - 网站快速成型工具","guide":"指南 | Tis-Design","component":"组件 | Tis-Design","resource":"资源 | Tis-Design"},"en-US":{"home":"Tis-Design - A Desktop UI Toolkit for Web","guide":"Guide | Tis-Design","component":"Component | Tis-Design","resource":"Resource | Tis-Design"},"es":{"home":"Tis-Design - Un kit de interfaz de usuario para la web","guide":"Guía | Tis-Design","component":"Componentes | Tis-Design","resource":"Recursos | Tis-Design"},"fr-FR":{"home":"Tis-Design - Un kit de composants d\'interface pour le web","guide":"Guide | Tis-Design","component":"Composants | Tis-Design","resource":"Ressources | Tis-Design"}}')},function(t){t.exports=JSON.parse('["platform-eleme","eleme","delete-solid","delete","s-tools","setting","user-solid","user","phone","phone-outline","more","more-outline","star-on","star-off","s-goods","goods","warning","warning-outline","question","info","remove","circle-plus","success","error","zoom-in","zoom-out","remove-outline","circle-plus-outline","circle-check","circle-close","s-help","help","minus","plus","check","close","picture","picture-outline","picture-outline-round","upload","upload2","download","camera-solid","camera","video-camera-solid","video-camera","message-solid","bell","s-cooperation","s-order","s-platform","s-fold","s-unfold","s-operation","s-promotion","s-home","s-release","s-ticket","s-management","s-open","s-shop","s-marketing","s-flag","s-comment","s-finance","s-claim","s-custom","s-opportunity","s-data","s-check","s-grid","menu","share","d-caret","caret-left","caret-right","caret-bottom","caret-top","bottom-left","bottom-right","back","right","bottom","top","top-left","top-right","arrow-left","arrow-right","arrow-down","arrow-up","d-arrow-left","d-arrow-right","video-pause","video-play","refresh","refresh-right","refresh-left","finished","sort","sort-up","sort-down","rank","loading","view","c-scale-to-original","date","edit","edit-outline","folder","folder-opened","folder-add","folder-remove","folder-delete","folder-checked","tickets","document-remove","document-delete","document-copy","document-checked","document","document-add","printer","paperclip","takeaway-box","search","monitor","attract","mobile","scissors","umbrella","headset","brush","mouse","coordinate","magic-stick","reading","data-line","data-board","pie-chart","data-analysis","collection-tag","film","suitcase","suitcase-1","receiving","collection","files","notebook-1","notebook-2","toilet-paper","office-building","school","table-lamp","house","no-smoking","smoking","shopping-cart-full","shopping-cart-1","shopping-cart-2","shopping-bag-1","shopping-bag-2","sold-out","sell","present","box","bank-card","money","coin","wallet","discount","price-tag","news","guide","male","female","thumb","cpu","link","connection","open","turn-off","set-up","chat-round","chat-line-round","chat-square","chat-dot-round","chat-dot-square","chat-line-square","message","postcard","position","turn-off-microphone","microphone","close-notification","bangzhu","time","odometer","crop","aim","switch-button","full-screen","copy-document","mic","stopwatch","medal-1","medal","trophy","trophy-1","first-aid-kit","discover","place","location","location-outline","location-information","add-location","delete-location","map-location","alarm-clock","timer","watch-1","watch","lock","unlock","key","service","mobile-phone","bicycle","truck","ship","basketball","football","soccer","baseball","wind-power","light-rain","lightning","heavy-rain","sunrise","sunrise-1","sunset","sunny","cloudy","partly-cloudy","cloudy-and-sunny","moon","moon-night","dish","dish-1","food","chicken","fork-spoon","knife-fork","burger","tableware","sugar","dessert","ice-cream","hot-water","water-cup","coffee-cup","cold-drink","goblet","goblet-full","goblet-square","goblet-square-full","refrigerator","grape","watermelon","cherry","apple","pear","orange","coffee","ice-tea","ice-drink","milk-tea","potato-strips","lollipop","ice-cream-square","ice-cream-round"]')},function(t,e,i){"use strict";var n=i(64),a=n.a.version,r={data:function(){return{chalk:"",docs:"",theme:"#409EFF"}},watch:{theme:function(t,e){var r,n,i,o=this;"string"==typeof t&&(r=this.getThemeCluster(t.replace("#","")),n=this.getThemeCluster(e.replace("#","")),t=(i=function(n,i){return function(){var t=o.getThemeCluster("#409EFF".replace("#","")),e=o.updateStyle(o[n],t,r),t=document.getElementById(i);t||((t=document.createElement("style")).setAttribute("id",i),document.head.appendChild(t)),t.innerText=e}})("chalk","chalk-style"),i=i("docs","docs-style"),this.chalk?t():this.getCSSString("https://unpkg.com/tis-ui@"+a+"/lib/theme-chalk/index.css",t,"chalk"),this.docs?i():(t=[].filter.call(document.querySelectorAll("link"),function(t){return/docs\..+\.css/.test(t.href||"")}))[0]&&this.getCSSString(t[0].href,i,"docs"),[].slice.call(document.querySelectorAll("style")).filter(function(t){t=t.innerText;return new RegExp(e,"i").test(t)&&!/Chalk Variables/.test(t)}).forEach(function(t){var e=t.innerText;"string"==typeof e&&(t.innerText=o.updateStyle(e,n,r))}))}},methods:{updateStyle:function(t,e,n){var i=t;return e.forEach(function(t,e){i=i.replace(new RegExp(t,"ig"),n[e])}),i},getCSSString:function(t,e,n){var i=this,r=new XMLHttpRequest;r.onreadystatechange=function(){4===r.readyState&&200===r.status&&(i[n]=r.responseText.replace(/@font-face{[^}]+}/,""),e())},r.open("GET",t),r.send()},getThemeCluster:function(t){for(var e,n,i,r,o,a,s,l,u=[t],c=0;c<=9;c++)u.push((e=t,n=Number((c/10).toFixed(2)),r=i=void 0,i=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),e=parseInt(e.slice(4,6),16),0===n?[i,r,e].join(","):(i+=Math.round(n*(255-i)),r+=Math.round(n*(255-r)),e+=Math.round(n*(255-e)),"#"+(i=i.toString(16))+(r=r.toString(16))+(e=e.toString(16)))));return u.push((o=t,a=.1,s=parseInt(o.slice(0,2),16),l=parseInt(o.slice(2,4),16),o=parseInt(o.slice(4,6),16),s=Math.round((1-a)*s),l=Math.round((1-a)*l),o=Math.round((1-a)*o),"#"+(s=s.toString(16))+(l=l.toString(16))+(o=o.toString(16)))),u}}},o=(i(1287),i(0)),s=Object(o.a)(r,function(){var e=this,t=e.$createElement;return(e._self._c||t)("tis-color-picker",{staticClass:"theme-picker",attrs:{"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})},[],!1,null,null,null).exports,l=i(382),u=i.n(l),c={data:function(){return{index:null,query:"",isEmpty:!1,langs:{"zh-CN":{search:"搜索文档",empty:"无匹配结果",index:"zh"},"en-US":{search:"Search",empty:"No results",index:"en"},es:{search:"Buscar",empty:"No hay datos que coincidan",index:"es"},"fr-FR":{search:"Rechercher",empty:"Aucun résultat",index:"fr"}}}},computed:{lang:function(){return this.$route.meta.lang},placeholder:function(){return this.lang?this.langs[this.lang].search:""},emptyText:function(){return this.lang?this.langs[this.lang].empty:""}},watch:{lang:function(){this.initIndex()}},methods:{initIndex:function(){var t=u()("4C63BTGP6S","0729c3c7f4dc8db7395ad0b19c0748d2");this.index=t.initIndex("element-"+(this.lang?this.langs[this.lang].index:"zh"))},querySearch:function(t,n){var i=this;t&&this.index.search({query:t,hitsPerPage:6},function(t,e){t?console.error(t):0<e.hits.length?(i.isEmpty=!1,n(e.hits.map(function(t){var e=t._highlightResult.content.value.replace(/\s+/g," "),n=e.indexOf('<span class="algolia-highlight">');return-1<n?e=(0<n-15?"...":"")+e.slice(Math.max(0,n-15),e.length):-1<e.indexOf("|")&&(e=""),{anchor:t.anchor,component:t.component,highlightedCompo:t._highlightResult.component.value,title:t._highlightResult.title.value,content:e}}).concat({img:!0}))):(i.isEmpty=!0,n([{isEmpty:!0}]))})},handleSelect:function(t){var e;t.img||t.isEmpty||(e=t.component||"",t=t.anchor,this.$router.push("/"+this.lang+"/component/"+e+(t?"#"+t:"")))}},mounted:function(){this.initIndex()}},r=(i(1309),Object(o.a)(c,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("tis-autocomplete",{attrs:{size:"small","popper-class":"algolia-search"+(e.isEmpty?" is-empty":""),"fetch-suggestions":e.querySearch,placeholder:e.placeholder,"trigger-on-focus":!1,"highlight-first-item":""},on:{select:e.handleSelect},scopedSlots:e._u([{key:"default",fn:function(t){return[t.item.title?n("p",{staticClass:"algolia-search-title"},[n("span",{domProps:{innerHTML:e._s(t.item.highlightedCompo)}}),n("span",{staticClass:"algolia-search-separator"}),n("span",{domProps:{innerHTML:e._s(t.item.title)}})]):e._e(),t.item.content?n("p",{staticClass:"algolia-search-content",domProps:{innerHTML:e._s(t.item.content)}}):e._e(),t.item.img?n("a",{staticClass:"algolia-search-link",attrs:{target:"_blank",href:"https://www.algolia.com/docsearch"}},[n("img",{staticClass:"algolia-search-logo",attrs:{src:i(1288),alt:"algolia-logo"}})]):e._e(),t.item.isEmpty?n("p",{staticClass:"algolia-search-empty"},[e._v(e._s(e.emptyText))]):e._e()]}}]),model:{value:e.query,callback:function(t){e.query=t},expression:"query"}})},[],!1,null,null,null).exports),h=i(94),d=i(58),l=i(6),c=i.n(l),l={data:function(){return{percent:0,show:!1,canSuccess:!0,duration:3e3,height:"2px"}},methods:{successColor:function(){return this.userSelectColor()["$--color-primary"]||"#409EFF"},failedColor:function(){return this.userSelectColor()["$--color-danger"]||"#F56C6C"},userSelectColor:function(){return window.userThemeConfig&&window.userThemeConfig.global||{}},start:function(){var t=this;return this.show=!0,this.canSuccess=!0,this._timer&&(clearInterval(this._timer),this.percent=0),this._cut=1e4/Math.floor(this.duration),this._timer=setInterval(function(){t.increase(t._cut*Math.random()),90<=t.percent&&(t.percent=90)},100),this},set:function(t){return this.show=!0,this.canSuccess=!0,this.percent=Math.floor(t),this},get:function(){return Math.floor(this.percent)},increase:function(t){return this.percent=this.percent+Math.floor(t),this},decrease:function(t){return this.percent=this.percent-Math.floor(t),this},finish:function(){return this.percent=100,this.hide(),this},pause:function(){return clearInterval(this._timer),this},hide:function(){var t=this;return clearInterval(this._timer),this._timer=null,setTimeout(function(){t.show=!1,t.$nextTick(function(){setTimeout(function(){t.percent=0},200)})},500),this},fail:function(){return this.canSuccess=!1,this}}},l=(i(1310),Object(o.a)(l,function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"progress",style:{width:this.percent+"%",height:this.height,"background-color":this.canSuccess?this.successColor():this.failedColor(),opacity:this.show?1:0}})},[],!1,null,"3285c94c",null).exports);c.a.prototype.$bar=new c.a(l).$mount(),document.body.appendChild(c.a.prototype.$bar.$el);var l={data:function(){return{count:0}},created:function(){var e=this;d.a.$on("user-theme-config-loading",function(t){t?(e.count++,1<e.count||e.$bar.start()):(e.count--,e.count||e.$bar.finish())})}},c=(i(1311),Object(o.a)(l,void 0,void 0,!1,null,null,null).exports),p=i(148),f=i(264),g="#409EFF",l={data:function(){return{docs:"",theme:g,asyncCb:!0}},methods:{updateDocStyle:function(t,e){var n,i,r=this,o=t.global["$--color-primary"]||g,a=this.theme,s=(n="docs",i="docs-style",function(){var t=r.updateStyle(r[n],g,o);Object(f.b)(i,t),r.asyncCb&&e()});this.docs?s():(t=[].filter.call(document.querySelectorAll("link"),function(t){return/docs\..+\.css/.test(t.href||"")}))[0]?this.getCSSString(t[0].href,s,"docs"):this.asyncCb=!1,[].slice.call(document.querySelectorAll("style")).filter(function(t){t=t.innerText;return new RegExp(a,"i").test(t)&&!/Chalk Variables/.test(t)}).forEach(function(t){var e=t.innerText;"string"==typeof e&&(t.innerText=r.updateStyle(e,a,o))}),this.theme=o,this.asyncCb||e()},updateStyle:function(t,e,n){return t.replace(new RegExp(e,"ig"),n)},getCSSString:function(t,e,n){var i=this;Object(p.a)(t).then(function(t){i[n]=t,e()})}}},l=Object(o.a)(l,void 0,void 0,!1,null,null,null).exports,m=i(176),v=i(59),y=i(316),x=i(616),l={mixins:[c,l],mounted:function(){var n=this;this.checkLocalThemeConfig(),d.a.$on(v.a,function(t){n.userConfig=t,n.onAction()}),d.a.$on(v.c,function(t,e){n.onDownload(t,e)})},data:function(){return{userConfig:{},lastApply:0}},methods:{applyStyle:function(t,e){e<this.lastApply||(this.updateDocs(function(){Object(f.b)("chalk-style",t)}),this.lastApply=e)},onDownload:function(t,e){var n=this;this.triggertProgressBar(!0),Object(m.c)(Object.assign({},t,{download:!0}),function(t){t.responseType="blob"}).then().catch(function(t){n.onError(t)}).then(function(){n.triggertProgressBar(!1)}),ga("send","event","ThemeConfigurator","Download",e)},onAction:function(){var e=this;this.triggertProgressBar(!0);var n=+new Date;Object(m.c)(this.userConfig).then(function(t){e.applyStyle(t,n)}).catch(function(t){e.onError(t)}).then(function(){e.triggertProgressBar(!1)})},onError:function(e){var n=void 0;try{n=JSON.parse(e).message}catch(t){n=e}this.$message.error(n)},triggertProgressBar:function(t){d.a.$emit("user-theme-config-loading",t)},updateDocs:function(t){window.userThemeConfig=JSON.parse(JSON.stringify(this.userConfig)),d.a.$emit(v.d,this.userConfig),this.updateDocStyle(this.userConfig,t)},checkLocalThemeConfig:function(){var t,e=Object(y.a)();"user"===e.type&&(t=Object(y.b)(),this.$message(Object(x.c)("load-local-theme-config")),(t=t.filter(function(t){return t.name===e.name}))&&t[0]&&(this.userConfig=JSON.parse(t[0].theme),this.onAction()))}}},l=Object(o.a)(l,void 0,void 0,!1,null,null,null).exports,_=n.a.version,b={component:"组件",mobile:"移动端组件"},r={data:function(){return{active:"",versions:[],version:_,comTypeMap:b,verDropdownVisible:!0,langDropdownVisible:!0,activeComponentType:"组件",langs:{"zh-CN":"中文","en-US":"English",es:"Español","fr-FR":"Français"}}},mixins:[l],components:{ThemePicker:s,AlgoliaSearch:r},computed:{lang:function(){return this.$route.path.split("/")[1]||"zh-CN"},comType:function(){return this.$route.path.split("/")[2]||"component"},displayedLang:function(){return this.langs[this.lang]||"中文"},langConfig:function(){var e=this;return h.filter(function(t){return t.lang===e.lang})[0].header},isComponentPage:function(){return/^component/.test(this.$route.name)}},mounted:function(){var t=this;Object(m.a)().then(function(){t.$isEle=!0,ga("send","event","DocView","Ele","Inner")}).catch(function(t){ga("send","event","DocView","Ele","Outer"),console.error(t)});var e=new Image;e.onload=function(){t.$isEle=!0,ga("send","event","DocView","Ali","Inner")},e.onerror=function(t){ga("send","event","DocView","Ali","Outer"),console.error(t)},e.src="https://private-alipayobjects.alipay.com/alipay-rmsdeploy-image/rmsportal/VmvVUItLdPNqKlNGuRHi.png?t="+Date.now()},methods:{switchVersion:function(t){t!==this.version&&(location.href=location.origin+"/"+this.versions[t]+"/"+location.hash+" ")},switchLang:function(t){this.lang!==t&&(localStorage.setItem("ELEMENT_LANGUAGE",t),this.$router.push(this.$route.path.replace(this.lang,t)))},handleVerDropdownToggle:function(t){this.verDropdownVisible=t},handleLangDropdownToggle:function(t){this.langDropdownVisible=t},comTypeClick:function(t){this.comTypeClick=t},changeTheme:function(){null===document.documentElement.getAttribute("data-theme")?document.documentElement.setAttribute("data-theme","blue"):document.documentElement.removeAttribute("data-theme")}},created:function(){var e=this,i=new XMLHttpRequest;i.onreadystatechange=function(t){var n;4===i.readyState&&200===i.status&&(n=JSON.parse(i.responseText),e.versions=Object.keys(n).reduce(function(t,e){return t[e]=n[e],t},{}))},i.open("GET","/versions.json"),i.send();var r="#FFFFFF";d.a.$on(v.d,function(t){var e=(e=t.global["$--color-primary"])||"#FFFFFF",n="data:image/svg+xml;base64,";document.querySelectorAll("h1 img").forEach(function(t){t.src=n+window.btoa(window.atob(t.src.replace(n,"")).replace(r,e))}),r=e})}},r=(i(1312),Object(o.a)(r,function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("div",{staticClass:"headerWrapper"},[e("header",{ref:"header",staticClass:"header"},[e("div",{staticClass:"container"},[e("h1",[e("router-link",{attrs:{to:"/"+t.lang}},[t._t("default",[e("img",{staticClass:"nav-logo",attrs:{src:i(1285),alt:"element-logo"}}),e("img",{staticClass:"nav-logo-small",attrs:{src:i(1286),alt:"element-logo"}})])],2)],1),e("ul",{staticClass:"nav"},[e("li",{directives:[{name:"show",rawName:"v-show",value:t.isComponentPage,expression:"isComponentPage"}],staticClass:"nav-item nav-algolia-search"},[e("algolia-search")],1),e("li",{staticClass:"nav-item"},[e("router-link",{attrs:{"active-class":"active",to:"/"+t.lang+"/home"}},[t._v(t._s(t.langConfig.home)+"\n ")])],1),e("li",{staticClass:"nav-item"},[e("router-link",{attrs:{"active-class":"active",to:"/"+t.lang+"/guide"}},[t._v(t._s(t.langConfig.guide)+"\n ")])],1),e("li",{staticClass:"nav-item"},[e("tis-dropdown",{staticClass:"nav-dropdown",class:{"is-active":t.verDropdownVisible},attrs:{trigger:"hover"}},[e("span",[t._v("\n "+t._s(t.comTypeMap[t.comType]||"组件")+"\n "),e("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e("tis-dropdown-menu",{staticClass:"nav-dropdown-list",attrs:{slot:"dropdown"},on:{input:t.handleVerDropdownToggle},slot:"dropdown"},[e("tis-dropdown-item",[e("span",{on:{click:t.comTypeClick}},[e("router-link",{attrs:{to:"/"+t.lang+"/component"}},[t._v(t._s(t.langConfig.components)+"\n ")])],1)]),e("tis-dropdown-item",[e("span",{on:{click:t.comTypeClick}},[e("router-link",{attrs:{to:"/"+t.lang+"/mobile"}},[t._v(t._s(t.langConfig["mobile-components"])+"\n ")])],1)])],1)],1)],1),e("li",{staticClass:"nav-item"},[e("router-link",{attrs:{"active-class":"active",to:"/"+t.lang+"/main-layout"}},[t._v(t._s(t.langConfig.mainLayout)+"\n ")])],1),e("li",{directives:[{name:"show",rawName:"v-show",value:t.isComponentPage,expression:"isComponentPage"}],staticClass:"nav-item"},[e("div",{staticClass:"nav-gap"})]),e("li",{directives:[{name:"show",rawName:"v-show",value:t.isComponentPage,expression:"isComponentPage"}],staticClass:"nav-item nav-versions"},[e("tis-dropdown",{staticClass:"nav-dropdown",class:{"is-active":t.verDropdownVisible},attrs:{trigger:"click"}},[e("span",[t._v("\n 1.0\n "),e("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e("tis-dropdown-menu",{staticClass:"nav-dropdown-list",attrs:{slot:"dropdown"},on:{input:t.handleVerDropdownToggle},slot:"dropdown"},[e("tis-dropdown-item",[t._v("\n 1.0\n ")])],1)],1)],1)])])])])},[],!1,null,"051ed6bd",null));e.a=r.exports},function(t,e,n){"use strict";var i=n(120),p=n.n(i),i=n(65),f=n.n(i),l=/%[sdj%]/g;function g(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,r=e[0],o=e.length;if("function"==typeof r)return r.apply(null,e.slice(1));if("string"!=typeof r)return r;for(var a=String(r).replace(l,function(t){if("%%"===t)return"%";if(o<=i)return t;switch(t){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(t){return"[Circular]"}break;default:return t}}),s=e[i];i<o;s=e[++i])a+=" "+s;return a}function s(t,e){return null==t||("array"===e&&Array.isArray(t)&&!t.length||!("string"!==(e=e)&&"url"!==e&&"hex"!==e&&"email"!==e&&"pattern"!==e||"string"!=typeof t||t))}function d(n,i,r){var o=0,a=n.length;!function t(e){e&&e.length?r(e):(e=o,o+=1,e<a?i(n[e],t):r([]))}([])}function u(l,t,u,e){var n,i;if(t.first)return d((n=l,i=[],Object.keys(n).forEach(function(t){i.push.apply(i,n[t])}),i),u,e),0;var c=t.firstFields||[];!0===c&&(c=Object.keys(l));function h(t){a.push.apply(a,t),++o===r&&e(a)}var t=Object.keys(l),r=t.length,o=0,a=[];t.forEach(function(t){var e,n,i,r,o,a=l[t];function s(t){i.push.apply(i,t),++r===o&&n(i)}-1!==c.indexOf(t)?d(a,u,h):(e=u,n=h,i=[],r=0,o=(a=a).length,a.forEach(function(t){e(t,s)}))})}function m(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:t,field:t.field||e.fullField}}}function c(t,e){if(e)for(var n in e){var i;e.hasOwnProperty(n)&&("object"===(void 0===(i=e[n])?"undefined":f()(i))&&"object"===f()(t[n])?t[n]=p()({},t[n],i):t[n]=i)}return t}var o=function(t,e,n,i,r,o){!t.required||n.hasOwnProperty(t.field)&&!s(e,o||t.type)||i.push(g(r.messages.required,t.fullField))};var n=function(t,e,n,i,r){!/^\s+$/.test(e)&&""!==e||i.push(g(r.messages.whitespace,t.fullField))},r={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},a={integer:function(t){return a.number(t)&&parseInt(t,10)===t},float:function(t){return a.number(t)&&!a.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(t){return!1}},date:function(t){return"function"==typeof t.getTime&&"function"==typeof t.getMonth&&"function"==typeof t.getYear},number:function(t){return!isNaN(t)&&"number"==typeof t},object:function(t){return"object"===(void 0===t?"undefined":f()(t))&&!a.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&!!t.match(r.email)&&t.length<255},url:function(t){return"string"==typeof t&&!!t.match(r.url)},hex:function(t){return"string"==typeof t&&!!t.match(r.hex)}};i=function(t,e,n,i,r){t.required&&void 0===e?o(t,e,n,i,r):(n=t.type,-1<["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(n)?a[n](e)||i.push(g(r.messages.types[n],t.fullField,t.type)):n&&(void 0===e?"undefined":f()(e))!==t.type&&i.push(g(r.messages.types[n],t.fullField,t.type)))};var h={required:o,whitespace:n,type:i,range:function(t,e,n,i,r){var o="number"==typeof t.len,a="number"==typeof t.min,s="number"==typeof t.max,l=e,u=null,c="number"==typeof e,h="string"==typeof e,d=Array.isArray(e);if(c?u="number":h?u="string":d&&(u="array"),!u)return!1;d&&(l=e.length),h&&(l=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?l!==t.len&&i.push(g(r.messages[u].len,t.fullField,t.len)):a&&!s&&l<t.min?i.push(g(r.messages[u].min,t.fullField,t.min)):s&&!a&&l>t.max?i.push(g(r.messages[u].max,t.fullField,t.max)):a&&s&&(l<t.min||l>t.max)&&i.push(g(r.messages[u].range,t.fullField,t.min,t.max))},enum:function(t,e,n,i,r){t.enum=Array.isArray(t.enum)?t.enum:[],-1===t.enum.indexOf(e)&&i.push(g(r.messages.enum,t.fullField,t.enum.join(", ")))},pattern:function(t,e,n,i,r){t.pattern&&(t.pattern instanceof RegExp?(t.pattern.lastIndex=0,t.pattern.test(e)||i.push(g(r.messages.pattern.mismatch,t.fullField,e,t.pattern))):"string"==typeof t.pattern&&(new RegExp(t.pattern).test(e)||i.push(g(r.messages.pattern.mismatch,t.fullField,e,t.pattern))))}};var i=function(t,e,n,i,r){var o=t.type,a=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e,o)&&!t.required)return n();h.required(t,e,i,a,r,o),s(e,o)||h.type(t,e,i,a,r)}n(a)},v={string:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e,"string")&&!t.required)return n();h.required(t,e,i,o,r,"string"),s(e,"string")||(h.type(t,e,i,o,r),h.range(t,e,i,o,r),h.pattern(t,e,i,o,r),!0===t.whitespace&&h.whitespace(t,e,i,o,r))}n(o)},method:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();h.required(t,e,i,o,r),void 0!==e&&h.type(t,e,i,o,r)}n(o)},number:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();h.required(t,e,i,o,r),void 0!==e&&(h.type(t,e,i,o,r),h.range(t,e,i,o,r))}n(o)},boolean:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();h.required(t,e,i,o,r),void 0!==e&&h.type(t,e,i,o,r)}n(o)},regexp:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();h.required(t,e,i,o,r),s(e)||h.type(t,e,i,o,r)}n(o)},integer:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();h.required(t,e,i,o,r),void 0!==e&&(h.type(t,e,i,o,r),h.range(t,e,i,o,r))}n(o)},float:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();h.required(t,e,i,o,r),void 0!==e&&(h.type(t,e,i,o,r),h.range(t,e,i,o,r))}n(o)},array:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e,"array")&&!t.required)return n();h.required(t,e,i,o,r,"array"),s(e,"array")||(h.type(t,e,i,o,r),h.range(t,e,i,o,r))}n(o)},object:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();h.required(t,e,i,o,r),void 0!==e&&h.type(t,e,i,o,r)}n(o)},enum:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();h.required(t,e,i,o,r),e&&h.enum(t,e,i,o,r)}n(o)},pattern:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e,"string")&&!t.required)return n();h.required(t,e,i,o,r),s(e,"string")||h.pattern(t,e,i,o,r)}n(o)},date:function(t,e,n,i,r){var o,a=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();h.required(t,e,i,a,r),s(e)||(o=void 0,o="number"==typeof e?new Date(e):e,h.type(t,o,i,a,r),o&&h.range(t,o.getTime(),i,a,r))}n(a)},url:i,hex:i,email:i,required:function(t,e,n,i,r){var o=[],a=Array.isArray(e)?"array":void 0===e?"undefined":f()(e);h.required(t,e,i,o,r,a),n(o)}};function y(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var x=y();function _(t){this.rules=null,this._messages=x,this.define(t)}_.prototype={messages:function(t){return t&&(this._messages=c(y(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===t?"undefined":f()(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e,n=void 0;for(n in t)t.hasOwnProperty(n)&&(e=t[n],this.rules[n]=Array.isArray(e)?e:[e])},validate:function(n){var t,i,r,o,h,a=this,s=n,d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},l=arguments[2];function e(t){var e,n,i=void 0,r=[],o={};for(i=0;i<t.length;i++)n=t[i],Array.isArray(n)?r=r.concat.apply(r,n):r.push(n);if(r.length)for(i=0;i<r.length;i++)o[e=r[i].field]=o[e]||[],o[e].push(r[i]);else o=r=null;l(r,o)}"function"==typeof d&&(l=d,d={}),this.rules&&0!==Object.keys(this.rules).length?(d.messages?(c(t=(t=this.messages())===x?y():t,d.messages),d.messages=t):d.messages=this.messages(),r=i=void 0,o={},(d.keys||Object.keys(this.rules)).forEach(function(e){i=a.rules[e],r=s[e],i.forEach(function(t){"function"==typeof t.transform&&(s===n&&(s=p()({},s)),r=s[e]=t.transform(r)),(t="function"==typeof t?{validator:t}:p()({},t)).validator=a.getValidationMethod(t),t.field=e,t.fullField=t.fullField||e,t.type=a.getType(t),t.validator&&(o[e]=o[e]||[],o[e].push({rule:t,value:r,source:s,field:e}))})}),h={},u(o,d,function(a,s){var l=a.rule,u=!("object"!==l.type&&"array"!==l.type||"object"!==f()(l.fields)&&"object"!==f()(l.defaultField));function c(t,e){return p()({},e,{fullField:l.fullField+"."+t})}function e(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];if((e=!Array.isArray(e)?[e]:e).length,e=(e=e.length&&l.message?[].concat(l.message):e).map(m(l)),d.first&&e.length)return h[l.field]=1,s(e);if(u){if(l.required&&!a.value)return e=l.message?[].concat(l.message).map(m(l)):d.error?[d.error(l,g(d.messages.required,l.field))]:[],s(e);var t,n,i={};if(l.defaultField)for(var r in a.value)a.value.hasOwnProperty(r)&&(i[r]=l.defaultField);for(t in i=p()({},i,a.rule.fields))i.hasOwnProperty(t)&&(n=Array.isArray(i[t])?i[t]:[i[t]],i[t]=n.map(c.bind(null,t)));var o=new _(i);o.messages(d.messages),a.rule.options&&(a.rule.options.messages=d.messages,a.rule.options.error=d.error),o.validate(a.value,a.rule.options||d,function(t){s(t&&t.length?e.concat(t):t)})}else s(e)}u=u&&(l.required||!l.required&&a.value),l.field=a.field;var t=l.validator(l,a.value,e,a.source,d);t&&t.then&&t.then(function(){return e()},function(t){return e(t)})},function(t){e(t)})):l&&l()},getType:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!=typeof t.validator&&t.type&&!v.hasOwnProperty(t.type))throw new Error(g("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if("function"==typeof t.validator)return t.validator;var e=Object.keys(t),n=e.indexOf("message");return-1!==n&&e.splice(n,1),1===e.length&&"required"===e[0]?v.required:v[this.getType(t)]||!1}},_.register=function(t,e){if("function"!=typeof e)throw new Error("Cannot register a validator by type, validator is not a function");v[t]=e},_.messages=x;e.a=_},,function(t,e,n){"use strict";var i=n(94);var o=n(64).a.version,r={data:function(){return{codepen:{script:"",html:"",style:""},hovering:!1,isExpanded:!1,fixedControl:!1,scrollParent:null}},methods:{goCodepen:function(){for(var t=this.codepen,e=t.script,n=t.html,i=t.style,t='<script src="//unpkg.com/vue/dist/vue.js"><\/script>\n<script src="//unpkg.com/tis-ui@'+o+'/lib/index.js"><\/script>',e=(e||"").replace(/export default/,"var Main =").trim(),n=t+'\n<div id="app">\n'+n.trim()+"\n</div>",i={js:e=e?e+"\nvar Ctor = Vue.extend(Main)\nnew Ctor().$mount('#app')":"new Vue().$mount('#app')",css:'@import url("//unpkg.com/tis-ui@'+o+'/lib/theme-chalk/index.css");\n'+(i||"").trim()+"\n",html:n},r=document.getElementById("fiddle-form")||document.createElement("form");r.firstChild;)r.removeChild(r.firstChild);r.method="POST",r.action="https://codepen.io/pen/define/",r.target="_blank",r.style.display="none";n=document.createElement("input");n.setAttribute("name","data"),n.setAttribute("type","hidden"),n.setAttribute("value",JSON.stringify(i)),r.appendChild(n),document.body.appendChild(r),r.submit()},scrollHandler:function(){var t=this.$refs.meta.getBoundingClientRect(),e=t.top,n=t.bottom,t=t.left;this.fixedControl=n>document.documentElement.clientHeight&&e+44<=document.documentElement.clientHeight,this.$refs.control.style.left=this.fixedControl?t+"px":"0"},removeScrollHandler:function(){this.scrollParent&&this.scrollParent.removeEventListener("scroll",this.scrollHandler)}},computed:{lang:function(){return this.$route.path.split("/")[1]},langConfig:function(){var e=this;return i.filter(function(t){return t.lang===e.lang})[0]["demo-block"]},blockClass:function(){return"demo-"+this.lang+" demo-"+this.$router.currentRoute.path.split("/").pop()},iconClass:function(){return this.isExpanded?"el-icon-caret-top":"el-icon-caret-bottom"},controlText:function(){return this.isExpanded?this.langConfig["hide-text"]:this.langConfig["show-text"]},codeArea:function(){return this.$el.getElementsByClassName("meta")[0]},codeAreaHeight:function(){return 0<this.$el.getElementsByClassName("description").length?this.$el.getElementsByClassName("description")[0].clientHeight+this.$el.getElementsByClassName("highlight")[0].clientHeight+20:this.$el.getElementsByClassName("highlight")[0].clientHeight}},watch:{isExpanded:function(t){var e=this;if(this.codeArea.style.height=t?this.codeAreaHeight+1+"px":"0",!t)return this.fixedControl=!1,this.$refs.control.style.left="0",void this.removeScrollHandler();setTimeout(function(){e.scrollParent=document.querySelector(".page-component__scroll > .el-scrollbar__wrap"),e.scrollParent&&e.scrollParent.addEventListener("scroll",e.scrollHandler),e.scrollHandler()},200)}},created:function(){var t,e=this.$slots.highlight;e&&e[0]&&(t="",(t="pre"===(e=e[0]).tag&&e.children&&e.children[0]&&"code"===(e=e.children[0]).tag?e.children[0].text:t)&&(this.codepen.html=(e=(e=t).trim())?e.replace(/<(script|style)[\s\S]+<\/\1>/g,"").trim():e,this.codepen.script=(e=(e=t).match(/<(script)>([\s\S]+)<\/\1>/))&&e[2]?e[2].trim():"",this.codepen.style=(t=(t=t).match(/<(style)\s*>([\s\S]+)<\/\1>/))&&t[2]?t[2].trim():""))},mounted:function(){var e=this;this.$nextTick(function(){var t=e.$el.getElementsByClassName("highlight")[0];0===e.$el.getElementsByClassName("description").length&&(t.style.width="100%",t.borderRight="none")})},beforeDestroy:function(){this.removeScrollHandler()}},n=(n(1282),n(0)),r=Object(n.a)(r,function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{staticClass:"demo-block",class:[e.blockClass,{hover:e.hovering}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},[t("div",{staticClass:"source"},[e._t("source")],2),t("div",{ref:"meta",staticClass:"meta"},[e.$slots.default?t("div",{staticClass:"description"},[e._t("default")],2):e._e(),t("div",{staticClass:"highlight"},[e._t("highlight")],2)]),t("div",{ref:"control",staticClass:"demo-block-control",class:{"is-fixed":e.fixedControl},on:{click:function(t){e.isExpanded=!e.isExpanded}}},[t("transition",{attrs:{name:"arrow-slide"}},[t("i",{class:[e.iconClass,{hovering:e.hovering}]})]),t("transition",{attrs:{name:"text-slide"}},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.hovering,expression:"hovering"}]},[e._v(e._s(e.controlText))])])],1)])},[],!1,null,null,null);e.a=r.exports},,,function(t,e,n){"use strict";var i=n(58),r=n(94),o={props:{data:Array,base:{type:String,default:""}},data:function(){return{highlights:[],navState:[],isSmallScreen:!1,isFade:!1}},watch:{"$route.path":function(){this.handlePathChange()},isFade:function(t){i.a.$emit("navFade",t)}},computed:{navStyle:function(){var t={};return this.isSmallScreen&&(t.paddingBottom="60px"),t.opacity=this.isFade?"0.5":"1",t},lang:function(){return this.$route.meta.lang},langConfig:function(){var e=this;return r.filter(function(t){return t.lang===e.lang})[0].nav}},methods:{handleResize:function(){this.isSmallScreen=document.documentElement.clientWidth<768,this.handlePathChange()},handlePathChange:function(){var e=this;this.isSmallScreen?this.$nextTick(function(){e.hideAllMenu();for(var t=e.$el.querySelector("a.active").parentNode;"UL"!==t.tagName;)t=t.parentNode;t.style.height="auto"}):this.expandAllMenu()},hideAllMenu:function(){[].forEach.call(this.$el.querySelectorAll(".pure-menu-list"),function(t){t.style.height="0"})},expandAllMenu:function(){[].forEach.call(this.$el.querySelectorAll(".pure-menu-list"),function(t){t.style.height="auto"})},expandMenu:function(t){var e;!this.isSmallScreen||(e=t.currentTarget).nextElementSibling&&"UL"===e.nextElementSibling.tagName&&(this.hideAllMenu(),t.currentTarget.nextElementSibling.style.height="auto")}},created:function(){var t=this;i.a.$on("fadeNav",function(){t.isFade=!0})},mounted:function(){this.handleResize(),window.addEventListener("resize",this.handleResize)},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize)}},n=(n(1313),n(0)),o=Object(n.a)(o,function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",{staticClass:"side-nav",class:{"is-fade":n.isFade},style:n.navStyle,on:{mouseenter:function(t){n.isFade=!1}}},[i("ul",n._l(n.data,function(t,e){return i("li",{key:e,staticClass:"nav-item"},[t.path||t.href?n._e():i("a",{on:{click:n.expandMenu}},[n._v(n._s(t.name))]),t.href?i("a",{attrs:{href:t.href,target:"_blank"}},[n._v(n._s(t.name))]):n._e(),t.path?i("router-link",{attrs:{"active-class":"active",to:n.base+t.path,exact:""},domProps:{textContent:n._s(t.title||t.name)}}):n._e(),t.children?i("ul",{staticClass:"pure-menu-list sub-nav"},n._l(t.children,function(t,e){return i("li",{key:e,staticClass:"nav-item"},[i("router-link",{attrs:{"active-class":"active",to:n.base+t.path,exact:""},domProps:{textContent:n._s(t.title||t.name)}})],1)}),0):n._e(),t.groups?n._l(t.groups,function(t,e){return i("div",{key:e,staticClass:"nav-group"},[i("div",{staticClass:"nav-group__title",on:{click:n.expandMenu}},[n._v(n._s(t.groupName))]),i("ul",{staticClass:"pure-menu-list"},n._l(t.list,function(t,e){return i("li",{directives:[{name:"show",rawName:"v-show",value:!t.disabled,expression:"!navItem.disabled"}],key:e,staticClass:"nav-item"},[i("router-link",{attrs:{"active-class":"active",to:n.base+t.path,exact:""},domProps:{textContent:n._s(t.title)}})],1)}),0)])}):n._e()],2)}),0)])},[],!1,null,null,null);e.a=o.exports},function(t,e,n){"use strict";function i(t){Object(r.c)(o.a)}var r=n(27),o=n(293);i();var a={name:"app",computed:{lang:function(){return"zh-CN"},isComponent:function(){return/^component-/.test(this.$route.name||"")}},watch:{lang:function(t){i()}},mounted:function(){i(this.lang)}},n=n(0),a=Object(n.a)(a,function(){var t=this.$createElement,t=this._self._c||t;return t("div",{class:{"is-component":this.isComponent},attrs:{id:"app"}},["play"!==this.lang?t("main-header"):this._e(),t("div",{staticClass:"main-cnt"},[t("router-view")],1),"play"===this.lang||this.isComponent?this._e():t("main-footer")],1)},[],!1,null,null,null);e.a=a.exports},function(t,e,n){"use strict";var i=[function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"footer-content-desc"},[t("img",{attrs:{src:n(1283),alt:""}}),t("div",{staticClass:"desc-txt"},[this._v("\n TIS Design是给轻步开发者打造的开发平台,提供完善的开发文档和灵活的组件。开发者可以通过一站式丰富的文档和灵活的组件库快速开发轻步应用和组件。\n ")])])},function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"footer-content-nav-item"},[t("div",{staticClass:"nav-item-title"},[this._v("联系我们")]),t("div",{staticClass:"nav-item-list"},[t("div",{staticClass:"list-item"},[this._v("合作咨询")]),t("div",{staticClass:"list-item"},[this._v("信息反馈")])])])},function(){var t=this.$createElement,t=this._self._c||t;return t("div",{staticClass:"footer-social"},[t("p",{staticClass:"footer-social-title"},[this._v("©Copyright 2021, 207 developers.")])])}],r=n(94),o=n(64).a.version,a={data:function(){return{version:o}},methods:{linkToDetail:function(t){this.$router.push(t)}},computed:{lang:function(){return this.$route.path.split("/")[1]||"zh-CN"},langConfig:function(){var e=this;return r.filter(function(t){return t.lang===e.lang})[0].footer},gitterLink:function(){return"zh-CN"===this.lang?"https://gitter.im/ElemeFE/element":"https://gitter.im/element-en/Lobby"}}},s=(n(1284),n(0)),i=Object(s.a)(a,function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("footer",{staticClass:"footer"},[t("div",{staticClass:"container"},[t("div",{staticClass:"footer-content"},[e._m(0),t("div",{staticClass:"footer-content-nav"},[t("div",{staticClass:"footer-content-nav-item"},[t("div",{staticClass:"nav-item-title"},[e._v("教程")]),t("div",{staticClass:"nav-item-list"},[t("div",{staticClass:"list-item",on:{click:function(t){e.linkToDetail("/zh-CN/main-layout/quickstart")}}},[e._v("入门教程")]),t("div",{staticClass:"list-item",on:{click:function(t){e.linkToDetail("/zh-CN/main-layout/develop")}}},[e._v("环境安装")])])]),t("div",{staticClass:"footer-content-nav-item"},[t("div",{staticClass:"nav-item-title"},[e._v("组件")]),t("div",{staticClass:"nav-item-list"},[t("div",{staticClass:"list-item",on:{click:function(t){e.linkToDetail("/zh-CN/guide/design")}}},[e._v("规范文档")]),t("div",{staticClass:"list-item",on:{click:function(t){e.linkToDetail("/zh-CN/component/installation")}}},[e._v("组件文档")]),t("div",{staticClass:"list-item",on:{click:function(t){e.linkToDetail("/zh-CN/mobile/m-button")}}},[e._v("移动端组件文档")])])]),e._m(1)])]),e._m(2)])])},i,!1,null,null,null);e.a=i.exports},,function(t,e,n){"use strict";var i=n(263),r={data:function(){return{currentComponent:null,nav:[],currentIndex:-1,leftNav:null,rightNav:null}},computed:{lang:function(){return this.$route.meta.lang}},watch:{"$route.path":function(){this.setNav(),this.updateNav()}},methods:{setNav:function(){var e=this,t=i[this.lang];this.nav=t[0].children,t[1].groups.map(function(t){return t.list}).forEach(function(t){e.nav=e.nav.concat(t)})},updateNav:function(){this.currentComponent="/"+this.$route.path.split("/")[3];for(var t=0,e=this.nav.length;t<e;t++)if(this.nav[t].path===this.currentComponent){this.currentIndex=t;break}this.leftNav=this.nav[this.currentIndex-1],this.rightNav=this.nav[this.currentIndex+1]},handleNavClick:function(t){this.$router.push("/"+this.lang+"/component"+("prev"===t?this.leftNav:this.rightNav).path)}},created:function(){this.setNav(),this.updateNav()}},n=(n(1314),n(0)),r=Object(n.a)(r,function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{staticClass:"footer-nav"},[e.leftNav?t("span",{staticClass:"footer-nav-link footer-nav-left",on:{click:function(t){e.handleNavClick("prev")}}},[t("i",{staticClass:"el-icon-arrow-left"}),e._v("\n "+e._s(e.leftNav.title||e.leftNav.name)+"\n ")]):e._e(),e.rightNav?t("span",{staticClass:"footer-nav-link footer-nav-right",on:{click:function(t){e.handleNavClick("next")}}},[e._v("\n "+e._s(e.rightNav.title||e.rightNav.name)+"\n "),t("i",{staticClass:"el-icon-arrow-right"})]):e._e()])},[],!1,null,null,null);e.a=r.exports},function(t,e,m){"use strict";m.r(e),function(t){var e=m(6),i=m.n(e),n=m(792),r=m(410),o=m.n(r),a=m(64),s=m(779),l=m.n(s),u=m(780),c=m(788),h=m(793),d=m(785),p=m(791),e=m(795),f=m(783),r=m(1315),s=m(1316),r=m(1317),s=m(784),r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};console.log("init "),i.a.use(a.a),i.a.use(o.a),i.a.component("demo-block",c.a),i.a.component("main-footer",h.a),i.a.component("main-header",d.a),i.a.component("side-nav",p.a),i.a.component("footer-nav",e.a);var g=new i.a({data:{$isEle:!1}});i.a.mixin({computed:{$isEle:{get:function(){return g.$data.$isEle},set:function(t){g.$data.$isEle=t}}}}),i.a.prototype.$icon=s;u=new o.a({mode:"hash",base:t,routes:u.a});u.afterEach(function(t){i.a.nextTick(function(){var t=document.querySelectorAll("pre code:not(.hljs)");Array.prototype.forEach.call(t,l.a.highlightBlock)});var e,n=f[t.meta.lang];for(e in n)if(new RegExp("^"+e,"g").test(t.name))return void(document.title=n[e]);document.title="TIS",ga("send","event","PageView",t.name)}),new i.a(r({},n.a,{router:u})).$mount("#app")}.call(this,"/")},,,,,,function(t,e,n){t.exports={default:n(803),__esModule:!0}},function(t,e,n){n(804),t.exports=n(151).Object.assign},function(t,e,n){var i=n(317);i(i.S+i.F,"Object",{assign:n(807)})},function(t,e,n){var o=n(806);t.exports=function(i,r,t){if(o(i),void 0===r)return i;switch(t){case 1:return function(t){return i.call(r,t)};case 2:return function(t,e){return i.call(r,t,e)};case 3:return function(t,e,n){return i.call(r,t,e,n)}}return function(){return i.apply(r,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var d=n(99),p=n(267),f=n(324),g=n(270),m=n(325),v=n(620),r=Object.assign;t.exports=!r||n(153)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=r({},t)[n]||Object.keys(r({},e)).join("")!=i})?function(t,e){for(var n=m(t),i=arguments.length,r=1,o=f.f,a=g.f;r<i;)for(var s,l=v(arguments[r++]),u=o?p(l).concat(o(l)):p(l),c=u.length,h=0;h<c;)s=u[h++],d&&!a.call(l,s)||(n[s]=l[s]);return n}:r},function(t,e,n){var l=n(125),u=n(809),c=n(810);t.exports=function(s){return function(t,e,n){var i,r=l(t),o=u(r.length),a=c(n,o);if(s&&e!=e){for(;a<o;)if((i=r[a++])!=i)return!0}else for(;a<o;a++)if((s||a in r)&&r[a]===e)return s||a||0;return!s&&-1}}},function(t,e,n){var i=n(320),r=Math.min;t.exports=function(t){return 0<t?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(320),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},function(t,e,n){t.exports={default:n(812),__esModule:!0}},function(t,e,n){n(813),n(819),t.exports=n(328).f("iterator")},function(t,e,n){"use strict";var i=n(814)(!0);n(622)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t=this._t,e=this._i;return e>=t.length?{value:void 0,done:!0}:(e=i(t,e),this._i+=e.length,{value:e,done:!1})})},function(t,e,n){var a=n(320),s=n(319);t.exports=function(o){return function(t,e){var n,i=String(s(t)),r=a(e),t=i.length;return r<0||t<=r?o?"":void 0:(e=i.charCodeAt(r))<55296||56319<e||r+1===t||(n=i.charCodeAt(r+1))<56320||57343<n?o?i.charAt(r):e:o?i.slice(r,r+2):n-56320+(e-55296<<10)+65536}}},function(t,e,n){"use strict";var i=n(624),r=n(266),o=n(327),a={};n(123)(a,n(126)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var a=n(124),s=n(265),l=n(267);t.exports=n(99)?Object.defineProperties:function(t,e){s(t);for(var n,i=l(e),r=i.length,o=0;o<r;)a.f(t,n=i[o++],e[n]);return t}},function(t,e,n){n=n(85).document;t.exports=n&&n.documentElement},function(t,e,n){var i=n(100),r=n(325),o=n(321)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){n(820);for(var i=n(85),r=n(123),o=n(326),a=n(126)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=i[u],c=c&&c.prototype;c&&!c[a]&&r(c,a,u),o[u]=o.Array}},function(t,e,n){"use strict";var i=n(821),r=n(822),o=n(326),a=n(125);t.exports=n(622)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){t.exports={default:n(824),__esModule:!0}},function(t,e,n){n(825),n(831),n(832),n(833),t.exports=n(151).Symbol},function(t,e,n){"use strict";function i(t){var e=W[t]=I(z[B]);return e._k=t,e}function r(t,e){S(t);for(var n,i=_(e=w(e)),r=0,o=i.length;r<o;)J(t,n=i[r++],e[n]);return t}function o(t){var e=Y.call(this,t=C(t,!0));return!(this===U&&l(W,t)&&!l(G,t))&&(!(e||!l(this,t)||!l(W,t)||l(this,V)&&this[V][t])||e)}function a(t,e){if(t=w(t),e=C(e,!0),t!==U||!l(W,e)||l(G,e)){var n=P(t,e);return!n||!l(W,e)||l(t,V)&&t[V][e]||(n.enumerable=!0),n}}var s=n(85),l=n(100),u=n(99),c=n(317),h=n(623),d=n(826).KEY,p=n(153),f=n(322),g=n(327),m=n(269),v=n(126),y=n(328),x=n(329),_=n(827),b=n(828),S=n(265),A=n(152),M=n(325),w=n(125),C=n(318),T=n(266),I=n(624),D=n(829),L=n(830),k=n(324),N=n(124),O=n(267),P=L.f,E=N.f,H=D.f,z=s.Symbol,R=s.JSON,j=R&&R.stringify,B="prototype",V=v("_hidden"),F=v("toPrimitive"),Y={}.propertyIsEnumerable,X=f("symbol-registry"),W=f("symbols"),G=f("op-symbols"),U=Object[B],Z="function"==typeof z&&!!k.f,$=s.QObject,q=!$||!$[B]||!$[B].findChild,Q=u&&p(function(){return 7!=I(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=P(U,e);i&&delete U[e],E(t,e,n),i&&t!==U&&E(U,e,i)}:E,K=Z&&"symbol"==typeof z.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof z},J=function(t,e,n){return t===U&&J(G,e,n),S(t),e=C(e,!0),S(n),l(W,e)?(n.enumerable?(l(t,V)&&t[V][e]&&(t[V][e]=!1),n=I(n,{enumerable:T(0,!1)})):(l(t,V)||E(t,V,T(1,{})),t[V][e]=!0),Q(t,e,n)):E(t,e,n)},f=function(t){for(var e,n=H(w(t)),i=[],r=0;n.length>r;)l(W,e=n[r++])||e==V||e==d||i.push(e);return i},$=function(t){for(var e,n=t===U,i=H(n?G:w(t)),r=[],o=0;i.length>o;)!l(W,e=i[o++])||n&&!l(U,e)||r.push(W[e]);return r};Z||(h((z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor!");var e=m(0<arguments.length?arguments[0]:void 0),n=function(t){this===U&&n.call(G,t),l(this,V)&&l(this[V],e)&&(this[V][e]=!1),Q(this,e,T(1,t))};return u&&q&&Q(U,e,{configurable:!0,set:n}),i(e)})[B],"toString",function(){return this._k}),L.f=a,N.f=J,n(625).f=D.f=f,n(270).f=o,k.f=$,u&&!n(268)&&h(U,"propertyIsEnumerable",o,!0),y.f=function(t){return i(v(t))}),c(c.G+c.W+c.F*!Z,{Symbol:z});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)v(tt[et++]);for(var nt=O(v.store),it=0;nt.length>it;)x(nt[it++]);c(c.S+c.F*!Z,"Symbol",{for:function(t){return l(X,t+="")?X[t]:X[t]=z(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in X)if(X[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),c(c.S+c.F*!Z,"Object",{create:function(t,e){return void 0===e?I(t):r(I(t),e)},defineProperty:J,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:f,getOwnPropertySymbols:$});$=p(function(){k.f(1)});c(c.S+c.F*$,"Object",{getOwnPropertySymbols:function(t){return k.f(M(t))}}),R&&c(c.S+c.F*(!Z||p(function(){var t=z();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))})),"JSON",{stringify:function(t){for(var e,n,i=[t],r=1;r<arguments.length;)i.push(arguments[r++]);if(n=e=i[1],(A(e)||void 0!==t)&&!K(t))return b(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),i[1]=e,j.apply(R,i)}}),z[B][F]||n(123)(z[B],F,z[B].valueOf),g(z,"Symbol"),g(Math,"Math",!0),g(s.JSON,"JSON",!0)},function(t,e,n){function i(t){s(t,r,{value:{i:"O"+ ++l,w:{}}})}var r=n(269)("meta"),o=n(152),a=n(100),s=n(124).f,l=0,u=Object.isExtensible||function(){return!0},c=!n(153)(function(){return u(Object.preventExtensions({}))}),h=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!u(t))return"F";if(!e)return"E";i(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!u(t))return!0;if(!e)return!1;i(t)}return t[r].w},onFreeze:function(t){return c&&h.NEED&&u(t)&&!a(t,r)&&i(t),t}}},function(t,e,n){var s=n(267),l=n(324),u=n(270);t.exports=function(t){var e=s(t),n=l.f;if(n)for(var i,r=n(t),o=u.f,a=0;r.length>a;)o.call(t,i=r[a++])&&e.push(i);return e}},function(t,e,n){var i=n(621);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(125),r=n(625).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(270),r=n(266),o=n(125),a=n(318),s=n(100),l=n(617),u=Object.getOwnPropertyDescriptor;e.f=n(99)?u:function(t,e){if(t=o(t),e=a(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(329)("asyncIterator")},function(t,e,n){n(329)("observable")},function(t,e,n){var i=n(1),s=n(29),r=n(835),o=n(101),a=n(70),l=n(837),u="silent";function c(){a.stop(this.event)}function h(){}h.prototype.dispose=function(){};function d(t,e,n,i){o.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new h,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,r.call(this),this.setHandlerProxy(n)}var p=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"];function f(t,e,n){t=t.painter;return e<0||e>t.getWidth()||n<0||n>t.getHeight()}d.prototype={constructor:d,setHandlerProxy:function(e){this.proxy&&this.proxy.dispose(),e&&(i.each(p,function(t){e.on&&e.on(t,this[t],this)},this),e.handler=this),this.proxy=e},mousemove:function(t){var e=t.zrX,n=t.zrY,i=f(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);i=this._hovered=i?{x:e,y:n}:this.findHover(e,n),e=i.target,n=this.proxy;n.setCursor&&n.setCursor(e?e.cursor:"default"),o&&e!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(i,"mousemove",t),e&&e!==o&&this.dispatchToElement(i,"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){t=this[t];t&&t.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={type:e,event:n=n,target:(t=t).target,topTarget:t.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:c};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,r=this.storage.getDisplayList(),o={x:t,y:e},a=r.length-1;0<=a;a--)if(r[a]!==n&&!r[a].ignore&&(i=function(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||u}return!1}(r[a],t,e))&&(o.topTarget||(o.topTarget=r[a]),i!==u)){o.target=r[a];break}return o},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);"end"===e&&n.clear(),i&&(n=i.type,t.gestureEvent=n,this.dispatchToElement({target:i.target},n,i.event))}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){d.prototype[a]=function(t){var e,n,i=t.zrX,r=t.zrY,o=f(this,i,r);if("mouseup"===a&&o||(n=(e=this.findHover(i,r)).target),"mousedown"===a)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===a)this._upEl=n;else if("click"===a){if(this._downEl!==this._upEl||!this._downPoint||4<s.dist(this._downPoint,[t.zrX,t.zrY]))return;this._downPoint=null}this.dispatchToElement(e,a,t)}}),i.mixin(d,o),i.mixin(d,r),t.exports=d},function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function a(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).dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(a(e,t),"dragstart",t.event))},_drag:function(t){var e,n,i,r,o=this._draggingTarget;o&&(i=t.offsetX,r=t.offsetY,e=i-this._x,n=r-this._y,this._x=i,this._y=r,o.drift(e,n,t),this.dispatchToElement(a(o,t),"drag",t.event),i=this.findHover(i,r,o).target,r=this._dropTarget,o!==(this._dropTarget=i)&&(r&&i!==r&&this.dispatchToElement(a(r,t),"dragleave",t.event),i&&i!==r&&this.dispatchToElement(a(i,t),"dragenter",t.event)))},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(a(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(a(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};t.exports=n},function(t,e){var g=Math.log(2);function m(t,e,n,i,r,o){var a=i+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/g);return t[n][l]}for(var u=i|1<<n,c=n+1;i&1<<c;)c++;for(var h=0,d=0,p=0;d<s;d++){var f=1<<d;f&r||(h+=(p%2?-1:1)*t[n][d]*m(t,e-1,c,u,r|f,o),p++)}return o[a]=h}e.buildTransformer=function(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=m(n,8,0,0,0,i);if(0!==r){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*m(n,7,0===a?1:0,1<<a,1<<s,i)/r*e[a];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}},function(t,e,n){var u=n(70),n=function(){this._track=[]};function r(t){var e=t[1][0]-t[0][0],t=t[1][1]-t[0][1];return Math.sqrt(e*e+t*t)}n.prototype={constructor:n,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=u.clientToLocal(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},_recognize:function(t){for(var e in i)if(i.hasOwnProperty(e)){e=i[e](this._track,t);if(e)return e}}};var i={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,n=(t[n-2]||{}).points||i;if(n&&1<n.length&&i&&1<i.length){n=r(i)/r(n);isFinite(n)||(n=1),e.pinchScale=n;i=[((i=i)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=i[0],e.pinchY=i[1],{type:"pinch",target:t[0].target,event:e}}}}};t.exports=n},function(t,e,n){var o=n(1),a=n(38),s=n(102),l=n(330);function u(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}n=function(){this._roots=[],this._displayList=[],this._displayListLen=0};n.prototype={constructor:n,traverse:function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,a.canvasSupported&&l(n,u)},_updateAndAddDisplayable:function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var i=t.clipPath;if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),r=(o=r).clipPath}if(t.isGroup){for(var a=t._children,s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,e,n)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof s&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots.length;e++){var n=this._roots[e];n instanceof s&&n.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array)for(var e=0,i=t.length;e<i;e++)this.delRoot(t[e]);else{var r=o.indexOf(this._roots,t);0<=r&&(this.delFromStorage(t),this._roots.splice(r,1),t instanceof s&&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:u},t.exports=n},function(t,e,n){var d=n(629),p=n(155),n=n(1),f=n.isString,g=n.isFunction,m=n.isObject,v=n.isArrayLike,y=n.indexOf,n=function(){this.animators=[]};function a(t,e,n,i,r,o,a,s){f(i)?(o=r,r=i,i=0):g(r)?(o=r,r="linear",i=0):g(i)?(o=i,i=0):n=g(n)?(o=n,500):n||500,t.stopAnimation(),function t(e,n,i,r,o,a,s){var l={};var u=0;for(var c in r)r.hasOwnProperty(c)&&(null!=i[c]?m(r[c])&&!v(r[c])?t(e,n?n+"."+c:c,i[c],r[c],o,a,s):(s?(l[c]=i[c],x(e,n,c,r[c])):l[c]=r[c],u++):null==r[c]||s||x(e,n,c,r[c]));0<u&&e.animate(n,!1).when(null==o?500:o,l).delay(a||0)}(t,"",t,e,n,i,s);var l=t.animators.slice(),u=l.length;function c(){--u||o&&o()}u||o&&o();for(var h=0;h<l.length;h++)l[h].done(c).start(r,a)}function x(t,e,n,i){var r;e?((r={})[e]={},r[e][n]=i,t.attr(r)):t.attr(n,i)}n.prototype={constructor:n,animate:function(t,e){var n,i=!1,r=this,o=this.__zr;if(t){for(var a=t.split("."),s=r,i="shape"===a[0],l=0,u=a.length;l<u;l++)s=s&&s[a[l]];s&&(n=s)}else n=r;if(n){var c=r.animators,h=new d(n,e);return h.during(function(t){r.dirty(i)}).done(function(){c.splice(y(c,h),1)}),c.push(h),o&&o.animation.addAnimator(h),h}p('Property "'+t+'" is not existed in element '+r.id)},stopAnimation:function(t){for(var e=this.animators,n=e.length,i=0;i<n;i++)e[i].stop(t);return e.length=0,this},animateTo:function(t,e,n,i,r,o){a(this,t,e,n,i,r,o)},animateFrom:function(t,e,n,i,r,o){a(this,t,e,n,i,r,o,!0)}},t.exports=n},function(t,e,n){var i=n(841);function r(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}r.prototype={constructor:r,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else if(!((n=(t-this._startTime-this._pausedTime)/this._life)<0)){var n=Math.min(n,1),e=this.easing,e="string"==typeof e?i[e]:e,e="function"==typeof e?e(n):n;return this.fire("frame",e),1===n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){this[t="on"+t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};t.exports=r},function(t,e){var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(e=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*--t)*Math.sin((t-e)*(2*Math.PI)/.4)))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(e=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(e=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*--t)*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*--t)*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((1+e)*t-e)*.5:.5*((t-=2)*t*((1+e)*t+e)+2)},bounceIn:function(t){return 1-n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}};t.exports=n},function(t,e,n){var a=n(273).devicePixelRatio,v=n(1),u=n(155),i=n(30),s=n(330),c=n(843),o=n(633),h=n(127),y=n(38),d=314159;function l(t){return parseInt(t,10)}var p=new i(0,0,0,0),f=new i(0,0,0,0);i=function(t,e,n){this.type="canvas";var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=v.extend({},n||{}),this.dpr=n.devicePixelRatio||a,this._singleCanvas=i;var r=(this.root=t).style;r&&(r["-webkit-tap-highlight-color"]="transparent",r["-webkit-user-select"]=r["user-select"]=r["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var o,r=this._zlevelList=[],e=this._layers={};this._layerConfig={},this._needsManuallyCompositing=!1,i?(i=t.width,o=t.height,null!=n.width&&(i=n.width),null!=n.height&&(o=n.height),this.dpr=n.devicePixelRatio||1,t.width=i*this.dpr,t.height=o*this.dpr,this._width=i,this._height=o,(o=new c(t,this,this.dpr)).__builtin__=!0,o.initContext(),(e[d]=o).zlevel=d,r.push(d),this._domRoot=t):(this._width=this._getSize(0),this._height=this._getSize(1),r=this._domRoot=(e=this._width,o=this._height,(r=document.createElement("div")).style.cssText=["position:relative","width:"+e+"px","height:"+o+"px","padding:0","margin:0","border-width:0"].join(";")+";",r),t.appendChild(r)),this._hoverlayer=null,this._hoverElements=[]};i.prototype={constructor:i,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var i=0;i<n.length;i++){var r=n[i],o=this._layers[r];!o.__builtin__&&o.refresh&&(r=0===i?this._backgroundColor:null,o.refresh(r))}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var n=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return(n.__from=t).__hoverMir=n,e&&n.setStyle(e),this._hoverElements.push(n),n}},removeHover:function(t){var e=t.__hoverMir,n=this._hoverElements,e=v.indexOf(n,e);0<=e&&n.splice(e,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n<e.length;n++){var i=e[n].__from;i&&(i.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length;if((n=this._hoverlayer)&&n.clear(),e){s(t,this.storage.displayableSortFunc);var n,i={};(n=n||(this._hoverlayer=this.getLayer(1e5))).ctx.save();for(var r=0;r<e;){var o=t[r],a=o.__from;a&&a.__zr?(r++,a.invisible||(o.transform=a.transform,o.invTransform=a.invTransform,o.__clipPaths=a.__clipPaths,this._doPaintEl(o,n,!0,i))):(t.splice(r,1),a.__hoverMir=null,e--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(1e5)},_paintList:function(t,e,n){var i,r;this._redrawId===n&&(e=e||!1,this._updateLayerStatus(t),i=this._doPaintList(t,e),this._needsManuallyCompositing&&this._compositeManually(),i||(r=this,o(function(){r._paintList(t,e,n)})))},_compositeManually:function(){var e=this.getLayer(d).ctx,n=this._domRoot.width,i=this._domRoot.height;e.clearRect(0,0,n,i),this.eachBuiltinLayer(function(t){t.virtual&&e.drawImage(t.dom,0,0,n,i)})},_doPaintList:function(t,e){for(var n=[],i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];(s=this._layers[r]).__builtin__&&s!==this._hoverlayer&&(s.__dirty||e)&&n.push(s)}for(var o=!0,a=0;a<n.length;a++){var s,l=(s=n[a]).ctx,u={};l.save();var c,h=e?s.__startIndex:s.__drawIndex,d=!e&&s.incremental&&Date.now,p=d&&Date.now(),f=s.zlevel===this._zlevelList[0]?this._backgroundColor:null;s.__startIndex===s.__endIndex?s.clear(!1,f):h===s.__startIndex&&((c=t[h]).incremental&&c.notClear&&!e||s.clear(!1,f)),-1===h&&(console.error("For some unknown reason. drawIndex is -1"),h=s.__startIndex);for(var g=h;g<s.__endIndex;g++){var m=t[g];if(this._doPaintEl(m,s,e,u),m.__dirty=m.__dirtyText=!1,d)if(15<Date.now()-p)break}s.__drawIndex=g,s.__drawIndex<s.__endIndex&&(o=!1),u.prevElClipPaths&&l.restore(),l.restore()}return y.wxa&&v.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),o},_doPaintEl:function(t,e,n,i){var r,o,a=e.ctx,s=t.transform;!e.__dirty&&!n||t.invisible||0===t.style.opacity||s&&!s[0]&&!s[3]||t.culling&&(s=t,r=this._width,o=this._height,p.copy(s.getBoundingRect()),s.transform&&p.applyTransform(s.transform),f.width=r,f.height=o,!p.intersect(f))||(r=t.__clipPaths,(o=i.prevElClipPaths)&&!function(t,e){if(t!==e){if(!t||!e||t.length!==e.length)return 1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return 1}}(r,o)||(o&&(a.restore(),i.prevElClipPaths=null,i.prevEl=null),r&&(a.save(),function(t,e){for(var n=0;n<t.length;n++){var i=t[n];i.setTransform(e),e.beginPath(),i.buildPath(e,i.shape),e.clip(),i.restoreTransform(e)}}(r,a),i.prevElClipPaths=r)),t.beforeBrush&&t.beforeBrush(a),t.brush(a,i.prevEl||null),(i.prevEl=t).afterBrush&&t.afterBrush(a))},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=d);var n=this._layers[t];return n||((n=new c("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?v.merge(n,this._layerConfig[t],!0):this._layerConfig[t-.01]&&v.merge(n,this._layerConfig[t-.01],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},insertLayer:function(t,e){var n,i=this._layers,r=this._zlevelList,o=r.length,a=null,s=-1,l=this._domRoot;if(i[t])u("ZLevel "+t+" has been used already");else if((n=e)&&(n.__builtin__||"function"==typeof n.resize&&"function"==typeof n.refresh)){if(0<o&&t>r[0]){for(s=0;s<o-1&&!(r[s]<t&&r[s+1]>t);s++);a=i[r[s]]}r.splice(s+1,0,t),(i[t]=e).virtual||(a?(a=a.dom).nextSibling?l.insertBefore(e.dom,a.nextSibling):l.appendChild(e.dom):l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom))}else u("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){for(var n,i=this._zlevelList,r=0;r<i.length;r++)n=i[r],t.call(e,this._layers[n],n)},eachBuiltinLayer:function(t,e){for(var n,i,r=this._zlevelList,o=0;o<r.length;o++)i=r[o],(n=this._layers[i]).__builtin__&&t.call(e,n,i)},eachOtherLayer:function(t,e){for(var n,i,r=this._zlevelList,o=0;o<r.length;o++)i=r[o],(n=this._layers[i]).__builtin__||t.call(e,n,i)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){r&&(r.__endIndex!==t&&(r.__dirty=!0),r.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n=1;n<t.length;n++)if((a=t[n]).zlevel!==t[n-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}for(var i,r=null,o=0,n=0;n<t.length;n++){var a,s,l=(a=t[n]).zlevel;i!==l&&(i=l,o=0),a.incremental?((s=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,o=1):s=this.getLayer(l+(0<o?.01:0),this._needsManuallyCompositing),s.__builtin__||u("ZLevel "+l+" has been used by unkown layer "+s.id),s!==r&&(s.__used=!0,s.__startIndex!==n&&(s.__dirty=!0),s.__startIndex=n,s.incremental?s.__drawIndex=-1:s.__drawIndex=n,e(n),r=s),a.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=n))}e(n),this.eachBuiltinLayer(function(t,e){!t.__used&&0<t.getElementCount()&&(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]?v.merge(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];r!==t&&r!==t+.01||(r=this._layers[r],v.merge(r,n[t],!0))}}},delLayer:function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(v.indexOf(n,t),1))},resize:function(e,n){if(this._domRoot.style){var t=this._domRoot;t.style.display="none";var i=this._opts;if(null!=e&&(i.width=e),null!=n&&(i.height=n),e=this._getSize(0),n=this._getSize(1),t.style.display="",this._width!==e||n!==this._height){for(var r in t.style.width=e+"px",t.style.height=n+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(e,n);v.each(this._progressiveLayers,function(t){t.resize(e,n)}),this.refresh(!0)}this._width=e,this._height=n}else{if(null==e||null==n)return;this._width=e,this._height=n,this.getLayer(d).resize(e,n)}return this},clearLayer:function(t){t=this._layers[t];t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(this._singleCanvas&&!this._compositeManually)return this._layers[d].dom;var e=new c("image",this,(t=t||{}).pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,i=e.dom.height,r=e.ctx;this.eachLayer(function(t){t.__builtin__?r.drawImage(t.dom,0,0,n,i):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())})}else for(var o={},a=this.storage.getDisplayList(!0),s=0;s<a.length;s++){var l=a[s];this._doPaintEl(l,e,!0,o)}return e.dom},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]);t=this.root,e=document.defaultView.getComputedStyle(t);return(t[i]||l(e[n])||l(t.style[n]))-(l(e[r])||0)-(l(e[o])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),r=t.getBoundingRect(),o=t.style,a=o.shadowBlur*e,s=o.shadowOffsetX*e,l=o.shadowOffsetY*e,u=o.hasStroke()?o.lineWidth:0,c=Math.max(u/2,a-s),o=Math.max(u/2,s+a),s=Math.max(u/2,a-l),a=Math.max(u/2,l+a),o=r.width+c+o,a=r.height+s+a;n.width=o*e,n.height=a*e,i.scale(e,e),i.clearRect(0,0,o,a),i.dpr=e;e={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[c-r.x,s-r.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(i);n=new h({style:{x:0,y:0,image:n}});return null!=e.position&&(n.position=t.position=e.position),null!=e.rotation&&(n.rotation=t.rotation=e.rotation),null!=e.scale&&(n.scale=t.scale=e.scale),n}},t.exports=i},function(t,e,n){var a=n(1),r=n(273).devicePixelRatio,u=n(331),c=n(632);function o(){return!1}function s(t,e,n){var i=a.createCanvas(),r=e.getWidth(),o=e.getHeight(),e=i.style;return e&&(e.position="absolute",e.left=0,e.top=0,e.width=r+"px",e.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}n=function(t,e,n){var i;n=n||r,"string"==typeof t?i=s(t,e,n):a.isObject(t)&&(t=(i=t).id),this.id=t;t=(this.dom=i).style;t&&(i.onselectstart=o,t["-webkit-user-select"]="none",t["user-select"]="none",t["-webkit-touch-callout"]="none",t["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",t.padding=0,t.margin=0,t["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};n.prototype={constructor:n,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=s("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},clear:function(t,e){var n,i=this.dom,r=this.ctx,o=i.width,a=i.height,e=e||this.clearColor,s=this.motionBlur&&!t,l=this.lastFrameAlpha,t=this.dpr;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/t,a/t)),r.clearRect(0,0,o,a),e&&"transparent"!==e&&(e.colorStops?(n=e.__canvasGradient||u.getGradient(r,e,{x:0,y:0,width:o,height:a}),e.__canvasGradient=n):e.image&&(n=c.prototype.getCanvasPattern.call(e,r)),r.save(),r.fillStyle=n||e,r.fillRect(0,0,o,a),r.restore()),s&&(s=this.domBack,r.save(),r.globalAlpha=l,r.drawImage(s,0,0,o,a),r.restore())}},t.exports=n},function(t,e,n){var i=n(1),r=n(70).Dispatcher,o=n(633),a=n(629),n=function(t){this.stage=(t=t||{}).stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};n.prototype={constructor:n,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),n=0;n<e.length;n++)this.addClip(e[n])},removeClip:function(t){t=i.indexOf(this._clips,t);0<=t&&this._clips.splice(t,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n<e.length;n++)this.removeClip(e[n]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,n=this._clips,i=n.length,r=[],o=[],a=0;a<i;a++){var s=n[a],l=s.step(t,e);l&&(r.push(l),o.push(s))}for(a=0;a<i;)n[a]._needsRemove?(n[a]=n[i-1],n.pop(),i--):a++;for(i=r.length,a=0;a<i;a++)o[a].fire(r[a]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var e=this;this._running=!0,o(function t(){e._running&&(o(t),e._paused||e._update())})},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){e=new a(t,(e=e||{}).loop,e.getter,e.setter);return this.addAnimator(e),e}},i.mixin(n,r),t.exports=n},function(t,e,n){var i,r=n(70),o=r.addEventListener,a=r.removeEventListener,s=r.normalizeEvent,l=r.getNativeEvent,u=n(1),c=n(101),h=n(38),d=h.domSupported,p=(i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:n=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:u.map(n,function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t})}),f={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function g(t){return"mousewheel"===t&&h.browser.firefox?"DOMMouseScroll":t}function m(t){t=t.pointerType;return"pen"===t||"touch"===t}function v(t){t&&(t.zrByTouch=!0)}function y(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}function x(t,e){this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}n=x.prototype;n.stopPropagation=n.stopImmediatePropagation=n.preventDefault=u.noop;var _={mousedown:function(t){t=s(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=s(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||C(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=s(this.dom,t),C(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=s(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout");var e=t.toElement||t.relatedTarget;t.zrIsToLocalDOM=y(this,e),this.trigger("mouseout",t)},touchstart:function(t){v(t=s(this.dom,t)),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),_.mousemove.call(this,t),_.mousedown.call(this,t)},touchmove:function(t){v(t=s(this.dom,t)),this.handler.processGesture(t,"change"),_.mousemove.call(this,t)},touchend:function(t){v(t=s(this.dom,t)),this.handler.processGesture(t,"end"),_.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&_.click.call(this,t)},pointerdown:function(t){_.mousedown.call(this,t)},pointermove:function(t){m(t)||_.mousemove.call(this,t)},pointerup:function(t){_.mouseup.call(this,t)},pointerout:function(t){m(t)||_.mouseout.call(this,t)}};u.each(["click","mousewheel","dblclick","contextmenu"],function(e){_[e]=function(t){t=s(this.dom,t),this.trigger(e,t)}});var b={pointermove:function(t){m(t)||b.mousemove.call(this,t)},pointerup:function(t){b.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this._pointerCapturing;C(this,!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function S(i,r){var o=r.domHandlers;h.pointerEventsSupported?u.each(p.pointer,function(e){M(r,e,function(t){o[e].call(i,t)})}):(h.touchEventsSupported&&u.each(p.touch,function(n){M(r,n,function(t){var e;o[n].call(i,t),(e=r).touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)})}),u.each(p.mouse,function(e){M(r,e,function(t){t=l(t),r.touching||o[e].call(i,t)})}))}function A(r,o){function t(i){M(o,i,function(t){var e,n;t=l(t),y(r,t.target)||(n=t,t=s((e=r).dom,new x(e,n),!0),o.domHandlers[i].call(r,t))},{capture:!0})}h.pointerEventsSupported?u.each(f.pointer,t):h.touchEventsSupported||u.each(f.mouse,t)}function M(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,o(t.domTarget,g(e),n,i)}function w(t){var e,n=t.mounted;for(e in n)n.hasOwnProperty(e)&&a(t.domTarget,g(e),n[e],t.listenerOpts[e]);t.mounted={}}function C(t,e){var n;t._mayPointerCapture=null,d&&t._pointerCapturing^e&&(t._pointerCapturing=e,n=t._globalHandlerScope,e?A(t,n):w(n))}function T(t,e){this.domTarget=t,this.domHandlers=e,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function I(t,e){c.call(this),this.dom=t,this.painterRoot=e,this._localHandlerScope=new T(t,_),d&&(this._globalHandlerScope=new T(document,b)),this._pointerCapturing=!1,this._mayPointerCapture=null,S(this,this._localHandlerScope)}n=I.prototype;n.dispose=function(){w(this._localHandlerScope),d&&w(this._globalHandlerScope)},n.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},u.mixin(I,c),t.exports=I},function(t,e,n){var i=n(128)([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getLineStyle:function(t){t=i(this,t);return t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),t=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[t,t]:[n,n])}}},function(t,e,n){var i=n(128)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]);t.exports={getAreaStyle:function(t,e){return i(this,t,e)}}},function(t,e,n){var i=n(55),r=n(8),o=["textStyle","color"];t.exports={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(o):null)},getFont:function(){return r.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return i.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}}},function(t,e,n){var i=n(129),M=n(638),w=n(850),C=n(639),T=n(851),I=n(640).normalizeRadian,D=n(86),L=n(641),k=i.CMD,N=2*Math.PI,O=1e-4;var P=[-1,-1,-1],y=[-1,-1];function E(t,e,n,i,r,o,a,s,l,u){if(e<u&&i<u&&o<u&&s<u||u<e&&u<i&&u<o&&u<s)return 0;var c=D.cubicRootAt(e,i,o,s,u,P);if(0===c)return 0;for(var h,d,p=0,f=-1,g=0;g<c;g++){var m=P[g],v=0===m||1===m?.5:1;D.cubicAt(t,n,r,a,m)<l||(f<0&&(f=D.cubicExtrema(e,i,o,s,y),y[1]<y[0]&&1<f&&(d=void 0,d=y[0],y[0]=y[1],y[1]=d),d=D.cubicAt(e,i,o,s,y[0]),1<f&&(h=D.cubicAt(e,i,o,s,y[1]))),2===f?m<y[0]?p+=d<e?v:-v:m<y[1]?p+=h<d?v:-v:p+=s<h?v:-v:m<y[0]?p+=d<e?v:-v:p+=s<d?v:-v)}return p}function r(t,e,n,i,r){for(var o,a,s=0,l=0,u=0,c=0,h=0,d=0;d<t.length;){var p=t[d++];switch(p===k.M&&1<d&&(n||(s+=L(l,u,c,h,i,r))),1===d&&(c=l=t[d],h=u=t[d+1]),p){case k.M:l=c=t[d++],u=h=t[d++];break;case k.L:if(n){if(M.containStroke(l,u,t[d],t[d+1],e,i,r))return!0}else s+=L(l,u,t[d],t[d+1],i,r)||0;l=t[d++],u=t[d++];break;case k.C:if(n){if(w.containStroke(l,u,t[d++],t[d++],t[d++],t[d++],t[d],t[d+1],e,i,r))return!0}else s+=E(l,u,t[d++],t[d++],t[d++],t[d++],t[d],t[d+1],i,r)||0;l=t[d++],u=t[d++];break;case k.Q:if(n){if(C.containStroke(l,u,t[d++],t[d++],t[d],t[d+1],e,i,r))return!0}else s+=function(t,e,n,i,r,o,a,s){if(e<s&&i<s&&o<s||s<e&&s<i&&s<o)return 0;var l=D.quadraticRootAt(e,i,o,s,P);if(0===l)return 0;var u=D.quadraticExtremum(e,i,o);if(0<=u&&u<=1){for(var c=0,h=D.quadraticAt(e,i,o,u),d=0;d<l;d++){var p=0===P[d]||1===P[d]?.5:1;D.quadraticAt(t,n,r,P[d])<a||(P[d]<u?c+=h<e?p:-p:c+=o<h?p:-p)}return c}return p=0===P[0]||1===P[0]?.5:1,D.quadraticAt(t,n,r,P[0])<a?0:o<e?p:-p}(l,u,t[d++],t[d++],t[d],t[d+1],i,r)||0;l=t[d++],u=t[d++];break;case k.A:var f=t[d++],g=t[d++],m=t[d++],v=t[d++],y=t[d++],x=t[d++];d+=1;var _=1-t[d++],b=Math.cos(y)*m+f,S=Math.sin(y)*v+g;1<d?s+=L(l,u,b,S,i,r):(c=b,h=S);var A=(i-f)*v/m+f;if(n){if(T.containStroke(f,g,v,y,y+x,_,e,A,r))return!0}else s+=function(t,e,n,i,r,o,a,s){if(n<(s-=e)||s<-n)return 0;if(e=Math.sqrt(n*n-s*s),P[0]=-e,P[1]=e,(n=Math.abs(i-r))<1e-4)return 0;if(n%N<1e-4){r=N;var l=o?1:-1;return a>=P[i=0]+t&&a<=P[1]+t?l:0}(r=o?(e=i,i=I(r),I(e)):(i=I(i),I(r)))<i&&(r+=N);for(var u=0,c=0;c<2;c++){var h=P[c];a<h+t&&(l=o?1:-1,(i<=(h=(h=Math.atan2(s,h))<0?N+h:h)&&h<=r||i<=h+N&&h+N<=r)&&(u+=l=h>Math.PI/2&&h<1.5*Math.PI?-l:l))}return u}(f,g,v,y,y+x,_,A,r);l=Math.cos(y+x)*m+f,u=Math.sin(y+x)*v+g;break;case k.R:c=l=t[d++],h=u=t[d++],b=c+t[d++],S=h+t[d++];if(n){if(M.containStroke(c,h,b,h,e,i,r)||M.containStroke(b,h,b,S,e,i,r)||M.containStroke(b,S,c,S,e,i,r)||M.containStroke(c,S,c,h,e,i,r))return!0}else s+=L(b,h,b,S,i,r),s+=L(c,S,c,h,i,r);break;case k.Z:if(n){if(M.containStroke(l,u,c,h,e,i,r))return!0}else s+=L(l,u,c,h,i,r);l=c,u=h}}return n||(o=u,a=h,Math.abs(o-a)<O)||(s+=L(l,u,c,h,i,r)||0),0!==s}e.contain=function(t,e,n){return r(t,0,!1,e,n)},e.containStroke=function(t,e,n,i){return r(t,e,!0,n,i)}},function(t,e,n){var h=n(86);e.containStroke=function(t,e,n,i,r,o,a,s,l,u,c){return 0!==l&&(!(e+l<c&&i+l<c&&o+l<c&&s+l<c||c<e-l&&c<i-l&&c<o-l&&c<s-l||t+l<u&&n+l<u&&r+l<u&&a+l<u||u<t-l&&u<n-l&&u<r-l&&u<a-l)&&h.cubicProjectPoint(t,e,n,i,r,o,a,s,u,c,null)<=l/2)}},function(t,e,n){var u=n(640).normalizeRadian,c=2*Math.PI;e.containStroke=function(t,e,n,i,r,o,a,s,l){return 0!==a&&(s-=t,l-=e,e=Math.sqrt(s*s+l*l),!(n<e-a||e+a<n)&&(Math.abs(i-r)%c<1e-4||((r=o?(o=i,i=u(r),u(o)):(i=u(i),u(r)))<i&&(r+=c),(s=Math.atan2(l,s))<0&&(s+=c),i<=s&&s<=r||i<=s+c&&s+c<=r)))}},function(t,e,n){var i=n(129),_=n(29).applyTransform,b=i.CMD,S=[[],[],[]],A=Math.sqrt,M=Math.atan2;t.exports=function(t,e){for(var n,i,r,o,a=t.data,s=b.M,l=b.C,u=b.L,c=b.R,h=b.A,d=b.Q,p=0,f=0;p<a.length;){switch(n=a[p++],f=p,i=0,n){case s:case u:i=1;break;case l:i=3;break;case d:i=2;break;case h:var g=e[4],m=e[5],v=A(e[0]*e[0]+e[1]*e[1]),y=A(e[2]*e[2]+e[3]*e[3]),x=M(-e[1]/y,e[0]/v);a[p]*=v,a[p++]+=g,a[p]*=y,a[p++]+=m,a[p++]*=v,a[p++]*=y,a[p++]+=x,a[p++]+=x,f=p+=2;break;case c:o[0]=a[p++],o[1]=a[p++],_(o,o,e),a[f++]=o[0],a[f++]=o[1],o[0]+=a[p++],o[1]+=a[p++],_(o,o,e),a[f++]=o[0],a[f++]=o[1]}for(r=0;r<i;r++)(o=S[r])[0]=a[p++],o[1]=a[p++],_(o,o,e),a[f++]=o[0],a[f++]=o[1]}}},function(t,e,n){var i=n(35),n=n(643),i=i.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:n(i.prototype.brush),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=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(a),e=Math.sin(a);t.moveTo(u*r+n,e*r+i),t.lineTo(u*o+n,e*o+i),t.arc(n,i,o,a,s,!l),t.lineTo(Math.cos(s)*r+n,Math.sin(s)*r+i),0!==r&&t.arc(n,i,r,s,a,l),t.closePath()}});t.exports=i},function(t,e,n){n=n(35).extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)}});t.exports=n},function(t,e,n){var f=n(29).distance;function g(t,e,n,i,r,o,a){t=.5*(n-t),i=.5*(i-e);return(2*(e-n)+t+i)*a+(-3*(e-n)-2*t-i)*o+t*r+e}t.exports=function(t,e){for(var n=t.length,i=[],r=0,o=1;o<n;o++)r+=f(t[o-1],t[o]);for(var a=(a=r/2)<n?n:a,o=0;o<a;o++){var s,l,u=o/(a-1)*(e?n:n-1),c=Math.floor(u),h=u-c,d=t[c%n],p=e?(s=t[(c-1+n)%n],l=t[(c+1)%n],t[(c+2)%n]):(s=t[0===c?c:c-1],l=t[n-2<c?n-1:c+1],t[n-3<c?n-1:c+2]),u=h*h,c=h*u;i.push([g(s[0],d[0],l[0],p[0],h,u,c),g(s[1],d[1],l[1],p[1],h,u,c)])}return i}},function(t,e,n){var n=n(29),y=n.min,x=n.max,_=n.scale,b=n.distance,S=n.add,A=n.clone,M=n.sub;t.exports=function(t,e,n,i){var r,o,a=[],s=[],l=[],u=[];if(i){for(var c=[1/0,1/0],h=[-1/0,-1/0],d=0,p=t.length;d<p;d++)y(c,c,t[d]),x(h,h,t[d]);y(c,c,i[0]),x(h,h,i[1])}for(d=0,p=t.length;d<p;d++){var f=t[d];if(n)r=t[d?d-1:p-1],o=t[(d+1)%p];else{if(0===d||d===p-1){a.push(A(t[d]));continue}r=t[d-1],o=t[d+1]}M(s,o,r),_(s,s,e);var g=b(f,r),m=b(f,o),v=g+m;0!==v&&(g/=v,m/=v),_(l,s,-g),_(u,s,m);m=S([],f,l),f=S([],f,u);i&&(x(m,m,c),y(m,m,h),x(f,f,c),y(f,f,h)),a.push(m),a.push(f)}return n&&a.push(a.shift()),a}},function(t,e,n){var i=n(35),r=n(29),n=n(86),c=n.quadraticSubdivide,h=n.cubicSubdivide,o=n.quadraticAt,a=n.cubicAt,s=n.quadraticDerivativeAt,l=n.cubicDerivativeAt,d=[];function u(t,e,n){var i=t.cpx2,r=t.cpy2;return null===i||null===r?[(n?l:a)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?l:a)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?s:o)(t.x1,t.cpx1,t.x2,e),(n?s:o)(t.y1,t.cpy1,t.y2,e)]}i=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,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,e=e.percent;0!==e&&(t.moveTo(n,i),null==l||null==u?(e<1&&(c(n,a,r,e,d),a=d[1],r=d[2],c(i,s,o,e,d),s=d[1],o=d[2]),t.quadraticCurveTo(a,s,r,o)):(e<1&&(h(n,a,l,r,e,d),a=d[1],l=d[2],r=d[3],h(i,s,u,o,e,d),s=d[1],u=d[2],o=d[3]),t.bezierCurveTo(a,s,l,u,r,o)))},pointAt:function(t){return u(this.shape,t,!1)},tangentAt:function(t){t=u(this.shape,t,!0);return r.normalize(t,t)}});t.exports=i},function(t,e,n){n=n(35).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),e=Math.sin(o);t.moveTo(l*r+n,e*r+i),t.arc(n,i,r,o,a,!s)}});t.exports=n},function(t,e,n){var i=n(35),n=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n<e.length;n++)t=t||e[n].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},buildPath:function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),i.prototype.getBoundingRect.call(this)}});t.exports=n},function(t,e,n){var i=n(1),o=n(276),n=function(t,e,n,i,r){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=r||!1,o.call(this,i)};n.prototype={constructor:n},i.inherits(n,o),t.exports=n},function(t,e,n){var i=n(128)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]);t.exports={getItemStyle:function(t,e){t=i(this,t,e),e=this.getBorderLineDash();return e&&(t.lineDash=e),t},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}}},function(t,e){t.exports={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}}},function(t,e){var n="",n={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:(n="undefined"!=typeof navigator?navigator.platform||"":n).match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=n},function(t,e,n){var h=n(1),o=n(17),a=n(43),u=h.each,d=h.clone,p=h.map,s=h.merge,f=/^(min|max)?(.+)$/;function i(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}i.prototype={constructor:i,setOption:function(t,e){t&&h.each(o.normalizeToArray(t.series),function(t){t&&t.data&&h.isTypedArray(t.data)&&h.setAsPrimitive(t.data)}),t=d(t);var r,n=this._optionBackup,t=function(t,n,i){var e,r,o=[],a=[],s=t.timeline;t.baseOption&&(r=t.baseOption);(s||t.options)&&(r=r||{},o=(t.options||[]).slice());{var l;t.media&&(r=r||{},l=t.media,u(l,function(t){t&&t.option&&(t.query?a.push(t):e=e||t)}))}r=r||t;r.timeline||(r.timeline=s);return u([r].concat(o).concat(h.map(a,function(t){return t.option})),function(e){u(n,function(t){t(e,i)})}),{baseOption:r,timelineOptions:o,mediaDefault:e,mediaList:a}}.call(this,t,e,!n);this._newBaseOption=t.baseOption,n?(r=n.baseOption,e=t.baseOption,u(e=e||{},function(t,e){var n,i;null!=t&&(n=r[e],a.hasClass(e)?(t=o.normalizeToArray(t),n=o.normalizeToArray(n),i=o.mappingToExists(n,t),r[e]=p(i,function(t){return t.option&&t.exist?s(t.exist,t.option,!0):t.exist||t.option})):r[e]=s(n,t,!0))}),t.timelineOptions.length&&(n.timelineOptions=t.timelineOptions),t.mediaList.length&&(n.mediaList=t.mediaList),t.mediaDefault&&(n.mediaDefault=t.mediaDefault)):this._optionBackup=t},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=p(e.timelineOptions,d),this._mediaList=p(e.mediaList,d),this._mediaDefault=d(e.mediaDefault),this._currentMediaIndices=[],d(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;return!n.length||(t=t.getComponent("timeline"))&&(e=d(n[t.getCurrentIndex()],!0)),e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,o=[],a=[];if(!i.length&&!r)return a;for(var s,l,u=0,c=i.length;u<c;u++)!function(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return h.each(t,function(t,e){var n=e.match(f);n&&n[1]&&n[2]&&(e=n[1],n=n[2].toLowerCase(),n=i[n],t=t,("min"===(e=e)?t<=n:"max"===e?n<=t:n===t)||(r=!1))}),r}(i[u].query,e,n)||o.push(u);return(o=!o.length&&r?[-1]:o).length&&(s=o,l=this._currentMediaIndices,s.join(",")!==l.join(","))&&(a=p(o,function(t){return d((-1===t?r:i[t]).option)})),this._currentMediaIndices=o,a}},t.exports=i},function(t,e,n){var i=n(1),r=i.each,o=i.isArray,a=i.isObject,s=n(866),l=n(17).normalizeToArray;function u(e){r(c,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var c=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],h=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];t.exports=function(e,t){s(e,t),e.series=l(e.series),r(e.series,function(t){var e,n;a(t)&&("line"===(e=t.type)?null!=t.clipOverflow&&(t.clip=t.clipOverflow):"pie"===e||"gauge"===e?null!=t.clockWise&&(t.clockwise=t.clockWise):"gauge"===e&&null!=(n=function(t,e){e=e.split(",");for(var n=t,i=0;i<e.length&&null!=(n=n&&n[e[i]]);i++);return n}(t,"pointer.color"))&&function(t,e,n,i){e=e.split(",");for(var r,o=t,a=0;a<e.length-1;a++)null==o[r=e[a]]&&(o[r]={}),o=o[r];!i&&null!=o[e[a]]||(o[e[a]]=n)}(t,"itemStyle.color",n),u(t))}),e.dataRange&&(e.visualMap=e.dataRange),r(h,function(t){t=e[t];t&&(o(t)||(t=[t]),r(t,function(t){u(t)}))})}},function(t,e,n){var u=n(1),a=n(17),i=u.each,c=u.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function h(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=s.length;n<i;n++){var r=s[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?u.merge(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?u.merge(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function d(t,e,n){var i,r;t&&t[e]&&(t[e].normal||t[e].emphasis)&&(i=t[e].normal,r=t[e].emphasis,i&&(n?(t[e].normal=t[e].emphasis=null,u.defaults(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r))}function p(t){d(t,"itemStyle"),d(t,"lineStyle"),d(t,"areaStyle"),d(t,"label"),d(t,"labelLine"),d(t,"upperLabel"),d(t,"edgeLabel")}function f(t,e){var n=c(t)&&t[e],i=c(n)&&n.textStyle;if(i)for(var r=0,o=a.TEXT_STYLE_OPTIONS.length;r<o;r++){e=a.TEXT_STYLE_OPTIONS[r];i.hasOwnProperty(e)&&(n[e]=i[e])}}function g(t){t&&(p(t),f(t,"label"),t.emphasis&&f(t.emphasis,"label"))}function r(t){return u.isArray(t)?t:t?[t]:[]}function o(t){return(u.isArray(t)?t[0]:t)||{}}t.exports=function(e,t){i(r(e.series),function(t){c(t)&&function(t){if(c(t)){h(t),p(t),f(t,"label"),f(t,"upperLabel"),f(t,"edgeLabel"),t.emphasis&&(f(t.emphasis,"label"),f(t.emphasis,"upperLabel"),f(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(h(e),g(e));var n=t.markLine;n&&(h(n),g(n));var i=t.markArea;i&&g(i);var r=t.data;if("graph"===t.type){var r=r||t.nodes,o=t.links||t.edges;if(o&&!u.isTypedArray(o))for(var a=0;a<o.length;a++)g(o[a]);u.each(t.categories,function(t){p(t)})}if(r&&!u.isTypedArray(r))for(a=0;a<r.length;a++)g(r[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)g(s[a]);if((n=t.markLine)&&n.data)for(var l=n.data,a=0;a<l.length;a++)u.isArray(l[a])?(g(l[a][0]),g(l[a][1])):g(l[a]);"gauge"===t.type?(f(t,"axisLabel"),f(t,"title"),f(t,"detail")):"treemap"===t.type?(d(t.breadcrumb,"itemStyle"),u.each(t.levels,function(t){p(t)})):"tree"===t.type&&p(t.leaves)}}(t)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),i(n,function(t){i(r(e[t]),function(t){t&&(f(t,"axisLabel"),f(t.axisPointer,"label"))})}),i(r(e.parallel),function(t){t=t&&t.parallelAxisDefault;f(t,"axisLabel"),f(t&&t.axisPointer,"label")}),i(r(e.calendar),function(t){d(t,"itemStyle"),f(t,"dayLabel"),f(t,"monthLabel"),f(t,"yearLabel")}),i(r(e.radar),function(t){f(t,"name")}),i(r(e.geo),function(t){c(t)&&(g(t),i(r(t.regions),function(t){g(t)}))}),i(r(e.timeline),function(t){g(t),d(t,"label"),d(t,"itemStyle"),d(t,"controlStyle",!0);t=t.data;u.isArray(t)&&u.each(t,function(t){u.isObject(t)&&(d(t,"label"),d(t,"itemStyle"))})}),i(r(e.toolbox),function(t){d(t,"iconStyle"),i(t.feature,function(t){d(t,"iconStyle")})}),f(o(e.axisPointer),"label"),f(o(e.tooltip).axisPointer,"label")}},function(t,e,n){var n=n(1),r=n.createHashMap,i=n.each;function o(g){i(g,function(u,c){var h=[],d=[NaN,NaN],t=[u.stackResultDimension,u.stackedOverDimension],p=u.data,f=u.isStackedByIndex,t=p.map(t,function(t,e,n){var i,r,o=p.get(u.stackedDimension,n);if(isNaN(o))return d;f?r=p.getRawIndex(n):i=p.get(u.stackedByDimension,n);for(var a=NaN,s=c-1;0<=s;s--){var l=g[s];if(0<=(r=!f?l.data.rawIndexOf(l.stackedByDimension,i):r)){l=l.data.getByRawIndex(l.stackResultDimension,r);if(0<=o&&0<l||o<=0&&l<0){o+=l,a=l;break}}}return h[0]=o,h[1]=a,h});p.hostModel.setData(t),u.data=t})}t.exports=function(t){var i=r();t.eachSeries(function(t){var e,n=t.get("stack");n&&(e=i.get(n)||i.set(n,[]),(t={stackResultDimension:(n=t.getData()).getCalculationInfo("stackResultDimension"),stackedOverDimension:n.getCalculationInfo("stackedOverDimension"),stackedDimension:n.getCalculationInfo("stackedDimension"),stackedByDimension:n.getCalculationInfo("stackedByDimension"),isStackedByIndex:n.getCalculationInfo("isStackedByIndex"),data:n,seriesModel:t}).stackedDimension&&(t.isStackedByIndex||t.stackedByDimension)&&(e.length&&n.setCalculationInfo("stackedOnSeries",e[e.length-1].seriesModel),e.push(t)))}),i.each(o)}},function(t,e,n){var s=n(276),l=n(1).isFunction;t.exports={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=(e.visualColorAccessPath||"itemStyle.color").split("."),i=e.get(r),o=!l(i)||i instanceof s?null:i;i&&!o||(i=e.getColorFromPalette(e.name,null,t.getSeriesCount())),n.setVisual("color",i);var a=(e.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),i=e.get(a);if(n.setVisual("borderColor",i),!t.isSeriesFiltered(e)){o&&n.each(function(t){n.setItemVisual(t,"color",o(e.getDataParams(t)))});return{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e),i=n.get(r,!0),n=n.get(a,!0);null!=i&&t.setItemVisual(e,"color",i),null!=n&&t.setItemVisual(e,"borderColor",n)}:null}}}}},function(t,e,n){var i=n(1),f=n(88),g=n(104).retrieveRawValue;t.exports=function(t,e){var l,u,c,n,h,o=e.getModel("aria");function d(t,e){if("string"!=typeof t)return t;var n=t;return i.each(e,function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),n}function p(t){var e=o.get(t);if(null!=e)return e;for(var n=t.split("."),i=f.aria,r=0;r<n.length;++r)i=i[n[r]];return i}o.get("show")&&(o.get("description")?t.setAttribute("aria-label",o.get("description")):(l=0,e.eachSeries(function(t,e){++l},this),u=o.get("data.maxCount")||10,n=o.get("series.maxCount")||10,c=Math.min(l,n),l<1||(n=(n=function(){var t=e.getModel("title").option;t&&t.length&&(t=t[0]);return t&&t.text}())?d(p("general.withTitle"),{title:n}):p("general.withoutTitle"),h=[],n+=d(p(1<l?"series.multiple.prefix":"series.single.prefix"),{seriesCount:l}),e.eachSeries(function(t,e){if(e<c){var n=t.get("name"),e="series."+(1<l?"multiple":"single")+".",n=p(n?e+"withName":e+"withoutName");n=d(n,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(e=t.subType,f.series.typeNames[e]||"自定义图")});var i=t.getData();(window.data=i).count()>u?n+=d(p("data.partialData"),{displayCnt:u}):n+=p("data.allData");for(var r,o,a=[],s=0;s<i.count();s++)s<u&&(r=i.getName(s),o=g(i,s),a.push(d(p(r?"data.withName":"data.withoutName"),{name:r,value:o})));n+=a.join(p("data.separator.middle"))+p("data.separator.end"),h.push(n)}}),n+=h.join(p("series.multiple.separator.middle"))+p("series.multiple.separator.end"),t.setAttribute("aria-label",n))))}},function(t,e,n){var u=n(1),c=n(8),h=n(55),d=Math.PI;t.exports=function(i,r){u.defaults(r=r||{},{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var t=new c.Group,o=new c.Rect({style:{fill:r.maskColor},zlevel:r.zlevel,z:1e4});t.add(o);var a,s=r.fontSize+" sans-serif",l=new c.Rect({style:{fill:"none",text:r.text,font:s,textPosition:"right",textDistance:10,textFill:r.textColor},zlevel:r.zlevel,z:10001});return t.add(l),r.showSpinner&&((a=new c.Arc({shape:{startAngle:-d/2,endAngle:-d/2+.1,r:r.spinnerRadius},style:{stroke:r.color,lineCap:"round",lineWidth:r.lineWidth},zlevel:r.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*d/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:3*d/2}).delay(300).start("circularInOut"),t.add(a)),t.resize=function(){var t=h.getWidth(r.text,s),e=r.showSpinner?r.spinnerRadius:0,n=(i.getWidth()-2*e-(r.showSpinner&&t?10:0)-t)/2-(r.showSpinner?0:t/2),t=i.getHeight()/2;r.showSpinner&&a.setShape({cx:n,cy:t}),l.setShape({x:n-e,y:t-e,width:2*e,height:2*e}),o.setShape({x:0,y:0,width:i.getWidth(),height:i.getHeight()})},t.resize(),t}},function(t,e,n){var i=n(1),p=i.each,r=i.map,o=i.isFunction,d=i.createHashMap,a=i.noop,f=n(338).createTask,s=n(158).getUID,l=n(636),i=n(649),u=n(17).normalizeToArray;function c(t,e,n,i){this.ecInstance=t,this.api=e,this.unfinished;n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice();this._allHandlers=n.concat(i),this._stageTaskMap=d()}n=c.prototype;function h(s,t,l,u,c){var h;function d(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}c=c||{},p(t,function(i,t){var e,n,r,o,a;c.visualType&&c.visualType!==i.visualType||(e=(o=s._stageTaskMap.get(i.uid)).seriesTaskMap,(n=o.overallTask)?((o=n.agentStubMap).each(function(t){d(c,t)&&(t.dirty(),r=!0)}),r&&n.dirty(),g(n,u),a=s.getPerformArgs(n,c.block),o.each(function(t){t.perform(a)}),h|=n.perform(a)):e&&e.each(function(t,e){d(c,t)&&t.dirty();var n=s.getPerformArgs(t,c.block);n.skip=!i.performRawSeries&&l.isSeriesFiltered(t.context.model),g(t,u),h|=t.perform(n)}))}),s.unfinished|=h}n.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){t=t.overallTask;t&&t.dirty()})},n.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,n=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,i=i&&i.modDataCount;return{step:n,modBy:null!=i?Math.ceil(i/n):null,modDataCount:i}}},n.getPipeline=function(t){return this._pipelineMap.get(t)},n.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,e=t.get("large")&&i>=t.get("largeThreshold"),i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:i,large:e}},n.restorePipelines=function(t){var i=this,r=i._pipelineMap=d();t.eachSeries(function(t){var e=t.getProgressive(),n=t.uid;r.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:e&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(e||700),count:0}),w(i,t,t.dataTask)})},n.prepareStageTasks=function(){var n=this._stageTaskMap,i=this.ecInstance.getModel(),r=this.api;p(this._allHandlers,function(t){var e=n.get(t.uid)||n.set(t.uid,[]);t.reset&&function(n,i,t,r,o){var a=t.seriesTaskMap||(t.seriesTaskMap=d()),e=i.seriesType,t=i.getTargetSeries;i.createOnAllSeries?r.eachRawSeries(s):e?r.eachRawSeriesByType(e,s):t&&t(r,o).each(s);function s(t){var e=t.uid,e=a.get(e)||a.set(e,f({plan:_,reset:b,count:M}));e.context={model:t,ecModel:r,api:o,useClearVisual:i.isVisual&&!i.isLayout,plan:i.plan,reset:i.reset,scheduler:n},w(n,t,e)}var l=n._pipelineMap;a.each(function(t,e){l.get(e)||(t.dispose(),a.removeKey(e))})}(this,t,e,i,r),t.overallReset&&function(i,t,e,n,r){var o=e.overallTask=e.overallTask||f({reset:m});o.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:i};var a=o.agentStubMap=o.agentStubMap||d(),s=t.seriesType,e=t.getTargetSeries,l=!0,u=t.modifyOutputEnd;s?n.eachRawSeriesByType(s,c):e?e(n,r).each(c):(l=!1,p(n.getSeries(),c));function c(t){var e=t.uid,n=a.get(e);n||(n=a.set(e,f({reset:v,onDirty:x})),o.dirty()),n.context={model:t,overallProgress:l,modifyOutputEnd:u},n.agent=o,n.__block=l,w(i,t,n)}var h=i._pipelineMap;a.each(function(t,e){h.get(e)||(t.dispose(),o.dirty(),a.removeKey(e))})}(this,t,e,i,r)},this)},n.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,w(this,e,r)},n.performDataProcessorTasks=function(t,e){h(this,this._dataProcessorHandlers,t,e,{block:!0})},n.performVisualTasks=function(t,e,n){h(this,this._visualHandlers,t,e,n)},n.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},n.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())})};var g=n.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function m(t){t.overallReset(t.ecModel,t.api,t.payload)}function v(t,e){return t.overallProgress&&y}function y(){this.agent.dirty(),this.getDownstream().dirty()}function x(){this.agent&&this.agent.dirty()}function _(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function b(t){t.useClearVisual&&t.data.clearAllVisual();t=t.resetDefines=u(t.reset(t.model,t.ecModel,t.api,t.payload));return 1<t.length?r(t,function(t,e){return A(e)}):S}var S=A(0);function A(o){return function(t,e){var n=e.data,i=e.resetDefines[o];if(i&&i.dataEach)for(var r=t.start;r<t.end;r++)i.dataEach(n,r);else i&&i.progress&&i.progress(t,n)}}function M(t){return t.data.count()}function w(t,e,n){e=e.uid,e=t._pipelineMap.get(e);e.head||(e.head=n),e.tail&&e.tail.pipe(n),(e.tail=n).__idxInPipeline=e.count++,n.__pipeline=e}c.wrapStageHandler=function(t,e){return(t=o(t)?{overallReset:t,seriesType:function(t){C=null;try{t(T,I)}catch(t){}return C}(t)}:t).uid=s("stageHandler"),e&&(t.visualType=e),t};var C,T={},I={};function D(t,e){for(var n in e.prototype)t[n]=a}D(T,l),D(I,i),T.eachSeriesByType=T.eachRawSeriesByType=function(t){C=t},T.eachComponent=function(t){"series"===t.mainType&&t.subType&&(C=t.subType)},t.exports=c},function(t,e){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];t.exports={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]}},function(t,e){function n(){return{axisLine:{lineStyle:{color:i}},axisTick:{lineStyle:{color:i}},axisLabel:{textStyle:{color:i}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:i}}}}var i="#eee",r=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],r={color:r,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:i},crossStyle:{color:i},label:{color:"#000"}}},legend:{textStyle:{color:i}},textStyle:{color:i},title:{textStyle:{color:i}},toolbox:{iconStyle:{normal:{borderColor:i}}},dataZoom:{textStyle:{color:i}},visualMap:{textStyle:{color:i}},timeline:{lineStyle:{color:i},itemStyle:{normal:{color:r[1]}},label:{normal:{textStyle:{color:i}}},controlStyle:{normal:{color:i,borderColor:i}}},timeAxis:n(),logAxis:n(),valueAxis:n(),categoryAxis:n(),line:{symbol:"circle"},graph:{color:r},gauge:{title:{textStyle:{color:i}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};r.categoryAxis.splitLine.show=!1,t.exports=r},function(t,e,n){n=n(35).extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.rx,o=e.ry,a=.5522848*r,e=.5522848*o;t.moveTo(n-r,i),t.bezierCurveTo(n-r,i-e,n-a,i-o,n,i-o),t.bezierCurveTo(n+a,i-o,n+r,i-e,n+r,i),t.bezierCurveTo(n+r,i+e,n+a,i+o,n,i+o),t.bezierCurveTo(n-a,i+o,n-r,i+e,n-r,i),t.closePath()}});t.exports=n},function(t,e,n){var i=n(1),r=n(80),o=n(67),a=n(132),s=n(39),l=n(21);l.getLayoutRect;e.getLayoutRect=l.getLayoutRect;var u=n(73),c=u.enableDataStack,h=u.isDimensionStacked,l=u.getStackedDimension,u=n(278);e.completeDimensions=u;u=n(131);e.createDimensions=u;n=n(56);e.createSymbol=n.createSymbol;l={isDimensionStacked:h,enableDataStack:c,getStackedDimension:l};e.createList=function(t){return r(t.getSource(),t)},e.dataStack=l,e.createScale=function(t,e){var n=e;return s.isInstance(e)||(n=new s(e),i.mixin(n,a)),(e=o.createScaleByModel(n)).setExtent(t[0],t[1]),o.niceScaleExtent(e,n),e},e.mixinAxisModelCommonMethods=function(t){i.mixin(t,a)}},function(t,e,n){n(20).__DEV__;var n=n(1),i=n.createHashMap,l=(n.retrieve,n.each);function r(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=i(),this.categoryAxisMap=i(),this.firstCategoryDimIndex=null}var o={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis")[0],t=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",t),u(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),u(t)&&(i.set("y",t),e.firstCategoryDimIndex,e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,i){t=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",t),u(t)&&(i.set("single",t),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar")[0],t=r.findAxisModel("radiusAxis"),r=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",t),n.set("angle",r),u(t)&&(i.set("radius",t),e.firstCategoryDimIndex=0),u(r)&&(i.set("angle",r),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,i,r,o){var a=t.ecModel,t=a.getComponent("parallel",t.get("parallelIndex")),s=i.coordSysDims=t.dimensions.slice();l(t.parallelAxisIndex,function(t,e){var n=a.getComponent("parallelAxis",t),t=s[e];r.set(t,n),u(n)&&null==i.firstCategoryDimIndex&&(o.set(t,n),i.firstCategoryDimIndex=e)})}};function u(t){return"category"===t.get("type")}e.getCoordSysInfoBySeries=function(t){var e=t.get("coordinateSystem"),n=new r(e);if(e=o[e])return e(t,n,n.axisMap,n.categoryAxisMap),n}},function(t,e,n){var i=n(1),r=n(279),o=n(654),a=r.prototype,s=r.extend({type:"ordinal",init:function(t,e){t&&!i.isArray(t)||(t=new o({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),a.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return a.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(a.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:i.noop,niceExtent:i.noop});s.create=function(){return new s},t.exports=s},function(t,e,n){var i=n(1),a=n(13),r=n(26),s=n(655),n=n(280),o=n.prototype,l=Math.ceil,u=Math.floor,c=864e5,h=n.extend({type:"time",getLabel:function(t){var e=this._stepLvl,t=new Date(t);return r.formatTime(e[0],t,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;e[0]===e[1]&&(e[0]-=c,e[1]+=c),e[1]===-1/0&&e[0]===1/0&&(n=new Date,e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-c),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var n=this._interval;t.fixMin||(e[0]=a.round(u(e[0]/n)*n)),t.fixMax||(e[1]=a.round(l(e[1]/n)*n))},niceTicks:function(t,e,n){var i=this._extent,r=i[1]-i[0],o=r/(t=t||10);null!=e&&o<e&&(o=e);e=d.length,o=function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=1+r:i=r}return n}(d,o=null!=n&&n<o?n:o,0,e),o=d[Math.min(o,e-1)],e=o[1];"year"===o[0]&&(e*=a.nice(r/e/t,!0));t=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,t=[Math.round(l((i[0]-t)/e)*e+t),Math.round(u((i[1]-t)/e)*e+t)];s.fixExtent(t,i),this._stepLvl=o,this._interval=e,this._niceExtent=t},parse:function(t){return+a.parseDate(t)}});i.each(["contain","normalize"],function(e){h.prototype[e]=function(t){return o[e].call(this,this.parse(t))}});var d=[["hh:mm:ss",1e3],["hh:mm:ss",5e3],["hh:mm:ss",1e4],["hh:mm:ss",15e3],["hh:mm:ss",3e4],["hh:mm\nMM-dd",6e4],["hh:mm\nMM-dd",3e5],["hh:mm\nMM-dd",6e5],["hh:mm\nMM-dd",9e5],["hh:mm\nMM-dd",18e5],["hh:mm\nMM-dd",36e5],["hh:mm\nMM-dd",72e5],["hh:mm\nMM-dd",216e5],["hh:mm\nMM-dd",432e5],["MM-dd\nyyyy",c],["MM-dd\nyyyy",2*c],["MM-dd\nyyyy",3*c],["MM-dd\nyyyy",4*c],["MM-dd\nyyyy",432e6],["MM-dd\nyyyy",6*c],["week",7*c],["MM-dd\nyyyy",864e6],["week",14*c],["week",21*c],["month",31*c],["week",42*c],["month",62*c],["week",6048e6],["quarter",8208e6],["month",107136e5],["month",13392e6],["half-year",16416e6],["month",214272e5],["month",26784e6],["year",32832e6]];h.create=function(t){return new h({useUTC:t.ecModel.get("useUTC")})},t.exports=h},function(t,e,n){var s=n(1),g=n(55),i=n(17).makeInner,n=n(67),m=n.makeLabelFormatter,l=n.getOptionCategoryInterval,d=n.shouldShowAllLabels,v=i();function u(t,e){var n,i=c(t,"labels"),r=l(e),e=h(i,r);return e||p(i,r,{labels:s.isFunction(r)?y(t,r):f(t,n="auto"===r?null!=(t=v(n=t).autoInterval)?t:v(n).autoInterval=n.calculateCategoryInterval():r),labelCategoryInterval:n})}function c(t,e){return v(t)[e]||(v(t)[e]=[])}function h(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function p(t,e,n){return t.push({key:e,value:n}),n}function f(t,e,n){var i=m(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],e=r.count();0!==u&&1<l&&2<e/l&&(u=Math.round(Math.ceil(u/l)*l));e=d(t),t=a.get("showMinLabel")||e,e=a.get("showMaxLabel")||e;t&&u!==o[0]&&h(o[0]);for(var c=u;c<=o[1];c+=l)h(c);function h(t){s.push(n?t:{formattedLabel:i(t),rawLabel:r.getLabel(t),tickValue:t})}return e&&c-l!==o[1]&&h(o[1]),s}function y(t,n,i){var r=t.scale,o=m(t),a=[];return s.each(r.getTicks(),function(t){var e=r.getLabel(t);n(t,e)&&a.push(i?t:{formattedLabel:o(t),rawLabel:e,tickValue:t})}),a}e.createAxisLabels=function(t){return"category"===t.type?(r=(e=t).getLabelModel(),o=u(e,r),!r.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:o.labelCategoryInterval}:o):(t=(n=t).scale.getTicks(),i=m(n),{labels:s.map(t,function(t,e){return{formattedLabel:i(t,e),rawLabel:n.scale.getLabel(t),tickValue:t}})});var n,i,e,r,o},e.createAxisTicks=function(t,e){return"category"===t.type?function(t,e){var n,i,r=c(t,"ticks"),o=l(e),a=h(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);n=s.isFunction(o)?y(t,o,!0):"auto"===o?(e=u(t,t.getLabelModel()),i=e.labelCategoryInterval,s.map(e.labels,function(t){return t.tickValue})):f(t,i=o,!0);return p(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:t.scale.getTicks()}},e.calculateCategoryInterval=function(t){var e=(u=(l=t).getLabelModel(),{axisRotate:l.getRotate?l.getRotate():l.isHorizontal&&!l.isHorizontal()?90:0,labelRotate:u.get("rotate")||0,font:u.getFont()}),n=m(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=(c=t.scale).getExtent(),o=c.count();if(r[1]-r[0]<1)return 0;var a=1;40<o&&(a=Math.max(1,Math.floor(o/40)));for(var s=r[0],l=t.dataToCoord(s+1)-t.dataToCoord(s),u=Math.abs(l*Math.cos(i)),c=Math.abs(l*Math.sin(i)),h=0,d=0;s<=r[1];s+=a)var p=g.getBoundingRect(n(s),e.font,"center","top"),f=1.3*p.width,p=1.3*p.height,h=Math.max(h,f,7),d=Math.max(d,p,7);return l=h/u,i=d/c,isNaN(l)&&(l=1/0),isNaN(i)&&(i=1/0),u=Math.max(0,Math.floor(Math.min(l,i))),c=v(t.model),l=t.getExtent(),i=c.lastAutoInterval,t=c.lastTickCount,null!=i&&null!=t&&Math.abs(i-u)<=1&&Math.abs(t-o)<=1&&u<i&&c.axisExtend0===l[0]&&c.axisExtend1===l[1]?u=i:(c.lastTickCount=o,c.lastAutoInterval=u,c.axisExtend0=l[0],c.axisExtend1=l[1]),u}},function(t,e,n){var i=n(1),r=n(30),o=n(881);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(),n=n.parse(t[0]),t=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),n),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),t),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]),t=Math.max(t[0],t[1])-n,e=Math.max(e[0],e[1])-i;return new r(n,i,t,e)}},i.inherits(a,o),t.exports=a},function(t,e,n){var i=n(1);function r(t){return this._axes[t]}n=function(t){this._axes={},this._dimList=[],this.name=t||""};n.prototype={constructor:n,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return i.map(this._dimList,r,this)},getAxesByScale:function(e){return e=e.toLowerCase(),i.filter(this.getAxes(),function(t){return t.scale.type===e})},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;r<n.length;r++){var o=n[r],a=this._axes[o];i[o]=a[e](t[o])}return i}};t.exports=n},function(t,e,n){var i=n(1),o=n(89),n=function(t,e,n,i,r){o.call(this,t,e,n),this.type=i||"value",this.position=r||"bottom"};n.prototype={constructor:n,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[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(n,o),t.exports=n},function(t,e,n){n(660);n=n(43).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=n},function(t,e,n){n=n(662).extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return t=t<e?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=n},function(t,e,n){n(20).__DEV__;var i=n(4),d=n(1),A=n(8),p=n(663).setLabel,r=n(39),o=n(886),a=n(35),M=n(102),s=n(87).throttle,l=n(162).createClipPath,u=n(887),c=["itemStyle","barBorderWidth"],m=[0,0];d.extend(r.prototype,o);var i=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){t=t.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(a,t,e){var s,l=this.group,u=a.getData(),c=this._data,h=a.coordinateSystem,n=h.getBaseAxis();"cartesian2d"===h.type?s=n.isHorizontal():"polar"===h.type&&(s="angle"===n.dim);var i,r,d=a.isAnimationEnabled()?a:null,p=a.get("clip",!0),f=(r=u,n=(i=h).getArea&&i.getArea(),"cartesian2d"===i.type&&("category"===(i=i.getBaseAxis()).type&&i.onBand||(r=r.getLayout("bandWidth"),i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r))),n);l.removeClipPath();function g(t){var e,n,i=D[h.type](u,t);return(i=(e=s,n=i,new("polar"===(i=h).type?A.Sector:A.Rect)({shape:k(e,n,i),silent:!0,z2:0}))).useStyle(y.getBarItemStyle()),"cartesian2d"===h.type&&i.setShape("r",x),_[t]=i}var m=a.get("roundCap",!0),v=a.get("showBackground",!0),y=a.getModel("backgroundStyle"),x=y.get("barBorderRadius")||0,_=[],b=this._backgroundEls||[];u.diff(c).add(function(t){var e=u.getItemModel(t),n=D[h.type](u,t,e);if(v&&g(t),u.hasValue(t)){if(p)if(w[h.type](f,n))return void l.remove(i);var i=C[h.type](t,n,s,d,!1,m);u.setItemGraphicEl(t,i),l.add(i),L(i,u,t,e,n,a,s,"polar"===h.type)}}).update(function(t,e){var n,i,r=u.getItemModel(t),o=D[h.type](u,t,r);v&&(0===b.length?n=g(e):((n=b[e]).useStyle(y.getBarItemStyle()),"cartesian2d"===h.type&&n.setShape("r",x),_[t]=n),i=D[h.type](u,t),i=k(s,i,h),A.updateProps(n,{shape:i},d,t));e=c.getItemGraphicEl(e);if(u.hasValue(t)){if(p)if(w[h.type](f,o))return void l.remove(e);e?A.updateProps(e,{shape:o},d,t):e=C[h.type](t,o,s,d,!0,m),u.setItemGraphicEl(t,e),l.add(e),L(e,u,t,r,o,a,s,"polar"===h.type)}else l.remove(e)}).remove(function(t){var e=c.getItemGraphicEl(t);"cartesian2d"===h.type?e&&T(t,d,e):e&&I(t,d,e)}).execute();var o=this._backgroundGroup||(this._backgroundGroup=new M);o.removeAll();for(var S=0;S<_.length;++S)o.add(_[S]);l.add(o),this._backgroundEls=_,this._data=u},_renderLarge:function(t,e,n){this._clear(),y(t,this.group);t=t.get("clip",!0)?l(t.coordinateSystem,!1,t):null;t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderLarge:function(t,e){this._removeBackground(),y(e,this.group,!0)},dispose:d.noop,remove:function(t){this._clear(t)},_clear:function(e){var t=this.group,n=this._data;e&&e.get("animation")&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(t){("sector"===t.type?I:T)(t.dataIndex,e,t)})):t.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),h=Math.max,f=Math.min,w={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=h(e.x,t.x),o=f(e.x+e.width,t.x+t.width),a=h(e.y,t.y),t=f(e.y+e.height,t.y+t.height);e.x=r,e.y=a,e.width=o-r,e.height=t-a;a=e.width<0||e.height<0;return n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),a},polar:function(t,e){var n=e.r0<=e.r?1:-1;n<0&&(i=e.r,e.r=e.r0,e.r0=i);var i=f(e.r,t.r),t=h(e.r0,t.r0),t=(e.r=i)-(e.r0=t)<0;return n<0&&(i=e.r,e.r=e.r0,e.r0=i),t}},C={cartesian2d:function(t,e,n,i,r){var o,a=new A.Rect({shape:d.extend({},e),z2:1});return a.name="item",i&&(o={},a.shape[n=n?"height":"width"]=0,o[n]=e[n],A[r?"updateProps":"initProps"](a,{shape:o},i,t)),a},polar:function(t,e,n,i,r,o){var a=e.startAngle<e.endAngle,s=new(!n&&o?u:A.Sector)({shape:d.defaults({clockwise:a},e),z2:1});return s.name="item",i&&(o={},s.shape[a=n?"r":"endAngle"]=n?0:e.startAngle,o[a]=e[a],A[r?"updateProps":"initProps"](s,{shape:o},i,t)),s}};function T(t,e,n){n.style.text=null,A.updateProps(n,{shape:{width:0}},e,t,function(){n.parent&&n.parent.remove(n)})}function I(t,e,n){n.style.text=null,A.updateProps(n,{shape:{r:n.shape.r0}},e,t,function(){n.parent&&n.parent.remove(n)})}var D={cartesian2d:function(t,e,n){var i,e=t.getItemLayout(e),i=n?(o=e,i=(r=n).get(c)||0,r=isNaN(o.width)?Number.MAX_VALUE:Math.abs(o.width),o=isNaN(o.height)?Number.MAX_VALUE:Math.abs(o.height),Math.min(i,r,o)):0,r=0<e.width?1:-1,o=0<e.height?1:-1;return{x:e.x+r*i/2,y:e.y+o*i/2,width:e.width-r*i,height:e.height-o*i}},polar:function(t,e,n){e=t.getItemLayout(e);return{cx:e.cx,cy:e.cy,r0:e.r0,r:e.r,startAngle:e.startAngle,endAngle:e.endAngle}}};function g(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function L(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"color"),u=e.getItemVisual(n,"opacity"),c=e.getVisual("borderColor"),h=i.getModel("itemStyle"),e=i.getModel("emphasis.itemStyle").getBarItemStyle();s||t.setShape("r",h.get("barBorderRadius")||0),t.useStyle(d.defaults({stroke:g(r)?"none":c,fill:g(r)?"none":l,opacity:u},h.getBarItemStyle()));h=i.getShallow("cursor");h&&t.attr("cursor",h);a=a?0<r.height?"bottom":"top":0<r.width?"left":"right";s||p(t.style,e,i,l,o,n,a),g(r)&&(e.fill=e.stroke="none"),A.setHoverStyle(t,e)}var v=a.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,r=this.__baseDimIdx,o=0;o<n.length;o+=2)i[r]=n[o+r],t.moveTo(i[0],i[1]),t.lineTo(n[o],n[o+1])}});function y(t,e,n){var i=t.getData(),r=[],o=i.getLayout("valueAxisHorizontal")?1:0;r[1-o]=i.getLayout("valueAxisStart");var a,s,l,u,c=i.getLayout("largeDataIndices"),h=i.getLayout("barWidth"),d=t.getModel("backgroundStyle");t.get("showBackground",!0)&&(u=i.getLayout("largeBackgroundPoints"),(l=[])[1-o]=i.getLayout("backgroundStart"),a=new v({shape:{points:u},incremental:!!n,__startPoint:l,__baseDimIdx:o,__largeDataIndices:c,__barWidth:h,silent:!0,z2:0}),s=a,u=i,d=(l=d).get("borderColor")||l.get("color"),l=l.getItemStyle(["color","borderColor"]),s.useStyle(l),s.style.fill=null,s.style.stroke=d,s.style.lineWidth=u.getLayout("barWidth"),e.add(a));o=new v({shape:{points:i.getLayout("largePoints")},incremental:!!n,__startPoint:r,__baseDimIdx:o,__largeDataIndices:c,__barWidth:h});e.add(o),c=o,h=t,i=(e=i).getVisual("borderColor")||e.getVisual("color"),h=h.getModel("itemStyle").getItemStyle(["color","borderColor"]),c.useStyle(h),c.style.fill=null,c.style.stroke=i,c.style.lineWidth=e.getLayout("barWidth"),o.seriesIndex=t.seriesIndex,t.get("silent")||(o.on("mousedown",x),o.on("mousemove",x))}var x=s(function(t){t=function(t,e,n){var i=t.__baseDimIdx,r=1-i,o=t.shape.points,a=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[r];m[0]=e,m[1]=n;for(var n=m[i],u=m[1-i],c=n-s,h=n+s,d=0,p=o.length/2;d<p;d++){var f=2*d,g=o[f+i],f=o[f+r];if(c<=g&&g<=h&&(l<=f?l<=u&&u<=f:f<=u&&u<=l))return a[d]}return-1}(this,t.offsetX,t.offsetY);this.dataIndex=0<=t?t:null},30,!1);function k(t,e,n){var i="polar"===n.type,n=i?n.getArea():n.grid.getRect();return i?{cx:n.cx,cy:n.cy,r0:(t?n:e).r0,r:(t?n:e).r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:(t?e:n).x,y:(t?n:e).y,width:(t?e:n).width,height:(t?n:e).height}}t.exports=i},function(t,e,n){var i=n(128)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getBarItemStyle:function(t){var e=i(this,t);return!this.getBorderLineDash||(t=this.getBorderLineDash())&&(e.lineDash=t),e}}},function(t,e,n){n=(0,n(8).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),p=Math.cos(u),e=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(p*o+n,e*o+i),t.arc(p*s+n,e*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,e*r+i)),t.closePath()}});t.exports=n},function(t,e,n){n(660),n(889)},function(t,e,n){var g=n(1),m=n(8),s=n(90),i=n(106),l=n(664),n=n(665),r=n.rectCoordAxisBuildSplitArea,o=n.rectCoordAxisHandleRemove,u=["axisLine","axisTickLabel","axisName"],c=["splitArea","splitLine","minorSplitLine"],h=i.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,i){this.group.removeAll();var r,o,a=this._axisGroup;this._axisGroup=new m.Group,this.group.add(this._axisGroup),e.get("show")&&(r=e.getCoordSysModel(),o=l.layout(r,e),o=new s(e,o),g.each(u,o.add,o),this._axisGroup.add(o.getGroup()),g.each(c,function(t){e.get(t+".show")&&this["_"+t](e,r)},this),m.groupTransition(a,this._axisGroup,e),h.superCall(this,"render",e,t,n,i))},remove:function(){o(this)},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank())for(var i=t.getModel("splitLine"),t=i.getModel("lineStyle"),r=t.get("color"),r=g.isArray(r)?r:[r],o=e.coordinateSystem.getRect(),a=n.isHorizontal(),s=0,l=n.getTicksCoords({tickModel:i}),u=[],c=[],h=t.getLineStyle(),d=0;d<l.length;d++){var p=n.toGlobalCoord(l[d].coord);a?(u[0]=p,u[1]=o.y,c[0]=p,c[1]=o.y+o.height):(u[0]=o.x,u[1]=p,c[0]=o.x+o.width,c[1]=p);var f=s++%r.length,p=l[d].tickValue;this._axisGroup.add(new m.Line({anid:null!=p?"line_"+l[d].tickValue:null,subPixelOptimize:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:g.defaults({stroke:r[f]},h),silent:!0}))}},_minorSplitLine:function(t,e){var n=t.axis,t=t.getModel("minorSplitLine").getModel("lineStyle"),i=e.coordinateSystem.getRect(),r=n.isHorizontal(),o=n.getMinorTicksCoords();if(o.length)for(var a=[],s=[],l=t.getLineStyle(),u=0;u<o.length;u++)for(var c=0;c<o[u].length;c++){var h=n.toGlobalCoord(o[u][c].coord);r?(a[0]=h,a[1]=i.y,s[0]=h,s[1]=i.y+i.height):(a[0]=i.x,a[1]=h,s[0]=i.x+i.width,s[1]=h),this._axisGroup.add(new m.Line({anid:"minor_line_"+o[u][c].tickValue,subPixelOptimize:!0,shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:l,silent:!0}))}},_splitArea:function(t,e){r(this,this._axisGroup,t,e)}});h.extend({type:"xAxis"}),h.extend({type:"yAxis"})},function(t,e,n){var y=n(1),i=n(17).makeInner,u=n(283),x=n(667),_=y.each,b=y.curry,S=i();function A(t,e,n,i,r){var o,a,s,l,u,c,h,d,p,f,g=t.axis;!g.scale.isBlank()&&g.containData(e)&&(t.involveSeries?(f=(o=(a=e,s=(p=t).axis,l=s.dim,u=a,c=[],h=Number.MAX_VALUE,d=-1,_(p.seriesModels,function(e,t){var n=e.getData().mapDimension(l,!0);if(e.getAxisTooltipData)var i=e.getAxisTooltipData(n,a,s),r=i.dataIndices,o=i.nestestValue;else{if(!(r=e.getData().indicesOfNearest(n[0],a,"category"===s.type?.5:null)).length)return;o=e.getData().get(n[0],r[0])}null!=o&&isFinite(o)&&(i=a-o,(n=Math.abs(i))<=h&&((n<h||0<=i&&d<0)&&(h=n,d=i,u=o,c.length=0),_(r,function(t){c.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}),{payloadBatch:c,snapToValue:u})).snapToValue,(p=o.payloadBatch)[0]&&null==r.seriesIndex&&y.extend(r,p[0]),!i&&t.snap&&g.containData(f)&&null!=f&&(e=f),n.showPointer(t,e,p,r),n.showTooltip(t,o,f)):n.showPointer(t,e))}function M(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function w(t,e,n,i){var r,o=n.payloadBatch,a=e.axis,s=a.model,l=e.axisPointerModel;e.triggerTooltip&&o.length&&(r=e.coordSys.model,n=u.makeKey(r),(e=t.map[n])||(e=t.map[n]={coordSysId:r.id,coordSysIndex:r.componentIndex,coordSysType:r.type,coordSysMainType:r.mainType,dataByAxis:[]},t.list.push(e)),e.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:o.slice()}))}function C(t){var e=t.axis.model,n={},t=n.axisDim=t.axis.dim;return n.axisIndex=n[t+"AxisIndex"]=e.componentIndex,n.axisName=n[t+"AxisName"]=e.name,n.axisId=n[t+"AxisId"]=e.id,n}function T(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,n){var i=t.currTrigger,o=[t.x,t.y],r=t,a=t.dispatchAction||y.bind(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){T(o)&&(o=x({seriesIndex:r.seriesIndex,dataIndex:r.dataIndex},e).point);var l=T(o),u=r.axesInfo,c=s.axesInfo,h="leave"===i||T(o),d={},p={},e={list:[],map:{}},f={showPointer:b(M,p),showTooltip:b(w,e)};_(s.coordSysMap,function(t,e){var r=l||t.containPoint(o);_(s.coordSysAxesInfo[e],function(t,e){var n=t.axis,i=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}}(u,t);h||!r||u&&!i||null!=(i=null==(i=i&&i.value)&&!l?n.pointToData(o):i)&&A(t,i,f,!1,d)})});var g,m,v={};return _(c,function(n,t){var i=n.linkGroup;i&&!p[t]&&_(i.axesInfo,function(t,e){e=p[e];t!==n&&e&&(e=e.value,i.mapper&&(e=n.axis.scale.parse(i.mapper(e,C(t),C(n)))),v[n.key]=e)})}),_(v,function(t,e){A(c[e],t,f,!0,d)}),g=p,r=c,m=d.axesInfo=[],_(r,function(t,e){var n=t.axisPointerModel.option,e=g[e];e?(t.useHandle||(n.status="show"),n.value=e.value,n.seriesDataIndices=(e.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&m.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),i=e,r=t,e=a,!T(t=o)&&i.list.length?(a=((i.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{},e({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:i.list})):e({type:"hideTip"}),function(t,e){var n=e.getZr(),i="axisPointerLastHighlights",r=S(n)[i]||{},o=S(n)[i]={};_(t,function(t,e){t=t.axisPointerModel.option;"show"===t.status&&_(t.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t})});var a=[],s=[];y.each(r,function(t,e){o[e]||s.push(t)}),y.each(o,function(t,e){r[e]||a.push(t)}),s.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,batch:s}),a.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,batch:a})}(c,n),d}}},function(t,e,n){n=n(4).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=n},function(t,e,n){var i=n(4),r=n(668),o=i.extendComponentView({type:"axisPointer",render:function(t,e,n){var e=e.getComponent("tooltip"),i=t.get("triggerOn")||e&&e.get("triggerOn")||"mousemove|click";r.register("axisPointer",n,function(t,e,n){"none"!==i&&("leave"===t||0<=i.indexOf(t))&&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)}});t.exports=o},function(t,e,n){n=n(4).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=n},function(t,e,n){var i=n(4),g=n(1),s=n(38),r=n(895),o=n(896),m=n(26),a=n(13),l=n(8),u=n(667),f=n(21),c=n(39),h=n(668),v=n(67),y=n(284),d=n(17).getTooltipRenderMode,p=g.bind,x=g.each,_=a.parsePercent,b=new l.Rect({shape:{x:-1,y:-1,width:2,height:2}}),i=i.extendComponentView({type:"tooltip",init:function(t,e){var n,i;s.node||(t=(n=t.getComponent("tooltip")).get("renderMode"),this._renderMode=d(t),"html"===this._renderMode?(i=new r(e.getDom(),e,{appendToBody:n.get("appendToBody",!0)}),this._newLine="<br/>"):(i=new o(e),this._newLine="\n"),this._tooltipContent=i)},render:function(t,e,n){s.node||(this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent"),(n=this._tooltipContent).update(t),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow())},_initGlobalListener:function(){var i=this._tooltipModel.get("triggerOn");h.register("itemTooltip",this._api,p(function(t,e,n){"none"!==i&&(0<=i.indexOf(t)?this._tryShow(e,n):"leave"===t&&this._hide(n))},this))},_keepShow:function(){var t,e=this._tooltipModel,n=this._ecModel,i=this._api;null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")&&(t=this,clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){i.isDisposed()||t.manuallyShowTip(e,n,i,{x:t._lastX,y:t._lastY})}))},manuallyShowTip:function(t,e,n,i){var r,o,a;i.from===this.uid||s.node||(r=A(i,n),this._ticket="",a=i.dataByCoordSys,i.tooltip&&null!=i.x&&null!=i.y?((o=b).position=[i.x,i.y],o.update(),o.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:o},r)):a?this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},r):null!=i.seriesIndex?this._manuallyAxisShowTip(t,e,n,i)||(t=(a=u(i,e)).point[0],e=a.point[1],null!=t&&null!=e&&this._tryShow({offsetX:t,offsetY:e,position:i.position,target:a.el},r)):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(A(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){e=e.getSeriesByIndex(r);if(e)if("axis"===(t=S([e.getData().getItemModel(o),e,(e.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},_tryShow:function(t,e){var n,i=t.target;this._tooltipModel&&(this._lastX=t.offsetX,this._lastY=t.offsetY,(n=t.dataByCoordSys)&&n.length?this._showAxisTooltip(n,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e)))},_showOrMove:function(t,e){t=t.get("showDelay");e=g.bind(e,this),clearTimeout(this._showTimout),0<t?this._showTimout=setTimeout(e,t):e()},_showAxisTooltip:function(t,e){var u=this._ecModel,n=this._tooltipModel,i=[e.offsetX,e.offsetY],c=[],h=[],r=S([e.tooltipOption,n]),d=this._renderMode,p=this._newLine,f={};x(t,function(t){x(t.dataByAxis,function(r){var o,t,a=u.getComponent(r.axisDim+"Axis",r.axisIndex),s=r.value,l=[];a&&null!=s&&(o=y.getValueLabel(s,a.axis,u,r.seriesDataIndices,r.valueLabelOpt),g.each(r.seriesDataIndices,function(t){var e,n=u.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,t=n&&n.getDataParams(i);t.axisDim=r.axisDim,t.axisIndex=r.axisIndex,t.axisType=r.axisType,t.axisId=r.axisId,t.axisValue=v.getAxisRawValue(a.axis,s),t.axisValueLabel=o,t&&(h.push(t),n=n.formatTooltip(i,!0,null,d),g.isObject(n)?(e=n.html,i=n.markers,g.merge(f,i)):e=n,l.push(e))}),t=o,"html"!==d?c.push(l.join(p)):c.push((t?m.encodeHTML(t)+p:"")+l.join(p)))})},this),c.reverse();var c=c.join(this._newLine+this._newLine),o=e.position;this._showOrMove(r,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(r,o,i[0],i[1],this._tooltipContent,h):this._showTooltipContent(r,c,h,Math.random(),i[0],i[1],o,void 0,f)})},_showSeriesItemTooltip:function(t,e,n){var i,r,o,a,s=this._ecModel,l=e.seriesIndex,u=s.getSeriesByIndex(l),c=e.dataModel||u,h=e.dataIndex,s=e.dataType,e=c.getData(s),d=S([e.getItemModel(h),c,u&&(u.coordinateSystem||{}).model,this._tooltipModel]),u=d.get("trigger");null!=u&&"item"!==u||(i=c.getDataParams(h,s),s=c.formatTooltip(h,!1,s,this._renderMode),o=g.isObject(s)?(r=s.html,s.markers):(r=s,null),a="item_"+c.name+"_"+h,this._showOrMove(d,function(){this._showTooltipContent(d,r,i,a,t.offsetX,t.offsetY,t.position,t.target,o)}),n({type:"showTip",dataIndexInside:h,dataIndex:e.getRawIndex(h),seriesIndex:l,from:this.uid}))},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip,r=new c(i="string"==typeof i?{content:i,formatter:i}: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(n,t,i,e,r,o,a,s,l){var u,c,h;this._ticket="",n.get("showContent")&&n.get("show")&&(u=this._tooltipContent,c=n.get("formatter"),a=a||n.get("position"),h=t,c&&"string"==typeof c?h=m.formatTpl(c,i,!0):"function"==typeof c&&(t=p(function(t,e){t===this._ticket&&(u.setContent(e,l,n),this._updatePosition(n,a,r,o,u,i,s))},this),this._ticket=e,h=c(i,e,t)),u.setContent(h,l,n),u.show(n),this._updatePosition(n,a,r,o,u,i,s))},_updatePosition:function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u,c=r.getSize(),h=t.get("align"),d=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();a&&p.applyTransform(a.transform),"function"==typeof e&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:c.slice()})),g.isArray(e)?(n=_(e[0],s),i=_(e[1],l)):g.isObject(e)?(e.width=c[0],e.height=c[1],n=(o=f.getLayoutRect(e,{width:s,height:l})).x,i=o.y,d=h=null):i=(n=(u="string"==typeof e&&a?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):function(t,e,n,i,r,o,a){var s=n.getOuterSize(),n=s.width,s=s.height;null!=o&&(i<t+n+o?t-=n+o:t+=o);null!=a&&(r<e+s+a?e-=s+a:e+=a);return[t,e]}(n,i,r,s,l,h?null:20,d?null:20))[0],u[1]),h&&(n-=M(h)?c[0]/2:"right"===h?c[0]:0),d&&(i-=M(d)?c[1]/2:"bottom"===d?c[1]:0),t.get("confine")&&(n=(u=(h=n,d=i,c=s,t=l,s=(l=(s=r).getOuterSize()).width,l=l.height,h=Math.min(h+s,c)-s,d=Math.min(d+l,t)-l,h=Math.max(h,0),d=Math.max(d,0),[h,d]))[0],i=u[1]),r.moveTo(n,i)},_updateContentNotChangedOnAxis:function(n){var t=this._lastDataByCoordSys,o=!!t&&t.length===n.length;return o&&x(t,function(t,e){var t=t.dataByAxis||{},r=(n[e]||{}).dataByAxis||[];(o&=t.length===r.length)&&x(t,function(t,e){var n=r[e]||{},e=t.seriesDataIndices||[],i=n.seriesDataIndices||[];(o&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&e.length===i.length)&&x(e,function(t,e){e=i[e];o&=t.seriesIndex===e.seriesIndex&&t.dataIndex===e.dataIndex})})}),this._lastDataByCoordSys=n,!!o},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){s.node||(this._tooltipContent.dispose(),h.unregister("itemTooltip",e))}});function S(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(c.isInstance(n)&&(n=n.get("tooltip",!0)),e=new c(n="string"==typeof n?{formatter:n}:n,e,e.ecModel))}return e}function A(t,e){return t.dispatchAction||g.bind(e.dispatchAction,e)}function M(t){return"center"===t||"middle"===t}t.exports=i},function(t,e,n){var l=n(1),u=n(71),a=n(70),s=n(627),c=n(38),h=n(26),d=l.each,p=h.toCamelCase,f=["","-webkit-","-moz-","-o-"];function i(i){var t,e,r=[],n=i.get("transitionDuration"),o=i.get("backgroundColor"),a=i.getModel("textStyle"),s=i.get("padding");return n&&r.push((e="left "+(t=n)+"s "+(n="cubic-bezier(0.23, 1, 0.32, 1)")+",top "+t+"s "+n,l.map(f,function(t){return t+"transition:"+e}).join(";"))),o&&(c.canvasSupported?r.push("background-Color:"+o):(r.push("background-Color:#"+u.toHex(o)),r.push("filter:alpha(opacity=70)"))),d(["width","color","radius"],function(t){var e="border-"+t,n=p(e),n=i.get(n);null!=n&&r.push(e+":"+n+("color"===t?"":"px"))}),r.push(function(n){var i=[],t=n.get("fontSize");(r=n.getTextColor())&&i.push("color:"+r),i.push("font:"+n.getFont()),null==(o=n.get("lineHeight"))&&(o=Math.round(3*t/2)),t&&i.push("line-height:"+o+"px");var e=n.get("textShadowColor"),r=n.get("textShadowBlur")||0,t=n.get("textShadowOffsetX")||0,o=n.get("textShadowOffsetY")||0;return r&&i.push("text-shadow:"+t+"px "+o+"px "+r+"px "+e),d(["decoration","align"],function(t){var e=n.get(t);e&&i.push("text-"+t+":"+e)}),i.join(";")}(a)),null!=s&&r.push("padding:"+h.normalizeCssArray(s).join("px ")+"px"),r.join(";")+";"}function g(t,e,n,i,r){var o=e&&e.painter;n?(n=o&&o.getViewportRoot())&&s.transformLocalCoord(t,n,document.body,i,r):(t[0]=i,t[1]=r,(o=o&&o.getViewportRootOffset())&&(t[0]+=o.offsetLeft,t[1]+=o.offsetTop)),t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function r(t,e,n){if(c.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var r=this._zr=e.getZr(),n=this._appendToBody=n&&n.appendToBody;this._styleCoord=[0,0,0,0],g(this._styleCoord,r,n,e.getWidth()/2,e.getHeight()/2),(n?document.body:t).appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var o=this;i.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},i.onmousemove=function(t){var e,n;t=t||window.event,o._enterable||(e=r.handler,n=r.painter.getViewportRoot(),a.normalizeEvent(n,t,!0),e.dispatch("mousemove",t))},i.onmouseleave=function(){o._enterable&&o._show&&o.hideLater(o._hideDelay),o._inContent=!1}}r.prototype={constructor:r,_enterable:!0,update:function(t){var e=this._container,n=e.currentStyle||document.defaultView.getComputedStyle(e),e=e.style;"absolute"!==e.position&&"absolute"!==n.position&&(e.position="relative"),t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],t=t*this._zr.getWidth(),e=e*this._zr.getHeight();this.moveTo(t,e)},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;"+i(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;g(n,this._zr,this._appendToBody,t,e);e=this.el.style;e.left=n[0]+"px",e.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(l.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t,e=this.el.clientWidth,n=this.el.clientHeight;return document.defaultView&&document.defaultView.getComputedStyle&&((t=document.defaultView.getComputedStyle(this.el))&&(e+=parseInt(t.borderLeftWidth,10)+parseInt(t.borderRightWidth,10),n+=parseInt(t.borderTopWidth,10)+parseInt(t.borderBottomWidth,10))),{width:e,height:n}}},t.exports=r},function(t,e,n){var i=n(1),p=n(103),f=n(8);function r(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function o(t){var e=this._zr=t.getZr();this._styleCoord=[0,0,0,0],r(this._styleCoord,e,t.getWidth()/2,t.getHeight()/2),this._show=!1,this._hideTimeout}o.prototype={constructor:o,_enterable:!0,update:function(t){t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],t=t*this._zr.getWidth(),e=e*this._zr.getHeight();this.moveTo(t,e)},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={},r=t,o="{marker",a=r.indexOf(o);0<=a;){var s=r.indexOf("|}"),l=r.substr(a+o.length,s-a-o.length);-1<l.indexOf("sub")?i["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[l],textOffset:[3,0]}:i["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[l]},a=(r=r.substr(s+1)).indexOf("{marker")}var u=n.getModel("textStyle"),c=u.get("fontSize"),h=n.get("textLineHeight");null==h&&(h=Math.round(3*c/2)),this.el=new p({style:f.setTextStyle({},u,{rich:i,text:t,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding"),textLineHeight:h}),z:n.get("z")}),this._zr.add(this.el);var d=this;this.el.on("mouseover",function(){d._enterable&&(clearTimeout(d._hideTimeout),d._show=!0),d._inContent=!0}),this.el.on("mouseout",function(){d._enterable&&d._show&&d.hideLater(d._hideDelay),d._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){var n;this.el&&(r(n=this._styleCoord,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]}}},t.exports=o},function(t,e,n){var i=n(4),s=n(1);function r(e,i,t){var r,o={},a="toggleSelected"===e;return t.eachComponent("legend",function(n){a&&null!=r?n[r?"select":"unSelect"](i.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](i.name),r=n.isSelected(i.name));var t=n.getData();s.each(t,function(t){var e=t.get("name");"\n"!==e&&""!==e&&(t=n.isSelected(e),o.hasOwnProperty(e)?o[e]=o[e]&&t:o[e]=t)})}),"allSelect"===e||"inverseSelect"===e?{selected:o}:{name:i.name,selected:o}}i.registerAction("legendToggleSelect","legendselectchanged",s.curry(r,"toggleSelected")),i.registerAction("legendAllSelect","legendselectall",s.curry(r,"allSelect")),i.registerAction("legendInverseSelect","legendinverseselect",s.curry(r,"inverseSelect")),i.registerAction("legendSelect","legendselected",s.curry(r,"select")),i.registerAction("legendUnSelect","legendunselected",s.curry(r,"unSelect"))},function(t,e){t.exports=function(t){var n=t.findComponents({mainType:"legend"});n&&n.length&&t.filterSeries(function(t){for(var e=0;e<n.length;e++)if(!n[e].isSelected(t.name))return!1;return!0})}},,,function(t,e,n){n(20).__DEV__;var i=n(80),n=n(44).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=n},function(t,e,n){n(20).__DEV__;var A=n(1),a=n(157).fromPoints,i=n(165),l=n(285),m=n(903),M=n(8),u=n(17),r=n(676),o=r.Polyline,s=r.Polygon,c=n(72),r=n(675),w=r.prepareDataCoordInfo,C=r.getStackedOnPoint,n=n(162),h=n.createGridClipPath,d=n.createPolarClipPath;function T(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++){var i=t[n],r=e[n];if(i[0]!==r[0]||i[1]!==r[1])return}return 1}}function v(t,e){var n=[],i=[],r=[],o=[];return a(t,n,i),a(e,r,o),Math.max(Math.abs(n[0]-r[0]),Math.abs(n[1]-r[1]),Math.abs(i[0]-o[0]),Math.abs(i[1]-o[1]))}function I(t){return"number"==typeof t?t:t?.5:0}function D(t,e,n){for(var e=e.getBaseAxis(),i="x"===e.dim||"radius"===e.dim?0:1,r=[],o=0;o<t.length-1;o++){var a=t[o+1],s=t[o];r.push(s);var l=[];switch(n){case"end":l[i]=a[i],l[1-i]=s[1-i],r.push(l);break;case"middle":var u=(s[i]+a[i])/2,c=[];l[i]=c[i]=u,l[1-i]=s[1-i],c[1-i]=a[1-i],r.push(l),r.push(c);break;default:l[i]=s[i],l[1-i]=a[1-i],r.push(l)}}return t[o]&&r.push(t[o]),r}function L(t,e,n){var i=t.get("showAllSymbol"),t="auto"===i;if(!i||t){n=n.getAxesByScale("ordinal")[0];if(n&&(!t||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*l.getSymbolSize(e,a)[t.isHorizontal()?1:0]>i)return!1;return!0}(n,e))){var r=e.mapDimension(n.dim),o={};return A.each(n.getViewLabels(),function(t){o[t.tickValue]=1}),function(t){return!o.hasOwnProperty(e.get(r,t))}}}}function k(t,e,n){if("cartesian2d"!==t.type)return d(t,e,n);var i=t.getBaseAxis().isHorizontal(),t=h(t,e,n);return n.get("clip",!0)||(e=t.shape,n=Math.max(e.width,e.height),i?(e.y-=n,e.height+=2*n):(e.x-=n,e.width+=2*n)),t}n=c.extend({type:"line",init:function(){var t=new M.Group,e=new i;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var i=t.coordinateSystem,r=this.group,o=t.getData(),a=t.getModel("lineStyle"),s=t.getModel("areaStyle"),l=o.mapArray(o.getItemLayout),u="polar"===i.type,c=this._coordSys,h=this._symbolDraw,d=this._polyline,p=this._polygon,f=this._lineGroup,g=t.get("animation"),m=!s.isEmpty(),v=s.get("origin"),y=function(t,e,n){if(!n.valueDim)return[];for(var i=[],r=0,o=e.count();r<o;r++)i.push(C(n,t,e,r));return i}(i,o,w(i,o,v)),x=t.get("showSymbol"),_=x&&!u&&L(t,o,i),b=this._data;b&&b.eachItemGraphicEl(function(t,e){t.__temp&&(r.remove(t),b.setItemGraphicEl(e,null))}),x||h.remove(),r.add(f);var S,u=!u&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(S=i.getArea()).width?(S.x-=.1,S.y-=.1,S.width+=.2,S.height+=.2):S.r0&&(S.r0-=.5,S.r1+=.5)),this._clipShapeForSymbol=S,d&&c.type===i.type&&u===this._step?(m&&!p?p=this._newPolygon(l,y,i,g):p&&!m&&(f.remove(p),p=this._polygon=null),f.setClipPath(k(i,!1,t)),x&&h.updateData(o,{isIgnore:_,clipShape:S}),o.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),T(this._stackedOnPoints,y)&&T(this._points,l)||(g?this._updateAnimation(o,y,i,n,u,v):(u&&(l=D(l,i,u),y=D(y,i,u)),d.setShape({points:l}),p&&p.setShape({points:l,stackedOnPoints:y})))):(x&&h.updateData(o,{isIgnore:_,clipShape:S}),u&&(l=D(l,i,u),y=D(y,i,u)),d=this._newPolyline(l,i,g),m&&(p=this._newPolygon(l,y,i,g)),f.setClipPath(k(i,!0,t)));g=function(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var i,r=n.length-1;0<=r;r--){var o,a=n[r].dimension,a=t.dimensions[a],a=t.getDimensionInfo(a);if("x"===(o=a&&a.coordDim)||"y"===o){i=n[r];break}}if(i){var s=e.getAxis(o),l=A.map(i.stops,function(t){return{coord:s.toGlobalCoord(s.dataToCoord(t.value)),color:t.color}}),u=l.length,c=i.outerColors.slice();u&&l[0].coord>l[u-1].coord&&(l.reverse(),c.reverse());var h=l[0].coord-10,e=l[u-1].coord+10,d=e-h;if(d<.001)return"transparent";A.each(l,function(t){t.offset=(t.coord-h)/d}),l.push({offset:u?l[u-1].offset:.5,color:c[1]||"transparent"}),l.unshift({offset:u?l[0].offset:.5,color:c[0]||"transparent"});l=new M.LinearGradient(0,0,0,0,l,!0);return l[o]=h,l[o+"2"]=e,l}}}(o,i)||o.getVisual("color");d.useStyle(A.defaults(a.getLineStyle(),{fill:"none",stroke:g,lineJoin:"bevel"}));f=t.get("smooth"),f=I(t.get("smooth"));d.setShape({smooth:f,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p&&(a=o.getCalculationInfo("stackedOnSeries"),d=0,p.useStyle(A.defaults(s.getAreaStyle(),{fill:g,opacity:.7,lineJoin:"bevel"})),a&&(d=I(a.get("smooth"))),p.setShape({smooth:f,stackedOnSmooth:d,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})),this._data=o,this._coordSys=i,this._stackedOnPoints=y,this._points=l,this._step=u,this._valueOrigin=v},dispose:function(){},highlight:function(t,e,n,i){var r=t.getData(),o=u.queryDataIndex(r,i);if(!(o instanceof Array)&&null!=o&&0<=o){var a=r.getItemGraphicEl(o);if(!a){var s=r.getItemLayout(o);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;(a=new l(r,o)).position=s,a.setZ(t.get("zlevel"),t.get("z")),a.ignore=isNaN(s[0])||isNaN(s[1]),a.__temp=!0,r.setItemGraphicEl(o,a),a.stopSymbolAnimation(!0),this.group.add(a)}a.highlight()}else c.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var r,o=t.getData(),a=u.queryDataIndex(o,i);null!=a&&0<=a?(r=o.getItemGraphicEl(a))&&(r.__temp?(o.setItemGraphicEl(a,null),this.group.remove(r)):r.downplay()):c.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new o({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new s({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n},_updateAnimation:function(t,e,n,i,r,o){var a=this._polyline,s=this._polygon,l=t.hostModel,u=m(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,o),c=u.current,h=u.stackedOnCurrent,e=u.next,o=u.stackedOnNext;if(r&&(c=D(u.current,n,r),h=D(u.stackedOnCurrent,n,r),e=D(u.next,n,r),o=D(u.stackedOnNext,n,r)),3e3<v(c,e)||s&&3e3<v(h,o))return a.setShape({points:e}),void(s&&s.setShape({points:e,stackedOnPoints:o}));a.shape.__points=u.current,a.shape.points=c,M.updateProps(a,{shape:{points:e}},l),s&&(s.setShape({points:c,stackedOnPoints:h}),M.updateProps(s,{shape:{points:e,stackedOnPoints:o}},l));for(var d,p=[],f=u.status,g=0;g<f.length;g++)"="!==f[g].cmd||(d=t.getItemGraphicEl(f[g].idx1))&&p.push({el:d,ptIdx:g});a.animators&&a.animators.length&&a.animators[0].during(function(){for(var t=0;t<p.length;t++)p[t].el.attr("position",a.shape.__points[p[t].ptIdx])})},remove:function(t){var n=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(t,e){t.__temp&&(n.remove(t),i.setItemGraphicEl(e,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});t.exports=n},function(t,e,n){var n=n(675),k=n.prepareDataCoordInfo,N=n.getStackedOnPoint;t.exports=function(t,e,n,i,r,o,a,s){for(var l,u,c=(l=t,u=[],e.diff(l).add(function(t){u.push({cmd:"+",idx:t})}).update(function(t,e){u.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){u.push({cmd:"-",idx:t})}).execute(),u),h=[],d=[],p=[],f=[],g=[],m=[],v=[],y=k(r,e,a),x=k(o,t,s),_=0;_<c.length;_++){var b=c[_],S=!0;switch(b.cmd){case"=":var A=t.getItemLayout(b.idx),M=e.getItemLayout(b.idx1);(isNaN(A[0])||isNaN(A[1]))&&(A=M.slice()),h.push(A),d.push(M),p.push(n[b.idx]),f.push(i[b.idx1]),v.push(e.getRawIndex(b.idx1));break;case"+":var w=b.idx;h.push(r.dataToPoint([e.get(y.dataDimsForPoint[0],w),e.get(y.dataDimsForPoint[1],w)])),d.push(e.getItemLayout(w).slice()),p.push(N(y,r,e,w)),f.push(i[w]),v.push(e.getRawIndex(w));break;case"-":w=b.idx,M=t.getRawIndex(w);M!==w?(h.push(t.getItemLayout(w)),d.push(o.dataToPoint([t.get(x.dataDimsForPoint[0],w),t.get(x.dataDimsForPoint[1],w)])),p.push(n[w]),f.push(N(x,o,t,w)),v.push(M)):S=!1}S&&(g.push(b),m.push(m.length))}m.sort(function(t,e){return v[t]-v[e]});for(var C=[],T=[],I=[],D=[],L=[],_=0;_<m.length;_++){w=m[_];C[_]=h[w],T[_]=d[w],I[_]=p[w],D[_]=f[w],L[_]=g[w]}return{current:C,next:T,stackedOnCurrent:I,stackedOnNext:D,status:L}}},function(t,e){function l(t,e){return Math.round(t.length/2)}var u={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}};t.exports=function(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,n){var i,r,o=t.getData(),a=t.get("sampling"),s=t.coordinateSystem;"cartesian2d"===s.type&&a&&(i=s.getBaseAxis(),s=s.getOtherAxis(i),i=i.getExtent(),i=Math.abs(i[1]-i[0]),1<(i=Math.round(o.count()/i))&&("string"==typeof a?r=u[a]:"function"==typeof a&&(r=a),r&&t.setData(o.downSample(o.mapDimension(s.dim),1/i,r,l))))}}}},function(t,e,n){var i=n(4),r=n(133),o=n(1),a=n(17),s=n(13).getPercentWithPrecision,l=n(346),u=n(104).retrieveRawAttr,c=n(79).makeSeriesEncodeForNameBased,h=n(167),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();i<r;i++)n.push({name:t.getName(i),value:t.get(e,i),selected:u(t,i,"selected")});return n},getDataParams:function(t){var e=this.getData(),n=d.superCall(this,"getDataParams",t),i=[];return e.each(e.mapDimension("value"),function(t){i.push(t)}),n.percent=s(i,t,e.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(t){a.defaultEmphasis(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},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});o.mixin(d,l),t.exports=d},function(t,e,n){var f=n(1),h=n(8),i=n(72);function g(t,e,n,i){var r=e.getData(),o=this.dataIndex,o=r.getName(o),a=e.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),r.each(function(t){d(r.getItemGraphicEl(t),r.getItemLayout(t),e.isSelected(r.getName(t)),a,n)})}function d(t,e,n,i,r){e=(e.startAngle+e.endAngle)/2,i=n?i:0,i=[Math.cos(e)*i,Math.sin(e)*i];r?t.animate().when(200,{position:i}).start("bounceOut"):t.attr("position",i)}function m(t,e){h.Group.call(this);var n=new h.Sector({z2:2}),i=new h.Polyline,r=new h.Text;this.add(n),this.add(i),this.add(r),this.updateData(t,e,!0)}n=m.prototype;n.updateData=function(t,e,n){var i=this.childAt(0),r=this.childAt(1),o=this.childAt(2),a=t.hostModel,s=t.getItemModel(e),l=t.getItemLayout(e),u=f.extend({},l);u.label=null;var c=a.getShallow("animationTypeUpdate");n?(i.setShape(u),"scale"===a.getShallow("animationType")?(i.shape.r=l.r0,h.initProps(i,{shape:{r:l.r}},a,e)):(i.shape.endAngle=l.startAngle,h.updateProps(i,{shape:{endAngle:l.endAngle}},a,e))):"expansion"===c?i.setShape(u):h.updateProps(i,{shape:u},a,e);u=t.getItemVisual(e,"color");i.useStyle(f.defaults({lineJoin:"bevel",fill:u},s.getModel("itemStyle").getItemStyle())),i.hoverStyle=s.getModel("emphasis.itemStyle").getItemStyle();u=s.getShallow("cursor");u&&i.attr("cursor",u),d(this,t.getItemLayout(e),a.isSelected(t.getName(e)),a.get("selectedOffset"),a.get("animation")),this._updateLabel(t,e,!n&&"transition"===c),this.highDownOnUpdate=a.get("silent")?null:function(t,e){var n=a.isAnimationEnabled()&&s.get("hoverAnimation");"emphasis"===e?(r.ignore=r.hoverIgnore,o.ignore=o.hoverIgnore,n&&(i.stopAnimation(!0),i.animateTo({shape:{r:l.r+a.get("hoverOffset")}},300,"elasticOut"))):(r.ignore=r.normalIgnore,o.ignore=o.normalIgnore,n&&(i.stopAnimation(!0),i.animateTo({shape:{r:l.r}},300,"elasticOut")))},h.setHoverStyle(this)},n._updateLabel=function(t,e,n){var i,r,o=this.childAt(1),a=this.childAt(2),s=t.hostModel,l=t.getItemModel(e),u=t.getItemLayout(e).label,c=t.getItemVisual(e,"color");!u||isNaN(u.x)||isNaN(u.y)?a.ignore=a.normalIgnore=a.hoverIgnore=o.ignore=o.normalIgnore=o.hoverIgnore=!0:(i={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},r={x:u.x,y:u.y},n?(h.updateProps(o,{shape:i},s,e),h.updateProps(a,{style:r},s,e)):(o.attr({shape:i}),a.attr({style:r})),a.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10}),s=l.getModel("label"),i=l.getModel("emphasis.label"),r=l.getModel("labelLine"),l=l.getModel("emphasis.labelLine"),c=t.getItemVisual(e,"color"),h.setLabelStyle(a.style,a.hoverStyle={},s,i,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:u.text,autoColor:c,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),a.ignore=a.normalIgnore=!s.get("show"),a.hoverIgnore=!i.get("show"),o.ignore=o.normalIgnore=!r.get("show"),o.hoverIgnore=!l.get("show"),o.setStyle({stroke:c,opacity:t.getItemVisual(e,"opacity")}),o.setStyle(r.getModel("lineStyle").getLineStyle()),o.hoverStyle=l.getModel("lineStyle").getLineStyle(),r=r.get("smooth"),o.setShape({smooth:r=r&&!0===r?.4:r}))},f.inherits(m,h.Group);i=i.extend({type:"pie",init:function(){var t=new h.Group;this._sectorGroup=t},render:function(t,e,n,i){if(!i||i.from!==this.uid){var r=t.getData(),o=this._data,a=this.group,e=e.get("animation"),s=!o,l=t.get("animationType"),u=t.get("animationTypeUpdate"),c=f.curry(g,this.uid,t,e,n),h=t.get("selectedMode");if(r.diff(o).add(function(t){var e=new m(r,t);s&&"scale"!==l&&e.eachChild(function(t){t.stopAnimation(!0)}),h&&e.on("click",c),r.setItemGraphicEl(t,e),a.add(e)}).update(function(t,e){e=o.getItemGraphicEl(e);s||"transition"===u||e.eachChild(function(t){t.stopAnimation(!0)}),e.updateData(r,t),e.off("click"),h&&e.on("click",c),a.add(e),r.setItemGraphicEl(t,e)}).remove(function(t){t=o.getItemGraphicEl(t);a.remove(t)}).execute(),e&&0<r.count()&&(s?"scale"!==l:"transition"!==u)){for(var d=r.getItemLayout(0),p=1;isNaN(d.startAngle)&&p<r.count();++p)d=r.getItemLayout(p);e=Math.max(n.getWidth(),n.getHeight())/2,n=f.bind(a.removeClipPath,a);a.setClipPath(this._createClipPath(d.cx,d.cy,e,d.startAngle,d.clockwise,n,t,s))}else a.removeClipPath();this._data=r}},dispose:function(){},_createClipPath:function(t,e,n,i,r,o,a,s){n=new h.Sector({shape:{cx:t,cy:e,r0:0,r:n,startAngle:i,endAngle:i,clockwise:r}});return(s?h.initProps:h.updateProps)(n,{shape:{endAngle:i+(r?1:-1)*Math.PI*2}},a,o),n},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){e=t[0]-n.cx,t=t[1]-n.cy,t=Math.sqrt(e*e+t*t);return t<=n.r&&t>=n.r0}}});t.exports=i},function(t,e,n){var i=n(13),I=i.parsePercent,D=i.linearMap,L=n(21),k=n(908),N=n(1),O=2*Math.PI,P=Math.PI/180;t.exports=function(t,e,T,n){e.eachSeriesByType(t,function(t){var i=t.getData(),e=i.mapDimension("value"),r=(s=t,l=T,L.getLayoutRect(s.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()})),n=t.get("center"),o=t.get("radius");N.isArray(o)||(o=[0,o]),N.isArray(n)||(n=[n,n]);var a=I(r.width,T.getWidth()),s=I(r.height,T.getHeight()),l=Math.min(a,s),u=I(n[0],a)+r.x,c=I(n[1],s)+r.y,h=I(o[0],l/2),d=I(o[1],l/2),p=-t.get("startAngle")*P,f=t.get("minAngle")*P,g=0;i.each(e,function(t){isNaN(t)||g++});var m=i.getSum(e),v=Math.PI/(m||g)*2,y=t.get("clockwise"),x=t.get("roseType"),_=t.get("stillShowZeroSum"),b=i.getDataExtent(e);b[0]=0;var S,A=O,M=0,w=p,C=y?1:-1;i.each(e,function(t,e){var n;isNaN(t)?i.setItemLayout(e,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:y,cx:u,cy:c,r0:h,r:x?NaN:d,viewRect:r}):((n="area"!==x?0===m&&_?v:t*v:O/g)<f?A-=n=f:M+=t,i.setItemLayout(e,{angle:n,startAngle:w,endAngle:n=w+C*n,clockwise:y,cx:u,cy:c,r0:h,r:x?D(t,b,[h,d]):d,viewRect:r}),w=n)}),A<O&&g&&(A<=.001?(S=O/g,i.each(e,function(t,e){isNaN(t)||((t=i.getItemLayout(e)).angle=S,t.startAngle=p+C*e*S,t.endAngle=p+C*(e+1)*S)})):(v=A/M,w=p,i.each(e,function(t,e){isNaN(t)||(t=(e=i.getItemLayout(e)).angle===f?f:t*v,e.startAngle=w,e.endAngle=w+C*t,w+=C*t)}))),k(t,d,r.width,r.height,r.x,r.y)})}},function(t,e,n){var O=n(55),P=n(13).parsePercent,i=Math.PI/180;function y(r,t,e,n,i,o,a,s,l,u){function c(t,e){for(var n=t;0<=n&&!(r[n].y-e<l)&&(r[n].y-=e,!(0<n&&r[n].y>r[n-1].y+r[n-1].height));n--);}function h(t,e,n,i,r,o){for(var a,s,l,u=e?Number.MAX_VALUE:0,c=0,h=t.length;c<h;c++)"none"===t[c].labelAlignTo&&(l=Math.abs(t[c].y-i),a=t[c].len,s=t[c].len2,l=l<r+a?Math.sqrt((r+a+s)*(r+a+s)-l*l):Math.abs(t[c].x-n),e&&u<=l&&(l=u-10),!e&&l<=u&&(l=u+10),t[c].x=n+l*o,u=l)}r.sort(function(t,e){return t.y-e.y});for(var d,p=0,f=r.length,g=[],m=[],v=0;v<f;v++)"outer"===r[v].position&&"labelLine"===r[v].labelAlignTo&&(d=r[v].x-u,r[v].linePoints[1][0]+=d,r[v].x=u),(d=r[v].y-p)<0&&function(t,e,n){for(var i=t;i<e&&!(r[i].y+n>l+a);i++)if(r[i].y+=n,t<i&&i+1<e&&r[i+1].y>r[i].y+r[i].height)return c(i,n/2);c(e-1,n/2)}(v,f,-d),p=r[v].y+r[v].height;a-p<0&&c(f-1,p-a);for(v=0;v<f;v++)(r[v].y>=e?m:g).push(r[v]);h(g,!1,t,e,n,i),h(m,!0,t,e,n,i)}function x(t){return"center"===t.position}t.exports=function(A,M,w,t,C,e){var T,I,D=A.getData(),L=[],k=!1,N=(A.get("minShowLabelAngle")||0)*i;D.each(function(t){var e,n,i,r,o,a,s,l,u,c,h=D.getItemLayout(t),d=D.getItemModel(t),p=d.getModel("label"),f=p.get("position")||d.get("emphasis.label.position"),g=p.get("distanceToLabelLine"),m=p.get("alignTo"),v=P(p.get("margin"),w),y=p.get("bleedMargin"),x=p.getFont(),_=d.getModel("labelLine"),b=_.get("length"),b=P(b,w),S=_.get("length2"),S=P(S,w);h.angle<N||(c=(h.startAngle+h.endAngle)/2,e=Math.cos(c),o=Math.sin(c),T=h.cx,I=h.cy,n=A.getFormattedLabel(t,"normal")||D.getName(t),i=O.getBoundingRect(n,x,u,"top"),r="inside"===f||"inner"===f,u="center"===f?(a=h.cx,s=h.cy,"center"):(a=(d=(r?(h.r+h.r0)/2*e:h.r*e)+T)+3*e,s=(_=(r?(h.r+h.r0)/2*o:h.r*o)+I)+3*o,r||(t=d+e*(b+M-h.r),l=_+o*(b+M-h.r),o=t+(e<0?-1:1)*S,a="edge"===m?e<0?C+v:C+w-v:o+(e<0?-g:g),l=[[d,_],[t,s=l],[o,l]]),r?"center":"edge"===m?0<e?"right":"left":0<e?"left":"right"),c="number"==typeof(p=p.get("rotate"))?p*(Math.PI/180):p?e<0?-c+Math.PI:-c:0,k=!!c,h.label={x:a,y:s,position:f,height:i.height,len:b,len2:S,linePoints:l,textAlign:u,verticalAlign:"middle",rotation:c,inside:r,labelDistance:g,labelAlignTo:m,labelMargin:v,bleedMargin:y,textRect:i,text:n,font:x},r||L.push(h.label))}),!k&&A.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<t.length;d++)x(t[d])||(t[d].x<e?(c=Math.min(c,t[d].x),l.push(t[d])):(h=Math.max(h,t[d].x),u.push(t[d])));for(y(u,e,n,i,1,0,o,0,s,h),y(l,e,n,i,-1,0,o,0,s,c),d=0;d<t.length;d++){var p,f,g,m,v=t[d];x(v)||(p=v.linePoints)&&(f="edge"===v.labelAlignTo,g=v.textRect.width,(m=f?v.x<e?p[2][0]-v.labelDistance-a-v.labelMargin:a+r-v.labelMargin-p[2][0]-v.labelDistance:v.x<e?v.x-a-v.bleedMargin:a+r-v.x-v.bleedMargin)<v.textRect.width&&(v.text=O.truncateText(v.text,m,v.font),"edge"===v.labelAlignTo&&(g=O.getWidth(v.text,v.font))),m=p[1][0]-p[2][0],f?v.x<e?p[2][0]=a+v.labelMargin+g+v.labelDistance:p[2][0]=a+r-v.labelMargin-g-v.labelDistance:(v.x<e?p[2][0]=v.x+v.labelDistance:p[2][0]=v.x-v.labelDistance,p[1][0]=p[2][0]+m),p[1][1]=p[2][1]=v.y)}}(L,T,I,M,w,t,C,e)}},function(t,e,n){var i=n(4),r=n(1),o=n(133),a=n(17).defaultEmphasis,s=n(79).makeSeriesEncodeForNameBased,l=n(167),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}}}});t.exports=u},function(t,e,n){var c=n(8),l=n(1),i=n(72);function a(t,e){c.Group.call(this);var n=new c.Polygon,i=new c.Polyline,r=new c.Text;this.add(n),this.add(i),this.add(r),this.highDownOnUpdate=function(t,e){"emphasis"===e?(i.ignore=i.hoverIgnore,r.ignore=r.hoverIgnore):(i.ignore=i.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(t,e,!0)}var n=a.prototype,u=["itemStyle","opacity"];n.updateData=function(t,e,n){var i=this.childAt(0),r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=null==(s=t.getItemModel(e).get(u))?1:s;i.useStyle({}),n?(i.setShape({points:a.points}),i.setStyle({opacity:0}),c.initProps(i,{style:{opacity:s}},r,e)):c.updateProps(i,{style:{opacity:s},shape:{points:a.points}},r,e);r=o.getModel("itemStyle"),o=t.getItemVisual(e,"color");i.setStyle(l.defaults({lineJoin:"round",fill:o},r.getItemStyle(["opacity"]))),i.hoverStyle=r.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),c.setHoverStyle(this)},n._updateLabel=function(t,e){var n=this.childAt(1),i=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e).label,s=t.getItemVisual(e,"color");c.updateProps(n,{shape:{points:a.linePoints||a.linePoints}},r,e),c.updateProps(i,{style:{x:a.x,y:a.y}},r,e),i.attr({rotation:a.rotation,origin:[a.x,a.y],z2:10});var l=o.getModel("label"),u=o.getModel("emphasis.label"),r=o.getModel("labelLine"),o=o.getModel("emphasis.labelLine"),s=t.getItemVisual(e,"color");c.setLabelStyle(i.style,i.hoverStyle={},l,u,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:s,useInsideStyle:!!a.inside},{textAlign:a.textAlign,textVerticalAlign:a.verticalAlign}),i.ignore=i.normalIgnore=!l.get("show"),i.hoverIgnore=!u.get("show"),n.ignore=n.normalIgnore=!r.get("show"),n.hoverIgnore=!o.get("show"),n.setStyle({stroke:s}),n.setStyle(r.getModel("lineStyle").getLineStyle()),n.hoverStyle=o.getModel("lineStyle").getLineStyle()},l.inherits(a,c.Group);i=i.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){e=r.getItemGraphicEl(e);e.updateData(i,t),o.add(e),i.setItemGraphicEl(t,e)}).remove(function(t){t=r.getItemGraphicEl(t);o.remove(t)}).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=i},function(t,e,n){n(20).__DEV__;var I=n(21),n=n(13),D=n.parsePercent,L=n.linearMap;t.exports=function(t,T,e){t.eachSeriesByType("funnel",function(t){var e,s=t.getData(),l=s.mapDimension("value"),n=t.get("sort"),i=(e=t,i=T,I.getLayoutRect(e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})),r=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<s;a++)r[a]=a;return"function"==typeof e?r.sort(e):"none"!==e&&r.sort(function(t,e){return o?i[t]-i[e]:i[e]-i[t]}),r}(s,n),u=t.get("orient"),c=i.width,h=i.height,d=i.x,p=i.y,f="horizontal"===u?[D(t.get("minSize"),h),D(t.get("maxSize"),h)]:[D(t.get("minSize"),c),D(t.get("maxSize"),c)],i=s.getDataExtent(l),g=t.get("min"),m=t.get("max");null==g&&(g=Math.min(i[0],0)),null==m&&(m=i[1]);function o(t,e){if("horizontal"===u){var n,i=s.get(l,t)||0,r=L(i,[g,m],f,!0);switch(v){case"top":n=p;break;case"center":n=p+(h-r)/2;break;case"bottom":n=p+(h-r)}return[[e,n],[e,n+r]]}var o,i=s.get(l,t)||0,a=L(i,[g,m],f,!0);switch(v){case"left":o=d;break;case"center":o=d+(c-a)/2;break;case"right":o=d+c-a}return[[o,e],[o+a,e]]}var v=t.get("funnelAlign"),a=t.get("gap"),y=(("horizontal"===u?c:h)-a*(s.count()-1))/s.count();"ascending"===n&&(y=-y,a=-a,"horizontal"===u?d+=c:p+=h,r=r.reverse());for(var x,_=0;_<r.length;_++){var b,S,A,M=r[_],w=r[_+1],C=s.getItemModel(M);"horizontal"===u?(null==(b=C.get("itemStyle.width"))?b=y:(b=D(b,c),"ascending"===n&&(b=-b)),S=o(M,d),A=o(w,d+b),d+=b+a):(null==(C=C.get("itemStyle.height"))?C=y:(C=D(C,h),"ascending"===n&&(C=-C)),S=o(M,"horizontal"===u?d:p),A=o(w,"horizontal"===u?d+b:p+C),p+=C+a),s.setItemLayout(M,{points:S.concat(A.slice().reverse())})}(x=s).each(function(t){var e,n,i,r,o,a,s=x.getItemModel(t),l=s.getModel("label").get("position"),u=s.get("orient"),c=s.getModel("labelLine"),h=x.getItemLayout(t),s=h.points,t="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l,d=t?(a="insideLeft"===l?(e=(s[0][0]+s[3][0])/2+5,n=(s[0][1]+s[3][1])/2,"left"):"insideRight"===l?(e=(s[1][0]+s[2][0])/2-5,n=(s[1][1]+s[2][1])/2,"right"):(e=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,n=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,"center"),[[e,n],[e,n]]):(c=c.get("length"),a="left"===l?(i=(s[3][0]+s[0][0])/2,r=(s[3][1]+s[0][1])/2,e=(o=i-c)-5,"right"):"right"===l?(i=(s[1][0]+s[2][0])/2,r=(s[1][1]+s[2][1])/2,e=(o=i+c)+5,"left"):"top"===l?(i=(s[3][0]+s[0][0])/2,n=(d=(r=(s[3][1]+s[0][1])/2)-c)-5,"center"):"bottom"===l?(i=(s[1][0]+s[2][0])/2,n=(d=(r=(s[1][1]+s[2][1])/2)+c)+5,"center"):"rightTop"===l?(i=("horizontal"===u?s[3]:s[1])[0],r=("horizontal"===u?s[3]:s[1])[1],"horizontal"===u?(n=(d=r-c)-5,"center"):(e=(o=i+c)+5,"top")):"rightBottom"===l?(i=s[2][0],r=s[2][1],"horizontal"===u?(n=(d=r+c)+5,"center"):(e=(o=i+c)+5,"bottom")):"leftTop"===l?(i=s[0][0],r=("horizontal"===u?s[0]:s[1])[1],"horizontal"===u?(n=(d=r-c)-5,"center"):(e=(o=i-c)-5,"right")):"leftBottom"===l?(i=("horizontal"===u?s[1]:s[3])[0],r=("horizontal"===u?s[1]:s[2])[1],"horizontal"===u?(n=(d=r+c)+5,"center"):(e=(o=i-c)-5,"right")):(i=(s[1][0]+s[2][0])/2,r=(s[1][1]+s[2][1])/2,"horizontal"===u?(n=(d=r+c)+5,"center"):(e=(o=i+c)+5,"left")),"horizontal"===u?e=o=i:n=d=r,[[i,r],[o,d]]);h.label={linePoints:d,x:e,y:n,verticalAlign:"middle",textAlign:a,inside:t}})})}},function(t,e,n){n(913),n(915),n(916)},function(t,e,n){var a=n(1),i=n(914),r=n(280),d=n(13),o=n(67),p=o.getScaleExtent,f=o.niceScaleExtent,o=n(66),s=n(656);function l(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=a.map(t.getIndicatorModels(),function(t,e){var n="indicator_"+e,e=new i(n,new("log"===t.get("axisType")?s:r));return e.name=t.get("name"),(e.model=t).axis=e,this.dimensions.push(n),e},this),this.resize(t,n),this.cx,this.cy,this.r,this.r0,this.startAngle}l.prototype.getIndicatorAxes=function(){return this._indicatorAxes},l.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},l.prototype.coordToPoint=function(t,e){e=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(e),this.cy-t*Math.sin(e)]},l.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,t=Math.sqrt(e*e+n*n);e/=t,n/=t;for(var i,r=Math.atan2(-n,e),o=1/0,a=-1,s=0;s<this._indicatorAxes.length;s++){var l=this._indicatorAxes[s],u=Math.abs(r-l.angle);u<o&&(i=l,a=s,o=u)}return[a,+(i&&i.coordToData(t))]},l.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),e=Math.min(i,r)/2;this.cx=d.parsePercent(n[0],i),this.cy=d.parsePercent(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;t=t.get("radius");this.r0=d.parsePercent((t="string"==typeof t||"number"==typeof t?[0,t]:t)[0],e),this.r=d.parsePercent(t[1],e),a.each(this._indicatorAxes,function(t,e){t.setExtent(this.r0,this.r);e=this.startAngle+e*Math.PI*2/this._indicatorAxes.length,e=Math.atan2(Math.sin(e),Math.cos(e));t.angle=e},this)},l.prototype.update=function(i,t){var r=this._indicatorAxes,o=this._model;a.each(r,function(t){t.scale.setExtent(1/0,-1/0)}),i.eachSeriesByType("radar",function(t,e){var n;"radar"===t.get("coordinateSystem")&&i.getComponent("radar",t.get("radarIndex"))===o&&(n=t.getData(),a.each(r,function(t){t.scale.unionExtentFromData(n,n.mapDimension(t.dim))}))},this);var c=o.get("splitNumber");function h(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),t=t/e;return 2===t?t=5:t*=2,t*e}a.each(r,function(t,e){var n=p(t.scale,t.model).extent;f(t.scale,t.model);var i=t.model,r=t.scale,o=i.getMin(),a=i.getMax(),s=r.getInterval();if(null!=o&&null!=a)r.setExtent(+o,+a),r.setInterval((a-o)/c);else if(null!=o)for(;r.setExtent(+o,l=o+s*c),r.setInterval(s),s=h(s),l<n[1]&&isFinite(l)&&isFinite(n[1]););else if(null!=a)for(;r.setExtent(u=a-s*c,+a),r.setInterval(s),s=h(s),u>n[0]&&isFinite(u)&&isFinite(n[0]););else{i=r.getTicks().length-1;c<i&&(s=h(s));var l=Math.ceil(n[1]/s)*s,u=d.round(l-s*c);r.setExtent(u,l),r.setInterval(s)}})},l.dimensions=[],l.create=function(t,n){var i=[];return t.eachComponent("radar",function(t){var e=new l(t,0,n);i.push(e),t.coordinateSystem=e}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])}),i},o.register("radar",l),t.exports=l},function(t,e,n){var i=n(1),r=n(89);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),t.exports=o},function(t,e,n){var i=n(4),f=n(1),r=n(661),g=n(39),m=n(132),r=r.valueAxis;function o(t,e){return f.defaults({show:e},t)}r=i.extendComponentModel({type:"radar",optionUpdated:function(){var n=this.get("boundaryGap"),i=this.get("splitNumber"),r=this.get("scale"),o=this.get("axisLine"),a=this.get("axisTick"),s=this.get("axisType"),l=this.get("axisLabel"),u=this.get("name"),c=this.get("name.show"),h=this.get("name.formatter"),d=this.get("nameGap"),p=this.get("triggerEvent"),t=f.map(this.get("indicator")||[],function(t){null!=t.max&&0<t.max&&!t.min?t.min=0:null!=t.min&&t.min<0&&!t.max&&(t.max=0);var e=u;null!=t.color&&(e=f.defaults({color:t.color},u)),t=f.merge(f.clone(t),{boundaryGap:n,splitNumber:i,scale:r,axisLine:o,axisTick:a,axisType:s,axisLabel:l,name:t.text,nameLocation:"end",nameGap:d,nameTextStyle:e,triggerEvent:p},!1),c||(t.name=""),"string"==typeof h?(e=t.name,t.name=h.replace("{value}",null!=e?e:"")):"function"==typeof h&&(t.name=h(t.name,t));t=f.extend(new g(t,null,this.ecModel),m);return t.mainType="radar",t.componentIndex=this.componentIndex,t},this);this.getIndicatorModels=function(){return t}},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:f.merge({lineStyle:{color:"#bbb"}},r.axisLine),axisLabel:o(r.axisLabel,!1),axisTick:o(r.axisTick,!1),axisType:"interval",splitLine:o(r.splitLine,!0),splitArea:o(r.splitArea,!0),indicator:[]}});t.exports=r},function(t,e,n){n(20).__DEV__;var i=n(4),w=n(1),r=n(90),C=n(8),o=["axisLine","axisTickLabel","axisName"],i=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,t=e.getIndicatorAxes(),t=w.map(t,function(t){return new r(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});w.each(t,function(t){w.each(o,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(t){var n=t.coordinateSystem,e=n.getIndicatorAxes();if(e.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),t=o.getModel("areaStyle"),s=r.get("show"),l=o.get("show"),u=a.get("color"),c=t.get("color"),u=w.isArray(u)?u:[u],c=w.isArray(c)?c:[c],h=[],d=[];if("circle"===i)for(var p=e[0].getTicksCoords(),f=n.cx,g=n.cy,m=0;m<p.length;m++)s&&h[M(h,u,m)].push(new C.Circle({shape:{cx:f,cy:g,r:p[m].coord}})),l&&m<p.length-1&&d[M(d,c,m)].push(new C.Ring({shape:{cx:f,cy:g,r0:p[m].coord,r:p[m+1].coord}}));else for(var v,y=w.map(e,function(t,e){t=t.getTicksCoords();return v=null==v?t.length-1:Math.min(t.length-1,v),w.map(t,function(t){return n.coordToPoint(t.coord,e)})}),x=[],m=0;m<=v;m++){for(var _=[],b=0;b<e.length;b++)_.push(y[b][m]);_[0]&&_.push(_[0].slice()),s&&h[M(h,u,m)].push(new C.Polyline({shape:{points:_}})),l&&x&&d[M(d,c,m-1)].push(new C.Polygon({shape:{points:_.concat(x)}})),x=_.slice().reverse()}var S=a.getLineStyle(),A=t.getAreaStyle();w.each(d,function(t,e){this.group.add(C.mergePath(t,{style:w.defaults({stroke:"none",fill:c[e%c.length]},A),silent:!0}))},this),w.each(h,function(t,e){this.group.add(C.mergePath(t,{style:w.defaults({fill:"none",stroke:u[e%u.length]},S),silent:!0}))},this)}function M(t,e,n){e=n%e.length;return t[e]=t[e]||[],e}}});t.exports=i},function(t,e,n){var i=n(44),r=n(133),s=n(1),l=n(26).encodeHTML,o=n(167),a=i.extend({type:"series.radar",dependencies:["radar"],init:function(t){a.superApply(this,"init",arguments),this.legendVisualProvider=new o(s.bind(this.getData,this),s.bind(this.getRawData,this))},getInitialData:function(t,e){return r(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(i,t,e,n){var r=this.getData(),o=this.coordinateSystem.getIndicatorAxes(),a=this.getData().getName(i),n="html"===n?"<br/>":"\n";return l(""===a?this.name:a)+n+s.map(o,function(t,e){var n=r.get(r.mapDimension(t.dim),i);return l(t.name+" : "+n)}).join(n)},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(s.map(n.dimensions,function(t){return e.mapDimension(t)}),t,!0),r=0,o=i.length;r<o;r++)if(!isNaN(i[r])){var a=n.getIndicatorAxes();return n.coordToPoint(a[r].dataToCoord(i[r]),r)}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}});t.exports=a},function(t,e,n){var i=n(4),m=n(8),v=n(1),o=n(56);i=i.extendChartView({type:"radar",render:function(l,t,e){var n=l.coordinateSystem,f=this.group,g=l.getData(),a=this._data;function u(t,e){var n=t.getItemVisual(e,"symbol")||"circle",i=t.getItemVisual(e,"color");if("none"!==n){var r,r=(r=t.getItemVisual(e,"symbolSize"),r=v.isArray(r)?r:[+r,+r]),i=o.createSymbol(n,-1,-1,2,2,i),e=t.getItemVisual(e,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scale:[r[0]/2,r[1]/2],rotation:e*Math.PI/180||0}),i}}function s(t,e,n,i,r,o){n.removeAll();for(var a=0;a<e.length-1;a++){var s=u(i,r);s&&(t[s.__dimIdx=a]?(s.attr("position",t[a]),m[o?"initProps":"updateProps"](s,{position:e[a]},l,r)):s.attr("position",e[a]),n.add(s))}}function c(t){return v.map(t,function(t){return[n.cx,n.cy]})}g.diff(a).add(function(t){var e,n,i,r,o=g.getItemLayout(t);o&&(e=new m.Polygon,n=new m.Polyline,r={shape:{points:o}},e.shape.points=c(o),n.shape.points=c(o),m.initProps(e,r,l,t),m.initProps(n,r,l,t),i=new m.Group,r=new m.Group,i.add(n),i.add(e),i.add(r),s(n.shape.points,o,r,g,t,!0),g.setItemGraphicEl(t,i))}).update(function(t,e){var n=a.getItemGraphicEl(e),i=n.childAt(0),r=n.childAt(1),o=n.childAt(2),e={shape:{points:g.getItemLayout(t)}};e.shape.points&&(s(i.shape.points,e.shape.points,o,g,t,!1),m.updateProps(i,e,l),m.updateProps(r,e,l),g.setItemGraphicEl(t,n))}).remove(function(t){f.remove(a.getItemGraphicEl(t))}).execute(),g.eachItemGraphicEl(function(t,n){var e=g.getItemModel(n),i=t.childAt(0),r=t.childAt(1),o=t.childAt(2),a=g.getItemVisual(n,"color");f.add(t),i.useStyle(v.defaults(e.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:a})),i.hoverStyle=e.getModel("emphasis.lineStyle").getLineStyle();var s=e.getModel("areaStyle"),i=e.getModel("emphasis.areaStyle"),l=s.isEmpty()&&s.parentModel.isEmpty(),u=(u=i.isEmpty()&&i.parentModel.isEmpty())&&l;r.ignore=l,r.useStyle(v.defaults(s.getAreaStyle(),{fill:a,opacity:.7})),r.hoverStyle=i.getAreaStyle();var c=e.getModel("itemStyle").getItemStyle(["color"]),h=e.getModel("emphasis.itemStyle").getItemStyle(),d=e.getModel("label"),p=e.getModel("emphasis.label");o.eachChild(function(t){t.setStyle(c),t.hoverStyle=v.clone(h);var e=g.get(g.dimensions[t.__dimIdx],n);null!=e&&!isNaN(e)||(e=""),m.setLabelStyle(t.style,t.hoverStyle,d,p,{labelFetcher:g.hostModel,labelDataIndex:n,labelDimIndex:t.__dimIdx,defaultText:e,autoColor:a,isRectText:!0})}),t.highDownOnUpdate=function(t,e){r.attr("ignore","emphasis"===e?u:l)},m.setHoverStyle(t)}),this._data=g},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=i},function(t,e,n){var a=n(1);function s(t){return!isNaN(t[0])&&!isNaN(t[1])}function l(t){return[t.cx,t.cy]}t.exports=function(t){t.eachSeriesByType("radar",function(t){var e,i=t.getData(),r=[],o=t.coordinateSystem;o&&(e=o.getIndicatorAxes(),a.each(e,function(t,n){i.each(i.mapDimension(e[n].dim),function(t,e){r[e]=r[e]||[];t=o.dataToPoint(t,n);r[e][n]=s(t)?t:l(o)})}),i.each(function(t){var e=a.find(r[t],s)||l(o);r[t].push(e.slice()),i.setItemLayout(t,r[t])}))})}},function(t,e,n){var r=n(1);t.exports=function(n){var i,t=n.polar;t&&(r.isArray(t)||(t=[t]),i=[],r.each(t,function(t,e){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),n.radar=n.radar||[],r.isArray(n.radar)||(n.radar=[n.radar]),n.radar.push(t)):i.push(t)}),n.polar=i),r.each(n.series,function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}},function(t,e,n){var c=n(1),h=n(133),i=n(44),r=n(26),d=r.encodeHTML,p=r.addCommas,r=n(346),f=n(104).retrieveRawAttr,g=n(286),m=n(79).makeSeriesEncodeForNameBased,i=i.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=h(this,{coordDimensions:["value"],encodeDefaulter:c.curry(m,this)}),n=e.mapDimension("value"),i=c.createHashMap(),r=[],o=[],a=0,s=e.count();a<s;a++){var l=e.getName(a);i.set(l,!0),r.push({name:l,value:e.get(n,a),selected:f(e,a,"selected")})}var u=g.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return c.each(u.regions,function(t){t=t.name;i.get(t)||(r.push({name:t}),o.push(t))}),this.updateSelectedMap(r),e.appendValues([],o),e},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t,e,n,i){for(var r=this.getData(),o=p(this.getRawValue(t)),a=r.getName(t),s=this.seriesGroup,l=[],u=0;u<s.length;u++){var c=s[u].originalData.indexOfName(a),h=r.mapDimension("value");isNaN(s[u].originalData.get(h,c))||l.push(d(s[u].name))}i="html"===i?"<br/>":"\n";return l.join(", ")+i+d(a+" : "+o)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),t=this.coordinateSystem,e=t.getRegion(e);return e&&t.dataToPoint(e.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"}});c.mixin(i,r),t.exports=i},function(t,e,n){var a=n(1).each,s=n(657),i=n(17).makeInner,l=n(923),u=n(924),c=n(925),h=n(926),d=i();t.exports={load:function(n,t,e){var i=d(t).parsed;if(i)return i;var r,o=t.specialAreas||{},i=t.geoJSON;try{r=i?s(i,e):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return l(n,r),a(r,function(t){var e=t.name;u(n,t),c(n,t),h(n,t);e=o[e];e&&t.transformTo(e.left,e.top,e.width,e.height)}),d(t).parsed={regions:r,boundingRect:function(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}(r)}}}},function(t,e,n){for(var i=n(1),r=n(658),o=[126,25],a=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s<a.length;s++)for(var l=0;l<a[s].length;l++)a[s][l][0]/=10.5,a[s][l][1]/=-14,a[s][l][0]+=o[0],a[s][l][1]+=o[1];t.exports=function(t,e){"china"===t&&e.push(new r("南海诸岛",i.map(a,function(t){return{type:"polygon",exterior:t}}),o))}},function(t,e){var n={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};t.exports=function(t,e){"china"!==t||(t=n[e.name])&&((e=e.center)[0]+=t[0]/10.5,e[1]+=-t[1]/14)}},function(t,e){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t,e){"world"!==t||(t=n[e.name])&&((e=e.center)[0]=t[0],e[1]=t[1])}},function(t,e){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];t.exports=function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:n[0]})}},function(t,e,n){var i=n(651),o=i.parseSVG,a=i.makeViewBoxTransform,s=n(102),l=n(333),i=n(1),u=i.assert,c=i.createHashMap,h=n(30),d=(0,n(17).makeInner)();function p(t,e){var n=t.svgXML;try{i=(r=n&&o(n,{ignoreViewBox:!0,ignoreRootClip:!0})||{}).root,u(null!=i)}catch(t){throw new Error("Invalid svg format\n"+t.message)}var i,t=r.width,n=r.height,r=r.viewBoxRect;return e||(e=null==t||null==n?i.getBoundingRect():new h(0,0,0,0),null!=t&&(e.width=t),null!=n&&(e.height=n)),r&&(n=a(r,e.width,e.height),r=i,(i=new s).add(r),r.scale=n.scale,r.position=n.position),i.setClipPath(new l({shape:e.plain()})),{root:i,boundingRect:e}}t.exports={load:function(t,e){var n=d(e).originRoot;if(n)return{root:n,boundingRect:d(e).boundingRect};n=p(e);return d(e).originRoot=n.root,d(e).boundingRect=n.boundingRect,n},makeGraphic:function(t,e,n){var i=d(e),r=i.rootMap||(i.rootMap=c());if(s=r.get(n))return s;var o=i.originRoot,a=i.boundingRect,s=i.originRootHostKey?p(e,a).root:(i.originRootHostKey=n,o);return r.set(n,s)},removeGraphic:function(t,e,n){var i=d(e),e=i.rootMap;e&&e.removeKey(n),n===i.originRootHostKey&&(i.originRootHostKey=null)}}},function(t,e,n){var i=n(4),p=n(1),f=n(8),a=n(680),g="__seriesMapHighDown",m="__seriesMapCallKey",i=i.extendChartView({type:"map",render:function(t,e,n,i){var r,o;i&&"mapToggleSelect"===i.type&&i.from===this.uid||((r=this.group).removeAll(),t.getHostGeoModel()||(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id?(o=this._mapDraw)&&r.add(o.group):t.needsDrawMap?(o=this._mapDraw||new a(n,!0),r.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o):(this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null),t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)))},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(c,t,e){var h=c.originalData,d=this.group;h.each(h.mapDimension("value"),function(t,e){var n,i,r,o,a,s,l,u;isNaN(t)||(i=h.getItemLayout(e))&&i.point&&(r=i.point,o=i.offset,n=new f.Circle({style:{fill:c.getData().getVisual("color")},shape:{cx:r[0]+9*o,cy:r[1],r:3},silent:!0,z2:8+(o?0:f.Z2_EMPHASIS_LIFT+1)}),o||(a=c.mainSeries.getData(),l=h.getName(e),u=a.indexOfName(l),t=(s=h.getItemModel(e)).getModel("label"),i=s.getModel("emphasis.label"),r=a.getItemGraphicEl(u),o=p.retrieve2(c.getFormattedLabel(u,"normal"),l),e=p.retrieve2(c.getFormattedLabel(u,"emphasis"),o),s=r[g],a=Math.random(),s||(s=r[g]={},l=p.curry(v,!0),u=p.curry(v,!1),r.on("mouseover",l).on("mouseout",u).on("emphasis",l).on("normal",u)),r[m]=a,p.extend(s,{recordVersion:a,circle:n,labelModel:t,hoverLabelModel:i,emphasisText:e,normalText:o}),y(s,!1)),d.add(n))})}});function v(t){var e=this[g];e&&e.recordVersion===this[m]&&y(e,t)}function y(t,e){var n=t.circle,i=t.labelModel,r=t.hoverLabelModel,o=t.emphasisText,t=t.normalText;e?(n.style.extendFrom(f.setTextStyle({},r,{text:r.get("show")?o:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=f.Z2_EMPHASIS_LIFT):(f.setTextStyle(n.style,i,{text:i.get("show")?t:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}t.exports=i},function(t,e,n){var i=n(1),s=n(30),r=n(351),o=n(286);function a(t,e,n,i){r.call(this,t),this.map=e;n=o.load(e,n);this._nameCoordMap=n.nameCoordMap,this._regionsMap=n.regionsMap,this._invertLongitute=null==i||i,this.regions=n.regions,this._rect=n.boundingRect}function l(t,e,n,i){var r=n.geoModel,n=n.seriesModel,n=r?r.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return n===this?n[t](i):null}a.prototype={constructor:a,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return!0;return!1},transformTo:function(t,e,n,i){var r=this.getBoundingRect(),o=this._invertLongitute,r=r.clone();o&&(r.y=-r.y-r.height);var a=this._rawTransformable;a.transform=r.calculateTransform(new s(t,e,n,i)),a.decomposeTransform(),o&&((o=a.scale)[1]=-o[1]),a.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap.get(t)},getRegionByCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return e[n]},addGeoCoord:function(t,e){this._nameCoordMap.set(t,e)},getGeoCoord:function(t){return this._nameCoordMap.get(t)},getBoundingRect:function(){return this._rect},dataToPoint:function(t,e,n){if(t="string"==typeof t?this.getGeoCoord(t):t)return r.prototype.dataToPoint.call(this,t,e,n)},convertToPixel:i.curry(l,"dataToPoint"),convertFromPixel:i.curry(l,"pointToData")},i.mixin(a,r),t.exports=a},function(t,e,n){var o=n(1);t.exports=function(n){var r={};n.eachSeriesByType("map",function(t){var a,i,e=t.getMapType();t.getHostGeoModel()||r[e]||(a={},o.each(t.seriesGroup,function(t){var r=t.coordinateSystem,o=t.originalData;t.get("showLegendSymbol")&&n.getComponent("legend")&&o.each(o.mapDimension("value"),function(t,e){var n=o.getName(e),i=r.getRegion(n);i&&!isNaN(t)&&(t=a[n]||0,i=r.dataToPoint(i.center),a[n]=t+1,o.setItemLayout(e,{point:i,offset:t}))})}),(i=t.getData()).each(function(t){var e=i.getName(t),n=i.getItemLayout(t)||{};n.showLabel=!a[e],i.setItemLayout(t,n)}),r[e]=!0)})}},function(t,e){t.exports=function(t){t.eachSeriesByType("map",function(t){var e=t.get("color"),n=t.getModel("itemStyle"),i=n.get("areaColor"),e=n.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:i,color:e})})}},function(t,e,n){var r=n(1);t.exports=function(t){var n={};t.eachSeriesByType("map",function(t){var e=t.getHostGeoModel(),e=e?"o"+e.id:"i"+t.getMapType();(n[e]=n[e]||[]).push(t)}),r.each(n,function(t,e){for(var l,u,c,n=(l=r.map(t,function(t){return t.getData()}),u=t[0].get("mapValueCalculation"),c={},r.each(l,function(n){n.each(n.mapDimension("value"),function(t,e){e="ec-"+n.getName(e);c[e]=c[e]||[],isNaN(t)||c[e].push(t)})}),l[0].map(l[0].mapDimension("value"),function(t,e){for(var n="ec-"+l[0].getName(e),i=0,r=1/0,o=-1/0,a=c[n].length,s=0;s<a;s++)r=Math.min(r,c[n][s]),o=Math.max(o,c[n][s]),i+=c[n][s];return e="min"===u?r:"max"===u?o:"average"===u?i/a:i,0===a?NaN:e})),i=0;i<t.length;i++)t[i].originalData=t[i].getData();for(i=0;i<t.length;i++)(t[i].seriesGroup=t)[i].needsDrawMap=0===i&&!t[i].getHostGeoModel(),t[i].setData(n.cloneShallow()),t[i].mainSeries=t[0]})}},function(t,e,n){var i=n(1);t.exports=function(t){var e=[];i.each(t.series,function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,i.defaults(t,t.mapLocation))})}},function(t,e,n){var i=n(80),n=n(44).extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});t.exports=n},function(t,e,n){var i=n(4),r=n(165),o=n(936),a=n(166);i.extendChartView({type:"scatter",render:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||1e4<i.count()||!this._symbolDraw.isPersistent())return{update:!0};t=a().reset(t);t.progress&&t.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(t){var e=t.coordinateSystem,e=e&&e.getArea&&e.getArea();return t.get("clip",!0)?e:null},_updateSymbolDraw:function(t,e){var n=this._symbolDraw,e=e.pipelineContext.large;return n&&e===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=new(e?o:r),this._isLargeDraw=e,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(8),a=n(56).createSymbol,r=n(336),o=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<n.length;){var s=n[a++],l=n[a++];isNaN(s)||isNaN(l)||this.softClipShape&&!this.softClipShape.contain(s,l)||(o.x=s-i[0]/2,o.y=l-i[1]/2,o.width=i[0],o.height=i[1],r.buildPath(t,o,!0))}},afterBrush:function(t){var e=this.shape,n=e.points,i=e.size;if(i[0]<4){this.setTransform(t);for(var r=0;r<n.length;){var o=n[r++],a=n[r++];isNaN(o)||isNaN(a)||this.softClipShape&&!this.softClipShape.contain(o,a)||t.fillRect(o-i[0]/2,a-i[1]/2,i[0],i[1])}this.restoreTransform(t)}},findDataIndex:function(t,e){for(var n=this.shape,i=n.points,n=n.size,r=Math.max(n[0],4),o=Math.max(n[1],4),a=i.length/2-1;0<=a;a--){var s=2*a,l=i[s]-r/2,s=i[1+s]-o/2;if(l<=t&&s<=e&&t<=l+r&&e<=s+o)return a}return-1}});function s(){this.group=new i.Group}n=s.prototype;n.isPersistent=function(){return!this._incremental},n.updateData=function(t,e){this.group.removeAll();var n=new o({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},n.updateLayout=function(t){var i;this._incremental||(i=t.getLayout("symbolPoints"),this.group.eachChild(function(t){var e,n;null!=t.startIndex&&(e=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2,i=new Float32Array(i.buffer,n,e)),t.setShape("points",i)}))},n.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),2e6<t.count()?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},n.incrementalUpdate=function(t,e,n){var i;this._incremental?(i=new o,this._incremental.addDisplayable(i,!0)):((i=new o({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)},n._setCommon=function(e,t,n,i){var r=t.hostModel;i=i||{};var o=t.getVisual("symbolSize");e.setShape("size",o instanceof Array?o:[o,o]),e.softClipShape=i.clipShape||null,e.symbolProxy=a(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;i=e.shape.size[0]<4;e.useStyle(r.getModel("itemStyle").getItemStyle(i?["color","shadowBlur","shadowColor"]:["color"]));t=t.getVisual("color");t&&e.setColor(t),n||(e.seriesIndex=r.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;t=e.findDataIndex(t.offsetX,t.offsetY);0<=t&&(e.dataIndex=t+(e.startIndex||0))}))},n.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},n._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=s},function(t,e,n){var i=n(44),s=n(352),o=n(26).encodeHTML,l=n(39),i=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new l(n,this,this.ecModel),r=s.createTree(e,this,function(t){t.wrapMethod("getItemModel",function(t,e){e=r.getNodeByDataIndex(e);return e.children.length&&e.isExpand||(t.parentModel=i),t})});var o=0;r.eachNode("preorder",function(t){t.depth>o&&(o=t.depth)});var a=t.expandAndCollapse&&0<=t.initialTreeDepth?t.initialTreeDepth:o;return r.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a}),r.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),t=i.getValue(),r=i.name;i&&i!==n;)r=i.parentNode.name+"."+r,i=i.parentNode;return o(r+(isNaN(t)||null==t?"":" : "+t))},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=i},function(t,e,n){var m=n(1),v=n(8),y=n(285),d=n(687).radialCoordinate,i=n(4),s=n(157),l=n(351),u=n(348),r=n(170),c=n(287).onIrrelevantElement,p=(n(20).__DEV__,n(13).parsePercent),x=v.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,s=1-l,e=p(e.forkPosition,1),u=[];u[l]=r[l],u[s]=r[s]+(a[s]-r[s])*e,t.moveTo(r[0],r[1]),t.lineTo(u[0],u[1]),t.moveTo(o[0],o[1]),u[l]=o[l],t.lineTo(u[0],u[1]),u[l]=a[l],t.lineTo(u[0],u[1]),t.lineTo(a[0],a[1]);for(var c=1;c<i-1;c++){var h=n[c];t.moveTo(h[0],h[1]),u[l]=h[l],t.lineTo(u[0],u[1])}}}),i=i.extendChartView({type:"tree",init:function(t,e){this._oldTree,this._mainGroup=new v.Group,this._controller=new r(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(i,t,n,e){var r=i.getData(),o=i.layoutInfo,a=this._mainGroup,s=i.get("layout");"radial"===s?a.attr("position",[o.x+o.width/2,o.y+o.height/2]):a.attr("position",[o.x,o.y]),this._updateViewCoordSys(i,o,s),this._updateController(i,t,n);var l=this._data,u={expandAndCollapse:i.get("expandAndCollapse"),layout:s,edgeShape:i.get("edgeShape"),edgeForkPosition:i.get("edgeForkPosition"),orient:i.getOrient(),curvature:i.get("lineStyle.curveness"),symbolRotate:i.get("symbolRotate"),symbolOffset:i.get("symbolOffset"),hoverAnimation:i.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};r.diff(l).add(function(t){h(r,t)&&f(r,t,null,a,i,u)}).update(function(t,e){var n=l.getItemGraphicEl(e);h(r,t)?f(r,t,n,a,i,u):n&&g(l,e,n,a,i,u)}).remove(function(t){var e=l.getItemGraphicEl(t);e&&g(l,t,e,a,i,u)}).execute(),this._nodeScaleRatio=i.get("nodeScaleRatio"),this._updateNodeAndLinkScale(i),!0===u.expandAndCollapse&&r.eachItemGraphicEl(function(t,e){t.off("click").on("click",function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:i.id,dataIndex:e})})}),this._data=r},_updateViewCoordSys:function(t){var e=t.getData(),n=[];e.each(function(t){t=e.getItemLayout(t);!t||isNaN(t.x)||isNaN(t.y)||n.push([+t.x,+t.y])});var i=[],r=[];s.fromPoints(n,i,r);var o=this._min,a=this._max;r[0]-i[0]==0&&(i[0]=o?o[0]:i[0]-1,r[0]=a?a[0]:r[0]+1),r[1]-i[1]==0&&(i[1]=o?o[1]:i[1]-1,r[1]=a?a[1]:r[1]+1);a=t.coordinateSystem=new l;a.zoomLimit=t.get("scaleLimit"),a.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1]),a.setCenter(t.get("center")),a.setZoom(t.get("zoom")),this.group.attr({position:a.position,scale:a.scale}),this._viewCoordSys=a,this._min=i,this._max=r},_updateController:function(r,t,o){var e=this._controller,n=this._controllerHost,a=this.group;e.setPointerChecker(function(t,e,n){var i=a.getBoundingRect();return i.applyTransform(a.transform),i.contain(e,n)&&!c(t,o,r)}),e.enable(r.get("roam")),n.zoomLimit=r.get("scaleLimit"),n.zoom=r.coordinateSystem.getZoom(),e.off("pan").off("zoom").on("pan",function(t){u.updateViewOnPan(n,t.dx,t.dy),o.dispatchAction({seriesId:r.id,type:"treeRoam",dx:t.dx,dy:t.dy})},this).on("zoom",function(t){u.updateViewOnZoom(n,t.scale,t.originX,t.originY),o.dispatchAction({seriesId:r.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(r)},this)},_updateNodeAndLinkScale:function(t){var e=t.getData(),t=this._getNodeGlobalScale(t),n=[t,t];e.eachItemGraphicEl(function(t,e){t.attr("scale",n)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,t=e.scale,t=t&&t[0]||1;return((e.getZoom()-1)*n+1)/t},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function h(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==t.getItemVisual(e,"symbol")}function _(t,e,n){return n.itemModel=e,n.itemStyle=e.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=e.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=e.getModel("lineStyle").getLineStyle(),n.labelModel=e.getModel("label"),n.hoverLabelModel=e.getModel("emphasis.label"),!1===t.isExpand&&0!==t.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function f(t,e,n,i,r,o){var a=!n,s=t.tree.getNodeByDataIndex(e),l=s.getModel(),o=_(s,l,o),u=t.tree.root,c=s.parentNode!==u&&s.parentNode||s,h=t.getItemGraphicEl(c.dataIndex),d=c.getLayout(),l=h?{x:h.position[0],y:h.position[1],rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:d,c=s.getLayout();a?(n=new y(t,e,o)).attr("position",[l.x,l.y]):n.updateData(t,e,o),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=c.rawX,n.__radialRawY=c.rawY,i.add(n),t.setItemGraphicEl(e,n),v.updateProps(n,{position:[c.x,c.y]},r);var p,f,g,h=n.getSymbolPath();"radial"===o.layout&&(t=(a=u.children[0]).getLayout(),e=a.children.length,c.x===t.x&&!0===s.isExpand?((f={}).x=(a.children[0].getLayout().x+a.children[e-1].getLayout().x)/2,f.y=(a.children[0].getLayout().y+a.children[e-1].getLayout().y)/2,(p=Math.atan2(f.y-t.y,f.x-t.x))<0&&(p=2*Math.PI+p),(g=f.x<t.x)&&(p-=Math.PI)):((p=Math.atan2(c.y-t.y,c.x-t.x))<0&&(p=2*Math.PI+p),0===s.children.length||0!==s.children.length&&!1===s.isExpand?(g=c.x<t.x)&&(p-=Math.PI):(g=c.x>t.x)||(p-=Math.PI)),f=g?"left":"right",g=(t=o.labelModel.get("rotate"))*(Math.PI/180),h.setStyle({textPosition:o.labelModel.get("position")||f,textRotation:null==t?-p:g,textOrigin:"center",verticalAlign:"middle"})),function(t,e,n,i,r,o,a,s,l){var u=l.edgeShape,c=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(c=c||(i.__edge=new v.BezierCurve({shape:b(l,r,r),style:m.defaults({opacity:0,strokeNoScale:!0},l.lineStyle)})),v.updateProps(c,{shape:b(l,o,a),style:m.defaults({opacity:1},l.lineStyle)},t));else if("polyline"===u&&"orthogonal"===l.layout&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var h=e.children,d=[],p=0;p<h.length;p++){var f=h[p].getLayout();d.push([f.x,f.y])}c=c||(i.__edge=new x({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:l.orient,forkPosition:l.edgeForkPosition},style:m.defaults({opacity:0,strokeNoScale:!0},l.lineStyle)})),v.updateProps(c,{shape:{parentPoint:[a.x,a.y],childPoints:d},style:m.defaults({opacity:1},l.lineStyle)},t)}s.add(c)}(r,s,u,n,l,d,c,i,o)}function g(t,e,n,i,r,o){for(var a,s=t.tree.getNodeByDataIndex(e),l=t.tree.root,u=s.getModel(),o=_(s,u,o),c=s.parentNode!==l&&s.parentNode||s,u=o.edgeShape;null==(a=c.getLayout());)c=c.parentNode!==l&&c.parentNode||c;v.updateProps(n,{position:[a.x+1,a.y+1]},r,function(){i.remove(n),t.setItemGraphicEl(e,null)}),n.fadeOut(null,{keepLabel:!0});var s=t.getItemGraphicEl(c.dataIndex).__edge,h=n.__edge||(!1===c.isExpand||1===c.children.length?s:void 0),u=o.edgeShape;h&&("curve"===u?v.updateProps(h,{shape:b(o,a,a),style:{opacity:0}},r,function(){i.remove(h)}):"polyline"===u&&"orthogonal"===o.layout&&v.updateProps(h,{shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]]},style:{opacity:0}},r,function(){i.remove(h)}))}function b(t,e,n){var i,r,o,a,s=t.orient;if("radial"!==t.layout)return l=e.x,u=e.y,c=n.x,h=n.y,"LR"!==s&&"RL"!==s||(i=l+(c-l)*t.curvature,r=u,o=c+(l-c)*t.curvature,a=h),"TB"!==s&&"BT"!==s||(i=l,r=u+(h-u)*t.curvature,o=c,a=h+(u-h)*t.curvature),{x1:l,y1:u,x2:c,y2:h,cpx1:i,cpy1:r,cpx2:o,cpy2:a};var l=e.rawX,u=e.rawY,c=n.rawX,h=n.rawY,n=d(l,u),l=d(l,u+(h-u)*t.curvature),t=d(c,h+(u-h)*t.curvature),h=d(c,h);return{x1:n.x,y1:n.y,x2:h.x,y2:h.y,cpx1:l.x,cpy1:l.y,cpx2:t.x,cpy2:t.y}}t.exports=i},function(t,e,n){var i=n(4),r=n(349).updateCenterAndZoom;i.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(n,t){t.eachComponent({mainType:"series",subType:"tree",query:n},function(t){var e=n.dataIndex,e=t.getData().tree.getNodeByDataIndex(e);e.isExpand=!e.isExpand})}),i.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(n,t){t.eachComponent({mainType:"series",subType:"tree",query:n},function(t){var e=t.coordinateSystem,e=r(e,n);t.setCenter&&t.setCenter(e.center),t.setZoom&&t.setZoom(e.zoom)})})},function(t,e,n){var i=n(941),m=i.eachAfter,v=i.eachBefore,n=n(687),y=n.init,x=n.firstWalk,_=n.secondWalk,b=n.separation,S=n.radialCoordinate,A=n.getViewRect;t.exports=function(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var n=A(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;a="radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,b(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(r=n.width,o=n.height,b());e=t.getData().tree.root,n=e.children[0];{var s,l,u,c,h,d,p,f,g;n&&(y(e),m(n,x,a),e.hierNode.modifier=-n.hierNode.prelim,v(n,_),v(u=l=s=n,function(t){var e=t.getLayout().x;e<s.getLayout().x&&(s=t),e>l.getLayout().x&&(l=t),t.depth>u.depth&&(u=t)}),a=s===l?1:a(s,l)/2,c=a-s.getLayout().x,f=p=d=h=0,"radial"===i?(h=r/(l.getLayout().x+a+c),d=o/(u.depth-1||1),v(n,function(t){p=(t.getLayout().x+c)*h,f=(t.depth-1)*d;var e=S(p,f);t.setLayout({x:e.x,y:e.y,rawX:p,rawY:f},!0)})):"RL"===(g=t.getOrient())||"LR"===g?(d=o/(l.getLayout().x+a+c),h=r/(u.depth-1||1),v(n,function(t){f=(t.getLayout().x+c)*d,p="LR"===g?(t.depth-1)*h:r-(t.depth-1)*h,t.setLayout({x:p,y:f},!0)})):"TB"!==g&&"BT"!==g||(h=r/(l.getLayout().x+a+c),d=o/(u.depth-1||1),v(n,function(t){p=(t.getLayout().x+c)*h,f="TB"===g?(t.depth-1)*d:o-(t.depth-1)*d,t.setLayout({x:p,y:f},!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<a.length;s++)r.push(a[s])}for(;i=o.pop();)e(i,n)},e.eachBefore=function(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;0<=o;o--)i.push(r[o])}}},function(t,e,n){var i=n(4);n(943),n(944),n(947);var r=n(948),n=n(949);i.registerVisual(r),i.registerLayout(n)},function(t,e,n){var l=n(1),i=n(44),u=n(352),c=n(39),r=n(26),o=r.encodeHTML,a=r.addCommas,s=n(108).wrapTreePathInfo,n=i.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 e(t){var n=0;l.each(t.children,function(t){e(t);var t=t.value;l.isArray(t)&&(t=t[0]),n+=t});var i=t.value;l.isArray(i)&&(i=i[0]);null!=i&&!isNaN(i)||(i=n);i<0&&(i=0);l.isArray(t.value)?t.value[0]=i:t.value=i}(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new c({itemStyle:r},this,e),i=t.levels=function(t,e){var n,e=e.get("color");if(e)return t=t||[],l.each(t,function(t){var e=new c(t),t=e.get("color");(e.get("itemStyle.color")||t&&"none"!==t)&&(n=!0)}),n||((t[0]||(t[0]={})).color=e.slice()),t}(i,e),a=l.map(i||[],function(t){return new c(t,o,e)},this),s=u.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){e=s.getNodeByDataIndex(e),e=a[e.depth];return t.parentModel=e||o,t})});return s.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),n=l.isArray(n)?a(n[0]):a(n),t=e.getName(t);return o(t+": "+n)},getDataParams:function(t){var e=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=s(n,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},l.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=l.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=n},function(t,e,n){function T(t){return(t=z(t)).stroke=t.fill=t.lineWidth=null,t}var i=n(4),I=n(1),D=n(8),p=n(105),l=n(108),r=n(945),o=n(170),a=n(30),s=n(52),c=n(946),u=n(128),h=n(26).windowOpen,d=I.bind,L=D.Group,k=D.Rect,f=I.each,N=["label"],O=["emphasis","label"],P=["upperLabel"],E=["emphasis","upperLabel"],H=10,z=u([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),i=i.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage=g(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,n,i){var r,o,a,s=e.findComponents({mainType:"series",subType:"treemap",query:i});I.indexOf(s,t)<0||(this.seriesModel=t,this.api=n,this.ecModel=e,r=l.retrieveTargetInfo(i,["treemapZoomToNode","treemapRootToNode"],t),o=i&&i.type,a=t.layoutInfo,s=!this._oldTree,e=this._storage,e="treemapRootToNode"===o&&r&&e?{rootNodeGroup:e.nodeGroup[r.node.getRawIndex()],direction:i.direction}:null,i=this._giveContainerGroup(a),a=this._doRender(i,t,e),s||o&&"treemapZoomToNode"!==o&&"treemapRootToNode"!==o?a.renderFinally():this._doAnimation(i,a,t,e),this._resetController(n),this._renderBreadcrumb(t,n,r))},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new L,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,r=this._oldTree,o=g(),a=g(),s=this._storage,l=[],u=I.curry(m,e,a,s,n,o,l);!function i(r,o,a,s,l){s?f(o=r,function(t,e){t.isRemoved()||n(e,e)}):new p(o,r,t,t).add(n).update(n).remove(I.curry(n,null)).execute();function t(t){return t.getId()}function n(t,e){var n=null!=t?r[t]:null,t=null!=e?o[e]:null,e=u(n,t,a,l);e&&i(n&&n.viewChildren||[],t&&t.viewChildren||[],e,s,l+1)}}(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var c,h,d=(h=g(),(c=s)&&f(c,function(t,e){var n=h[e];f(t,function(t){t&&(n.push(t),t.__tmWillDelete=1)})}),h);return this._oldTree=i,this._storage=a,{lastsForAnimation:o,willDeleteEls:d,renderFinally:function(){f(d,function(t){f(t,function(t){t.parent&&t.parent.remove(t)})}),f(l,function(t){t.invisible=!0,t.dirty()})}}},_doAnimation:function(t,r,e,a){var s,l,u;e.get("animation")&&(s=e.get("animationDurationUpdate"),l=e.get("animationEasing"),u=c.createWrap(),f(r.willDeleteEls,function(t,o){f(t,function(t,e){var n,i,r;t.invisible||(n=t.parent,(r=a&&"drillDown"===a.direction?n===a.rootNodeGroup?{shape:{x:0,y:0,width:n.__tmNodeWidth,height:n.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}}:(r=i=0,n.__tmWillDelete||(i=n.__tmNodeWidth/2,r=n.__tmNodeHeight/2),"nodeGroup"===o?{position:[i,r],style:{opacity:0}}:{shape:{x:i,y:r,width:0,height:0},style:{opacity:0}}))&&u.add(t,r,s,l))})}),f(this._storage,function(t,i){f(t,function(t,e){var n=r.lastsForAnimation[i][e],e={};n&&("nodeGroup"===i?n.old&&(e.position=t.position.slice(),t.attr("position",n.old)):(n.old&&(e.shape=I.extend({},t.shape),t.setShape(n.old)),n.fadein?(t.setStyle("opacity",0),e.style={opacity:1}):1!==t.style.opacity&&(e.style={opacity:1})),u.add(t,e,s,l))})},this),this._state="animating",u.done(d(function(){this._state="ready",r.renderFinally()},this)).start())},_resetController:function(t){var e=this._controller;e||((e=this._controller=new o(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",d(this._onPan,this)),e.on("zoom",d(this._onZoom,this)));var i=new a(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,n){return i.contain(e,n)})},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t){var e;"animating"!==this._state&&(3<Math.abs(t.dx)||3<Math.abs(t.dy))&&(!(e=this.seriesModel.getData().tree.root)||(e=e.getLayout())&&this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:e.x+t.dx,y:e.y+t.dy,width:e.width,height:e.height}}))},_onZoom:function(t){var e,n,i=t.originX,r=t.originY;"animating"!==this._state&&(!(e=this.seriesModel.getData().tree.root)||(n=e.getLayout())&&(e=new a(n.x,n.y,n.width,n.height),i-=(n=this.seriesModel.layoutInfo).x,r-=n.y,n=s.create(),s.translate(n,n,[-i,-r]),s.scale(n,n,[t.scale,t.scale]),s.translate(n,n,[i,r]),e.applyTransform(n),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:e.x,y:e.y,width:e.width,height:e.height}})))},_initEvents:function(t){t.on("click",function(t){var e,n;"ready"===this._state&&(!(n=this.seriesModel.get("nodeClick",!0))||(e=this.findTarget(t.offsetX,t.offsetY))&&((t=e.node).getLayout().isLeafRoot?this._rootToNode(e):"zoomToNode"===n?this._zoomToNode(e):"link"===n&&(t=(n=t.hostTree.data.getItemModel(t.dataIndex)).get("link",!0),n=n.get("target",!0)||"blank",t&&h(t,n))))},this)},_renderBreadcrumb:function(e,t,n){n=n||((n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||{node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new r(this.group))).render(e,t,n.node,d(function(t){"animating"!==this._state&&(l.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))},this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=g(),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(i,r){var o;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(t){var e=this._storage.background[t.getRawIndex()];if(e){var n=e.transformCoordToLocal(i,r),e=e.shape;if(!(e.x<=n[0]&&n[0]<=e.x+e.width&&e.y<=n[1]&&n[1]<=e.y+e.height))return!1;o={node:t,offsetX:n[0],offsetY:n[1]}}},this),o}});function g(){return{nodeGroup:[],background:[],content:[]}}function m(c,l,u,h,d,e,p,t,n,i){if(p){var f=p.getLayout(),r=c.getData();if(r.setItemGraphicEl(p.dataIndex,null),f&&f.isInView){var s=f.width,g=f.height,m=f.borderWidth,v=f.invisible,y=p.getRawIndex(),x=t&&t.getRawIndex(),o=p.viewChildren,_=f.upperHeight,t=o&&o.length,b=p.getModel("itemStyle"),S=p.getModel("emphasis.itemStyle"),o=a("nodeGroup",L);if(o){if(n.add(o),o.attr("position",[f.x||0,f.y||0]),o.__tmNodeWidth=s,o.__tmNodeHeight=g,f.isAboveViewRoot)return o;var A=p.getModel(),n=a("background",k,i,1);return n&&function(t,e,n){{var i,r,o,a;e.dataIndex=p.dataIndex,e.seriesIndex=c.seriesIndex,e.setShape({x:0,y:0,width:s,height:g}),v?M(e):(e.invisible=!1,a=p.getVisual("borderColor",!0),i=S.get("borderColor"),(r=T(b)).fill=a,(o=z(S)).fill=i,n?w(r,o,a,a=s-2*m,_,{x:m,y:0,width:a,height:_}):r.text=o.text=null,e.setStyle(r),D.setElementHoverStyle(e,o))}t.add(e)}(o,n,t&&f.upperLabelHeight),t?(D.isHighDownDispatcher(o)&&D.setAsHighDownDispatcher(o,!1),n&&(D.setAsHighDownDispatcher(n,!0),r.setItemGraphicEl(p.dataIndex,n))):((i=a("content",k,i,2))&&function(t,e){e.dataIndex=p.dataIndex,e.seriesIndex=c.seriesIndex;var n=Math.max(s-2*m,0),i=Math.max(g-2*m,0);{var r,o,a;e.culling=!0,e.setShape({x:m,y:m,width:n,height:i}),v?M(e):(e.invisible=!1,r=p.getVisual("color",!0),(o=T(b)).fill=r,a=z(S),w(o,a,r,n,i),e.setStyle(o),D.setElementHoverStyle(e,a))}t.add(e)}(o,i),n&&D.isHighDownDispatcher(n)&&D.setAsHighDownDispatcher(n,!1),D.setAsHighDownDispatcher(o,!0),r.setItemGraphicEl(p.dataIndex,o)),o}}}function M(t){t.invisible||e.push(t)}function w(t,e,n,i,r,o){var a=A.get("name"),s=A.getModel(o?P:N),l=A.getModel(o?E:O),u=s.getShallow("show");D.setLabelStyle(t,e,s,l,{defaultText:u?a:null,autoColor:n,isRectText:!0,labelFetcher:c,labelDataIndex:p.dataIndex,labelProp:o?"upperLabel":"label"}),C(t,o,f),C(e,o,f),o&&(t.textRect=I.clone(o)),t.truncate=u&&s.get("ellipsis")?{outerWidth:i,outerHeight:r,minChar:2}:null}function C(t,e,n){var i=t.text;!e&&n.isLeafRoot&&null!=i&&(n=c.get("drillDownIcon",!0),t.text=n?n+" "+i:i)}function a(t,e,n,i){var r,o,a=null!=x&&u[t][x],s=d[t];return a?(u[t][x]=null,r=a,o=t,(s[y]={}).old="nodeGroup"===o?r.position.slice():I.extend({},r.shape)):v||((a=new e({z:function(t,e){e=t*H+e;return(e-1)/e}(n,i)})).__tmDepth=n,function(t,e){var n=t[y]={},i=p.parentNode;{var r;!i||h&&"drillDown"!==h.direction||(t=r=0,i=d.background[i.getRawIndex()],!h&&i&&i.old&&(r=i.old.width,t=i.old.height),n.old="nodeGroup"===e?[0,t]:{x:r,y:t,width:0,height:0})}n.fadein="nodeGroup"!==e}(s,a.__tmStorageName=t)),l[t][y]=a}}t.exports=i},function(t,e,n){var b=n(8),S=n(21),A=n(1),M=n(108).wrapTreePathInfo,w=5;function i(t){this.group=new b.Group,t.add(this.group)}i.prototype={constructor:i,render:function(t,e,n,i){var r,o,a=t.getModel("breadcrumb"),s=this.group;s.removeAll(),a.get("show")&&n&&(o=(r=a.getModel("itemStyle")).getModel("textStyle"),a={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]},this._prepare(n,a,o),this._renderContent(t,a,r,o,i),S.positionElement(s,a.pos,a.box))},_prepare:function(t,e,n){for(var i=t;i;i=i.parentNode){var r=i.getModel().get("name"),o=n.getTextRect(r),o=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:i,text:r,width:o})}},_renderContent:function(t,e,n,i,r){for(var o,a,s,l,u,c=0,h=e.emptyItemWidth,d=t.get("breadcrumb.height"),p=S.getAvailableSize(e.pos,e.box),f=e.totalWidth,g=e.renderList,m=g.length-1;0<=m;m--){var v=g[m],y=v.node,x=v.width,_=v.text;f>p.width&&(f-=x-h,x=h,_=null);v=new b.Polygon({shape:{points:(o=c,a=0,s=x,l=d,u=m===g.length-1,v=void 0,v=[[u?o:o-w,a],[o+s,a],[o+s,a+l],[u?o:o-w,a+l]],0===m||v.splice(2,0,[o+s+w,a+l/2]),u||v.push([o,a+l/2]),v)},style:A.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:i.getTextColor(),textFont:i.getFont()}),z:10,onclick:A.curry(r,y)});this.group.add(v),_=t,y=y,v.eventData={componentType:"series",componentSubType:"treemap",componentIndex:_.componentIndex,seriesIndex:_.componentIndex,seriesName:_.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:y&&y.dataIndex,name:y&&y.name},treePathInfo:y&&M(y,_)},c+=x+8}},remove:function(){this.group.removeAll()}},t.exports=i},function(t,e,n){var l=n(1);e.createWrap=function(){var o,a=[],s={};return{add:function(t,e,n,i,r){return l.isString(i)&&(r=i,i=0),!s[t.id]&&(s[t.id]=1,a.push({el:t,target:e,time:n,delay:i,easing:r}),!0)},done:function(t){return o=t,this},start:function(){for(var t=a.length,e=0,n=a.length;e<n;e++){var i=a[e];i.el.animateTo(i.target,i.time,i.delay,i.easing,r)}return this;function r(){--t||(a.length=0,s={},o&&o())}}}}},function(t,e,n){function i(){}for(var r=n(4),o=n(108),a=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<a.length;s++)r.registerAction({type:a[s],update:"updateView"},i);r.registerAction({type:"treemapRootToNode",update:"updateView"},function(r,t){t.eachComponent({mainType:"series",subType:"treemap",query:r},function(t,e){var n=o.retrieveTargetInfo(r,["treemapZoomToNode","treemapRootToNode"],t);{var i;n&&((i=t.getViewRoot())&&(r.direction=o.aboveViewRoot(i,n.node)?"rollUp":"drillDown"),t.resetViewRoot(n.node))}})})},function(t,e,n){var s=n(109),i=n(71),d=n(1),r=d.isArray,p="itemStyle";function f(n,i,t){var r=d.extend({},i),o=t.designatedVisualItemStyle;return d.each(["color","colorAlpha","colorSaturation"],function(t){o[t]=i[t];var e=n.get(t);(o[t]=null)!=e&&(r[t]=e)}),r}function g(t){var e=o(t,"color");if(e){var n=o(t,"colorAlpha"),t=o(t,"colorSaturation");return t&&(e=i.modifyHSL(e,null,null,t)),e=n?i.modifyAlpha(e,n):e}}function m(t,e){return null!=e?i.modifyHSL(e,null,null,t):null}function o(t,e){e=t[e];if(null!=e&&"none"!==e)return e}function v(t,e,n,i,r,o){if(o&&o.length){var a=l(e,"color")||null!=r.color&&"none"!==r.color&&(l(e,"colorAlpha")||l(e,"colorSaturation"));if(a){o=e.get("visualMin"),r=e.get("visualMax"),n=n.dataExtent.slice();null!=o&&o<n[0]&&(n[0]=o),null!=r&&r>n[1]&&(n[1]=r);e=e.get("colorMappingBy"),a={type:a.name,dataExtent:n,visual:a.range};"color"!==a.type||"index"!==e&&"id"!==e?a.mappingMethod="linear":(a.mappingMethod="category",a.loop=!0);a=new s(a);return a.__drColorMappingBy=e,a}}}function l(t,e){t=t.get(e);return r(t)&&t.length?{name:e,range:t}:null}function y(t,e,n,i,r,o){var a,s=d.extend({},e);return r&&(t="index"===(e="color"===(a=r.type)&&r.__drColorMappingBy)?i:"id"===e?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension")),s[a]=r.mapValueToVisual(t)),s}t.exports={seriesType:"treemap",reset:function(t,e,n,i){var r=t.getData().tree.root;r.isRemoved()||!function n(t,e,i,r){var o=t.getModel();var a=t.getLayout();if(!a||a.invisible||!a.isInView)return;var s=t.getModel(p);var l=f(s,e,r);var u=s.get("borderColor");var e=s.get("borderColorSaturation");var c;null!=e&&(c=g(l),u=m(e,c));t.setVisual("borderColor",u);var u=t.viewChildren;{var h;u&&u.length?(h=v(0,o,a,0,l,u),d.each(u,function(t,e){(t.depth>=i.length||t===i[t.depth])&&(e=y(o,l,t,e,h,r),n(t,e,i,r))})):(c=g(l),t.setVisual("color",c))}}(r,{},t.getViewRoot().getAncestors(),t)}}},function(t,e,n){var g=n(1),m=n(30),i=n(13),v=i.parsePercent,y=i.MAX_SAFE_INTEGER,x=n(21),_=n(108),S=Math.max,A=Math.min,b=g.retrieve,M=g.each,w=["itemStyle","borderWidth"],C=["itemStyle","gapWidth"],r=["upperLabel","show"],o=["upperLabel","height"];function T(t,e,n,i,r,o){var a=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l,o=null!=i.leafDepth&&i.leafDepth<=o;if(r&&!o)return t.viewChildren=[];a=g.filter(a,function(t){return!t.isRemoved()}),r=a,(l=s)&&r.sort(function(t,e){var n="asc"===l?t.getValue()-e.getValue():e.getValue()-t.getValue();return 0==n?"asc"===l?t.dataIndex-e.dataIndex:e.dataIndex-t.dataIndex:n});var u=function(t,e,n){for(var i=0,r=0,o=e.length;r<o;r++)i+=e[r].getValue();var a=t.get("visualDimension");{var s;e&&e.length?"value"===a&&n?(s=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&s.reverse()):(s=[1/0,-1/0],M(e,function(t){t=t.getValue(a);t<s[0]&&(s[0]=t),t>s[1]&&(s[1]=t)})):s=[NaN,NaN]}return{sum:i,dataExtent:s}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.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;0<=l;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}(e,n,u.sum,s,a),0===u.sum)return t.viewChildren=[];for(var c=0,h=a.length;c<h;c++){var d=a[c].getValue()/u.sum*n;a[c].setLayout({area:d})}return o&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0),t.viewChildren=a,t.setLayout({dataExtent:u.dataExtent},!0),a}function I(t,e,n){for(var i,r=0,o=1/0,a=0,s=t.length;a<s;a++)(i=t[a].getLayout().area)&&(i<o&&(o=i),r<i&&(r=i));var l=t.area*t.area,n=e*e*n;return l?S(n*r/l,l/(n*o)):1/0}function D(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]],c=e?t.area/e:0;(r||c>n[l[a]])&&(c=n[l[a]]);for(var h=0,d=t.length;h<d;h++){var p=t[h],f={},g=c?p.getLayout().area/c:0,m=f[l[a]]=S(c-2*i,0),v=n[s[o]]+n[l[o]]-u,v=h===d-1||v<g?v:g,g=f[l[o]]=S(v-2*i,0);f[s[a]]=n[s[a]]+A(i,m/2),f[s[o]]=u+A(i,g/2),u+=v,p.setLayout(f,!0)}n[s[a]]+=c,n[l[a]]-=c}function L(t){return t.get(r)?t.get(o):0}t.exports={seriesType:"treemap",reset:function(t,e,n,i){var r,o=n.getWidth(),a=n.getHeight(),s=t.option,l=x.getLayoutRect(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),u=s.size||[],c=v(b(l.width,u[0]),o),h=v(b(l.height,u[1]),a),n=i&&i.type,u=_.retrieveTargetInfo(i,["treemapZoomToNode","treemapRootToNode"],t),i="treemapRender"===n||"treemapMove"===n?i.rootRect:null,d=t.getViewRoot(),p=_.getPathToRoot(d);"treemapMove"!==n&&(h="treemapZoomToNode"===n?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var n=i*r,l=n*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var u=0,c=o.children,h=0,d=c.length;h<d;h++)u+=c[h].getValue();var p=a.getValue();if(0===p)return s;l*=u/p;var f=o.getModel(),p=f.get(w),f=Math.max(p,L(f));l+=4*p*p+(3*p+f)*Math.pow(l,.5),y<l&&(l=y),a=o}l<n&&(l=n);n=Math.pow(l/n,.5);return[i*n,r*n]}(t,u,d,c,h):i?[i.width,i.height]:[c,h],f=s.sort,f={squareRatio:s.squareRatio,sort:f=f&&"asc"!==f&&"desc"!==f?"desc":f,leafDepth:s.leafDepth},d.hostTree.clearLayouts(),r={x:0,y:0,width:h[0],height:h[1],area:h[0]*h[1]},d.setLayout(r),function t(e,n,i,r){var o;var a;if(e.isRemoved())return;var s=e.getLayout();o=s.width;a=s.height;var l=e.getModel();var u=l.get(w);var c=l.get(C)/2;var h=L(l);var d=Math.max(u,h);var p=u-c;var s=d-c;l=e.getModel();e.setLayout({borderWidth:u,upperHeight:d,upperLabelHeight:h},!0);o=S(o-2*p,0);a=S(a-p-s,0);var h=o*a;var f=T(e,l,h,n,i,r);if(!f.length)return;var g={x:p,y:s,width:o,height:a};var m=A(o,a);var v=1/0;var y=[];y.area=0;for(var x=0,_=f.length;x<_;){var b=f[x];y.push(b),y.area+=b.getLayout().area;var b=I(y,m,n.squareRatio);v=b<=v?(x++,b):(y.area-=y.pop().getLayout().area,D(y,m,g,c,!1),m=A(g.width,g.height),1/(y.length=y.area=0))}y.length&&D(y,m,g,c,!0);i||null!=(l=l.get("childrenVisibleMin"))&&h<l&&(i=!0);for(var x=0,_=f.length;x<_;x++)t(f[x],n,i,r+1)}(d,f,!1,0),r=d.getLayout(),M(p,function(t,e){e=(p[e+1]||d).getValue();t.setLayout(g.extend({dataExtent:[e,e],borderWidth:0,upperHeight:0},r))}));var f=t.getData().tree.root;f.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;e=n.node,n=e.getLayout();if(!n)return i;var r=[n.width/2,n.height/2],o=e;for(;o;){var a=o.getLayout();r[0]+=a.x,r[1]+=a.y,o=o.parentNode}return{x:t.width/2-r[0],y:t.height/2-r[1]}}(l,i,u),!0),t.setLayoutInfo(l),function e(t,n,i,r,o){var a=t.getLayout();var s=i[o];var l=s&&s===t;if(s&&!l||o===i.length&&t!==r)return;t.setLayout({isInView:!0,invisible:!l&&!n.intersect(a),isAboveViewRoot:l},!0);var u=new m(n.x-a.x,n.y-a.y,n.width,n.height);M(t.viewChildren||[],function(t){e(t,u,i,r,o+1)})}(f,new m(-l.x,-l.y,o,a),p,d,0)}}},function(t,e,n){var i=n(4);n(951),n(953),n(956);var r=n(957),o=n(107),a=n(958),s=n(959),l=n(960),u=n(961),c=n(962),n=n(964);i.registerProcessor(r),i.registerVisual(o("graph","circle",null)),i.registerVisual(a),i.registerVisual(s),i.registerLayout(l),i.registerLayout(i.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:n})},function(t,e,n){var i=n(4),r=n(60),s=n(1),o=n(17).defaultEmphasis,l=n(39),u=n(26).encodeHTML,c=n(688),a=n(167),n=n(288),h=n.initCurvenessList,d=n.createEdgeMapForCurveness,p=i.extendSeriesModel({type:"series.graph",init:function(t){p.superApply(this,"init",arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new a(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){p.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){p.superApply(this,"mergeDefaultAndTheme",arguments),o(t,["edgeLabel"],["show"])},getInitialData:function(t,o){var e=t.edges||t.links||[],t=t.data||t.nodes||[],a=this;if(t&&e){h(this);e=c(t,e,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=a._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var t=a.getModel("edgeLabel"),n=new l({label:t.option},t.parentModel,o),t=a.getModel("emphasis.edgeLabel"),i=new l({emphasis:{label:t.option}},t.parentModel,o);function r(t){return(t=this.parsePath(t))&&"label"===t[0]?n:t&&"emphasis"===t[0]&&"label"===t[1]?i:this.parentModel}e.wrapMethod("getItemModel",function(t){return t.customizeGetParent(r),t})});return s.each(e.edges,function(t){d(t.node1,t.node2,this,t.dataIndex)},this),e.data}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,n){if("edge"!==n)return p.superApply(this,"formatTooltip",arguments);var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),i=i.getName(o.node2.dataIndex),o=[];return null!=a&&o.push(a),null!=i&&o.push(i),o=u(o.join(" > ")),r.value&&(o+=" : "+u(r.value)),o},_updateCategoriesData:function(){var t=s.map(this.option.categories||[],function(t){return null!=t.value?t:s.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}}}});t.exports=p},function(t,e,n){n(20).__DEV__;var i=n(1),r=n(78).enableClassCheck;function c(t){return"_EC_"+t}function o(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData}n=o.prototype;function h(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function a(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}n.type="graph",n.isDirected=function(){return this._directed},n.addNode=function(t,e){var n=this._nodesMap;if(!n[c(t=null==t?""+e:""+t)]){e=new h(t,e);return(e.hostGraph=this).nodes.push(e),n[c(t)]=e}},n.getNodeByIndex=function(t){t=this.data.getRawIndex(t);return this.nodes[t]},n.getNodeById=function(t){return this._nodesMap[c(t)]},n.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]),h.isInstance(t)||(t=i[c(t)]),h.isInstance(e)||(e=i[c(e)]),t&&e){i=t.id+"-"+e.id,n=new a(t,e,n);return(n.hostGraph=this)._directed&&(t.outEdges.push(n),e.inEdges.push(n)),t.edges.push(n),t!==e&&e.edges.push(n),this.edges.push(n),r[i]=n}},n.getEdgeByIndex=function(t){t=this.edgeData.getRawIndex(t);return this.edges[t]},n.getEdge=function(t,e){h.isInstance(t)&&(t=t.id),h.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},n.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)0<=n[r].dataIndex&&t.call(e,n[r],r)},n.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)0<=n[r].dataIndex&&0<=n[r].node1.dataIndex&&0<=n[r].node2.dataIndex&&t.call(e,n[r],r)},n.breadthFirstTraverse=function(t,e,n,i){if(e=!h.isInstance(e)?this._nodesMap[c(e)]:e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null))for(var a=[e];a.length;)for(var s=a.shift(),l=s[r],o=0;o<l.length;o++){var u=l[o],u=u.node1===s?u.node2:u.node1;if(!u.__visited){if(t.call(i,u,s))return;a.push(u),u.__visited=!0}}}},n.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf(function(t){t=i[e.getRawIndex(t)];return 0<=t.node1.dataIndex&&0<=t.node2.dataIndex});for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},n.clone=function(){for(var t=new o(this._directed),e=this.nodes,n=this.edges,i=0;i<e.length;i++)t.addNode(e[i].id,e[i].dataIndex);for(i=0;i<n.length;i++){var r=n[i];t.addEdge(r.node1.id,r.node2.id,r.dataIndex)}return t},h.prototype={constructor:h,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)}},a.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)};n=function(n,i){return{getValue:function(t){var e=this[n][i];return e.get(e.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,e){0<=this.dataIndex&&this[n][i].setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this[n][i].getItemVisual(this.dataIndex,t,e)},setLayout:function(t,e){0<=this.dataIndex&&this[n][i].setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this[n][i].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][i].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][i].getRawIndex(this.dataIndex)}}};i.mixin(h,n("hostGraph","data")),i.mixin(a,n("hostGraph","edgeData")),o.Node=h,o.Edge=a,r(h),r(a),t.exports=o},function(t,e,n){var i=n(4),o=n(1),a=n(165),s=n(353),l=n(170),u=n(348),c=n(287).onIrrelevantElement,f=n(8),g=n(955),m=n(355).getNodeGlobalScale,v="__focusNodeAdjacency",y="__unfocusNodeAdjacency",h=["itemStyle","opacity"],d=["lineStyle","opacity"];function p(t,e){var n=t.getVisual("opacity");return null!=n?n:t.getModel().get(e)}function x(t,e,n){var i=t.getGraphicEl(),r=p(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse(function(t){var e;t.isGroup||(e=t.lineLabelOriginalOpacity,t.setStyle("opacity",e=null==e||null!=n?r:e))})}function _(t,e){var n=p(t,e),t=t.getGraphicEl();t.traverse(function(t){t.isGroup||t.setStyle("opacity",n)}),t.highlight&&t.highlight()}i=i.extendChartView({type:"graph",init:function(t,e){var n=new a,i=new s,r=this.group;this._controller=new l(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(r,t,o){var a=this,e=r.coordinateSystem;this._model=r;var n=this._symbolDraw,i=this._lineDraw,s=this.group;"view"===e.type&&(e={position:e.position,scale:e.scale},this._firstRender?s.attr(e):f.updateProps(s,e,r)),g(r.getGraph(),m(r));var l=r.getData();n.updateData(l);n=r.getEdgeData();i.updateData(n),this._updateNodeAndLinkScale(),this._updateController(r,t,o),clearTimeout(this._layoutTimeout);var u=r.forceLayout,c=r.get("force.layoutAnimation");u&&this._startForceLayoutIteration(u,c),l.eachItemGraphicEl(function(t,e){var n=l.getItemModel(e);t.off("drag").off("dragend");var i=n.get("draggable");i&&t.on("drag",function(){u&&(u.warmUp(),this._layouting||this._startForceLayoutIteration(u,c),u.setFixed(e),l.setItemLayout(e,t.position))},this).on("dragend",function(){u&&u.setUnfixed(e)},this),t.setDraggable(i&&u),t[v]&&t.off("mouseover",t[v]),t[y]&&t.off("mouseout",t[y]),n.get("focusNodeAdjacency")&&(t.on("mouseover",t[v]=function(){a._clearTimer(),o.dispatchAction({type:"focusNodeAdjacency",seriesId:r.id,dataIndex:t.dataIndex})}),t.on("mouseout",t[y]=function(){a._dispatchUnfocus(o)}))},this),l.graph.eachEdge(function(t){var e=t.getGraphicEl();e[v]&&e.off("mouseover",e[v]),e[y]&&e.off("mouseout",e[y]),t.getModel().get("focusNodeAdjacency")&&(e.on("mouseover",e[v]=function(){a._clearTimer(),o.dispatchAction({type:"focusNodeAdjacency",seriesId:r.id,edgeDataIndex:t.dataIndex})}),e.on("mouseout",e[y]=function(){a._dispatchUnfocus(o)}))});var h="circular"===r.get("layout")&&r.get("circular.rotateLabel"),d=l.getLayout("cx"),p=l.getLayout("cy");l.eachItemGraphicEl(function(t,e){var n=l.getItemModel(e).get("label.rotate")||0,i=t.getSymbolPath();h?(t=l.getItemLayout(e),(e=Math.atan2(t[1]-p,t[0]-d))<0&&(e=2*Math.PI+e),(t=t[0]<d)&&(e-=Math.PI),f.modifyLabelStyle(i,{textRotation:-e,textPosition:t=t?"left":"right",textOrigin:"center"},{textPosition:t})):f.modifyLabelStyle(i,{textRotation:n*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(t,e){var n=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){n._unfocusDelayTimer=null,t.dispatchAction({type:"unfocusNodeAdjacency",seriesId:n._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(t,e,n,i){var r=t.getData().graph,t=i.dataIndex,i=i.edgeDataIndex,t=r.getNodeByIndex(t),i=r.getEdgeByIndex(i);(t||i)&&(r.eachNode(function(t){x(t,h,.1)}),r.eachEdge(function(t){x(t,d,.1)}),t&&(_(t,h),o.each(t.edges,function(t){t.dataIndex<0||(_(t,d),_(t.node1,h),_(t.node2,h))})),i&&(_(i,d),_(i.node1,h),_(i.node2,h)))},unfocusNodeAdjacency:function(t,e,n,i){t=t.getData().graph;t.eachNode(function(t){x(t,h)}),t.eachEdge(function(t){x(t,d)})},_startForceLayoutIteration:function(t,n){var i=this;!function e(){t.step(function(t){i.updateLayout(i._model),(i._layouting=!t)&&(n?i._layoutTimeout=setTimeout(e,16):e())})}()},_updateController:function(r,t,o){var e=this._controller,n=this._controllerHost,a=this.group;e.setPointerChecker(function(t,e,n){var i=a.getBoundingRect();return i.applyTransform(a.transform),i.contain(e,n)&&!c(t,o,r)}),"view"===r.coordinateSystem.type?(e.enable(r.get("roam")),n.zoomLimit=r.get("scaleLimit"),n.zoom=r.coordinateSystem.getZoom(),e.off("pan").off("zoom").on("pan",function(t){u.updateViewOnPan(n,t.dx,t.dy),o.dispatchAction({seriesId:r.id,type:"graphRoam",dx:t.dx,dy:t.dy})}).on("zoom",function(t){u.updateViewOnZoom(n,t.scale,t.originX,t.originY),o.dispatchAction({seriesId:r.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(),g(r.getGraph(),m(r)),this._lineDraw.updateLayout()},this)):e.disable()},_updateNodeAndLinkScale:function(){var t=this._model,e=t.getData(),t=m(t),n=[t,t];e.eachItemGraphicEl(function(t,e){t.attr("scale",n)})},updateLayout:function(t){g(t.getGraph(),m(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});t.exports=i},function(t,e,n){var i=n(8),r=n(29),o=i.Line.prototype,n=i.BezierCurve.prototype;function a(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}n=i.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){this[a(e)?"_buildPathLine":"_buildPathCurve"](t,e)},_buildPathLine:o.buildPath,_buildPathCurve:n.buildPath,pointAt:function(t){return this[a(this.shape)?"_pointAtLine":"_pointAtCurve"](t)},_pointAtLine:o.pointAt,_pointAtCurve:n.pointAt,tangentAt:function(t){var e=this.shape,t=a(e)?[e.x2-e.x1,e.y2-e.y1]:this._tangentAtCurve(t);return r.normalize(t,t)},_tangentAtCurve:n.tangentAt});t.exports=n},function(t,e,n){var i=n(86),f=n(29),g=n(355).getSymbolSize,m=[],v=[],y=[],x=i.quadraticAt,_=f.distSquare,b=Math.abs;function S(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1)m[0]=x(r[0],o[0],a[0],c),m[1]=x(r[1],o[1],a[1],c),(p=b(_(m,e)-l))<s&&(s=p,i=c);for(var h=0;h<32;h++){var d=i+u;v[0]=x(r[0],o[0],a[0],i),v[1]=x(r[1],o[1],a[1],i),y[0]=x(r[0],o[0],a[0],d),y[1]=x(r[1],o[1],a[1],d);var p=_(v,e)-l;if(b(p)<.01)break;d=_(y,e)-l;u/=2,p<0?0<=d?i+=u:i-=u:0<=d?i-=u:i+=u}return i}t.exports=function(t,l){var u=[],c=i.quadraticSubdivide,h=[[],[],[]],d=[[],[]],p=[];l/=2,t.eachEdge(function(t,e){var n=t.getLayout(),i=t.getVisual("fromSymbol"),r=t.getVisual("toSymbol");n.__original||(n.__original=[f.clone(n[0]),f.clone(n[1])],n[2]&&n.__original.push(f.clone(n[2])));var o,a,s=n.__original;null!=n[2]?(f.copy(h[0],s[0]),f.copy(h[1],s[2]),f.copy(h[2],s[1]),i&&"none"!==i&&(a=g(t.node1),o=S(h,s[0],a*l),c(h[0][0],h[1][0],h[2][0],o,u),h[0][0]=u[3],h[1][0]=u[4],c(h[0][1],h[1][1],h[2][1],o,u),h[0][1]=u[3],h[1][1]=u[4]),r&&"none"!==r&&(a=g(t.node2),o=S(h,s[1],a*l),c(h[0][0],h[1][0],h[2][0],o,u),h[1][0]=u[1],h[2][0]=u[2],c(h[0][1],h[1][1],h[2][1],o,u),h[1][1]=u[1],h[2][1]=u[2]),f.copy(n[0],h[0]),f.copy(n[1],h[2]),f.copy(n[2],h[1])):(f.copy(d[0],s[0]),f.copy(d[1],s[1]),f.sub(p,d[1],d[0]),f.normalize(p,p),i&&"none"!==i&&(a=g(t.node1),f.scaleAndAdd(d[0],d[0],p,a*l)),r&&"none"!==r&&(a=g(t.node2),f.scaleAndAdd(d[1],d[1],p,-a*l)),f.copy(n[0],d[0]),f.copy(n[1],d[1]))})}},function(t,e,n){var i=n(4),r=n(349).updateCenterAndZoom;n(689);i.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},function(n,t){t.eachComponent({mainType:"series",query:n},function(t){var e=t.coordinateSystem,e=r(e,n);t.setCenter&&t.setCenter(e.center),t.setZoom&&t.setZoom(e.zoom)})})},function(t,e){t.exports=function(t){var o=t.findComponents({mainType:"legend"});o&&o.length&&t.eachSeriesByType("graph",function(t){var e=t.getCategoriesData(),i=t.getGraph().data,r=e.mapArray(e.getName);i.filterSelf(function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){"number"==typeof e&&(e=r[e]);for(var n=0;n<o.length;n++)if(!o[n].isSelected(e))return!1}return!0})},this)}},function(t,e){t.exports=function(t){var u={};t.eachSeriesByType("graph",function(a){var s=a.getCategoriesData(),r=a.getData(),l={};s.each(function(t){var e=s.getName(t);l["ec-"+e]=t;var n=s.getItemModel(t),e=n.get("itemStyle.color")||a.getColorFromPalette(e,u);s.setItemVisual(t,"color",e);for(var i=["opacity","symbol","symbolSize","symbolKeepAspect"],r=0;r<i.length;r++){var o=n.getShallow(i[r],!0);null!=o&&s.setItemVisual(t,i[r],o)}}),s.count()&&r.each(function(t){var e=r.getItemModel(t).getShallow("category");if(null!=e){"string"==typeof e&&(e=l["ec-"+e]);for(var n=["color","opacity","symbol","symbolSize","symbolKeepAspect"],i=0;i<n.length;i++)null==r.getItemVisual(t,n[i],!0)&&r.setItemVisual(t,n[i],s.getItemVisual(e,n[i]))}})})}},function(t,e){function u(t){return t=!(t instanceof Array)?[t,t]:t}t.exports=function(t){t.eachSeriesByType("graph",function(t){var o=t.getGraph(),a=t.getEdgeData(),e=u(t.get("edgeSymbol")),n=u(t.get("edgeSymbolSize")),s="lineStyle.color".split("."),l="lineStyle.opacity".split(".");a.setVisual("fromSymbol",e&&e[0]),a.setVisual("toSymbol",e&&e[1]),a.setVisual("fromSymbolSize",n&&n[0]),a.setVisual("toSymbolSize",n&&n[1]),a.setVisual("color",t.get(s)),a.setVisual("opacity",t.get(l)),a.each(function(t){var e=a.getItemModel(t),n=o.getEdgeByIndex(t),i=u(e.getShallow("symbol",!0)),t=u(e.getShallow("symbolSize",!0)),r=e.get(s),e=e.get(l);switch(r){case"source":r=n.node1.getVisual("color");break;case"target":r=n.node2.getVisual("color")}i[0]&&n.setVisual("fromSymbol",i[0]),i[1]&&n.setVisual("toSymbol",i[1]),t[0]&&n.setVisual("fromSymbolSize",t[0]),t[1]&&n.setVisual("toSymbolSize",t[1]),n.setVisual("color",r),n.setVisual("opacity",e)})})}},function(t,e,n){var c=n(1).each,n=n(690),h=n.simpleLayout,d=n.simpleLayoutEdge;t.exports=function(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),r=[];c(n.dimensions,function(t){r=r.concat(i.mapDimension(t,!0))});for(var o=0;o<i.count();o++){for(var a=[],s=!1,l=0;l<r.length;l++){var u=i.get(r[l],o);isNaN(u)||(s=!0),a.push(u)}s?i.setItemLayout(o,n.dataToPoint(a)):i.setItemLayout(o,[NaN,NaN])}d(i.graph,t)}else e&&"none"!==e||h(t)})}},function(t,e,n){var i=n(691).circularLayout;t.exports=function(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&i(t,"symbolSize")})}},function(t,e,n){var f=n(963).forceLayout,g=n(690).simpleLayout,m=n(691).circularLayout,v=n(13).linearMap,y=n(29),x=n(1),_=n(288).getCurvenessForEdge;t.exports=function(t){t.eachSeriesByType("graph",function(r){var h,d,p,t,i,o,a,s,l,e,n,u,c=r.coordinateSystem;c&&"view"!==c.type||("force"===r.get("layout")?(h=r.preservedPoints||{},d=r.getGraph(),p=d.data,e=d.edgeData,t=(n=r.getModel("force")).get("initLayout"),r.preservedPoints?p.each(function(t){var e=p.getId(t);p.setItemLayout(t,h[e]||[NaN,NaN])}):t&&"none"!==t?"circular"===t&&m(r,"value"):g(r),i=p.getDataExtent("value"),o=e.getDataExtent("value"),a=n.get("repulsion"),s=n.get("edgeLength"),x.isArray(a)||(a=[a,a]),s=[(s=!x.isArray(s)?[s,s]:s)[1],s[0]],l=p.mapArray("value",function(t,e){var n=p.getItemLayout(e),t=v(t,i,a);return{w:t=isNaN(t)?(a[0]+a[1])/2:t,rep:t,fixed:p.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),e=e.mapArray("value",function(t,e){var n=d.getEdgeByIndex(e),i=v(t,o,s);isNaN(i)&&(i=(s[0]+s[1])/2);t=n.getModel(),e=x.retrieve3(t.get("lineStyle.curveness"),-_(n,r,e,!0),0);return{n1:l[n.node1.dataIndex],n2:l[n.node2.dataIndex],d:i,curveness:e,ignoreForceLayout:t.get("ignoreForceLayout")}}),c=(c=r.coordinateSystem).getBoundingRect(),n=f(l,e,{rect:c,gravity:n.get("gravity"),friction:n.get("friction")}),u=n.step,n.step=function(c){for(var t=0,e=l.length;t<e;t++)l[t].fixed&&y.copy(l[t].p,d.getNodeByIndex(t).getLayout());u(function(t,e,n){for(var i=0,r=t.length;i<r;i++)t[i].fixed||d.getNodeByIndex(i).setLayout(t[i].p),h[p.getId(i)]=t[i].p;for(i=0,r=e.length;i<r;i++){var o=e[i],a=d.getEdgeByIndex(i),s=o.n1.p,l=o.n2.p,u=a.getLayout();(u=u?u.slice():[])[0]=u[0]||[],u[1]=u[1]||[],y.copy(u[0],s),y.copy(u[1],l),+o.curveness&&(u[2]=[(s[0]+l[0])/2-(s[1]-l[1])*o.curveness,(s[1]+l[1])/2-(l[0]-s[0])*o.curveness]),a.setLayout(u)}c&&c(n)})},r.forceLayout=n,r.preservedPoints=h,n.step()):r.forceLayout=null)})}},function(t,e,n){var v=n(29),y=v.scaleAndAdd;e.forceLayout=function(d,p,t){for(var e=t.rect,n=e.width,i=e.height,f=[e.x+n/2,e.y+i/2],g=null==t.gravity?.1:t.gravity,r=0;r<d.length;r++){var o=d[r];o.p||(o.p=v.create(n*(Math.random()-.5)+f[0],i*(Math.random()-.5)+f[1])),o.pp=v.clone(o.p),o.edges=null}var a=null==t.friction?.6:t.friction,m=a;return{warmUp:function(){m=.8*a},setFixed:function(t){d[t].fixed=!0},setUnfixed:function(t){d[t].fixed=!1},step:function(t){for(var e=[],n=d.length,i=0;i<p.length;i++){var r=p[i];r.ignoreForceLayout||(o=r.n1,l=r.n2,v.sub(e,l.p,o.p),s=v.len(e)-r.d,r=l.w/(o.w+l.w),isNaN(r)&&(r=0),v.normalize(e,e),o.fixed||y(o.p,o.p,e,r*s*m),l.fixed||y(l.p,l.p,e,-(1-r)*s*m))}for(i=0;i<n;i++)(c=d[i]).fixed||(v.sub(e,f,c.p),y(c.p,c.p,e,g*m));for(i=0;i<n;i++)for(var o=d[i],a=i+1;a<n;a++){var s,l=d[a];v.sub(e,l.p,o.p),0===(s=v.len(e))&&(v.set(e,Math.random()-.5,Math.random()-.5),s=1);var u=(o.rep+l.rep)/s/s;o.fixed||y(o.pp,o.pp,e,u),l.fixed||y(l.pp,l.pp,e,-u)}for(var c,h=[],i=0;i<n;i++)(c=d[i]).fixed||(v.sub(h,c.p,c.pp),y(c.p,c.p,h,m),v.copy(c.pp,c.p));m*=.992,t&&t(d,p,m<.01)}}}},function(t,e,n){var h=n(351),d=n(21).getLayoutRect,p=n(157);t.exports=function(t,u){var c=[];return t.eachSeriesByType("graph",function(t){var e,n,i,r,o,a,s,l=t.get("coordinateSystem");l&&"view"!==l||(i=(e=t.getData()).mapArray(function(t){t=e.getItemModel(t);return[+t.get("x"),+t.get("y")]}),p.fromPoints(i,n=[],o=[]),o[0]-n[0]==0&&(o[0]+=1,--n[0]),o[1]-n[1]==0&&(o[1]+=1,--n[1]),r=(o[0]-n[0])/(o[1]-n[1]),a=u,s=r,(l=(l=t).getBoxLayoutParams()).aspect=s,i=d(l,{width:a.getWidth(),height:a.getHeight()}),isNaN(r)&&(n=[i.x,i.y],o=[i.x+i.width,i.y+i.height]),s=o[0]-n[0],l=o[1]-n[1],a=i.width,r=i.height,(o=t.coordinateSystem=new h).zoomLimit=t.get("scaleLimit"),o.setBoundingRect(n[0],n[1],s,l),o.setViewRect(i.x,i.y,a,r),o.setCenter(t.get("center")),o.setZoom(t.get("zoom")),c.push(o))}),c}},function(t,e,n){var i=n(133),n=n(44).extend({type:"series.gauge",getInitialData:function(t,e){return i(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}});t.exports=n},function(t,e,n){var f=n(967),P=n(8),i=n(72),n=n(13),E=n.parsePercent,H=n.round,g=n.linearMap;function z(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var y=2*Math.PI,i=i.extend({type:"gauge",render:function(t,e,n){this.group.removeAll();var i,r,o,a,s,l=t.get("axisLine.lineStyle.color"),s=(r=n,o=(i=t).get("center"),a=r.getWidth(),s=r.getHeight(),s=Math.min(a,s),{cx:E(o[0],r.getWidth()),cy:E(o[1],r.getHeight()),r:E(i.get("radius"),s/2)});this._renderMain(t,e,n,l,s)},dispose:function(){},_renderMain:function(t,e,n,i,r){for(var o=this.group,a=t.getModel("axisLine"),s=a.getModel("lineStyle"),l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,c=((g=-t.get("endAngle")/180*Math.PI)-u)%y,h=u,d=s.get("width"),p=a.get("show"),f=0;p&&f<i.length;f++){var g,m=Math.min(Math.max(i[f][0],0),1),m=new P.Sector({shape:{startAngle:h,endAngle:g=u+c*m,cx:r.cx,cy:r.cy,clockwise:l,r0:r.r-d,r:r.r},silent:!0});m.setStyle({fill:i[f][1]}),m.setStyle(s.getLineStyle(["color","borderWidth","borderColor"])),o.add(m),h=g}function v(t){if(t<=0)return i[0][1];for(var e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]}l||(a=u,u=g,g=a),this._renderTicks(t,e,n,v,r,u,g,l),this._renderPointer(t,e,n,v,r,u,g,l),this._renderTitle(t,e,n,v,r),this._renderDetail(t,e,n,v,r)},_renderTicks:function(t,e,n,i,r,o,a,s){for(var l=this.group,u=r.cx,c=r.cy,h=r.r,d=+t.get("min"),p=+t.get("max"),f=t.getModel("splitLine"),g=t.getModel("axisTick"),m=t.getModel("axisLabel"),v=t.get("splitNumber"),y=g.get("splitNumber"),x=E(f.get("length"),h),_=E(g.get("length"),h),b=o,S=(a-o)/v,A=S/y,M=f.getModel("lineStyle").getLineStyle(),w=g.getModel("lineStyle").getLineStyle(),C=0;C<=v;C++){var T,I,D,L=Math.cos(b),k=Math.sin(b);if(f.get("show")&&(D=new P.Line({shape:{x1:L*h+u,y1:k*h+c,x2:L*(h-x)+u,y2:k*(h-x)+c},style:M,silent:!0}),"auto"===M.stroke&&D.setStyle({stroke:i(C/v)}),l.add(D)),m.get("show")&&(T=z(H(C/v*(p-d)+d),m.get("formatter")),I=m.get("distance"),D=i(C/v),l.add(new P.Text({style:P.setTextStyle({},m,{text:T,x:L*(h-x-I)+u,y:k*(h-x-I)+c,textVerticalAlign:k<-.4?"top":.4<k?"bottom":"middle",textAlign:L<-.4?"left":.4<L?"right":"center"},{autoColor:D}),silent:!0}))),g.get("show")&&C!==v){for(var N=0;N<=y;N++){var L=Math.cos(b),k=Math.sin(b),O=new P.Line({shape:{x1:L*h+u,y1:k*h+c,x2:L*(h-_)+u,y2:k*(h-_)+c},silent:!0,style:w});"auto"===w.stroke&&O.setStyle({stroke:i((C+N/y)/v)}),l.add(O),b+=A}b-=A}else b+=S}},_renderPointer:function(n,t,e,r,o,i,a,s){var l,u,c,h,d=this.group,p=this._data;n.get("pointer.show")?(l=[+n.get("min"),+n.get("max")],u=[i,a],c=n.getData(),h=c.mapDimension("value"),c.diff(p).add(function(t){var e=new f({shape:{angle:i}});P.initProps(e,{shape:{angle:g(c.get(h,t),l,u,!0)}},n),d.add(e),c.setItemGraphicEl(t,e)}).update(function(t,e){e=p.getItemGraphicEl(e);P.updateProps(e,{shape:{angle:g(c.get(h,t),l,u,!0)}},n),d.add(e),c.setItemGraphicEl(t,e)}).remove(function(t){t=p.getItemGraphicEl(t);d.remove(t)}).execute(),c.eachItemGraphicEl(function(t,e){var n=c.getItemModel(e),i=n.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:E(i.get("width"),o.r),r:E(i.get("length"),o.r)}),t.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",r(g(c.get(h,e),l,[0,1],!0))),P.setHoverStyle(t,n.getModel("emphasis.itemStyle").getItemStyle())}),this._data=c):p&&p.eachItemGraphicEl(function(t){d.remove(t)})},_renderTitle:function(t,e,n,i,r){var o,a,s,l=t.getData(),u=l.mapDimension("value"),c=t.getModel("title");c.get("show")&&(s=c.get("offsetCenter"),o=r.cx+E(s[0],r.r),a=r.cy+E(s[1],r.r),s=+t.get("min"),r=+t.get("max"),u=t.getData().get(u,0),r=i(g(u,[s,r],[0,1],!0)),this.group.add(new P.Text({silent:!0,style:P.setTextStyle({},c,{x:o,y:a,text:l.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:r,forceRich:!0})})))},_renderDetail:function(t,e,n,i,r){var o,a,s,l=t.getModel("detail"),u=+t.get("min"),c=+t.get("max");l.get("show")&&(s=l.get("offsetCenter"),o=r.cx+E(s[0],r.r),a=r.cy+E(s[1],r.r),s=E(l.get("width"),r.r),r=E(l.get("height"),r.r),t=(t=t.getData()).get(t.mapDimension("value"),0),c=i(g(t,[u,c],[0,1],!0)),this.group.add(new P.Text({silent:!0,style:P.setTextStyle({},l,{x:o,y:a,text:z(t,l.get("formatter")),textWidth:isNaN(s)?null:s,textHeight:isNaN(r)?null:r,textAlign:"center",textVerticalAlign:"middle"},{autoColor:c,forceRich:!0})})))}});t.exports=i},function(t,e,n){n=n(35).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*(r/3<=o?1:2),l=e.y-i(a)*o*(r/3<=o?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=n},function(t,e,n){var i=n(4);n(693),n(977),n(978);n=n(979);i.registerVisual(n)},function(t,e,n){var r=n(1),o=n(17);t.exports=function(t){var e,n,i;(e=t).parallel||(n=!1,r.each(e.series,function(t){t&&"parallel"===t.type&&(n=!0)}),n&&(e.parallel=[{}])),i=t,t=o.normalizeToArray(i.parallelAxis),r.each(t,function(t){var e;r.isObject(t)&&(e=t.parallelIndex||0,(e=o.normalizeToArray(i.parallel)[e])&&e.parallelAxisDefault&&r.merge(t,e.parallelAxisDefault,!1))})}},function(t,e,n){var f=n(1),l=n(52),i=n(21),o=n(67),a=n(971),r=n(8),s=n(13),c=n(134),u=f.each,h=Math.min,d=Math.max,g=Math.floor,m=Math.ceil,v=s.round,p=Math.PI;function y(t,e,n){this._axesMap=f.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,n)}function x(t,e){return h(d(t,e[0]),e[1])}y.prototype={type:"parallel",constructor:y,_init:function(t,i,e){var n=t.dimensions,r=t.parallelAxisIndex;u(n,function(t,e){var n=r[e],e=i.getComponent("parallelAxis",n),t=this._axesMap.set(t,new a(t,o.createScaleByModel(e),[0,0],e.get("type"),n)),n="category"===t.type;t.onBand=n&&e.get("boundaryGap"),t.inverse=e.get("inverse"),(e.axis=t).model=e,t.coordinateSystem=e.coordinateSystem=this},this)},update:function(t,e){this._updateAxesFromSeries(this._model,t)},containPoint:function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],r=t[r];return n<=o&&o<=n+e.axisLength&&i<=r&&r<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,i){i.eachSeries(function(t){var n;e.contains(t,i)&&(n=t.getData(),u(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),o.niceScaleExtent(e.scale,e.model)},this))},this)},resize:function(t,e){this._rect=i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t=this._model,e=this._rect,n=["x","y"],i=["width","height"],r=t.get("layout"),o="horizontal"===r?0:1,a=e[i[o]],s=[0,a],l=this.dimensions.length,u=x(t.get("axisExpandWidth"),s),c=x(t.get("axisExpandCount")||0,[0,l]),h=t.get("axisExpandable")&&3<l&&c<l&&1<c&&0<u&&0<a,d=t.get("axisExpandWindow");d?(p=x(d[1]-d[0],s),d[1]=d[0]+p):(p=x(u*(c-1),s),(d=[u*(t.get("axisExpandCenter")||g(l/2))-p/2])[1]=d[0]+p);t=(a-p)/(l-c);t<3&&(t=0);var p=[g(v(d[0]/u,1))+1,m(v(d[1]/u,1))-1],c=t/u*d[0];return{layout:r,pixelDimIndex:o,layoutBase:e[n[o]],layoutLength:a,axisBase:e[n[1-o]],axisLength:e[i[1-o]],axisExpandable:h,axisExpandWidth:u,axisCollapseWidth:t,axisExpandWindow:d,axisCount:l,winInnerIndices:p,axisExpandWindow0Pos:c}},_layoutAxes:function(){var o=this._rect,t=this._axesMap,e=this.dimensions,a=this._makeLayoutInfo(),s=a.layout;t.each(function(t){var e=[0,a.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),u(e,function(t,e){var n=(a.axisExpandable?function(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,c=!0):(n=r-(a-1-t)*s,i=s);return{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}:function(t,e){e=e.layoutLength/(e.axisCount-1);return{position:e*t,axisNameAvailableWidth:e,axisLabelShow:!0}})(e,a),i={horizontal:{x:n.position,y:a.axisLength},vertical:{x:0,y:n.position}},r=[i[s].x+o.x,i[s].y+o.y],e={horizontal:p/2,vertical:0}[s],i=l.create();l.rotate(i,i,e),l.translate(i,i,r),this._axesLayout[t]={position:r,rotation:e,transform:i,axisNameAvailableWidth:n.axisNameAvailableWidth,axisLabelShow:n.axisLabelShow,nameTruncateMaxWidth:n.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(e,t,n,i){null==n&&(n=0),null==i&&(i=e.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];f.each(o,function(t){a.push(e.mapDimension(t)),s.push(r.get(t).model)});for(var l=this.hasAxisBrushed(),u=n;u<i;u++){if(l){for(var c="active",h=e.getValues(a,u),d=0,p=o.length;d<p;d++)if("inactive"===s[d].getActiveState(h[d])){c="inactive";break}}else c="normal";t(c,u)}},hasAxisBrushed:function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(t,e){e=this._axesLayout[e];return r.applyTransform([t,0],e.transform)},getAxisLayout:function(t){return f.clone(this._axesLayout[t])},getSlidedAxisExpandWindow:function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,t=this._model.get("axisExpandSlideTriggerArea"),n=null!=t[0];return u?(n&&u&&s<r*t[0]?(l="jump",a=s-r*t[2]):n&&u&&s>r*(1-t[0])?(l="jump",a=s-r*(1-t[2])):0<=(a=s-r*t[1])&&(a=s-r*(1-t[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?c(a,i,o,"all"):l="none"):(r=i[1]-i[0],(i=[d(0,o[1]*s/r-r/2)])[1]=h(o[1],i[0]+r),i[0]=i[1]-r),{axisExpandWindow:i,behavior:l}}},t.exports=y},function(t,e,n){var i=n(1),o=n(89),n=function(t,e,n,i,r){o.call(this,t,e,n),this.type=i||"value",this.axisIndex=r};n.prototype={constructor:n,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(n,o),t.exports=n},function(t,e,n){var i=n(1),r=n(43);n(973);n=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){t=t.get("parallelIndex");return null!=t&&e.getComponent("parallel",t)===this},setAxisExpand:function(e){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])},this)},_initDimensions:function(){var e=this.dimensions=[],n=this.parallelAxisIndex=[],t=i.filter(this.dependentModels.parallelAxis,function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);i.each(t,function(t){e.push("dim"+t.get("dim")),n.push(t.componentIndex)})}});t.exports=n},function(t,e,n){var i=n(1),r=n(43),o=n(128),a=n(282),s=n(13),n=n(132),r=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;0<=n;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<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"}});i.merge(r.prototype,n),a("parallel",r,function(t,e){return e.type||(e.data?"category":"value")},{type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10}),t.exports=r},function(t,e,n){n(694),n(975),n(976)},function(t,e,n){n=n(4);n.registerAction({type:"axisAreaSelect",event:"axisAreaSelected"},function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},function(t){t.axis.model.setActiveIntervals(e.intervals)})}),n.registerAction("parallelAxisExpand",function(e,t){t.eachComponent({mainType:"parallel",query:e},function(t){t.setAxisExpand(e)})})},function(t,e,n){var i=n(4),c=n(1),u=n(90),r=n(356),h=n(695),d=n(8),p=["axisLine","axisTickLabel","axisName"],o=i.extendComponentView({type:"parallelAxis",init:function(t,e){o.superApply(this,"init",arguments),(this._brushController=new r(e.getZr())).on("brush",c.bind(this._onBrush,this))},render:function(t,e,n,i){var r,o,a,s,l;a=t,o=e,(l=i)&&"axisAreaSelect"===l.type&&o.findComponents({mainType:"parallelAxis",query:l})[0]===a||(this.axisModel=t,this.api=n,this.group.removeAll(),r=this._axisGroup,this._axisGroup=new d.Group,this.group.add(this._axisGroup),t.get("show")&&(s=t,l=(o=e.getComponent("parallel",s.get("parallelIndex"))).coordinateSystem,e=(a=t.getAreaSelectStyle()).width,s=t.axis.dim,l=l.getAxisLayout(s),s=c.extend({strokeContainThreshold:e},l),l=new u(t,s),c.each(p,l.add,l),this._axisGroup.add(l.getGroup()),this._refreshBrushController(s,a,t,o,e,n),t=i&&!1===i.animation?null:t,d.groupTransition(r,this._axisGroup,t)))},_refreshBrushController:function(t,e,n,i,r,o){var a,s=n.axis.getExtent(),l=s[1]-s[0],u=Math.min(30,.1*Math.abs(l)),r=d.BoundingRect.create({x:s[0],y:-r/2,width:l,height:r});r.x-=u,r.width+=2*u,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:h.makeRectPanelClipPath(r),isTargetByCursor:h.makeRectIsTargetByCursor(r,o,i),getLinearBrushOtherExtent:h.makeLinearBrushOtherExtent(r,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers((a=(n=n).axis,c.map(n.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[a.dataToCoord(t[0],!0),a.dataToCoord(t[1],!0)]}})))},_onBrush:function(t,e){var n=this.axisModel,i=n.axis,t=c.map(t,function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]});!n.option.realtime!==e.isEnd&&!e.removeOnClick||this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:t})},dispose:function(){this._brushController.dispose()}});t.exports=o},function(t,e,n){var i=n(1),a=i.each,s=i.createHashMap,i=n(44),l=n(80),i=i.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var n,i,r,o=this.getSource();return i=this,(n=o).encodeDefine||(i=i.ecModel.getComponent("parallel",i.get("parallelIndex")))&&(r=n.encodeDefine=s(),a(i.dimensions,function(t){var e=+t.replace("dim","");r.set(t,e)})),l(o,this)},getRawIndicesByActiveState:function(n){var t=this.coordinateSystem,i=this.getData(),r=[];return t.eachActiveState(i,function(t,e){n===t&&r.push(i.getRawIndex(e))}),r},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});t.exports=i},function(t,e,n){var g=n(8),n=n(72),n=n.extend({type:"parallel",init:function(){this._dataGroup=new g.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(r,t,e,o){var n,i,a,s,l,u=this._dataGroup,c=r.getData(),h=this._data,d=r.coordinateSystem,p=d.dimensions,f=y(r);c.diff(h).add(function(t){x(v(c,u,t,p,d),c,t,f)}).update(function(t,e){var n=h.getItemGraphicEl(e),i=m(c,t,p,d);c.setItemGraphicEl(t,n);e=o&&!1===o.animation?null:r;g.updateProps(n,{shape:{points:i}},e,t),x(n,c,t,f)}).remove(function(t){t=h.getItemGraphicEl(t);u.remove(t)}).execute(),this._initialized||(this._initialized=!0,i=r,a=function(){setTimeout(function(){u.removeClipPath()})},s=(n=d).model,l=n.getRect(),n=new g.Rect({shape:{x:l.x,y:l.y,width:l.width,height:l.height}}),s="horizontal"===s.get("layout")?"width":"height",n.setShape(s,0),g.initProps(n,{shape:{width:l.width,height:l.height}},i,a),u.setClipPath(n)),this._data=c},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=y(e),s=t.start;s<t.end;s++){var l=v(i,this._dataGroup,s,o,r);l.incremental=!0,x(l,i,s,a)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function m(t,e,n,i){for(var r,o=[],a=0;a<n.length;a++){var s=n[a],l=t.get(t.mapDimension(s),e);r=l,("category"===i.getAxis(s).type?null==r:null==r||isNaN(r))||o.push(i.dataToPoint(l,s))}return o}function v(t,e,n,i,r){r=m(t,n,i,r),r=new g.Polyline({shape:{points:r},silent:!0,z2:10});return e.add(r),t.setItemGraphicEl(n,r),r}function y(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),{lineStyle:t.getModel("lineStyle").getLineStyle(),smooth:null!=e?e:.3}}function x(t,e,n,i){var r=i.lineStyle;e.hasItemOption&&(r=e.getItemModel(n).getModel("lineStyle").getLineStyle()),t.useStyle(r);r=t.style;r.fill=null,r.stroke=e.getItemVisual(n,"color"),r.opacity=e.getItemVisual(n,"opacity"),i.smooth&&(t.shape.smooth=i.smooth)}t.exports=n},function(t,e){var l=["lineStyle","normal","opacity"];t.exports={seriesType:"parallel",reset:function(t,e,n){var i=t.getModel("itemStyle"),r=t.getModel("lineStyle"),o=e.get("color"),e=r.get("color")||i.get("color")||o[t.seriesIndex%o.length],r=t.get("inactiveOpacity"),i=t.get("activeOpacity"),o=t.getModel("lineStyle").getLineStyle(),a=t.coordinateSystem,t=t.getData(),s={normal:o.opacity,active:i,inactive:r};return t.setVisual("color",e),{progress:function(t,i){a.eachActiveState(i,function(t,e){var n=s[t];"normal"!==t||!i.hasItemOption||null!=(t=i.getItemModel(e).get(l,!0))&&(n=t),i.setItemVisual(e,"opacity",n)},t.start,t.end)}}}}},function(t,e,n){var i=n(44),s=n(688),o=n(26).encodeHTML,l=n(39),a=(n(20).__DEV__,i.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,e){for(var n=t.edges||t.links,i=t.data||t.nodes,r=t.levels,o=this.levelModels={},a=0;a<r.length;a++)null!=r[a].depth&&0<=r[a].depth&&(o[r[a].depth]=new l(r[a],this,e));if(i&&n)return s(i,n,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t,i){return t.customizeGetParent(function(t){var e=this.parentModel,n=e.getData().getItemLayout(i).depth;return e.levelModels[n]||this.parentModel}),t}),e.wrapMethod("getItemModel",function(t,i){return t.customizeGetParent(function(t){var e=this.parentModel,n=e.getGraph().getEdgeByIndex(i).node1.getLayout().depth;return e.levelModels[n]||this.parentModel}),t})}).data},setNodePosition:function(t,e){t=this.option.data[t];t.localX=e[0],t.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,r=r.source+" -- "+r.target;return i.value&&(r+=" : "+i.value),o(r)}if("node"!==n)return a.superCall(this,"formatTooltip",t,e);e=this.getGraph().getNodeByIndex(t).getLayout().value,n=this.getDataParams(t,n).data.name;return o(r=e?n+" : "+e:r)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=a.superCall(this,"getDataParams",t,e);return null==n.value&&"node"===e&&(t=this.getGraph().getNodeByIndex(t).getLayout().value,n.value=t),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}}));t.exports=a},function(t,e,n){var M=n(8),i=n(4),s=n(1),l=["itemStyle","opacity"],u=["emphasis","itemStyle","opacity"],c=["lineStyle","opacity"],h=["emphasis","lineStyle","opacity"];function o(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function d(t,e,n){var i=t.getGraphicEl(),r=o(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 p(t,e){var n=o(t,e),t=t.getGraphicEl();t.traverse(function(t){"group"!==t.type&&t.setStyle("opacity",n)}),t.highlight&&t.highlight()}var w=M.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")}}),i=i.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(y,t,i){var e,n,r=this,o=y.getGraph(),x=this.group,a=y.layoutInfo,_=a.width,b=a.height,s=y.getData(),S=y.getData("edge"),A=y.get("orient");this._model=y,x.removeAll(),x.attr("position",[a.x,a.y]),o.eachEdge(function(t){var e=new w;e.dataIndex=t.dataIndex,e.seriesIndex=y.seriesIndex,e.dataType="edge";var n,i,r,o,a,s,l,u=t.getModel("lineStyle"),c=u.get("curveness"),h=t.node1.getLayout(),d=t.node1.getModel(),p=d.get("localX"),f=d.get("localY"),g=t.node2.getLayout(),m=t.node2.getModel(),v=m.get("localX"),d=m.get("localY"),m=t.getLayout();switch(e.shape.extent=Math.max(1,m.dy),m="vertical"===(e.shape.orient=A)?(n=(null!=p?p*_:h.x)+m.sy,i=(null!=f?f*b:h.y)+h.dy,r=(null!=v?v*_:g.x)+m.ty,a=n,s=i*(1-c)+(o=null!=d?d*b:g.y)*c,l=r,i*c+o*(1-c)):(n=(null!=p?p*_:h.x)+h.dx,i=(null!=f?f*b:h.y)+m.sy,a=n*(1-c)+(r=null!=v?v*_:g.x)*c,s=i,l=n*c+r*(1-c),o=(null!=d?d*b:g.y)+m.ty),e.setShape({x1:n,y1:i,x2:r,y2:o,cpx1:a,cpy1:s,cpx2:l,cpy2:m}),e.setStyle(u.getItemStyle()),e.style.fill){case"source":e.style.fill=t.node1.getVisual("color");break;case"target":e.style.fill=t.node2.getVisual("color")}M.setHoverStyle(e,t.getModel("emphasis.lineStyle").getItemStyle()),x.add(e),S.setItemGraphicEl(t.dataIndex,e)}),o.eachNode(function(t){var e=t.getLayout(),n=t.getModel(),i=n.get("localX"),r=n.get("localY"),o=n.getModel("label"),a=n.getModel("emphasis.label"),e=new M.Rect({shape:{x:null!=i?i*_:e.x,y:null!=r?r*b:e.y,width:e.dx,height:e.dy},style:n.getModel("itemStyle").getItemStyle()}),n=t.getModel("emphasis.itemStyle").getItemStyle();M.setLabelStyle(e.style,n,o,a,{labelFetcher:y,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),e.setStyle("fill",t.getVisual("color")),M.setHoverStyle(e,n),x.add(e),s.setItemGraphicEl(t.dataIndex,e),e.dataType="node"}),s.eachItemGraphicEl(function(t,n){var e=s.getItemModel(n);e.get("draggable")&&(t.drift=function(t,e){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=e,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:y.id,dataIndex:s.getRawIndex(n),localX:this.shape.x/_,localY:this.shape.y/b})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),e.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:y.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(i)}))}),S.eachItemGraphicEl(function(t,e){e=S.getItemModel(e);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),e.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:y.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(i)}))}),!this._data&&y.get("animation")&&x.setClipPath((e=x.getBoundingRect(),n=y,a=function(){x.removeClipPath()},o=new M.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}}),M.initProps(o,{shape:{width:e.width+20}},n,a),o)),this._data=y.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,o=t.getData(),a=o.graph,t=i.dataIndex,o=o.getItemModel(t),i=i.edgeDataIndex;null==t&&null==i||(r=a.getNodeByIndex(t),i=a.getEdgeByIndex(i),a.eachNode(function(t){d(t,l,.1)}),a.eachEdge(function(t){d(t,c,.1)}),r&&(p(r,u),"outEdges"===(o=o.get("focusNodeAdjacency"))?s.each(r.outEdges,function(t){t.dataIndex<0||(p(t,h),p(t.node2,u))}):"inEdges"===o?s.each(r.inEdges,function(t){t.dataIndex<0||(p(t,h),p(t.node1,u))}):"allEdges"===o&&s.each(r.edges,function(t){t.dataIndex<0||(p(t,h),t.node1!==r&&p(t.node1,u),t.node2!==r&&p(t.node2,u))})),i&&(p(i,h),p(i.node1,u),p(i.node2,u)))},unfocusNodeAdjacency:function(t,e,n,i){t=t.getGraph();t.eachNode(function(t){d(t,l)}),t.eachEdge(function(t){d(t,c)})}});t.exports=i},function(t,e,n){var i=n(4);n(689),i.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])})})},function(t,e,n){var c=n(21),S=n(1),h=n(17).groupData;function A(t){t=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=t.depth&&0<=t.depth}function d(t,l,u,c,h){var d="vertical"===h?"x":"y";S.each(t,function(t){var e,n;t.sort(function(t,e){return t.getLayout()[d]-e.getLayout()[d]});for(var i,r=0,o=t.length,a="vertical"===h?"dx":"dy",s=0;s<o;s++)0<(i=r-(n=t[s]).getLayout()[d])&&(e=n.getLayout()[d]+i,"vertical"===h?n.setLayout({x:e},!0):n.setLayout({y:e},!0)),r=n.getLayout()[d]+n.getLayout()[a]+l;if(0<(i=r-l-("vertical"===h?c:u)))for(e=n.getLayout()[d]-i,"vertical"===h?n.setLayout({x:e},!0):n.setLayout({y:e},!0),r=e,s=o-2;0<=s;--s)0<(i=(n=t[s]).getLayout()[d]+n.getLayout()[a]+l-r)&&(e=n.getLayout()[d]-i,"vertical"===h?n.setLayout({x:e},!0):n.setLayout({y:e},!0)),r=n.getLayout()[d]})}function p(t,e){return v(t.node2,e)*t.getValue()}function f(t,e){return v(t.node2,e)}function g(t,e){return v(t.node1,e)*t.getValue()}function m(t,e){return v(t.node1,e)}function v(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function y(t){return t.getValue()}function x(t,e,n){for(var i=0,r=t.length,o=-1;++o<r;){var a=+e.call(t,t[o],n);isNaN(a)||(i+=a)}return i}t.exports=function(t,u,e){t.eachSeriesByType("sankey",function(t){var e=t.get("nodeWidth"),n=t.get("nodeGap"),i=(s=t,l=u,c.getLayoutRect(s.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()})),r=(t.layoutInfo=i).width,o=i.height,a=t.getGraph(),s=a.nodes,l=a.edges;i=s,S.each(i,function(t){var e=x(t.outEdges,y),n=x(t.inEdges,y),i=t.getValue()||0,i=Math.max(e,n,i);t.setLayout({value:i},!0)});a=0!==S.filter(s,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),i=t.get("orient"),t=t.get("nodeAlign");n=n,a=a,function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],c=[],h=0,d=0;d<e.length;d++)s[d]=1;for(d=0;d<t.length;d++)l[d]=t[d].inEdges.length,0===l[d]&&u.push(t[d]);var p=-1;for(;u.length;){for(var f=0;f<u.length;f++){var g=u[f],m=g.hostGraph.data.getRawDataItem(g.dataIndex),v=null!=m.depth&&0<=m.depth;v&&m.depth>p&&(p=m.depth),g.setLayout({depth:v?m.depth:h},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var y=0;y<g.outEdges.length;y++){var x=g.outEdges[y],_=e.indexOf(x);s[_]=0;_=x.node2,x=t.indexOf(_);0==--l[x]&&c.indexOf(_)<0&&c.push(_)}}++h,u=c,c=[]}for(d=0;d<s.length;d++)if(1===s[d])throw new Error("Sankey is a DAG, the original data has cycle!");var b=h-1<p?p:h-1;a&&"left"!==a&&function(t,e,n){if("right"===e){for(var i=[],r=t,o=0;r.length;){for(var a=0;a<r.length;a++){var s=r[a];s.setLayout({skNodeHeight:o},!0);for(var l=0;l<s.inEdges.length;l++){var u=s.inEdges[l];i.indexOf(u.node1)<0&&i.push(u.node1)}}r=i,i=[],++o}S.each(t,function(t){A(t)||t.setLayout({depth:Math.max(0,n-t.getLayout().skNodeHeight)},!0)})}else"justify"===e&&function(t,e){S.each(t,function(t){A(t)||t.outEdges.length||t.setLayout({depth:e},!0)})}(t,n)}(t,a,b);!function(t,n,i){S.each(t,function(t){var e=t.getLayout().depth*n;"vertical"===i?t.setLayout({y:e},!0):t.setLayout({x:e},!0)})}(t,"vertical"===o?(r-n)/b:(i-n)/b,o)}(s=s,l=l,e,r=r,o=o,i=i,t),function(t,e,n,i,r,o,a){var s=function(t,e){var n=[],i="vertical"===e?"y":"x",r=h(t,function(t){return t.getLayout()[i]});return r.keys.sort(function(t,e){return t-e}),S.each(r.keys,function(t){n.push(r.buckets.get(t))}),n}(t,a);(function(t,e,i,r,o,a){var s=1/0;S.each(t,function(t){var e=t.length,n=0;S.each(t,function(t){n+=t.getLayout().value});e="vertical"===a?(r-(e-1)*o)/n:(i-(e-1)*o)/n;e<s&&(s=e)}),S.each(t,function(t){S.each(t,function(t,e){var n=t.getLayout().value*s;"vertical"===a?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))})}),S.each(e,function(t){var e=+t.getValue()*s;t.setLayout({dy:e},!0)})})(s,e,n,i,r,a),d(s,r,n,i,a);for(var l=1;0<o;o--)(function(t,i,r){S.each(t.slice().reverse(),function(t){S.each(t,function(t){var e,n;t.outEdges.length&&(n=x(t.outEdges,p,r)/x(t.outEdges,y,r),isNaN(n)&&(n=(e=t.outEdges.length)?x(t.outEdges,f,r)/e:0),"vertical"===r?(e=t.getLayout().x+(n-v(t,r))*i,t.setLayout({x:e},!0)):(n=t.getLayout().y+(n-v(t,r))*i,t.setLayout({y:n},!0)))})})})(s,l*=.99,a),d(s,r,n,i,a),function(t,i,r){S.each(t,function(t){S.each(t,function(t){var e,n;t.inEdges.length&&(n=x(t.inEdges,g,r)/x(t.inEdges,y,r),isNaN(n)&&(n=(e=t.inEdges.length)?x(t.inEdges,m,r)/e:0),"vertical"===r?(e=t.getLayout().x+(n-v(t,r))*i,t.setLayout({x:e},!0)):(n=t.getLayout().y+(n-v(t,r))*i,t.setLayout({y:n},!0)))})})}(s,l,a),d(s,r,n,i,a)}(s,l,o,r,n,a,i),function(t,e){var n="vertical"===e?"x":"y";S.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]})}),S.each(t,function(t){var e=0,n=0;S.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),S.each(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}(s,i)})}},function(t,e,n){var a=n(109),s=n(1);t.exports=function(t,e){t.eachSeriesByType("sankey",function(i){var r,o,t=i.getGraph().nodes;t.length&&(r=1/0,o=-1/0,s.each(t,function(t){t=t.getLayout().value;t<r&&(r=t),o<t&&(o=t)}),s.each(t,function(t){var e=new a({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:i.get("color")}).mapValueToVisual(t.getLayout().value),n=t.getModel().get("itemStyle.color");null!=n?t.setVisual("color",n):t.setVisual("color",e)}))})}},function(t,e,n){var i=n(4);n(986),n(987);var r=n(988),n=n(989);i.registerVisual(r),i.registerLayout(n)},function(t,e,n){var i=n(1),r=n(44),n=n(697).seriesModelMixin,r=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(r,n,!0),t.exports=r},function(t,e,n){var u=n(1),i=n(72),a=n(8),n=n(35),s=["itemStyle"],l=["emphasis","itemStyle"],i=i.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){var e;i.hasValue(t)&&(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);i.hasValue(t)?(e=i.getItemLayout(t),n?d(e,n,i,t):n=h(e,i,t,a),r.add(n),i.setItemGraphicEl(t,n)):r.remove(n)}).remove(function(t){t=o.getItemGraphicEl(t);t&&r.remove(t)}).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:u.noop}),c=n.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();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),t.lineTo(n[++i][0],n[i][1])}});function h(t,e,n,i,r){var o,a,s,l=t.ends,l=new c({shape:{points:r?(o=l,a=i,s=t,u.map(o,function(t){return(t=t.slice())[a]=s.initBaseline,t})):l}});return d(t,l,e,n,r),l}function d(t,e,n,i,r){var o=n.hostModel;(0,a[r?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,i);t=n.getItemModel(i),o=t.getModel(s),i=n.getItemVisual(i,"color"),o=o.getItemStyle(["borderColor"]);o.stroke=i,o.strokeNoScale=!0,e.useStyle(o),e.z2=100;t=t.getModel(l).getItemStyle();a.setHoverStyle(e,t)}t.exports=i},function(t,e){var o=["itemStyle","borderColor"];t.exports=function(i,t){var r=i.get("color");i.eachRawSeriesByType("boxplot",function(t){var e=r[t.seriesIndex%r.length],n=t.getData();n.setVisual({legendSymbol:"roundRect",color:t.get(o)||e}),i.isSeriesFiltered(t)||n.each(function(t){var e=n.getItemModel(t);n.setItemVisual(t,{color:e.get(o,!0)})})})}},function(t,e,n){var p=n(1),f=n(13).parsePercent,g=p.each;t.exports=function(t){var i,r,t=(i=[],r=[],t.eachSeriesByType("boxplot",function(t){var e=t.getBaseAxis(),n=p.indexOf(r,e);n<0&&(n=r.length,r[n]=e,i[n]={axis:e,seriesModels:[]}),i[n].seriesModels.push(t)}),i);g(t,function(n){var t=n.seriesModels;t.length&&(function(t){var e,n=t.axis,i=t.seriesModels,r=i.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],s=[];{var l;"category"===n.type?e=n.getBandWidth():(l=0,g(i,function(t){l=Math.max(l,t.getData().count())}),u=n.getExtent(),Math.abs(u[1]-u[0]))}g(i,function(t){t=t.get("boxWidth");p.isArray(t)||(t=[t,t]),s.push([f(t[0],e)||0,f(t[1],e)||0])});var u=.8*e-2,c=u/r*.3,h=(u-c*(r-1))/r,d=h/2-u/2;g(i,function(t,e){a.push(d),d+=c+h,o.push(Math.min(Math.max(h,s[e][0]),s[e][1]))})}(n),g(t,function(t,e){!function(t,r,e){var o=t.coordinateSystem,a=t.getData(),s=e/2,l="horizontal"===t.get("layout")?0:1,u=1-l,t=["x","y"],n=a.mapDimension(t[l]),i=a.mapDimension(t[u],!0);if(!(null==n||i.length<5))for(var c=0;c<a.count();c++){var h=a.get(n,c),d=v(h,i[2],c),p=v(h,i[0],c),f=v(h,i[1],c),g=v(h,i[3],c),m=v(h,i[4],c),h=[];y(h,f,0),y(h,g,1),h.push(p,f,m,g),x(h,p),x(h,m),x(h,d),a.setItemLayout(c,{initBaseline:d[u],ends:h})}function v(t,e,n){var i,e=a.get(e,n),n=[];return n[l]=t,n[u]=e,isNaN(t)||isNaN(e)?i=[NaN,NaN]:(i=o.dataToPoint(n))[l]+=r,i}function y(t,e,n){var i=e.slice(),e=e.slice();i[l]+=s,e[l]-=s,n?t.push(i,e):t.push(e,i)}function x(t,e){var n=e.slice(),e=e.slice();n[l]-=s,e[l]+=s,t.push(n,e)}}(t,n.boxOffsetList[e],n.boxWidthList[e])}))})}},function(t,e,n){var i=n(1),r=n(44),n=n(697).seriesModelMixin,r=r.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(t,e,n){t=e.getItemLayout(t);return t&&n.rect(t.brushRect)}});i.mixin(r,n,!0),t.exports=r},function(t,e,n){var o=n(1),i=n(72),c=n(8),r=n(35),a=n(162).createClipPath,s=["itemStyle"],l=["emphasis","itemStyle"],u=["color","color0","borderColor","borderColor0"],i=i.extend({type:"candlestick",render:function(t,e,n){this.group.removeClipPath(),this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){t=t.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(i){var r=i.getData(),o=this._data,a=this.group,s=r.getLayout("isSimpleBox"),l=i.get("clip",!0),t=i.coordinateSystem,u=t.getArea&&t.getArea();this._data||a.removeAll(),r.diff(o).add(function(t){var e,n;r.hasValue(t)&&(n=r.getItemLayout(t),l&&p(u,n)||(e=d(n,0,!0),c.initProps(e,{shape:{points:n.ends}},i,t),f(e,r,t,s),a.add(e),r.setItemGraphicEl(t,e)))}).update(function(t,e){var n=o.getItemGraphicEl(e);r.hasValue(t)?(e=r.getItemLayout(t),l&&p(u,e)?a.remove(n):(n?c.updateProps(n,{shape:{points:e.ends}},i,t):n=d(e),f(n,r,t,s),a.add(n),r.setItemGraphicEl(t,n))):a.remove(n)}).remove(function(t){t=o.getItemGraphicEl(t);t&&a.remove(t)}).execute(),this._data=r},_renderLarge:function(t){this._clear(),m(t,this.group);t=t.get("clip",!0)?a(t.coordinateSystem,!1,t):null;t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderNormal:function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=d(i.getItemLayout(n));f(o,i,n,r),o.incremental=!0,this.group.add(o)}},_incrementalRenderLarge:function(t,e){m(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:o.noop}),h=r.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){e=e.points;this.__simpleBox?(t.moveTo(e[4][0],e[4][1]),t.lineTo(e[6][0],e[6][1])):(t.moveTo(e[0][0],e[0][1]),t.lineTo(e[1][0],e[1][1]),t.lineTo(e[2][0],e[2][1]),t.lineTo(e[3][0],e[3][1]),t.closePath(),t.moveTo(e[4][0],e[4][1]),t.lineTo(e[5][0],e[5][1]),t.moveTo(e[6][0],e[6][1]),t.lineTo(e[7][0],e[7][1]))}});function d(t,e,n){var i,r=t.ends;return new h({shape:{points:n?(n=r,i=t,o.map(n,function(t){return(t=t.slice())[1]=i.initBaseline,t})):r},z2:100})}function p(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function f(t,e,n,i){var r=e.getItemModel(n),o=r.getModel(s),a=e.getItemVisual(n,"color"),n=e.getItemVisual(n,"borderColor")||a,o=o.getItemStyle(u);t.useStyle(o),t.style.strokeNoScale=!0,t.style.fill=a,t.style.stroke=n,t.__simpleBox=i;r=r.getModel(l).getItemStyle();c.setHoverStyle(t,r)}var g=r.extend({type:"largeCandlestickBox",shape:{},buildPath:function(t,e){for(var n,i=e.points,r=0;r<i.length;)this.__sign===i[r++]?(n=i[r++],t.moveTo(n,i[r++]),t.lineTo(n,i[r++])):r+=3}});function m(t,e,n){var i=t.getData(),r=i.getLayout("largePoints"),o=new g({shape:{points:r},__sign:1});e.add(o);r=new g({shape:{points:r},__sign:-1});e.add(r),v(1,o,t,i),v(-1,r,t,i),n&&(o.incremental=!0,r.incremental=!0)}function v(t,e,n,i){t=0<t?"P":"N",t=i.getVisual("borderColor"+t)||i.getVisual("color"+t),n=n.getModel(s).getItemStyle(u);e.useStyle(n),e.style.fill=null,e.style.stroke=t}t.exports=i},function(t,e,n){var i=n(1);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 n=n(130),i=["itemStyle","borderColor"],r=["itemStyle","borderColor0"],s=["itemStyle","color"],l=["itemStyle","color0"],n={seriesType:"candlestick",plan:n(),performRawSeries:!0,reset:function(t,e){var n=t.getData();if(n.setVisual({legendSymbol:"roundRect",colorP:o(1,t),colorN:o(-1,t),borderColorP:a(1,t),borderColorN:a(-1,t)}),!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){var n;for(;null!=(n=t.next());){var i=e.getItemModel(n),r=e.getItemLayout(n).sign;e.setItemVisual(n,{color:o(r,i),borderColor:a(r,i)})}}};function o(t,e){return e.get(0<t?s:l)}function a(t,e){return e.get(0<t?i:r)}}};t.exports=n},function(t,e,n){var A=n(8).subPixelOptimize,i=n(130),a=n(13).parsePercent,s=n(1).retrieve2,d="undefined"!=typeof Float32Array?Float32Array:Array,i={seriesType:"candlestick",plan:i(),reset:function(t){var e,n,i,m=t.coordinateSystem,r=t.getData(),v=(o=r,n="category"===(n=(e=t).getBaseAxis()).type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/o.count()),i=a(s(e.get("barMaxWidth"),n),n),o=a(s(e.get("barMinWidth"),1),n),null!=(e=e.get("barWidth"))?a(e,n):Math.max(Math.min(n/2,i),o)),o=["x","y"],y=r.mapDimension(o[0]),o=r.mapDimension(o[1],!0),x=o[0],_=o[1],b=o[2],S=o[3];if(r.setLayout({candleWidth:v,isSimpleBox:v<=1.3}),!(null==y||o.length<4))return{progress:t.pipelineContext.large?function(t,e){var n,i=new d(4*t.count),r=0,o=[],a=[];for(;null!=(n=t.next());){var s=e.get(y,n),l=e.get(x,n),u=e.get(_,n),c=e.get(b,n),h=e.get(S,n);isNaN(s)||isNaN(c)||isNaN(h)?(i[r++]=NaN,r+=3):(i[r++]=M(e,n,l,u,_),o[0]=s,o[1]=c,c=m.dataToPoint(o,null,a),i[r++]=c?c[0]:NaN,i[r++]=c?c[1]:NaN,o[1]=h,c=m.dataToPoint(o,null,a),i[r++]=c?c[1]:NaN)}e.setLayout("largePoints",i)}:function(t,e){var n;for(;null!=(n=t.next());){var i=e.get(y,n),r=e.get(x,n),o=e.get(_,n),a=e.get(b,n),s=e.get(S,n),l=Math.min(r,o),u=Math.max(r,o),c=p(l,i),h=p(u,i),d=p(a,i),l=p(s,i),u=[];f(u,h,0),f(u,c,1),u.push(g(l),g(h),g(d),g(c)),e.setItemLayout(n,{sign:M(e,n,r,o,_),initBaseline:(o<r?h:c)[1],ends:u,brushRect:function(t,e,n){t=p(t,n),n=p(e,n);return t[0]-=v/2,n[0]-=v/2,{x:t[0],y:t[1],width:v,height:n[1]-t[1]}}(a,s,i)})}function p(t,e){var n=[];return n[0]=e,n[1]=t,isNaN(e)||isNaN(t)?[NaN,NaN]:m.dataToPoint(n)}function f(t,e,n){var i=e.slice(),e=e.slice();i[0]=A(i[0]+v/2,1,!1),e[0]=A(e[0]-v/2,1,!0),n?t.push(i,e):t.push(e,i)}function g(t){return t[0]=A(t[0],1),t}}}}};function M(t,e,n,i,r){i=!(i<n)&&(n<i||!(0<e)||t.get(r,e-1)<=i)?1:-1;return i}t.exports=i},function(t,e,n){var i=n(4);n(996),n(997);var r=n(107),n=n(166);i.registerVisual(r("effectScatter","circle")),i.registerLayout(n("effectScatter"))},function(t,e,n){var i=n(80),n=n(44).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=n},function(t,e,n){var i=n(4),r=n(165),o=n(998),a=n(52),s=n(166),i=i.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new r(o)},render:function(t,e,n){var i=t.getData(),t=this._symbolDraw;t.updateData(i),this.group.add(t.group)},updateTransform:function(t,e,n){var i=t.getData();this.group.dirty();t=s().reset(t);t.progress&&t.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(t){t=t.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=a.clone(t.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=i},function(t,e,n){var d=n(1),s=n(56).createSymbol,r=n(8).Group,p=n(13).parsePercent,o=n(285);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 i(t,e){r.call(this);var n=new o(t,e),i=new r;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}n=i.prototype;n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=this.childAt(1),r=0;r<3;r++){var o=s(e,-1,-1,2,2,n);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var a=-r/3*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(a).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(a).start(),i.add(o)}l(i,t)},n.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],r=0;r<i.length;r++){var o=i[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}l(n,t)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(t,e){var n=t.hostModel;this.childAt(0).updateData(t,e);var i=this.childAt(1),r=t.getItemModel(e),o=t.getItemVisual(e,"symbol"),a=(l=t.getItemVisual(e,"symbolSize"),l=d.isArray(l)?l:[+l,+l]),s=t.getItemVisual(e,"color");i.attr("scale",a),i.traverse(function(t){t.attr({fill:s})});var l,u=r.getShallow("symbolOffset");u&&((l=i.position)[0]=p(u[0],a[0]),l[1]=p(u[1],a[1]));a=t.getItemVisual(e,"symbolRotate");i.rotation=(a||0)*Math.PI/180||0;var c,h={};h.showEffectOn=n.get("showEffectOn"),h.rippleScale=r.get("rippleEffect.scale"),h.brushType=r.get("rippleEffect.brushType"),h.period=1e3*r.get("rippleEffect.period"),h.effectOffset=e/t.count(),h.z=r.getShallow("z")||0,h.zlevel=r.getShallow("zlevel")||0,h.symbolType=o,h.color=s,h.rippleEffectColor=r.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===h.showEffectOn?(this._effectCfg?this.updateEffectAnimation(h):this.startEffectAnimation(h),this._effectCfg=h):(this._effectCfg=null,this.stopEffectAnimation(),c=this.childAt(0),o=function(){c.highlight(),"render"!==h.showEffectOn&&this.startEffectAnimation(h)},r=function(){c.downplay(),"render"!==h.showEffectOn&&this.stopEffectAnimation()},this.on("mouseover",o,this).on("mouseout",r,this).on("emphasis",o,this).on("normal",r,this)),this._effectCfg=h},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},d.inherits(i,r),t.exports=i},function(t,e,n){var i=n(4);n(1e3),n(1001);var r=n(701),n=n(1004);i.registerLayout(r),i.registerVisual(n)},function(t,e,n){n(20).__DEV__;var i=n(44),o=n(60),r=n(1),a=r.concatArray,s=r.mergeAll,l=r.map,u=n(26).encodeHTML,p=(n(66),"undefined"==typeof Uint32Array?Array:Uint32Array),f="undefined"==typeof Float64Array?Array:Float64Array;function c(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=l(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),s([e,t[0],t[1]])}))}var h=i.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],c(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),h.superApply(this,"init",arguments)},mergeOption:function(t){var e;c(t),t.data&&(e=this._processFlatCoordsArray(t.data),this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))),h.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=a(this._flatCoords,e.flatCoords),this._flatCoordsOffset=a(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){t=this.getData().getItemModel(t);return t.option instanceof Array?t.option:t.getShallow("coords")},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}for(var o=this._getCoordsFromItemModel(t),r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},_processFlatCoordsArray:function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"!=typeof t[0])return{flatCoordsOffset:null,flatCoords:null,count:t.length};for(var n=t.length,i=new p(n),r=new f(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=t[l++];i[a++]=o+e,i[a++]=u;for(var c=0;c<u;c++){var h=t[l++],d=t[l++];r[o++]=h,r[o++]=d}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}},getInitialData:function(t,e){var r=new o(["value"],this);return r.hasItemOption=!1,r.initData(t.data,[],function(t,e,n,i){if(t instanceof Array)return NaN;r.hasItemOption=!0;t=t.value;return null!=t?t instanceof Array?t[i]:t:void 0}),r},formatTooltip:function(t){var e=this.getData().getItemModel(t),n=e.get("name");if(n)return n;t=e.get("fromName"),n=e.get("toName"),e=[];return null!=t&&e.push(t),null!=n&&e.push(n),u(e.join(" > "))},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}}});t.exports=h},function(t,e,n){n(20).__DEV__;var i=n(4),o=n(353),a=n(699),s=n(354),l=n(700),u=n(1002),c=n(1003),h=n(701),d=n(162).createClipPath,i=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(),n="svg"===s.painter.getType();n||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||n||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a&&(n||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);t=t.get("clip",!0)&&d(t.coordinateSystem,!1,t);t?this.group.setClipPath(t):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};t=h.reset(t);t.progress&&t.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),r=!!e.get("polyline"),e=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&e===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=e?new c:new o(r?i?u:l:i?a:s),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=e,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){t=t.getZr();"svg"===t.painter.getType()||null==this._lastZlevel||t.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=i},function(t,e,n){var i=n(700),r=n(1),o=n(699),s=n(29);function a(t,e,n){o.call(this,t,e,n),this._lastFrame=0,this._lastFramePercent=0}n=a.prototype;n.createLine=function(t,e,n){return new i(t,e,n)},n.updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++){var o=e[r-1],a=e[r];i+=s.dist(o,a),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}},n.getLineLength=function(t){return this._length},n.updateSymbolPosition=function(t){var e=t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o=this._lastFrame;if(e<this._lastFramePercent){for(a=Math.min(o+1,r-1);0<=a&&!(i[a]<=e);a--);a=Math.min(a,r-2)}else{for(var a=o;a<r&&!(i[a]>e);a++);a=Math.min(a-1,r-2)}s.lerp(t.position,n[a],n[a+1],(e-i[a])/(i[a+1]-i[a]));o=n[a+1][0]-n[a][0],n=n[a+1][1]-n[a][1];t.rotation=-Math.atan2(n,o)-Math.PI/2,this._lastFrame=a,this._lastFramePercent=e,t.ignore=!1}},r.inherits(a,o),t.exports=a},function(t,e,n){var i=n(8),r=n(336),p=n(638),f=n(639),o=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;r<n.length;){var o=n[r++];if(0<o){t.moveTo(n[r++],n[r++]);for(var a=1;a<o;a++)t.lineTo(n[r++],n[r++])}}else for(r=0;r<n.length;){var s=n[r++],l=n[r++],u=n[r++],c=n[r++];t.moveTo(s,l),0<i?t.quadraticCurveTo((s+u)/2-(l-c)*i,(l+c)/2-(u-s)*i,u,c):t.lineTo(u,c)}},findDataIndex:function(t,e){var n=this.shape,i=n.segs,r=n.curveness;if(n.polyline)for(var o=0,a=0;a<i.length;){var s=i[a++];if(0<s)for(var l=i[a++],u=i[a++],c=1;c<s;c++){var h=i[a++],d=i[a++];if(p.containStroke(l,u,h,d))return o}o++}else for(o=0,a=0;a<i.length;){l=i[a++],u=i[a++],h=i[a++],d=i[a++];if(0<r){if(f.containStroke(l,u,(l+h)/2-(u-d)*r,(u+d)/2-(h-l)*r,h,d))return o}else if(p.containStroke(l,u,h,d))return o;o++}return-1}});function a(){this.group=new i.Group}n=a.prototype;n.isPersistent=function(){return!this._incremental},n.updateData=function(t){this.group.removeAll();var e=new o({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},n.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),5e5<t.count()?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},n.incrementalUpdate=function(t,e){var n=new o;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))},n.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},n._setCommon=function(e,t,n){var i=t.hostModel;e.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),e.useStyle(i.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;t=t.getVisual("color");t&&e.setStyle("stroke",t),e.setStyle("fill"),n||(e.seriesIndex=i.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;t=e.findDataIndex(t.offsetX,t.offsetY);0<t&&(e.dataIndex=t+e.__startIndex)}))},n._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=a},function(t,e){function a(t){return t=!(t instanceof Array)?[t,t]:t}var s="lineStyle.opacity".split(".");t.exports={seriesType:"lines",reset:function(t,e,n){var i=a(t.get("symbol")),r=a(t.get("symbolSize")),o=t.getData();return o.setVisual("fromSymbol",i&&i[0]),o.setVisual("toSymbol",i&&i[1]),o.setVisual("fromSymbolSize",r&&r[0]),o.setVisual("toSymbolSize",r&&r[1]),o.setVisual("opacity",t.get(s)),{dataEach:o.hasItemOption?function(t,e){var n=a((r=t.getItemModel(e)).getShallow("symbol",!0)),i=a(r.getShallow("symbolSize",!0)),r=r.get(s);n[0]&&t.setItemVisual(e,"fromSymbol",n[0]),n[1]&&t.setItemVisual(e,"toSymbol",n[1]),i[0]&&t.setItemVisual(e,"fromSymbolSize",i[0]),i[1]&&t.setItemVisual(e,"toSymbolSize",i[1]),t.setItemVisual(e,"opacity",r)}:null}}}},function(t,e,n){var i=n(44),r=n(80),o=n(66),i=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=i},function(t,e,n){n(20).__DEV__;var i=n(4),M=n(8),_=n(1007),w=n(1);i=i.extendChartView({type:"heatmap",render:function(n,t,e){var i;t.eachComponent("visualMap",function(e){e.eachTargetSeries(function(t){t===n&&(i=e)})}),this.group.removeAll(),this._incrementalDisplayable=null;var r=n.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(n,e,0,n.getData().count()):"lng"===(t=(t=r).dimensions)[0]&&"lat"===t[1]&&this._renderOnGeo(r,n,i,e)},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,r){var o,a,s,l,u=t.coordinateSystem;"cartesian2d"===u.type&&(o=u.getAxis("x"),a=u.getAxis("y"),s=o.getBandWidth(),l=a.getBandWidth());for(var c=this.group,h=t.getData(),d="emphasis.itemStyle",p="emphasis.label",f=t.getModel("itemStyle").getItemStyle(["color"]),g=t.getModel(d).getItemStyle(),m=t.getModel("label"),v=t.getModel(p),y=u.type,x="cartesian2d"===y?[h.mapDimension("x"),h.mapDimension("y"),h.mapDimension("value")]:[h.mapDimension("time"),h.mapDimension("value")],_=n;_<i;_++){if("cartesian2d"===y){if(isNaN(h.get(x[2],_)))continue;var b=u.dataToPoint([h.get(x[0],_),h.get(x[1],_)]),S=new M.Rect({shape:{x:Math.floor(Math.round(b[0])-s/2),y:Math.floor(Math.round(b[1])-l/2),width:Math.ceil(s),height:Math.ceil(l)},style:{fill:h.getItemVisual(_,"color"),opacity:h.getItemVisual(_,"opacity")}})}else{if(isNaN(h.get(x[1],_)))continue;S=new M.Rect({z2:1,shape:u.dataToRect([h.get(x[0],_)]).contentShape,style:{fill:h.getItemVisual(_,"color"),opacity:h.getItemVisual(_,"opacity")}})}var A=h.getItemModel(_);h.hasItemOption&&(f=A.getModel("itemStyle").getItemStyle(["color"]),g=A.getModel(d).getItemStyle(),m=A.getModel("label"),v=A.getModel(p));b=t.getRawValue(_),A="-";b&&null!=b[2]&&(A=b[2]),M.setLabelStyle(f,g,m,v,{labelFetcher:t,labelDataIndex:_,defaultText:A,isRectText:!0}),S.setStyle(f),M.setHoverStyle(S,h.hasItemOption?g:w.extend({},g)),(S.incremental=r)&&(S.useHoverLayer=!0),c.add(S),h.setItemGraphicEl(_,S)}},_renderOnGeo:function(i,t,e,n){var r=e.targetVisuals.inRange,o=e.targetVisuals.outOfRange,a=t.getData(),s=this._hmLayer||this._hmLayer||new _;s.blurSize=t.get("blurSize"),s.pointSize=t.get("pointSize"),s.minOpacity=t.get("minOpacity"),s.maxOpacity=t.get("maxOpacity");var l=i.getViewRect().clone(),u=i.getRoamTransform();l.applyTransform(u);var c,h,d,p,f,g,m,v=Math.max(l.x,0),y=Math.max(l.y,0),x=Math.min(l.width+l.x,n.getWidth()),t=Math.min(l.height+l.y,n.getHeight()),u=x-v,l=t-y,n=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],x=a.mapArray(n,function(t,e,n){e=i.dataToPoint([t,e]);return e[0]-=v,e[1]-=y,e.push(n),e}),t=e.getExtent(),e="visualMap.continuous"===e.type?(a=t,m=e.option.range,n=a[1]-a[0],m=[(m[0]-a[0])/n,(m[1]-a[0])/n],function(t){return t>=m[0]&&t<=m[1]}):(c=t,h=e.getPieceList(),d=e.option.selected,p=c[1]-c[0],f=(h=w.map(h,function(t){return{interval:[(t.interval[0]-c[0])/p,(t.interval[1]-c[0])/p]}})).length,g=0,function(t){for(var e=g;e<f;e++)if((n=h[e].interval)[0]<=t&&t<=n[1]){g=e;break}if(e===f)for(var n,e=g-1;0<=e;e--)if((n=h[e].interval)[0]<=t&&t<=n[1]){g=e;break}return 0<=e&&e<f&&d[e]});s.update(x,u,l,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},e);s=new M.Image({style:{width:u,height:l,x:v,y:y,image:s.canvas},silent:!0});this.group.add(s)},dispose:function(){}});t.exports=i},function(t,e,n){var r=n(1);function i(){var t=r.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}i.prototype={update:function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(t,r,"inRange"),l=this._getGradient(t,r,"outOfRange"),u=this.pointSize+this.blurSize,r=this.canvas,c=r.getContext("2d"),h=t.length;r.width=e,r.height=n;for(var d=0;d<h;++d){var p=t[d],f=p[0],g=p[1],m=i(p[2]);c.globalAlpha=m,c.drawImage(a,f-u,g-u)}if(!r.width||!r.height)return r;for(var n=c.getImageData(0,0,r.width,r.height),v=n.data,y=0,x=v.length,_=this.minOpacity,b=this.maxOpacity-_;y<x;){var S,m=v[y+3]/256,A=4*Math.floor(255*m);0<m?(S=o(m)?s:l,0<m&&(m=m*b+_),v[y++]=S[A],v[y++]=S[1+A],v[y++]=S[2+A],v[y++]=S[3+A]*m*256):y+=4}return c.putImageData(n,0,0),r},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=r.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.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}},t.exports=i},function(t,e,n){var i=n(4),r=n(1);n(340),n(1009),n(1010);var o=n(281).layout,a=n(107);n(163),i.registerLayout(r.curry(o,"pictorialBar")),i.registerVisual(a("pictorialBar","roundRect"))},function(t,e,n){var i=n(662).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)}});t.exports=i},function(t,e,n){var i=n(4),_=n(1),h=n(8),r=n(56).createSymbol,o=n(13),b=o.parsePercent,S=o.isNumeric,d=n(663).setLabel,p=["itemStyle","borderWidth"],c=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],f=new h.Circle,i=i.extendChartView({type:"pictorialBar",render:function(t,e,n){var r=this.group,o=t.getData(),a=this._data,i=t.coordinateSystem,s=!!i.getBaseAxis().isHorizontal(),l=i.grid.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:i,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:c[+s],categoryDim:c[1-s]};return o.diff(a).add(function(t){var e,n;o.hasValue(t)&&(n=w(o,t),e=g(o,t,n,u),n=T(o,u,e),o.setItemGraphicEl(t,n),r.add(n),N(n,u,e))}).update(function(t,e){var n,i=a.getItemGraphicEl(e);o.hasValue(t)?(n=w(o,t),e=g(o,t,n,u),n=D(o,e),i&&n!==i.__pictorialShapeStr&&(r.remove(i),o.setItemGraphicEl(t,null),i=null),i?function(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;h.updateProps(o,{position:n.bundlePosition.slice()},i,r),(n.symbolRepeat?y:x)(t,e,n,!0);A(t,n,!0),M(t,e,n,!0)}(i,u,e):i=T(o,u,e,!0),o.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=e,r.add(i),N(i,u,e)):r.remove(i)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&I(a,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=o,this.group},dispose:_.noop,remove:function(e,t){var n=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl(function(t){I(i,t.dataIndex,e,t)}):n.removeAll()}});function g(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),c={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:c?n:null,hoverAnimation:c&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,r){var o=i.valueDim,a=t.get("symbolBoundingData"),s=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-(n[o.wh]<=0);l=_.isArray(a)?((t=[m(s,a[0])-l,m(s,a[1])-l])[1]<t[0]&&t.reverse(),t[u]):null!=a?m(s,a)-l:e?i.coordSysExtent[o.index][u]-l:n[o.wh];r.boundingLength=l,e&&(r.repeatCutLength=n[o.wh]);r.pxSign=0<l?1:l<0?-1:0}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l){var u=s.valueDim,c=s.categoryDim,n=Math.abs(n[c.wh]),e=t.getItemVisual(e,"symbolSize");e=_.isArray(e)?e.slice():[e=null==e?"100%":e,e];e[c.index]=b(e[c.index],n),e[u.index]=b(e[u.index],i?n:Math.abs(r)),l.symbolSize=e,(l.symbolScale=[e[0]/a,e[1]/a])[u.index]*=(s.isHorizontal?-1:1)*o}(t,e,r,o,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){t=t.get(p)||0;t&&(f.attr({scale:e.slice(),rotation:n}),f.updateTransform(),t/=f.getLineScale(),t*=e[i.valueDim.index]);r.valueLineWidth=t}(n,c.symbolScale,l,i,c);u=c.symbolSize,l=n.get("symbolOffset");return function(t,e,n,i,r,o,a,s,l,u,c){var h=u.categoryDim,d=u.valueDim,p=c.pxSign,f=Math.max(e[d.index]+a,0),g=f;{var m,v,y;i&&(m=Math.abs(s),x=_.retrieve(t.get("symbolMargin"),"15%")+"",v=!1,x.lastIndexOf("!")===x.length-1&&(v=!0,x=x.slice(0,x.length-1)),x=b(x,e[d.index]),y=Math.max(f+2*x,0),a=v?0:2*x,t=S(i),e=t?i:O((m+a)/y),y=f+2*(x=(m-e*f)/2/(v?e:e-1)),a=v?0:2*x,t||"fixed"===i||(e=l?O((Math.abs(l)+a)/y):0),g=e*y-a,c.repeatTimes=e,c.symbolMargin=x)}var x=p*(g/2),g=c.pathPosition=[];g[h.index]=n[h.wh]/2,g[d.index]="start"===o?x:"end"===o?s-x:s/2,r&&(g[0]+=r[0],g[1]+=r[1]);r=c.bundlePosition=[];r[h.index]=n[h.xy],r[d.index]=n[d.xy];r=c.barRectShape=_.extend({},n);r[d.wh]=p*Math.max(Math.abs(n[d.wh]),Math.abs(g[d.index]+x)),r[h.wh]=n[h.wh];c=c.clipShape={};c[h.xy]=-n[h.xy],c[h.wh]=u.ecSize[h.wh],c[d.xy]=0,c[d.wh]=n[d.wh]}(n,u,r,o,l=_.isArray(l)?[b(l[0],u[0]),b(l[1],u[1])]:l,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function m(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function v(t){var e=t.symbolPatternSize,t=r(t.symbolType,-e/2,-e/2,e,e,t.color);return t.attr({culling:!0}),"image"!==t.type&&t.setStyle({strokeNoScale:!0}),t}function y(t,e,r,n){var i=t.__pictorialBundle,o=r.symbolSize,a=r.valueLineWidth,s=r.pathPosition,l=e.valueDim,u=r.repeatTimes||0,c=0,h=o[e.valueDim.index]+a+2*r.symbolMargin;for(L(t,function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?k(t,null,f(c),r,n):k(t,null,{scale:[0,0]},r,n,function(){i.remove(t)}),C(t,r),c++});c<u;c++){var d=v(r);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,i.add(d);var p=f(c);k(d,{position:p.position,scale:[0,0]},{scale:p.scale,rotation:p.rotation},r,n),d.on("mouseover",g).on("mouseout",m),C(d,r)}function f(t){var e=s.slice(),n=r.pxSign,i=t;return("start"===r.symbolRepeatDirection?0<n:n<0)&&(i=u-1-t),e[l.index]=h*(i-u/2+.5)+s[l.index],{position:e,scale:r.symbolScale.slice(),rotation:r.rotation}}function g(){L(t,function(t){t.trigger("emphasis")})}function m(){L(t,function(t){t.trigger("normal")})}}function x(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?k(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(o=t.__pictorialMainPath=v(n),r.add(o),k(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")})),C(o,n)}function A(t,e,n){var i=_.extend({},e.barRectShape),r=t.__pictorialBarRect;r?k(r,null,{shape:i},e,n):(r=t.__pictorialBarRect=new h.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(r))}function M(t,e,n,i){var r,o,a,s;n.symbolClip&&(r=t.__pictorialClipPath,o=_.extend({},n.clipShape),a=e.valueDim,s=n.animationModel,e=n.dataIndex,r?h.updateProps(r,{shape:o},s,e):(o[a.wh]=0,r=new h.Rect({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r,(t={})[a.wh]=n.clipShape[a.wh],h[i?"updateProps":"initProps"](r,{shape:t},s,e)))}function w(t,e){e=t.getItemModel(e);return e.getAnimationDelayParams=a,e.isAnimationEnabled=s,e}function a(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function s(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function C(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 T(t,e,n,i){var r=new h.Group,o=new h.Group;return r.add(o),(r.__pictorialBundle=o).attr("position",n.bundlePosition.slice()),n.symbolRepeat?y(r,e,n):x(r,0,n),A(r,n,i),M(r,e,n,i),r.__pictorialShapeStr=D(t,n),r.__pictorialSymbolMeta=n,r}function I(t,e,n,i){var r=i.__pictorialBarRect;r&&(r.style.text=null);var o=[];L(i,function(t){o.push(t)}),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),_.each(o,function(t){h.updateProps(t,{scale:[0,0]},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function D(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function L(e,n,i){_.each(e.__pictorialBundle.children(),function(t){t!==e.__pictorialBarRect&&n.call(i,t)})}function k(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&h[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function N(t,e,n){var i=n.color,r=n.dataIndex,o=n.itemModel,a=o.getModel("itemStyle").getItemStyle(["color"]),s=o.getModel("emphasis.itemStyle").getItemStyle(),l=o.getShallow("cursor");L(t,function(t){t.setColor(i),t.setStyle(_.defaults({fill:i,opacity:n.opacity},a)),h.setHoverStyle(t,s),l&&(t.cursor=l),t.z2=n.z2});var u={},c=e.valueDim.posDesc[+(0<n.boundingLength)],t=t.__pictorialBarRect;d(t.style,u,o,i,e.seriesModel,r,c),h.setHoverStyle(t,u)}function O(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}t.exports=i},function(t,e,n){var i=n(4);n(703),n(1018),n(1019);var r=n(1020),o=n(1021),n=n(169);i.registerLayout(r),i.registerVisual(o),i.registerProcessor(n("themeRiver"))},function(t,e,n){var a=n(1013);n(66).register("single",{create:function(i,r){var o=[];return i.eachComponent("singleAxis",function(t,e){var n=new a(t,i,r);n.name="single_"+e,n.resize(t,r),t.coordinateSystem=n,o.push(n)}),i.eachSeries(function(t){var e;"singleAxis"===t.get("coordinateSystem")&&(e=i.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0],t.coordinateSystem=e&&e.coordinateSystem)}),o},dimensions:a.prototype.dimensions})},function(t,e,n){var o=n(1014),a=n(67),i=n(21).getLayoutRect,r=n(1).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 i=this.dimension,r=new o(i,a.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),i="category"===r.type;r.onBand=i&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),(t.axis=r).model=t,(r.coordinateSystem=this)._axis=r},update:function(t,e){t.eachSeries(function(t){var e;t.coordinateSystem===this&&(e=t.getData(),r(e.mapDimension(this.dimension,!0),function(t){this._axis.scale.unionExtentFromData(e,t)},this),a.niceScaleExtent(this._axis.scale,this._axis.model))},this)},resize:function(t,e){this._rect=i({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],n=t.isHorizontal();t.toGlobalCoord=n?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=n?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}},t.exports=s},function(t,e,n){var i=n(1),o=n(89),n=function(t,e,n,i,r){o.call(this,t,e,n),this.type=i||"value",this.position=r||"bottom",this.orient=null};n.prototype={constructor:n,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(n,o),t.exports=n},function(t,e,n){var s=n(1),l=n(90),g=n(8),u=n(704),i=n(106),n=n(665),r=n.rectCoordAxisBuildSplitArea,o=n.rectCoordAxisHandleRemove,c=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],d=i.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,i){var r=this.group;r.removeAll();var o=this._axisGroup;this._axisGroup=new g.Group;var a=u.layout(e),a=new l(e,a);s.each(c,a.add,a),r.add(this._axisGroup),r.add(a.getGroup()),s.each(h,function(t){e.get(t+".show")&&this["_"+t](e)},this),g.groupTransition(o,this._axisGroup,e),d.superCall(this,"render",e,t,n,i)},remove:function(){o(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){for(var n=t.getModel("splitLine"),i=n.getModel("lineStyle"),r=i.get("width"),o=(o=i.get("color"))instanceof Array?o:[o],a=t.coordinateSystem.getRect(),s=e.isHorizontal(),l=[],u=0,c=e.getTicksCoords({tickModel:n}),h=[],d=[],p=0;p<c.length;++p){var f=e.toGlobalCoord(c[p].coord);s?(h[0]=f,h[1]=a.y,d[0]=f,d[1]=a.y+a.height):(h[0]=a.x,h[1]=f,d[0]=a.x+a.width,d[1]=f);f=u++%o.length;l[f]=l[f]||[],l[f].push(new g.Line({subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:d[0],y2:d[1]},style:{lineWidth:r},silent:!0}))}for(p=0;p<l.length;++p)this.group.add(g.mergePath(l[p],{style:{stroke:o[p%o.length],lineDash:i.getLineDash(r),lineWidth:r},silent:!0}))}},_splitArea:function(t){r(this,this._axisGroup,t,t)}});t.exports=d},function(t,e,n){var i=n(1),r=n(43),o=n(282),n=n(132),r=r.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});i.merge(r.prototype,n),o("single",r,function(t,e){return e.type||(e.data?"category":"value")},{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}}),t.exports=r},function(t,e,n){var i=n(342),h=n(284),d=n(704),n=n(106),r=["x","y"],o=["width","height"],i=i.extend({makeElOption:function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=g(a,1-f(o)),l=a.dataToPoint(e)[0],u=i.get("type");u&&"none"!==u&&(a=h.buildElStyle(i),(c=p[u](o,l,s)).style=a,t.graphicKey=c.type,t.pointer=c);var c=d.layout(n);h.buildCartesianSingleLabelElOption(e,t,c,n,i,r)},getHandleTransform:function(t,e,n){var i=d.layout(e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:h.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=f(r),n=g(o,a),r=t.position;r[a]+=e[a],r[a]=Math.min(n[1],r[a]),r[a]=Math.max(n[0],r[a]);o=g(o,1-a),o=(o[1]+o[0])/2,o=[o,o];return o[a]=r[a],{position:r,rotation:t.rotation,cursorPoint:o,tooltipOption:{verticalAlign:"middle"}}}}),p={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:h.makeLineShape([e,n[0]],[e,n[1]],f(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:h.makeRectShape([e-i/2,n[0]],[i,r],f(t))}}};function f(t){return t.isHorizontal()?0:1}function g(t,e){t=t.getRect();return[t[r[e]],t[r[e]]+t[o[e]]]}n.registerAxisPointerClass("SingleAxisPointer",i),t.exports=i},function(t,e,n){var i=n(44),s=n(131),l=n(161).getDimensionTypeByAxis,u=n(60),g=n(1),c=n(17).groupData,r=n(26).encodeHTML,o=n(167),a=i.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){a.superApply(this,"init",arguments),this.legendVisualProvider=new o(g.bind(this.getData,this),g.bind(this.getRawData,this))},fixData:function(t){var e=t.length,n={},i=c(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;a<o;++a){for(var s=r[a].name,l=0;l<r[a].dataList.length;++l){var u=r[a].dataList[l][0];n[u]=a}for(u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,t[e]=[],t[e][0]=u,t[e][1]=0,t[e][2]=s,e++)}return t},getInitialData:function(t,e){for(var e=e.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0].get("type"),t=g.filter(t.data,function(t){return void 0!==t[2]}),n=this.fixData(t||[]),i=[],r=this.nameMap=g.createHashMap(),o=0,a=0;a<n.length;++a)i.push(n[a][2]),r.get(n[a][2])||(r.set(n[a][2],o),o++);e=s(n,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:l(e)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),e=new u(e,this);return e.initData(n),e},getLayerSeries:function(){for(var n=this.getData(),t=n.count(),e=[],i=0;i<t;++i)e[i]=i;var r=n.mapDimension("single"),o=c(e,function(t){return n.get("name",t)}),a=[];return o.buckets.each(function(t,e){t.sort(function(t,e){return n.get(r,t)-n.get(r,e)}),a.push({name:e,indices:t})}),a},getAxisTooltipData:function(t,e,n){g.isArray(t)||(t=t?[t]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,h=o[l].indices.length,d=0;d<h;++d){var p=r.get(t[0],o[l].indices[d]),f=Math.abs(p-e);f<=u&&(i=p,u=f,c=o[l].indices[d])}a.push(c)}return{dataIndices:a,nestestValue:i}},formatTooltip:function(t){var e=this.getData(),n=e.getName(t),t=e.get(e.mapDimension("value"),t);return!isNaN(t)&&null!=t||(t="-"),r(n+" : "+t)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}});t.exports=a},function(t,e,n){var i=n(4),T=n(676).Polygon,I=n(8),r=n(1),a=r.bind,D=r.extend,s=n(105),i=i.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(S,t,e){var A=S.getData(),M=this.group,w=S.getLayerSeries(),n=A.getLayout("layoutInfo"),i=n.rect,n=n.boundaryGap;function r(t){return t.name}M.attr("position",[0,i.y+n[0]]);var n=new s(this._layersSeries||[],w,r,r),C={};function o(t,e,n){var i=this._layers;if("remove"!==t){for(var r,o=[],a=[],s=w[e].indices,l=0;l<s.length;l++){var u=A.getItemLayout(s[l]),c=u.x,h=u.y0,u=u.y;o.push([c,h]),a.push([c,h+u]),r=A.getItemVisual(s[l],"color")}var d,p,f,g,m,v,y=A.getItemLayout(s[0]),x=A.getItemModel(s[l-1]),_=x.getModel("label"),b=_.get("margin");"add"===t?(f=C[e]=new I.Group,d=new T({shape:{points:o,stackedOnPoints:a,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),p=new I.Text({style:{x:y.x-b,y:y.y0+y.y/2}}),f.add(d),f.add(p),M.add(f),d.setClipPath((g=d.getBoundingRect(),m=S,v=function(){d.removeClipPath()},t=new I.Rect({shape:{x:g.x-10,y:g.y-10,width:0,height:g.height+20}}),I.initProps(t,{shape:{width:g.width+20,height:g.height+20}},m,v),t))):(f=i[n],d=f.childAt(0),p=f.childAt(1),M.add(f),C[e]=f,I.updateProps(d,{shape:{points:o,stackedOnPoints:a}},S),I.updateProps(p,{style:{x:y.x-b,y:y.y0+y.y/2}},S));y=x.getModel("emphasis.itemStyle"),x=x.getModel("itemStyle");I.setTextStyle(p.style,_,{text:_.get("show")?S.getFormattedLabel(s[l-1],"normal")||A.getName(s[l-1]):null,textVerticalAlign:"middle"}),d.setStyle(D({fill:r},x.getItemStyle(["color"]))),I.setHoverStyle(d,y.getItemStyle())}else M.remove(i[e])}n.add(a(o,this,"add")).update(a(o,this,"update")).remove(a(o,this,"remove")).execute(),this._layersSeries=w,this._layers=C},dispose:function(){}});t.exports=i},function(t,e,n){var g=n(1),a=n(13);function s(n,t,e){if(n.count())for(var i,r=t.coordinateSystem,o=t.getLayerSeries(),a=n.mapDimension("single"),s=n.mapDimension("value"),l=g.map(o,function(t){return g.map(t.indices,function(t){var e=r.dataToPoint(n.get(a,t));return e[1]=n.get(s,t),e})}),t=function(t){for(var e=t.length,n=t[0].length,i=[],r=[],o=0,a={},s=0;s<n;++s){for(var l=0,u=0;l<e;++l)u+=t[l][s][1];o<u&&(o=u),i.push(u)}for(var c=0;c<n;++c)r[c]=(o-i[c])/2;for(var h=o=0;h<n;++h){var d=i[h]+r[h];o<d&&(o=d)}return a.y0=r,a.max=o,a}(l),u=t.y0,c=e/t.max,h=o.length,d=o[0].indices.length,p=0;p<d;++p){i=u[p]*c,n.setItemLayout(o[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:i,y:l[0][p][1]*c});for(var f=1;f<h;++f)i+=l[f-1][p][1]*c,n.setItemLayout(o[f].indices[p],{layerIndex:f,x:l[f][p][0],y0:i,y:l[f][p][1]*c})}}t.exports=function(t,e){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var o=t.get("boundaryGap"),n=n.getAxis();i.boundaryGap=o,"horizontal"===n.orient?(o[0]=a.parsePercent(o[0],r.height),o[1]=a.parsePercent(o[1],r.height),s(e,t,r.height-o[0]-o[1])):(o[0]=a.parsePercent(o[0],r.width),o[1]=a.parsePercent(o[1],r.width),s(e,t,r.width-o[0]-o[1])),e.setLayout("layoutInfo",i)})}},function(t,e,n){var s=n(1).createHashMap;t.exports=function(t){t.eachSeriesByType("themeRiver",function(n){var i=n.getData(),r=n.getRawData(),o=n.get("color"),a=s();i.each(function(t){a.set(i.getRawIndex(t),t)}),r.each(function(t){var e=r.getName(t),e=o[(n.nameMap.get(e)-1)%o.length];r.setItemVisual(t,"color",e);t=a.get(t);null!=t&&i.setItemVisual(t,"color",e)})})}},function(t,e,n){var i=n(4),r=n(1);n(1023),n(1024),n(1026);var o=n(168),a=n(1027),n=n(169);i.registerVisual(r.curry(o,"sunburst")),i.registerLayout(r.curry(a,"sunburst")),i.registerProcessor(r.curry(n,"sunburst"))},function(t,e,n){var o=n(1),i=n(44),a=n(352),s=n(39),r=n(108).wrapTreePathInfo,n=i.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var n={name:t.name,children:t.data};!function e(t){var n=0;o.each(t.children,function(t){e(t);var t=t.value;o.isArray(t)&&(t=t[0]),n+=t});var i=t.value;o.isArray(i)&&(i=i[0]);null!=i&&!isNaN(i)||(i=n);i<0&&(i=0);o.isArray(t.value)?t.value[0]=i:t.value=i}(n);var i=o.map(t.levels||[],function(t){return new s(t,this,e)},this),r=a.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){e=r.getNodeByDataIndex(e),e=i[e.depth];return e&&(t.parentModel=e),t})});return r.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=r(n,this),e},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},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=n},function(t,e,n){var v=n(1),i=n(72),y=n(1025),x=n(105),o=n(26).windowOpen,i=i.extend({type:"sunburst",init:function(){},render:function(n,i,t,e){var r=this;this.seriesModel=n,this.api=t,this.ecModel=i;var o=n.getData(),a=o.tree.root,s=n.getViewRoot(),l=this.group,u=n.get("renderLabelForZeroData"),c=[];s.eachNode(function(t){c.push(t)});var h,d,p,f,t=this._oldChildren||[];function g(t){return t.getId()}function m(t,e){!function(t,e){u||!t||t.getValue()||(t=null);t!==a&&e!==a&&(e&&e.piece?t?(e.piece.updateData(!1,t,"normal",n,i),o.setItemGraphicEl(t.dataIndex,e.piece)):function(t){t&&t.piece&&(l.remove(t.piece),t.piece=null)}(e):t&&(e=new y(t,n,i),l.add(e),o.setItemGraphicEl(t.dataIndex,e)))}(null==t?null:h[t],null==e?null:d[e])}d=t,0===(h=c).length&&0===d.length||new x(d,h,g,g).add(m).update(m).remove(v.curry(m,null)).execute(),p=a,0<(f=s).depth?(r.virtualPiece?r.virtualPiece.updateData(!1,p,"normal",n,i):(r.virtualPiece=new y(p,n,i),l.add(r.virtualPiece)),f.piece._onclickEvent&&f.piece.off("click",f.piece._onclickEvent),p=function(t){r._rootToNode(f.parentNode)},f.piece._onclickEvent=p,r.virtualPiece.on("click",p)):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null),e&&e.highlight&&e.highlight.piece?(t=n.getShallow("highlightPolicy"),e.highlight.piece.onEmphasis(t)):e&&e.unhighlight&&((e=!(e=this.virtualPiece)&&a.children.length?a.children[0].piece:e)&&e.onNormal()),this._initEvents(),this._oldChildren=c},dispose:function(){},_initEvents:function(){function t(n){var i=!1;r.seriesModel.getViewRoot().eachNode(function(t){var e;!i&&t.piece&&t.piece.childAt(0)===n.target&&("rootToNode"===(e=t.getModel().get("nodeClick"))?r._rootToNode(t):"link"!==e||(t=(e=t.getModel()).get("link"))&&(e=e.get("target",!0)||"_blank",o(t,e)),i=!0)})}var r=this;this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_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){e=t[0]-n.cx,t=t[1]-n.cy,t=Math.sqrt(e*e+t*t);return t<=n.r&&t>=n.r0}}});t.exports=i},function(t,e,n){var p=n(1),f=n(8),a="none",s="ancestor",l="self";function i(t,e,n){f.Group.call(this);var i=new f.Sector({z2:2});i.seriesIndex=e.seriesIndex;var r=new f.Text({z2:4,silent:t.getModel("label").get("silent")});function o(){r.ignore=r.hoverIgnore}function a(){r.ignore=r.normalIgnore}this.add(i),this.add(r),this.updateData(!0,t,"normal",e,n),this.on("emphasis",o).on("normal",a).on("mouseover",o).on("mouseout",a)}n=i.prototype;n.updateData=function(t,e,n,i,r){(this.node=e).piece=this,i=i||this._seriesModel,r=r||this._ecModel;var o=this.childAt(0);o.dataIndex=e.dataIndex;var a=e.getModel(),s=e.getLayout(),l=p.extend({},s);l.label=null;var u=function(t,e){var n=t.getVisual("color"),i=t.getVisual("visualMeta");i&&0!==i.length||(n=null);i=t.getModel("itemStyle").get("color");{if(i)return i;if(n)return n;if(0===t.depth)return e.option.color[0];n=e.option.color.length;i=e.option.color[function(t){var e=t;for(;1<e.depth;)e=e.parentNode;t=t.getAncestors()[0];return p.indexOf(t.children,e)}(t)%n]}return i}(e,r);h=e,c=u,i.getData().setItemVisual(h.dataIndex,"color",c);var c,h=a.getModel("itemStyle").getItemStyle();h="normal"===n?h:(c=a.getModel(n+".itemStyle").getItemStyle(),p.merge(c,h)),h=p.defaults({lineJoin:"bevel",fill:h.fill||u},h),t?(o.setShape(l),o.shape.r=s.r0,f.updateProps(o,{shape:{r:s.r}},i,e.dataIndex),o.useStyle(h)):"object"==typeof h.fill&&h.fill.type||"object"==typeof o.style.fill&&o.style.fill.type?(f.updateProps(o,{shape:l},i),o.useStyle(h)):f.updateProps(o,{shape:l,style:h},i),this._updateLabel(i,u,n);a=a.getShallow("cursor");a&&o.attr("cursor",a),t&&(t=i.getShallow("highlightPolicy"),this._initEvents(o,e,i,t)),this._seriesModel=i||this._seriesModel,this._ecModel=r||this._ecModel,f.setHoverStyle(this)},n.onEmphasis=function(r){var o=this;this.node.hostTree.root.eachNode(function(t){var e,n,i;t.piece&&(o.node===t?t.piece.updateData(!1,t,"emphasis"):(e=t,n=o.node,(i=r)!==a&&(i===l?e===n:i===s?e===n||e.isAncestorOf(n):e===n||e.isDescendantOf(n))?t.piece.childAt(0).trigger("highlight"):r!==a&&t.piece.childAt(0).trigger("downplay")))})},n.onNormal=function(){this.node.hostTree.root.eachNode(function(t){t.piece&&t.piece.updateData(!1,t,"normal")})},n.onHighlight=function(){this.updateData(!1,this.node,"highlight")},n.onDownplay=function(){this.updateData(!1,this.node,"downplay")},n._updateLabel=function(t,e,n){var i=this.node.getModel(),r=i.getModel("label"),o="normal"===n||"emphasis"===n?r:i.getModel(n+".label"),a=i.getModel("emphasis.label"),s=o.get("formatter"),l=p.retrieve(t.getFormattedLabel(this.node.dataIndex,s?n:"normal",null,null,"label"),this.node.name);!1===d("show")&&(l="");var u=this.node.getLayout(),c=(c=null==(c=o.get("minAngle"))?r.get("minAngle"):c)/180*Math.PI,i=u.endAngle-u.startAngle;null!=c&&Math.abs(i)<c&&(l="");t=this.childAt(1);f.setLabelStyle(t.style,t.hoverStyle||{},r,a,{defaultText:o.getShallow("show")?l:null,autoColor:e,useInsideStyle:!0});var h,s=(u.startAngle+u.endAngle)/2,n=Math.cos(s),i=Math.sin(s),c=d("position"),a=d("distance")||0,e=d("align");"outside"===c?(h=u.r+a,e=s>Math.PI/2?"right":"left"):e&&"center"!==e?"left"===e?(h=u.r0+a,s>Math.PI/2&&(e="right")):"right"===e&&(h=u.r-a,s>Math.PI/2&&(e="left")):(h=(u.r+u.r0)/2,e="center"),t.attr("style",{text:l,textAlign:e,textVerticalAlign:d("verticalAlign")||"middle",opacity:d("opacity")});n=h*n+u.cx,u=h*i+u.cy;t.attr("position",[n,u]);n=d("rotate"),u=0;function d(t){var e=o.get(t);return null==e?r.get(t):e}"radial"===n?(u=-s)<-Math.PI/2&&(u+=Math.PI):"tangential"===n?(u=Math.PI/2-s)>Math.PI/2?u-=Math.PI:u<-Math.PI/2&&(u+=Math.PI):"number"==typeof n&&(u=n*Math.PI/180),t.attr("rotation",u)},n._initEvents=function(t,e,n,i){t.off("mouseover").off("mouseout").off("emphasis").off("normal");function r(){a.onEmphasis(i)}function o(){a.onNormal()}var a=this;n.isAnimationEnabled()&&t.on("mouseover",r).on("mouseout",o).on("emphasis",r).on("normal",o).on("downplay",function(){a.onDownplay()}).on("highlight",function(){a.onHighlight()})},p.inherits(i,f.Group),t.exports=i},function(t,e,n){var i=n(4),o=n(108),a="sunburstRootToNode";i.registerAction({type:a,update:"updateView"},function(r,t){t.eachComponent({mainType:"series",subType:"sunburst",query:r},function(t,e){var n=o.retrieveTargetInfo(r,[a],t);{var i;n&&((i=t.getViewRoot())&&(r.direction=o.aboveViewRoot(i,n.node)?"rollUp":"drillDown"),t.resetViewRoot(n.node))}})});var r="sunburstHighlight";i.registerAction({type:r,update:"updateView"},function(n,t){t.eachComponent({mainType:"series",subType:"sunburst",query:n},function(t,e){t=o.retrieveTargetInfo(n,[r],t);t&&(n.highlight=t.node)})});i.registerAction({type:"sunburstUnhighlight",update:"updateView"},function(n,t){t.eachComponent({mainType:"series",subType:"sunburst",query:n},function(t,e){n.unhighlight=!0})})},function(t,e,n){var A=n(13).parsePercent,M=n(1),s=Math.PI/180;function w(t,e){if("function"==typeof e)return t.sort(e);var i="asc"===e;return t.sort(function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0==n?(t.dataIndex-e.dataIndex)*(i?-1:1):n})}t.exports=function(t,e,a,n){e.eachSeriesByType(t,function(t){var e=t.get("center"),n=t.get("radius");M.isArray(n)||(n=[0,n]),M.isArray(e)||(e=[e,e]);var i=a.getWidth(),r=a.getHeight(),l=Math.min(i,r),u=A(e[0],i),c=A(e[1],r),h=A(n[0],l/2),i=A(n[1],l/2),e=-t.get("startAngle")*s,d=t.get("minAngle")*s,p=t.getData().tree.root,r=t.getViewRoot(),f=r.depth,n=t.get("sort");null!=n&&!function e(t,n){var i=t.children||[];t.children=w(i,n);i.length&&M.each(t.children,function(t){e(t,n)})}(r,n);var o=0;M.each(r.children,function(t){isNaN(t.getValue())||o++});var g=r.getValue(),m=Math.PI/(g||o)*2,v=0<r.depth,n=r.height-(v?-1:1),y=(i-h)/(n||1),x=t.get("clockwise"),_=t.get("stillShowZeroSum"),b=x?1:-1,S=function(t,e){if(t){var n,i,r,o,a,s=e;return t!==p&&(r=t.getValue(),s=e+b*(n=(n=0===g&&_?m:r*m)<d?d:n),o=t.depth-f-(v?-1:1),i=h+y*o,r=h+y*(1+o),null!=(o=t.getModel()).get("r0")&&(i=A(o.get("r0"),l/2)),null!=o.get("r")&&(r=A(o.get("r"),l/2)),t.setLayout({angle:n,startAngle:e,endAngle:s,clockwise:x,cx:u,cy:c,r0:i,r:r})),t.children&&t.children.length&&(a=0,M.each(t.children,function(t){a+=S(t,e+a)})),s-e}};v&&(t=2*Math.PI,p.setLayout({angle:t,startAngle:e,endAngle:e+t,clockwise:x,cx:u,cy:c,r0:h,r:h+y})),S(r,e)})}},function(t,e,n){n(20).__DEV__;var y=n(1),x=n(8),_=n(341).getDefaultLabel,i=n(80),b=n(281).getLayoutOnAxis,v=n(105),r=n(44),o=n(39),a=n(72),l=n(162).createClipPath,s=n(1029),u=n(1030),c=n(1031),h=n(1032),n=n(1033),d=x.CACHED_LABEL_STYLE_PROPERTIES,S=["itemStyle"],A=["emphasis","itemStyle"],M=["label"],w=["emphasis","label"],p="e\0\0",C={cartesian2d:s,geo:u,singleAxis:c,polar:h,calendar:n};function T(t,e,n,i,r){null==n[t]||r||(e[t]=n[t],n[t]=i[t])}function f(r,o,e,n){var i=r.get("renderItem"),a=r.coordinateSystem,t={};a&&(t=a.prepareCustoms?a.prepareCustoms():C[a.type](a));var s,l,u,c,h,d,p,f=y.defaults({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:function(t,e){return null==e&&(e=u),o.get(o.getDimension(t||0),e)},style:function(t,e){v(e=null==e?u:e);var n=c.getModel(S).getItemStyle();null!=p&&(n.fill=p);var i=o.getItemVisual(e,"opacity");null!=i&&(n.opacity=i);i=t?k(t,h):h;return x.setTextStyle(n,i,null,{autoColor:p,isRectText:!0}),n.text=i.getShallow("show")?y.retrieve2(r.getFormattedLabel(e,"normal"),_(o,e)):null,t&&N(n,t),n},styleEmphasis:function(t,e){v(e=null==e?u:e);var n=c.getModel(A).getItemStyle(),i=t?k(t,d):d;return x.setTextStyle(n,i,null,{isRectText:!0},!0),n.text=i.getShallow("show")?y.retrieve3(r.getFormattedLabel(e,"emphasis"),r.getFormattedLabel(e,"normal"),_(o,e)):null,t&&N(n,t),n},visual:function(t,e){return null==e&&(e=u),o.getItemVisual(e,t)},barLayout:function(t){if(a.getBaseAxis){var e=a.getBaseAxis();return b(y.defaults({axis:e},t),n)}},currentSeriesIndices:function(){return e.getCurrentSeriesIndices()},font:function(t){return x.getFont(t,e)}},t.api||{}),g={context:{},seriesId:r.id,seriesName:r.name,seriesIndex:r.seriesIndex,coordSys:t.coordSys,dataInsideLength:o.count(),encode:(s=r.getData(),l={},y.each(s.dimensions,function(t,e){var n=s.getDimensionInfo(t);n.isExtraCoord||(t=n.coordDim,(l[t]=l[t]||[])[n.coordDimIndex]=e)}),l)},m=!0;return function(t,e){return u=t,m=!0,i&&i(y.defaults({dataIndexInside:t,dataIndex:o.getRawIndex(t),actionType:e?e.type:null},g),f)};function v(t){null==t&&(t=u),m&&(c=o.getItemModel(t),h=c.getModel(M),d=c.getModel(w),p=o.getItemVisual(t,"color"),m=!1)}}function g(t,e,n,i,r,o){return(t=I(t,e,n,i,r,o,!0))&&o.setItemGraphicEl(e,t),t}function I(t,e,n,i,r,o,a){var s=!n,l=(n=n||{}).type,u=n.shape,c=n.style;if(t&&(s||null!=l&&l!==t.__customGraphicType||"path"===l&&((d=u)&&(d.hasOwnProperty("pathData")||d.hasOwnProperty("d")))&&P(u)!==t.__customPathData||"image"===l&&E(c,"image")&&c.image!==t.__customImagePath||"text"===l&&E(u,"text")&&c.text!==t.__customText)&&(r.remove(t),t=null),!s){var h,d,p,f,g,m=!t;return t=t||function(t){var e=t.type;if("path"===e){var n=t.shape,i=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,r=P(n);(n=x.makePath(r,null,i,n.layout||"center")).__customPathData=r}else if("image"===e)(n=new x.Image({})).__customImagePath=t.style.image;else if("text"===e)(n=new x.Text({})).__customText=t.style.text;else if("group"===e)n=new x.Group;else{if("compoundPath"===e)throw new Error('"compoundPath" is not supported yet.');n=new(x.getShapeClass(e))}return n.__customGraphicType=e,n.name=t.name,n}(n),h=t,d=e,u=i,p=m,c=a,s={},g=(m=n).style||{},m.shape&&(s.shape=y.clone(m.shape)),m.position&&(s.position=m.position.slice()),m.scale&&(s.scale=m.scale.slice()),m.origin&&(s.origin=m.origin.slice()),m.rotation&&(s.rotation=m.rotation),"image"===h.type&&m.style&&(f=s.style={},y.each(["x","y","width","height"],function(t){T(t,f,g,h.style,p)})),"text"===h.type&&m.style&&(f=s.style={},y.each(["x","y"],function(t){T(t,f,g,h.style,p)}),!g.hasOwnProperty("textFill")&&g.fill&&(g.textFill=g.fill),!g.hasOwnProperty("textStroke")&&g.stroke&&(g.textStroke=g.stroke)),"group"!==h.type&&(h.useStyle(g),p&&(h.style.opacity=0,a=g.opacity,x.initProps(h,{style:{opacity:a=null==a?1:a}},u,d))),p?h.attr(s):x.updateProps(h,s,u,d),m.hasOwnProperty("z2")&&h.attr("z2",m.z2||0),m.hasOwnProperty("silent")&&h.attr("silent",m.silent),m.hasOwnProperty("invisible")&&h.attr("invisible",m.invisible),m.hasOwnProperty("ignore")&&h.attr("ignore",m.ignore),m.hasOwnProperty("info")&&h.attr("info",m.info),m=m.styleEmphasis,x.setElementHoverStyle(h,m),c&&x.setAsHighDownDispatcher(h,!1!==m),"group"===l&&function(t,e,n,i,r){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,n="byName"===s||n.diffChildrenByName,s=!1===s;if(a||n||s)if(n)!function(t){new v(t.oldChildren,t.newChildren,D,D,t).add(L).update(L).remove(O).execute()}({oldChildren:t.children()||[],newChildren:o||[],dataIndex:e,animatableModel:i,group:t,data:r});else{s&&t.removeAll();for(var l=0;l<a;l++)o[l]&&I(t.childAt(l),e,o[l],i,t,r)}}(t,e,n,i,o),r.add(t),t}}function D(t,e){t=t&&t.name;return null!=t?t:p+e}function L(t,e){var n=this.context,t=null!=t?n.newChildren[t]:null;I(null!=e?n.oldChildren[e]:null,n.dataIndex,t,n.animatableModel,n.group,n.data)}function k(n,t){var i=new o({},t);return y.each(d,function(t,e){n.hasOwnProperty(t)&&(i.option[e]=n[t])}),i}function N(t,e){for(var n in e)!e.hasOwnProperty(n)&&d.hasOwnProperty(n)||(t[n]=e[n])}function O(t){var e=this.context,t=e.oldChildren[t];t&&e.group.remove(t)}function P(t){return t&&(t.pathData||t.d)}function E(t,e){return t&&t.hasOwnProperty(e)}r.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(t,e){return i(this.getSource(),this)},getDataParams:function(t,e,n){var i=r.prototype.getDataParams.apply(this,arguments);return n&&(i.info=n.info),i}}),a.extend({type:"custom",_data:null,render:function(n,t,e,i){var r=this._data,o=n.getData(),a=this.group,s=f(n,o,t,e);o.diff(r).add(function(t){g(null,t,s(t,i),n,a,o)}).update(function(t,e){g(r.getItemGraphicEl(e),t,s(t,i),n,a,o)}).remove(function(t){t=r.getItemGraphicEl(t);t&&a.remove(t)}).execute();e=n.get("clip",!0)?l(n.coordinateSystem,!1,n):null;e?a.setClipPath(e):a.removeClipPath(),this._data=o},incrementalPrepareRender:function(t,e,n){this.group.removeAll(),this._data=null},incrementalRender:function(t,e,n,i,r){var o=e.getData(),a=f(e,o,n,i);function s(t){t.isGroup||(t.incremental=!0,t.useHoverLayer=!0)}for(var l=t.start;l<t.end;l++)g(null,l,a(l,r),e,this.group,o).traverse(s)},dispose:y.noop,filterForExposedEvent:function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;for(;(n=n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1}})},function(t,e,n){var o=n(1);function i(i,r){return r=r||[0,0],o.map(["x","y"],function(t,e){var n=this.getAxis(t),t=r[e],e=i[e]/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(t-e)-n.dataToCoord(t+e))},this)}t.exports=function(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:o.bind(i,e)}}}},function(t,e,n){var i=n(1);function r(o,a){return a=a||[0,0],i.map([0,1],function(t){var e=a[t],n=o[t]/2,i=[],r=[];return i[t]=e-n,r[t]=e+n,i[1-t]=r[1-t]=a[1-t],Math.abs(this.dataToPoint(i)[t]-this.dataToPoint(r)[t])},this)}t.exports=function(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(r,e)}}}},function(t,e,n){var i=n(1);function r(t,e){var n=this.getAxis(),e=e instanceof Array?e[0]:e,t=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(e-t)-n.dataToCoord(e+t))}t.exports=function(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(r,e)}}}},function(t,e,n){var s=n(1);function a(o,a){return s.map(["Radius","Angle"],function(t,e){var n=this["get"+t+"Axis"](),i=a[e],r=o[e]/2,e="dataTo"+t,r="category"===n.type?n.getBandWidth():Math.abs(n[e](i-r)-n[e](i+r));return r="Angle"===t?r*Math.PI/180:r},this)}t.exports=function(i){var r=i.getRadiusAxis(),o=i.getAngleAxis(),t=r.getExtent();return t[0]>t[1]&&t.reverse(),{coordSys:{type:"polar",cx:i.cx,cy:i.cy,r:t[1],r0:t[0]},api:{coord:s.bind(function(t){var e=r.dataToRadius(t[0]),n=o.dataToAngle(t[1]),t=i.coordToPoint([e,n]);return t.push(e,n*Math.PI/180),t}),size:s.bind(a,i)}}}},function(t,e){t.exports=function(n){var t=n.getRect(),e=n.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:n.getCellWidth(),cellHeight:n.getCellHeight(),rangeInfo:{start:e.start,end:e.end,weeks:e.weeks,dayCount:e.allDay}},api:{coord:function(t,e){return n.dataToPoint(t,e)}}}}},function(t,e,n){n(163),n(669),n(164)},function(t,e,n){var i=n(4),r=n(1),o=n(1036);n(357),n(1042),n(1044),n(164),n(1046),i.registerLayout(r.curry(o,"bar")),i.extendComponentView({type:"polar"})},function(t,e,n){var d=n(1),p=n(13).parsePercent,L=n(73).isDimensionStacked;function k(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function N(t,e){return e.dim+t.model.componentIndex}t.exports=function(t,e,n){var I={},D=function(t){var l={};d.each(t,function(t,e){var n=t.getData(),i=t.coordinateSystem,r=i.getBaseAxis(),o=N(i,r),a=r.getExtent(),s="category"===r.type?r.getBandWidth():Math.abs(a[1]-a[0])/n.count(),i=l[o]||{bandWidth:s,remainedWidth:s,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},r=i.stacks;l[o]=i;a=k(t);r[a]||i.autoWidthCount++,r[a]=r[a]||{width:0,maxWidth:0};n=p(t.get("barWidth"),s),o=p(t.get("barMaxWidth"),s),s=t.get("barGap"),t=t.get("barCategoryGap");n&&!r[a].width&&(n=Math.min(i.remainedWidth,n),r[a].width=n,i.remainedWidth-=n),o&&(r[a].maxWidth=o),null!=s&&(i.gap=s),null!=t&&(i.categoryGap=t)});var h={};return d.each(l,function(t,n){h[n]={};var e=t.stacks,i=t.bandWidth,i=p(t.categoryGap,i),r=p(t.gap,1),o=t.remainedWidth,a=t.autoWidthCount,s=(o-i)/(a+(a-1)*r),s=Math.max(s,0);d.each(e,function(t,e){var n=t.maxWidth;n&&n<s&&(n=Math.min(n,o),t.width&&(n=Math.min(n,t.width)),o-=n,t.width=n,a--)}),s=(o-i)/(a+(a-1)*r),s=Math.max(s,0);var l,u=0;d.each(e,function(t,e){t.width||(t.width=s),u+=(l=t).width*(1+r)}),l&&(u-=l.width*r);var c=-u/2;d.each(e,function(t,e){h[n][e]=h[n][e]||{offset:c,width:t.width},c+=t.width*(1+r)})}),h}(d.filter(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type}));e.eachSeriesByType(t,function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=N(n,i),o=k(t),r=D[r][o],a=r.offset,s=r.width,l=n.getOtherAxis(i),u=t.coordinateSystem.cx,c=t.coordinateSystem.cy,h=t.get("barMinHeight")||0,d=t.get("barMinAngle")||0;I[o]=I[o]||[];for(var p=e.mapDimension(l.dim),f=e.mapDimension(i.dim),g=L(e,p),m="radius"!==i.dim||!t.get("roundCap",!0),v="radius"===l.dim?l.dataToRadius(0):l.dataToAngle(0),y=0,x=e.count();y<x;y++){var _,b,S,A,M=e.get(p,y),w=e.get(f,y),C=0<=M?"p":"n",T=v;g&&(I[o][w]||(I[o][w]={p:v,n:v}),T=I[o][w][C]),"radius"===l.dim?(b=l.dataToRadius(M)-v,A=i.dataToAngle(w),S=(_=T)+(b=Math.abs(b)<h?(b<0?-1:1)*h:b),A=(b=A-a)-s,g&&(I[o][w][C]=S)):(M=l.dataToAngle(M,m)-v,S=(_=i.dataToRadius(w)+a)+s,A=(b=T)+(M=Math.abs(M)<d?(M<0?-1:1)*d:M),g&&(I[o][w][C]=A)),e.setItemLayout(y,{cx:u,cy:c,r0:_,r:S,startAngle:-b*Math.PI/180,endAngle:-A*Math.PI/180})}}},this)}},function(t,e,n){var i=n(1038),r=n(1039),n=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new i,this._angleAxis=new r,this._radiusAxis.polar=this._angleAxis.polar=this};n.prototype={type:"polar",axisPointerEnabled:!0,constructor:n,dimensions:["radius","angle"],model:null,containPoint:function(t){t=this.pointToCoord(t);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){t=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){t=this.pointToCoord(t);return[this._radiusAxis.radiusToData(t[0],e),this._angleAxis.angleToData(t[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),t=i.getExtent(),r=Math.min(t[0],t[1]),o=Math.max(t[0],t[1]);i.inverse?r=o-360:o=r+360;i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var a=Math.atan2(-n,e)/Math.PI*180,s=a<r?1:-1;a<r||o<a;)a+=360*s;return[i,a]},coordToPoint:function(t){var e=t[0],t=t[1]/180*Math.PI;return[Math.cos(t)*e+this.cx,-Math.sin(t)*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,t=e-this.cy,e=n*n+t*t,n=this.r,t=this.r0;return e<=n*n&&t*t<=e}}}},t.exports=n},function(t,e,n){var i=n(1),r=n(89);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),t.exports=o},function(t,e,n){var i=n(1),o=n(55),r=n(89),a=(0,n(17).makeInner)();function s(t,e){r.call(this,"angle",t,e=e||[0,360]),this.type="category"}s.prototype={constructor:s,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:r.prototype.dataToCoord,angleToData:r.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 r=n[0],e=this.dataToCoord(r+1)-this.dataToCoord(r),n=Math.abs(e),e=o.getBoundingRect(r,t.getFont(),"center","top"),r=Math.max(e.height,7)/n;isNaN(r)&&(r=1/0);t=Math.max(0,Math.floor(r)),e=a(this.model),n=e.lastAutoInterval,r=e.lastTickCount;return null!=n&&null!=r&&Math.abs(n-t)<=1&&Math.abs(r-i)<=1&&t<n?t=n:(e.lastTickCount=i,e.lastAutoInterval=t),t}},i.inherits(s,r),t.exports=s},function(t,e,n){var i=n(4);n(1041);i=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=i},function(t,e,n){var i=n(1),r=n(43),o=n(282),n=n(132),r=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(r.prototype,n);n={splitNumber:5};function a(t,e){return e.type||(e.data?"category":"value")}o("angle",r,a,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),o("radius",r,a,n)},function(t,e,n){n(357),n(1043)},function(t,e,n){var m=n(1),v=n(8),g=n(39),i=n(106),y=n(90),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function d(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),n=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:n[0],y2:n[1]}}function x(t){return t.getRadiusAxis().inverse?0:1}function u(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()}i=i.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){var n,i,r,o,a,s;this.group.removeAll(),e.get("show")&&(n=e.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),u(s=m.map(n.getViewLabels(),function(t){return(t=m.clone(t)).coord=n.dataToCoord(t.tickValue),t})),u(o),m.each(l,function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,i,o,a,r,s)},this))},_axisLine:function(t,e,n,i,r){var o=t.getModel("axisLine.lineStyle"),a=x(e),t=a?0:1,o=0===r[t]?new v.Circle({shape:{cx:e.cx,cy:e.cy,r:r[a]},style:o.getLineStyle(),z2:1,silent:!0}):new v.Ring({shape:{cx:e.cx,cy:e.cy,r:r[a],r0:r[t]},style:o.getLineStyle(),z2:1,silent:!0});o.style.fill=null,this.group.add(o)},_axisTick:function(t,e,n,i,r){var o=t.getModel("axisTick"),a=(o.get("inside")?-1:1)*o.get("length"),s=r[x(e)],n=m.map(n,function(t){return new v.Line({shape:d(e,[s,s+a],t.coord)})});this.group.add(v.mergePath(n,{style:m.defaults(o.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,i,r){if(i.length){for(var o=t.getModel("axisTick"),a=t.getModel("minorTick"),s=(o.get("inside")?-1:1)*a.get("length"),l=r[x(e)],u=[],c=0;c<i.length;c++)for(var h=0;h<i[c].length;h++)u.push(new v.Line({shape:d(e,[l,l+s],i[c][h].coord)}));this.group.add(v.mergePath(u,{style:m.defaults(a.getModel("lineStyle").getLineStyle(),m.defaults(o.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}))}))}},_axisLabel:function(l,u,t,e,c,n){var h=l.getCategories(!0),d=l.getModel("axisLabel"),p=d.get("margin"),f=l.get("triggerEvent");m.each(n,function(t,e){var n=d,i=t.tickValue,r=c[x(u)],o=u.coordToPoint([r+p,t.coord]),a=u.cx,s=u.cy,a=Math.abs(o[0]-a)/r<.3?"center":o[0]>a?"left":"right",s=Math.abs(o[1]-s)/r<.3?"middle":o[1]>s?"top":"bottom";h&&h[i]&&h[i].textStyle&&(n=new g(h[i].textStyle,d,d.ecModel));i=new v.Text({silent:y.isLabelSilent(l)});this.group.add(i),v.setTextStyle(i.style,n,{x:o[0],y:o[1],textFill:n.getTextColor()||l.get("axisLine.lineStyle.color"),text:t.formattedLabel,textAlign:a,textVerticalAlign:s}),f&&(i.eventData=y.makeAxisEventDataBase(l),i.eventData.targetType="axisLabel",i.eventData.value=t.rawLabel)},this)},_splitLine:function(t,e,n,i,r){for(var o=t.getModel("splitLine").getModel("lineStyle"),a=0,s=(s=o.get("color"))instanceof Array?s:[s],l=[],u=0;u<n.length;u++){var c=a++%s.length;l[c]=l[c]||[],l[c].push(new v.Line({shape:d(e,r,n[u].coord)}))}for(u=0;u<l.length;u++)this.group.add(v.mergePath(l[u],{style:m.defaults({stroke:s[u%s.length]},o.getLineStyle()),silent:!0,z:t.get("z")}))},_minorSplitLine:function(t,e,n,i,r){if(i.length){for(var o=t.getModel("minorSplitLine").getModel("lineStyle"),a=[],s=0;s<i.length;s++)for(var l=0;l<i[s].length;l++)a.push(new v.Line({shape:d(e,r,i[s][l].coord)}));this.group.add(v.mergePath(a,{style:o.getLineStyle(),silent:!0,z:t.get("z")}))}},_splitArea:function(t,e,n,i,r){if(n.length){for(var o=t.getModel("splitArea").getModel("areaStyle"),a=0,s=(s=o.get("color"))instanceof Array?s:[s],l=[],u=Math.PI/180,c=-n[0].coord*u,h=Math.min(r[0],r[1]),d=Math.max(r[0],r[1]),p=t.get("clockwise"),f=1;f<n.length;f++){var g=a++%s.length;l[g]=l[g]||[],l[g].push(new v.Sector({shape:{cx:e.cx,cy:e.cy,r0:h,r:d,startAngle:c,endAngle:-n[f].coord*u,clockwise:p},silent:!0})),c=-n[f].coord*u}for(f=0;f<l.length;f++)this.group.add(v.mergePath(l[f],{style:m.defaults({fill:s[f%s.length]},o.getAreaStyle()),silent:!0}))}}});t.exports=i},function(t,e,n){n(357),n(1045)},function(t,e,n){var d=n(1),p=n(8),h=n(90),n=n(106),f=["axisLine","axisTickLabel","axisName"],g=["splitLine","splitArea","minorSplitLine"],n=n.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){var n,i,r,o,a,s,l,u,c;this.group.removeAll(),e.get("show")&&(n=e.axis,l=(i=n.polar).getAngleAxis(),r=n.getTicksCoords(),o=n.getMinorTicksCoords(),a=l.getExtent()[0],s=n.getExtent(),c=e,u=a,c={position:[(l=i).cx,l.cy],rotation:u/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:c.getModel("axisLabel").get("rotate"),z2:1},c=new h(e,c),d.each(f,c.add,c),this.group.add(c.getGroup()),d.each(g,function(t){e.get(t+".show")&&!n.scale.isBlank()&&this["_"+t](e,i,a,s,r,o)},this))},_splitLine:function(t,e,n,i,r){for(var o=t.getModel("splitLine").getModel("lineStyle"),a=0,s=(s=o.get("color"))instanceof Array?s:[s],l=[],u=0;u<r.length;u++){var c=a++%s.length;l[c]=l[c]||[],l[c].push(new p.Circle({shape:{cx:e.cx,cy:e.cy,r:r[u].coord}}))}for(u=0;u<l.length;u++)this.group.add(p.mergePath(l[u],{style:d.defaults({stroke:s[u%s.length],fill:null},o.getLineStyle()),silent:!0}))},_minorSplitLine:function(t,e,n,i,r,o){if(o.length){for(var t=t.getModel("minorSplitLine").getModel("lineStyle"),a=[],s=0;s<o.length;s++)for(var l=0;l<o[s].length;l++)a.push(new p.Circle({shape:{cx:e.cx,cy:e.cy,r:o[s][l].coord}}));this.group.add(p.mergePath(a,{style:d.defaults({fill:null},t.getLineStyle()),silent:!0}))}},_splitArea:function(t,e,n,i,r){if(r.length){for(var o=t.getModel("splitArea").getModel("areaStyle"),a=0,s=(s=o.get("color"))instanceof Array?s:[s],l=[],u=r[0].coord,c=1;c<r.length;c++){var h=a++%s.length;l[h]=l[h]||[],l[h].push(new p.Sector({shape:{cx:e.cx,cy:e.cy,r0:u,r:r[c].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),u=r[c].coord}for(c=0;c<l.length;c++)this.group.add(p.mergePath(l[c],{style:d.defaults({fill:s[c%s.length]},o.getAreaStyle()),silent:!0}))}}});t.exports=n},function(t,e,n){var h=n(26),i=n(342),d=n(8),p=n(284),f=n(52),g=n(90),n=n(106),i=i.extend({makeElOption:function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a,s=o.polar,l=s.getOtherAxis(o).getExtent(),u=o["dataTo"+h.capitalFirst(o.dim)](e),c=i.get("type");c&&"none"!==c&&(a=p.buildElStyle(i),(l=m[c](o,s,u,l,a)).style=a,t.graphicKey=l.type,t.pointer=l);s=function(t,e,n,i){var r=e.axis,o=r.dataToCoord(t),a=n.getAngleAxis().getExtent()[0];a=a/180*Math.PI;var s,t=n.getRadiusAxis().getExtent();{var l,u;u="radius"===r.dim?(l=f.create(),f.rotate(l,l,a),f.translate(l,l,[n.cx,n.cy]),s=d.applyTransform([o,-i],l),l=e.getModel("axisLabel").get("rotate")||0,a=g.innerTextLayout(a,l*Math.PI/180,-1),l=a.textAlign,a.textVerticalAlign):(t=t[1],s=n.coordToPoint([t+i,o]),o=n.cx,u=n.cy,l=Math.abs(s[0]-o)/t<.3?"center":s[0]>o?"left":"right",Math.abs(s[1]-u)/t<.3?"middle":s[1]>u?"top":"bottom")}return{position:s,align:l,verticalAlign:u}}(e,n,s,i.get("label.margin"));p.buildLabelElOption(t,n,i,r,s)}});var m={line:function(t,e,n,i,r){return"angle"===t.dim?{type:"Line",shape:p.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()),a=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:p.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-o/2)*a,(o/2-n)*a)}:{type:"Sector",shape:p.makeSectorShape(e.cx,e.cy,n-o/2,n+o/2,0,2*Math.PI)}}};n.registerAxisPointerClass("PolarAxisPointer",i),t.exports=i},function(t,e,n){var i=n(4),o=n(1);function r(r,t){t.update="updateView",i.registerAction(t,function(n,t){var i={};return t.eachComponent({mainType:"geo",query:n},function(e){e[r](n.name);var t=e.coordinateSystem;o.each(t.regions,function(t){i[t.name]=e.isSelected(t.name)||!1})}),{selected:i,name:n.name}})}n(1048),n(350),n(1049),n(682),r("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),r("select",{type:"geoSelect",event:"geoselected"}),r("unSelect",{type:"geoUnSelect",event:"geounselected"})},function(t,e,n){var i=n(1),r=n(17),o=n(43),a=n(39),s=n(346),l=n(350),n=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,n=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=i.reduce(t.regions||[],function(t,e){return e.name&&t.set(e.name,new a(e,n)),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(n,s),t.exports=n},function(t,e,n){var i=n(680),n=n(4).extendComponentView({type:"geo",init:function(t,e){e=new i(e,!0);this._mapDraw=e,this.group.add(e.group)},render:function(t,e,n,i){var r;i&&"geoToggleSelect"===i.type&&i.from===this.uid||(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=n},function(t,e,n){n(1051),n(1052),n(1053)},function(t,e,n){var u=n(1),c=n(21),o=n(13),n=n(66);function i(t,e,n){this._model=t}function r(t,e,n,i){var r=n.calendarModel,n=n.seriesModel,n=r?r.coordinateSystem:n?n.coordinateSystem:null;return n===this?n[t](i):null}i.prototype={constructor:i,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=(n=t.getMonth()+1)<10?"0"+n:n,i=(i=t.getDate())<10?"0"+i:i,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,i=["width","height"],r=this._model.get("cellSize").slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];u.each([0,1],function(t){l(r,t)&&(o[i[t]]=r[t]*a[t])});var e={width:e.getWidth(),height:e.getHeight()},s=this._rect=c.getLayoutRect(o,e);function l(t,e){return null!=t[e]&&"auto"!==t[e]}u.each([0,1],function(t){l(r,t)||(r[t]=s[i[t]]/a[t])}),this._sw=r[0],this._sh=r[1]},dataToPoint:function(t,e){u.isArray(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,t=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+864e5))return[NaN,NaN];n=n.day,t=this._getRangeInfo([i.start.time,t]).nthWeek;return"vertical"===this._orient?[this._rect.x+n*this._sw+this._sw/2,this._rect.y+t*this._sh+this._sh/2]:[this._rect.x+t*this._sw+this._sw/2,this._rect.y+n*this._sh+this._sh/2]},pointToData:function(t){t=this.pointToDate(t);return t&&t.time},dataToRect:function(t,e){e=this.dataToPoint(t,e);return{contentShape:{x:e[0]-(this._sw-this._lineWidth)/2,y:e[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:e,tl:[e[0]-this._sw/2,e[1]-this._sh/2],tr:[e[0]+this._sw/2,e[1]-this._sh/2],br:[e[0]+this._sw/2,e[1]+this._sh/2],bl:[e[0]-this._sw/2,e[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,t=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,t):this._getDateByWeeksAndDay(e,n-1,t)},convertToPixel:u.curry(r,"dataToPoint"),convertFromPixel:u.curry(r,"pointToData"),_initRangeOption:function(){var t,e,n=this._model.get("range"),i=n;u.isArray(i)&&1===i.length&&(i=i[0]),/^\d{4}$/.test(i)&&(n=[i+"-01-01",i+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(i)&&((e=(t=this.getDateInfo(i)).date).setMonth(e.getMonth()+1),e=this.getNextNDay(e,-1),n=[t.formatedDate,e.formatedDate]),/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(i)&&(n=[i,i]);i=this._getRangeInfo(n);return i.start.time>i.end.time&&n.reverse(),n},_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=0<i.getTime()-t[1].time?1:-1;(a=i.getDate())!==o&&0<(i.getTime()-t[1].time)*s;)n-=s,i.setDate(a-s);var l=Math.floor((n+t[0].day+6)/7),r=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:r,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){n=this._getRangeInfo(n);if(t>n.weeks||0===t&&e<n.fweek||t===n.weeks&&e>n.lweek)return!1;t=7*(t-1)-n.fweek+e,e=new Date(n.start.time);return e.setDate(n.start.d+t),this.getDateInfo(e)}},i.dimensions=i.prototype.dimensions,i.getDimensionsInfo=i.prototype.getDimensionsInfo,i.create=function(t,e){var n=[];return t.eachComponent("calendar",function(t){var e=new i(t);n.push(e),t.coordinateSystem=e}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])}),n},n.register("calendar",i),t.exports=i},function(t,e,n){var r=n(1),i=n(43),n=n(21),o=n.getLayoutParams,a=n.sizeCalculable,s=n.mergeLayoutParam,l=i.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=o(t);l.superApply(this,"init",arguments),u(t,r)},mergeOption:function(t,e){l.superApply(this,"mergeOption",arguments),u(this.option,t)}});function u(t,e){var n=t.cellSize;r.isArray(n)?1===n.length&&(n[1]=n[0]):n=t.cellSize=[n,n];var i=r.map([0,1],function(t){return a(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]});s(t,e,{type:"box",ignoreSize:i})}t.exports=l},function(t,e,n){var i=n(4),m=n(1),v=n(8),r=n(26),y=n(13),x={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},_={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},i=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(),r=r.getOrient();this._renderDayRect(t,o,i),this._renderLines(t,o,r,i),this._renderYearText(t,o,r,i),this._renderMonthText(t,r,i),this._renderWeekText(t,o,r,i)},_renderDayRect:function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,l=new v.Rect({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(l)}},_renderLines:function(e,t,n,i){var r=this,o=e.coordinateSystem,a=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){d(u.formatedDate);var h=(u=0===c?o.getDateInfo(t.start.y+"-"+t.start.m):u).date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function d(t){r._firstDayOfMonth.push(o.getDateInfo(t)),r._firstDayPoints.push(o.dataToRect([t],!1).tl);t=r._getLinePointsOfOneWeek(e,t,n);r._tlpoints.push(t[0]),r._blpoints.push(t[t.length-1]),s&&r._drawSplitline(t,a,i)}d(o.getNextNDay(t.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){t=[t[0].slice(),t[t.length-1].slice()],n="horizontal"===n?0:1;return t[0][n]=t[0][n]-e/2,t[1][n]=t[1][n]+e/2,t},_drawSplitline:function(t,e,n){e=new v.Polyline({z2:20,shape:{points:t},style:e});n.add(e)},_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?r.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;r=0;return{rotation:r="left"===i||"right"===i?Math.PI/2:r,position:e,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(t,e,n,i){var r,o,a,s,l,u=t.getModel("yearLabel");u.get("show")&&(r=u.get("margin"),o=(o=u.get("position"))||("horizontal"!==n?"top":"left"),a=((s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]])[0][0]+s[1][0])/2,l=(s[0][1]+s[1][1])/2,s={top:[a,s[t="horizontal"===n?0:1][1]],bottom:[a,s[1-t][1]],left:[s[1-t][0],l],right:[s[t][0],l]},t=e.start.y,+e.end.y>+e.start.y&&(t=t+"-"+e.end.y),l=u.get("formatter"),t={start:e.start.y,end:e.end.y,nameMap:t},l=this._formatterLabel(l,t),t=new v.Text({z2:30}),v.setTextStyle(t.style,u,{text:l}),t.attr(this._yearTextPositionControl(t,s[o],n,o,r)),i.add(t))},_monthTextPositionControl:function(t,e,n,i,r){var o="left",a="top",s=t[0],t=t[1];return"horizontal"===n?(t+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:t,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show")){var r=i.get("nameMap"),o=i.get("margin"),a=i.get("position"),t=i.get("align"),s=[this._tlpoints,this._blpoints];m.isString(r)&&(r=x[r.toUpperCase()]||[]);for(var l="start"===a?0:1,u="horizontal"===e?0:1,o="start"===a?-o:o,c="center"===t,h=0;h<s[l].length-1;h++){var d=s[l][h].slice(),p=this._firstDayOfMonth[h];c&&(g=this._firstDayPoints[h],d[u]=(g[u]+s[0][h+1][u])/2);var f=i.get("formatter"),g=r[+p.m-1],g={yyyy:p.y,yy:(p.y+"").slice(2),MM:p.m,M:+p.m,nameMap:g},f=this._formatterLabel(f,g),g=new v.Text({z2:30});m.extend(v.setTextStyle(g.style,i,{text:f}),this._monthTextPositionControl(d,c,e,a,o)),n.add(g)}}},_weekTextPositionControl:function(t,e,n,i,r){var o="center",a="middle",s=t[0],t=t[1],n="start"===n;return"horizontal"===e?(s=s+i+(n?1:-1)*r[0]/2,o=n?"right":"left"):(t=t+i+(n?1:-1)*r[1]/2,a=n?"bottom":"top"),{x:s,y:t,textAlign:o,textVerticalAlign:a}},_renderWeekText:function(t,e,n,i){var r=t.getModel("dayLabel");if(r.get("show")){var o=t.coordinateSystem,a=r.get("position"),s=r.get("nameMap"),l=r.get("margin"),u=o.getFirstDayOfWeek();m.isString(s)&&(s=_[s.toUpperCase()]||[]);var c=o.getNextNDay(e.end.time,7-e.lweek).time,h=[o.getCellWidth(),o.getCellHeight()],l=y.parsePercent(l,h["horizontal"===n?0:1]);"start"===a&&(c=o.getNextNDay(e.start.time,-(7+e.fweek)).time,l=-l);for(var d=0;d<7;d++){var p=o.getNextNDay(c,d),f=o.dataToRect([p.time],!1).center,g=Math.abs((d+u)%7),p=new v.Text({z2:30});m.extend(v.setTextStyle(p.style,r,{text:s[g]}),this._weekTextPositionControl(f,n,a,l,h)),i.add(p)}}}});t.exports=i},function(t,e,n){n(20).__DEV__;var i=n(4),c=n(1),r=n(17),o=n(8),p=n(21),f=n(13).parsePercent,a={path:null,compoundPath:null,group:o.Group,image:o.Image,text:o.Text};i.registerPreprocessor(function(t){var e=t.graphic;c.isArray(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])});var s=i.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(t){var e=this.option.elements;this.option.elements=null,s.superApply(this,"mergeOption",arguments),this.option.elements=e},optionUpdated:function(t,e){var n=this.option,t=(e?n:t).elements,l=n.elements=e?[]:n.elements,n=[];this._flatten(t,n);n=r.mappingToExists(l,n);r.makeIdAndName(n);var u=this._elOptionsToUpdate=[];c.each(n,function(t,e){var n,i,r,o,a,s=t.option;s&&(u.push(s),function(t,e){var n=t.exist;e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId&&((t=e.parentOption)?e.parentId=t.id:n&&(e.parentId=n.parentId));e.parentOption=null}(t,s),n=l,i=e,r=s,o=c.extend({},r),a=n[i],"merge"===(t=r.$action||"merge")?a?(c.merge(a,o,!0),p.mergeLayoutParam(a,o,{ignoreSize:!0}),p.copyLayoutParams(r,a)):n[i]=o:"replace"===t?n[i]=o:"remove"===t&&a&&(n[i]=null),e=l[e],s=s,e&&(e.hv=s.hv=[g(s,["left","right"]),g(s,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=s.width=0),null==e.height&&(e.height=s.height=0))))},this);for(var i=l.length-1;0<=i;i--)null==l[i]?l.splice(i,1):delete l[i].$action},_flatten:function(t,n,i){c.each(t,function(t){var e;t&&(i&&(t.parentOption=i),n.push(t),e=t.children,"group"===t.type&&e&&this._flatten(e,n,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,n=new(a.hasOwnProperty(r)?a[r]:o.getShapeClass(r))(n);e.add(n),i.set(t,n),n.__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 g(e,t){var n;return c.each(t,function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)}),n}i.extendComponentView({type:"graphic",init:function(t,e){this._elMap=c.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(s){var l,u,t=s.useElOptionsToUpdate();t&&(l=this._elMap,u=this.group,c.each(t,function(t){var e=t.$action,n=t.id,i=l.get(n),r=t.parentId,o=null!=r?l.get(r):u,r=t.style;"text"===t.type&&r&&(t.hv&&t.hv[1]&&(r.textVerticalAlign=r.textBaseline=null),!r.hasOwnProperty("textFill")&&r.fill&&(r.textFill=r.fill),!r.hasOwnProperty("textStroke")&&r.stroke&&(r.textStroke=r.stroke));var a,r=(a=t,a=c.extend({},a),c.each(["id","parentId","$action","hv","bounding"].concat(p.LOCATION_PARAMS),function(t){delete a[t]}),a);e&&"merge"!==e?"replace"===e?(d(i,l),h(n,o,r,l)):"remove"===e&&d(i,l):i?i.attr(r):h(n,o,r,l);n=l.get(n);n&&(n.__ecGraphicWidthOption=t.width,n.__ecGraphicHeightOption=t.height,function(t,e){var n=t.eventData;t.silent||t.ignore||n||(n=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});n&&(n.info=t.info)}(n,s))}))},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),s=0;s<n.length;s++){var l,u=n[s];(c=r.get(u.id))&&c.isGroup&&(l=(h=c.parent)===i,c.__ecGraphicWidth=f(c.__ecGraphicWidthOption,l?o:h.__ecGraphicWidth)||0,c.__ecGraphicHeight=f(c.__ecGraphicHeightOption,l?a:h.__ecGraphicHeight)||0)}for(s=n.length-1;0<=s;s--){var c,h,d,u=n[s];(c=r.get(u.id))&&(d=(h=c.parent)===i?{width:o,height:a}:{width:h.__ecGraphicWidth,height:h.__ecGraphicHeight},p.positionElement(c,u,d,null,{hv:u.hv,boundingMode:u.bounding}))}},_clear:function(){var e=this._elMap;e.each(function(t){d(t,e)}),this._elMap=c.createHashMap()},dispose:function(){this._clear()}})},function(t,e,n){n(1056),n(1057),n(1058),n(1059),n(1060),n(1061),n(1066)},function(t,e,n){var i=n(4),r=n(1),o=n(91),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){e=o.get(e);e&&r.merge(t,e.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}}});t.exports=a},function(t,e,n){var i=n(4),g=n(1),u=n(55),m=n(91),v=n(8),y=n(39),r=n(105),x=n(672),i=i.extendComponentView({type:"toolbox",render:function(c,h,d,o){var p,a,s,l,f=this.group;function t(t,e){var n,i=l[t],r=l[e],t=a[i],e=new y(t,c,c.ecModel);if(o&&null!=o.newTitle&&o.featureName===i&&(t.title=o.newTitle),i&&!r){if(0===i.indexOf("my"))n={model:e,onclick:e.option.onclick,featureName:i};else{t=m.get(i);if(!t)return;n=new t(e,h,d)}s[i]=n}else{if(!(n=s[r]))return;n.model=e,n.ecModel=h,n.api=d}i||!r?e.get("show")&&!n.unusable?(function(i,r,t){var o=i.getModel("iconStyle"),a=i.getModel("emphasis.iconStyle"),e=r.getIcons?r.getIcons():i.get("icon"),s=i.get("title")||{};{var n,l;"string"==typeof e&&(n=e,l=s,s={},(e={})[t]=n,s[t]=l)}var u=i.iconPaths={};g.each(e,function(t,e){var n=v.createIcon(t,{},{x:-p/2,y:-p/2,width:p,height:p});n.setStyle(o.getItemStyle()),n.hoverStyle=a.getItemStyle(),n.setStyle({text:s[e],textAlign:a.get("textAlign"),textBorderRadius:a.get("textBorderRadius"),textPadding:a.get("textPadding"),textFill:null});t=c.getModel("tooltip");t&&t.get("show")&&n.attr("tooltip",g.extend({content:s[e],formatter:t.get("formatter",!0)||function(){return s[e]},formatterParams:{componentType:"toolbox",name:e,title:s[e],$vars:["name","title"]},position:t.get("position",!0)||"bottom"},t.option)),v.setHoverStyle(n),c.get("showTitle")&&(n.__title=s[e],n.on("mouseover",function(){var t=a.getItemStyle(),e="vertical"===c.get("orient")?null==c.get("right")?"right":"left":null==c.get("bottom")?"bottom":"top";n.setStyle({textFill:a.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:a.get("textBackgroundColor"),textPosition:a.get("textPosition")||e})}).on("mouseout",function(){n.setStyle({textFill:null,textBackgroundColor:null})})),n.trigger(i.get("iconStatus."+e)||"normal"),f.add(n),n.on("click",g.bind(r.onclick,r,h,d,e)),u[e]=n})}(e,n,i),e.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)},n.render&&n.render(e,h,d,o)):n.remove&&n.remove(h,d):n.dispose&&n.dispose(h,d)}f.removeAll(),c.get("show")&&(p=+c.get("itemSize"),a=c.get("feature")||{},s=this._features||(this._features={}),l=[],g.each(a,function(t,e){l.push(e)}),new r(this._featureNames||[],l).add(t).update(t).remove(g.curry(t,null)).execute(),this._featureNames=l,x.layout(f,c,d),f.add(x.makeBackground(f.getBoundingRect(),c)),f.eachChild(function(t){var e,n,i=t.__title,r=t.hoverStyle;r&&i&&(e=u.getBoundingRect(i,u.makeFont(r)),n=t.position[0]+f.position[0],i=!1,t.position[1]+f.position[1]+p+e.height>d.getHeight()&&(r.textPosition="top",i=!0),i=i?-5-e.height:p+8,n+e.width/2>d.getWidth()?(r.textPosition=["100%",i],r.textAlign="right"):n-e.width/2<0&&(r.textPosition=[0,i],r.textAlign="left"))}))},updateView:function(t,e,n,i){g.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,n,i)})},remove:function(e,n){g.each(this._features,function(t){t.remove&&t.remove(e,n)}),this.group.removeAll()},dispose:function(e,n){g.each(this._features,function(t){t.dispose&&t.dispose(e,n)})}});t.exports=i},function(t,e,n){var u=n(38),i=n(88),n=n(91),i=i.toolbox.saveAsImage;function r(t){this.model=t}r.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:i.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:i.lang.slice()},r.prototype.unusable=!u.canvasSupported,r.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType()?"svg":n.get("type",!0)||"png",e=e.getConnectedDataURL({type:r,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||u.browser.ie||u.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var o=atob(e.split(",")[1]),a=o.length,s=new Uint8Array(a);a--;)s[a]=o.charCodeAt(a);t=new Blob([s]);window.navigator.msSaveOrOpenBlob(t,i+"."+r)}else{var l=n.get("lang"),l='<body style="margin:0;"><img src="'+e+'" style="max-width:100%;" title="'+(l&&l[0]||"")+'" /></body>';window.open().document.write(l)}else{l=document.createElement("a");l.download=i+"."+r,l.target="_blank",l.href=e;e=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(e)}},n.register("saveAsImage",r),t.exports=r},function(t,e,n){var i=n(4),c=n(1),r=n(88),n=n(91),o=r.toolbox.magicType,h="__ec_magicType_stack__";function a(t){this.model=t}a.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:c.clone(o.title),option:{},seriesIndex:{}};r=a.prototype;r.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return c.each(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n};var d={line:function(t,e,n,i){if("bar"===t)return c.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 c.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){n=n.get("stack")===h;if("line"===t||"bar"===t)return i.setIconStatus("stack",n?"normal":"emphasis"),c.merge({id:e,stack:n?"":h},i.get("option.stack")||{},!0)}},p=[["line","bar"],["stack"]];r.onclick=function(a,t,s){var l,e,u=this.model,n=u.get("seriesIndex."+s);d[s]&&(l={series:[]},c.each(p,function(t){0<=c.indexOf(t,s)&&c.each(t,function(t){u.setIconStatus(t,"normal")})}),u.setIconStatus(s,"emphasis"),a.eachComponent({mainType:"series",query:null==n?null:{seriesIndex:n}},function(t){var e=t.subType,n=t.id,n=d[s](e,n,t,u);n&&(c.defaults(n,t.option),l.series.push(n));n=t.coordinateSystem;if(n&&"cartesian2d"===n.type&&("line"===s||"bar"===s)){n=n.getAxesByScale("ordinal")[0];if(n){var i=n.dim+"Axis",r=a.queryComponents({mainType:i,index:t.get(name+"Index"),id:t.get(name+"Id")})[0].componentIndex;l[i]=l[i]||[];for(var o=0;o<=r;o++)l[i][r]=l[i][r]||{};l[i][r].boundaryGap="bar"===s}}}),"stack"===s&&(e=l.series&&l.series[0]&&l.series[0].stack===h?c.merge({stack:o.title.tiled},o.title):c.clone(o.title)),t.dispatchAction({type:"changeMagicType",currentType:s,newOption:l,newTitle:e,featureName:"magicType"}))},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),n.register("magicType",a),t.exports=a},function(t,e,n){var i=n(4),m=n(1),v=n(70),r=n(88),n=n(91),r=r.toolbox.dataView,s=new Array(60).join("-"),h="\t";function y(t){var r,o,a,c,e=(r={},o=[],a=[],t.eachRawSeries(function(t){var e,n,i=t.coordinateSystem;i&&("cartesian2d"===i.type||"polar"===i.type)&&"category"===(e=i.getBaseAxis()).type?(n=e.dim+"_"+e.index,r[n]||(r[n]={categoryAxis:e,valueAxis:i.getOtherAxis(e),series:[]},a.push({axisDim:e.dim,axisIndex:e.index})),r[n].series.push(t)):o.push(t)}),{seriesGroupByCategoryAxis:r,other:o,meta:a});return{value:m.filter([(t=e.seriesGroupByCategoryAxis,c=[],m.each(t,function(t,e){var n=t.categoryAxis,i=t.valueAxis.dim,r=[" "].concat(m.map(t.series,function(t){return t.name})),o=[n.model.getCategories()];m.each(t.series,function(t){var e=t.getRawData();o.push(t.getRawData().mapArray(e.mapDimension(i),function(t){return t}))});for(var a=[r.join(h)],s=0;s<o[0].length;s++){for(var l=[],u=0;u<o.length;u++)l.push(o[u][s]);a.push(l.join(h))}c.push(a.join("\n"))}),c.join("\n\n"+s+"\n\n")),(t=e.other,m.map(t,function(t){var i=t.getRawData(),r=[t.name],o=[];return i.each(i.dimensions,function(){for(var t=arguments.length,e=i.getName(arguments[t-1]),n=0;n<t-1;n++)o[n]=arguments[n];r.push((e?e+h:"")+o.join(h))}),r.join("\n")}).join("\n\n"+s+"\n\n"))],function(t){return t.replace(/[\n\t\s]/g,"")}).join("\n\n"+s+"\n\n"),meta:e.meta}}function u(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var c=new RegExp("["+h+"]+","g");function x(t,r){var t=t.split(new RegExp("\n*"+s+"\n*","g")),o={series:[]};return m.each(t,function(t,e){var n,i;0<=(i=t).slice(0,i.indexOf("\n")).indexOf(h)?(n=function(t){for(var e=t.split(/\n+/g),t=u(e.shift()).split(c),n=[],i=m.map(t,function(t){return{name:t,data:[]}}),r=0;r<e.length;r++){var o=u(e[r]).split(c);n.push(o.shift());for(var a=0;a<o.length;a++)i[a]&&(i[a].data[r]=o[a])}return{series:i,categories:n}}(t),e=(i=r[e]).axisDim+"Axis",i&&(o[e]=o[e]||[],o[e][i.axisIndex]={data:n.categories},o.series=o.series.concat(n.series))):(n=function(t){for(var e=t.split(/\n+/g),t=u(e.shift()),n=[],i=0;i<e.length;i++){var r=u(e[i]);if(r){for(var o,a=r.split(c),r=!1,s=isNaN(a[0])?(r=!0,o=a[0],a=a.slice(1),n[i]={name:o,value:[]},n[i].value):n[i]=[],l=0;l<a.length;l++)s.push(+a[l]);1===s.length&&(r?n[i].value=s[0]:n[i]=s[0])}}return{name:t,data:n}}(t),o.series.push(n))}),o}function o(t){this._dom=null,this.model=t}o.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:m.clone(r.title),lang:m.clone(r.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},o.prototype.onclick=function(t,e){var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=i.get("lang")||[];o.innerHTML=a[0]||i.get("title"),o.style.cssText="margin: 10px 20px;",o.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="display:block;width:100%;overflow:auto;";var u=i.get("optionToContent"),c=i.get("contentToOption"),h=y(t);"function"==typeof u?"string"==typeof(p=u(e.getOption()))?s.innerHTML=p:m.isDom(p)&&s.appendChild(p):(s.appendChild(l),l.readOnly=i.get("readOnly"),l.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",l.style.color=i.get("textColor"),l.style.borderColor=i.get("textareaBorderColor"),l.style.backgroundColor=i.get("textareaColor"),l.value=h.value);var d=h.meta,t=document.createElement("div");t.style.cssText="position:absolute;bottom:0;left:0;right:0;";var u="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",p=document.createElement("div"),h=document.createElement("div");u+=";background-color:"+i.get("buttonColor"),u+=";color:"+i.get("buttonTextColor");var f=this;function g(){n.removeChild(r),f._dom=null}v.addEventListener(p,"click",g),v.addEventListener(h,"click",function(){var t;try{t="function"==typeof c?c(s,e.getOption()):x(l.value,d)}catch(t){throw g(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),g()}),p.innerHTML=a[1],h.innerHTML=a[2],h.style.cssText=u,p.style.cssText=u,i.get("readOnly")||t.appendChild(h),t.appendChild(p),r.appendChild(o),r.appendChild(s),r.appendChild(t),s.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},o.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},o.prototype.dispose=function(t,e){this.remove(t,e)},n.register("dataView",o),i.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,r){var o=[];m.each(t.newOption.series,function(t){var e,i,n=r.getSeriesByName(t.name)[0];n?(e=n.get("data"),o.push({name:t.name,data:(n=t.data,i=e,m.map(n,function(t,e){var n=i&&i[e];if(!m.isObject(n)||m.isArray(n))return t;m.isObject(t)&&!m.isArray(t)||(t={value:t});e=null!=n.name&&null==t.name;return t=m.defaults(t,n),e&&delete t.name,t}))})):o.push(m.extend({type:"scatter"},t))}),r.mergeOption(m.defaults({series:o},t.newOption))}),t.exports=o},function(t,e,n){var i=n(4),l=n(1),r=n(356),a=n(705),o=n(706),u=n(134),s=n(88),c=n(91);n(1062);var s=s.toolbox.dataZoom,h=l.each;function d(t,e,n){(this._brushController=new r(n.getZr())).on("brush",l.bind(this._onBrush,this)).mount(),this._isZoomActive}d.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:l.clone(s.title),brushStyle:{borderWidth:0,color:"rgba(0,0,0,0.2)"}};s=d.prototype;s.render=function(t,e,n,i){this.model=t,this.ecModel=e,this.api=n,function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");e=new a(f(t.option),e,{include:["grid"]});n._brushController.setPanels(e.makePanelOpts(r,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"})).enableBrush(!!o&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),e=e,t.setIconStatus("back",1<o.count(e)?"emphasis":"normal")},s.onclick=function(t,e,n){p[n].call(this)},s.remove=function(t,e){this._brushController.unmount()},s.dispose=function(t,e){this._brushController.dispose()};var p={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(o.pop(this.ecModel))}};function f(e){var n={};return l.each(["xAxisIndex","yAxisIndex"],function(t){n[t]=e[t],null==n[t]&&(n[t]="all"),!1!==n[t]&&"none"!==n[t]||(n[t]=[])}),n}s._onBrush=function(t,e){var s,l;function i(t,e,n){var i,r,o,a=e.getAxis(t),e=a.model,t=(i=t,r=e,l.eachComponent({mainType:"dataZoom",subType:"select"},function(t){t.getAxisModel(i,r.componentIndex)&&(o=t)}),o),e=t.findRepresentativeAxisProxy(e).getMinMaxSpan();null==e.minValueSpan&&null==e.maxValueSpan||(n=u(0,n.slice(),a.scale.getExtent(),0,e.minValueSpan,e.maxValueSpan)),t&&(s[t.id]={dataZoomId:t.id,startValue:n[0],endValue:n[1]})}e.isEnd&&t.length&&(s={},l=this.ecModel,this._brushController.updateCovers([]),new a(f(this.model.option),l,{include:["grid"]}).matchOutputRanges(t,l,function(t,e,n){"cartesian2d"===n.type&&("rect"===(t=t.brushType)?(i("x",n,e[0]),i("y",n,e[1])):i({lineX:"x",lineY:"y"}[t],n,e))}),o.push(l,s),this._dispatchZoomAction(s))},s._dispatchZoomAction=function(t){var n=[];h(t,function(t,e){n.push(l.clone(t))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},c.register("dataZoom",d),i.registerPreprocessor(function(n){var s,t;function e(i,r){var o,a;r&&(null==(a=r[o=i+"Index"])||"all"===a||l.isArray(a)||(a=!1===a||"none"===a?[]:[a]),function(t,e){t=n[t];l.isArray(t)||(t=t?[t]:[]);h(t,e)}(i,function(t,e){var n;null!=a&&"all"!==a&&-1===l.indexOf(a,e)||((n={type:"select",$fromToolbox:!0,filterMode:r.filterMode||"filter",id:"\0_ec_\0toolbox-dataZoom_"+i+e})[o]=e,s.push(n))}))}n&&(s=n.dataZoom||(n.dataZoom=[]),l.isArray(s)||(n.dataZoom=s=[s]),(t=(t=n.toolbox)&&(l.isArray(t)?t[0]:t))&&t.feature&&(e("xAxis",t=t.feature.dataZoom),e("yAxis",t)))}),t.exports=d},function(t,e,n){n(358),n(135),n(136),n(1064),n(1065),n(360),n(361)},function(t,e,n){var i=n(1),d=n(13),r=n(359),p=n(134),f=i.each,g=d.asc,n=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 s(t,e){var n=t.getAxisModel(),i=t._percentWindow,r=t._valueWindow;i&&(t=d.getPixelPrecision(r,[0,500]),t=Math.min(t,20),i=e||0===i[0]&&100===i[1],n.setRange(i?null:+r[0].toFixed(t),i?null:+r[1].toFixed(t)))}n.prototype={constructor:n,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var n=[],i=this.ecModel;return i.eachSeries(function(t){var e;r.isCoordSupported(t.get("coordinateSystem"))&&(e=this._dimName,e=i.queryComponents({mainType:e+"Axis",index:t.get(e+"AxisIndex"),id:t.get(e+"AxisId")})[0],this._axisIndex===(e&&e.componentIndex)&&n.push(t))},this),n},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,n,t=this._dimName,i=this.ecModel,r=this.getAxisModel(),t="x"===t||"y"===t?(e="gridIndex","x"===t?"y":"x"):(e="polarIndex","angle"===t?"radius":"angle");return i.eachComponent(t+"Axis",function(t){(t.get(e)||0)===(r.get(e)||0)&&(n=t)}),n},getMinMaxSpan:function(){return i.clone(this._minMaxSpan)},calculateDataWindow:function(i){var r,o=this._dataExtent,s=this.getAxisModel().axis.scale,a=this._dataZoomModel.getRangePropMode(),l=[0,100],u=[],c=[];f(["start","end"],function(t,e){var n=i[t],t=i[t+"Value"];"percent"===a[e]?t=s.parse(d.linearMap(n=null==n?l[e]:n,l,o)):(r=!0,t=null==t?o[e]:s.parse(t),n=d.linearMap(t,o,l)),c[e]=t,u[e]=n}),g(c),g(u);var h=this._minMaxSpan;function t(t,e,n,i,r){var o=r?"Span":"ValueSpan";p(0,t,n,"all",h["min"+o],h["max"+o]);for(var a=0;a<2;a++)e[a]=d.linearMap(t[a],n,i,!0),r&&(e[a]=s.parse(e[a]))}return r?t(c,u,o,l,!1):t(u,c,l,o,!0),{valueWindow:c,percentWindow:u}},reset:function(t){var e,i,r,o,a;t===this._dataZoomModel&&(e=this.getTargetSeriesModels(),this._dataExtent=function(t,n,e){var i=[1/0,-1/0];f(e,function(t){var e=t.getData();e&&f(e.mapDimension(n,!0),function(t){t=e.getApproximateExtent(t);t[0]<i[0]&&(i[0]=t[0]),t[1]>i[1]&&(i[1]=t[1])})}),i[1]<i[0]&&(i=[NaN,NaN]);return function(t,e){var n=t.getAxisModel(),i=n.getMin(!0),r="category"===n.get("type"),t=r&&n.getCategories().length;null!=i&&"dataMin"!==i&&"function"!=typeof i?e[0]=i:r&&(e[0]=0<t?0:NaN);i=n.getMax(!0);null!=i&&"dataMax"!==i&&"function"!=typeof i?e[1]=i:r&&(e[1]=0<t?t-1:NaN);n.get("scale",!0)||(0<e[0]&&(e[0]=0),e[1]<0&&(e[1]=0));return e}(t,i),i}(this,this._dimName,e),r=(i=this)._minMaxSpan={},o=i._dataZoomModel,a=i._dataExtent,f(["min","max"],function(t){var e=o.get(t+"Span"),n=o.get(t+"ValueSpan");null!=(n=null!=n?i.getAxisModel().axis.scale.parse(n):n)?e=d.linearMap(a[0]+n,a,[0,100],!0):null!=e&&(n=d.linearMap(e,[0,100],a,!0)-a[0]),r[t+"Span"]=e,r[t+"ValueSpan"]=n}),t=this.calculateDataWindow(t.settledOption),this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,s(this))},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,s(this,!0))},filterData:function(t,e){var i,n,r,c;t===this._dataZoomModel&&(i=this._dimName,n=this.getTargetSeriesModels(),r=t.get("filterMode"),c=this._valueWindow,"none"!==r&&f(n,function(n){var l=n.getData(),u=l.mapDimension(i,!0);u.length&&("weakFilter"===r?l.filterSelf(function(t){for(var e,n,i,r=0;r<u.length;r++){var o=l.get(u[r],t),a=!isNaN(o),s=o<c[0],o=o>c[1];if(a&&!s&&!o)return!0;a&&(i=!0),s&&(e=!0),o&&(n=!0)}return i&&e&&n}):f(u,function(t){var e;"empty"===r?n.setData(l=l.map(t,function(t){return(e=t)>=c[0]&&e<=c[1]?t:NaN;var e})):((e={})[t]=c,l.selectRange(e))}),f(u,function(t){l.setApproximateExtent(c,t)}))}))}},t.exports=n},function(t,e,n){n=n(135).extend({type:"dataZoom.select"});t.exports=n},function(t,e,n){n=n(136).extend({type:"dataZoom.select"});t.exports=n},function(t,e,n){var i=n(4),r=n(706),o=n(88),n=n(91),o=o.toolbox.restore;function a(t){this.model=t}a.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:o.title},a.prototype.onclick=function(t,e,n){r.clear(t),e.dispatchAction({type:"restore",from:this.uid})},n.register("restore",a),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")}),t.exports=a},function(t,e,n){var i=n(4),r=n(1068);n(707),n(1070),n(1071),n(1072),n(1073),i.registerPreprocessor(r)},function(t,e,n){var a=n(1),s=["rect","polygon","keep","clear"];t.exports=function(t,e){var n,i,r,o=t&&t.brush;(o=!a.isArray(o)?o?[o]:[]:o).length&&(n=[],a.each(o,function(t){t=t.hasOwnProperty("toolbox")?t.toolbox:[];t instanceof Array&&(n=n.concat(t))}),o=t&&t.toolbox,(o=a.isArray(o)?o[0]:o)||(t.toolbox=[o={feature:{}}]),(o=(o=(o=o.feature||(o.feature={})).brush||(o.brush={})).type||(o.type=[])).push.apply(o,n),i=o,r={},a.each(i,function(t){r[t]=1}),i.length=0,a.each(r,function(t,e){i.push(e)}),e&&!o.length&&o.push.apply(o,s))}},function(t,e,n){var l=n(659),u=n(30),c=n(8).linePolygonIntersect,n={lineX:i(0),lineY:i(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&l.contain(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,n=i[0];return!!(l.contain(i,r,o)||l.contain(i,r+a,o)||l.contain(i,r,o+s)||l.contain(i,r+a,o+s)||u.create(t).contain(n[0],n[1])||c(r,o,r+a,o,i)||c(r,o,r,o+s,i)||c(r+a,o,r+a,o+s,i)||c(r,o+s,r+a,o+s,i))||void 0}}};function i(i){var r=["x","y"],o=["width","height"];return{point:function(t,e,n){if(t){n=n.range;return a(t[i],n)}},rect:function(t,e,n){if(t){n=n.range,t=[t[r[i]],t[r[i]]+t[o[i]]];return t[1]<t[0]&&t.reverse(),a(t[0],n)||a(t[1],n)||a(n[0],t)||a(n[1],t)}}}}function a(t,e){return e[0]<=t&&t<=e[1]}t.exports=n},function(t,e,n){n(20).__DEV__;var i=n(4),r=n(1),o=n(289),a=n(39),s=["#ddd"],i=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var n=this.option;e||o.replaceVisualOption(n,t,["inBrush","outOfBrush"]);t=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},t.hasOwnProperty("liftZ")||(t.liftZ=5)},setAreas:function(t){t&&(this.areas=r.map(t,function(t){return l(this.option,t)},this))},setBrushOption:function(t){this.brushOption=l(this.option,t),this.brushType=this.brushOption.brushType}});function l(t,e){return r.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new a(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}t.exports=i},function(t,e,n){var i=n(4),r=n(1),o=n(356),a=n(707).layoutCovers,i=i.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new o(e.getZr())).on("brush",r.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,s.apply(this,arguments)},updateTransform:function(t,e){return a(e),s.apply(this,arguments)},updateView:s,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),e.isEnd&&!e.removeOnClick||this.api.dispatchAction({type:"brush",brushId:n,areas:r.clone(t),$from:n}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:r.clone(t),$from:n})}});function s(t,e,n,i){i&&i.$from===t.id||this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=i},function(t,e,n){n=n(4);n.registerAction({type:"brush",event:"brush"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(t){t.setAreas(e.areas)})}),n.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),n.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},function(t,e,n){var a=n(1),i=n(91),n=n(88).toolbox.brush;function r(t,e,n){this.model=t,this.ecModel=e,this.api=n,this._brushType,this._brushMode}r.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:a.clone(n.title)};n=r.prototype;n.render=n.updateView=function(e,t,n){var i,r,o;t.eachComponent({mainType:"brush"},function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o|=t.areas.length}),this._brushType=i,this._brushMode=r,a.each(e.get("type",!0),function(t){e.setIconStatus(t,("keep"===t?"multiple"===r:"clear"===t?o:t===i)?"emphasis":"normal")})},n.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return a.each(t.get("type",!0),function(t){e[t]&&(n[t]=e[t])}),n},n.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},i.register("brush",r),t.exports=r},function(t,e,n){var d=n(1),i=n(4),p=n(8),f=n(21).getLayoutRect,g=n(26).windowOpen;i.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),i.extendComponentView({type:"title",render:function(t,e,n){var i,r,o,a,s,l,u,c,h;this.group.removeAll(),t.get("show")&&(i=this.group,u=t.getModel("textStyle"),a=t.getModel("subtextStyle"),r=t.get("textAlign"),h=d.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),c=(o=new p.Text({style:p.setTextStyle({},u,{text:t.get("text"),textFill:u.getTextColor()},{disableBox:!0}),z2:10})).getBoundingRect(),u=t.get("subtext"),a=new p.Text({style:p.setTextStyle({},a,{text:u,textFill:a.getTextColor(),y:c.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),s=t.get("link"),l=t.get("sublink"),c=t.get("triggerEvent",!0),o.silent=!s&&!c,a.silent=!l&&!c,s&&o.on("click",function(){g(s,"_"+t.get("target"))}),l&&a.on("click",function(){g(l,"_"+t.get("subtarget"))}),o.eventData=a.eventData=c?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(o),u&&i.add(a),c=i.getBoundingRect(),(u=t.getBoxLayoutParams()).width=c.width,u.height=c.height,n=f(u,{width:n.getWidth(),height:n.getHeight()},t.get("padding")),r||("right"===(r="middle"===(r=t.get("left")||t.get("right"))?"center":r)?n.x+=n.width:"center"===r&&(n.x+=n.width/2)),h||("bottom"===(h="center"===(h=t.get("top")||t.get("bottom"))?"middle":h)?n.y+=n.height:"middle"===h&&(n.y+=n.height/2),h=h||"top"),i.attr("position",[n.x,n.y]),o.setStyle(h={textAlign:r,textVerticalAlign:h}),a.setStyle(h),c=i.getBoundingRect(),h=n.margin,(n=t.getItemStyle(["color","opacity"])).fill=t.get("backgroundColor"),n=new p.Rect({shape:{x:c.x-h[3],y:c.y-h[0],width:c.width+h[1]+h[3],height:c.height+h[0]+h[2],r:t.get("borderRadius")},style:n,subPixelOptimize:!0,silent:!0}),i.add(n))}})},function(t,e,n){var i=n(4),r=n(1076);n(1077),n(1078),n(1079),n(1081),i.registerPreprocessor(r)},function(t,e,n){var r=n(1);function i(t){var e=t.itemStyle||(t.itemStyle={}),e=e.emphasis||(e.emphasis={}),t=t.label||t.label||{},n=t.normal||(t.normal={}),i={normal:1,emphasis:1};r.each(t,function(t,e){i[e]||o(n,e)||(n[e]=t)}),e.label&&!o(t,"emphasis")&&(t.emphasis=e.label,delete e.label)}function o(t,e){return t.hasOwnProperty(e)}t.exports=function(t){t=t&&t.timeline,r.isArray(t)||(t=t?[t]:[]),r.each(t,function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);i(t),o(t,"controlPosition")&&(o(e=t.controlStyle||(t.controlStyle={}),"position")||(e.position=t.controlPosition),"none"!==e.position||o(e,"show")||(e.show=!1,delete e.position),delete t.controlPosition);r.each(t.data||[],function(t){r.isObject(t)&&!r.isArray(t)&&(!o(t,"value")&&o(t,"name")&&(t.value=t.name),i(t))})}(t)})}},function(t,e,n){n(43).registerSubTypeDefaulter("timeline",function(){return"slider"})},function(t,e,n){var i=n(4),r=n(1);i.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e){var n=e.getComponent("timeline");return n&&null!=t.currentIndex&&(n.setCurrentIndex(t.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),e.resetOption("timeline"),r.defaults({currentIndex:n.option.currentIndex},t)}),i.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){e=e.getComponent("timeline");e&&null!=t.playState&&e.setPlayState(t.playState)})},function(t,e,n){var i=n(1),r=n(1080),n=n(337),r=r.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});i.mixin(r,n),t.exports=r},function(t,e,n){var a=n(1),i=n(43),s=n(60),l=n(17),r=i.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){r.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t=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 r,t=this.option,e=t.data||[],t=t.axisType,o=this._names=[];"category"===t&&(r=[],a.each(e,function(t,e){var n,i=l.getDataItemValue(t);a.isObject(t)?(n=a.clone(t)).value=e:n=e,r.push(n),a.isString(i)||null!=i&&!isNaN(i)||(i=""),o.push(i+"")}),e=r),(this._data=new s([{name:"value",type:{category:"ordinal",time:"time"}[t]||"number"}],this)).initData(e,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});t.exports=r},function(t,e,n){var l=n(1),d=n(30),f=n(52),p=n(8),b=n(21),i=n(1082),a=n(1083),u=n(56).createSymbol,s=n(67),c=n(13),h=n(26).encodeHTML,g=l.bind,m=l.each,S=Math.PI,i=i.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(e,t,n,i){var r,o,a;this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)&&(r=this._layout(e,n),o=this._createGroup("mainGroup"),n=this._createGroup("labelGroup"),a=this._axis=this._createAxis(r,e),e.formatTooltip=function(t){return h(a.scale.getLabel(t))},m(["AxisLine","AxisTick","Control","CurrentPointer"],function(t){this["_render"+t](r,o,a,e)},this),this._renderAxisLabel(r,n,a,e),this._position(r,e)),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=(_=t,x=e,b.getLayoutRect(_.getBoxLayoutParams(),{width:x.getWidth(),height:x.getHeight()},_.get("padding")));null==n||"auto"===n?n="horizontal"===i?r.y+r.height/2<e.getHeight()/2?"-":"+":r.x+r.width/2<e.getWidth()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][n]);var o,a,s,l={horizontal:"center",vertical:0<=n||"+"===n?"left":"right"},u={horizontal:0<=n||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:S/2},h="vertical"===i?r.height:r.width,d=t.getModel("controlStyle"),p=d.get("show",!0),f=p?d.get("itemSize"):0,g=p?d.get("itemGap"):0,m=f+g,v=(v=t.get("label.rotate")||0)*S/180,y=d.get("position",!0),x=p&&d.get("showPlayBtn",!0),_=p&&d.get("showPrevBtn",!0),e=p&&d.get("showNextBtn",!0),p=0,d=h;return"left"===y||"bottom"===y?(x&&(o=[0,0],p+=m),_&&(a=[p,0],p+=m)):(x&&(o=[d-f,0],d-=m),_&&(a=[0,0],p+=m)),e&&(s=[d-f,0],d-=m),d=[p,d],t.get("inverse")&&d.reverse(),{viewRect:r,mainLength:h,orient:i,rotation:c[i],labelRotation:v,labelPosOpt:n,labelAlign:t.get("label.align")||l[i],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||u[i],playPosition:o,prevBtnPosition:a,nextBtnPosition:s,axisExtent:d,controlSize:f,controlGap:g}},_position:function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;"vertical"===t.orient&&(u=f.create(),s=r.x,l=r.y+r.height,f.translate(u,u,[-s,-l]),f.rotate(u,u,-S/2),f.translate(u,u,[s,l]),(r=r.clone()).applyTransform(u));var o=d(r),a=d(n.getBoundingRect()),s=d(i.getBoundingRect()),l=n.position,u=i.position;u[0]=l[0]=o[0][0];var c,r=t.labelPosOpt;function h(t){var e=t.position;t.origin=[o[0][0]-e[0],o[1][0]-e[1]]}function d(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function p(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}isNaN(r)?(p(l,a,o,1,c="+"===r?0:1),p(u,s,o,1,1-c)):(p(l,a,o,1,c=0<=r?0:1),u[1]=l[1]+r),n.attr("position",l),i.attr("position",u),n.rotation=i.rotation=t.rotation,h(n),h(i)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),r=s.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();i=new a("value",r,t.axisExtent,i);return i.model=e,i},_createGroup:function(t){t=this["_"+t]=new p.Group;return this.group.add(t),t},_renderAxisLine:function(t,e,n,i){n=n.getExtent();i.get("lineStyle.show")&&e.add(new p.Line({shape:{x1:n[0],y1:0,x2:n[1],y2:0},style:l.extend({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,o,a,s){var l=s.getData(),e=a.scale.getTicks();m(e,function(t){var e=a.dataToCoord(t),n=l.getItemModel(t),i=n.getModel("itemStyle"),r=n.getModel("emphasis.itemStyle"),e={position:[e,0],onclick:g(this._changeTimeline,this,t)},e=v(n,i,o,e);p.setHoverStyle(e,r.getItemStyle()),n.get("tooltip")?(e.dataIndex=t,e.dataModel=s):e.dataIndex=e.dataModel=null},this)},_renderAxisLabel:function(o,a,s,t){var l;s.getLabelModel().get("show")&&(l=t.getData(),t=s.getViewLabels(),m(t,function(t){var e=t.tickValue,n=l.getItemModel(e),i=n.getModel("label"),r=n.getModel("emphasis.label"),n=s.dataToCoord(t.tickValue),e=new p.Text({position:[n,0],rotation:o.labelRotation-o.rotation,onclick:g(this._changeTimeline,this,e),silent:!1});p.setTextStyle(e.style,i,{text:t.formattedLabel,textAlign:o.labelAlign,textVerticalAlign:o.labelBaseline}),a.add(e),p.setHoverStyle(e,p.setTextStyle({},r))},this))},_renderControl:function(t,r,e,o){var a=t.controlSize,s=t.rotation,l=o.getModel("controlStyle").getItemStyle(),u=o.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-a/2,a,a],n=o.getPlayState(),i=o.get("inverse",!0);function h(t,e,n,i){t&&(n=function(t,e,n,i){var r=i.style,n=p.createIcon(t.get(e),i||{},new d(n[0],n[1],n[2],n[3]));r&&n.setStyle(r);return n}(o,e,c,{position:t,origin:[a/2,0],rotation:i?-s:0,rectHover:!0,style:l,onclick:n}),r.add(n),p.setHoverStyle(n,u))}h(t.nextBtnPosition,"controlStyle.nextIcon",g(this._changeTimeline,this,i?"-":"+")),h(t.prevBtnPosition,"controlStyle.prevIcon",g(this._changeTimeline,this,i?"+":"-")),h(t.playPosition,"controlStyle."+(n?"stopIcon":"playIcon"),g(this._handlePlayClick,this,!n),!0)},_renderCurrentPointer:function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),r=r.getItemModel(o).getModel("checkpointStyle"),a=this;this._currentPointer=v(r,r,this._mainGroup,{},this._currentPointer,{onCreate:function(t){t.draggable=!0,t.drift=g(a._handlePointerDrag,a),t.ondragend=g(a._handlePointerDragend,a),y(t,o,n,i,!0)},onUpdate:function(t){y(t,o,n,i)}})},_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],t=this._axis,t=c.asc(t.getExtent().slice());(n=n>t[1]?t[1]:n)<t[0]&&(n=t[0]),this._currentPointer.position[0]=n,this._currentPointer.dirty();t=this._findNearestTick(n),n=this.model;(e||t!==n.getCurrentIndex()&&n.get("realtime"))&&this._changeTimeline(t)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(g(function(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))},this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup.getLocalTransform();return p.applyTransform(t,e,!0)},_findNearestTick:function(n){var i,t=this.model.getData(),r=1/0,o=this._axis;return t.each(["value"],function(t,e){t=o.dataToCoord(t),t=Math.abs(t-n);t<r&&(r=t,i=e)}),i},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})}});function v(t,e,n,i,r,o){var a,s=e.get("color");r?(r.setColor(s),n.add(r),o&&o.onUpdate(r)):(a=t.get("symbol"),(r=u(a,-1,-1,2,2,s)).setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r));n=e.getItemStyle(["color","symbol","symbolSize"]);r.setStyle(n),i=l.merge({rectHover:!0,z2:100},i,!0);o=t.get("symbolSize");(o=o instanceof Array?o.slice():[+o,+o])[0]/=2,o[1]/=2,i.scale=o;e=t.get("symbolOffset");e&&((n=i.position=i.position||[0,0])[0]+=c.parsePercent(e[0],o[0]),n[1]+=c.parsePercent(e[1],o[1]));t=t.get("symbolRotate");return i.rotation=(t||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function y(t,e,n,i,r){var o;t.dragging||(o=i.getModel("checkpointStyle"),e=n.dataToCoord(i.getData().get(["value"],e)),r||!o.get("animation",!0)?t.attr({position:[e,0]}):(t.stopAnimation(!0),t.animateTo({position:[e,0]},o.get("animationDuration",!0),o.get("animationEasing",!0))))}t.exports=i},function(t,e,n){n=n(277).extend({type:"timeline"});t.exports=n},function(t,e,n){var i=n(1),r=n(89),n=function(t,e,n,i){r.call(this,t,e,n),this.type=i||"value",this.model=null};n.prototype={constructor:n,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},i.inherits(n,r),t.exports=n},function(t,e,n){var i=n(4);n(1085),n(1086),i.registerPreprocessor(function(t){t.markPoint=t.markPoint||{}})},function(t,e,n){n=n(362).extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});t.exports=n},function(t,e,n){var p=n(1),a=n(165),c=n(13),s=n(60),l=n(363);function u(a,s,l){var u=s.coordinateSystem;a.each(function(t){var e,n,i=a.getItemModel(t),r=c.parsePercent(i.get("x"),l.getWidth()),o=c.parsePercent(i.get("y"),l.getHeight());isNaN(r)||isNaN(o)?s.getMarkerPosition?n=s.getMarkerPosition(a.getValues(a.dimensions,t)):u&&(e=a.get(u.dimensions[0],t),i=a.get(u.dimensions[1],t),n=u.dataToPoint([e,i])):n=[r,o],isNaN(r)||(n[0]=r),isNaN(o)||(n[1]=o),a.setItemLayout(t,n)})}n=n(364).extend({type:"markPoint",updateTransform:function(t,e,n){e.eachSeries(function(t){var e=t.markPointModel;e&&(u(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout(e))},this)},renderSeries:function(t,c,e,n){var i=t.coordinateSystem,r=t.id,h=t.getData(),o=this.markerGroupMap,r=o.get(r)||o.set(r,new a),d=function(t,n,e){i=t?p.map(t&&t.dimensions,function(t){var e=n.getData().getDimensionInfo(n.getData().mapDimension(t))||{};return p.defaults({name:t},e)}):[{name:"value",type:"float"}];var i=new s(i,e),e=p.map(e.get("data"),p.curry(l.dataTransform,n));t&&(e=p.filter(e,p.curry(l.dataFilter,t)));return i.initData(e,null,t?l.dimValueGetter:function(t){return t.value}),i}(i,t,c);c.setData(d),u(c.getData(),t,n),d.each(function(t){var e,n,i=d.getItemModel(t),r=i.getShallow("symbol"),o=i.getShallow("symbolSize"),a=i.getShallow("symbolRotate"),s=p.isFunction(r),l=p.isFunction(o),u=p.isFunction(a);(s||l||u)&&(e=c.getRawValue(t),n=c.getDataParams(t),s&&(r=r(e,n)),l&&(o=o(e,n)),u&&(a=a(e,n))),d.setItemVisual(t,{symbol:r,symbolSize:o,symbolRotate:a,color:i.get("itemStyle.color")||h.getVisual("color")})}),r.updateData(d),this.group.add(r.group),d.eachItemGraphicEl(function(t){t.traverse(function(t){t.dataModel=c})}),r.__keep=!0,r.group.silent=c.get("silent")||t.get("silent")}});t.exports=n},function(t,e,n){var i=n(4);n(1088),n(1089),i.registerPreprocessor(function(t){t.markLine=t.markLine||{}})},function(t,e,n){n=n(362).extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=n},function(t,e,n){function f(t,e,n,i){var r,o,a,s=t.getData(),l=i.type;return g.isArray(i)||"min"!==l&&"max"!==l&&"average"!==l&&"median"!==l&&null==i.xAxis&&null==i.yAxis||(e=null!=i.yAxis||null!=i.xAxis?(o=e.getAxis(null!=i.yAxis?"y":"x"),g.retrieve(i.yAxis,i.xAxis)):(o=(r=v.getAxisInfo(i,s,e,t)).valueAxis,a=u(s,r.valueDataDim),v.numCalculate(s,a,l)),s=1-(r="x"===o.dim?0:1),a={},(o=g.clone(i)).type=null,o.coord=[],a.coord=[],o.coord[s]=-1/0,a.coord[s]=1/0,0<=(n=n.get("precision"))&&"number"==typeof e&&(e=+e.toFixed(Math.min(n,20))),o.coord[r]=a.coord[r]=e,i=[o,a,{type:l,valueIndex:i.valueIndex,value:e}]),(i=[v.dataTransform(t,i[0]),v.dataTransform(t,i[1]),g.extend({},i[2])])[2].type=i[2].type||"",g.merge(i[2],i[0]),g.merge(i[2],i[1]),i}var g=n(1),m=n(60),d=n(13),v=n(363),y=n(353),i=n(364),u=n(73).getStackedDimension;function p(t){return!isNaN(t)&&!isFinite(t)}function r(t,e,n,i){var r=1-t,o=i.dimensions[t];return p(e[r])&&p(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function x(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(r(1,n,i,t)||r(0,n,i,t)))return!0}return v.dataFilter(t,e[0])&&v.dataFilter(t,e[1])}function _(t,e,n,i,r){var o,a,s,l,u=i.coordinateSystem,c=t.getItemModel(e),h=d.parsePercent(c.get("x"),r.getWidth()),r=d.parsePercent(c.get("y"),r.getHeight());isNaN(h)||isNaN(r)?(o=i.getMarkerPosition?i.getMarkerPosition(t.getValues(t.dimensions,e)):(l=u.dimensions,a=t.get(l[0],e),s=t.get(l[1],e),u.dataToPoint([a,s])),"cartesian2d"===u.type&&(a=u.getAxis("x"),s=u.getAxis("y"),l=u.dimensions,p(t.get(l[0],e))?o[0]=a.toGlobalCoord(a.getExtent()[n?0:1]):p(t.get(l[1],e))&&(o[1]=s.toGlobalCoord(s.getExtent()[n?0:1]))),isNaN(h)||(o[0]=h),isNaN(r)||(o[1]=r)):o=[h,r],t.setItemLayout(e,o)}i=i.extend({type:"markLine",updateTransform:function(t,e,o){e.eachSeries(function(e){var n,i,r,t=e.markLineModel;t&&(n=t.getData(),i=t.__from,r=t.__to,i.each(function(t){_(i,t,!0,e,o),_(r,t,!1,e,o)}),n.each(function(t){n.setItemLayout(t,[i.getItemLayout(t),r.getItemLayout(t)])}),this.markerGroupMap.get(e.id).updateLayout())},this)},renderSeries:function(r,n,t,o){var e=r.coordinateSystem,i=r.id,a=r.getData(),s=this.markerGroupMap,i=s.get(i)||s.set(i,new y);this.group.add(i.group);var e=function(t,n,e){o=t?g.map(t&&t.dimensions,function(t){var e=n.getData().getDimensionInfo(n.getData().mapDimension(t))||{};return g.defaults({name:t},e)}):[{name:"value",type:"float"}];var i=new m(o,e),r=new m(o,e),o=new m([],e),e=g.map(e.get("data"),g.curry(f,n,t,e));t&&(e=g.filter(e,g.curry(x,t)));t=t?v.dimValueGetter:function(t){return t.value};return i.initData(g.map(e,function(t){return t[0]}),null,t),r.initData(g.map(e,function(t){return t[1]}),null,t),o.initData(g.map(e,function(t){return t[2]})),o.hasItemOption=!0,{from:i,to:r,line:o}}(e,r,n),l=e.from,u=e.to,c=e.line;n.__from=l,n.__to=u,n.setData(c);var h=n.get("symbol"),d=n.get("symbolSize");function p(t,e,n){var i=t.getItemModel(e);_(t,e,n,r,o),t.setItemVisual(e,{symbolRotate:i.get("symbolRotate"),symbolSize:i.get("symbolSize")||d[n?0:1],symbol:i.get("symbol",!0)||h[n?0:1],color:i.get("itemStyle.color")||a.getVisual("color")})}g.isArray(h)||(h=[h,h]),"number"==typeof d&&(d=[d,d]),e.from.each(function(t){p(l,t,!0),p(u,t,!1)}),c.each(function(t){var e=c.getItemModel(t).get("lineStyle.color");c.setItemVisual(t,{color:e||l.getItemVisual(t,"color")}),c.setItemLayout(t,[l.getItemLayout(t),u.getItemLayout(t)]),c.setItemVisual(t,{fromSymbolRotate:l.getItemVisual(t,"symbolRotate"),fromSymbolSize:l.getItemVisual(t,"symbolSize"),fromSymbol:l.getItemVisual(t,"symbol"),toSymbolRotate:u.getItemVisual(t,"symbolRotate"),toSymbolSize:u.getItemVisual(t,"symbolSize"),toSymbol:u.getItemVisual(t,"symbol")})}),i.updateData(c),e.line.eachItemGraphicEl(function(t,e){t.traverse(function(t){t.dataModel=n})}),i.__keep=!0,i.group.silent=n.get("silent")||r.get("silent")}});t.exports=i},function(t,e,n){var i=n(4);n(1091),n(1092),i.registerPreprocessor(function(t){t.markArea=t.markArea||{}})},function(t,e,n){n=n(362).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=n},function(t,e,n){function c(t,e,n,i){var r=s.dataTransform(t,i[0]),o=s.dataTransform(t,i[1]),a=h.retrieve,t=r.coord,i=o.coord;return t[0]=a(t[0],-1/0),t[1]=a(t[1],-1/0),i[0]=a(i[0],1/0),i[1]=a(i[1],1/0),(i=h.mergeAll([{},r,o])).coord=[r.coord,o.coord],i.x0=r.x,i.y0=r.y,i.x1=o.x,i.y1=o.y,i}var h=n(1),d=n(71),p=n(60),f=n(13),g=n(8),s=n(363),n=n(364);function m(t){return!isNaN(t)&&!isFinite(t)}function r(t,e,n){t=1-t;return m(e[t])&&m(n[t])}function v(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!r(1,n,i)&&!r(0,n,i))||(s.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||s.dataFilter(t,{coord:i,x:e.x1,y:e.y1}))}function y(t,e,n,i,r){var o,a,s,l,u=i.coordinateSystem,c=t.getItemModel(e),h=f.parsePercent(c.get(n[0]),r.getWidth()),r=f.parsePercent(c.get(n[1]),r.getHeight());return isNaN(h)||isNaN(r)?(l=i.getMarkerPosition?i.getMarkerPosition(t.getValues(n,e)):(o=[a=t.get(n[0],e),s=t.get(n[1],e)],u.clampData&&u.clampData(o,o),u.dataToPoint(o,!0)),"cartesian2d"===u.type&&(o=u.getAxis("x"),u=u.getAxis("y"),a=t.get(n[0],e),s=t.get(n[1],e),m(a)?l[0]=o.toGlobalCoord(o.getExtent()["x0"===n[0]?0:1]):m(s)&&(l[1]=u.toGlobalCoord(u.getExtent()["y0"===n[1]?0:1]))),isNaN(h)||(l[0]=h),isNaN(r)||(l[1]=r)):l=[h,r],l}var x=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];n.extend({type:"markArea",updateTransform:function(t,e,r){e.eachSeries(function(n){var i,t=n.markAreaModel;t&&(i=t.getData()).each(function(e){var t=h.map(x,function(t){return y(i,e,t,n,r)});i.setItemLayout(e,t),i.getItemGraphicEl(e).setShape("points",t)})},this)},renderSeries:function(e,a,t,r){var o=e.coordinateSystem,n=e.id,s=e.getData(),i=this.markerGroupMap,l=i.get(n)||i.set(n,{group:new g.Group});this.group.add(l.group),l.__keep=!0;var u=function(t,n,e){var i,r;r=t?(i=h.map(t&&t.dimensions,function(t){var e=n.getData(),e=e.getDimensionInfo(e.mapDimension(t))||{};return h.defaults({name:t},e)}),new p(h.map(["x0","y0","x1","y1"],function(t,e){return{name:t,type:i[e%2].type}}),e)):new p(i=[{name:"value",type:"float"}],e);e=h.map(e.get("data"),h.curry(c,n,t,e));t&&(e=h.filter(e,h.curry(v,t)));t=t?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value};return r.initData(e,null,t),r.hasItemOption=!0,r}(o,e,a);a.setData(u),u.each(function(n){var t=h.map(x,function(t){return y(u,n,t,e,r)}),i=!0;h.each(x,function(t){var e;i&&(e=u.get(t[0],n),t=u.get(t[1],n),(m(e)||o.getAxis("x").containData(e))&&(m(t)||o.getAxis("y").containData(t))&&(i=!1))}),u.setItemLayout(n,{points:t,allClipped:i}),u.setItemVisual(n,{color:s.getVisual("color")})}),u.diff(l.__data).add(function(t){var e=u.getItemLayout(t);e.allClipped||(e=new g.Polygon({shape:{points:e.points}}),u.setItemGraphicEl(t,e),l.group.add(e))}).update(function(t,e){var n=l.__data.getItemGraphicEl(e),e=u.getItemLayout(t);e.allClipped?n&&l.group.remove(n):(n?g.updateProps(n,{shape:{points:e.points}},a,t):n=new g.Polygon({shape:{points:e.points}}),u.setItemGraphicEl(t,n),l.group.add(n))}).remove(function(t){t=l.__data.getItemGraphicEl(t);l.group.remove(t)}).execute(),u.eachItemGraphicEl(function(t,e){var n=u.getItemModel(e),i=n.getModel("label"),r=n.getModel("emphasis.label"),o=u.getItemVisual(e,"color");t.useStyle(h.defaults(n.getModel("itemStyle").getItemStyle(),{fill:d.modifyAlpha(o,.4),stroke:o})),t.hoverStyle=n.getModel("emphasis.itemStyle").getItemStyle(),g.setLabelStyle(t.style,t.hoverStyle,i,r,{labelFetcher:a,labelDataIndex:e,defaultText:u.getName(e)||"",isRectText:!0,autoColor:o}),g.setHoverStyle(t,{}),t.dataModel=a}),l.__data=u,l.group.silent=a.get("silent")||e.get("silent")}})},function(t,e,n){n(343),n(1094),n(1095),n(1096)},function(t,e,n){var i=n(670),n=n(21),r=n.mergeLayoutParam,o=n.getLayoutParams,a=i.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,n,i){var r=o(t);a.superCall(this,"init",t,e,n,i),s(this,t,r)},mergeOption:function(t,e){a.superCall(this,"mergeOption",t,e),s(this,this.option,t)}});function s(t,e,n){var i=[1,1];i[t.getOrient().index]=0,r(e,n,{type:"box",ignoreSize:i})}t.exports=a},function(t,e,n){var m=n(1),v=n(8),y=n(21),n=n(671),i=v.Group,x=["width","height"],_=["x","y"],h=n.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){h.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new i),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new i),this._showController},resetInner:function(){h.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,i,e,r,n,o,a){var s=this;h.superCall(this,"renderInner",t,i,e,r,n,o,a);var l=this._controllerGroup,u=i.get("pageIconSize",!0);m.isArray(u)||(u=[u,u]),c("pagePrev",0);a=i.getModel("pageTextStyle");function c(t,e){var n=t+"DataIndex",n=v.createIcon(i.get("pageIcons",!0)[i.getOrient().name][e],{onclick:m.bind(s._pageGo,s,n,i,r)},{x:-u[0]/2,y:-u[1]/2,width:u[0],height:u[1]});n.name=t,l.add(n)}l.add(new v.Text({name:"pageText",style:{textFill:a.getTextColor(),font:a.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),c("pageNext",1)},layoutInner:function(t,e,n,i,r,o){var a=this.getSelectorGroup(),s=t.getOrient().index,l=x[s],u=_[s],c=x[1-s],h=_[1-s];r&&y.box("horizontal",a,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),p=a.getBoundingRect(),f=[-p.x,-p.y],g=m.clone(n);r&&(g[l]=n[l]-p[l]-d);g=this._layoutContentAndController(t,i,g,s,l,c,h);return r&&("end"===o?f[s]+=g[l]+d:(o=p[l]+d,f[s]-=o,g[u]-=o),g[l]+=p[l]+d,f[1-s]+=g[h]+g[c]/2-p[c]/2,g[c]=Math.max(g[c],p[c]),g[h]=Math.min(g[h],p[h]+f[1-s]),a.attr("position",f)),g},_layoutContentAndController:function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=this._containerGroup,u=this._controllerGroup;y.box(t.get("orient"),s,t.get("itemGap"),i?n.width:null,i?null:n.height),y.box("horizontal",u,t.get("pageButtonItemGap",!0));var c=s.getBoundingRect(),h=u.getBoundingRect(),d=this._showController=c[r]>n[r],p=[-c.x,-c.y];e||(p[i]=s.position[i]);var f=[0,0],g=[-h.x,-h.y],e=m.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?g[i]+=n[r]-h[r]:f[i]+=h[r]+e),g[1-i]+=c[o]/2-h[o]/2,s.attr("position",p),l.attr("position",f),u.attr("position",g);f={x:0,y:0};f[r]=(d?n:c)[r],f[o]=Math.max(c[o],h[o]),f[a]=Math.min(0,h[a]+g[1-i]),l.__rectSize=n[r],d?((i={x:0,y:0})[r]=Math.max(n[r]-h[r]-e,0),i[o]=f[o],l.setClipPath(new v.Rect({shape:i})),l.__rectSize=i[r]):u.eachChild(function(t){t.attr({invisible:!0,silent:!0})});u=this._getPageInfo(t);return null!=u.pageIndex&&v.updateProps(s,{position:u.contentPosition},d&&t),this._updatePageInfoView(t,u),f},_pageGo:function(t,e,n){t=this._getPageInfo(e)[t];null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},_updatePageInfoView:function(n,i){var r=this._controllerGroup;m.each(["pagePrev","pageNext"],function(t){var e=null!=i[t+"DataIndex"],t=r.childOfName(t);t&&(t.setStyle("fill",e?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),t.cursor=e?"pointer":"default")});var t=r.childOfName("pageText"),e=n.get("pageFormatter"),o=i.pageIndex,a=null!=o?o+1:0,o=i.pageCount;t&&e&&t.setStyle("text",m.isString(e)?e.replace("{current}",a).replace("{total}",o):e({current:a,total:o}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=x[r],a=_[r],s=this._findTargetItemIndex(e),l=n.children(),t=l[s],u=l.length,e=u?1:0,c={contentPosition:n.position.slice(),pageCount:e,pageIndex:e-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!t)return c;t=g(t);c.contentPosition[r]=-t.s;for(var h=s+1,d=t,p=t,f=null;h<=u;++h)(!(f=g(l[h]))&&p.e>d.s+i||f&&!m(f,d.s))&&(d=p.i>d.i?p:f)&&(null==c.pageNextDataIndex&&(c.pageNextDataIndex=d.i),++c.pageCount),p=f;for(h=s-1,d=t,p=t,f=null;-1<=h;--h)(f=g(l[h]))&&m(p,f.s)||!(d.i<p.i)||(p=d,null==c.pagePrevDataIndex&&(c.pagePrevDataIndex=d.i),++c.pageCount,++c.pageIndex),d=f;return c;function g(t){if(t){var e=t.getBoundingRect(),n=e[a]+t.position[r];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function m(t,e){return t.e>=e&&t.s<=e+i}},_findTargetItemIndex:function(n){return this._showController?(this.getContentGroup().eachChild(function(t,e){t=t.__legendDataIndex;null==r&&null!=t&&(r=e),t===n&&(i=e)}),null!=i?i:r):0;var i,r}});t.exports=h},function(t,e,n){n(4).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=n(135).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=n},function(t,e,n){var d=n(1),r=n(70),p=n(8),o=n(87),i=n(136),s=n(13),a=n(21),l=n(134),u=p.Rect,f=s.linearMap,c=s.asc,h=d.bind,g=d.each,m="horizontal",v=["line","bar","candlestick","scatter"],y=i.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){y.superApply(this,"render",arguments),o.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(){y.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){y.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new p.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,n=this._findCoordRect(),e={width:e.getWidth(),height:e.getHeight()},i=this._orient===m?{right:e.width-n.x-n.width,top:e.height-30-7,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},r=a.getLayoutParams(t.option);d.each(["right","top","width","height"],function(t){"ph"===r[t]&&(r[t]=i[t])});t=a.getLayoutRect(r,e,t.padding);this._location={x:t.x,y:t.y},this._size=[t.width,t.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,i=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==m||r?n===m&&r?{scale:i?[-1,1]:[-1,-1]}:"vertical"!==n||r?{scale:i?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:i?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:i?[1,1]:[1,-1]});o=t.getBoundingRect([o]);t.attr("position",[e.x-o.x,e.y-o.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.barGroup;n.add(new u({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),n.add(new u({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:d.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t,e,i,r,o,a,s,l,u,c,n,h=this._dataShadowInfo=this._prepareDataShadowInfo();h&&(t=this._size,e=(n=h.series).getRawData(),null!=(n=n.getShadowDim?n.getShadowDim():h.otherDim)&&(h=.3*((i=e.getDataExtent(n))[1]-i[0]),i=[i[0]-h,i[1]+h],r=[0,t[1]],h=[0,t[0]],o=[[t[0],0],[0,0]],a=[],s=h[1]/(e.count()-1),l=0,u=Math.round(e.count()/t[0]),e.each([n],function(t,e){var n;0<u&&e%u?l+=s:(t=(n=null==t||isNaN(t)||""===t)?0:f(t,i,r,!0),n&&!c&&e?(o.push([o[o.length-1][0],0]),a.push([a[a.length-1][0],0])):!n&&c&&(o.push([l,0]),a.push([l,0])),o.push([l,t]),a.push([l,t]),l+=s,c=n)}),n=this.dataZoomModel,this._displayables.barGroup.add(new p.Polygon({shape:{points:o},style:d.defaults({fill:n.get("dataBackgroundColor")},n.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new p.Polyline({shape:{points:a},style:n.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))))},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,s=e.get("showDataShadow");if(!1!==s){var l,u=this.ecModel;return e.eachTargetAxis(function(o,a){var t=e.getAxisProxy(o.name,a).getTargetSeriesModels();d.each(t,function(t){var e,n,i,r;l||!0!==s&&d.indexOf(v,t.get("type"))<0||(e=u.getComponent(o.axis,a).axis,n={x:"y",y:"x",radius:"angle",angle:"radius"}[o.name],r=t.coordinateSystem,null!=n&&r.getOtherAxis&&(i=r.getOtherAxis(e).inverse),n=t.getData().mapDimension(n),l={thisAxis:e,series:t,thisDim:o.name,otherDim:n,otherAxisInverse:i})},this)},this),l}},_renderHandle:function(){var t=this._displayables,i=t.handles=[],r=t.handleLabels=[],o=this._displayables.barGroup,e=this._size,a=this.dataZoomModel;o.add(t.filler=new u({draggable:!0,cursor:x(this._orient),drift:h(this._onDragMove,this,"all"),ondragstart:h(this._showDataInfo,this,!0),ondragend:h(this._onDragEnd,this),onmouseover:h(this._showDataInfo,this,!0),onmouseout:h(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),o.add(new u({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),g([0,1],function(t){var e=p.createIcon(a.get("handleIcon"),{cursor:x(this._orient),draggable:!0,drift:h(this._onDragMove,this,t),ondragend:h(this._onDragEnd,this),onmouseover:h(this._showDataInfo,this,!0),onmouseout:h(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),n=e.getBoundingRect();this._handleHeight=s.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=n.width/n.height*this._handleHeight,e.setStyle(a.getModel("handleStyle").getItemStyle());n=a.get("handleColor");null!=n&&(e.style.fill=n),o.add(i[t]=e);e=a.textStyleModel;this.group.add(r[t]=new p.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:e.getTextColor(),textFont:e.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[f(t[0],[0,100],e,!0),f(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];l(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?f(o.minSpan,a,r,!0):null,null!=o.maxSpan?f(o.maxSpan,a,r,!0):null);o=this._range,a=this._range=c([f(i[0],r,a,!0),f(i[1],r,a,!0)]);return!o||o[0]!==a[0]||o[1]!==a[1]},_updateView:function(t){var i=this._displayables,r=this._handleEnds,e=c(r.slice()),o=this._size;g([0,1],function(t){var e=i.handles[t],n=this._handleHeight;e.attr({scale:[n/2,n/2],position:[r[t],o[1]/2-n/2]})},this),i.filler.setShape({x:e[0],y:0,width:e[1]-e[0],height:o[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e,n,i=this.dataZoomModel,r=this._displayables,o=r.handleLabels,a=this._orient,s=["",""];!i.get("showDetail")||(n=i.findRepresentativeAxisProxy())&&(e=n.getAxisModel().axis,i=this._range,n=t?n.calculateDataWindow({start:i[0],end:i[1]}).valueWindow:n.getDataValueWindow(),s=[this._formatLabel(n[0],e),this._formatLabel(n[1],e)]);var l=c(this._handleEnds.slice());function u(t){var e=p.getTransform(r.handles[t].parent,this.group),n=p.transformDirection(0===t?"right":"left",e),i=this._handleWidth/2+5,e=p.applyTransform([l[t]+(0===t?-i:i),this._size[1]/2],e);o[t].setStyle({x:e[0],y:e[1],textVerticalAlign:a===m?"middle":n,textAlign:a===m?n:"center",text:s[t]})}u.call(this,0),u.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),n=n.get("labelPrecision");null!=n&&"auto"!==n||(n=e.getPixelPrecision());n=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(n,20));return d.isFunction(i)?i(t,n):d.isString(i)?i.replace("{value}",n):n},_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);i=this._displayables.barGroup.getLocalTransform(),i=p.applyTransform([e,n],i,!0),t=this._updateInterval(t,i[0]),i=this.dataZoomModel.get("realtime");this._updateView(!i),t&&i&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,t=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);t[0]<0||t[0]>e[0]||t[1]<0||t[1]>e[1]||(e=((e=this._handleEnds)[0]+e[1])/2,e=this._updateInterval("all",t[0]-e),this._updateView(),e&&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,e,n;return g(this.getTargetCoordInfo(),function(t){!n&&t.length&&(t=t[0].model.coordinateSystem,n=t.getRect&&t.getRect())}),n||(t=this.api.getWidth(),e=this.api.getHeight(),n={x:.2*t,y:.2*e,width:.6*t,height:.6*e}),n}});function x(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=y},function(t,e,n){n=n(135).extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});t.exports=n},function(t,e,n){var l=n(1),i=n(136),u=n(134),c=n(1101),h=l.bind,r=i.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(a,t,s,e){r.superApply(this,"render",arguments),this._range=a.getPercentRange(),l.each(this.getTargetCoordInfo(),function(t,r){var o=l.map(t,function(t){return c.generateCoordId(t.model)});l.each(t,function(e){var i=e.model,n={};l.each(["pan","zoom","scrollMove"],function(t){n[t]=h(d[t],this,e,r)},this),c.register(s,{coordId:c.generateCoordId(i),allCoordIds:o,containsPoint:function(t,e,n){return i.coordinateSystem.containPoint([e,n])},dataZoomId:a.id,dataZoomModel:a,getRange:n})},this)},this)},dispose:function(){c.unregister(this.api,this.dataZoomModel.id),r.superApply(this,"dispose",arguments),this._range=null}}),d={zoom:function(t,e,n,i){var r=this._range,o=r.slice(),a=t.axisModels[0];if(a){t=s[e](null,[i.originX,i.originY],a,n,t),t=(0<t.signal?t.pixelStart+t.pixelLength-t.pixel:t.pixel-t.pixelStart)/t.pixelLength*(o[1]-o[0])+o[0],i=Math.max(1/i.scale,0);o[0]=(o[0]-t)*i+t,o[1]=(o[1]-t)*i+t;t=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return u(0,o,[0,100],0,t.minSpan,t.maxSpan),this._range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:o(function(t,e,n,i,r,o){n=s[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return n.signal*(t[1]-t[0])*n.pixel/n.pixelLength}),scrollMove:o(function(t,e,n,i,r,o){return s[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta})};function o(s){return function(t,e,n,i){var r=this._range,o=r.slice(),a=t.axisModels[0];if(a){i=s(o,a,t,e,n,i);return u(i,o,[0,100],"all"),this._range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}}}var s={grid:function(t,e,n,i,r){var o=n.axis,n={},r=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(n.pixel=e[0]-t[0],n.pixelLength=r.width,n.pixelStart=r.x,n.signal=o.inverse?1:-1):(n.pixel=e[1]-t[1],n.pixelLength=r.height,n.pixelStart=r.y,n.signal=o.inverse?-1:1),n},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),r=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=r[1]-r[0],a.pixelStart=r[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,n=r.model.coordinateSystem.getRect(),r={};return t=t||[0,0],"horizontal"===o.orient?(r.pixel=e[0]-t[0],r.pixelLength=n.width,r.pixelStart=n.x,r.signal=o.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=n.height,r.pixelStart=n.y,r.signal=o.inverse?-1:1),r}};t.exports=r},function(t,e,n){var h=n(1),d=n(170),p=n(87),i="\0_ec_dataZoom_roams";function f(t){t=t.getZr();return t[i]||(t[i]={})}function g(n){h.each(n,function(t,e){t.count||(t.controller.dispose(),delete n[e])})}function m(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,i){var e=f(t),r=i.dataZoomId,o=i.coordId;h.each(e,function(t,e){var n=t.dataZoomInfos;n[r]&&h.indexOf(i.allCoordIds,o)<0&&(delete n[r],t.count--)}),g(e);var a,n,s=e[o];s||((s=e[o]={coordId:o,dataZoomInfos:{},count:0}).controller=(a=s,n=new d(t.getZr()),h.each(["pan","zoom","scrollMove"],function(r){n.on(r,function(n){var i=[];h.each(a.dataZoomInfos,function(t){var e;n.isAvailableBehavior(t.dataZoomModel.option)&&(e=(e=(t.getRange||{})[r])&&e(a.controller,n),!t.dataZoomModel.get("disabled",!0)&&e&&i.push({dataZoomId:t.dataZoomId,start:e[0],end:e[1]}))}),i.length&&a.dispatchAction(i)})}),n),s.dispatchAction=h.curry(m,t)),s.dataZoomInfos[r]||s.count++,s.dataZoomInfos[r]=i;var l,u,c,t=(t=s.dataZoomInfos,u={type_true:2,type_move:1,type_false:0,type_undefined:-1},c=!0,h.each(t,function(t){var e=t.dataZoomModel,t=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");u["type_"+l]<u["type_"+t]&&(l=t),c&=e.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!c}});s.controller.enable(t.controlType,t.opt),s.controller.setPointerChecker(i.containsPoint),p.createOrUpdate(s,"dispatchAction",i.dataZoomModel.get("throttle",!0),"fixRate")},e.unregister=function(t,n){t=f(t),h.each(t,function(t){t.controller.dispose();var e=t.dataZoomInfos;e[n]&&(delete e[n],t.count--)}),g(t)},e.generateCoordId=function(t){return t.type+"\0_"+t.id}},function(t,e,n){var i=n(1),r=n(715),o=n(13),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){t=this.option.controller[t].symbolSize;t&&t[0]!==t[1]&&(t[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]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},getValueState:function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(i){var r=[];return this.eachTargetSeries(function(t){var n=[],e=t.getData();e.each(this.getDataDimension(e),function(t,e){i[0]<=t&&t<=i[1]&&n.push(e)},this),r.push({seriesId:t.id,dataIndex:n})},this),r},getVisualMeta:function(n){var t=h(0,0,this.getExtent()),e=h(0,0,this.option.range.slice()),i=[];function r(t,e){i.push({value:t,color:n(t,e)})}for(var o=0,a=0,s=e.length,l=t.length;a<l&&(!e.length||t[a]<=e[0]);a++)t[a]<e[o]&&r(t[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&i.length&&r(e[o],"outOfRange"),r(e[o],"inRange");for(u=1;a<l;a++)(!e.length||e[e.length-1]<t[a])&&(u&&(i.length&&r(i[i.length-1].value,"outOfRange"),u=0),r(t[a],"outOfRange"));var c=i.length;return{stops:i,outerColors:[c?i[0].color:"transparent",c?i[c-1].color:"transparent"]}}});function h(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],o=[],a=0;a<=200&&r<n[1];a++)o.push(r),r+=i;return o.push(n[1]),o}t.exports=s},function(t,e,n){var l=n(1),o=n(335),u=n(70),i=n(717),c=n(8),r=n(13),a=n(134),h=n(718),s=n(17),d=r.linearMap,p=l.each,f=Math.min,g=Math.max,m=i.extend({type:"visualMap.continuous",init:function(){m.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);t=t.get("text");this._renderEndsText(e,t,0),this._renderEndsText(e,t,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,n){var i,r,o;e&&(i=null!=(i=e[1-n])?i+"":"",r=(o=this.visualMapModel).get("textGap"),e=o.itemSize,o=this._shapes.barGroup,e=this._applyTransform([e[0]/2,0===n?-r:e[1]+r],o),r=this._applyTransform(0===n?"bottom":"top",o),n=this._orient,o=this.visualMapModel.textStyleModel,this.group.add(new c.Text({style:{x:e[0],y:e[1],textVerticalAlign:"horizontal"===n?"middle":r,textAlign:"horizontal"===n?r:"center",text:i,textFont:o.getFont(),textFill:o.getTextColor()}})))},_renderBar:function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,o=this._useHandle,a=h.getItemAlign(e,this.api,i),s=n.barGroup=this._createBarGroup(a);s.add(n.outOfRange=v()),s.add(n.inRange=v(null,o?x(this._orient):null,l.bind(this._dragHandle,this,"all",!1),l.bind(this._dragHandle,this,"all",!0)));e=e.textStyleModel.getTextRect("国"),e=g(e.width,e.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(s,0,i,e,r,a),this._createHandle(s,1,i,e,r,a)),this._createIndicator(s,i,e,r),t.add(s)},_createHandle:function(t,e,n,i,r){var o,a=l.bind(this._dragHandle,this,e,!1),s=l.bind(this._dragHandle,this,e,!0),o=v((o=i,0===e?[[0,0],[o,0],[o,-o]]:[[0,0],[o,0],[o,o]]),x(this._orient),a,s);o.position[0]=n[0],t.add(o);t=this.visualMapModel.textStyleModel,t=new c.Text({draggable:!0,drift:a,onmousemove:function(t){u.stop(t.event)},ondragend:s,style:{x:0,y:0,text:"",textFont:t.getFont(),textFill:t.getTextColor()}});this.group.add(t);r=["horizontal"===r?i/2:1.5*i,"horizontal"===r?0===e?-1.5*i:1.5*i:0===e?-i/2:i/2],i=this._shapes;i.handleThumbs[e]=o,i.handleLabelPoints[e]=r,i.handleLabels[e]=t},_createIndicator:function(t,e,n,i){var r=v([[0,0]],"move");r.position[0]=e[0],r.attr({invisible:!0,silent:!0}),t.add(r);t=this.visualMapModel.textStyleModel,t=new c.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:t.getFont(),textFill:t.getTextColor()}});this.group.add(t);i=["horizontal"===i?n/2:9,0],n=this._shapes;n.indicator=r,n.indicatorLabel=t,n.indicatorLabelPoint=i},_dragHandle:function(t,e,n,i){this._useHandle&&(this._dragging=!e,e||(i=this._applyTransform([n,i],this._shapes.barGroup,!0),this._updateInterval(t,i[1]),this._updateView()),e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?this._hovering||this._clearHoverLinkToSeries():y(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1))},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),t=[0,t.itemSize[1]];this._handleEnds=[d(e[0],n,t,!0),d(e[1],n,t,!0)]},_updateInterval:function(t,e){var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];a(e=e||0,i,r,t,0);n=n.getExtent();this._dataInterval=[d(i[0],r,n,!0),d(i[1],r,n,!0)]},_updateView:function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],e=t?r:this._handleEnds,t=this._createBarVisual(this._dataInterval,n,e,"inRange"),r=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:t.barColor,opacity:t.opacity}).setShape("points",t.barPoints),i.outOfRange.setStyle({fill:r.barColor,opacity:r.opacity}).setShape("points",r.barPoints),this._updateHandle(e,t)},_createBarVisual:function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},i=this._makeColorGradient(t,r),r=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],r=this._createBarPoints(n,r);return{barColor:new o(0,0,0,1,i),barPoints:r,handlesColor:[i[0].color,i[i.length-1].color]}},_makeColorGradient:function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+i*r;if(o>t[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 c.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(n,i){var r,o,a,s;this._useHandle&&(r=this._shapes,o=this.visualMapModel,a=r.handleThumbs,s=r.handleLabels,p([0,1],function(t){var e=a[t];e.setStyle("fill",i.handlesColor[t]),e.position[1]=n[t];e=c.applyTransform(r.handleLabelPoints[t],c.getTransform(e,this.group));s[t].setStyle({x:e[0],y:e[1],text:o.formatValueText(this._dataInterval[t]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===t?"bottom":"top":"left",r.barGroup)})},this))},_showIndicator:function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=d(t,o,s,!0),u=this._shapes,o=u.indicator;o&&(o.position[1]=l,o.attr("invisible",!1),o.setShape("points",(s=!!n,i=i,l=l,a=a[1],s?[[0,-f(i,g(l,0))],[6,0],[0,f(i,g(a-l,0))]]:[[0,0],[5,-5],[5,5]])),l=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),o.setStyle("fill",l),t=c.applyTransform(u.indicatorLabelPoint,c.getTransform(o,this.group)),(l=u.indicatorLabel).attr("invisible",!1),o=this._applyTransform("left",u.barGroup),u=this._orient,l.setStyle({text:(n||"")+r.formatValueText(e),textVerticalAlign:"horizontal"===u?o:"middle",textAlign:"horizontal"===u?"center":o,x:t[0],y:t[1]}))},_enableHoverLinkToSeries:function(){var n=this;this._shapes.barGroup.on("mousemove",function(t){var e;n._hovering=!0,n._dragging||(e=n.visualMapModel.itemSize,(t=n._applyTransform([t.offsetX,t.offsetY],n._shapes.barGroup,!0,!0))[1]=f(g(0,t[1]),e[1]),n._doHoverLinkToSeries(t[1],0<=t[0]&&t[0]<=e[0]))}).on("mouseout",function(){n._hovering=!1,n._dragging||n._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,i,r,o=this.visualMapModel,a=o.itemSize;o.option.hoverLink&&(n=[0,a[1]],i=o.getExtent(),a=[(t=f(g(n[0],t),n[1]))-(r=function(t,e,n){var i=6,t=t.get("hoverLinkDataSize");t&&(i=d(t,e,n,!0)/2);return i}(o,i,n)),t+r],t=d(t,n,i,!0),i=[d(a[0],n,i,!0),d(a[1],n,i,!0)],a[0]<n[0]&&(i[0]=-1/0),n[1]<a[1]&&(i[1]=1/0),e&&(i[0]===-1/0?this._showIndicator(t,i[1],"< ",r):i[1]===1/0?this._showIndicator(t,i[0],"> ",r):this._showIndicator(t,t,"≈ ",r)),t=this._hoverLinkDataIndices,r=[],(e||y(o))&&(r=this._hoverLinkDataIndices=o.findTargetDataIndices(i)),r=s.compressBatches(t,r),this._dispatchHighDown("downplay",h.makeHighDownBatch(r[0],o)),this._dispatchHighDown("highlight",h.makeHighDownBatch(r[1],o)))},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;e&&null!=e.dataIndex&&(t=this.ecModel.getSeriesByIndex(e.seriesIndex),n.isTargetSeries(t)&&(e=(t=t.getData(e.dataType)).get(n.getDataDimension(t),e.dataIndex,!0),isNaN(e)||this._showIndicator(e,e)))},_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",h.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,i){i=c.getTransform(e,i?null:this.group);return c[l.isArray(t)?"applyTransform":"transformDirection"](t,i,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 c.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){u.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"}t.exports=m},function(t,e,n){n(20).__DEV__;var d=n(1),a=n(715),p=n(109),s=n(716),u=n(13).reformIntervals,r=a.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){r.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();o[this._mode].call(this),this._resetSelected(t,e);var i=this.option.categories;this.resetVisual(function(t,e){"categories"===n?(t.mappingMethod="category",t.categories=d.clone(i)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=d.map(this._pieceList,function(t){t=d.clone(t);return"inRange"!==e&&(t.visual=null),t}))})},completeVisualOption:function(){var i=this.option,n={},t=p.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&(d.isObject(t[e])?t[e].hasOwnProperty(n):t[e]===n)}d.each(i.pieces,function(e){d.each(t,function(t){e.hasOwnProperty(t)&&(n[t]=1)})}),d.each(n,function(t,e){var n=0;d.each(this.stateList,function(t){n|=o(i,t,e)||o(i.target,t,e)},this),n||d.each(this.stateList,function(t){(i[t]||(i[t]={}))[e]=s.get(e,"inRange"===t?"active":"inactive",r)})},this),a.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var n,i=this.option,r=this._pieceList,o=(e?i:t).selected||{};i.selected=o,d.each(r,function(t,e){t=this.getSelectedMapKey(t);o.hasOwnProperty(t)||(o[t]=!0)},this),"single"===i.selectedMode&&(n=!1,d.each(r,function(t,e){t=this.getSelectedMapKey(t);o[t]&&(n?o[t]=!1:n=!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&&0<t.pieces.length?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=d.clone(t)},getValueState:function(t){t=p.findPieceIndex(t,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(i){var r=[];return this.eachTargetSeries(function(t){var n=[],e=t.getData();e.each(this.getDataDimension(e),function(t,e){p.findPieceIndex(t,this._pieceList)===i&&n.push(e)},this),r.push({seriesId:t.id,dataIndex:n})},this),r},getRepresentValue:function(t){return this.isCategory()||null!=t.value?t.value:(t=t.interval||[])[0]===-1/0&&t[1]===1/0?0:(t[0]+t[1])/2},getVisualMeta:function(i){if(!this.isCategory()){var t,r=[],o=[],a=this,e=this._pieceList.slice();e.length?((t=e[0].interval[0])!==-1/0&&e.unshift({interval:[-1/0,t]}),(t=e[e.length-1].interval[1])!==1/0&&e.push({interval:[t,1/0]})):e.push({interval:[-1/0,1/0]});var n=-1/0;return d.each(e,function(t){t=t.interval;t&&(t[0]>n&&s([n,t[0]],"outOfRange"),s(t.slice()),n=t[1])},this),{stops:r,outerColors:o}}function s(t,e){var n=a.getRepresentValue({interval:t});e=e||a.getValueState(n);e=i(n,e);t[0]===-1/0?o[0]=e:t[1]===1/0?o[1]=e:r.push({value:t[0],color:e},{value:t[1],color:e})}}}),o={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),i=this.getExtent(),r=t.splitNumber,r=Math.max(parseInt(r,10),1);t.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n),t.minOpen&&e.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a<r;s+=o,a++){var l=a===r-1?i[1]:s+o;e.push({interval:[s,l],close:[1,1]})}t.maxOpen&&e.push({interval:[i[1],1/0],close:[0,0]}),u(e),d.each(e,function(t,e){t.index=e,t.text=this.formatValueText(t.interval)},this)},categories:function(){var t=this.option;d.each(t.categories,function(t){this._pieceList.push({text:this.formatValueText(t,!0),value:t})},this),i(t,this._pieceList)},pieces:function(){var t=this.option,h=this._pieceList;d.each(t.pieces,function(t,e){var n={text:"",index:e};if(null!=(t=!d.isObject(t)?{value:t}:t).label&&(n.text=t.label),t.hasOwnProperty("value")){e=n.value=t.value;n.interval=[e,e],n.close=[1,1]}else{for(var i=n.interval=[],r=n.close=[0,0],o=[1,0,1],a=[-1/0,1/0],s=[],l=0;l<2;l++){for(var u=[["gte","gt","min"],["lte","lt","max"]][l],c=0;c<3&&null==i[l];c++)i[l]=t[u[c]],r[l]=o[c],s[l]=2===c;null==i[l]&&(i[l]=a[l])}s[0]&&i[1]===1/0&&(r[0]=0),s[1]&&i[0]===-1/0&&(r[1]=0),i[0]===i[1]&&r[0]&&r[1]&&(n.value=i[0])}n.visual=p.retrieveVisuals(t),h.push(n)},this),i(t,h),u(h),d.each(h,function(t){var e=t.close,e=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,e)},this)}};function i(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}t.exports=r},function(t,e,n){var h=n(1),i=n(717),d=n(8),r=n(56).createSymbol,p=n(21),o=n(718),i=i.extend({type:"visualMap.piecewise",doRender:function(){var i=this.group;i.removeAll();var r=this.visualMapModel,o=r.get("textGap"),t=r.textStyleModel,a=t.getFont(),s=t.getTextColor(),l=this._getItemAlign(),u=r.itemSize,e=this._getViewData(),t=e.endsText,c=h.retrieve(r.get("showLabel",!0),!t);t&&this._renderEndsText(i,t[0],u,c,l),h.each(e.viewPieceList,function(t){var e=t.piece,n=new d.Group;n.onclick=h.bind(this._onItemClick,this,e),this._enableHoverLink(n,t.indexInModelPieceList);t=r.getRepresentValue(e);this._createItemSymbol(n,t,[0,0,u[0],u[1]]),c&&(t=this.visualMapModel.getValueState(t),n.add(new d.Text({style:{x:"right"===l?-o:u[0]+o,y:u[1]/2,text:e.text,textVerticalAlign:"middle",textAlign:l,textFont:a,textFill:s,opacity:"outOfRange"===t?.5:1}})));i.add(n)},this),t&&this._renderEndsText(i,t[1],u,c,l),p.box(r.get("orient"),i,r.get("itemGap")),this.renderBackground(i),this.positionGroup(i)},_enableHoverLink:function(t,n){function e(t){var e=this.visualMapModel;e.option.hoverLink&&this.api.dispatchAction({type:t,batch:o.makeHighDownBatch(e.findTargetDataIndices(n),e)})}t.on("mouseover",h.bind(e,this,"highlight")).on("mouseout",h.bind(e,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return o.getItemAlign(t,this.api,t.itemSize);e=e.align;return e=!e||"auto"===e?"left":e},_renderEndsText:function(t,e,n,i,r){var o,a;e&&(o=new d.Group,a=this.visualMapModel.textStyleModel,o.add(new d.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:a.getFont(),textFill:a.getTextColor()}})),t.add(o))},_getViewData:function(){var t=this.visualMapModel,e=h.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),i=t.get("orient"),t=t.get("inverse");return("horizontal"===i?t:!t)?e.reverse():n=n&&n.slice().reverse(),{viewPieceList:e,endsText:n}},_createItemSymbol:function(t,e,n){t.add(r(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,i=h.clone(n.selected),r=e.getSelectedMapKey(t);"single"===n.selectedMode?(i[r]=!0,h.each(i,function(t,e){i[e]=e===r})):i[r]=!i[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}});t.exports=i},function(t,e,n){n(1107),(0,n(271).registerPainter)("vml",n(1108))},function(t,e,n){var i=n(38),H=n(29).applyTransform,r=n(30),T=n(71),b=n(55),S=n(275),o=n(634),a=n(156),s=n(127),l=n(103),u=n(35),c=n(129),I=n(276),D=n(721),z=c.CMD,R=Math.round,j=Math.sqrt,h=Math.abs,B=Math.cos,V=Math.sin,L=Math.max;if(!i.canvasSupported){function k(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=Y+","+Y,t.coordorigin="0,0"}function N(t,e,n){return"rgb("+[t,e,n].join(",")+")"}function O(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)}function d(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function P(t,e,n){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+n}function E(t,e,n){e=T.parse(e);n=+n,isNaN(n)&&(n=1),e&&(t.color=N(e[0],e[1],e[2]),t.opacity=n*e[3])}function p(t,e,n){var i=e.fill;if(null!=i)if(i instanceof I){var r,o,a,s,l,u=0,c=[0,0],h=0,d=1,p=n.getBoundingRect(),f=p.width,g=p.height;"linear"===i.type?(r="gradient",l=n.transform,s=[i.x*f,i.y*g],a=[i.x2*f,i.y2*g],l&&(H(s,s,l),H(a,a,l)),o=a[0]-s[0],a=a[1]-s[1],(u=180*Math.atan2(o,a)/Math.PI)<0&&(u+=360),u<1e-6&&(u=0)):(r="gradientradial",s=[i.x*f,i.y*g],l=n.transform,v=n.scale,c=[(s[0]-p.x)/(y=f),(s[1]-p.y)/(x=g)],l&&H(s,s,l),y/=v[0]*Y,x/=v[1]*Y,_=L(y,x),d=2*i.r/_-(h=0/_));var m=i.colorStops.slice();m.sort(function(t,e){return t.offset-e.offset});for(var v,y,x,_,b=m.length,S=[],A=[],M=0;M<b;M++){var w=m[M],C=function(t){t=T.parse(t);return[N(t[0],t[1],t[2]),t[3]]}(w.color);A.push(w.offset*d+h+" "+C[0]),0!==M&&M!==b-1||S.push(C)}2<=b&&(v=S[0][0],y=S[1][0],x=S[0][1]*e.opacity,_=S[1][1]*e.opacity,t.type=r,t.method="none",t.focus="100%",t.angle=u,t.color=v,t.color2=y,t.colors=A.join(","),t.opacity=_,t.opacity2=x),"radial"===r&&(t.focusposition=c.join(","))}else E(t,i,e.opacity)}function A(t,e,n,i){var r="fill"===e,o=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(r||!r&&n.lineWidth)?(t[r?"filled":"stroked"]="true",n[e]instanceof I&&d(t,o),o=o||D.createNode(e),r?p(o,n,i):(i=o,(n=n).lineDash&&(i.dashstyle=n.lineDash.join(" ")),null==n.stroke||n.stroke instanceof I||E(i,n.stroke,n.opacity)),O(t,o)):(t[r?"filled":"stroked"]="false",d(t,o))}var F="progid:DXImageTransform.Microsoft",Y=21600,X=10800,M=S.parsePercent,W=[[],[],[]];u.prototype.brushVML=function(t){var e=this.style,n=this._vmlEl;n||(n=D.createNode("shape"),k(n),this._vmlEl=n),A(n,"fill",e,this),A(n,"stroke",e,this);var i=this.transform,r=null!=i,o=n.getElementsByTagName("stroke")[0];o&&(a=e.lineWidth,r&&!e.strokeNoScale&&(i=i[0]*i[3]-i[1]*i[2],a*=j(h(i))),o.weight=a+"px");var a=this.path||(this.path=new c);this.__dirtyPath&&(a.beginPath(),a.subPixelOptimize=!1,this.buildPath(a,this.shape),a.toStatic(),this.__dirtyPath=!1),n.path=function(t,e){for(var n,i,r,o=z.M,a=z.C,s=z.L,l=z.A,u=z.Q,c=[],h=t.data,d=t.len(),p=0;p<d;){switch(m="",v=0,n=h[p++]){case o:m=" m ",v=1,i=h[p++],r=h[p++],W[0][0]=i,W[0][1]=r;break;case s:m=" l ",v=1,i=h[p++],r=h[p++],W[0][0]=i,W[0][1]=r;break;case u:case a:var f,g,m=" c ",v=3,y=h[p++],x=h[p++],_=h[p++],b=h[p++];n===u?(_=((f=_)+2*y)/3,b=((g=b)+2*x)/3,y=(i+2*y)/3,x=(r+2*x)/3):(f=h[p++],g=h[p++]),W[0][0]=y,W[0][1]=x,W[1][0]=_,W[1][1]=b,i=W[2][0]=f,r=W[2][1]=g;break;case l:var S=0,A=0,M=1,w=1,C=0;e&&(S=e[4],A=e[5],M=j(e[0]*e[0]+e[1]*e[1]),w=j(e[2]*e[2]+e[3]*e[3]),C=Math.atan2(-e[1]/w,e[0]/M));var T=h[p++],I=h[p++],D=h[p++],L=h[p++],k=h[p++]+C,N=h[p++]+k+C;p++;var O=h[p++],_=T+B(k)*D,b=I+V(k)*L,y=T+B(N)*D,x=I+V(N)*L,C=O?" wa ":" at ";Math.abs(_-y)<1e-4&&(.01<Math.abs(N-k)?O&&(_+=.0125):Math.abs(b-I)<1e-4?O&&_<T||!O&&T<_?x-=.0125:x+=.0125:O&&b<I||!O&&I<b?y+=.0125:y-=.0125),c.push(C,R(((T-D)*M+S)*Y-X),",",R(((I-L)*w+A)*Y-X),",",R(((T+D)*M+S)*Y-X),",",R(((I+L)*w+A)*Y-X),",",R((_*M+S)*Y-X),",",R((b*w+A)*Y-X),",",R((y*M+S)*Y-X),",",R((x*w+A)*Y-X)),i=y,r=x;break;case z.R:w=W[0],A=W[1];w[0]=h[p++],w[1]=h[p++],A[0]=w[0]+h[p++],A[1]=w[1]+h[p++],e&&(H(w,w,e),H(A,A,e)),w[0]=R(w[0]*Y-X),A[0]=R(A[0]*Y-X),w[1]=R(w[1]*Y-X),A[1]=R(A[1]*Y-X),c.push(" m ",w[0],",",w[1]," l ",A[0],",",w[1]," l ",A[0],",",A[1]," l ",w[0],",",A[1]);break;case z.Z:c.push(" x ")}if(0<v){c.push(m);for(var P=0;P<v;P++){var E=W[P];e&&H(E,E,e),c.push(R(E[0]*Y-X),",",R(E[1]*Y-X),P<v-1?",":"")}}}return c.join("")}(a,this.transform),n.style.zIndex=P(this.zlevel,this.z,this.z2),O(t,n),null!=e.text?this.drawRectText(t,this.getBoundingRect()):this.removeRectText(t)},u.prototype.onRemove=function(t){d(t,this._vmlEl),this.removeRectText(t)},u.prototype.onAdd=function(t){O(t,this._vmlEl),this.appendRectText(t)};s.prototype.brushVML=function(t){var e,n,i,r,o,a,s,l,u,c,h,d,p,f,g,m,v,y,x,_,b,S,A,M,w=this.style,C=w.image;"object"==typeof(m=C)&&m.tagName&&"IMG"===m.tagName.toUpperCase()?((f=C.src)===this._imageSrc?(e=this._imageWidth,n=this._imageHeight):(g=(v=C.runtimeStyle).width,y=v.height,v.width="auto",v.height="auto",e=C.width,n=C.height,v.width=g,v.height=y,this._imageSrc=f,this._imageWidth=e,this._imageHeight=n),C=f):C===this._imageSrc&&(e=this._imageWidth,n=this._imageHeight),C&&(i=w.x||0,M=w.y||0,r=w.width,o=w.height,a=w.sWidth,s=w.sHeight,l=w.sx||0,u=w.sy||0,S=a&&s,(c=this._vmlEl)||(c=D.doc.createElement("div"),k(c),this._vmlEl=c),A=c.style,m=!1,p=d=1,this.transform&&(h=this.transform,d=j(h[0]*h[0]+h[1]*h[1]),p=j(h[2]*h[2]+h[3]*h[3]),m=h[1]||h[2]),m?(g=[i+r,M],v=[i,M+o],y=[i+r,M+o],H(f=[i,M],f,h),H(g,g,h),H(v,v,h),H(y,y,h),m=L(f[0],g[0],v[0],y[0]),v=L(f[1],g[1],v[1],y[1]),(y=[]).push("M11=",h[0]/d,",","M12=",h[2]/p,",","M21=",h[1]/d,",","M22=",h[3]/p,",","Dx=",R(i*d+h[4]),",","Dy=",R(M*p+h[5])),A.padding="0 "+R(m)+"px "+R(v)+"px 0",A.filter=F+".Matrix("+y.join("")+", SizingMethod=clip)"):(h&&(i=i*d+h[4],M=M*p+h[5]),A.filter="",A.left=R(i)+"px",A.top=R(M)+"px"),A=this._imageEl,M=this._cropEl,A||(A=D.doc.createElement("div"),this._imageEl=A),x=A.style,S?(e&&n?(x.width=R(d*e*r/a)+"px",x.height=R(p*n*o/s)+"px"):(_=new Image,b=this,_.onload=function(){_.onload=null,e=_.width,n=_.height,x.width=R(d*e*r/a)+"px",x.height=R(p*n*o/s)+"px",b._imageWidth=e,b._imageHeight=n,b._imageSrc=C},_.src=C),M||((M=D.doc.createElement("div")).style.overflow="hidden",this._cropEl=M),(S=M.style).width=R((r+l*r/a)*d),S.height=R((o+u*o/s)*p),S.filter=F+".Matrix(Dx="+-l*r/a*d+",Dy="+-u*o/s*p+")",M.parentNode||c.appendChild(M),A.parentNode!==M&&M.appendChild(A)):(x.width=R(d*r)+"px",x.height=R(p*o)+"px",c.appendChild(A),M&&M.parentNode&&(c.removeChild(M),this._cropEl=null)),A="",(M=w.opacity)<1&&(A+=".Alpha(opacity="+R(100*M)+") "),x.filter=A+=F+".AlphaImageLoader(src="+C+", SizingMethod=scale)",c.style.zIndex=P(this.zlevel,this.z,this.z2),O(t,c),null!=w.text&&this.drawRectText(t,this.getBoundingRect()))},s.prototype.onRemove=function(t){d(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},s.prototype.onAdd=function(t){O(t,this._vmlEl),this.appendRectText(t)};var f,w="normal",C={},G=0,U=document.createElement("div");b.$override("measureText",function(t,e){var n=D.doc;f||((f=n.createElement("div")).style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",D.doc.body.appendChild(f));try{f.style.font=e}catch(t){}return f.innerHTML="",f.appendChild(n.createTextNode(t)),{width:f.offsetWidth}});function g(t,e,n,i){var r=this.style;if(this.__dirty&&S.normalizeTextStyle(r,!0),null!=(a=r.text)&&(a+=""),a){if(r.rich){for(var o=b.parseRichText(a,r),a=[],s=0;s<o.lines.length;s++){for(var l=o.lines[s].tokens,u=[],c=0;c<l.length;c++)u.push(l[c].text);a.push(u.join(""))}a=a.join("\n")}var h=r.textAlign,d=r.textVerticalAlign,p=function(t){var e=C[t];if(!e){100<G&&(G=0,C={});var n,i=U.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(t){}e={style:i.fontStyle||w,variant:i.fontVariant||w,weight:i.fontWeight||w,size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},C[t]=e,G++}return e}(r.font),f=p.style+" "+p.variant+" "+p.weight+" "+p.size+'px "'+p.family+'"';n=n||b.getBoundingRect(a,f,h,d,r.textPadding,r.textLineHeight);var g,m,v=this.transform;v&&!i&&(Z.copy(e),Z.applyTransform(v),e=Z),i?(g=e.x,m=e.y):(p=r.textPosition)instanceof Array?(g=e.x+M(p[0],e.width),m=e.y+M(p[1],e.height),h=h||"left"):(g=(e=(this.calculateTextPosition?this:b).calculateTextPosition({},r,e)).x,m=e.y,h=h||e.textAlign,d=d||e.textVerticalAlign),g=b.adjustTextX(g,n.width,h),m=b.adjustTextY(m,n.height,d),m+=n.height/2;var y,x,d=D.createNode,n=this._textVmlEl;n?y=(_=(x=n.firstChild).nextSibling).nextSibling:(n=d("line"),_=d("path"),y=d("textpath"),x=d("skew"),y.style["v-text-align"]="left",k(n),_.textpathok=!0,y.on=!0,n.from="0 0",n.to="1000 0.05",O(n,x),O(n,_),O(n,y),this._textVmlEl=n);var d=[g,m],_=n.style;v&&i?(H(d,d,v),x.on=!0,x.matrix=v[0].toFixed(3)+","+v[2].toFixed(3)+","+v[1].toFixed(3)+","+v[3].toFixed(3)+",0,0",x.offset=(R(d[0])||0)+","+(R(d[1])||0),x.origin="0 0",_.left="0px",_.top="0px"):(x.on=!1,_.left=R(g)+"px",_.top=R(m)+"px"),y.string=String(a).replace(/&/g,"&").replace(/"/g,""");try{y.style.font=f}catch(t){}A(n,"fill",{fill:r.textFill,opacity:r.opacity},this),A(n,"stroke",{stroke:r.textStroke,opacity:r.opacity,lineDash:r.lineDash||null},this),n.style.zIndex=P(this.zlevel,this.z,this.z2),O(t,n)}}function m(t){d(t,this._textVmlEl),this._textVmlEl=null}function v(t){O(t,this._textVmlEl)}for(var Z=new r,y=[o,a,s,u,l],x=0;x<y.length;x++){var _=y[x].prototype;_.drawRectText=g,_.removeRectText=m,_.appendRectText=v}l.prototype.brushVML=function(t){var e=this.style;null!=e.text?this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(t)},l.prototype.onRemove=function(t){this.removeRectText(t)},l.prototype.onAdd=function(t){this.appendRectText(t)}}},function(t,e,n){var i=n(155),a=n(721),n=n(1).each;function r(t){return parseInt(t,10)}function o(t,e){a.initVML(),this.root=t,this.storage=e;var n=document.createElement("div"),i=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",t.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var r=e.delFromStorage,o=e.addToStorage;e.delFromStorage=function(t){r.call(e,t),t&&t.onRemove&&t.onRemove(i)},e.addToStorage=function(t){t.onAdd&&t.onAdd(i),o.call(e,t)},this._firstPaint=!0}o.prototype={constructor:o,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,n=0;n<t.length;n++){var i=t[n];i.invisible||i.ignore?(i.__alreadyNotVisible||i.onRemove(e),i.__alreadyNotVisible=!0):(i.__alreadyNotVisible&&i.onAdd(e),i.__alreadyNotVisible=!1,i.__dirty&&(i.beforeBrush&&i.beforeBrush(),(i.brushVML||i.brush).call(i,e),i.afterBrush&&i.afterBrush())),i.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(t,e){var n,t=null==t?this._getWidth():t,e=null==e?this._getHeight():e;this._width===t&&this._height===e||(this._width=t,this._height=e,(n=this._vmlViewport.style).width=t+"px",n.height=e+"px")},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var t=this.root,e=t.currentStyle;return(t.clientWidth||r(e.width))-r(e.paddingLeft)-r(e.paddingRight)|0},_getHeight:function(){var t=this.root,e=t.currentStyle;return(t.clientHeight||r(e.height))-r(e.paddingTop)-r(e.paddingBottom)|0}},n(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;o.prototype[t]=(e=t,function(){i('In IE8.0 VML mode painter not support method "'+e+'"')})}),t.exports=o},function(t,e,n){n(366),(0,n(271).registerPainter)("svg",n(1110))},function(t,e,n){var a=n(367).createElement,s=n(1),i=n(155),f=n(35),g=n(127),m=n(103),v=n(1111),l=n(1112),u=n(1113),c=n(1114),n=n(366),y=n.path,x=n.image,_=n.text;function h(t){return parseInt(t,10)}function r(t,e){return e&&t&&e.parentNode!==t}function b(t,e,n){r(t,e)&&n&&((n=n.nextSibling)?t.insertBefore(e,n):t.appendChild(e))}function S(t,e){var n;r(t,e)&&((n=t.firstChild)?t.insertBefore(e,n):t.appendChild(e))}function A(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function M(t){return t.__textSvgEl}function w(t){return t.__svgEl}function o(t,e,n,i){this.root=t,this.storage=e,this._opts=n=s.extend({},n||{});var r=a("svg");r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("version","1.1"),r.setAttribute("baseProfile","full"),r.style.cssText="user-select:none;position:absolute;left:0;top:0;";var o=a("g");r.appendChild(o),e=a("g"),r.appendChild(e),this.gradientManager=new l(i,e),this.clipPathManager=new u(i,e),this.shadowManager=new c(i,e),(i=document.createElement("div")).style.cssText="overflow:hidden;position:relative",this._svgDom=r,this._svgRoot=e,this._backgroundRoot=o,this._viewport=i,t.appendChild(i),i.appendChild(r),this.resize(n.width,n.height),this._visibleList=[]}o.prototype={constructor:o,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=a("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0),e.style.fill=t,this._backgroundRoot.appendChild(e),this._backgroundNode=e},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();for(var e=this._svgRoot,n=this._visibleList,i=t.length,r=[],o=0;o<i;o++){var a=t[o],s=(s=a)instanceof f?y:s instanceof g?x:s instanceof m?_:y,l=w(a)||M(a);a.invisible||(a.__dirty&&(s&&s.brush(a),this.clipPathManager.update(a),a.style&&(this.gradientManager.update(a.style.fill),this.gradientManager.update(a.style.stroke),this.shadowManager.update(l,a)),a.__dirty=!1),r.push(a))}var u,c,h=v(n,r);for(o=0;o<h.length;o++)if((c=h[o]).removed)for(var d=0;d<c.count;d++){var l=w(a=n[c.indices[d]]),p=M(a);A(e,l),A(e,p)}for(o=0;o<h.length;o++)if((c=h[o]).added)for(d=0;d<c.count;d++){l=w(a=r[c.indices[d]]),p=M(a);u?b(e,l,u):S(e,l),l?b(e,p,l):u?b(e,p,u):S(e,p),b(e,p,l),u=p||l||u,this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a)}else if(!c.removed)for(d=0;d<c.count;d++){l=w(a=r[c.indices[d]]),p=M(a),l=w(a),p=M(a);this.gradientManager.markUsed(a),this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.markUsed(a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a),p&&b(e,p,l),u=l||p||u}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=r},_getDefs:function(t){var e=this._svgDom,i=e.getElementsByTagName("defs");return 0!==i.length?i[0]:t?((i=e.insertBefore(a("defs"),e.firstChild)).contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;0<=n;--n)if(e[n]===t)return!0;return!1}),i):null},resize:function(t,e){var n=this._viewport;n.style.display="none";var i=this._opts;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,(n=n.style).width=t+"px",n.height=e+"px",(n=this._svgDom).setAttribute("width",t),n.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]);t=this.root,e=document.defaultView.getComputedStyle(t);return(t[i]||h(e[n])||h(t.style[n]))-(h(e[r])||0)-(h(e[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(/></g,">\n\r<"))}},s.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(t){var e;o.prototype[t]=(e=t,function(){i('In SVG mode painter not support method "'+e+'"')})}),t.exports=o},function(t,e){function n(){}n.prototype={diff:function(s,l,t){this.equals=t=t||function(t,e){return t===e};var u=this;s=s.slice();var c=(l=l.slice()).length,h=s.length,d=1,e=c+h,p=[{newPos:-1,components:[]}],t=this.extractCommon(p[0],l,s,0);if(p[0].newPos+1>=c&&h<=t+1){for(var n=[],i=0;i<l.length;i++)n.push(i);return[{indices:n,count:l.length}]}function r(){for(var t=-1*d;t<=d;t+=2){var e,n=p[t-1],i=p[t+1],r=(i?i.newPos:0)-t;n&&(p[t-1]=void 0);var o=n&&n.newPos+1<c,a=i&&0<=r&&r<h;if(o||a){if(!o||a&&n.newPos<i.newPos?(e={newPos:(e=i).newPos,components:e.components.slice(0)},u.pushComponent(e.components,void 0,!0)):((e=n).newPos++,u.pushComponent(e.components,!0,void 0)),r=u.extractCommon(e,l,s,t),e.newPos+1>=c&&h<=r+1)return function(t){for(var e=0,n=t.length,i=0,r=0;e<n;e++){var o=t[e];if(o.removed){for(a=[],s=r;s<r+o.count;s++)a.push(s);o.indices=a,r+=o.count}else{for(var a=[],s=i;s<i+o.count;s++)a.push(s);o.indices=a,i+=o.count,o.added||(r+=o.count)}}return t}(e.components);p[t]=e}else p[t]=void 0}d++}for(;d<=e;){var o=r();if(o)return o}},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<r&&s+1<o&&this.equals(e[a+1],n[s+1]);)a++,s++,l++;return l&&t.components.push({count:l}),t.newPos=a,s},tokenize:function(t){return t.slice()},join:function(t){return t.slice()}};var i=new n;t.exports=function(t,e,n){return i.diff(t,e,n)}},function(t,e,n){var r=n(368),i=n(1),l=n(155),u=n(71);function o(t,e){r.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}i.inherits(o,r),o.prototype.addWithoutUpdate=function(r,o){var a;o&&o.style&&(a=this,i.each(["fill","stroke"],function(t){var e,n,i;!o.style[t]||"linear"!==o.style[t].type&&"radial"!==o.style[t].type||(e=o.style[t],n=a.getDefs(!0),e._dom?(i=e._dom,n.contains(e._dom)||a.addDom(i)):i=a.add(e),a.markUsed(o),i=i.getAttribute("id"),r.setAttribute(t,"url(#"+i+")"))}))},o.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return l("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},o.prototype.update=function(n){var i=this;r.prototype.update.call(this,n,function(){var t=n.type,e=n._dom.tagName;"linear"===t&&"linearGradient"===e||"radial"===t&&"radialGradient"===e?i.updateDom(n,n._dom):(i.removeDom(n),i.add(n))})},o.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void l("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,i=0,r=n.length;i<r;++i){var o=this.createElement("stop");o.setAttribute("offset",100*n[i].offset+"%");var a,s=n[i].color;-1<s.indexOf("rgba")?(a=u.parse(s)[3],s=u.toHex(s),o.setAttribute("stop-color","#"+s),o.setAttribute("stop-opacity",a)):o.setAttribute("stop-color",n[i].color),e.appendChild(o)}t._dom=e},o.prototype.markUsed=function(t){var e;t.style&&((e=t.style.fill)&&e._dom&&r.prototype.markUsed.call(this,e._dom),(e=t.style.stroke)&&e._dom&&r.prototype.markUsed.call(this,e._dom))},t.exports=o},function(t,e,n){var i=n(368),r=n(1),l=n(52);function o(t,e){i.call(this,t,e,"clipPath","__clippath_in_use__")}r.inherits(o,i),o.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);e=this.getTextSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!0),this.markUsed(t)},o.prototype.updateDom=function(t,e,n){var i,r,o,a,s;e&&0<e.length?(o=this.getDefs(!0),(s=e[0])[a=n?"_textDom":"_dom"]?(r=s[a].getAttribute("id"),i=s[a],o.contains(i)||o.appendChild(i)):(r="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",r),o.appendChild(i),s[a]=i),o=this.getSvgProxy(s),s.transform&&s.parent.invTransform&&!n?(a=Array.prototype.slice.call(s.transform),l.mul(s.transform,s.parent.invTransform,s.transform),o.brush(s),s.transform=a):o.brush(s),s=this.getSvgElement(s),i.innerHTML="",i.appendChild(s.cloneNode()),t.setAttribute("clip-path","url(#"+r+")"),1<e.length&&this.updateDom(i,e.slice(1),n)):t&&t.setAttribute("clip-path","none")},o.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)})},t.exports=o},function(t,e,n){var i=n(368);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(1).inherits(r,i),r.prototype.addWithoutUpdate=function(t,e){var n;e&&o(e.style)&&(e._shadowDom?(n=e._shadowDom,this.getDefs(!0).contains(e._shadowDom)||this.addDom(n)):n=this.add(e),this.markUsed(e),n=n.getAttribute("id"),t.style.filter="url(#"+n+")")},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){var n;o(e.style)?i.prototype.update.call(n=this,e,function(){n.updateDom(e,e._shadowDom)}):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,i,r,o,a=0===(a=e.getElementsByTagName("feDropShadow")).length?this.createElement("feDropShadow"):a[0],s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)n=s.shadowOffsetX||0,i=s.shadowOffsetY||0,r=s.shadowBlur,o=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);n=s.textShadowOffsetX||0,i=s.textShadowOffsetY||0,r=s.textShadowBlur,o=s.textShadowColor}a.setAttribute("dx",n/l),a.setAttribute("dy",i/u),a.setAttribute("flood-color",o),a.setAttribute("stdDeviation",r/2/l+" "+r/2/u),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(r/2*200)+"%"),e.setAttribute("height",Math.ceil(r/2*200)+"%"),e.appendChild(a),t._shadowDom=e},r.prototype.markUsed=function(t){t._shadowDom&&i.prototype.markUsed.call(this,t._shadowDom)},t.exports=r},function(t,e,n){var c,n=n(69),i=n.util,r=n.graphic,o=n.matrix;function h(t,e){this._bmap=t,this.dimensions=["lng","lat"],this._mapOffset=[0,0],this._api=e,this._projection=new BMap.MercatorProjection}function a(o,a){return a=a||[0,0],i.map([0,1],function(t){var e=a[t],n=o[t]/2,i=[],r=[];return i[t]=e-n,r[t]=e+n,i[1-t]=r[1-t]=a[1-t],Math.abs(this.dataToPoint(i)[t]-this.dataToPoint(r)[t])},this)}h.prototype.dimensions=["lng","lat"],h.prototype.setZoom=function(t){this._zoom=t},h.prototype.setCenter=function(t){this._center=this._projection.lngLatToPoint(new BMap.Point(t[0],t[1]))},h.prototype.setMapOffset=function(t){this._mapOffset=t},h.prototype.getBMap=function(){return this._bmap},h.prototype.dataToPoint=function(t){var e=new BMap.Point(t[0],t[1]),t=this._bmap.pointToOverlayPixel(e),e=this._mapOffset;return[t.x-e[0],t.y-e[1]]},h.prototype.pointToData=function(t){var e=this._mapOffset;return[(t=this._bmap.overlayPixelToPoint({x:t[0]+e[0],y:t[1]+e[1]})).lng,t.lat]},h.prototype.getViewRect=function(){var t=this._api;return new r.BoundingRect(0,0,t.getWidth(),t.getHeight())},h.prototype.getRoamTransform=function(){return o.create()},h.prototype.prepareCustoms=function(t){var e=this.getViewRect();return{coordSys:{type:"bmap",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:i.bind(this.dataToPoint,this),size:i.bind(a,this)}}},h.dimensions=h.prototype.dimensions,h.create=function(t,s){var l,u=s.getDom();t.eachComponent("bmap",function(t){var e=s.getZr().painter,n=e.getViewportRoot();if("undefined"==typeof BMap)throw new Error("BMap api is not loaded");function i(t){this._root=t}if(c=c||((i.prototype=new BMap.Overlay).initialize=function(t){return t.getPanes().labelPane.appendChild(this._root),this._root},i.prototype.draw=function(){},i),l)throw new Error("Only one bmap component can exist");t.__bmap||((r=u.querySelector(".ec-extension-bmap"))&&(n.style.left="0px",n.style.top="0px",u.removeChild(r)),(r=document.createElement("div")).style.cssText="width:100%;height:100%",r.classList.add("ec-extension-bmap"),u.appendChild(r),delete(a=t.get("mapOptions")||{}).mapType,o=t.__bmap=new BMap.Map(r,a),r=new c(n),o.addOverlay(r),e.getViewportRootOffset=function(){return{offsetLeft:0,offsetTop:0}});var r,o=t.__bmap,a=t.get("center"),n=t.get("zoom");a&&n&&(r=o.getCenter(),e=o.getZoom(),t.centerOrZoomChanged([r.lng,r.lat],e)&&(e=new BMap.Point(a[0],a[1]),o.centerAndZoom(e,n))),(l=new h(o,s)).setMapOffset(t.__mapOffset||[0,0]),l.setZoom(n),l.setCenter(a),t.coordinateSystem=l}),t.eachSeries(function(t){"bmap"===t.get("coordinateSystem")&&(t.coordinateSystem=l)})},t.exports=h},function(t,e,n){n=n(69).extendComponentModel({type:"bmap",getBMap:function(){return this.__bmap},setCenterAndZoom:function(t,e){this.option.center=t,this.option.zoom=e},centerOrZoomChanged:function(t,e){var n,i=this.option;return n=t,t=i.center,!(n&&t&&n[0]===t[0]&&n[1]===t[1]&&e===i.zoom)},defaultOption:{center:[104.114129,37.550339],zoom:5,mapStyle:{},mapStyleV2:{},mapOptions:{},roam:!1}});t.exports=n},function(t,e,n){var d=n(69);function p(t){for(var e in t)if(t.hasOwnProperty(e))return;return 1}n=d.extendComponentView({type:"bmap",render:function(i,t,r){var o=!0,e=i.getBMap(),a=r.getZr().painter.getViewportRoot(),s=i.coordinateSystem,n=function(t,e){var n;o||(n=a.parentNode.parentNode.parentNode,n=[-parseInt(n.style.left,10)||0,-parseInt(n.style.top,10)||0],a.style.left=n[0]+"px",a.style.top=n[1]+"px",s.setMapOffset(n),i.__mapOffset=n,r.dispatchAction({type:"bmapRoam"}))};function l(){o||r.dispatchAction({type:"bmapRoam"})}e.removeEventListener("moving",this._oldMoveHandler),e.removeEventListener("moveend",this._oldMoveHandler),e.removeEventListener("zoomend",this._oldZoomEndHandler),e.addEventListener("moving",n),e.addEventListener("moveend",n),e.addEventListener("zoomend",l),this._oldMoveHandler=n,this._oldZoomEndHandler=l;var u=i.get("roam");u&&"scale"!==u?e.enableDragging():e.disableDragging(),u&&"move"!==u?(e.enableScrollWheelZoom(),e.enableDoubleClickZoom(),e.enablePinchToZoom()):(e.disableScrollWheelZoom(),e.disableDoubleClickZoom(),e.disablePinchToZoom());var c=i.__mapStyle,n=i.get("mapStyle")||{},u=JSON.stringify(n);JSON.stringify(c)!==u&&(p(h)||e.setMapStyle(d.util.clone(n)),i.__mapStyle=JSON.parse(u));var n=i.__mapStyle2,h=i.get("mapStyleV2")||{},u=JSON.stringify(h);JSON.stringify(n)!==u&&(p(h)||e.setMapStyleV2(d.util.clone(h)),i.__mapStyle2=JSON.parse(u)),o=!1}});t.exports=n},function(t,e,n){t.exports=n(1119)},function(t,e,n){var i;t.exports=(i=n(69),function(n){function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var r={};return i.m=n,i.c=r,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=4)}([function(t,e){t.exports=i},function(t,e,n){function l(t,e){this._amap=t,this.dimensions=["lng","lat"],this._mapOffset=[0,0],this._api=e}var u=n(0);l.prototype.dimensions=["lng","lat"],l.prototype.setZoom=function(t){this._zoom=t},l.prototype.setCenter=function(t){this._center=this._amap.lnglatToPixel(t)},l.prototype.setMapOffset=function(t){this._mapOffset=t},l.prototype.getAMap=function(){return this._amap},l.prototype.dataToPoint=function(t){var e=new AMap.LngLat(t[0],t[1]),t=this._amap.lngLatToContainer(e),e=this._mapOffset;return[t.x-e[0],t.y-e[1]]},l.prototype.pointToData=function(t){var e=this._mapOffset;return[(t=this._amap.containerToLngLat({x:t[0]+e[0],y:t[1]+e[1]})).lng,t.lat]},l.prototype.getViewRect=function(){var t=this._api;return new u.graphic.BoundingRect(0,0,t.getWidth(),t.getHeight())},l.prototype.getRoamTransform=function(){return u.matrix.create()},l.dimensions=l.prototype.dimensions,l.create=function(t,o){var a,s=o.getDom();t.eachComponent("amap",function(t){var e=o.getZr().painter.getViewportRoot();if("undefined"==typeof AMap)throw new Error("AMap api is not loaded");if(a)throw new Error("Only one amap component can exist");t.__amap||((n=s.querySelector(".ec-extension-amap"))&&(e.style.left="0px",e.style.top="0px",s.removeChild(n)),(n=document.createElement("div")).style.cssText="width:100%;height:100%",n.classList.add("ec-extension-amap"),s.appendChild(n),r=t.get()||{},r=t.__options=u.util.clone(r),i=t.__amap=new AMap.Map(n,r),(n=t.__layer=new AMap.CustomLayer(e)).setMap(i));var n,i=t.getAMap();(n=t.getLayer()).hide();var r=i.getZoom(),e=i.getCenter();(a=new l(i,o)).setMapOffset(t.__mapOffset||[0,0]),a.setZoom(r),a.setCenter([e.lng,e.lat]),t.coordinateSystem=a,n.show()}),t.eachSeries(function(t){"amap"===t.get("coordinateSystem")&&(t.coordinateSystem=a)})},t.exports=l},function(t,e,n){t.exports=n(0).extendComponentModel({type:"amap",getAMap:function(){return this.__amap},getLayer:function(){return this.__layer},getMapOptions:function(){return this.__options},setCenterAndZoom:function(t,e){this.option.center=t,this.option.zoom=e},centerOrZoomChanged:function(t,e){var n,i=this.option;return n=t,t=i.center,!(n&&t&&n[0]===t[0]&&n[1]===t[1]&&e===i.zoom)},defaultOption:{center:[116.397475,39.908695],zoom:4}})},function(t,e,n){var v=n(0);t.exports=n(0).extendComponentView({type:"amap",render:function(n,t,i){function e(){h||i.dispatchAction({type:"amapRoam"})}var r,o,a,s,l,u,c,h=!0,d=n.getAMap(),p=i.getZr().painter.getViewportRoot(),f=n.coordinateSystem,g=function(t){var e;h||(e=p.parentNode.parentNode.parentNode,e=[-parseInt(e.style.left,10)||0,-parseInt(e.style.top,10)||0],p.style.left=e[0]+"px",p.style.top=e[1]+"px",f.setMapOffset(e),n.__mapOffset=e,i.dispatchAction({type:"amapRoam"}))},m=(r=function(t){v.getInstanceByDom(i.getDom()).resize(),g.call(this,t)},o=300,c=function(){s=!1,l&&(u.apply(a,l),l=!1)},u=function(){s?l=arguments:(r.apply(a,arguments),setTimeout(c,o),s=!0)});(a=d).off("movestart",this._oldMoveHandler),d.off("zoomend",this._oldZoomEndHandler),d.off("moveend",this._oldZoomEndHandler),d.off("complete",this._oldZoomEndHandler),n.get("resizeEnable")&&d.off("resize",this._oldResizeHandler),d.on("movestart",g),d.on("zoomend",e),d.on("moveend",e),d.on("complete",e),n.get("resizeEnable")&&d.on("resize",m),this._oldMoveHandler=g,this._oldZoomEndHandler=e,this._oldResizeHandler=m,h=!1}})},function(t,e,n){n(0).registerCoordinateSystem("amap",n(1)),n(2),n(3),n(0).registerAction({type:"amapRoam",event:"amapRoam",update:"updateLayout"},function(t,e){e.eachComponent("amap",function(t){var e=t.getAMap(),n=e.getCenter();t.setCenterAndZoom([n.lng,n.lat],e.getZoom())})}),t.exports={version:"1.0.0-rc.6"}}]))},function(t,e,n){t.exports=n(1121)},,,,,function(t,e,n){t.exports=n(1126)},,,,,function(t,e,n){n(9),n(22),n(23),n(61),n(722)},function(t,e,n){"use strict";e.__esModule=!0,e.createNamespace=function(t){return t="van-"+t,[(0,r.createComponent)(t),(0,i.createBEM)(t),(0,o.createI18N)(t)]};var i=n(1132),r=n(1133),o=n(1136)},function(t,e,n){"use strict";e.__esModule=!0,e.createBEM=function(n){return function(t,e){return t&&"string"!=typeof t&&(e=t,t=""),""+(t=t?n+"__"+t:n)+function n(i,r){if(!r)return"";if("string"==typeof r)return" "+i+"--"+r;if(Array.isArray(r))return r.reduce(function(t,e){return t+n(i,e)},"");return Object.keys(r).reduce(function(t,e){return t+(r[e]?n(i,e):"")},"")}(t,e)}}},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.unifySlots=l,e.createComponent=function(e){return function(t){var n;return(t=(0,r.isFunction)(t)?{functional:!0,props:(n=t).props,model:n.model,render:function(t,e){return n(t,e.props,l(e),e)}}:t).functional||(t.mixins=t.mixins||[],t.mixins.push(a.SlotsMixin)),t.name=e,t.install=s,t}},n(723);var r=n(7),o=n(137),a=n(1135);i(n(6));function s(t){var e=this.name;t.component(e,this),t.component((0,o.camelize)("-"+e),this)}function l(t){var e=t.scopedSlots||t.data.scopedSlots||{},n=t.slots();return Object.keys(n).forEach(function(t){e[t]||(e[t]=function(){return n[t]})}),e}},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",complete:"完成",loading:"加载中...",telEmpty:"请填写电话",nameEmpty:"请填写姓名",nameInvalid:"请输入正确的姓名",confirmDelete:"确定要删除吗",telInvalid:"请输入正确的手机号",vanCalendar:{end:"结束",start:"开始",title:"日期选择",confirm:"确定",startEnd:"开始/结束",weekdays:["日","一","二","三","四","五","六"],monthTitle:function(t,e){return t+"年"+e+"月"},rangePrompt:function(t){return"选择天数不能超过 "+t+" 天"}},vanCascader:{select:"请选择"},vanContactCard:{addText:"添加联系人"},vanContactList:{addText:"新建联系人"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无使用门槛",discount:function(t){return t+"折"},condition:function(t){return"满"+t+"元可用"}},vanCouponCell:{title:"优惠券",tips:"暂无可用",count:function(t){return t+"张可用"}},vanCouponList:{empty:"暂无优惠券",exchange:"兑换",close:"不使用优惠券",enable:"可用",disabled:"不可用",placeholder:"请输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码格式不正确",defaultAddress:"设为默认收货地址",telPlaceholder:"收货人手机号",namePlaceholder:"收货人姓名",areaPlaceholder:"选择省 / 市 / 区"},vanAddressEditDetail:{label:"详细地址",placeholder:"街道门牌、楼层房间号等信息"},vanAddressList:{add:"新增地址"}}},function(t,e,n){"use strict";e.__esModule=!0,e.SlotsMixin=void 0;e.SlotsMixin={methods:{slots:function(t,e){var n=this.$slots,i=this.$scopedSlots[t=void 0===t?"default":t];return i?i(e):n[t]}}}},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.createI18N=function(t){var o=(0,r.camelize)(t)+".";return function(t){for(var e=s.default.messages(),t=(0,a.get)(e,o+t)||(0,a.get)(e,t),n=arguments.length,i=new Array(1<n?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return(0,a.isFunction)(t)?t.apply(void 0,i):t}};var a=n(7),r=n(137),s=i(n(723))},function(t,e,n){n(9),n(22),n(23),n(173)},function(t,e,n){n(9),n(1139)},function(t,e,n){},function(t,e,n){n(9),n(68),n(22),n(23),n(75),n(61),n(722),n(725),n(1141)},function(t,e,n){},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.updateOverlay=c,e.openOverlay=function(t,e){var n=a.context.find(t);n?n.config=e:(n=function(t){return(0,s.mount)(o.default,{on:{click:function(){t.$emit("click-overlay"),t.closeOnClickOverlay&&(t.onClickOverlay?t.onClickOverlay():t.close())}}})}(t),a.context.stack.push({vm:t,config:e,overlay:n}));c(t)},e.closeOverlay=function(t){t=a.context.find(t);t&&(t.overlay.show=!1)},e.removeOverlay=function(t){t=a.context.find(t);t&&(0,l.removeNode)(t.overlay.$el)};var r=i(n(28)),o=i(n(302)),a=n(727),s=n(47),l=n(371),u={className:"",customStyle:{}};function c(t){var e,n=a.context.find(t);n&&(e=t.$el,t=n.config,n=n.overlay,e&&e.parentNode&&e.parentNode.insertBefore(n.$el,e),(0,r.default)(n,u,t,{show:!0}))}},function(t,e,n){"use strict";e.__esModule=!0,e.CloseOnPopstateMixin=void 0;var i=n(40),n={mixins:[(0,n(81).BindEventMixin)(function(t,e){this.handlePopstate(e&&this.closeOnPopstate)})],props:{closeOnPopstate:Boolean},data:function(){return{bindStatus:!1}},watch:{closeOnPopstate:function(t){this.handlePopstate(t)}},methods:{onPopstate:function(){this.close(),this.shouldReopen=!1},handlePopstate:function(t){this.$isServer||this.bindStatus!==t&&((this.bindStatus=t)?i.on:i.off)(window,"popstate",this.onPopstate)}}};e.CloseOnPopstateMixin=n},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=n(1145),a=n(138),s=i(n(32)),l=i(n(74)),i=(0,r.createNamespace)("toast"),n=i[0],u=i[1],a=n({mixins:[(0,a.PopupMixin)()],props:{icon:String,className:null,iconPrefix:String,loadingType:String,forbidClick:Boolean,closeOnClick:Boolean,message:[Number,String],type:{type:String,default:"text"},position:{type:String,default:"middle"},transition:{type:String,default:"van-fade"},lockScroll:{type:Boolean,default:!1}},data:function(){return{clickable:!1}},mounted:function(){this.toggleClickable()},destroyed:function(){this.toggleClickable()},watch:{value:"toggleClickable",forbidClick:"toggleClickable"},methods:{onClick:function(){this.closeOnClick&&this.close()},toggleClickable:function(){var t=this.value&&this.forbidClick;this.clickable!==t&&(this.clickable=t,(0,o.lockClick)(t))},onAfterEnter:function(){this.$emit("opened"),this.onOpened&&this.onOpened()},onAfterLeave:function(){this.$emit("closed")},genIcon:function(){var t=this.$createElement,e=this.icon,n=this.type,i=this.iconPrefix,r=this.loadingType;return e||"success"===n||"fail"===n?t(s.default,{class:u("icon"),attrs:{classPrefix:i,name:e||n}}):"loading"===n?t(l.default,{class:u("loading"),attrs:{type:r}}):void 0},genMessage:function(){var t=this.$createElement,e=this.type,n=this.message;if((0,r.isDef)(n)&&""!==n)return"html"===e?t("div",{class:u("text"),domProps:{innerHTML:n}}):t("div",{class:u("text")},[n])}},render:function(){var t=arguments[0];return t("transition",{attrs:{name:this.transition},on:{afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[t("div",{directives:[{name:"show",value:this.value}],class:[u([this.position,((t={})[this.type]=!this.icon,t)]),this.className],on:{click:this.onClick}},[this.genIcon(),this.genMessage()])])}});e.default=a},function(t,e,n){"use strict";e.__esModule=!0,e.lockClick=function(t){t?(i||document.body.classList.add("van-toast--unclickable"),i++):--i||document.body.classList.remove("van-toast--unclickable")};var i=0},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(62),u=n(370),o=n(373),n=(0,(0,i.createNamespace)("calendar-month")[0])({props:{date:Date,type:String,color:String,minDate:Date,maxDate:Date,showMark:Boolean,rowHeight:[Number,String],formatter:Function,lazyRender:Boolean,currentDate:[Date,Array],allowSameDay:Boolean,showSubtitle:Boolean,showMonthTitle:Boolean,firstDayOfWeek:Number},data:function(){return{visible:!1}},computed:{title:function(){return(0,u.formatMonthTitle)(this.date)},rowHeightWithUnit:function(){return(0,i.addUnit)(this.rowHeight)},offset:function(){var t=this.firstDayOfWeek,e=this.date.getDay();return t?(e+7-this.firstDayOfWeek)%7:e},totalDay:function(){return(0,o.getMonthEndDay)(this.date.getFullYear(),this.date.getMonth()+1)},shouldRender:function(){return this.visible||!this.lazyRender},placeholders:function(){for(var t=[],e=Math.ceil((this.totalDay+this.offset)/7),n=1;n<=e;n++)t.push({type:"placeholder"});return t},days:function(){for(var t=[],e=this.date.getFullYear(),n=this.date.getMonth(),i=1;i<=this.totalDay;i++){var r=new Date(e,n,i),o=this.getDayType(r),o={date:r,type:o,text:i,bottomInfo:this.getBottomInfo(o)};this.formatter&&(o=this.formatter(o)),t.push(o)}return t}},methods:{getHeight:function(){return this.height||(this.height=this.$el.getBoundingClientRect().height),this.height},scrollIntoView:function(t){var e=this.$refs,n=e.days,e=e.month,e=(this.showSubtitle?n:e).getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop;(0,r.setScrollTop)(t,e)},getMultipleDayType:function(t){function e(e){return n.currentDate.some(function(t){return 0===(0,u.compareDay)(t,e)})}var n=this;if(e(t)){var i=(0,u.getPrevDay)(t),t=(0,u.getNextDay)(t),i=e(i),t=e(t);return i&&t?"multiple-middle":i?"end":t?"start":"multiple-selected"}return""},getRangeDayType:function(t){var e=this.currentDate,n=e[0],e=e[1];if(!n)return"";n=(0,u.compareDay)(t,n);if(!e)return 0===n?"start":"";e=(0,u.compareDay)(t,e);return 0===n&&0===e&&this.allowSameDay?"start-end":0===n?"start":0===e?"end":0<n&&e<0?"middle":void 0},getDayType:function(t){var e=this.type,n=this.minDate,i=this.maxDate,r=this.currentDate;return(0,u.compareDay)(t,n)<0||0<(0,u.compareDay)(t,i)?"disabled":null!==r?"single"===e?0===(0,u.compareDay)(t,r)?"selected":"":"multiple"===e?this.getMultipleDayType(t):"range"===e?this.getRangeDayType(t):void 0:void 0},getBottomInfo:function(t){if("range"===this.type)return"start"===t||"end"===t?(0,u.t)(t):"start-end"===t?(0,u.t)("startEnd"):void 0},getDayStyle:function(t,e){var n={height:this.rowHeightWithUnit};return"placeholder"===t?n.width="100%":(0===e&&(n.marginLeft=100*this.offset/7+"%"),this.color&&("start"===t||"end"===t||"start-end"===t||"multiple-selected"===t||"multiple-middle"===t?n.background=this.color:"middle"===t&&(n.color=this.color))),n},genTitle:function(){var t=this.$createElement;if(this.showMonthTitle)return t("div",{class:(0,u.bem)("month-title")},[this.title])},genMark:function(){var t=this.$createElement;if(this.showMark&&this.shouldRender)return t("div",{class:(0,u.bem)("month-mark")},[this.date.getMonth()+1])},genDays:function(){var t=this.$createElement,e=this.shouldRender?this.days:this.placeholders;return t("div",{ref:"days",attrs:{role:"grid"},class:(0,u.bem)("days")},[this.genMark(),e.map(this.genDay)])},genDay:function(t,e){var n=this,i=this.$createElement,r=t.type,o=t.topInfo,a=t.bottomInfo,s=this.getDayStyle(r,e),l="disabled"===r,e=function(){l||n.$emit("click",t)},o=o&&i("div",{class:(0,u.bem)("top-info")},[o]),a=a&&i("div",{class:(0,u.bem)("bottom-info")},[a]);return"selected"===r?i("div",{attrs:{role:"gridcell",tabindex:-1},style:s,class:[(0,u.bem)("day"),t.className],on:{click:e}},[i("div",{class:(0,u.bem)("selected-day"),style:{width:this.rowHeightWithUnit,height:this.rowHeightWithUnit,background:this.color}},[o,t.text,a])]):i("div",{attrs:{role:"gridcell",tabindex:l?null:-1},style:s,class:[(0,u.bem)("day",r),t.className],on:{click:e}},[o,t.text,a])}},render:function(){return(0,arguments[0])("div",{class:(0,u.bem)("month"),ref:"month"},[this.genTitle(),this.genDays()])}});e.default=n},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var i=n(7),r=n(370),i=(0,(0,i.createNamespace)("calendar-header")[0])({props:{title:String,subtitle:String,showTitle:Boolean,showSubtitle:Boolean,firstDayOfWeek:Number},methods:{genTitle:function(){var t=this.$createElement;if(this.showTitle){var e=this.slots("title")||this.title||(0,r.t)("title");return t("div",{class:(0,r.bem)("header-title")},[e])}},genSubtitle:function(){var t=this.$createElement;if(this.showSubtitle)return t("div",{class:(0,r.bem)("header-subtitle")},[this.subtitle])},genWeekDays:function(){var e=this.$createElement,t=(0,r.t)("weekdays"),n=this.firstDayOfWeek,n=[].concat(t.slice(n,7),t.slice(0,n));return e("div",{class:(0,r.bem)("weekdays")},[n.map(function(t){return e("span",{class:(0,r.bem)("weekday")},[t])})])}},render:function(){return(0,arguments[0])("div",{class:(0,r.bem)("header")},[this.genTitle(),this.genSubtitle(),this.genWeekDays()])}});e.default=i},function(t,e,n){n(9),n(22),n(23),n(728),n(729),n(1149),n(1150)},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var o=n(7),r=n(1152),a=n(110),s=n(174),l=n(40),u=n(290),c=n(54),h=n(731),d=n(62),p=n(36),f=n(81),g=i(n(1153)),m=i(n(304)),v=i(n(1154)),i=(0,o.createNamespace)("tabs"),n=i[0],y=i[1],f=n({mixins:[(0,p.ParentMixin)("vanTabs"),(0,f.BindEventMixin)(function(t){this.scroller||(this.scroller=(0,d.getScroller)(this.$el)),t(window,"resize",this.resize,!0),this.scrollspy&&t(this.scroller,"scroll",this.onScroll,!0)})],model:{prop:"active"},props:{color:String,border:Boolean,sticky:Boolean,animated:Boolean,swipeable:Boolean,scrollspy:Boolean,background:String,lineWidth:[Number,String],lineHeight:[Number,String],beforeChange:Function,titleActiveColor:String,titleInactiveColor:String,type:{type:String,default:"line"},active:{type:[Number,String],default:0},ellipsis:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},offsetTop:{type:[Number,String],default:0},lazyRender:{type:Boolean,default:!0},swipeThreshold:{type:[Number,String],default:5}},data:function(){return{position:"",currentIndex:null,lineStyle:{backgroundColor:this.color}}},computed:{scrollable:function(){return this.children.length>this.swipeThreshold||!this.ellipsis},navStyle:function(){return{borderColor:this.color,background:this.background}},currentName:function(){var t=this.children[this.currentIndex];if(t)return t.computedName},offsetTopPx:function(){return(0,u.unitToPx)(this.offsetTop)},scrollOffset:function(){return this.sticky?this.offsetTopPx+this.tabHeight:0}},watch:{color:"setLine",active:function(t){t!==this.currentName&&this.setCurrentIndexByName(t)},children:function(){var t=this;this.setCurrentIndexByName(this.active||this.currentName),this.setLine(),this.$nextTick(function(){t.scrollIntoView(!0)})},currentIndex:function(){this.scrollIntoView(),this.setLine(),this.stickyFixed&&!this.scrollspy&&(0,d.setRootScrollTop)(Math.ceil((0,d.getElementTop)(this.$el)-this.offsetTopPx))},scrollspy:function(t){t?(0,l.on)(this.scroller,"scroll",this.onScroll,!0):(0,l.off)(this.scroller,"scroll",this.onScroll)}},mounted:function(){this.init()},activated:function(){this.init(),this.setLine()},methods:{resize:function(){this.setLine()},init:function(){var t=this;this.$nextTick(function(){t.inited=!0,t.tabHeight=(0,d.getVisibleHeight)(t.$refs.wrap),t.scrollIntoView(!0)})},setLine:function(){var i=this,r=this.inited;this.$nextTick(function(){var t,e,n=i.$refs.titles;n&&n[i.currentIndex]&&"line"===i.type&&!(0,s.isHidden)(i.$el)&&(e=n[i.currentIndex].$el,t=i.lineWidth,n=i.lineHeight,e=e.offsetLeft+e.offsetWidth/2,e={width:(0,o.addUnit)(t),backgroundColor:i.color,transform:"translateX("+e+"px) translateX(-50%)"},r&&(e.transitionDuration=i.duration+"s"),(0,o.isDef)(n)&&(n=(0,o.addUnit)(n),e.height=n,e.borderRadius=n),i.lineStyle=e)})},setCurrentIndexByName:function(e){var t=this.children.filter(function(t){return t.computedName===e}),n=(this.children[0]||{}).index||0;this.setCurrentIndex(t.length?t[0].index:n)},setCurrentIndex:function(t){var e,n,i=this.findAvailableTab(t);(0,o.isDef)(i)&&(n=(e=this.children[i]).computedName,t=null!==this.currentIndex,this.currentIndex=i,n!==this.active&&(this.$emit("input",n),t&&this.$emit("change",n,e.title)))},findAvailableTab:function(t){for(var e=t<this.currentIndex?-1:1;0<=t&&t<this.children.length;){if(!this.children[t].disabled)return t;t+=e}},onClick:function(t,e){var n=this,i=this.children[e],r=i.title,o=i.disabled,i=i.computedName;o?this.$emit("disabled",i,r):((0,h.callInterceptor)({interceptor:this.beforeChange,args:[i],done:function(){n.setCurrentIndex(e),n.scrollToCurrentContent()}}),this.$emit("click",i,r),(0,a.route)(t.$router,t))},scrollIntoView:function(t){var e,n=this.$refs.titles;this.scrollable&&n&&n[this.currentIndex]&&(e=this.$refs.nav,n=(n=n[this.currentIndex].$el).offsetLeft-(e.offsetWidth-n.offsetWidth)/2,(0,r.scrollLeftTo)(e,n,t?0:+this.duration))},onSticktScroll:function(t){this.stickyFixed=t.isFixed,this.$emit("scroll",t)},scrollTo:function(t){var e=this;this.$nextTick(function(){e.setCurrentIndexByName(t),e.scrollToCurrentContent(!0)})},scrollToCurrentContent:function(t){var e,n=this;void 0===t&&(t=!1),!this.scrollspy||(e=null==(e=this.children[this.currentIndex])?void 0:e.$el)&&(e=(0,d.getElementTop)(e,this.scroller)-this.scrollOffset,this.lockScroll=!0,(0,r.scrollTopTo)(this.scroller,e,t?0:+this.duration,function(){n.lockScroll=!1}))},onScroll:function(){var t;this.scrollspy&&!this.lockScroll&&(t=this.getCurrentIndexOnScroll(),this.setCurrentIndex(t))},getCurrentIndexOnScroll:function(){for(var t=this.children,e=0;e<t.length;e++)if((0,d.getVisibleTop)(t[e].$el)>this.scrollOffset)return 0===e?0:e-1;return t.length-1}},render:function(){var t,i=this,r=arguments[0],o=this.type,e=this.animated,a=this.scrollable,n=this.children.map(function(t,e){var n;return r(g.default,{ref:"titles",refInFor:!0,attrs:{type:o,dot:t.dot,info:null!=(n=t.badge)?n:t.info,title:t.title,color:i.color,isActive:e===i.currentIndex,disabled:t.disabled,scrollable:a,activeColor:i.titleActiveColor,inactiveColor:i.titleInactiveColor},style:t.titleStyle,class:t.titleClass,scopedSlots:{default:function(){return t.slots("title")}},on:{click:function(){i.onClick(t,e)}}})}),n=r("div",{ref:"wrap",class:[y("wrap",{scrollable:a}),((t={})[c.BORDER_TOP_BOTTOM]="line"===o&&this.border,t)]},[r("div",{ref:"nav",attrs:{role:"tablist"},class:y("nav",[o,{complete:this.scrollable}]),style:this.navStyle},[this.slots("nav-left"),n,"line"===o&&r("div",{class:y("line"),style:this.lineStyle}),this.slots("nav-right")])]);return r("div",{class:y([o])},[this.sticky?r(m.default,{attrs:{container:this.$el,offsetTop:this.offsetTop},on:{scroll:this.onSticktScroll}},[n]):n,r(v.default,{attrs:{count:this.children.length,animated:e,duration:this.duration,swipeable:this.swipeable,currentIndex:this.currentIndex},on:{change:this.setCurrentIndex}},[this.slots()])])}});e.default=f},function(t,e,n){"use strict";e.__esModule=!0,e.scrollLeftTo=function(e,n,t){(0,s.cancelRaf)(a);var i=0,r=e.scrollLeft,o=0===t?1:Math.round(1e3*t/16);!function t(){e.scrollLeft+=(n-r)/o,++i<o&&(a=(0,s.raf)(t))}()},e.scrollTopTo=function(e,n,t,i){var r=(0,l.getScrollTop)(e),o=r<n,t=0===t?1:Math.round(1e3*t/16),a=(n-r)/t;!function t(){r+=a,(o&&n<r||!o&&r<n)&&(r=n),(0,l.setScrollTop)(e,r),o&&r<n||!o&&n<r?(0,s.raf)(t):i&&(0,s.raf)(i)}()};var a,s=n(111),l=n(62)},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=i(n(172)),i=(0,r.createNamespace)("tab"),n=i[0],a=i[1],n=n({props:{dot:Boolean,type:String,info:[Number,String],color:String,title:String,isActive:Boolean,disabled:Boolean,scrollable:Boolean,activeColor:String,inactiveColor:String},computed:{style:function(){var t={},e=this.color,n=this.isActive,i="card"===this.type;e&&i&&(t.borderColor=e,this.disabled||(n?t.backgroundColor=e:t.color=e));n=n?this.activeColor:this.inactiveColor;return n&&(t.color=n),t}},methods:{onClick:function(){this.$emit("click")},genText:function(){var t=this.$createElement,e=t("span",{class:a("text",{ellipsis:!this.scrollable})},[this.slots()||this.title]);return this.dot||(0,r.isDef)(this.info)&&""!==this.info?t("span",{class:a("text-wrapper")},[e,t(o.default,{attrs:{dot:this.dot,info:this.info}})]):e}},render:function(){return(0,arguments[0])("div",{attrs:{role:"tab","aria-selected":this.isActive},class:[a({active:this.isActive,disabled:this.disabled})],style:this.style,on:{click:this.onClick}},[this.genText()])}});e.default=n},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=n(7),i=n(63),n=(0,o.createNamespace)("tabs"),o=n[0],a=n[1],i=o({mixins:[i.TouchMixin],props:{count:Number,duration:[Number,String],animated:Boolean,swipeable:Boolean,currentIndex:Number},computed:{style:function(){if(this.animated)return{transform:"translate3d("+-1*this.currentIndex*100+"%, 0, 0)",transitionDuration:this.duration+"s"}},listeners:function(){if(this.swipeable)return{touchstart:this.touchStart,touchmove:this.touchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}}},methods:{onTouchEnd:function(){var t=this.direction,e=this.deltaX,n=this.currentIndex;"horizontal"===t&&50<=this.offsetX&&(0<e&&0!==n?this.$emit("change",n-1):e<0&&n!==this.count-1&&this.$emit("change",n+1))},genChildren:function(){var t=this.$createElement;return this.animated?t("div",{class:a("track"),style:this.style},[this.slots()]):this.slots()}},render:function(){return(0,arguments[0])("div",{class:a("content",{animated:this.animated}),on:(0,r.default)({},this.listeners)},[this.genChildren()])}});e.default=i},function(t,e,n){n(9),n(22),n(23),n(1156)},function(t,e,n){},function(t,e,n){n(9),n(61),n(733)},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),i=n(7),o=n(137),a=n(113),n=n(734),n=(0,(0,i.createNamespace)("time-picker")[0])({mixins:[n.TimePickerMixin],props:(0,r.default)({},n.sharedProps,{minHour:{type:[Number,String],default:0},maxHour:{type:[Number,String],default:23},minMinute:{type:[Number,String],default:0},maxMinute:{type:[Number,String],default:59}}),computed:{ranges:function(){return[{type:"hour",range:[+this.minHour,+this.maxHour]},{type:"minute",range:[+this.minMinute,+this.maxMinute]}]}},watch:{filter:"updateInnerValue",minHour:"updateInnerValue",maxHour:"updateInnerValue",minMinute:"updateInnerValue",maxMinute:"updateInnerValue",value:function(t){(t=this.formatValue(t))!==this.innerValue&&(this.innerValue=t,this.updateColumnValue())}},methods:{formatValue:function(t){var e=(t=t||(0,o.padZero)(this.minHour)+":"+(0,o.padZero)(this.minMinute)).split(":"),t=e[0],e=e[1];return(t=(0,o.padZero)((0,a.range)(t,this.minHour,this.maxHour)))+":"+(e=(0,o.padZero)((0,a.range)(e,this.minMinute,this.maxMinute)))},updateInnerValue:function(){var t=this.getPicker().getIndexes(),e=t[0],n=t[1],i=this.originColumns,t=i[0],i=i[1],t=t.values[e]||t.values[0],i=i.values[n]||i.values[0];this.innerValue=this.formatValue(t+":"+i),this.updateColumnValue()},onChange:function(t){var e=this;this.updateInnerValue(),this.$nextTick(function(){e.$nextTick(function(){e.$emit("change",t)})})},updateColumnValue:function(){var t=this,e=this.formatter,n=this.innerValue.split(":"),i=[e("hour",n[0]),e("minute",n[1])];this.$nextTick(function(){t.getPicker().setValues(i)})}}});e.default=n},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var l=i(n(41)),r=n(736),o=n(7),a=n(113),s=n(40),u=n(63),i=(0,o.createNamespace)("picker-column"),n=i[0],c=i[1];function h(t){return(0,o.isObject)(t)&&t.disabled}u=n({mixins:[u.TouchMixin],props:{valueKey:String,readonly:Boolean,allowHtml:Boolean,className:String,itemHeight:Number,defaultIndex:Number,swipeDuration:[Number,String],visibleItemCount:[Number,String],initialOptions:{type:Array,default:function(){return[]}}},data:function(){return{offset:0,duration:0,options:(0,r.deepClone)(this.initialOptions),currentIndex:this.defaultIndex}},created:function(){this.$parent.children&&this.$parent.children.push(this),this.setIndex(this.currentIndex)},mounted:function(){this.bindTouchEvent(this.$el)},destroyed:function(){var t=this.$parent.children;t&&t.splice(t.indexOf(this),1)},watch:{initialOptions:"setOptions",defaultIndex:function(t){this.setIndex(t)}},computed:{count:function(){return this.options.length},baseOffset:function(){return this.itemHeight*(this.visibleItemCount-1)/2}},methods:{setOptions:function(t){JSON.stringify(t)!==JSON.stringify(this.options)&&(this.options=(0,r.deepClone)(t),this.setIndex(this.defaultIndex))},onTouchStart:function(t){this.readonly||(this.touchStart(t),this.moving&&(t=this.$refs.wrapper,t=(t=(t=window.getComputedStyle(t)).transform||t.webkitTransform).slice(7,t.length-1).split(", ")[5],t=Number(t),this.offset=Math.min(0,t-this.baseOffset)),this.startOffset=this.offset,this.duration=0,this.transitionEndTrigger=null,this.touchStartTime=Date.now(),this.momentumOffset=this.startOffset)},onTouchMove:function(t){this.readonly||(this.touchMove(t),"vertical"===this.direction&&(this.moving=!0,(0,s.preventDefault)(t,!0)),this.offset=(0,a.range)(this.startOffset+this.deltaY,-(this.count*this.itemHeight),this.itemHeight),300<(t=Date.now())-this.touchStartTime&&(this.touchStartTime=t,this.momentumOffset=this.offset))},onTouchEnd:function(){var t,e,n=this;this.readonly||(t=this.offset-this.momentumOffset,(e=Date.now()-this.touchStartTime)<300&&15<Math.abs(t)?this.momentum(t,e):(e=this.getIndexByOffset(this.offset),this.duration=200,this.setIndex(e,!0),setTimeout(function(){n.moving=!1},0)))},onTransitionEnd:function(){this.stopMomentum()},onClickItem:function(t){this.moving||this.readonly||(this.transitionEndTrigger=null,this.duration=200,this.setIndex(t,!0))},adjustIndex:function(t){for(var e=t=(0,a.range)(t,0,this.count);e<this.count;e++)if(!h(this.options[e]))return e;for(var n=t-1;0<=n;n--)if(!h(this.options[n]))return n},getOptionText:function(t){return(0,o.isObject)(t)&&this.valueKey in t?t[this.valueKey]:t},setIndex:function(t,e){function n(){t!==i.currentIndex&&(i.currentIndex=t,e&&i.$emit("change",t))}var i=this,r=-(t=this.adjustIndex(t)||0)*this.itemHeight;this.moving&&r!==this.offset?this.transitionEndTrigger=n:n(),this.offset=r},setValue:function(t){for(var e=this.options,n=0;n<e.length;n++)if(this.getOptionText(e[n])===t)return this.setIndex(n)},getValue:function(){return this.options[this.currentIndex]},getIndexByOffset:function(t){return(0,a.range)(Math.round(-t/this.itemHeight),0,this.count-1)},momentum:function(t,e){e=Math.abs(t/e);t=this.offset+e/.003*(t<0?-1:1);t=this.getIndexByOffset(t);this.duration=+this.swipeDuration,this.setIndex(t,!0)},stopMomentum:function(){this.moving=!1,this.duration=0,this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},genOptions:function(){var o=this,a=this.$createElement,s={height:this.itemHeight+"px"};return this.options.map(function(t,e){var n=o.getOptionText(t),i=h(t),r={style:s,attrs:{role:"button",tabindex:i?-1:0},class:[c("item",{disabled:i,selected:e===o.currentIndex})],on:{click:function(){o.onClickItem(e)}}},i={class:"van-ellipsis",domProps:((i={})[o.allowHtml?"innerHTML":"textContent"]=n,i)};return a("li",(0,l.default)([{},r]),[o.slots("option",t)||a("div",(0,l.default)([{},i]))])})}},render:function(){var t=arguments[0],e={transform:"translate3d(0, "+(this.offset+this.baseOffset)+"px, 0)",transitionDuration:this.duration+"ms",transitionProperty:this.duration?"all":"none"};return t("div",{class:[c(),this.className]},[t("ul",{ref:"wrapper",style:e,class:c("wrapper"),on:{transitionend:this.onTransitionEnd}},[this.genOptions()])])}});e.default=u},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),i=n(7),o=n(726),a=n(137),u=n(373),n=n(734),s=(new Date).getFullYear(),n=(0,(0,i.createNamespace)("date-picker")[0])({mixins:[n.TimePickerMixin],props:(0,r.default)({},n.sharedProps,{type:{type:String,default:"datetime"},minDate:{type:Date,default:function(){return new Date(s-10,0,1)},validator:o.isDate},maxDate:{type:Date,default:function(){return new Date(s+10,11,31)},validator:o.isDate}}),watch:{filter:"updateInnerValue",minDate:"updateInnerValue",maxDate:"updateInnerValue",value:function(t){(t=this.formatValue(t)).valueOf()!==this.innerValue.valueOf()&&(this.innerValue=t)}},computed:{ranges:function(){var n,t=this.getBoundary("max",this.innerValue),e=t.maxYear,i=t.maxDate,r=t.maxMonth,o=t.maxHour,a=t.maxMinute,s=this.getBoundary("min",this.innerValue),l=s.minYear,t=s.minDate,u=[{type:"year",range:[l,e]},{type:"month",range:[s.minMonth,r]},{type:"day",range:[t,i]},{type:"hour",range:[s.minHour,o]},{type:"minute",range:[s.minMinute,a]}];switch(this.type){case"date":u=u.slice(0,3);break;case"year-month":u=u.slice(0,2);break;case"month-day":u=u.slice(1,3);break;case"datehour":u=u.slice(0,4)}return this.columnsOrder&&(n=this.columnsOrder.concat(u.map(function(t){return t.type})),u.sort(function(t,e){return n.indexOf(t.type)-n.indexOf(e.type)})),u}},methods:{formatValue:function(t){return(0,o.isDate)(t)||(t=this.minDate),t=Math.max(t,this.minDate.getTime()),t=Math.min(t,this.maxDate.getTime()),new Date(t)},getBoundary:function(t,e){var n=this[t+"Date"],i=n.getFullYear(),r=1,o=1,a=0,s=0;return"max"===t&&(r=12,o=(0,u.getMonthEndDay)(e.getFullYear(),e.getMonth()+1),a=23,s=59),e.getFullYear()===i&&(r=n.getMonth()+1,e.getMonth()+1===r&&(o=n.getDate(),e.getDate()===o&&(a=n.getHours(),e.getHours()===a&&(s=n.getMinutes())))),(n={})[t+"Year"]=i,n[t+"Month"]=r,n[t+"Date"]=o,n[t+"Hour"]=a,n[t+"Minute"]=s,n},updateInnerValue:function(){function t(n){var i=0;r.originColumns.forEach(function(t,e){n===t.type&&(i=e)});var t=r.originColumns[i].values;return(0,u.getTrueValue)(t[o[i]])}var e,n,r=this,i=this.type,o=this.getPicker().getIndexes(),a="month-day"===i?(e=this.innerValue.getFullYear(),n=t("month"),t("day")):(e=t("year"),n=t("month"),"year-month"===i?1:t("day")),s=(0,u.getMonthEndDay)(e,n);a=s<a?s:a;var l=0,s=0;"datehour"===i&&(l=t("hour")),"datetime"===i&&(l=t("hour"),s=t("minute"));s=new Date(e,n-1,a,l,s);this.innerValue=this.formatValue(s)},onChange:function(t){var e=this;this.updateInnerValue(),this.$nextTick(function(){e.$nextTick(function(){e.$emit("change",t)})})},updateColumnValue:function(){var t=this,e=this.innerValue,n=this.formatter,i=this.originColumns.map(function(t){switch(t.type){case"year":return n("year",""+e.getFullYear());case"month":return n("month",(0,a.padZero)(e.getMonth()+1));case"day":return n("day",(0,a.padZero)(e.getDate()));case"hour":return n("hour",(0,a.padZero)(e.getHours()));case"minute":return n("minute",(0,a.padZero)(e.getMinutes()));default:return null}});this.$nextTick(function(){t.getPicker().setValues(i)})}}});e.default=n},function(t,e,n){n(9),n(22),n(23),n(173),n(737)},function(t,e,n){"use strict";e.__esModule=!0,e.isAndroid=function(){return!i.isServer&&/android/.test(navigator.userAgent.toLowerCase())},e.isIOS=function(){return!i.isServer&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase())};var i=n(7)},function(t,e,n){n(9),n(68),n(22),n(23),n(75)},function(t,e,n){n(9),n(61),n(733)},function(t,e,n){n(9),n(61),n(1166)},function(t,e,n){},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(7),o=n(63),a=i(n(74)),s=i(n(1168)),l=i(n(1169)),n=(0,r.createNamespace)("key"),r=n[0],u=n[1],o=r({mixins:[o.TouchMixin],props:{type:String,text:[Number,String],color:String,wider:Boolean,large:Boolean,loading:Boolean},data:function(){return{active:!1}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{onTouchStart:function(t){t.stopPropagation(),this.touchStart(t),this.active=!0},onTouchMove:function(t){this.touchMove(t),this.direction&&(this.active=!1)},onTouchEnd:function(t){this.active&&(this.slots("default")||t.preventDefault(),this.active=!1,this.$emit("press",this.text,this.type))},genContent:function(){var t=this.$createElement,e="extra"===this.type,n="delete"===this.type,i=this.slots("default")||this.text;return this.loading?t(a.default,{class:u("loading-icon")}):n?i||t(s.default,{class:u("delete-icon")}):e?i||t(l.default,{class:u("collapse-icon")}):i}},render:function(){var t=arguments[0];return t("div",{class:u("wrapper",{wider:this.wider})},[t("div",{attrs:{role:"button",tabindex:"0"},class:u([this.color,{large:this.large,active:this.active,delete:"delete"===this.type}])},[this.genContent()])])}});e.default=o},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 32 22",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M28.016 0A3.991 3.991 0 0132 3.987v14.026c0 2.2-1.787 3.987-3.98 3.987H10.382c-.509 0-.996-.206-1.374-.585L.89 13.09C.33 12.62 0 11.84 0 11.006c0-.86.325-1.62.887-2.08L9.01.585A1.936 1.936 0 0110.383 0zm0 1.947H10.368L2.24 10.28c-.224.226-.312.432-.312.73 0 .287.094.51.312.729l8.128 8.333h17.648a2.041 2.041 0 002.037-2.04V3.987c0-1.127-.915-2.04-2.037-2.04zM23.028 6a.96.96 0 01.678.292.95.95 0 01-.003 1.377l-3.342 3.348 3.326 3.333c.189.188.292.43.292.679 0 .248-.103.49-.292.679a.96.96 0 01-.678.292.959.959 0 01-.677-.292L18.99 12.36l-3.343 3.345a.96.96 0 01-.677.292.96.96 0 01-.678-.292.962.962 0 01-.292-.68c0-.248.104-.49.292-.679l3.342-3.348-3.342-3.348A.963.963 0 0114 6.971c0-.248.104-.49.292-.679A.96.96 0 0114.97 6a.96.96 0 01.677.292l3.358 3.348 3.345-3.348A.96.96 0 0123.028 6z",fill:"currentColor"}})])}}},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;e.default={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 30 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M25.877 12.843h-1.502c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.5c.187 0 .187 0 .187-.188v-1.511c0-.19 0-.191-.185-.191zM17.999 10.2c0 .188 0 .188.188.188h1.687c.188 0 .188 0 .188-.188V8.688c0-.187.004-.187-.186-.19h-1.69c-.187 0-.187 0-.187.19V10.2zm2.25-3.967h1.5c.188 0 .188 0 .188-.188v-1.7c0-.19 0-.19-.188-.19h-1.5c-.189 0-.189 0-.189.19v1.7c0 .188 0 .188.19.188zm2.063 4.157h3.563c.187 0 .187 0 .187-.189V4.346c0-.19.004-.19-.185-.19h-1.69c-.187 0-.187 0-.187.188v4.155h-1.688c-.187 0-.187 0-.187.189v1.514c0 .19 0 .19.187.19zM14.812 24l2.812-3.4H12l2.813 3.4zm-9-11.157H4.31c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.502c.187 0 .187 0 .187-.188v-1.511c0-.19.01-.191-.189-.191zm15.937 0H8.25c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h13.5c.188 0 .188 0 .188-.188v-1.511c0-.19 0-.191-.188-.191zm-11.438-2.454h1.5c.188 0 .188 0 .188-.188V8.688c0-.187 0-.187-.188-.189h-1.5c-.187 0-.187 0-.187.189V10.2c0 .188 0 .188.187.188zM27.94 0c.563 0 .917.21 1.313.567.518.466.748.757.748 1.51v14.92c0 .567-.188 1.134-.562 1.512-.376.378-.938.566-1.313.566H2.063c-.563 0-.938-.188-1.313-.566-.562-.378-.75-.945-.75-1.511V2.078C0 1.51.188.944.562.567.938.189 1.5 0 1.875 0zm-.062 2H2v14.92h25.877V2zM5.81 4.157c.19 0 .19 0 .19.189v1.762c-.003.126-.024.126-.188.126H4.249c-.126-.003-.126-.023-.126-.188v-1.7c-.187-.19 0-.19.188-.19zm10.5 2.077h1.503c.187 0 .187 0 .187-.188v-1.7c0-.19 0-.19-.187-.19h-1.502c-.188 0-.188.001-.188.19v1.7c0 .188 0 .188.188.188zM7.875 8.5c.187 0 .187.002.187.189V10.2c0 .188 0 .188-.187.188H4.249c-.126-.002-.126-.023-.126-.188V8.625c.003-.126.024-.126.188-.126zm7.875 0c.19.002.19.002.19.189v1.575c-.003.126-.024.126-.19.126h-1.563c-.126-.002-.126-.023-.126-.188V8.625c.002-.126.023-.126.189-.126zm-6-4.342c.187 0 .187 0 .187.189v1.7c0 .188 0 .188-.187.188H8.187c-.126-.003-.126-.023-.126-.188V4.283c.003-.126.024-.126.188-.126zm3.94 0c.185 0 .372 0 .372.189v1.762c-.002.126-.023.126-.187.126h-1.75C12 6.231 12 6.211 12 6.046v-1.7c0-.19.187-.19.187-.19z",fill:"currentColor"}})])}}},function(t,e,n){n(9),n(1171)},function(t,e,n){},function(t,e,n){n(9)},function(t,e,n){n(9),n(68),n(22),n(23),n(75),n(61),n(1174)},function(t,e,n){},function(t,e,n){n(9),n(68),n(22),n(23),n(75),n(1176)},function(t,e,n){},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=i(n(28)),o=i(n(41)),a=n(7),s=n(47),l=n(138),u=i(n(82)),n=(0,a.createNamespace)("notify"),a=n[0],c=n[1];function h(t,e,n,i){var r={color:e.color,background:e.background};return t(u.default,(0,o.default)([{attrs:{value:e.value,position:"top",overlay:!1,duration:.2,lockScroll:!1},style:r,class:[c([e.type]),e.className]},(0,s.inherit)(i,!0)]),[(null==n.default?void 0:n.default())||e.message])}h.props=(0,r.default)({},l.popupMixinProps,{color:String,message:[Number,String],duration:[Number,String],className:null,background:String,getContainer:[String,Function],type:{type:String,default:"danger"}});a=a(h);e.default=a},function(t,e,n){n(9),n(61),n(1179)},function(t,e,n){},function(t,e,n){n(9),n(374)},function(t,e,n){n(9),n(375)},function(t,e,n){n(9),n(1183)},function(t,e,n){},function(t,e,n){n(9),n(22),n(23),n(1185)},function(t,e,n){},function(t,e,n){n(9),n(1187)},function(t,e,n){},function(t,e,n){n(9),n(22),n(23),n(1189)},function(t,e,n){},function(t,e,n){n(9),n(1191)},function(t,e,n){},function(t,e,n){n(9),n(739)},function(t,e,n){n(9),n(22),n(23),n(173),n(737),n(1194)},function(t,e,n){},function(t,e,n){n(9),n(22),n(740),n(23),n(739),n(1196)},function(t,e,n){},function(t,e,n){n(9),n(22),n(23),n(291),n(741),n(1198)},function(t,e,n){},function(t,e,n){n(9),n(22),n(23),n(291)},function(t,e,n){n(9),n(1201)},function(t,e,n){},function(t,e,n){n(9),n(1203)},function(t,e,n){},function(t,e,n){n(9),n(68),n(22),n(23),n(75),n(61),n(725)},function(t,e,n){n(9),n(22),n(740)},function(t,e,n){n(9),n(22),n(23),n(1207)},function(t,e,n){},function(t,e,n){n(9),n(1209)},function(t,e,n){},function(t,e,n){n(9),n(22),n(23),n(1211)},function(t,e,n){},function(t,e,n){n(9),n(1213)},function(t,e,n){},function(t,e,n){n(9),n(1215)},function(t,e,n){},function(t,e,n){n(9),n(61),n(1217)},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0,e.switchProps=void 0;var i={size:[Number,String],value:null,loading:Boolean,disabled:Boolean,activeColor:String,inactiveColor:String,activeValue:{type:null,default:!0},inactiveValue:{type:null,default:!1}};e.switchProps=i},function(t,e,n){n(9),n(68),n(22),n(23),n(291),n(75),n(61),n(375),n(374),n(742),n(1220)},function(t,e,n){},function(t,e,n){"use strict";function i(t){return Array.isArray(t)?t:[t]}e.__esModule=!0,e.toArray=i,e.readFile=function(n,i){return new Promise(function(e){var t;"file"!==i?((t=new FileReader).onload=function(t){e(t.target.result)},"dataUrl"===i?t.readAsDataURL(n):"text"===i&&t.readAsText(n)):e()})},e.isOversize=function(t,e){return i(t).some(function(t){return t.size>e})},e.isImageUrl=o,e.isImageFile=function(t){if(t.isImage)return!0;if(t.file&&t.file.type)return 0===t.file.type.indexOf("image");if(t.url)return o(t.url);if(t.content)return 0===t.content.indexOf("data:image");return!1};var r=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;function o(t){return r.test(t)}},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(743),o=n(138),a=n(63),s=n(81),l=i(n(32)),u=i(n(308)),c=i(n(1223)),s=(0,r.createComponent)({mixins:[a.TouchMixin,(0,o.PopupMixin)({skipToggleEvent:!0}),(0,s.BindEventMixin)(function(t){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0)})],props:{className:null,closeable:Boolean,asyncClose:Boolean,showIndicators:Boolean,images:{type:Array,default:function(){return[]}},loop:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},minZoom:{type:[Number,String],default:1/3},maxZoom:{type:[Number,String],default:3},showIndex:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:500},startPosition:{type:[Number,String],default:0},overlayClass:{type:String,default:(0,r.bem)("overlay")},closeIcon:{type:String,default:"clear"},closeOnPopstate:{type:Boolean,default:!0},closeIconPosition:{type:String,default:"top-right"}},data:function(){return{active:0,rootWidth:0,rootHeight:0,doubleClickTimer:null}},mounted:function(){this.resize()},watch:{startPosition:"setActive",value:function(t){var e=this;t?(this.setActive(+this.startPosition),this.$nextTick(function(){e.resize(),e.$refs.swipe.swipeTo(+e.startPosition,{immediate:!0})})):this.$emit("close",{index:this.active,url:this.images[this.active]})}},methods:{resize:function(){var t;this.$el&&this.$el.getBoundingClientRect&&(t=this.$el.getBoundingClientRect(),this.rootWidth=t.width,this.rootHeight=t.height)},emitClose:function(){this.asyncClose||this.$emit("input",!1)},emitScale:function(t){this.$emit("scale",t)},setActive:function(t){t!==this.active&&(this.active=t,this.$emit("change",t))},genIndex:function(){var t=this.$createElement;if(this.showIndex)return t("div",{class:(0,r.bem)("index")},[this.slots("index",{index:this.active})||this.active+1+" / "+this.images.length])},genCover:function(){var t=this.$createElement,e=this.slots("cover");if(e)return t("div",{class:(0,r.bem)("cover")},[e])},genImages:function(){var e=this,n=this.$createElement;return n(u.default,{ref:"swipe",attrs:{lazyRender:!0,loop:this.loop,duration:this.swipeDuration,initialSwipe:this.startPosition,showIndicators:this.showIndicators,indicatorColor:"white"},class:(0,r.bem)("swipe"),on:{change:this.setActive}},[this.images.map(function(t){return n(c.default,{attrs:{src:t,show:e.value,active:e.active,maxZoom:e.maxZoom,minZoom:e.minZoom,rootWidth:e.rootWidth,rootHeight:e.rootHeight},on:{scale:e.emitScale,close:e.emitClose}})})])},genClose:function(){var t=this.$createElement;if(this.closeable)return t(l.default,{attrs:{role:"button",name:this.closeIcon},class:(0,r.bem)("close-icon",this.closeIconPosition),on:{click:this.emitClose}})},onClosed:function(){this.$emit("closed")},swipeTo:function(t,e){this.$refs.swipe&&this.$refs.swipe.swipeTo(t,e)}},render:function(){var t=arguments[0];if(this.shouldRender)return t("transition",{attrs:{name:"van-fade"},on:{afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],class:[(0,r.bem)(),this.className]},[this.genClose(),this.genImages(),this.genIndex(),this.genCover()])])}});e.default=s},function(t,e,n){"use strict";var i=n(10);e.__esModule=!0,e.default=void 0;var r=n(743),o=n(113),a=n(40),s=n(63),l=i(n(143)),u=i(n(74)),c=i(n(307));function h(t){return Math.sqrt(Math.pow(t[0].clientX-t[1].clientX,2)+Math.pow(t[0].clientY-t[1].clientY,2))}s={mixins:[s.TouchMixin],props:{src:String,show:Boolean,active:Number,minZoom:[Number,String],maxZoom:[Number,String],rootWidth:Number,rootHeight:Number},data:function(){return{scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}},computed:{vertical:function(){var t=this.rootWidth,e=this.rootHeight;return this.imageRatio>e/t},imageStyle:function(){var t,e,n=this.scale,i={transitionDuration:this.zooming||this.moving?"0s":".3s"};return 1!==n&&(t=this.moveX/n,e=this.moveY/n,i.transform="scale("+n+", "+n+") translate("+t+"px, "+e+"px)"),i},maxMoveX:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight/this.imageRatio:this.rootWidth;return Math.max(0,(this.scale*t-this.rootWidth)/2)}return 0},maxMoveY:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight:this.rootWidth*this.imageRatio;return Math.max(0,(this.scale*t-this.rootHeight)/2)}return 0}},watch:{show:function(t){t||this.resetScale()}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{resetScale:function(){this.setScale(1),this.moveX=0,this.moveY=0},setScale:function(t){this.scale=(0,o.range)(t,+this.minZoom,+this.maxZoom),this.$emit("scale",{scale:this.scale,index:this.active})},toggleScale:function(){var t=1<this.scale?1:2;this.setScale(t),this.moveX=0,this.moveY=0},onTouchStart:function(t){var e=t.touches,n=this.offsetX,n=void 0===n?0:n;this.touchStart(t),this.touchStartTime=new Date,this.startMoveX=this.moveX,this.startMoveY=this.moveY,this.moving=1===e.length&&1!==this.scale,this.zooming=2===e.length&&!n,this.zooming&&(this.startScale=this.scale,this.startDistance=h(t.touches))},onTouchMove:function(t){var e,n=t.touches;this.touchMove(t),(this.moving||this.zooming)&&(0,a.preventDefault)(t,!0),this.moving&&(e=this.deltaX+this.startMoveX,t=this.deltaY+this.startMoveY,this.moveX=(0,o.range)(e,-this.maxMoveX,this.maxMoveX),this.moveY=(0,o.range)(t,-this.maxMoveY,this.maxMoveY)),this.zooming&&2===n.length&&(n=h(n),n=this.startScale*n/this.startDistance,this.setScale(n))},onTouchEnd:function(t){var e=!1;(this.moving||this.zooming)&&(e=!0,this.moving&&this.startMoveX===this.moveX&&this.startMoveY===this.moveY&&(e=!1),t.touches.length||(this.zooming&&(this.moveX=(0,o.range)(this.moveX,-this.maxMoveX,this.maxMoveX),this.moveY=(0,o.range)(this.moveY,-this.maxMoveY,this.maxMoveY),this.zooming=!1),this.moving=!1,this.startMoveX=0,this.startMoveY=0,this.startScale=1,this.scale<1&&this.resetScale())),(0,a.preventDefault)(t,e),this.checkTap(),this.resetTouchStatus()},checkTap:function(){var t=this,e=this.offsetX,n=void 0===e?0:e,i=this.offsetY,e=void 0===i?0:i,i=new Date-this.touchStartTime;n<10&&e<10&&i<250&&(this.doubleTapTimer?(clearTimeout(this.doubleTapTimer),this.doubleTapTimer=null,this.toggleScale()):this.doubleTapTimer=setTimeout(function(){t.$emit("close"),t.doubleTapTimer=null},250))},onLoad:function(t){var e=t.target,t=e.naturalWidth,e=e.naturalHeight;this.imageRatio=e/t}},render:function(){var t=arguments[0],e={loading:function(){return t(u.default,{attrs:{type:"spinner"}})}};return t(c.default,{class:(0,r.bem)("swipe-item")},[t(l.default,{attrs:{src:this.src,fit:"contain"},class:(0,r.bem)("image",{vertical:this.vertical}),style:this.imageStyle,scopedSlots:e,on:{load:this.onLoad}})])}};e.default=s},function(t,e,n){n(9),n(1225)},function(t,e,n){},function(t,e,n){n(9),n(68),n(22),n(23),n(173),n(75),n(1227)},function(t,e,n){},function(t,e,n){n(9),n(68)},function(t,e,n){n(9),n(68),n(22),n(23),n(75),n(1230)},function(t,e,n){},function(t,e,n){n(9),n(1232)},function(t,e,n){},function(t,e,n){n(9),n(1234)},function(t,e,n){},function(t,e,n){n(9)},function(t,e,n){n(9),n(22),n(23),n(173),n(1237)},function(t,e,n){},function(t,e,n){n(9),n(1239)},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0,e.parseTimeData=function(t){var e=Math.floor(t/u),n=Math.floor(t%u/l),i=Math.floor(t%l/s),r=Math.floor(t%s/o),t=Math.floor(t%o);return{days:e,hours:n,minutes:i,seconds:r,milliseconds:t}},e.parseFormat=function(t,e){var n=e.days,i=e.hours,r=e.minutes,o=e.seconds,e=e.milliseconds;-1===t.indexOf("DD")?i+=24*n:t=t.replace("DD",(0,a.padZero)(n));-1===t.indexOf("HH")?r+=60*i:t=t.replace("HH",(0,a.padZero)(i));-1===t.indexOf("mm")?o+=60*r:t=t.replace("mm",(0,a.padZero)(r));-1===t.indexOf("ss")?e+=1e3*o:t=t.replace("ss",(0,a.padZero)(o));-1!==t.indexOf("S")&&(e=(0,a.padZero)(e,3),t=-1!==t.indexOf("SSS")?t.replace("SSS",e):-1!==t.indexOf("SS")?t.replace("SS",e.slice(0,2)):t.replace("S",e.charAt(0)));return t},e.isSameSecond=function(t,e){return Math.floor(t/1e3)===Math.floor(e/1e3)};var a=n(137),o=1e3,s=60*o,l=60*s,u=24*l},function(t,e,n){n(9),n(1242)},function(t,e,n){},function(t,e,n){n(9),n(1244)},function(t,e,n){},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0,e.default={render:function(){function t(t,e,n){return i("stop",{attrs:{"stop-color":t,offset:e+"%","stop-opacity":n}})}var i=arguments[0];return i("svg",{attrs:{viewBox:"0 0 160 160",xmlns:"http://www.w3.org/2000/svg"}},[i("defs",[i("linearGradient",{attrs:{id:"c",x1:"64.022%",y1:"100%",x2:"64.022%",y2:"0%"}},[t("#FFF",0,.5),t("#F2F3F5",100)]),i("linearGradient",{attrs:{id:"d",x1:"64.022%",y1:"96.956%",x2:"64.022%",y2:"0%"}},[t("#F2F3F5",0,.3),t("#F2F3F5",100)]),i("linearGradient",{attrs:{id:"h",x1:"50%",y1:"0%",x2:"50%",y2:"84.459%"}},[t("#EBEDF0",0),t("#DCDEE0",100,0)]),i("linearGradient",{attrs:{id:"i",x1:"100%",y1:"0%",x2:"100%",y2:"100%"}},[t("#EAEDF0",0),t("#DCDEE0",100)]),i("linearGradient",{attrs:{id:"k",x1:"100%",y1:"100%",x2:"100%",y2:"0%"}},[t("#EAEDF0",0),t("#DCDEE0",100)]),i("linearGradient",{attrs:{id:"m",x1:"0%",y1:"43.982%",x2:"100%",y2:"54.703%"}},[t("#EAEDF0",0),t("#DCDEE0",100)]),i("linearGradient",{attrs:{id:"n",x1:"94.535%",y1:"43.837%",x2:"5.465%",y2:"54.948%"}},[t("#EAEDF0",0),t("#DCDEE0",100)]),i("radialGradient",{attrs:{id:"g",cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54835 0 .5 -.5)"}},[t("#EBEDF0",0),t("#FFF",100,0)])]),i("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[i("g",{attrs:{opacity:".8"}},[i("path",{attrs:{d:"M0 124V46h20v20h14v58H0z",fill:"url(#c)",transform:"matrix(-1 0 0 1 36 7)"}}),i("path",{attrs:{d:"M40.5 5a8.504 8.504 0 018.13 6.009l.12-.005L49 11a8 8 0 11-1 15.938V27H34v-.174a6.5 6.5 0 11-1.985-12.808A8.5 8.5 0 0140.5 5z",fill:"url(#d)",transform:"translate(2 7)"}}),i("path",{attrs:{d:"M96.016 0a4.108 4.108 0 013.934 2.868l.179-.004c2.138 0 3.871 1.71 3.871 3.818 0 2.109-1.733 3.818-3.871 3.818-.164 0-.325-.01-.484-.03v.03h-6.774v-.083a3.196 3.196 0 01-.726.083C90.408 10.5 89 9.111 89 7.398c0-1.636 1.284-2.976 2.911-3.094a3.555 3.555 0 01-.008-.247c0-2.24 1.842-4.057 4.113-4.057z",fill:"url(#d)",transform:"translate(2 7)"}}),i("path",{attrs:{d:"M121 8h22.231v14H152v77.37h-31V8z",fill:"url(#c)",transform:"translate(2 7)"}})]),i("path",{attrs:{fill:"url(#g)",d:"M0 139h160v21H0z"}}),i("path",{attrs:{d:"M37 18a7 7 0 013 13.326v26.742c0 1.23-.997 2.227-2.227 2.227h-1.546A2.227 2.227 0 0134 58.068V31.326A7 7 0 0137 18z",fill:"url(#h)","fill-rule":"nonzero",transform:"translate(43 36)"}}),i("g",{attrs:{opacity:".6","stroke-linecap":"round","stroke-width":"7"}},[i("path",{attrs:{d:"M20.875 11.136a18.868 18.868 0 00-5.284 13.121c0 5.094 2.012 9.718 5.284 13.12",stroke:"url(#i)",transform:"translate(43 36)"}}),i("path",{attrs:{d:"M9.849 0C3.756 6.225 0 14.747 0 24.146c0 9.398 3.756 17.92 9.849 24.145",stroke:"url(#i)",transform:"translate(43 36)"}}),i("path",{attrs:{d:"M57.625 11.136a18.868 18.868 0 00-5.284 13.121c0 5.094 2.012 9.718 5.284 13.12",stroke:"url(#k)",transform:"rotate(-180 76.483 42.257)"}}),i("path",{attrs:{d:"M73.216 0c-6.093 6.225-9.849 14.747-9.849 24.146 0 9.398 3.756 17.92 9.849 24.145",stroke:"url(#k)",transform:"rotate(-180 89.791 42.146)"}})]),i("g",{attrs:{transform:"translate(31 105)","fill-rule":"nonzero"}},[i("rect",{attrs:{fill:"url(#m)",width:"98",height:"34",rx:"2"}}),i("rect",{attrs:{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.114"}}),i("rect",{attrs:{fill:"url(#n)",x:"15",y:"12",width:"18",height:"6",rx:"1.114"}})])])])}}},function(t,e,n){n(9),n(68),n(22),n(23),n(291),n(75),n(61),n(375),n(374),n(742)},function(t,e,n){n(9)},function(t,e,n){
|
|
/*!
|
|
* Vue-Lazyload.js v1.2.3
|
|
* (c) 2018 Awe <hilongjw@gmail.com>
|
|
* Released under the MIT License.
|
|
*/
|
|
t.exports=function(){"use strict";function n(t){return t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function r(t){t=t||{};var e=arguments.length,n=0;if(1===e)return t;for(;++n<e;){var i=arguments[n];g(t)&&(t=i),a(i)&&o(t,i)}return t}function o(t,e){m(t,e);for(var n in e)if("__proto__"!==n&&s(e,n)){var i=e[n];a(i)?("undefined"===b(t[n])&&"function"===b(i)&&(t[n]=i),t[n]=r(t[n]||{},i)):t[n]=i}return t}function a(t){return"object"===b(t)||"function"===b(t)}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){if(t.length){var n=t.indexOf(e);return n>-1?t.splice(n,1):void 0}}function e(t,e){for(var n=!1,i=0,r=t.length;i<r;i++)if(e(t[i])){n=!0;break}return n}function h(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var n=t.getAttribute("data-srcset"),i=[],r=t.parentNode,o=r.offsetWidth*e,a=void 0,s=void 0,l=void 0;n=n.trim().split(","),n.map(function(t){t=t.trim(),a=t.lastIndexOf(" "),-1===a?(s=t,l=999998):(s=t.substr(0,a),l=parseInt(t.substr(a+1,t.length-a-2),10)),i.push([l,s])}),i.sort(function(t,e){if(t[0]<e[0])return-1;if(t[0]>e[0])return 1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0});for(var u="",c=void 0,h=i.length,d=0;d<h;d++)if(c=i[d],c[0]>=o){u=c[1];break}return u}}function u(t,e){for(var n=void 0,i=0,r=t.length;i<r;i++)if(e(t[i])){n=t[i];break}return n}function v(){if(!A)return!1;var t=!0,e=document;try{var n=e.createElement("object");n.type="image/webp",n.style.visibility="hidden",n.innerHTML="!",e.body.appendChild(n),t=!n.offsetWidth,e.body.removeChild(n)}catch(e){t=!1}return t}function y(r,o){var a=null,s=0;return function(){if(!a){var t=Date.now()-s,e=this,n=arguments,i=function(){s=Date.now(),a=!1,r.apply(e,n)};t>=o?i():a=setTimeout(i,o)}}}function d(t){return null!==t&&"object"===(void 0===t?"undefined":p(t))}function t(t){if(!(t instanceof Object))return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function i(t){for(var e=t.length,n=[],i=0;i<e;i++)n.push(t[i]);return n}function c(){}var p="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},x=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},f=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}(),g=function(t){return null==t||"function"!=typeof t&&"object"!==(void 0===t?"undefined":p(t))},m=function(t,e){if(null===t||void 0===t)throw new TypeError("expected first argument to be an object.");if(void 0===e||"undefined"==typeof Symbol)return t;if("function"!=typeof Object.getOwnPropertySymbols)return t;for(var n=Object.prototype.propertyIsEnumerable,i=Object(t),r=arguments.length,o=0;++o<r;)for(var a=Object(arguments[o]),s=Object.getOwnPropertySymbols(a),l=0;l<s.length;l++){var u=s[l];n.call(a,u)&&(i[u]=a[u])}return i},_=Object.prototype.toString,b=function(t){var e=void 0===t?"undefined":p(t);return"undefined"===e?"undefined":null===t?"null":!0===t||!1===t||t instanceof Boolean?"boolean":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?void 0!==t.constructor.name&&"Generator"===t.constructor.name.slice(0,9)?"generatorfunction":"function":void 0!==Array.isArray&&Array.isArray(t)?"array":t instanceof RegExp?"regexp":t instanceof Date?"date":(e=_.call(t),"[object RegExp]"===e?"regexp":"[object Date]"===e?"date":"[object Arguments]"===e?"arguments":"[object Error]"===e?"error":"[object Promise]"===e?"promise":n(t)?"buffer":"[object Set]"===e?"set":"[object WeakSet]"===e?"weakset":"[object Map]"===e?"map":"[object WeakMap]"===e?"weakmap":"[object Symbol]"===e?"symbol":"[object Map Iterator]"===e?"mapiterator":"[object Set Iterator]"===e?"setiterator":"[object String Iterator]"===e?"stringiterator":"[object Array Iterator]"===e?"arrayiterator":"[object Int8Array]"===e?"int8array":"[object Uint8Array]"===e?"uint8array":"[object Uint8ClampedArray]"===e?"uint8clampedarray":"[object Int16Array]"===e?"int16array":"[object Uint16Array]"===e?"uint16array":"[object Int32Array]"===e?"int32array":"[object Uint32Array]"===e?"uint32array":"[object Float32Array]"===e?"float32array":"[object Float64Array]"===e?"float64array":"object")},S=r,A="undefined"!=typeof window,M=A&&"IntersectionObserver"in window,w={event:"event",observer:"observer"},C=function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}if(A)return"function"==typeof window.CustomEvent?window.CustomEvent:(t.prototype=window.Event.prototype,t)}(),T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return A?window.devicePixelRatio||t:t},I=function(){if(A){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),D={on:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];I?t.addEventListener(e,n,{capture:i,passive:!0}):t.addEventListener(e,n,i)},off:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,n,i)}},L=function(t,e,n){var i=new Image;i.src=t.src,i.onload=function(){e({naturalHeight:i.naturalHeight,naturalWidth:i.naturalWidth,src:i.src})},i.onerror=function(t){n(t)}},k=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},N=function(t){return k(t,"overflow")+k(t,"overflow-y")+k(t,"overflow-x")},O=function(t){if(A){if(!(t instanceof HTMLElement))return window;for(var e=t;e&&e!==document.body&&e!==document.documentElement&&e.parentNode;){if(/(scroll|auto)/.test(N(e)))return e;e=e.parentNode}return window}},P={},E=function(){function u(t){var e=t.el,n=t.src,i=t.error,r=t.loading,o=t.bindType,a=t.$parent,s=t.options,l=t.elRenderer;x(this,u),this.el=e,this.src=n,this.error=i,this.loading=r,this.bindType=o,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=s,this.rect=null,this.$parent=a,this.elRenderer=l,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return f(u,[{key:"initState",value:function(){this.el.dataset.src=this.src,this.state={error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,n=t.loading,i=t.error,r=this.src;this.src=e,this.loading=n,this.error=i,this.filter(),r!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.top<window.innerHeight*this.options.preLoad&&this.rect.bottom>this.options.preLoadTop&&this.rect.left<window.innerWidth*this.options.preLoad&&this.rect.right>0}},{key:"filter",value:function(){var e=this;t(this.options.filter).map(function(t){e.options.filter[t](e,e.options)})}},{key:"renderLoading",value:function(e){var n=this;L({src:this.loading},function(t){n.render("loading",!1),e()},function(){e(),n.options.silent||console.warn("VueLazyload log: load failed with loading image("+n.loading+")")})}},{key:"load",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent||console.log("VueLazyload log: "+this.src+" tried too more than "+this.options.attempt+" times"),void n()):this.state.loaded||P[this.src]?(this.state.loaded=!0,n(),this.render("loaded",!0)):void this.renderLoading(function(){e.attempt++,e.record("loadStart"),L({src:e.src},function(t){e.naturalHeight=t.naturalHeight,e.naturalWidth=t.naturalWidth,e.state.loaded=!0,e.state.error=!1,e.record("loadEnd"),e.render("loaded",!1),P[e.src]=1,n()},function(t){!e.options.silent&&console.error(t),e.state.error=!0,e.state.loaded=!1,e.render("error",!1)})})}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),u}(),H="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",z=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],R={rootMargin:"0px",threshold:0},j=function(c){return function(){function m(t){var e=t.preLoad,n=t.error,i=t.throttleWait,r=t.preLoadTop,o=t.dispatchEvent,a=t.loading,s=t.attempt,l=t.silent,u=void 0===l||l,c=t.scale,h=t.listenEvents,d=(t.hasbind,t.filter),p=t.adapter,f=t.observer,g=t.observerOptions;x(this,m),this.version="1.2.3",this.mode=w.event,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:u,dispatchEvent:!!o,throttleWait:i||200,preLoad:e||1.3,preLoadTop:r||0,error:n||H,loading:a||H,attempt:s||3,scale:c||T(c),ListenEvents:h||z,hasbind:!1,supportWebp:v(),filter:d||{},adapter:p||{},observer:!!f,observerOptions:g||R},this._initEvent(),this.lazyLoadHandler=y(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?w.observer:w.event)}return f(m,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};S(this.options,t)}},{key:"performance",value:function(){var e=[];return this.ListenerQueue.map(function(t){e.push(t.performance())}),e}},{key:"addLazyBox",value:function(t){this.ListenerQueue.push(t),A&&(this._addListenerTarget(window),this._observer&&this._observer.observe(t.el),t.$el&&t.$el.parentNode&&this._addListenerTarget(t.$el.parentNode))}},{key:"add",value:function(i,r,o){var a=this;if(e(this.ListenerQueue,function(t){return t.el===i}))return this.update(i,r),c.nextTick(this.lazyLoadHandler);var t=this._valueFormatter(r.value),s=t.src,l=t.loading,u=t.error;c.nextTick(function(){s=h(i,a.options.scale)||s,a._observer&&a._observer.observe(i);var t=Object.keys(r.modifiers)[0],e=void 0;t&&(e=o.context.$refs[t],e=e?e.$el||e:document.getElementById(t)),e||(e=O(i));var n=new E({bindType:r.arg,$parent:e,el:i,loading:l,error:u,src:s,elRenderer:a._elRenderer.bind(a),options:a.options});a.ListenerQueue.push(n),A&&(a._addListenerTarget(window),a._addListenerTarget(e)),a.lazyLoadHandler(),c.nextTick(function(){return a.lazyLoadHandler()})})}},{key:"update",value:function(e,t){var n=this,i=this._valueFormatter(t.value),r=i.src,o=i.loading,a=i.error;r=h(e,this.options.scale)||r;var s=u(this.ListenerQueue,function(t){return t.el===e});s&&s.update({src:r,loading:o,error:a}),this._observer&&(this._observer.unobserve(e),this._observer.observe(e)),this.lazyLoadHandler(),c.nextTick(function(){return n.lazyLoadHandler()})}},{key:"remove",value:function(e){if(e){this._observer&&this._observer.unobserve(e);var t=u(this.ListenerQueue,function(t){return t.el===e});t&&(this._removeListenerTarget(t.$parent),this._removeListenerTarget(window),l(this.ListenerQueue,t)&&t.destroy())}}},{key:"removeComponent",value:function(t){t&&(l(this.ListenerQueue,t),this._observer&&this._observer.unobserve(t.el),t.$parent&&t.$el.parentNode&&this._removeListenerTarget(t.$el.parentNode),this._removeListenerTarget(window))}},{key:"setMode",value:function(t){var e=this;M||t!==w.observer||(t=w.event),this.mode=t,t===w.event?(this._observer&&(this.ListenerQueue.forEach(function(t){e._observer.unobserve(t.el)}),this._observer=null),this.TargetQueue.forEach(function(t){e._initListen(t.el,!0)})):(this.TargetQueue.forEach(function(t){e._initListen(t.el,!1)}),this._initIntersectionObserver())}},{key:"_addListenerTarget",value:function(e){if(e){var t=u(this.TargetQueue,function(t){return t.el===e});return t?t.childrenCount++:(t={el:e,id:++this.TargetIndex,childrenCount:1,listened:!0},this.mode===w.event&&this._initListen(t.el,!0),this.TargetQueue.push(t)),this.TargetIndex}}},{key:"_removeListenerTarget",value:function(n){var i=this;this.TargetQueue.forEach(function(t,e){t.el===n&&(--t.childrenCount||(i._initListen(t.el,!1),i.TargetQueue.splice(e,1),t=null))})}},{key:"_initListen",value:function(e,n){var i=this;this.options.ListenEvents.forEach(function(t){return D[n?"on":"off"](e,t,i.lazyLoadHandler)})}},{key:"_initEvent",value:function(){var r=this;this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=function(t,e){r.Event.listeners[t].push(e)},this.$once=function(t,e){function n(){i.$off(t,n),e.apply(i,arguments)}var i=r;r.$on(t,n)},this.$off=function(t,e){if(!e)return void(r.Event.listeners[t]=[]);l(r.Event.listeners[t],e)},this.$emit=function(t,e,n){r.Event.listeners[t].forEach(function(t){return t(e,n)})}}},{key:"_lazyLoadHandler",value:function(){var n=this,i=!1;this.ListenerQueue.forEach(function(t,e){t.state.loaded||(i=t.checkInView())&&t.load(function(){!t.error&&t.loaded&&n.ListenerQueue.splice(e,1)})})}},{key:"_initIntersectionObserver",value:function(){var e=this;M&&(this._observer=new IntersectionObserver(this._observerHandler.bind(this),this.options.observerOptions),this.ListenerQueue.length&&this.ListenerQueue.forEach(function(t){e._observer.observe(t.el)}))}},{key:"_observerHandler",value:function(t,e){var n=this;t.forEach(function(e){e.isIntersecting&&n.ListenerQueue.forEach(function(t){if(t.el===e.target){if(t.state.loaded)return n._observer.unobserve(t.el);t.load()}})})}},{key:"_elRenderer",value:function(t,e,n){if(t.el){var i=t.el,r=t.bindType,o=void 0;switch(e){case"loading":o=t.loading;break;case"error":o=t.error;break;default:o=t.src}if(r?i.style[r]='url("'+o+'")':i.getAttribute("src")!==o&&i.setAttribute("src",o),i.setAttribute("lazy",e),this.$emit(e,t,n),this.options.adapter[e]&&this.options.adapter[e](t,this.options),this.options.dispatchEvent){var a=new C(e,{detail:t});i.dispatchEvent(a)}}}},{key:"_valueFormatter",value:function(t){var e=t,n=this.options.loading,i=this.options.error;return d(t)&&(t.src||this.options.silent||console.error("Vue Lazyload warning: miss src with "+t),e=t.src,n=t.loading||this.options.loading,i=t.error||this.options.error),{src:e,loading:n,error:i}}}]),m}()},B=function(t){return{props:{tag:{type:String,default:"div"}},render:function(t){return!1===this.show?t(this.tag):t(this.tag,null,this.$slots.default)},data:function(){return{el:null,state:{loaded:!1},rect:{},show:!1}},mounted:function(){this.el=this.$el,t.addLazyBox(this),t.lazyLoadHandler()},beforeDestroy:function(){t.removeComponent(this)},methods:{getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),A&&this.rect.top<window.innerHeight*t.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*t.options.preLoad&&this.rect.right>0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)}}}},V=function(){function n(t){var e=t.lazy;x(this,n),this.lazy=e,e.lazyContainerMananger=this,this._queue=[]}return f(n,[{key:"bind",value:function(t,e,n){var i=new Y({el:t,binding:e,vnode:n,lazy:this.lazy});this._queue.push(i)}},{key:"update",value:function(e,t,n){var i=u(this._queue,function(t){return t.el===e});i&&i.update({el:e,binding:t,vnode:n})}},{key:"unbind",value:function(e,t,n){var i=u(this._queue,function(t){return t.el===e});i&&(i.clear(),l(this._queue,i))}}]),n}(),F={selector:"img"},Y=function(){function o(t){var e=t.el,n=t.binding,i=t.vnode,r=t.lazy;x(this,o),this.el=null,this.vnode=i,this.binding=n,this.options={},this.lazy=r,this._queue=[],this.update({el:e,binding:n})}return f(o,[{key:"update",value:function(t){var e=this,n=t.el,i=t.binding;this.el=n,this.options=S({},F,i.value),this.getImgs().forEach(function(t){e.lazy.add(t,S({},e.binding,{value:{src:t.dataset.src,error:t.dataset.error,loading:t.dataset.loading}}),e.vnode)})}},{key:"getImgs",value:function(){return i(this.el.querySelectorAll(this.options.selector))}},{key:"clear",value:function(){var e=this;this.getImgs().forEach(function(t){return e.lazy.remove(t)}),this.vnode=null,this.binding=null,this.lazy=null}}]),o}();return{install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=j(t),i=new n(e),r=new V({lazy:i}),o="2"===t.version.split(".")[0];t.prototype.$Lazyload=i,e.lazyComponent&&t.component("lazy-component",B(i)),o?(t.directive("lazy",{bind:i.add.bind(i),update:i.update.bind(i),componentUpdated:i.lazyLoadHandler.bind(i),unbind:i.remove.bind(i)}),t.directive("lazy-container",{bind:r.bind.bind(r),update:r.update.bind(r),unbind:r.unbind.bind(r)})):(t.directive("lazy",{bind:i.lazyLoadHandler.bind(i),update:function(t,e){S(this.vm.$refs,this.vm.$els),i.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){i.remove(this.el)}}),t.directive("lazy-container",{update:function(t,e){r.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){r.unbind(this.el)}}))}}}()},function(t,e,n){n(9),n(61),n(1250)},function(t,e,n){},function(t,e,n){n(9),n(68),n(22),n(23),n(75),n(1252)},function(t,e,n){},function(t,e,n){"use strict";function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function s(t){t=t.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function g(t){if("[object Window]"===t.toString())return t;t=t.ownerDocument;return t&&t.defaultView||window}function l(t){t=g(t);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function p(t){return t instanceof g(t).Element||t instanceof Element}function u(t){return t instanceof g(t).HTMLElement||t instanceof HTMLElement}function c(t){return t?(t.nodeName||"").toLowerCase():null}function m(t){return((p(t)?t.ownerDocument:t.document)||window.document).documentElement}function i(t){return g(t).getComputedStyle(t)}function h(t){var e=i(t),n=e.overflow,t=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+e+t)}function v(t,e,n){void 0===n&&(n=!1);var i=m(e),r=s(t),o=u(e),a={scrollLeft:0,scrollTop:0},t={x:0,y:0};return!o&&(o||n)||("body"===c(e)&&!h(i)||(a=(o=e)!==g(o)&&u(o)?{scrollLeft:(n=o).scrollLeft,scrollTop:n.scrollTop}:l(o)),u(e)?((t=s(e)).x+=e.clientLeft,t.y+=e.clientTop):i&&(t.x=s(m(i=i)).left+l(i).scrollLeft)),{x:r.left+a.scrollLeft-t.x,y:r.top+a.scrollTop-t.y,width:r.width,height:r.height}}function r(t){return"html"===c(t)?t:t.assignedSlot||t.parentNode||t.host||m(t)}function y(t,e){void 0===e&&(e=[]);var n=function t(e){return 0<=["html","body","#document"].indexOf(c(e))?e.ownerDocument.body:u(e)&&h(e)?e:t(r(e))}(t),i="body"===c(n),t=g(n),n=i?[t].concat(t.visualViewport||[],h(n)?n:[]):n,e=e.concat(n);return i?e:e.concat(y(r(n)))}function o(t){if(!u(t)||"fixed"===i(t).position)return null;var e=t.offsetParent;if(e){t=m(e);if("body"===c(e)&&"static"===i(e).position&&"static"!==i(t).position)return t}return e}function x(t){for(var e=g(t),n=o(t);n&&0<=["table","td","th"].indexOf(c(n))&&"static"===i(n).position;)n=o(n);return(!n||"body"!==c(n)||"static"!==i(n).position)&&(n||function(t){for(var e=r(t);u(e)&&["html","body"].indexOf(c(e))<0;){var n=i(e);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return e;e=e.parentNode}return null}(t))||e}n.r(e),n.d(e,"createPopper",function(){return P}),n.d(e,"offsetModifier",function(){return E});var _="top",b="bottom",S="right",A="left",d="start",M="end",w=[].concat([_,b,S,A],["auto"]).reduce(function(t,e){return t.concat([e,e+"-"+d,e+"-"+M])},[]),C=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function T(t){var n=new Map,i=new Set,r=[];return t.forEach(function(t){n.set(t.name,t)}),t.forEach(function(t){i.has(t.name)||!function e(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){i.has(t)||(t=n.get(t))&&e(t)}),r.push(t)}(t)}),r}function I(t){return t.split("-")[0]}var D={placement:"bottom",modifiers:[],strategy:"absolute"};function L(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function a(t){var e=(t=void 0===t?{}:t).defaultModifiers,h=void 0===e?[]:e,t=t.defaultOptions,d=void 0===t?D:t;return function(i,r,e){void 0===e&&(e=d);var n,o,a={placement:"bottom",orderedModifiers:[],options:f(f({},D),d),modifiersData:{},elements:{reference:i,popper:r},attributes:{},styles:{}},s=[],l=!1,u={state:a,setOptions:function(t){c(),a.options=f(f(f({},d),a.options),t),a.scrollParents={reference:p(i)?y(i):i.contextElement?y(i.contextElement):[],popper:y(r)};var n,e,t=(t=[].concat(h,a.options.modifiers),e=t.reduce(function(t,e){var n=t[e.name];return t[e.name]=n?f(f(f({},n),e),{},{options:f(f({},n.options),e.options),data:f(f({},n.data),e.data)}):e,t},{}),t=Object.keys(e).map(function(t){return e[t]}),n=T(t),C.reduce(function(t,e){return t.concat(n.filter(function(t){return t.phase===e}))},[]));return a.orderedModifiers=t.filter(function(t){return t.enabled}),a.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,t=t.effect;"function"==typeof t&&(n=t({state:a,name:e,instance:u,options:void 0===n?{}:n}),s.push(n||function(){}))}),u.update()},forceUpdate:function(){if(!l){var t=a.elements,e=t.reference,t=t.popper;if(L(e,t)){a.rects={reference:v(e,x(t),"fixed"===a.options.strategy),popper:{x:(t=t).offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(t){return a.modifiersData[t.name]=f({},t.data)});for(var n,i,r,o=0;o<a.orderedModifiers.length;o++)0,!0!==a.reset?(n=(r=a.orderedModifiers[o]).fn,i=r.options,r=r.name,"function"==typeof n&&(a=n({state:a,options:void 0===i?{}:i,name:r,instance:u})||a)):(a.reset=!1,o=-1)}}},update:(n=function(){return new Promise(function(t){u.forceUpdate(),t(a)})},function(){return o=o||new Promise(function(t){Promise.resolve().then(function(){o=void 0,t(n())})})}),destroy:function(){c(),l=!0}};return L(i,r)&&u.setOptions(e).then(function(t){!l&&e.onFirstUpdate&&e.onFirstUpdate(t)}),u;function c(){s.forEach(function(t){return t()}),s=[]}}}var k={passive:!0};var N={top:"auto",right:"auto",bottom:"auto",left:"auto"};function O(t){var e=t.popper,n=t.popperRect,i=t.placement,r=t.offsets,o=t.position,a=t.gpuAcceleration,s=t.adaptive,l=(h=(p=r).x,d=p.y,p=window.devicePixelRatio||1,{x:Math.round(h*p)/p||0,y:Math.round(d*p)/p||0}),u=l.x,c=l.y,t=r.hasOwnProperty("x"),h=r.hasOwnProperty("y"),d=A,p=_,l=window;s&&((r=x(e))===g(e)&&(r=m(e)),i===_&&(p=b,c-=r.clientHeight-n.height,c*=a?1:-1),i===A&&(d=S,u-=r.clientWidth-n.width,u*=a?1:-1));var s=f({position:o},s&&N);return f(f({},s),{},a?((a={})[p]=h?"0":"",a[d]=t?"0":"",a.transform=(l.devicePixelRatio||1)<2?"translate("+u+"px, "+c+"px)":"translate3d("+u+"px, "+c+"px, 0)",a):((s={})[p]=h?c+"px":"",s[d]=t?u+"px":"",s.transform="",s))}var P=a({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=void 0===(t=i.scroll)||t,o=void 0===(i=i.resize)||i,a=g(e.elements.popper),s=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&s.forEach(function(t){t.addEventListener("scroll",n.update,k)}),o&&a.addEventListener("resize",n.update,k),function(){r&&s.forEach(function(t){t.removeEventListener("scroll",n.update,k)}),o&&a.removeEventListener("resize",n.update,k)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,t=t.name;e.modifiersData[t]=function(t){var e,n=t.reference,i=t.element,t=(r=t.placement)?I(r):null,r=r?r.split("-")[1]:null,o=n.x+n.width/2-i.width/2,a=n.y+n.height/2-i.height/2;switch(t){case _:e={x:o,y:n.y-i.height};break;case b:e={x:o,y:n.y+n.height};break;case S:e={x:n.x+n.width,y:a};break;case A:e={x:n.x-i.width,y:a};break;default:e={x:n.x,y:n.y}}var s=t?0<=["top","bottom"].indexOf(t)?"x":"y":null;if(null!=s){var l="y"===s?"height":"width";switch(r){case d:e[s]=Math.floor(e[s])-Math.floor(n[l]/2-i[l]/2);break;case M:e[s]=Math.floor(e[s])+Math.ceil(n[l]/2-i[l]/2)}}return e}({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,t=void 0===(t=n.gpuAcceleration)||t,n=void 0===(n=n.adaptive)||n,t={placement:I(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:t};null!=e.modifiersData.popperOffsets&&(e.styles.popper=f(f({},e.styles.popper),O(f(f({},t),{},{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:n})))),null!=e.modifiersData.arrow&&(e.styles.arrow=f(f({},e.styles.arrow),O(f(f({},t),{},{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=f(f({},e.attributes.popper),{},{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var r=t.state;Object.keys(r.elements).forEach(function(t){var e=r.styles[t]||{},n=r.attributes[t]||{},i=r.elements[t];u(i)&&c(i)&&(f(i.style,e),Object.keys(n).forEach(function(t){var e=n[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var i=t.state,r={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return f(i.elements.popper.style,r.popper),i.elements.arrow&&f(i.elements.arrow.style,r.arrow),function(){Object.keys(i.elements).forEach(function(t){var e=i.elements[t],n=i.attributes[t]||{},t=Object.keys((i.styles.hasOwnProperty(t)?i.styles:r)[t]).reduce(function(t,e){return t[e]="",t},{});u(e)&&c(e)&&(f(e.style,t),Object.keys(n).forEach(function(t){e.removeAttribute(t)}))})}},requires:["computeStyles"]}]});var E={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var a=t.state,e=t.options,n=t.name,s=void 0===(i=e.offset)?[0,0]:i,t=w.reduce(function(t,e){var n,i,r,o;return t[e]=(n=e,i=a.rects,r=s,o=I(n),e=0<=[A,_].indexOf(o)?-1:1,r=(r=(n="function"==typeof r?r(f(f({},i),{},{placement:n})):r)[0])||0,n=((n=n[1])||0)*e,0<=[A,S].indexOf(o)?{x:n,y:r}:{x:r,y:n}),t},{}),i=(e=t[a.placement]).x,e=e.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=i,a.modifiersData.popperOffsets.y+=e),a.modifiersData[n]=t}}},function(t,e,n){n(9),n(1255)},function(t,e,n){},function(t,e,n){n(9),n(1257)},function(t,e,n){},function(t,e,n){n(9),n(22),n(23),n(1259)},function(t,e,n){},function(t,e,n){n(9),n(1261)},function(t,e,n){},function(t,e,n){n(9),n(729)},function(t,e,n){n(9),n(22),n(23),n(741)},function(t,e,n){n(9),n(22),n(23),n(1265)},function(t,e,n){},function(t,e,n){n(9),n(1267)},function(t,e,n){},function(t,e,n){n(9),n(728)},function(t,e,n){n(9),n(1270)},function(t,e,n){},function(t,e,n){n(9),n(22),n(23),n(1272)},function(t,e,n){},function(t,e,n){n(9),n(22),n(23)},function(t,e,n){n(9),n(1275)},function(t,e,n){},function(t,e,n){"use strict";n(745)},function(t,e,n){t.exports=n.p+"static/image.7c56773.png"},function(t,e,n){t.exports=n.p+"static/image-2.ff79643.png"},function(t,e,n){t.exports=n.p+"static/image-3.d6520d5.png"},function(t,e,n){t.exports=n.p+"static/image-4.4db3df5.png"},function(t,e,n){var i={"./catalog-1.md":409,"./catalog-2.md":396,"./catalog-3.md":395,"./catalog-4.md":394,"./catalog.md":408,"./intro-tis-app.md":398,"./lifecycle-1.md":392,"./lifecycle-2.md":391,"./lifecycle-3.md":390,"./lifecycle-4.md":389,"./lifecycle-5.md":388,"./lifecycle.md":393,"./main.md":397,"./quick-start-1.md":400,"./quick-start-2.md":401,"./quick-start-3.md":402,"./quick-start-4.md":403,"./quick-start-5.md":404,"./quick-start-6.md":405,"./quick-start-7.md":406,"./quick-start-8.md":407,"./quick-start.md":399,"./start.md":1320,"./tis-api-1.md":386,"./tis-api-2.md":385,"./tis-api-3.md":384,"./tis-api-4.md":383,"./tis-api.md":387};function r(t){t=o(t);return n(t)}function o(t){if(n.o(i,t))return i[t];t=new Error("Cannot find module '"+t+"'");throw t.code="MODULE_NOT_FOUND",t}r.keys=function(){return Object.keys(i)},r.resolve=o,(t.exports=r).id=1281},function(t,e,n){"use strict";n(759)},function(t,e,n){t.exports=n.p+"static/logo-black.1074a2c.png"},function(t,e,n){"use strict";n(760)},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAABUCAYAAACvKq23AAAgAElEQVR4Xu19C7gdZXnu987a2Un2DiTkIrmQcFFO1doWlR4QCGRHLhoItLZIlar1blv10Fpvx6rVQ71UxVq1tRVQe7RHtCJequWigRASEoMitwMIIReBJARCSQKEZM/b511r1tprzcw/M2utWTt77/z/8+wHzZr5L+/MfPPN973f+8N88wh4BDwCHoExiQDG5Kz8pDwCHgGPgEfAvIH2N4FHwCPgERijCHgDPUYvjJ+WR8Aj4BHwBtrfAx4Bj4BHYIwi4A30GL0wfloeAY+AR8AbaH8PeAQ8Ah6BMYqAN9Bj9ML4aXkEPAIeAW+g/T3gEfAIeATGKALeQI/RC+On5RHwCHgEvIH294BHwCPgERijCHgDPUYvjJ+WR8Aj4BHwBtrfAx4Bj4BHYIwi4A30GL0wfloeAY+AR8AbaH8PeAQ8Ah6BMYpAqoF+zrU8LxwOL6DhuAB2KGnbAnBlGASXbzgDt4+VtRxz42OL8Ey41AzP7gsD6wsr901h5ZpbXjb48FiZo5+HR8Aj4BHoFIEWA/3sq7kwtOFvGe3EeocAjKTpv2YILeCXpswL/uKuF+CZTgft9rz5Nzy60MK9n6uw77xKaEGFgekvCKv/DSsWXDHYH7x7zUsHHux2LH++R8Aj4BE4UAg0DPQx13IRw3CtkXOrIqSsTUn/afq/tX8BVsyaVTnnluPx5GhPfPbKX5/dR3wjCIPpNcOMumGOjDSsjxULiG39NumcdWf3rx/tOfrxPAIeAY9AGQhUDTRJHHPt/tU1z7lujmu2m0aDofpftcavsJWHsG/ZbWdhTxkTKdLHrFWb3h+wcnEwnPCaE4Y68qp3TgmnHHfTudhcpH9/jEfAI+ARGEsIVK3w0dfsP5dh+L2aBYYsdu2/qW3Ep4bhxqn9fcvuGsLuXi5q/vqHBvbs3Xt5hcEFQYiqp1yRl1z/3wptmEIc0W/hyP/uY3DZunOnvKmX8/N9ewQ8Ah6BXiBQtcJHXv3M1wFcGHnT1Xiz4s4tHnN99JgBp9lNUwb6Xn7PKdjViwl+mAwuWbvxBxjmMhnlWqxZYYy6EW4y1I1YdCPMIUO+v8/6j1qzHD4e3YsL5Pv0CHgEeoZAzUBf+8ydRnt+usMcedORwU4cAxhoa/qmT3rZfSfiibJnOrB2wxsxzEvrhrmeEBxJDNY96rrhHjHYVUMu3xqVpWvPmbSi7Ln5/jwCHgGPQC8RqBroRVfv3QzYwrSB6tGOun12RUBgWBtg0lkbzsB/lTnhgZvv+y5C+70GS8PqjI2RcMaI8a5YpR7mqIY8IqON4Py1yyf/e5nz8n15BDwCHoFeI1Az0NfsXQuz/1lksHjSsOUc4GdBX/+ZG4fweJG+ihxTNdBEZKBrRrk1Dm3VePRIyKPZgFfZHFaxynHrlvf/ssh4/hiPgEfAIzBWEIhCHHs/RfKvCk2qleSRcgrW25T+Mzcvxs5C/eUcNLj2vvcwtE9W5A2zFltuNtI1Y61/q9HtqoZaRlnx6BovesP65VOfXcZcfB8eAY+AR2A0Eagb6OfR7HYzVhoMjkZMo4kMXaXkjRA9NNGEvVZM2uzn0wYnn3HnSXis28WIwfH4vqfuqhBH1o10rDClGtYIWDfOMswjnnYfglevP3vg/3U7j4PpfJJTzexFZvac2F9gZo+a2SNm9nMzu8nMbgGw72DCZ6KsleSgmf0vMzvVzA4xs5vN7KNAuWHKiYLXgVhHg0t35DVPfya08C9bKwerHOkWVkeChucIUgPBrQOYfPrdp0MPdFdt+rpNx3A4vA7DdnQyWaikYC3MES9amcTgIz8/e/Bvuhq84MkkZbyUJJ1c8JRuDnsYwKJ6ByQV9x9wdPh3AD5QZDCSh5nZn0UP7Zwi50TG+gtm9kWg+2udNibJe8zsmILzCc1MjCJhoj+9TCRPcGv0dxcAHXNQN5IiBVxtZkfEgLjPzF4I9JY6e1CD38biGwb6fLKy9rqnrqTZudnnx33meK1h0+/AbVMrk1967xB2tDGn1ENnrd6yYNj2/zgIg9+KSrpHDHLEg6562GJuoLK/Mhy8+7Zl0/6+23GLnk9SSdbRKohZBWCx5kZynpk9lDHPNwG4LGsdJOeb2V+a2VvNbFrRNceOk1F8LYCrOjw/9TSSk8xMFat9JfUrrL5hZv8K4I6S+hxX3ZDUNf5F9HWUNvf3A/jEuFrUBJ1sSzXKkhXs2zD89FdpvNDF2kh41AlgWg04jLdPnjzw0vtOhTyZrtrhv9w6uO+JvZeAwRsrRCWKMUfx5ijMYcEdAYM33XXW9LVdDdbmySSHzOynbZ7W6eFfA/AnkYE+xcxuzOhoCMD1rt9J/qaZ6ffZnU6m6Ty9rf8cwD+V0Fe1C5IKs/yqrP5i/Yh6+VYAveq/R9PurluSrzOzr2b08m/1uojuRvJnd4tAolxQZd+LVjz1eQ7zz1M7z00SJs8C7M7+KQNL7z8Z27udsM6fs3rLc/qGcQHCygmVEPPA4Mm+MLijD8EP71l62H8CiJREyhitWB8kVa345WJHd33UBwFcHBkwGeqvZPS4EMCv034n+dzIOB/e9YxqHcgjPQPA1pL6k4F+mZn9uKz+Uvp52sw+YmafAjDcw3HGTNckZZxlpF3tMgC++nYMXDGnHvTC6/Z8lGYfjHvM+THq1qRiXW0JZndNssGlD5yObWNg3aVPgeTHzex9pXec3uGrAVQTnyRlqF0x5qfMbDDthUXyWDO7wcwUIimjSZTqZWXHocmqo6AYd6/bQWOUSH7ezN6eAeh5AL7fa8B9//kIZAr2L/jJkxeZ8RIjOxb2b3G4YXf3BTa0cWhaaR5W/hJH5wiS3zKz80dnNDsBwLrIQH/TzC5wjHsngBfEf4tikP8/JUHU6fRXmdnZQPmVpCQ/a2YXdTqxNs/7WNGEapv9jqnDSS41s584JvUjM1vuE6lj45LlGt5FK3a/bnjYLjPVe6S0vJh0koZn9wSTg6VbThnMSmyNDXTamAXJD2ckXeo9TdfNn9GtYsmbCgz7DqBWDETyZ2Z2vOOc7wM4L8VA/28z+9ucceQR/6uZrY6SkEqCvtDMlJx8dcSwVBfXmtnvAb2RniX5AzM7xzHX/RFzpvlnUce6YdJoLTXhsAncSH4s+uJrtgG63rq3SpdsmMBQ9nRpuQZaoy/86Z7zwpBX0Dg5rhCdDHnEeNIp4nhQ0mdqZejXJx1cgvokl5hZlibIYgDyRgs3kioImuE44RIA72r+jeQUM5Nw1EzHOaKgfdDMPu6K5ZOUwfxalJy8AMDewhNu80CS8vQVK09r3wTwqtj6dE8vMDMVJ+nvt8zsjRHPt8joouO96EDkMYpMrsxjSOrrSi9c8dhXA7irzP59X90jUMhAa5gF1+8aYsjvGauE9s5bxMqD2X0W9A09ODSQmsDqfICxe2aBROK8dhJsJGeZWRaF8c/ijIoCbJN/B5AbqomoedsByIvtSYu45aLYuTziiwHoZZLZIpzeK4ZJBl+8uY+DwovOw83/fuARKGygNdWFK/YcP8zhHxtt9oiAf03Mv1o/qBaLacTrWGJL3jBlMDjpgROnTcjEYfzykhS3VIYire0G0NbLj+QJUfWX6046E4BCEI1GUoU7Cse4mmLJikMe8EZSxThZIZ8/ASBPvlCjdgsyu87MRC3Mav8BwBVWKTSWP8gjUAYCbRloDXjkDbuet2+Y19QTTMlKw3QWR30LrXhIxGhrBhYdMnTfsb37TC4DqDL6IClFvT9w9PVLAMe1Mw5JxYJVdOFqzwawofnHnDnoUPGC/6WdefTq2JxkloY9BYDKzQs3koqjiyOvAhhXU6WmincKNVFTzex3zExc+JMjZowqMZW3kfOx0cz+Q3/13EGhjmMHkXyemb1Ce2yY2VF6HKOqyXvNTH/ic68HoLBQaiOpitOXZ4z/A6DYfqMklVPR/SwqpHIUegFK3kEvVYVLVAykeVVb9ML9XcfYNwKtNFySCsMJ07Sma6T8SL1vJT5faWZiJwkfMZhE673NzL7V7n3SyfXpxTltG2hNYv6KJ55rIW+icWb+Diyt006l7Zl9eOvS6R/txQLHUp8kVb3lMsJXAnAZb9fD9qGIw5v2u+KKU+Pc3pykm/qRh6ksvvjBB7SRfIuZ/XPGJOYC7dM2Sf61mf2fnMUV6jt6iXw6SqDm4SXZg1fFv2qyTorCPEosixZ3et4A0e9yoD4MQNoaLY2kVCtdRVzaCHogjw8ezUmUUt1/eQlZzUXVrFtIKh8irNLaCwDc2fwDSVU1uxK2lwJ4M8mTovqDdD37kQ5FG3w90L0+UMFrUMphHRlojTzv+id+n2F4ZV7hd94sq+fDdlUGgqMfPOHQrnU78sY7kL+TVDm0q5Ramhmu8IfLQCvr/hrHmn4F4H+kPKDy5Jbl4HCLmb0BgLyPA9ZIftLM3uOYQNshoXo/JOXZ6suioWeSMsZZAGRcXNjLIPyd6IVtAqRimA8A0NoyG8l+M7tCLJm8Y1N+l7H9YwDfjhm9rK+uewH8RtZYkbTA181MHmvRpudaXvsbzOxtKScpM6UXQ4tTQFLyA59xDPL+6OtBcg5FZQBWyiMfTxTCjg20QJu3YueqkHZy3Ujr3+obzLpj0q3iS/VzgwBveXjJjNGqxCt6Y5V2HElV62Xxv98CoK31k9Qn3ksck/wxgIQhjuiARQWkpFj3f81M3v1o6Yw0lkPyO9EnfdoSbwWgcEVHjaQMnz6JXc1ZrBHlEiTPm0o9LTihfwSQXq1bCwdIUfC7ZnZWwf7SDmtIAtR/JKmkqutr9UcAnC8ckjKycgo6kQXQ/aOEtlQS421Ls/hX01z/0cz+1LH+eriwXRsm1pFqFsZFa3dxLYuad/3jbyHZ8gmaJ0eakFaKaHhBgKseXjLj98cFah1MkqRik1kUuqUA2tqWi6Tim89yTOcLAN4R/42kYqUKtbR77WWsdWOr4q5r8asiEJLUJgu/7Tj2OwD+sEg/aceQlJHKYoCcDiBRzEFSHn2u91tgXmK/HAWk75VJUp/2OcJlmaOkMlxIKqn6WseZ/wBA8qOJFsW/dQ+Ipll2WwEg4ZGT1VzXGSUPlvpclDxGad21+5C2DDx31a7f5L59d9TLuWs/5tA4Entm1Uw2wDu2LpkpzuqEbAUEahYpTld08SQPjeQ0XadcBOBzjoftnWaW+luB8fUZqurFvwFQpKimQJfph5DUbvEqPElrnwTQcWl9gdL8l8RjuCTlQMirdz03it+r2EhJOiXMzswostGa/haA4uEtjaSkVSX76RpHMqr6etJ/FVNulmKV4f9TAJc6rr2SqorbprV3AlAZeHw+CiFoPFeCr+NrHJ34ZQDKN8THVRhKCb8ym5KovVpHmfOs9tWVgT5m/WPTd+/i4/WwRm12rQY6T1upkTQ0bt0+NKssXYjSgeq2Q5JKSiUexqhfGT3F4AqLPEVsBHk0rnYOAMWbUxtJCQQpydNpU4GM4tSlyovWJxNR4h7OmNybXUaoyIIK6FH8NgDpSFcbSVVrSrskTXdbhT/CIhGzzomjSuFRYlYthT453r0YIcc1i+qTVNhA1Ei9zM4H8J8Z1z3rq2sZgIQwVcGkqlgTqmpVBaru5xOjP5dOefMU3wtA8fxGi2Rm1WdeGEl4rDGzu81MtFMVg2WNqeT5tKJMlSL3Ui+P6cpAH7Vu99wn9+wV3aUq7K+WK6bkXs0924dmuSrGeonBqPRNUuJGf+QYTCLyedzcllNJqpgkK5b2XAASune2KB797gwvtQg2bwOQxbQo0kfiGJJdyajmDUpSCaOqpnZKUzXlrKZyejEV5NHGxe11qhK/ovs5E6oklXRNi73q/JYXaUTZk9FxJTBfGU/8RS8QedGHAlAlZGojKZ59Vhn3bzTT4qJ+VW0oRyCLlvhDbfQQ/wKMvgQUK87LFfwBgCubJx2JeTUoeo4liRHynmbHhqQS47oWWeySyQeFgZ67cudpw8PD12clCeObzDqTiAGu3n7aTPEpJ2TrRDMjx7jq814KemlNTAF55MrkZ7aIayoKl+LVnSR/xHsV37q0jYIjw9CxjGqBNYsdofCAK556GwDF6quNpErFU0MGESNDuhbOlsNGaan2JCn+dJYsr8JLb+9ENTDnq0v3jGiZLduXkRSLQmwKV1OoS19jqS2SFhB9LmtHnJavlQhzJSSzCqb+BYA2mEg0klI/dCVgnwTgCpvl3Tqj/ntXHvThN+z4eEh7X6uBHlHrKLKaelLRLHjP9iUzP1XknPF4DEkZMm0pldY+CyDrIUi7CWUwZDjS2iYAKmQo3KICBiXd5OWLb5vlMcX77Soe7HjIOpJRLbJgkko8OSl0kjdtTrCSlM616wtHsdM8dcY/zmCMaA/ARmVngepJLVFxZm0OIc9VMW+9UHK38SKp69tCu2vC6wEACSNKUsUv2jQhrakvsSIyQ3M5+Redq5CDSvobjaQchn9wjKuXybEAHnDcO1I/lApiWnsQQNqXUJFbZ9SP6dhAz7mD0/DoY5vIcOZI3LmT+UOn7+vrqxz78MmH9TTp1Mnsyjgn8lKzON7ahUSUosKNpHZBOc1xwk8AFC1qSHQRaVcohCIvXdVqee1mAC66X965qb/nhIRSZVSLDkRSnllWNV2DijUKW5mJE93wwCPus+6VdrYe09eAQgn/BEDhFBemWV9d1wJQUrPZSKpy0SWgpBfCEQCy8gTVvkjqy8y1o9JDACRu1dJIKomtZHZaux6Aq8JQ42VtnnEHgHFDRujcQN/wyKVGpwc3AmqxSpZLH1ky581FH7DxdlxO9ZaWk1kUkbZekhKZStzY0bH/DCCtIKAt6EipF1Yr2LQhgMv7V59dcZId68uSUf0egE6KN/TwKoOvSjrXvS/jKPqbGCQ6Xmp5/9YWcO0dnHg5k9SWYZ1eP3nU56aFnEhmfXXJuGvD4GYDnUUpzDSSsX7EAnHt/L4SQMLRIJlVUPUZAOKhp7acpOZ1AMqm7rV3xds4uiMDffjKRy8KGVY/IfL0oPPmArONUyv9L9q8eIZYAROydaKZkQVEVMSwJ8PIKHFSWrgoil2qbFix27R2NwB5W6W1HBnVzAc048GVToMMWNYWXx8C0CgDJyl2gRKpvWpiXcj7bTaMMmhKAHdaFyBKnLYei4cNsr663gXgktg8VB7t0i/XFmGuKs8WrEiKq68wUJq9uRxAIlRHUqwMV1XjawComtFloKUl43L4SnFeenUzxPtt20DPumH7e0F+oh50SogftTNzYBfI0x457VkqnJiwjWTbmhk5Blrx0KwdqV8BQFVopTWSMmxiVqS1+wG44pRtz6GAjKp4vl9qp2OSijuqUCgrZCOGw5HN3idJjZOajGpn/IxjRZlTQU7cqCkHIIOpZGk74Y56P18BoNLqRsv56kpIrJIUXiqwSmvOJF3KWlQN6ArhJXYQj7Q+RLFzOQQnAnBuCk1SfPSXOuZdqvNS0j3g7KYtAz175baPGO1D9WpA9RqvDIyP5IpwVLmSQfDyHYvnOHec7vXiR6t/km1rZmTNjaR2ScniHyey4ikPjWhkhbVPSOqBUFFEWrsKQKfeXqK/AiEheYd6CAs1kgoF6fg8Guf74hoZJFXqriRfWlOiLo8KljdHea4tnm7MqMo4qyRdQloyllKQK9LEqplT1+su8NWVJlYkHnhiy7Ro8BsAiHOc2aIwmbZnc1WEpn1BKMGdmgCMBtO6nNWsJEVTdL2IS3de8jDo5vfCBnr2Dds+TbN3JU1yrDAltoNKUg+aZgj2AXjFjsVzlIWe8K0TzYwsUHJUwVKz4rGHXp+t4mWLrqUdnvMeMinwZX3lJD6P8/rMWV+ejOrRAPQQ5s1bLxSxAWTgXN5YvQ8VaEgLu4WRkJOs+gQAifaMSos8SyW4VAJ+YUYIoD6fGfWCFpJZX11aszYXltfaaDlccR2XK/daYAfxF8a52ySV4G7RMW+a1uMAnPmQKMmqdQSOi/I7B1oErJ2bJddAizg/+8btXzRjJFrSapCT8qGKS9e2vVJLaHMECMHgwh2nzhGf86BoJMVrFb81rX0egCtbnXoCySwRmUwt4yjpJY9ecU49mH8Vjz3GHlJ5UNKFcPFY1cfzAShmWErLCQklJDEjw6U4p8IY8pblgcnIuzz++DzFHtI2V6JCtrQcDrQKInSeaF+ua6VQhZKs0jApXMpfe3b44hxWRlZ1qroQF75qdHO+un4NQHrO8bVnfT3oWF1ziUolviJIyojWQzRZ98Uh9YRs/SCSSpAqUZrWbgHg2oNT61TcOuteFKVP+Ztx0TIN9Plk5ac3br3MDK+rVwrGpTYS2huJoEerQQ9gb92xeO6YEIQfjSvUjWZGxkOfJSIj4fNT084lqcSJYqpx70Kf6hLRUcWYaFOiRelG127hEojPEshpW8c6D/eckJBeCM2ULd1g2pOxHd528xSUvBKLJrUSMBIJytqrr4Um19xxRK+UdodCASqx1ud1Q2Q+C4emryTntl4k9SWkRF5a2wyg8Zmf89WVysgooB+jcRW3VyJV65JhlAyrSq4luuQS8qrPdxsAaZbEXwxKcLtYGlcAcFXkykBLwdElcbAVwLiSk3Aa6Bev56QHntr2dYahSkudpdx5D1vz70EQvHvHKYe7BLvb6WrcHNutZobD0GaJyCSSQ+ojRxOiUzylIXFCWpKr0w6juWYJ+nTTdfxcGZSX54VLSEplMCveKhqedkmXJyntCOlQSJ1NWt3NYj/y/pXgvDzHOMclQdW/ikJuAvBIxIpQ6bg8VBd7RruZvK4+Tg51T969uMNxQ6mXnkrcs3Szu7keqwAkyu1JKsHtolGmCkw1rTOrwEX4uRLd3ayjZ+emGujn/IqTd27b9q3qjgaxLGC8dDs+M1cpNyq4+NGT5+Zu8NnOShfc/OgReOaZ+ZP2B3tnHvqsX91yvDvZ0k6/ZR5bhmZG83yiGJuSSi4RmYRHV2Afwk6WrGo2aSi4PLhO+qyekyOj2nG/sRMlJSrnIxHWSDFU0mR2ChA1HS+ur8IdeZKcKsJQ3D4RGimgsiftj7y9K1VEohenhIvqmGZ9dSWYFE3ndaN8mHetvgrg9Sl4ZyUntSuKM2+SkzNoeWnlTW4s/J4w0PPXc+Dppx++imFdhzVmoWNyoQmWRhR/jrSTahEQ4PM7T5nXVpzVBc5Rv9g5Y9fuPe/qI14ThDgyCGEVBjbJKvsxjJV9AT579+kzx0zykaSSSC6thsKaGU0PjLi8WcyBPwIgMfr6gykvKjcR2ObNqHlf2DxOm+c7Dy8QEup2KIUaFHd38mjTBiCpsuOEvnaHk0mI/EQvJu0OkqrH3OY4nwOgcudGI5n11ZVgUjTdP1KGU0LWlUNpc2oth/81AH15NM9TFkMxYm1YkNYWA3DqqpPUs+/adKCF497NxEfr3BYDPXvVI4cM274fGu3UWv4o2RKC+7E9YhNyo7CvPXryPL31CktpuhY/Y/WW04Jw+IogrBweENbHwAL9hbX/LUMdhIH1sXLlpMmHvPHWoXIFfDq5KCQvi7b6STt9I4C29G6jXS2yRGSOb04sRds7qaioLOOi6yhpzbKNfhWfAiGhTi6DzhGlUNfiY81SnUU7i75chKOS5bnJdUe/8myl052muaxPb8mZutgHRaaqa6MvqBYRrQLSnQkmRcxoip6oEIuLcueam3IbUpdzaV+0OBPR9VeSV1WyrjYPgFP7JKfARU5FL6tCi1yjto5p3GjPv4P9Dz/+0LUyzvUwRhUwY2Mbq1rPxWq3o0OvPOPkBa/8dkaWu+hsp63ecH7F8I1KGEyqes1hYBWrGWQZ5kqIqrGu/e/qb/dPDSctW3f2lG55qkWnmP5CI/XQpSbtxM1tt+w0R0RGc2hQq2IPmRKEnzAz7ZTcaRMVTdQySXX2pOUI+rQ7pjx94a8SZyUzW3SX2+0sMiC6ljL07RbmKMQgz72hMR0fP9okVQakE7U1hT60B2Ei5BRJcGZJz0qmVOc7WySmJfZQI66ddbiZKc4up0AVwi7pz2Pigkckha+uWVrL3Iey2wKXTu6HXp/TMNAzbnrw0xZWd93NbvEdURI8uhoRGkFwzbzp85bf9YJ8ycu8IQfXbngthu3yCoNKq7dcM8oj3rPCHZWqRy2DXWFlQ2Vw4IRbhkZni6a0dZCUmPt8xxq/BMC151rqKTkxth0AnJ+iUfjgL6IHZ1Ye7tHvijWLEqnS3p5vIksyS9DHNWWJBSmWLC9ZLBQVRohVsC5O4Sq45szDoqIPSWzKWGUxFTQvfXIr1lqosCYSFtI9ofLnPKEqXRvF0nV9vuv6MshhNmwHkFX63oJFlFPRulWp1xxr11y0k4ywV4jldpLyvPVvaS11g1qSqn7UCzCt/RKAOPmuZ0N4ZfHjZ7dTnFXGvdJtH1UDPWv1jgXDfHqD0frzQhhFtDdguGlganDmQ8fPd1ZIFZ34YevvX7R3H+8NQkyW8ZUxhkIaVe+5ZpBr3nPdq64Z6Hr4o4/Bj9afM7XdnZeLTm9cHhd5GmIBqCBAhQ8y6qLWKfGoG1zxSv2pmuvnAB4alwvt8aQjcX0ZjBdHGOqlJ6Osl7LwE2vAJRKUOzuS8qTlqetPuQf1rxi6PvH1J4PlUonL7b+bAyKdZ4UuZNzFTrk9ZVduaZi07JTSNKZz/8Nu5jXRzq0a6Bk3PfgOMqxpr+ZZ6BwEAPwCkweGdh4/Uzdq123w5vs/pkRbLb5cSwg2whixf6vGnxuGux7+qIR9UyfPX3s6dGP75hHwCIwSAjmbVKRurzVKUxs3w9QM9Kotl4ZW3TWiEW8WXa5mr1tj0HEaXcvvwD0DU/sWb33RvNLe6oNr7v86jRdW48rykuUxNxnmWlIwMt5NXnX93/R7UKm8/mdn9/ckqTVurrSfqEegAwSi5OgXJYAPIKtgp6X3HN699iyUFkzXX9gdLGlcnVIz0Ku3fDus7baQrM1OljJfUjgAAAQISURBVA62LjDKGSLApkqAUx478YisDGzb4AzcfP+HQPtIIxEog1tlcLQa6riH3Rz+qKDyhrXL+7/S9uD+BI/AQY4AyS+bmYpYZFRVsv73ebu3kJT2yTciOYE0BK8GMGG3tyvzlqka6OlrNn+Rw6yJdcdJGnkGWknCQLQXLH7ipIWqOiq1TV+36Zjh/ftvDYhD6iGMqjEejhKCVa+6xtyoG+7mUEg1Hg2ce/PyKT8odWK+M4/ABEeArNoEec/NTclXyQV8P7azuNhBUqzT9l1ZVZc9qT6dqJeiZqBXbb6AYFW8KCkfmiglbNnhKgiCxwLDkp0nLXTSh7oF79CbNy6zYftOhZhSp9PVQhgR97meIGxwoetsDikC9T0WVPqPXrsMWbsZdztFf75HYEIhQFIl2GKIZGmciDmjcKYShdJDKdLemcYDL3LiwXhM1UAfsXrL1P+yYbE45rbDc4ZhtwXB6U+8ZKFTPLssUGev3Xx8uI9XBWGwoCVZ2FSoMlK0UqmxOkTBs8oH1p0zOXPX5bLm6PvxCEwEBKJ9GFUmnid21O5y5XVLy9y3ggg0eNCHrtl4YRgyUf4a3zFlhGZnT/dVbNnjJx4lIZlRaXPWbZ+Lp5/5DoiTmmPS6clDUfEqNx4yOOXM64eg+JlvHgGPQA4CEX1OpdSiDpbZlJvS7jGFN4koc/Dx2ldLyeqhazZeHIZUqWhDvS4egq6dgN2oBH/4xAmLrh7thavi8bEdD306sODtlWGgaqijisIG/1nMDlS+OWXG1DesOalVhHy05+vH8wiMJwQiHWdVAXa0Ka9jrdrs4VUAsqoZxxNMozbXhKbAtNWbzjfwEqvt4Zag2QWG1aH1vW1PD2PORVa/YMXWEysWXBSEOLMS4rAoUfhkYMF1kxB84dazprl2ZCjSvT/GI3BQIxBV9KnIpGjFaRpeyvtId+SjQPcVxQfjBUkVfZGXunn3puUWhkMGzjdi2GD3Igh+uOuEo9aMJaBUzXXsjbtn9w+jcueSQQmAdy3KNJbW5+fiEThQCEQcaFXhqrT7d82Uo8oVc1I48ZZoV3Jpk2dqfByotY2XcTtV5Rov6/Pz9Ah4BEpCIFLFk9qcBPy1RZb+pL4nQST9SSZA0gAq/fatBAS8gS4BRN+FR8Aj4BHoBQLeQPcCVd+nR8Aj4BEoAQFvoEsA0XfhEfAIeAR6gYA30L1A1ffpEfAIeARKQMAb6BJA9F14BDwCHoFeIOANdC9Q9X16BDwCHoESEPAGugQQfRceAY+AR6AXCHgD3QtUfZ8eAY+AR6AEBLyBLgFE34VHwCPgEegFAt5A9wJV36dHwCPgESgBAW+gSwDRd+ER8Ah4BHqBgDfQvUDV9+kR8Ah4BEpA4L8B8hlqGFfX5eAAAAAASUVORK5CYII="},function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjMwcHgiIGhlaWdodD0iMzBweCIgdmlld0JveD0iMCAwIDM4IDQ4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0MCAoMzM3NjIpIC0gaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoIC0tPgogICAgPHRpdGxlPlNoYXBlIENvcHk8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0idjIuMi4wIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0i6aaW6aG1Lem7mOiupOaViOaenC1jb3B5LTIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC03MC4wMDAwMDAsIC0xOS4wMDAwMDApIiBmaWxsPSIjNDA5RUZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTIxMi4xMzU0NDEsNDUuMTU3ODA3NyBaIE0xMDMuNDE2NTAyLDQ2LjIxNzU1MTEgQzEwMy40MDcwMDgsNDcuNzk0NTY4MiAxMDIuNTg3ODQxLDQ4LjE0NjM0NzQgMTAyLjU4Nzg0MSw0OC4xNDYzNDc0IEMxMDIuNTg3ODQxLDQ4LjE0NjM0NzQgODguNDUyMDQ3OCw1Ni4zMTQ1MDg3IDg3LjUzMjk5NTYsNTYuODI2Mjc1MSBDODYuNjIyMzM2LDU3LjIxNzE1NjEgODYuMDEzNjcwMyw1Ni44MjYyNzUxIDg2LjAxMzY3MDMsNTYuODI2Mjc1MSBDODYuMDEzNjcwMyw1Ni44MjYyNzUxIDcxLjIyMjU3MDYsNDguMjQ3OTU3MiA3MC42ODI2OTYyLDQ3Ljg3MDg0NDQgQzcwLjE0MjY4NDMsNDcuNDkzNzMxNiA3MC4xMzAxNjQzLDQ2LjkwNjM3NzQgNzAuMTMwMTY0Myw0Ni45MDYzNzc0IEM3MC4xMzAxNjQzLDQ2LjkwNjM3NzQgNzAuMTQ1MDIzMiwyOS45MTk5MTc0IDcwLjEzMDE2NDMsMjkuMTMzMzM2NCBDNzAuMTE1MzA1MywyOC4zNDY2MTc3IDcxLjA5Njk1NzYsMjcuNzU1NTQ2MSA3MS4wOTY5NTc2LDI3Ljc1NTU0NjEgTDg1Ljg3NTUzNzMsMTkuMjEzNDM4NyBDODYuNzg1MzcxNCwxOC43MzMyMDE2IDg3LjY3MTEyODYsMTkuMjEzNDM4NyA4Ny42NzExMjg2LDE5LjIxMzQzODcgQzg3LjY3MTEyODYsMTkuMjEzNDM4NyAxMDAuNzI2NjIzLDI2LjgwMjA5MzcgMTAyLjE3MzQ0MiwyNy42MTc3MjU3IEMxMDMuNTkxNTA3LDI4LjI5MTk1NzcgMTAzLjQxNjUwMiwyOS42ODQzNDI0IDEwMy40MTY1MDIsMjkuNjg0MzQyNCBDMTAzLjQxNjUwMiwyOS42ODQzNDI0IDEwMy40MjUzMDcsNDQuNzUxOTE5MiAxMDMuNDE2NTAyLDQ2LjIxNzU1MTEgTDEwMy40MTY1MDIsNDYuMjE3NTUxMSBaIE05Ny41MTYwMTA1LDI5LjE2OTEzMzkgQzk0LjQ5MDAxNzMsMjcuNDI3NDQ4MyA4Ny4zNjE1ODQyLDIzLjI5NzEwNjMgODcuMzYxNTg0MiwyMy4yOTcxMDYzIEM4Ny4zNjE1ODQyLDIzLjI5NzEwNjMgODYuNjY2MTAzOSwyMi45MjEyMzI2IDg1Ljk1MTc3NDcsMjMuMjk3MTA2MyBMNzQuMzQ4NzQwNiwyOS45ODIxNSBDNzQuMzQ4NzQwNiwyOS45ODIxNSA3My41NzgwMDI1LDMwLjQ0NDkwMTQgNzMuNTg5Njk3LDMxLjA2MDQ4MDUgQzczLjYwMTM5MTUsMzEuNjc2MDU5NyA3My41ODk2OTcsNDQuOTY5ODcwOCA3My41ODk2OTcsNDQuOTY5ODcwOCBDNzMuNTg5Njk3LDQ0Ljk2OTg3MDggNzMuNTk5NDY1NCw0NS40Mjk1OTMyIDc0LjAyMzQ5NTEsNDUuNzI0NjQ3MiBDNzQuNDQ3Mzg3Myw0Ni4wMTk3MDExIDg2LjA2MDE4OTgsNTIuNzMzMjQ1MSA4Ni4wNjAxODk4LDUyLjczMzI0NTEgQzg2LjA2MDE4OTgsNTIuNzMzMjQ1MSA4Ni41MzgxNTIsNTMuMDM5MTc1OSA4Ny4yNTMwMzE1LDUyLjczMzI0NTEgQzg3Ljk3NDY1MjYsNTIuMzMyNzI2MiA5OS4wNzMwMzM1LDQ1Ljk0MDI1ODIgOTkuMDczMDMzNSw0NS45NDAyNTgyIEM5OS4wNzMwMzM1LDQ1Ljk0MDI1ODIgOTkuNzE2MjMyNSw0NS42NjQ4OTI5IDk5LjcyMzY2MTksNDQuNDMwNzA1NiBDOTkuNzI1NzI1Nyw0NC4wNzQ3OTU5IDk5LjcyNjU1MTIsNDIuNjkzMjg4MSA5OS43MjY2ODg3LDQwLjk1NzUyMjkgTDg2LjY2MDA1MDIsNDguODc1MjM5NCBMODYuNjYwMDUwMiw0NS44NDYyMjEgQzg2LjY2MDA1MDIsNDQuNjAyMTIwNSA4Ny42MjMxMjg5LDQzLjc4MDk4MTEgODcuNjIzMTI4OSw0My43ODA5ODExIEw5OS4xODA3NjA3LDM2LjgxNjU3OTMgQzk5LjYxNjg5NzgsMzYuMzYxMTI1MSA5OS43MDY4NzY4LDM1LjYzMTU0NDcgOTkuNzI1NDUwNSwzNS4zNTU2Mjg3IEM5OS43MjUwMzc4LDM0LjA5MDQ2MjcgOTkuNzI0NDg3NCwzMi45ODUyODQxIDk5LjcyNDA3NDcsMzIuMjg1MTY3OCBMODYuNjYwMDUwMiw0MC4yMDEyMzIxIEw4Ni42NjAwNTAyLDM3LjAzNDUzMSBDODYuNjYwMDUwMiwzNS43OTA0MzA1IDg3LjQ4NTU0NjIsMzUuMjQ0NjU2NCA4Ny40ODU1NDYyLDM1LjI0NDY1NjQgTDk3LjUxNjAxMDUsMjkuMTY5MTMzOSBaIiBpZD0iU2hhcGUtQ29weSI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"},function(t,e,n){"use strict";n(761)},function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMwIDE4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5zZWFyY2gtYnktYWxnb2xpYTwvdGl0bGU+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzYuODY4JSIgeTE9IjEzNC45MzYlIiB4Mj0iMTI5LjQzMiUiIHkyPSItMjcuNyUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjMDBBRUZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzMzNjlFNyIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNTkuMzk5LjAyMmgxMy4yOTlhMi4zNzIgMi4zNzIgMCAwIDEgMi4zNzcgMi4zNjRWMTUuNjJhMi4zNzIgMi4zNzIgMCAwIDEtMi4zNzcgMi4zNjRINTkuMzk5YTIuMzcyIDIuMzcyIDAgMCAxLTIuMzc3LTIuMzY0VjIuMzgxQTIuMzY4IDIuMzY4IDAgMCAxIDU5LjM5OS4wMjJ6IiBmaWxsPSJ1cmwoI2EpIi8+PHBhdGggZD0iTTY2LjI1NyA0LjU2Yy0yLjgxNSAwLTUuMSAyLjI3Mi01LjEgNS4wNzggMCAyLjgwNiAyLjI4NCA1LjA3MiA1LjEgNS4wNzIgMi44MTUgMCA1LjEtMi4yNzIgNS4xLTUuMDc4IDAtMi44MDYtMi4yNzktNS4wNzItNS4xLTUuMDcyem0wIDguNjUyYy0xLjk4MyAwLTMuNTkzLTEuNjAyLTMuNTkzLTMuNTc0IDAtMS45NzIgMS42MS0zLjU3NCAzLjU5My0zLjU3NCAxLjk4MyAwIDMuNTkzIDEuNjAyIDMuNTkzIDMuNTc0YTMuNTgyIDMuNTgyIDAgMCAxLTMuNTkzIDMuNTc0em0wLTYuNDE4djIuNjY0YzAgLjA3Ni4wODIuMTMxLjE1My4wOTNsMi4zNzctMS4yMjZjLjA1NS0uMDI3LjA3MS0uMDkzLjA0NC0uMTQ3YTIuOTYgMi45NiAwIDAgMC0yLjQ2NS0xLjQ4N2MtLjA1NSAwLS4xMS4wNDQtLjExLjEwNGwuMDAxLS4wMDF6bS0zLjMzLTEuOTU2bC0uMzEyLS4zMTFhLjc4My43ODMgMCAwIDAtMS4xMDYgMGwtLjM3Mi4zN2EuNzczLjc3MyAwIDAgMCAwIDEuMTAxbC4zMDcuMzA1Yy4wNDkuMDQ5LjEyMS4wMzguMTY0LS4wMTEuMTgxLS4yNDUuMzc4LS40NzkuNTk3LS42OTcuMjI1LS4yMjMuNDU1LS40Mi43MDctLjU5OS4wNTUtLjAzMy4wNi0uMTA5LjAxNi0uMTU4aC0uMDAxem01LjAwMS0uODA2di0uNjE2YS43ODEuNzgxIDAgMCAwLS43ODMtLjc3OWgtMS44MjRhLjc4Ljc4IDAgMCAwLS43ODMuNzc5di42MzJjMCAuMDcxLjA2Ni4xMi4xMzcuMTA0YTUuNzM2IDUuNzM2IDAgMCAxIDEuNTg4LS4yMjNjLjUyIDAgMS4wMzUuMDcxIDEuNTM0LjIwN2EuMTA2LjEwNiAwIDAgMCAuMTMxLS4xMDR6IiBmaWxsPSIjRkZGIi8+PHBhdGggZD0iTTEwMi4xNjIgMTMuNzYyYzAgMS40NTUtLjM3MiAyLjUxNy0xLjEyMyAzLjE5My0uNzUuNjc2LTEuODk1IDEuMDEzLTMuNDQgMS4wMTMtLjU2NCAwLTEuNzM2LS4xMDktMi42NzMtLjMxNmwuMzQ1LTEuNjg5Yy43ODMuMTYzIDEuODE5LjIwNyAyLjM2MS4yMDcuODYgMCAxLjQ3My0uMTc0IDEuODQtLjUyMy4zNjctLjM0OS41NDgtLjg2Ni41NDgtMS41NTN2LS4zNDlhNi4zNzQgNi4zNzQgMCAwIDEtLjgzOC4zMTYgNC4xNTEgNC4xNTEgMCAwIDEtMS4xOTQuMTU4IDQuNTE1IDQuNTE1IDAgMCAxLTEuNjE2LS4yNzggMy4zODUgMy4zODUgMCAwIDEtMS4yNTQtLjgxNyAzLjc0NCAzLjc0NCAwIDAgMS0uODExLTEuMzUxYy0uMTkyLS41MzktLjI5LTEuNTA0LS4yOS0yLjIxMiAwLS42NjUuMTA0LTEuNDk4LjMwNy0yLjA1NGEzLjkyNSAzLjkyNSAwIDAgMSAuOTA0LTEuNDMzIDQuMTI0IDQuMTI0IDAgMCAxIDEuNDQxLS45MjYgNS4zMSA1LjMxIDAgMCAxIDEuOTQ1LS4zNjVjLjY5NiAwIDEuMzM3LjA4NyAxLjk2MS4xOTFhMTUuODYgMTUuODYgMCAwIDEgMS41ODguMzMydjguNDU2aC0uMDAxem0tNS45NTQtNC4yMDZjMCAuODkzLjE5NyAxLjg4NS41OTIgMi4yOTkuMzk0LjQxNC45MDQuNjIxIDEuNTI4LjYyMS4zNCAwIC42NjMtLjA0OS45NjQtLjE0MmEyLjc1IDIuNzUgMCAwIDAgLjczNC0uMzMydi01LjI5YTguNTMxIDguNTMxIDAgMCAwLTEuNDEzLS4xOGMtLjc3OC0uMDIyLTEuMzY5LjI5NC0xLjc4Ni44MDEtLjQxMS41MDctLjYxOSAxLjM5NS0uNjE5IDIuMjIzem0xNi4xMiAwYzAgLjcxOS0uMTA0IDEuMjY0LS4zMTggMS44NThhNC4zODkgNC4zODkgMCAwIDEtLjkwNCAxLjUyYy0uMzg5LjQyLS44NTQuNzQ2LTEuNDAyLjk3NS0uNTQ4LjIyOS0xLjM5MS4zNi0xLjgxMy4zNi0uNDIyLS4wMDUtMS4yNi0uMTI1LTEuODAyLS4zNmE0LjA4OCA0LjA4OCAwIDAgMS0xLjM5Ny0uOTc1IDQuNDg2IDQuNDg2IDAgMCAxLS45MDktMS41MiA1LjAzNyA1LjAzNyAwIDAgMS0uMzI5LTEuODU4YzAtLjcxOS4wOTktMS40MTEuMzE4LTEuOTk5LjIxOS0uNTg4LjUyNi0xLjA5LjkyLTEuNTA5LjM5NC0uNDIuODY1LS43NDEgMS40MDItLjk3YTQuNTQ3IDQuNTQ3IDAgMCAxIDEuNzg2LS4zMzggNC42OSA0LjY5IDAgMCAxIDEuNzkxLjMzOGMuNTQ4LjIyOSAxLjAxOS41NSAxLjQwMi45Ny4zODkuNDIuNjkuOTIxLjkwOSAxLjUwOS4yMy41ODguMzQ1IDEuMjguMzQ1IDEuOTk5aC4wMDF6bS0yLjE5MS4wMDVjMC0uOTIxLS4yMDMtMS42ODktLjU5Ny0yLjIyMy0uMzk0LS41MzktLjk0OC0uODA2LTEuNjU0LS44MDYtLjcwNyAwLTEuMjYuMjY3LTEuNjU0LjgwNi0uMzk0LjUzOS0uNTg2IDEuMzAyLS41ODYgMi4yMjMgMCAuOTMyLjE5NyAxLjU1OC41OTIgMi4wOTguMzk0LjU0NS45NDguODEyIDEuNjU0LjgxMi43MDcgMCAxLjI2LS4yNzIgMS42NTQtLjgxMi4zOTQtLjU0NS41OTItMS4xNjYuNTkyLTIuMDk4aC0uMDAxem02Ljk2MiA0LjcwN2MtMy41MTEuMDE2LTMuNTExLTIuODIyLTMuNTExLTMuMjc0TDExMy41ODMuOTI2bDIuMTQyLS4zMzh2MTAuMDAzYzAgLjI1NiAwIDEuODggMS4zNzUgMS44ODV2MS43OTJoLS4wMDF6bTMuNzc0IDBoLTIuMTUzVjUuMDcybDIuMTUzLS4zMzh2OS41MzR6bS0xLjA3OS0xMC41NDJjLjcxOCAwIDEuMzA0LS41NzggMS4zMDQtMS4yOTEgMC0uNzE0LS41ODEtMS4yOTEtMS4zMDQtMS4yOTEtLjcyMyAwLTEuMzA0LjU3OC0xLjMwNCAxLjI5MSAwIC43MTQuNTg2IDEuMjkxIDEuMzA0IDEuMjkxem02LjQzMSAxLjAxM2MuNzA3IDAgMS4zMDQuMDg3IDEuNzg2LjI2Mi40ODIuMTc0Ljg3MS40MiAxLjE1Ni43My4yODUuMzExLjQ4OC43MzUuNjA4IDEuMTgyLjEyNi40NDcuMTg2LjkzNy4xODYgMS40NzZ2NS40ODFhMjUuMjQgMjUuMjQgMCAwIDEtMS40OTUuMjUxYy0uNjY4LjA5OC0xLjQxOS4xNDctMi4yNTEuMTQ3YTYuODI5IDYuODI5IDAgMCAxLTEuNTE3LS4xNTggMy4yMTMgMy4yMTMgMCAwIDEtMS4xNzgtLjUwNyAyLjQ1NSAyLjQ1NSAwIDAgMS0uNzYxLS45MDRjLS4xODEtLjM3LS4yNzQtLjg5My0uMjc0LTEuNDM4IDAtLjUyMy4xMDQtLjg1NS4zMDctMS4yMTUuMjA4LS4zNi40ODctLjY1NC44MzgtLjg4M2EzLjYwOSAzLjYwOSAwIDAgMSAxLjIyNy0uNDkgNy4wNzMgNy4wNzMgMCAwIDEgMi4yMDItLjEwM2MuMjYzLjAyNy41MzcuMDc2LjgzMy4xNDd2LS4zNDljMC0uMjQ1LS4wMjctLjQ3OS0uMDg4LS42OTdhMS40ODYgMS40ODYgMCAwIDAtLjMwNy0uNTgzYy0uMTQ4LS4xNjktLjM0LS4zLS41ODEtLjM5MmEyLjUzNiAyLjUzNiAwIDAgMC0uOTE1LS4xNjNjLS40OTMgMC0uOTQyLjA2LTEuMzUzLjEzMS0uNDExLjA3MS0uNzUuMTUzLTEuMDA4LjI0NWwtLjI1Ny0xLjc0OWMuMjY4LS4wOTMuNjY4LS4xODUgMS4xODMtLjI3OGE5LjMzNSA5LjMzNSAwIDAgMSAxLjY2LS4xNDJsLS4wMDEtLjAwMXptLjE4MSA3LjczMWMuNjU3IDAgMS4xNDUtLjAzOCAxLjQ4NC0uMTA0di0yLjE2OGE1LjA5NyA1LjA5NyAwIDAgMC0xLjk3OC0uMTA0Yy0uMjQxLjAzMy0uNDYuMDk4LS42NTIuMTkxYTEuMTY3IDEuMTY3IDAgMCAwLS40NjYuMzkyYy0uMTIxLjE2OS0uMTc1LjI2Ny0uMTc1LjUyMyAwIC41MDEuMTc1Ljc5LjQ5My45ODEuMzIzLjE5Ni43NS4yODkgMS4yOTMuMjg5aC4wMDF6TTg0LjEwOSA0Ljc5NGMuNzA3IDAgMS4zMDQuMDg3IDEuNzg2LjI2Mi40ODIuMTc0Ljg3MS40MiAxLjE1Ni43My4yOS4zMTYuNDg3LjczNS42MDggMS4xODIuMTI2LjQ0Ny4xODYuOTM3LjE4NiAxLjQ3NnY1LjQ4MWEyNS4yNCAyNS4yNCAwIDAgMS0xLjQ5NS4yNTFjLS42NjguMDk4LTEuNDE5LjE0Ny0yLjI1MS4xNDdhNi44MjkgNi44MjkgMCAwIDEtMS41MTctLjE1OCAzLjIxMyAzLjIxMyAwIDAgMS0xLjE3OC0uNTA3IDIuNDU1IDIuNDU1IDAgMCAxLS43NjEtLjkwNGMtLjE4MS0uMzctLjI3NC0uODkzLS4yNzQtMS40MzggMC0uNTIzLjEwNC0uODU1LjMwNy0xLjIxNS4yMDgtLjM2LjQ4Ny0uNjU0LjgzOC0uODgzYTMuNjA5IDMuNjA5IDAgMCAxIDEuMjI3LS40OSA3LjA3MyA3LjA3MyAwIDAgMSAyLjIwMi0uMTAzYy4yNTcuMDI3LjUzNy4wNzYuODMzLjE0N3YtLjM0OWMwLS4yNDUtLjAyNy0uNDc5LS4wODgtLjY5N2ExLjQ4NiAxLjQ4NiAwIDAgMC0uMzA3LS41ODNjLS4xNDgtLjE2OS0uMzQtLjMtLjU4MS0uMzkyYTIuNTM2IDIuNTM2IDAgMCAwLS45MTUtLjE2M2MtLjQ5MyAwLS45NDIuMDYtMS4zNTMuMTMxLS40MTEuMDcxLS43NS4xNTMtMS4wMDguMjQ1bC0uMjU3LTEuNzQ5Yy4yNjgtLjA5My42NjgtLjE4NSAxLjE4My0uMjc4YTguODkgOC44OSAwIDAgMSAxLjY2LS4xNDJsLS4wMDEtLjAwMXptLjE4NiA3LjczNmMuNjU3IDAgMS4xNDUtLjAzOCAxLjQ4NC0uMTA0di0yLjE2OGE1LjA5NyA1LjA5NyAwIDAgMC0xLjk3OC0uMTA0Yy0uMjQxLjAzMy0uNDYuMDk4LS42NTIuMTkxYTEuMTY3IDEuMTY3IDAgMCAwLS40NjYuMzkyYy0uMTIxLjE2OS0uMTc1LjI2Ny0uMTc1LjUyMyAwIC41MDEuMTc1Ljc5LjQ5My45ODEuMzE4LjE5MS43NS4yODkgMS4yOTMuMjg5aC4wMDF6bTguNjgyIDEuNzM4Yy0zLjUxMS4wMTYtMy41MTEtMi44MjItMy41MTEtMy4yNzRMODkuNDYxLjkyNmwyLjE0Mi0uMzM4djEwLjAwM2MwIC4yNTYgMCAxLjg4IDEuMzc1IDEuODg1djEuNzkyaC0uMDAxeiIgZmlsbD0iIzE4MjM1OSIvPjxwYXRoIGQ9Ik01LjAyNyAxMS4wMjVjMCAuNjk4LS4yNTIgMS4yNDYtLjc1NyAxLjY0NC0uNTA1LjM5Ny0xLjIwMS41OTYtMi4wODkuNTk2LS44ODggMC0xLjYxNS0uMTM4LTIuMTgxLS40MTR2LTEuMjE0Yy4zNTguMTY4LjczOS4zMDEgMS4xNDEuMzk3LjQwMy4wOTcuNzc4LjE0NSAxLjEyNS4xNDUuNTA4IDAgLjg4NC0uMDk3IDEuMTI1LS4yOWEuOTQ1Ljk0NSAwIDAgMCAuMzYzLS43NzkuOTc4Ljk3OCAwIDAgMC0uMzMzLS43NDdjLS4yMjItLjIwNC0uNjgtLjQ0Ni0xLjM3NS0uNzI1LS43MTYtLjI5LTEuMjIxLS42MjEtMS41MTUtLjk5NC0uMjk0LS4zNzItLjQ0LS44Mi0uNDQtMS4zNDMgMC0uNjU1LjIzMy0xLjE3MS42OTgtMS41NDcuNDY2LS4zNzYgMS4wOS0uNTY0IDEuODc1LS41NjQuNzUyIDAgMS41LjE2NSAyLjI0NS40OTRsLS40MDggMS4wNDdjLS42OTgtLjI5NC0xLjMyMS0uNDQtMS44NjktLjQ0LS40MTUgMC0uNzMuMDktLjk0NS4yNzFhLjg5Ljg5IDAgMCAwLS4zMjIuNzE3YzAgLjIwNC4wNDMuMzc5LjEyOS41MjQuMDg2LjE0NS4yMjcuMjgyLjQyNC40MTEuMTk3LjEyOS41NTEuMjk5IDEuMDYzLjUxLjU3Ny4yNC45OTkuNDY0IDEuMjY4LjY3MS4yNjkuMjA4LjQ2Ni40NDIuNTkxLjcwNC4xMjUuMjYxLjE4OC41NjkuMTg4LjkyNGwtLjAwMS4wMDJ6bTMuOTggMi4yNGMtLjkyNCAwLTEuNjQ2LS4yNjktMi4xNjctLjgwOC0uNTIxLS41MzktLjc4Mi0xLjI4MS0uNzgyLTIuMjI2IDAtLjk3LjI0Mi0xLjczMy43MjUtMi4yODguNDgzLS41NTUgMS4xNDgtLjgzMyAxLjk5My0uODMzLjc4NCAwIDEuNDA0LjIzOCAxLjg1OC43MTQuNDU1LjQ3Ni42ODIgMS4xMzIuNjgyIDEuOTY2di42ODJINy4zNTdjLjAxOC41NzcuMTc0IDEuMDIuNDY3IDEuMzI5LjI5NC4zMS43MDcuNDY1IDEuMjQxLjQ2NS4zNTEgMCAuNjc4LS4wMzMuOTgtLjA5OWE1LjEgNS4xIDAgMCAwIC45NzUtLjMzdjEuMDI2YTMuODY1IDMuODY1IDAgMCAxLS45MzUuMzEyIDUuNzIzIDUuNzIzIDAgMCAxLTEuMDguMDkxbC4wMDItLjAwMXptLS4yMzEtNS4xOTljLS40MDEgMC0uNzIyLjEyNy0uOTY0LjM4MXMtLjM4Ni42MjUtLjQzMiAxLjExMmgyLjY5NmMtLjAwNy0uNDkxLS4xMjUtLjg2Mi0uMzU0LTEuMTE1LS4yMjktLjI1Mi0uNTQ0LS4zNzktLjk0NS0uMzc5bC0uMDAxLjAwMXptNy42OTIgNS4wOTJsLS4yNTItLjgyN2gtLjA0M2MtLjI4Ni4zNjItLjU3NS42MDgtLjg2NS43MzktLjI5LjEzMS0uNjYyLjE5Ni0xLjExNy4xOTYtLjU4NCAwLTEuMDM5LS4xNTgtMS4zNjctLjQ3My0uMzI4LS4zMTUtLjQ5MS0uNzYxLS40OTEtMS4zMzcgMC0uNjEyLjIyNy0xLjA3NC42ODItMS4zODYuNDU1LS4zMTIgMS4xNDgtLjQ4MiAyLjA3OS0uNTFsMS4wMjYtLjAzMnYtLjMxN2MwLS4zOC0uMDg5LS42NjMtLjI2Ni0uODUxLS4xNzctLjE4OC0uNDUyLS4yODItLjgyNC0uMjgyLS4zMDQgMC0uNTk2LjA0NS0uODc2LjEzNGE2LjY4IDYuNjggMCAwIDAtLjgwNi4zMTdsLS40MDgtLjkwMmE0LjQxNCA0LjQxNCAwIDAgMSAxLjA1OC0uMzg0IDQuODU2IDQuODU2IDAgMCAxIDEuMDg1LS4xMzJjLjc1NiAwIDEuMzI2LjE2NSAxLjcxMS40OTQuMzg1LjMyOS41NzcuODQ3LjU3NyAxLjU1MnY0LjAwMmgtLjkwMmwtLjAwMS0uMDAxem0tMS44OC0uODU5Yy40NTggMCAuODI2LS4xMjggMS4xMDQtLjM4NC4yNzgtLjI1Ni40MTYtLjYxNS40MTYtMS4wNzd2LS41MTZsLS43NjMuMDMyYy0uNTk0LjAyMS0xLjAyNy4xMjEtMS4yOTcuMjk4cy0uNDA2LjQ0OC0uNDA2LjgxNGMwIC4yNjUuMDc5LjQ3LjIzNi42MTUuMTU4LjE0NS4zOTQuMjE4LjcwOS4yMThoLjAwMXptNy41NTctNS4xODljLjI1NCAwIC40NjQuMDE4LjYyOC4wNTRsLS4xMjQgMS4xNzZhMi4zODMgMi4zODMgMCAwIDAtLjU1OS0uMDY0Yy0uNTA1IDAtLjkxNC4xNjUtMS4yMjcuNDk0LS4zMTMuMzI5LS40Ny43NTctLjQ3IDEuMjg0djMuMTA1aC0xLjI2MlY3LjIxOGguOTg4bC4xNjcgMS4wNDdoLjA2NGMuMTk3LS4zNTQuNDU0LS42MzYuNzcxLS44NDNhMS44MyAxLjgzIDAgMCAxIDEuMDIzLS4zMTJoLjAwMXptNC4xMjUgNi4xNTVjLS44OTkgMC0xLjU4Mi0uMjYyLTIuMDQ5LS43ODctLjQ2Ny0uNTI1LS43MDEtMS4yNzctLjcwMS0yLjI1OSAwLS45OTkuMjQ0LTEuNzY3LjczMy0yLjMwNC40ODktLjUzNyAxLjE5NS0uODA2IDIuMTE5LS44MDYuNjI3IDAgMS4xOTEuMTE2IDEuNjkyLjM0OWwtLjM4MSAxLjAxNWMtLjUzNC0uMjA4LS45NzQtLjMxMi0xLjMyMS0uMzEyLTEuMDI4IDAtMS41NDIuNjgyLTEuNTQyIDIuMDQ2IDAgLjY2Ni4xMjggMS4xNjYuMzg0IDEuNTAxLjI1Ni4zMzUuNjMxLjUwMiAxLjEyNS41MDJhMy4yMyAzLjIzIDAgMCAwIDEuNTk1LS40MTl2MS4xMDFhMi41MyAyLjUzIDAgMCAxLS43MjIuMjg1IDQuMzU2IDQuMzU2IDAgMCAxLS45MzIuMDg2di4wMDJ6bTguMjc3LS4xMDdoLTEuMjY4VjkuNTA2YzAtLjQ1OC0uMDkyLS44LS4yNzctMS4wMjYtLjE4NC0uMjI2LS40NzctLjMzOC0uODc4LS4zMzgtLjUzIDAtLjkxOS4xNTgtMS4xNjguNDc1LS4yNDkuMzE3LS4zNzMuODQ4LS4zNzMgMS41OTN2Mi45NDloLTEuMjYyVjQuODAxaDEuMjYydjIuMTIyYzAgLjM0LS4wMjEuNzA0LS4wNjQgMS4wOWguMDgxYTEuNzYgMS43NiAwIDAgMSAuNzE3LS42NjZjLjMwNi0uMTU4LjY2My0uMjM2IDEuMDcyLS4yMzYgMS40MzkgMCAyLjE1OS43MjUgMi4xNTkgMi4xNzV2My44NzNsLS4wMDEtLjAwMXptNy42NDktNi4wNDhjLjc0MSAwIDEuMzE5LjI2OSAxLjczMi44MDYuNDE0LjUzNy42MiAxLjI5MS42MiAyLjI2MSAwIC45NzQtLjIwOSAxLjczMi0uNjI4IDIuMjc1LS40MTkuNTQyLTEuMDAxLjgxNC0xLjc0Ni44MTQtLjc1MiAwLTEuMzM2LS4yNy0xLjc1MS0uODExaC0uMDg2bC0uMjMxLjcwNGgtLjk0NVY0LjgwMWgxLjI2MnYxLjk4N2wtLjAyMS42NTUtLjAzMi41NTNoLjA1NGMuNDAxLS41OTEuOTkyLS44ODYgMS43NzItLjg4NnptLS4zMjggMS4wMzFjLS41MDggMC0uODc1LjE0OS0xLjA5OC40NDgtLjIyNC4yOTktLjMzOS43OTktLjM0NiAxLjUwMXYuMDg2YzAgLjcyMy4xMTUgMS4yNDcuMzQ0IDEuNTcxLjIyOS4zMjQuNjAzLjQ4NiAxLjEyMy40ODYuNDQ4IDAgLjc4Ny0uMTc3IDEuMDE4LS41MzIuMjMxLS4zNTQuMzQ2LS44NjcuMzQ2LTEuNTM2IDAtMS4zNS0uNDYyLTIuMDI1LTEuMzg2LTIuMDI1bC0uMDAxLjAwMXptMy4yNDQtLjkyNGgxLjM3NWwxLjIwOSAzLjM2OGMuMTgzLjQ4LjMwNC45MzEuMzY1IDEuMzU0aC4wNDNjLjAzMi0uMTk3LjA5MS0uNDM2LjE3Ny0uNzE3LjA4Ni0uMjgxLjU0MS0xLjYxNiAxLjM2NC00LjAwNGgxLjM2NGwtMi41NDEgNi43M2MtLjQ2MiAxLjIzNS0xLjIzMiAxLjg1My0yLjMxIDEuODUzLS4yNzkgMC0uNTUxLS4wMy0uODE2LS4wOTF2LS45OTljLjE5LjA0My40MDYuMDY0LjY1LjA2NC42MDkgMCAxLjAzNy0uMzUzIDEuMjg0LTEuMDU4bC4yMi0uNTU5LTIuMzg1LTUuOTQxaC4wMDF6IiBmaWxsPSIjMUQzNjU3Ii8+PC9nPjwvc3ZnPg=="},,,function(t,e,n){"use strict";var i=Array.prototype.slice,r=n(766),o=Object.keys,a=o?function(t){return o(t)}:n(1292),s=Object.keys;a.shim=function(){return Object.keys?function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2)||(Object.keys=function(t){return r(t)?s(i.call(t)):s(t)}):Object.keys=a,Object.keys||a},t.exports=a},function(t,e,n){"use strict";var d,p,f,g,m,v,y,i,x,r;Object.keys||(d=Object.prototype.hasOwnProperty,p=Object.prototype.toString,f=n(766),r=Object.prototype.propertyIsEnumerable,g=!r.call({toString:null},"toString"),m=r.call(function(){},"prototype"),v=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],y=function(t){var e=t.constructor;return e&&e.prototype===t},i={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},x=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!i["$"+t]&&d.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{y(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),r=function(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===p.call(t),i=f(t),r=e&&"[object String]"===p.call(t),o=[];if(!e&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var a=m&&n;if(r&&0<t.length&&!d.call(t,0))for(var s=0;s<t.length;++s)o.push(String(s));if(i&&0<t.length)for(var l=0;l<t.length;++l)o.push(String(l));else for(var u in t)a&&"prototype"===u||!d.call(t,u)||o.push(String(u));if(g)for(var c=function(t){if("undefined"==typeof window||!x)return y(t);try{return y(t)}catch(t){return!1}}(t),h=0;h<v.length;++h)c&&"constructor"===v[h]||!d.call(t,v[h])||o.push(v[h]);return o}),t.exports=r},,function(t,e,n){"use strict";var i="object"==typeof Reflect?Reflect:null,l=i&&"function"==typeof i.apply?i.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};var r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)},o=Number.isNaN||function(t){return t!=t};function a(){a.init.call(this)}t.exports=a,t.exports.once=function(s,l){return new Promise(function(t,e){function n(t){s.removeListener(l,i),e(t)}function i(){"function"==typeof s.removeListener&&s.removeListener("error",n),t([].slice.call(arguments))}var r,o,a;m(s,l,i,{once:!0}),"error"!==l&&(o=n,a={once:!0},"function"==typeof(r=s).on&&m(r,"error",o,a))})},(a.EventEmitter=a).prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function u(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function c(t){return void 0===t._maxListeners?a.defaultMaxListeners:t._maxListeners}function h(t,e,n,i){var r,o;return u(n),void 0===(r=t._events)?(r=t._events=Object.create(null),t._eventsCount=0):(void 0!==r.newListener&&(t.emit("newListener",e,n.listener||n),r=t._events),o=r[e]),void 0===o?(o=r[e]=n,++t._eventsCount):("function"==typeof o?o=r[e]=i?[n,o]:[o,n]:i?o.unshift(n):o.push(n),0<(n=c(t))&&o.length>n&&!o.warned&&(o.warned=!0,(n=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",n.emitter=t,n.type=e,n.count=o.length,n=n,console&&console.warn&&console.warn(n))),t}function d(t,e,n){t={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},e=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(t);return e.listener=n,t.wrapFn=e}function p(t,e,n){t=t._events;if(void 0===t)return[];e=t[e];return void 0===e?[]:"function"==typeof e?n?[e.listener||e]:[e]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(e):g(e,e.length)}function f(t){var e=this._events;if(void 0!==e){t=e[t];if("function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function g(t,e){for(var n=new Array(e),i=0;i<e;++i)n[i]=t[i];return n}function m(n,i,r,o){if("function"==typeof n.on)o.once?n.once(i,r):n.on(i,r);else{if("function"!=typeof n.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof n);n.addEventListener(i,function t(e){o.once&&n.removeEventListener(i,t),r(e)})}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");s=t}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var i,r="error"===t,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){if((i=0<e.length?e[0]:i)instanceof Error)throw i;r=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw r.context=i,r}t=o[t];if(void 0===t)return!1;if("function"==typeof t)l(t,this,e);else for(var a=t.length,s=g(t,a),n=0;n<a;++n)l(s[n],this,e);return!0},a.prototype.addListener=function(t,e){return h(this,t,e,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(t,e){return h(this,t,e,!0)},a.prototype.once=function(t,e){return u(e),this.on(t,d(this,t,e)),this},a.prototype.prependOnceListener=function(t,e){return u(e),this.prependListener(t,d(this,t,e)),this},a.prototype.removeListener=function(t,e){var n,i,r,o,a;if(u(e),void 0===(i=this._events))return this;if(void 0===(n=i[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(r=-1,o=n.length-1;0<=o;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,r=o;break}if(r<0)return this;0===r?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,r),1===n.length&&(i[t]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",t,a||e)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(t){var e,n=this._events;if(void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){for(var i,r=Object.keys(n),o=0;o<r.length;++o)"removeListener"!==(i=r[o])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(o=e.length-1;0<=o;o--)this.removeListener(t,e[o]);return this},a.prototype.listeners=function(t){return p(this,t,!0)},a.prototype.rawListeners=function(t){return p(this,t,!1)},a.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):f.call(t,e)},a.prototype.listenerCount=f,a.prototype.eventNames=function(){return 0<this._eventsCount?r(this._events):[]}},,,,function(t,e){function i(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}t.exports=function(t,e){e=e||{};var n=typeof t;if("string"==n&&0<t.length)return function(t){if(!(100<(t=String(t)).length)){t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(t){var e=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*e;case"days":case"day":case"d":return 864e5*e;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*e;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*e;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e;default:return}}}}(t);if("number"==n&&!1===isNaN(t))return e.long?i(e=t,864e5,"day")||i(e,36e5,"hour")||i(e,6e4,"minute")||i(e,1e3,"second")||e+" ms":function(t){if(864e5<=t)return Math.round(t/864e5)+"d";if(36e5<=t)return Math.round(t/36e5)+"h";if(6e4<=t)return Math.round(t/6e4)+"m";if(1e3<=t)return Math.round(t/1e3)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},,,function(e,t,n){!function(t){t="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};e.exports=t}.call(this,n(122))},function(t,e,n){!function(it,rt){
|
|
/*!
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
* @license Licensed under MIT license
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
* @version v4.2.8+1e68dce6
|
|
*/
|
|
t.exports=function(){"use strict";function i(t){var e=typeof t;return t!==null&&(e==="object"||e==="function")}function l(t){return typeof t==="function"}var t=void 0;if(Array.isArray)t=Array.isArray;else t=function(t){return Object.prototype.toString.call(t)==="[object Array]"};var n=t,r=0,e=void 0,o=void 0,a=function t(e,n){_[r]=e;_[r+1]=n;r+=2;if(r===2)if(o)o(b);else A()};function s(t){o=t}function u(t){a=t}var c=typeof window!=="undefined"?window:undefined,h=c||{},d=h.MutationObserver||h.WebKitMutationObserver,p=typeof self==="undefined"&&typeof it!=="undefined"&&{}.toString.call(it)==="[object process]",f=typeof Uint8ClampedArray!=="undefined"&&typeof importScripts!=="undefined"&&typeof MessageChannel!=="undefined";function g(){return function(){return it.nextTick(b)}}function m(){if(typeof e!=="undefined")return function(){e(b)};return x()}function v(){var t=0;var e=new d(b);var n=document.createTextNode("");e.observe(n,{characterData:true});return function(){n.data=t=++t%2}}function y(){var t=new MessageChannel;t.port1.onmessage=b;return function(){return t.port2.postMessage(0)}}function x(){var t=setTimeout;return function(){return t(b,1)}}var _=new Array(1e3);function b(){for(var t=0;t<r;t+=2){var e=_[t];var n=_[t+1];e(n);_[t]=undefined;_[t+1]=undefined}r=0}function S(){try{var t=Function("return this")().require("vertx");e=t.runOnLoop||t.runOnContext;return m()}catch(t){return x()}}var A=void 0;if(p)A=g();else if(d)A=v();else if(f)A=y();else if(c===undefined&&"function"==="function")A=S();else A=x();function M(t,e){var n=this;var i=new this.constructor(T);if(i[C]===undefined)U(i);var r=n._state;if(r){var o=arguments[r-1];a(function(){return Y(r,i,o,n._result)})}else V(n,i,t,e);return i}function w(t){var e=this;if(t&&typeof t==="object"&&t.constructor===e)return t;var n=new e(T);z(n,t);return n}var C=Math.random().toString(36).substring(2);function T(){}var I=void 0,D=1,L=2;function k(){return new TypeError("You cannot resolve a promise with itself")}function N(){return new TypeError("A promises callback cannot return that same promise.")}function O(t,e,n,i){try{t.call(e,n,i)}catch(t){return t}}function P(t,i,r){a(function(e){var n=false;var t=O(r,i,function(t){if(n)return;n=true;if(i!==t)z(e,t);else j(e,t)},function(t){if(n)return;n=true;B(e,t)},"Settle: "+(e._label||" unknown promise"));if(!n&&t){n=true;B(e,t)}},t)}function E(e,t){if(t._state===D)j(e,t._result);else if(t._state===L)B(e,t._result);else V(t,undefined,function(t){return z(e,t)},function(t){return B(e,t)})}function H(t,e,n){if(e.constructor===t.constructor&&n===M&&e.constructor.resolve===w)E(t,e);else if(n===undefined)j(t,e);else if(l(n))P(t,e,n);else j(t,e)}function z(e,t){if(e===t)B(e,k());else if(i(t)){var n=void 0;try{n=t.then}catch(t){B(e,t);return}H(e,t,n)}else j(e,t)}function R(t){if(t._onerror)t._onerror(t._result);F(t)}function j(t,e){if(t._state!==I)return;t._result=e;t._state=D;if(t._subscribers.length!==0)a(F,t)}function B(t,e){if(t._state!==I)return;t._state=L;t._result=e;a(R,t)}function V(t,e,n,i){var r=t._subscribers;var o=r.length;t._onerror=null;r[o]=e;r[o+D]=n;r[o+L]=i;if(o===0&&t._state)a(F,t)}function F(t){var e=t._subscribers;var n=t._state;if(e.length===0)return;var i=void 0,r=void 0,o=t._result;for(var a=0;a<e.length;a+=3){i=e[a];r=e[a+n];if(i)Y(n,i,r,o);else r(o)}t._subscribers.length=0}function Y(t,e,n,i){var r=l(n),o=void 0,a=void 0,s=true;if(r){try{o=n(i)}catch(t){s=false;a=t}if(e===o){B(e,N());return}}else o=i;if(e._state!==I);else if(r&&s)z(e,o);else if(s===false)B(e,a);else if(t===D)j(e,o);else if(t===L)B(e,o)}function X(n,t){try{t(function t(e){z(n,e)},function t(e){B(n,e)})}catch(t){B(n,t)}}var W=0;function G(){return W++}function U(t){t[C]=W++;t._state=undefined;t._result=undefined;t._subscribers=[]}function Z(){return new Error("Array Methods must be provided an Array")}var $=function(){function t(t,e){this._instanceConstructor=t;this.promise=new t(T);if(!this.promise[C])U(this.promise);if(n(e)){this.length=e.length;this._remaining=e.length;this._result=new Array(this.length);if(this.length===0)j(this.promise,this._result);else{this.length=this.length||0;this._enumerate(e);if(this._remaining===0)j(this.promise,this._result)}}else B(this.promise,Z())}t.prototype._enumerate=function t(e){for(var n=0;this._state===I&&n<e.length;n++)this._eachEntry(e[n],n)};t.prototype._eachEntry=function t(e,n){var i=this._instanceConstructor;var r=i.resolve;if(r===w){var o=void 0;var a=void 0;var s=false;try{o=e.then}catch(t){s=true;a=t}if(o===M&&e._state!==I)this._settledAt(e._state,n,e._result);else if(typeof o!=="function"){this._remaining--;this._result[n]=e}else if(i===et){var l=new i(T);if(s)B(l,a);else H(l,e,o);this._willSettleAt(l,n)}else this._willSettleAt(new i(function(t){return t(e)}),n)}else this._willSettleAt(r(e),n)};t.prototype._settledAt=function t(e,n,i){var r=this.promise;if(r._state===I){this._remaining--;if(e===L)B(r,i);else this._result[n]=i}if(this._remaining===0)j(r,this._result)};t.prototype._willSettleAt=function t(e,n){var i=this;V(e,undefined,function(t){return i._settledAt(D,n,t)},function(t){return i._settledAt(L,n,t)})};return t}();function q(t){return new $(this,t).promise}function Q(r){var o=this;if(!n(r))return new o(function(t,e){return e(new TypeError("You must pass an array to race."))});else return new o(function(t,e){var n=r.length;for(var i=0;i<n;i++)o.resolve(r[i]).then(t,e)})}function K(t){var e=this;var n=new e(T);B(n,t);return n}function J(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function tt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var et=function(){function e(t){this[C]=G();this._result=this._state=undefined;this._subscribers=[];if(T!==t){typeof t!=="function"&&J();this instanceof e?X(this,t):tt()}}e.prototype.catch=function t(e){return this.then(null,e)};e.prototype.finally=function t(e){var n=this;var i=n.constructor;if(l(e))return n.then(function(t){return i.resolve(e()).then(function(){return t})},function(t){return i.resolve(e()).then(function(){throw t})});return n.then(e,e)};return e}();function nt(){var t=void 0;if(typeof rt!=="undefined")t=rt;else if(typeof self!=="undefined")t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if(n==="[object Promise]"&&!e.cast)return}t.Promise=et}return et.prototype.then=M,et.all=q,et.race=Q,et.resolve=w,et.reject=K,et._setScheduler=s,et._setAsap=u,et._asap=a,et.polyfill=nt,et.Promise=et}()}.call(this,n(379),n(122))},,,,function(t,e,n){"use strict";e.decode=e.parse=n(1307),e.encode=e.stringify=n(768)},function(t,e,n){"use strict";t.exports=function(t,e,n,i){n=n||"=";var r={};if("string"!=typeof t||0===t.length)return r;var o=/\+/g;t=t.split(e=e||"&");e=1e3;i&&"number"==typeof i.maxKeys&&(e=i.maxKeys);var a=t.length;0<e&&e<a&&(a=e);for(var s=0;s<a;++s){var l,u=t[s].replace(o,"%20"),c=u.indexOf(n),h=0<=c?(l=u.substr(0,c),u.substr(c+1)):(l=u,""),d=decodeURIComponent(l),c=decodeURIComponent(h);u=r,h=d,Object.prototype.hasOwnProperty.call(u,h)?p(r[d])?r[d].push(c):r[d]=[r[d],c]:r[d]=c}return r};var p=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},,function(t,e,n){"use strict";n(769)},function(t,e,n){"use strict";n(770)},function(t,e,n){"use strict";n(771)},function(t,e,n){"use strict";n(772)},function(t,e,n){"use strict";n(773)},function(t,e,n){"use strict";n(774)},function(t,e,n){},function(t,e,n){},function(t,e,n){},,function(t,e,n){"use strict";n.r(e);var i={data:function(){return{input:"Hello Element UI!"}}},n=n(0),i=Object(n.a)(i,function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{staticStyle:{margin:"20px"}},[t("tis-input",{attrs:{placeholder:"请输入内容"},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}})],1)},[],!1,null,null,null);e.default=i.exports},function(t,e,n){"use strict";n.r(e);var i=[function(){var t=this,e=t.$createElement,e=t._self._c||e;return e("section",{staticClass:"content element-doc"},[e("h2",{attrs:{id:"tis-app"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#tis-app"}},[t._v("¶")]),t._v(" tis-app")]),e("h3",{attrs:{id:"shi-me-shi-tis-app"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#shi-me-shi-tis-app"}},[t._v("¶")]),t._v(" 什么是tis-app")]),e("p",[t._v("tis-app 是一个使用 Vue.js 开发所有tis应用的框架,开发者使用此框架编写代码,构建打包,即可生成符合tis宿主框架规范的应用,可嵌入运行在tis宿主框架中.")]),e("h3",{attrs:{id:"kuai-su-kai-shi"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#kuai-su-kai-shi"}},[t._v("¶")]),t._v(" 快速开始")]),e("h4",{attrs:{id:"huan-jing-zhun-bei"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#huan-jing-zhun-bei"}},[t._v("¶")]),t._v(" 环境准备")]),e("p",[t._v("tis-app项目基于 node,并确保 node 版本是 10.13 或以上。推荐使用 nvm 来管理 node 版本,这样不仅可以很方便地切换 node 版本,而且全局安装时候也不用加 sudo 了。")]),e("p",[t._v("$ node -v\nv10.13.0")]),e("p",[t._v("推荐使用 yarn 管理 npm 依赖,并使用国内源")]),e("h4",{attrs:{id:"guo-nei-yuan"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#guo-nei-yuan"}},[t._v("¶")]),t._v(" 国内源")]),e("p",[t._v("npm i yarn tyarn -g")]),e("h4",{attrs:{id:"hou-mian-wen-dang-li-de-yarn-huan-cheng-tyarn"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#hou-mian-wen-dang-li-de-yarn-huan-cheng-tyarn"}},[t._v("¶")]),t._v(" 后面文档里的 yarn 换成 tyarn")]),e("p",[t._v("tyarn -v")]),e("p",[t._v("下载模版")]),e("p",[t._v("请下载项目模版zip包,然后解压后,会看到tis-app文件夹,请以此目录作为项目根目录,当然你可以根据自己的需求修改文件夹名称。\n安装依赖")]),e("h4",{attrs:{id:"qie-huan-dao-xiang-mu-gen-mu-lu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#qie-huan-dao-xiang-mu-gen-mu-lu"}},[t._v("¶")]),t._v(" 切换到项目根目录")]),e("p",[t._v("cd tis-app/")]),e("h4",{attrs:{id:"an-zhuang-yi-lai"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#an-zhuang-yi-lai"}},[t._v("¶")]),t._v(" 安装依赖")]),e("p",[t._v("yarn")]),e("p",[t._v("启动项目\nyarn serve")]),e("p",[t._v("执行完上方命令后,会看到类似如下结果:")]),e("p",[t._v("yarn run v1.22.10\n$ vue-cli-service serve\nINFO Starting development server...\n98% after emitting CopyPlugin")]),e("p",[t._v("DONE Compiled successfully in 968ms 10:49:43")]),e("p",[t._v("App running at:")]),e("ul",[e("li",[t._v("Local: http://localhost:7000/")]),e("li",[t._v("Network: http://192.168.1.5:7000/")])]),e("p",[t._v("Note that the development build is not optimized.\nTo create a production build, run yarn build.")]),e("p",[t._v("在浏览器里打开 http://localhost:7000/,能看到以下界面,")]),e("p",[e("img",{attrs:{src:n(746),alt:"img"}})]),e("h4",{attrs:{id:"kuang-jia-zhong-yun-xing"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#kuang-jia-zhong-yun-xing"}},[t._v("¶")]),t._v(" 框架中运行")]),e("p",[t._v("tis-app是可以独立运行的,如上方介绍,我们已经成功在浏览器里打开 http://localhost:7000/。但通常我们需要让应用运行在框架中。")]),e("p",[t._v("首先在浏览器中,我们打开发版tis框架测试地址 http://tis-dev.com,如下图")]),e("p",[e("img",{attrs:{src:n(747),alt:"img"}})]),e("p",[t._v("然后点击左上角绿色Devtool按钮,并填入如下信息:")]),e("ul",[e("li",[t._v("应用唯一id:应用的唯一标识符,可以由英文字母、阿拉伯数字、下划线构成,长度在1-32个字符之间,这个字段在界面不可见,只用于程序内部区分不同应用。可以把它想象成人的身份证号。")]),e("li",[t._v("应用名称:应用显示的名称,可以由任意字符组成,长度在1到16个字符之间,用于在界面中显示,可以把它想象成人的姓名。")]),e("li",[t._v("应用入口地址:访问应用地址的URL,本地开发时,是yarn serve之后得到的地址,例如 http://localhost:7100")]),e("li",[t._v("应用图标地址:地应用图标地址URL,一般推荐将图标放到public/目录下,并且命名为icon.png, 这样本地开发时,可以直接通过 http://localhost:7000/icon.png 访问到。")])]),e("p",[e("img",{attrs:{src:n(748),alt:"img"}})]),e("p",[t._v("填写完成后,保存确认,再次点击左上角Devtool,关闭Devtool窗口,然后点击左侧菜单栏第一个,打开所有应用列表窗口:")]),e("p",[e("img",{attrs:{src:n(749),alt:"img"}})]),e("p",[t._v("可以看到刚刚添加的本地应用在最后一个:")]),e("p",[e("img",{attrs:{src:n(750),alt:"img"}})]),e("p",[t._v("我们点击应用图标,即可在框架中打开本地开发应用:")]),e("p",[e("img",{attrs:{src:n(751),alt:"img"}})]),e("h4",{attrs:{id:"re-chong-zai-hot-reload"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#re-chong-zai-hot-reload"}},[t._v("¶")]),t._v(" 热重载 (Hot reload)")]),e("p",[t._v("tis-app的热重载功能可帮助您在修改代码保存后,无需重新启动项目,无需刷新浏览器的情况下,浏览器界面中即可实时显示修改后的结果。")]),e("p",[t._v("实时预览\n一起试一下,打开编辑器,在src/App.vue文件中,插入一行标签代码,然后保存:")]),e("p",[e("img",{attrs:{src:n(752),alt:"img"}})]),e("p",[t._v("然后返回浏览器界面,即可实时看到修改后的结果:")]),e("p",[e("img",{attrs:{src:n(753),alt:"img"}})]),e("h4",{attrs:{id:"zhuang-tai-bao-liu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#zhuang-tai-bao-liu"}},[t._v("¶")]),t._v(" 状态保留")]),e("p",[t._v("“热重载”不只是当你修改文件的时候简单重新加载页面。启用热重载后,当你修改 .vue 文件时,该组件的所有实例将在不刷新页面的情况下被替换。它甚至保持了应用程序和被替换组件的当前状态!当你调整模版或者修改样式时,这极大地提高了开发体验。")]),e("p",[t._v('再来试试,我们在浏览器中,点击“计数器+1”的按钮8次,然后界面中已变成:"我的计数器数值:8"字样:')]),e("p",[e("img",{attrs:{src:n(754),alt:"img"}})]),e("p",[t._v("此时再去修改下src/App.vue文件,保存")]),e("p",[e("img",{attrs:{src:n(755),alt:"img"}})]),e("p",[t._v('返回浏览器,可以看到,新加的一段文本已经显示出来了,而且计数器状态还是显示的为"8",说明我们应用状态并没有因为代码的修改,而导致被清空,这极大的提高了开发效率。')]),e("p",[e("img",{attrs:{src:n(756),alt:"img"}})]),e("h4",{attrs:{id:"cuo-wu-ti-shi"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#cuo-wu-ti-shi"}},[t._v("¶")]),t._v(" 错误提示")]),e("p",[t._v("我们在编写代码中,难免会失误出错,但是不用担心,代码出错后,会有友好的界面提示出错在哪里了")]),e("p",[t._v("试一下,我们故意在代码中删除h1的闭合标签")]),e("p",[e("img",{attrs:{src:n(757),alt:"img"}})]),e("p",[t._v("保存代码后,返回浏览器可以即可立即看到出错提示:")]),e("p",[e("img",{attrs:{src:n(758),alt:"img"}})]),e("h4",{attrs:{id:"bu-shu-fa-bu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#bu-shu-fa-bu"}},[t._v("¶")]),t._v(" 部署发布")]),e("p",[t._v("本地构建\nyarn build")]),e("p",[t._v("执行完上方命令后,会看到类似如下结果:\nyarn run v1.22.10\n$ vue-cli-service build")]),e("p",[t._v("⠏ Building for production...")]),e("p",[t._v("DONE Compiled successfully in 2414ms 11:02:18")]),e("p",[t._v("File Size Gzipped")]),e("p",[t._v("dist/static/js/chunk-vendors.113302c8.js 96.53 KiB 34.33 KiB\ndist/static/js/app.eb1f39ab.js 5.00 KiB 1.98 KiB\ndist/static/css/app.c1528f44.css 0.15 KiB 0.14 KiB")]),e("p",[t._v("Images and other types of assets omitted.")]),e("p",[t._v("DONE Build complete. The dist directory is ready to be deployed.\nINFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html")]),e("p",[t._v("✨ Done in 4.98s.")]),e("p",[t._v("构建产物默认生成到 ./dist 下,然后通过 tree 命令查看,\ntree ./dist")]),e("p",[t._v("执行完上方命令后,会看到类似如下结果:")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v("dist\n├── favicon.ico\n├── index.html\n└── static\n ├── css\n │ └── app.c1528f44.css\n └── js\n ├── app.eb1f39ab.js\n ├── app.eb1f39ab.js.map\n ├── chunk-vendors.113302c8.js\n └── chunk-vendors.113302c8.js.map\n\n3 directories, 7 files\n")])]),e("p",[t._v("本地验证\n发布之前,可以通过 serve 做本地验证,\nyarn global add serve\nserve ./dist")]),e("p",[t._v("执行完上方命令后,会看到类似如下结果:")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v(" \n │ Serving! │\n │ │\n │ - Local: http://localhost:5000 │\n │ - On Your Network: http://192.168.1.5:5000 │\n │ │\n │ Copied local address to clipboard! │\n")])]),e("p",[t._v("访问 http://localhost:5000,正常情况下应该是和执行 yarn start 时是一致的。")]),e("p",[t._v("线上部署\n本地验证完,就可以部署了。你需要把 dist 目录部署到服务器上。")]),e("h3",{attrs:{id:"mu-lu-jie-gou"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#mu-lu-jie-gou"}},[t._v("¶")]),t._v(" 目录结构")]),e("p",[t._v("一个基础的 tis-app 项目大致是这样的,")]),e("pre",[e("code",{staticClass:"language-bash"},[t._v(".\n├── babel.config.js\n├── dist\n├── package.json\n├── public\n│ ├── favicon.ico\n│ ├── icon.png\n│ └── index.html\n├── src\n│ ├── App.vue\n│ ├── assets\n│ │ └── logo.png\n│ ├── components\n│ │ └── HelloWorld.vue\n│ ├── main.js\n│ └── tis\n│ └── index.js\n├── vue.config.js\n")])]),e("h4",{attrs:{id:"gen-mu-lu"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#gen-mu-lu"}},[t._v("¶")]),t._v(" 根目录")]),e("p",[t._v("package.json\n项目基本配置信息,项目开发所需要模块,版本,需要哪些npm包来参与到项目中来,yarn命令根据这个配置文件增减来管理本地的安装包。")]),e("pre",[e("code",{staticClass:"language-json"},[t._v('{\n "name": "tis-app",\n "version": "0.1.0",\n "private": true,\n "scripts": {\n // 本地开发运行脚本命令\n "serve": "vue-cli-service serve",\n // 打包构建命令\n "build": "vue-cli-service build",\n // lint检查命令\n "lint": "vue-cli-service lint"\n },\n // 项目生产环境依赖的第三方包\n "dependencies": {\n "core-js": "^3.6.5",\n "vue": "^2.6.11"\n },\n // 项目开发环境依赖的第三方包\n "devDependencies": {\n "@vue/cli-plugin-babel": "~4.5.0",\n "@vue/cli-plugin-eslint": "~4.5.0",\n "@vue/cli-service": "~4.5.0",\n "@vue/eslint-config-prettier": "^6.0.0",\n "babel-eslint": "^10.1.0",\n "eslint": "^6.7.2",\n "eslint-plugin-prettier": "^3.1.3",\n "eslint-plugin-vue": "^6.2.2",\n "lint-staged": "^9.5.0",\n "prettier": "^1.19.1",\n "sass": "^1.26.5",\n "sass-loader": "^8.0.2",\n "vue-template-compiler": "^2.6.11"\n },\n // git的一些hook\n "gitHooks": {\n // 每次commit前,会自动进行代码格式化检查\n "pre-commit": "lint-staged"\n },\n "lint-staged": {\n "*.{js,jsx,vue}": [\n "vue-cli-service lint",\n "git add"\n ]\n }\n}\n')])]),e("p",[t._v("vue.config.js\nvue.config.js 是一个配置文件,用于自定义webpack,devServer,outputDir,assetsDir等信息的配置,一般不需要修改,如有高级自定义需求,可参见https://cli.vuejs.org/zh/config/#vue-config-js 进行配置修改。\nbabel.config.js\n可以通过 babel.config.js 进行配置Babel,一般不需要修改,如有高级自定义需求,可参见https://www.babeljs.cn/docs/configuration进行配置修改。\n.eslintrc.js\n可以通过 .eslintrc.js 进行配置ESlint,一般不需要修改,如有高级自定义需求,可参见https://cn.eslint.org/docs/user-guide/configuring进行配置修改。\n/dist 目录\n存放打包构建后的产物,无需手动维护,每次打包构建后,这个目录的内容都会重新生成。\n/public 目录\n存放各种静态资源,例如:图片,音频,视频等,这个目录下的所有内容,在打包构建时,会自动被复制到/dist的根目录。\nindex.html\n生成项目的入口文件,webpack打包的js,css也会自动注入到该页面中,一般无需修改,使用默认模版即可。\n/src 目录\n项目源码目录,你的大多数编码工作都是在该目录下进行。\nsrc/assets/\n用于存放各种静态文件,如图片,css\nsrc/compnents/\n用于存放我们的Vue组件\nsrc/tis/\n存放tis核心模块相关的所有内容,请勿擅自修改。\nsrc/App.vue\n主vue组件,引入其他组件,App.vue是项目的主组件。\nsrc/main.js\n项目入口文件,可以理解为项目运行起来,是从整个文件的第一行代码开始执行,作用是初始化tis应用,添加应用生命周期函数钩子,也可以在此文件中引用组件库等。")]),e("p",[t._v('下方是项目模版中默认的main.js文件示例:\nimport tis, { setup } from "./tis";\nimport App from "./App.vue";')]),e("p",[t._v("// 定义应用生命周期函数")]),e("p",[t._v("// bootstrap 只会在应用初始化的时候调用一次,下次应用重新进入时会直接调用 mount 钩子,不会再重复触发 bootstrap。通常我们可以在这里做一些全局变量的初始化,比如不会在 unmount 阶段被销毁的应用级别的缓存等。\nfunction bootstrap(params) {\nconsole.log("),e("code",[t._v("[App: ${tis.appId}] boostrap")]),t._v(", params);\n}\n// 应用在框架中被打开时触发,此时应用会初始化渲染构建自己的DOM树。\nfunction mount(params) {\nconsole.log("),e("code",[t._v("[App: ${tis.appId}] mount")]),t._v(", params);\n}\n// 应用在框架中从隐藏态(后台)切换到显示态(前台)时触发。\nfunction show(params) {\nconsole.log("),e("code",[t._v("[App: ${tis.appId}] show")]),t._v(", params);\n}\n// 应用在框架中被隐藏时触发,此时应用依然在框架中后台运行,而且DOM树没有被销毁。\nfunction hide(params) {\nconsole.log("),e("code",[t._v("[App: ${tis.appId}] hide")]),t._v(", params);\n}\n// 应用在框架中被关闭时触发,此时应用DOM树已被卸载销毁。\nfunction unmount(params) {\nconsole.log("),e("code",[t._v("[App: ${tis.appId}] unmount")]),t._v(", params);\n}")]),e("p",[t._v("// 必须要执行setup方法\n// 第一个参数是入口vue组件\n// 第二个参数是一个对象,用于传入定义好的生命周期函数钩子\nsetup(App, {\nbootstrap,\nmount,\nhide,\nshow,\nunmount\n});")]),e("p",[t._v('// 注意,下方这句代码是为主框架使用,必须保留,请勿删除\nexport * from "./tis";')]),e("h3",{attrs:{id:"sheng-ming-zhou-qi"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#sheng-ming-zhou-qi"}},[t._v("¶")]),t._v(" 生命周期")]),e("p",[t._v("tis-app拥有完整的生命周期,具体如下,应用生命周期可在src/main.js中定义,然后通过 setup 函数入参传入。\nbootstrap\nbootstrap 只会在应用初始化的时候调用一次,下次应用重新进入时会直接调用 mount 钩子,不会再重复触发 bootstrap。通常我们可以在这里做一些全局变量的初始化,比如不会在 unmount 阶段被销毁的应用级别的缓存等。\nmount\n应用在框架中被打开时触发,此时应用会初始化渲染构建自己的DOM树。\nshow\n应用在框架中从隐藏态(后台)切换到显示态(前台)时触发\nhide\n应用在框架中被隐藏时触发,此时应用依然在框架中后台运行,而且DOM树没有被销毁。\nunmount\n应用在框架中被关闭时触发,此时应用DOM树已被卸载销毁。")]),e("h3",{attrs:{id:"tis-de-api"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#tis-de-api"}},[t._v("¶")]),t._v(" $tis的API")]),e("p",[t._v("如果应用是在tis宿主框架中运行(非独立模式运行),则可以通过Vue.prototype.$tis访问到所有tis的API。(如果是在Vue组件中,可以直接通过this.$tis访问到),具体各个API介绍如下:")]),e("h4",{attrs:{id:"quan-ju-bian-liang"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#quan-ju-bian-liang"}},[t._v("¶")]),t._v(" 全局变量")]),e("p",[t._v("全局变量是一种key-value的存储模式(key为字符串,value是任意数据类型),所有应用均可读取和修改。\nAPI\ngetGlobalState( key ): value")]),e("ul",[e("li",[t._v("参数:\n"),e("ul",[e("li",[t._v("{string} key")])])]),e("li",[t._v("返回值:\n"),e("ul",[e("li",[t._v("{any} value")])])]),e("li",[t._v("用法:\n,获取全局变量key的值\nsetGlobalState( key, value )")]),e("li",[t._v("参数:\n"),e("ul",[e("li",[t._v("{string} key")]),e("li",[t._v("{any} value")])])]),e("li",[t._v("用法:\n,设置全局变量key的值\n使用示例")])]),e("pre",[e("code",{staticClass:"language-html"},[t._v('<template>\n <div>\n <h2>读取/设置 全局变量示例</h2>\n <div>请在输入框里填写全局变量key: <input v-model="key" /></div>\n <br />\n <button @click="onSetValue">设置全局变量</button>\n <button @click="onGetValue">获取全局变量</button>\n </div>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n key: "some_key",\n };\n },\n methods: {\n onSetValue() {\n const value = prompt(`请输入全局变量${this.key}的值:`);\n this.$tis.setGlobalState(this.key, value);\n },\n onGetValue() {\n const value = this.$tis.getGlobalState(this.key);\n alert(`全局变量${this.key}的值为:${value}`);\n },\n },\n};\n<\/script>\n')])]),e("h4",{attrs:{id:"ying-yong-xiang-guan"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#ying-yong-xiang-guan"}},[t._v("¶")]),t._v(" 应用相关")]),e("p",[t._v("通过getApps, openApp, getCurrentApp, closeCurrentApp,可以获取/打开/关闭 tis宿主框架中的应用。\nAPI\ngetApps(): apps")]),e("ul",[e("li",[t._v("返回值:\n"),e("ul",[e("li",[t._v("Array<应用对象> apps")]),e("li",[t._v("{应用对象} app\n"),e("ul",[e("li",[t._v("{string} id: 应用唯一ID")]),e("li",[t._v("{string} name:应用显示名称")]),e("li",[t._v("{string} icon:应用图标URL")]),e("li",[t._v("{string} entry:应用入口URL(即应用独立访问的URL)")]),e("li",[t._v("{boolean} default:是否默认应用")]),e("li",[t._v("{boolean} opened:当前是否已打开在前台")])])])])]),e("li",[t._v("用法:\n获取所有已注册在tis宿主框架中的应用列表")])]),e("p",[t._v("openApp( appId, params )")]),e("ul",[e("li",[t._v("返回值:\n"),e("ul",[e("li",[t._v("{string} appid 应用id")]),e("li",[t._v("{any} params 传入参数,应用可在show生命周期接收到的该参数")])])]),e("li",[t._v("用法:\n根据应用唯一ID,将某应用在宿主框架打开")])]),e("p",[t._v("getCurrentApp(): app")]),e("ul",[e("li",[t._v("返回值:\n"),e("ul",[e("li",[t._v("{应用对象} app\n"),e("ul",[e("li",[t._v("{string} id: 应用唯一ID")]),e("li",[t._v("{string} name:应用显示名称")]),e("li",[t._v("{string} icon:应用图标URL")]),e("li",[t._v("{string} entry:应用入口URL(即应用独立访问的URL)")]),e("li",[t._v("{boolean} default:是否默认应用")]),e("li",[t._v("{boolean} opened:当前是否已打开在前台(此时一定是true)")])])])])]),e("li",[t._v("用法:\n获取所有已注册在tis宿主框架中的应用列表")])]),e("p",[t._v("closeCurrentApp()")]),e("ul",[e("li",[t._v("用法:\n关闭当前前台打开的应用")])]),e("h4",{attrs:{id:"fu-chuang-xiang-guan"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fu-chuang-xiang-guan"}},[t._v("¶")]),t._v(" 浮窗相关")]),e("p",[t._v("通过getApps, openApp, getCurrentApp, closeCurrentApp,可以获取/打开/关闭 tis宿主框架中的应用。\nAPI\ngetWidgets(): widgets")]),e("ul",[e("li",[t._v("返回值:\n"),e("ul",[e("li",[t._v("Array<浮窗对象> widgets")]),e("li",[t._v("{浮窗对象} widget\n"),e("ul",[e("li",[t._v("{string} id: 浮窗唯一ID")]),e("li",[t._v("{string} name:浮窗显示名称")]),e("li",[t._v("{string} icon:浮窗图标URL")]),e("li",[t._v("{Vue Component} comp:浮窗Vue组件对象")]),e("li",[t._v("{boolean} opened:当前是否已打开")])])])])]),e("li",[t._v("用法:\n获取所有已注册在tis宿主框架中的浮窗列表\ngetOpenedWidgets : widgets")]),e("li",[t._v("返回值:\n"),e("ul",[e("li",[t._v("Array<浮窗对象> widgets")]),e("li",[t._v("{浮窗对象} widget\n"),e("ul",[e("li",[t._v("{string} id: 浮窗唯一ID")]),e("li",[t._v("{string} name:浮窗显示名称")]),e("li",[t._v("{string} icon:浮窗图标URL")]),e("li",[t._v("{Vue Component} comp:浮窗Vue组件对象")]),e("li",[t._v("{boolean} opened:当前是否已打开")])])])])]),e("li",[t._v("用法:\n获取所有在tis宿主框架中,当前已打开的浮窗列表\nopenWidget( widgetId, params )")]),e("li",[t._v("返回值:\n"),e("ul",[e("li",[t._v("{string} widgetId浮窗id")]),e("li",[t._v("{any} params 传入的参数,会当作浮窗的props传入给浮窗组件")])])]),e("li",[t._v("用法:\n根据浮窗唯一ID,打开显示某浮窗\ncloseWidget( widgetId )")]),e("li",[t._v("用法:\n根据浮窗唯一ID,在tis宿主框架中,关闭某浮窗")])]),e("h4",{attrs:{id:"tong-xin-mo-kuai"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#tong-xin-mo-kuai"}},[t._v("¶")]),t._v(" 通信模块")]),e("p",[t._v("tis提供一套完整的“发布-订阅模式”的事件通信机制,而且提供“系统级”,“应用级”, 自定义事件的区分,应用/框架之间可借助该模块,进行相互通信。\nAPI\n$emit( eventName, […args] )")]),e("ul",[e("li",[t._v("参数:\n"),e("ul",[e("li",[t._v("{string} eventName 自定义事件名")]),e("li",[t._v("[...args]\n触发事件。附加参数都会传给监听器回调。")])])]),e("li",[t._v("示例:\n// 只配合一个事件名使用 $emit:\nthis.$emit('welcome')\n// 配合额外的参数使用 $emit:\nthis.$emit('welcome', ['Mike','Alice'])")])]),e("p",[t._v("$on( eventName, { appIds, system }, callback )")]),e("ul",[e("li",[t._v("参数:\n"),e("ul",[e("li",[t._v("{string} eventName 监听的自定义事件名")]),e("li",[t._v("{Array<string>} appIds 每个应用都可以发出同名自定义事件,因此我们需要传入监听哪些app发出的该事件")]),e("li",[t._v("{boolean} system tis宿主框架也可以和应用一样,发出同名自定义事件,如果想同时监听tis宿主发出的该事件,请将该字段设置为true,")]),e("li",[t._v("{Function} callback")])])]),e("li",[t._v("用法:\n监听事件总线上的自定义事件,而且可限定事件触发者的应用id以及是否为宿主框架发出,回调函数会接收所有传入事件触发函数的额外参数以及发出者信息")]),e("li",[t._v('示例:\n// 监听应用id为app_1,app_2以及tis宿主框架发出的名为"message"的事件')])]),e("p",[t._v("this.$on('message', {\nappIds: ['app_1', 'app_2'],\nsystem: true\n}, function(payload, {\nappId,\nsystem\n}) {\nif (system) {\nconsole.log('收到了系统级事件(由宿主框架发出)')\n} else {\nconsole.log("),e("code",[t._v("收到了应用级事件(由应用发出),发送事件方的appId为: ${appId}")]),t._v(")\n}\nconsole.log('事件参数为', payload)\n})")]),e("p",[t._v("$off( eventName, { appIds, system }, callback )")]),e("ul",[e("li",[t._v("参数:\n"),e("ul",[e("li",[t._v("{string} eventName 取消监听的自定义事件名")]),e("li",[t._v("{Array<string>} appIds 每个应用都可以发出同名自定义事件,因此我们需要传入取消监听哪些app发出的该事件")]),e("li",[t._v("{boolean} system tis宿主框架也可以和应用一样,发出同名自定义事件,如果想同时取消监听tis宿主发出的该事件,请将该字段设置为true,")]),e("li",[t._v("{Function} callback")])])]),e("li",[t._v("用法:\n移除事件监听器。")])])])}],r=n(0),i=Object(r.a)({},function(){var t=this.$createElement;this._self._c;return this._m(0)},i,!1,null,null,null);e.default=i.exports}]);
|