vendor.dll.js 776.7 KB
Newer Older
L
lin-xin 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
var vendor_library=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=326)}([function(t,e,n){var i=n(2),r=n(25),o=n(12),a=n(13),s=n(26),l="prototype",u=function(t,e,n){var c,h,f,d,p=t&u.F,g=t&u.G,v=t&u.S,m=t&u.P,y=t&u.B,x=g?i:v?i[e]||(i[e]={}):(i[e]||{})[l],_=g?r:r[e]||(r[e]={}),b=_[l]||(_[l]={});g&&(n=e);for(c in n)h=!p&&x&&void 0!==x[c],f=(h?x:n)[c],d=y&&h?s(f,i):m&&"function"==typeof f?s(Function.call,f):f,x&&a(x,c,f,t&u.U),_[c]!=f&&o(_,c,d),m&&b[c]!=f&&(b[c]=f)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var i=n(4);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var i=n(58)("wks"),r=n(40),o=n(2).Symbol,a="function"==typeof o,s=t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))};s.store=i},function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(1),r=n(101),o=n(24),a=Object.defineProperty;e.f=n(6)?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(31),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(20);t.exports=function(t){return Object(i(t))}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(7),r=n(30);t.exports=n(6)?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(2),r=n(12),o=n(10),a=n(40)("src"),s="toString",l=Function[s],u=(""+l).split(s);n(25).inspectSource=function(t){return l.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(l&&(o(n,a)||r(n,a,t[e]?""+t[e]:u.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||l.call(this)})},function(t,e,n){var i=n(0),r=n(3),o=n(20),a=/"/g,s=function(t,e,n,i){var r=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(a,"&quot;")+'"'),s+">"+r+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),i(i.P+i.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){var i=n(47),r=n(20);t.exports=function(t){return i(r(t))}},function(t,e,n){"use strict";function i(t){return"[object Array]"===S.call(t)}function r(t){return"[object ArrayBuffer]"===S.call(t)}function o(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){var e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function s(t){return"string"==typeof t}function l(t){return"number"==typeof t}function u(t){return"undefined"==typeof t}function c(t){return null!==t&&"object"==typeof t}function h(t){return"[object Date]"===S.call(t)}function f(t){return"[object File]"===S.call(t)}function d(t){return"[object Blob]"===S.call(t)}function p(t){return"[object Function]"===S.call(t)}function g(t){return c(t)&&p(t.pipe)}function v(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function m(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function y(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function x(t,e){if(null!==t&&"undefined"!=typeof t)if("object"==typeof t||i(t)||(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function _(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=_(e[n],t):e[n]=t}for(var e={},n=0,i=arguments.length;n<i;n++)x(arguments[n],t);return e}function b(t,e,n){return x(e,function(e,i){n&&"function"==typeof e?t[i]=w(e,n):t[i]=e}),t}var w=n(92),S=Object.prototype.toString;t.exports={isArray:i,isArrayBuffer:r,isFormData:o,isArrayBufferView:a,isString:s,isNumber:l,isObject:c,isUndefined:u,isDate:h,isFile:f,isBlob:d,isFunction:p,isStream:g,isURLSearchParams:v,isStandardBrowserEnv:y,forEach:x,merge:_,extend:b,trim:m}},function(t,e,n){var i=n(48),r=n(30),o=n(15),a=n(24),s=n(10),l=n(101),u=Object.getOwnPropertyDescriptor;e.f=n(6)?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,n){var i=n(10),r=n(9),o=n(76)("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){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){var i=n(3);t.exports=function(t,e){return!!t&&i(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var i=n(26),r=n(47),o=n(9),a=n(8),s=n(146);t.exports=function(t,e){var n=1==t,l=2==t,u=3==t,c=4==t,h=6==t,f=5==t||h,d=e||s;return function(e,s,p){for(var g,v,m=o(e),y=r(m),x=i(s,p,3),_=a(y.length),b=0,w=n?d(e,_):l?d(e,0):void 0;_>b;b++)if((f||b in y)&&(g=y[b],v=x(g,b,m),t))if(n)w[b]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return b;case 2:w.push(g)}else if(c)return!1;return h?-1:u||c?c:w}}},function(t,e,n){var i=n(0),r=n(25),o=n(3);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){var i=n(4);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(11);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(117),r=n(0),o=n(58)("metadata"),a=o.store||(o.store=new(n(120))),s=function(t,e,n){var r=a.get(t);if(!r){if(!n)return;a.set(t,r=new i)}var o=r.get(e);if(!o){if(!n)return;r.set(e,o=new i)}return o},l=function(t,e,n){var i=s(e,n,!1);return void 0!==i&&i.has(t)},u=function(t,e,n){var i=s(e,n,!1);return void 0===i?void 0:i.get(t)},c=function(t,e,n,i){s(n,i,!0).set(t,e)},h=function(t,e){var n=s(t,e,!1),i=[];return n&&n.forEach(function(t,e){i.push(e)}),i},f=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},d=function(t){r(r.S,"Reflect",t)};t.exports={store:a,map:s,has:l,get:u,set:c,keys:h,key:f,exp:d}},function(t,e,n){"use strict";if(n(6)){var i=n(33),r=n(2),o=n(3),a=n(0),s=n(59),l=n(83),u=n(26),c=n(32),h=n(30),f=n(12),d=n(37),p=n(31),g=n(8),v=n(39),m=n(24),y=n(10),x=n(114),_=n(46),b=n(4),w=n(9),S=n(68),M=n(34),A=n(18),T=n(35).f,I=n(85),C=n(40),L=n(5),D=n(22),k=n(49),P=n(77),E=n(86),O=n(43),R=n(55),N=n(38),z=n(61),V=n(94),B=n(7),F=n(17),G=B.f,H=F.f,j=r.RangeError,W=r.TypeError,$=r.Uint8Array,U="ArrayBuffer",q="Shared"+U,Z="BYTES_PER_ELEMENT",X="prototype",Y=Array[X],J=l.ArrayBuffer,K=l.DataView,Q=D(0),tt=D(2),et=D(3),nt=D(4),it=D(5),rt=D(6),ot=k(!0),at=k(!1),st=E.values,lt=E.keys,ut=E.entries,ct=Y.lastIndexOf,ht=Y.reduce,ft=Y.reduceRight,dt=Y.join,pt=Y.sort,gt=Y.slice,vt=Y.toString,mt=Y.toLocaleString,yt=L("iterator"),xt=L("toStringTag"),_t=C("typed_constructor"),bt=C("def_constructor"),wt=s.CONSTR,St=s.TYPED,Mt=s.VIEW,At="Wrong length!",Tt=D(1,function(t,e){return Pt(P(t,t[bt]),e)}),It=o(function(){return 1===new $(new Uint16Array([1]).buffer)[0]}),Ct=!!$&&!!$[X].set&&o(function(){new $(1).set({})}),Lt=function(t,e){if(void 0===t)throw W(At);var n=+t,i=g(t);if(e&&!x(n,i))throw j(At);return i},Dt=function(t,e){var n=p(t);if(n<0||n%e)throw j("Wrong offset!");return n},kt=function(t){if(b(t)&&St in t)return t;throw W(t+" is not a typed array!")},Pt=function(t,e){if(!(b(t)&&_t in t))throw W("It is not a typed array constructor!");return new t(e)},Et=function(t,e){return Ot(P(t,t[bt]),e)},Ot=function(t,e){for(var n=0,i=e.length,r=Pt(t,i);i>n;)r[n]=e[n++];return r},Rt=function(t,e,n){G(t,e,{get:function(){return this._d[n]}})},Nt=function(t){var e,n,i,r,o,a,s=w(t),l=arguments.length,c=l>1?arguments[1]:void 0,h=void 0!==c,f=I(s);if(void 0!=f&&!S(f)){for(a=f.call(s),i=[],e=0;!(o=a.next()).done;e++)i.push(o.value);s=i}for(h&&l>2&&(c=u(c,arguments[2],2)),e=0,n=g(s.length),r=Pt(this,n);n>e;e++)r[e]=h?c(s[e],e):s[e];return r},zt=function(){for(var t=0,e=arguments.length,n=Pt(this,e);e>t;)n[t]=arguments[t++];return n},Vt=!!$&&o(function(){mt.call(new $(1))}),Bt=function(){return mt.apply(Vt?gt.call(kt(this)):kt(this),arguments)},Ft={copyWithin:function(t,e){return V.call(kt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(kt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return z.apply(kt(this),arguments)},filter:function(t){return Et(this,tt(kt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return it(kt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return rt(kt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(kt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return at(kt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(kt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return dt.apply(kt(this),arguments)},lastIndexOf:function(t){return ct.apply(kt(this),arguments)},map:function(t){return Tt(kt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ht.apply(kt(this),arguments)},reduceRight:function(t){return ft.apply(kt(this),arguments)},reverse:function(){for(var t,e=this,n=kt(e).length,i=Math.floor(n/2),r=0;r<i;)t=e[r],e[r++]=e[--n],e[n]=t;return e},some:function(t){return et(kt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return pt.call(kt(this),t)},subarray:function(t,e){var n=kt(this),i=n.length,r=v(t,i);return new(P(n,n[bt]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,g((void 0===e?i:v(e,i))-r))}},Gt=function(t,e){return Et(this,gt.call(kt(this),t,e))},Ht=function(t){kt(this);var e=Dt(arguments[1],1),n=this.length,i=w(t),r=g(i.length),o=0;if(r+e>n)throw j(At);for(;o<r;)this[e+o]=i[o++]},jt={entries:function(){return ut.call(kt(this))},keys:function(){return lt.call(kt(this))},values:function(){return st.call(kt(this))}},Wt=function(t,e){return b(t)&&t[St]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},$t=function(t,e){return Wt(t,e=m(e,!0))?h(2,t[e]):H(t,e)},Ut=function(t,e,n){return!(Wt(t,e=m(e,!0))&&b(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?G(t,e,n):(t[e]=n.value,t)};wt||(F.f=$t,B.f=Ut),a(a.S+a.F*!wt,"Object",{getOwnPropertyDescriptor:$t,defineProperty:Ut}),o(function(){vt.call({})})&&(vt=mt=function(){return dt.call(this)});var qt=d({},Ft);d(qt,jt),f(qt,yt,jt.values),d(qt,{slice:Gt,set:Ht,constructor:function(){},toString:vt,toLocaleString:Bt}),Rt(qt,"buffer","b"),Rt(qt,"byteOffset","o"),Rt(qt,"byteLength","l"),Rt(qt,"length","e"),G(qt,xt,{get:function(){return this[St]}}),t.exports=function(t,e,n,l){l=!!l;var u=t+(l?"Clamped":"")+"Array",h="Uint8Array"!=u,d="get"+t,p="set"+t,v=r[u],m=v||{},y=v&&A(v),x=!v||!s.ABV,w={},S=v&&v[X],I=function(t,n){var i=t._d;return i.v[d](n*e+i.o,It)},C=function(t,n,i){var r=t._d;l&&(i=(i=Math.round(i))<0?0:i>255?255:255&i),r.v[p](n*e+r.o,i,It)},L=function(t,e){G(t,e,{get:function(){return I(this,e)},set:function(t){return C(this,e,t)},enumerable:!0})};x?(v=n(function(t,n,i,r){c(t,v,u,"_d");var o,a,s,l,h=0,d=0;if(b(n)){if(!(n instanceof J||(l=_(n))==U||l==q))return St in n?Ot(v,n):Nt.call(v,n);o=n,d=Dt(i,e);var p=n.byteLength;if(void 0===r){if(p%e)throw j(At);if(a=p-d,a<0)throw j(At)}else if(a=g(r)*e,a+d>p)throw j(At);s=a/e}else s=Lt(n,!0),a=s*e,o=new J(a);for(f(t,"_d",{b:o,o:d,l:a,e:s,v:new K(o)});h<s;)L(t,h++)}),S=v[X]=M(qt),f(S,"constructor",v)):R(function(t){new v(null),new v(t)},!0)||(v=n(function(t,n,i,r){c(t,v,u);var o;return b(n)?n instanceof J||(o=_(n))==U||o==q?void 0!==r?new m(n,Dt(i,e),r):void 0!==i?new m(n,Dt(i,e)):new m(n):St in n?Ot(v,n):Nt.call(v,n):new m(Lt(n,h))}),Q(y!==Function.prototype?T(m).concat(T(y)):T(m),function(t){t in v||f(v,t,m[t])}),v[X]=S,i||(S.constructor=v));var D=S[yt],k=!!D&&("values"==D.name||void 0==D.name),P=jt.values;f(v,_t,!0),f(S,St,u),f(S,Mt,!0),f(S,bt,v),(l?new v(1)[xt]==u:xt in S)||G(S,xt,{get:function(){return u}}),w[u]=v,a(a.G+a.W+a.F*(v!=m),w),a(a.S,u,{BYTES_PER_ELEMENT:e,from:Nt,of:zt}),Z in S||f(S,Z,e),a(a.P,u,Ft),N(u),a(a.P+a.F*Ct,u,{set:Ht}),a(a.P+a.F*!k,u,jt),a(a.P+a.F*(S.toString!=vt),u,{toString:vt}),a(a.P+a.F*o(function(){new v(1).slice()}),u,{slice:Gt}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!o(function(){S.toLocaleString.call([1,2])})),u,{toLocaleString:Bt}),O[u]=k?D:P,i||k||f(S,yt,P)}}else t.exports=function(){}},function(t,e,n){var i=n(40)("meta"),r=n(4),o=n(10),a=n(7).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(3)(function(){return l(Object.preventExtensions({}))}),c=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},h=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[i].i},f=function(t,e){if(!o(t,i)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[i].w},d=function(t){return u&&p.NEED&&l(t)&&!o(t,i)&&c(t),t},p=t.exports={KEY:i,NEED:!1,fastKey:h,getWeak:f,onFreeze:d}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e){t.exports=!1},function(t,e,n){var i=n(1),r=n(107),o=n(64),a=n(76)("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=n(63)("iframe"),i=o.length,r="<",a=">";for(e.style.display="none",n(66).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+a+"document.F=Object"+r+"/script"+a),t.close(),u=t.F;i--;)delete u[l][o[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=i(t),n=new s,s[l]=null,n[a]=t):n=u(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(109),r=n(64).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(109),r=n(64);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(13);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},function(t,e,n){"use strict";var i=n(2),r=n(7),o=n(6),a=n(5)("species");t.exports=function(t){var e=i[t];o&&e&&!e[a]&&r.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(31),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},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,n){var i=n(5)("unscopables"),r=Array.prototype;void 0==r[i]&&n(12)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e,n){var i=n(26),r=n(103),o=n(68),a=n(1),s=n(8),l=n(85),u={},c={},e=t.exports=function(t,e,n,h,f){var d,p,g,v,m=f?function(){return t}:l(t),y=i(n,h,e?2:1),x=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(d=s(t.length);d>x;x++)if(v=e?y(a(p=t[x])[0],p[1]):y(t[x]),v===u||v===c)return v}else for(g=m.call(t);!(p=g.next()).done;)if(v=r(g,y,p.value,e),v===u||v===c)return v};e.BREAK=u,e.RETURN=c},function(t,e){t.exports={}},function(t,e,n){var i=n(7).f,r=n(10),o=n(5)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(0),r=n(20),o=n(3),a=n(81),s="["+a+"]",l="​…",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),h=function(t,e,n){var r={},s=o(function(){return!!a[t]()||l[t]()!=l}),u=r[t]=s?e(f):a[t];n&&(r[n]=u),i(i.P+i.F*s,"String",r)},f=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=h},function(t,e,n){var i=n(19),r=n(5)("toStringTag"),o="Arguments"==i(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),r))?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){var i=n(19);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(15),r=n(8),o=n(39);t.exports=function(t){return function(e,n,a){var s,l=i(e),u=r(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){"use strict";var i=n(2),r=n(0),o=n(13),a=n(37),s=n(29),l=n(42),u=n(32),c=n(4),h=n(3),f=n(55),d=n(44),p=n(67);t.exports=function(t,e,n,g,v,m){var y=i[t],x=y,_=v?"set":"add",b=x&&x.prototype,w={},S=function(t){var e=b[t];o(b,t,"delete"==t?function(t){return!(m&&!c(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!c(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!c(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof x&&(m||b.forEach&&!h(function(){(new x).entries().next()}))){var M=new x,A=M[_](m?{}:-0,1)!=M,T=h(function(){M.has(1)}),I=f(function(t){new x(t)}),C=!m&&h(function(){for(var t=new x,e=5;e--;)t[_](e,e);return!t.has(-0)});I||(x=e(function(e,n){u(e,x,t);var i=p(new y,e,x);return void 0!=n&&l(n,v,i[_],i),i}),x.prototype=b,b.constructor=x),(T||C)&&(S("delete"),S("has"),v&&S("get")),(C||A)&&S(_),m&&b.clear&&delete b.clear}else x=g.getConstructor(e,t,v,_),a(x.prototype,n),s.NEED=!0;return d(x,t),w[t]=x,r(r.G+r.W+r.F*(x!=y),w),m||g.setStrong(x,t,v),x}},function(t,e,n){"use strict";var i=n(12),r=n(13),o=n(3),a=n(20),s=n(5);t.exports=function(t,e,n){var l=s(t),u=n(a,l,""[t]),c=u[0],h=u[1];o(function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})&&(r(String.prototype,t,c),i(RegExp.prototype,l,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}))}},function(t,e,n){"use strict";var i=n(1);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var i=n(4),r=n(19),o=n(5)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},function(t,e,n){var i=n(5)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],a=o[i]();a.next=function(){return{done:n=!0}},o[i]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){t.exports=n(33)||!n(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(2)[t]})},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(2),r="__core-js_shared__",o=i[r]||(i[r]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){for(var i,r=n(2),o=n(12),a=n(40),s=a("typed_array"),l=a("view"),u=!(!r.ArrayBuffer||!r.DataView),c=u,h=0,f=9,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");h<f;)(i=r[d[h++]])?(o(i.prototype,s,!0),o(i.prototype,l,!0)):c=!1;t.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},function(t,e,n){"use strict";(function(e){function i(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function r(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(88):"undefined"!=typeof e&&(t=n(88)),t}var o=n(16),a=n(141),s=/^\)\]\}',?\n/,l={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:r(),transformRequest:[function(t,e){return a(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(i(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t){t=t.replace(s,"");try{t=JSON.parse(t)}catch(t){}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){u.headers[t]={}}),o.forEach(["post","put","patch"],function(t){u.headers[t]=o.merge(l)}),t.exports=u}).call(e,n(121))},function(t,e,n){"use strict";var i=n(9),r=n(39),o=n(8);t.exports=function(t){for(var e=i(this),n=o(e.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:r(l,n);u>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var i=n(7),r=n(30);t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},function(t,e,n){var i=n(4),r=n(2).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){t.exports=n(2).document&&document.documentElement},function(t,e,n){var i=n(4),r=n(75).set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&i(o)&&r&&r(t,o),t}},function(t,e,n){var i=n(43),r=n(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},function(t,e,n){var i=n(19);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){"use strict";var i=n(34),r=n(30),o=n(44),a={};n(12)(a,n(5)("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){"use strict";var i=n(33),r=n(0),o=n(13),a=n(12),s=n(10),l=n(43),u=n(70),c=n(44),h=n(18),f=n(5)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",g="keys",v="values",m=function(){return this};t.exports=function(t,e,n,y,x,_,b){u(n,e,y);var w,S,M,A=function(t){if(!d&&t in L)return L[t];switch(t){case g:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",I=x==v,C=!1,L=t.prototype,D=L[f]||L[p]||x&&L[x],k=D||A(x),P=x?I?A("entries"):k:void 0,E="Array"==e?L.entries||D:D;if(E&&(M=h(E.call(new t)),M!==Object.prototype&&(c(M,T,!0),i||s(M,f)||a(M,f,m))),I&&D&&D.name!==v&&(C=!0,k=function(){return D.call(this)}),i&&!b||!d&&!C&&L[f]||a(L,f,k),l[e]=k,l[T]=m,x)if(w={values:I?k:A(v),keys:_?k:A(g),entries:P},b)for(S in w)S in L||o(L,S,w[S]);else r(r.P+r.F*(d||C),e,w);return w}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var i=n(2),r=n(82).set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,l="process"==n(19)(a);t.exports=function(){var t,e,n,u=function(){var i,r;for(l&&(i=a.domain)&&i.exit();t;){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(l)n=function(){a.nextTick(u)};else if(o){var c=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=c=!c}}else if(s&&s.resolve){var f=s.resolve();n=function(){f.then(u)}}else n=function(){r.call(i,u)};return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},function(t,e,n){var i=n(4),r=n(1),o=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n(26)(Function.call,n(17).f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){var i=n(58)("keys"),r=n(40);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var i=n(1),r=n(11),o=n(5)("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||void 0==(n=i(a)[o])?e:r(n)}},function(t,e,n){var i=n(31),r=n(20);t.exports=function(t){return function(e,n){var o,a,s=String(r(e)),l=i(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):(o-55296<<10)+(a-56320)+65536)}}},function(t,e,n){var i=n(54),r=n(20);t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},function(t,e,n){"use strict";var i=n(31),r=n(20);t.exports=function(t){var e=String(r(this)),n="",o=i(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,n){var i,r,o,a=n(26),s=n(53),l=n(66),u=n(63),c=n(2),h=c.process,f=c.setImmediate,d=c.clearImmediate,p=c.MessageChannel,g=0,v={},m="onreadystatechange",y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},x=function(t){y.call(t.data)};f&&d||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},i(g),g},d=function(t){delete v[t]},"process"==n(19)(h)?i=function(t){h.nextTick(a(y,t,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=x,i=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(i=function(t){c.postMessage(t+"","*")},c.addEventListener("message",x,!1)):i=m in u("script")?function(t){l.appendChild(u("script"))[m]=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:d}},function(t,e,n){"use strict";var i=n(2),r=n(6),o=n(33),a=n(59),s=n(12),l=n(37),u=n(3),c=n(32),h=n(31),f=n(8),d=n(35).f,p=n(7).f,g=n(61),v=n(44),m="ArrayBuffer",y="DataView",x="prototype",_="Wrong length!",b="Wrong index!",w=i[m],S=i[y],M=i.Math,A=i.RangeError,T=i.Infinity,I=w,C=M.abs,L=M.pow,D=M.floor,k=M.log,P=M.LN2,E="buffer",O="byteLength",R="byteOffset",N=r?"_b":E,z=r?"_l":O,V=r?"_o":R,B=function(t,e,n){var i,r,o,a=Array(n),s=8*n-e-1,l=(1<<s)-1,u=l>>1,c=23===e?L(2,-24)-L(2,-77):0,h=0,f=t<0||0===t&&1/t<0?1:0;for(t=C(t),t!=t||t===T?(r=t!=t?1:0,i=l):(i=D(k(t)/P),t*(o=L(2,-i))<1&&(i--,o*=2),t+=i+u>=1?c/o:c*L(2,1-u),t*o>=2&&(i++,o/=2),i+u>=l?(r=0,i=l):i+u>=1?(r=(t*o-1)*L(2,e),i+=u):(r=t*L(2,u-1)*L(2,e),i=0));e>=8;a[h++]=255&r,r/=256,e-=8);for(i=i<<e|r,s+=e;s>0;a[h++]=255&i,i/=256,s-=8);return a[--h]|=128*f,a},F=function(t,e,n){var i,r=8*n-e-1,o=(1<<r)-1,a=o>>1,s=r-7,l=n-1,u=t[l--],c=127&u;for(u>>=7;s>0;c=256*c+t[l],l--,s-=8);for(i=c&(1<<-s)-1,c>>=-s,s+=e;s>0;i=256*i+t[l],l--,s-=8);if(0===c)c=1-a;else{if(c===o)return i?NaN:u?-T:T;i+=L(2,e),c-=a}return(u?-1:1)*i*L(2,c-e)},G=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},H=function(t){return[255&t]},j=function(t){return[255&t,t>>8&255]},W=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},$=function(t){return B(t,52,8)},U=function(t){return B(t,23,4)},q=function(t,e,n){p(t[x],e,{get:function(){return this[n]}})},Z=function(t,e,n,i){var r=+n,o=h(r);if(r!=o||o<0||o+e>t[z])throw A(b);var a=t[N]._b,s=o+t[V],l=a.slice(s,s+e);return i?l:l.reverse()},X=function(t,e,n,i,r,o){var a=+n,s=h(a);if(a!=s||s<0||s+e>t[z])throw A(b);for(var l=t[N]._b,u=s+t[V],c=i(+r),f=0;f<e;f++)l[u+f]=c[o?f:e-f-1]},Y=function(t,e){c(t,w,m);var n=+e,i=f(n);if(n!=i)throw A(_);return i};if(a.ABV){if(!u(function(){new w})||!u(function(){new w(.5)})){w=function(t){return new I(Y(this,t))};for(var J,K=w[x]=I[x],Q=d(I),tt=0;Q.length>tt;)(J=Q[tt++])in w||s(w,J,I[J]);o||(K.constructor=w)}var et=new S(new w(2)),nt=S[x].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||l(S[x],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else w=function(t){var e=Y(this,t);this._b=g.call(Array(e),0),this[z]=e},S=function(t,e,n){c(this,S,y),c(t,w,y);var i=t[z],r=h(e);if(r<0||r>i)throw A("Wrong offset!");if(n=void 0===n?i-r:f(n),r+n>i)throw A(_);this[N]=t,this[V]=r,this[z]=n},r&&(q(w,O,"_l"),q(S,E,"_b"),q(S,O,"_l"),q(S,R,"_o")),l(S[x],{getInt8:function(t){return Z(this,1,t)[0]<<24>>24},getUint8:function(t){return Z(this,1,t)[0]},getInt16:function(t){var e=Z(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Z(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return G(Z(this,4,t,arguments[1]))},getUint32:function(t){return G(Z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return F(Z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return F(Z(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){X(this,1,t,H,e)},setUint8:function(t,e){X(this,1,t,H,e)},setInt16:function(t,e){X(this,2,t,j,e,arguments[2])},setUint16:function(t,e){X(this,2,t,j,e,arguments[2])},setInt32:function(t,e){X(this,4,t,W,e,arguments[2])},setUint32:function(t,e){X(this,4,t,W,e,arguments[2])},setFloat32:function(t,e){X(this,4,t,U,e,arguments[2])},setFloat64:function(t,e){X(this,8,t,$,e,arguments[2])}});v(w,m),v(S,y),s(S[x],a.VIEW,!0),e[m]=w,e[y]=S},function(t,e,n){var i=n(2),r=n(25),o=n(33),a=n(116),s=n(7).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,n){var i=n(46),r=n(5)("iterator"),o=n(43);t.exports=n(25).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){"use strict";var i=n(41),r=n(104),o=n(43),a=n(15);t.exports=n(71)(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)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries");
},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var i=n(16),r=n(133),o=n(136),a=n(142),s=n(140),l=n(91),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(135);t.exports=function(t){return new Promise(function(e,c){var h=t.data,f=t.headers;i.isFormData(h)&&delete f["Content-Type"];var d=new XMLHttpRequest,p="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(t.url)||(d=new window.XDomainRequest,p="onload",g=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var v=t.auth.username||"",m=t.auth.password||"";f.Authorization="Basic "+u(v+":"+m)}if(d.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[p]=function(){if(d&&(4===d.readyState||g)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,i=t.responseType&&"text"!==t.responseType?d.response:d.responseText,o={data:i,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};r(e,c,o),d=null}},d.onerror=function(){c(l("Network Error",t)),d=null},d.ontimeout=function(){c(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),d=null},i.isStandardBrowserEnv()){var y=n(138),x=(t.withCredentials||s(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;x&&(f[t.xsrfHeaderName]=x)}if("setRequestHeader"in d&&i.forEach(f,function(t,e){"undefined"==typeof h&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(t){if("json"!==d.responseType)throw t}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),c(t),d=null)}),void 0===h&&(h=null),d.send(h)})}},function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var i=n(132);t.exports=function(t,e,n,r){var o=new Error(t);return i(o,e,n,r)}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},function(t,e,n){var i=n(19);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=i(t))throw TypeError(e);return+t}},function(t,e,n){"use strict";var i=n(9),r=n(39),o=n(8);t.exports=[].copyWithin||function(t,e){var n=i(this),a=o(n.length),s=r(t,a),l=r(e,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:r(u,a))-l,a-s),h=1;for(l<s&&s<l+c&&(h=-1,l+=c-1,s+=c-1);c-- >0;)l in n?n[s]=n[l]:delete n[s],s+=h,l+=h;return n}},function(t,e,n){var i=n(42);t.exports=function(t,e){var n=[];return i(t,!1,n.push,n,e),n}},function(t,e,n){var i=n(11),r=n(9),o=n(47),a=n(8);t.exports=function(t,e,n,s,l){i(e);var u=r(t),c=o(u),h=a(u.length),f=l?h-1:0,d=l?-1:1;if(n<2)for(;;){if(f in c){s=c[f],f+=d;break}if(f+=d,l?f<0:h<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:h>f;f+=d)f in c&&(s=e(s,c[f],f,u));return s}},function(t,e,n){"use strict";var i=n(11),r=n(4),o=n(53),a=[].slice,s={},l=function(t,e,n){if(!(e in s)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";s[e]=Function("F,a","return new F("+i.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=i(this),n=a.call(arguments,1),s=function(){var i=n.concat(a.call(arguments));return this instanceof s?l(e,i.length,i):o(e,i,t)};return r(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e,n){"use strict";var i=n(7).f,r=n(34),o=n(37),a=n(26),s=n(32),l=n(20),u=n(42),c=n(71),h=n(104),f=n(38),d=n(6),p=n(29).fastKey,g=d?"_s":"size",v=function(t,e){var n,i=p(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var h=t(function(t,i){s(t,h,e,"_i"),t._i=r(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=i&&u(i,n,t[c],t)});return o(h.prototype,{clear:function(){for(var t=this,e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var e=this,n=v(e,t);if(n){var i=n.n,r=n.p;delete e._i[n.i],n.r=!0,r&&(r.n=i),i&&(i.p=r),e._f==n&&(e._f=i),e._l==n&&(e._l=r),e[g]--}return!!n},forEach:function(t){s(this,h,"forEach");for(var e,n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!v(this,t)}}),d&&i(h.prototype,"size",{get:function(){return l(this[g])}}),h},def:function(t,e,n){var i,r,o=v(t,e);return o?o.v=n:(t._l=o={i:r=p(e,!0),k:e,v:n,p:i=t._l,n:void 0,r:!1},t._f||(t._f=o),i&&(i.n=o),t[g]++,"F"!==r&&(t._i[r]=o)),t},getEntry:v,setStrong:function(t,e,n){c(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?h(0,n.k):"values"==e?h(0,n.v):h(0,[n.k,n.v]):(t._t=void 0,h(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){var i=n(46),r=n(95);t.exports=function(t){return function(){if(i(this)!=t)throw TypeError(t+"#toJSON isn't generic");return r(this)}}},function(t,e,n){"use strict";var i=n(37),r=n(29).getWeak,o=n(1),a=n(4),s=n(32),l=n(42),u=n(22),c=n(10),h=u(5),f=u(6),d=0,p=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},v=function(t,e){return h(t.a,function(t){return t[0]===e})};g.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=f(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var u=t(function(t,i){s(t,u,e,"_i"),t._i=d++,t._l=void 0,void 0!=i&&l(i,n,t[o],t)});return i(u.prototype,{delete:function(t){if(!a(t))return!1;var e=r(t);return e===!0?p(this).delete(t):e&&c(e,this._i)&&delete e[this._i]},has:function(t){if(!a(t))return!1;var e=r(t);return e===!0?p(this).has(t):e&&c(e,this._i)}}),u},def:function(t,e,n){var i=r(o(e),!0);return i===!0?p(t).set(e,n):i[t._i]=n,t},ufstore:p}},function(t,e,n){t.exports=!n(6)&&!n(3)(function(){return 7!=Object.defineProperty(n(63)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(4),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},function(t,e,n){var i=n(1);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var i=n(36),r=n(57),o=n(48),a=n(9),s=n(47),l=Object.assign;t.exports=!l||n(3)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i})?function(t,e){for(var n=a(t),l=arguments.length,u=1,c=r.f,h=o.f;l>u;)for(var f,d=s(arguments[u++]),p=c?i(d).concat(c(d)):i(d),g=p.length,v=0;g>v;)h.call(d,f=p[v++])&&(n[f]=d[f]);return n}:l},function(t,e,n){var i=n(7),r=n(1),o=n(36);t.exports=n(6)?Object.defineProperties:function(t,e){r(t);for(var n,a=o(e),s=a.length,l=0;s>l;)i.f(t,n=a[l++],e[n]);return t}},function(t,e,n){var i=n(15),r=n(35).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return r(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):r(i(t))}},function(t,e,n){var i=n(10),r=n(15),o=n(49)(!1),a=n(76)("IE_PROTO");t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var i=n(36),r=n(15),o=n(48).f;t.exports=function(t){return function(e){for(var n,a=r(e),s=i(a),l=s.length,u=0,c=[];l>u;)o.call(a,n=s[u++])&&c.push(t?[n,a[n]]:a[n]);return c}}},function(t,e,n){var i=n(35),r=n(57),o=n(1),a=n(2).Reflect;t.exports=a&&a.ownKeys||function(t){var e=i.f(o(t)),n=r.f;return n?e.concat(n(t)):e}},function(t,e,n){var i=n(2).parseFloat,r=n(45).trim;t.exports=1/i(n(81)+"-0")!==-(1/0)?function(t){var e=r(String(t),3),n=i(e);return 0===n&&"-"==e.charAt(0)?-0:n}:i},function(t,e,n){var i=n(2).parseInt,r=n(45).trim,o=n(81),a=/^[\-+]?0[xX]/;t.exports=8!==i(o+"08")||22!==i(o+"0x16")?function(t,e){var n=r(String(t),3);return i(n,e>>>0||(a.test(n)?16:10))}:i},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},function(t,e,n){var i=n(8),r=n(80),o=n(20);t.exports=function(t,e,n,a){var s=String(o(t)),l=s.length,u=void 0===n?" ":String(n),c=i(e);if(c<=l||""==u)return s;var h=c-l,f=r.call(u,Math.ceil(h/u.length));return f.length>h&&(f=f.slice(0,h)),a?f+s:s+f}},function(t,e,n){e.f=n(5)},function(t,e,n){"use strict";var i=n(98);t.exports=n(50)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=i.getEntry(this,t);return e&&e.v},set:function(t,e){return i.def(this,0===t?0:t,e)}},i,!0)},function(t,e,n){n(6)&&"g"!=/./g.flags&&n(7).f(RegExp.prototype,"flags",{configurable:!0,get:n(52)})},function(t,e,n){"use strict";var i=n(98);t.exports=n(50)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return i.def(this,t=0===t?0:t,t)}},i)},function(t,e,n){"use strict";var i,r=n(22)(0),o=n(13),a=n(29),s=n(106),l=n(100),u=n(4),c=a.getWeak,h=Object.isExtensible,f=l.ufstore,d={},p=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(t){if(u(t)){var e=c(t);return e===!0?f(this).get(t):e?e[this._i]:void 0}},set:function(t,e){return l.def(this,t,e)}},v=t.exports=n(50)("WeakMap",p,g,l,!0,!0);7!=(new v).set((Object.freeze||Object)(d),7).get(d)&&(i=l.getConstructor(p),s(i.prototype,g),a.NEED=!0,r(["delete","has","get","set"],function(t){var e=v.prototype,n=e[t];o(e,t,function(e,r){if(u(e)&&!h(e)){this._f||(this._f=new i);var o=this._f[t](e,r);return"set"==t?this:o}return n.call(this,e,r)})}))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function r(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function o(t){if(h===clearTimeout)return clearTimeout(t);if((h===i||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(t);try{return h(t)}catch(e){try{return h.call(null,t)}catch(e){return h.call(this,t)}}}function a(){g&&d&&(g=!1,d.length?p=d.concat(p):v=-1,p.length&&s())}function s(){if(!g){var t=r(a);g=!0;for(var e=p.length;e;){for(d=p,p=[];++v<e;)d&&d[v].run();v=-1,e=p.length}d=null,g=!1,o(t)}}function l(t,e){this.fun=t,this.array=e}function u(){}var c,h,f=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(t){c=n}try{h="function"==typeof clearTimeout?clearTimeout:i}catch(t){h=i}}();var d,p=[],g=!1,v=-1;f.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new l(t,e)),1!==p.length||g||r(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(t,e,n){t.exports=n(127)},function(t,e,n){"use strict";(function(t){function e(t,e,n){t[e]||Object[i](t,e,{writable:!0,configurable:!0,value:n})}if(n(324),n(325),n(144),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var i="defineProperty";e(String.prototype,"padLeft","".padStart),e(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&e(Array,t,Function.call.bind([][t]))})}).call(e,n(87))},function(t,e,n){!function(e,n){t.exports=n()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(378),o=i(r);e.default=o.default},function(t,e){function n(t){if(null==t||"object"!=typeof t)return t;var e=t,i=E.call(t);if("[object Array]"===i){e=[];for(var r=0,o=t.length;r<o;r++)e[r]=n(t[r])}else if(P[i])e=t.constructor.from(t);else if(!k[i]&&!A(t)){e={};for(var a in t)t.hasOwnProperty(a)&&(e[a]=n(t[a]))}return e}function i(t,e,r){if(!S(e)||!S(t))return r?n(e):t;for(var o in e)if(e.hasOwnProperty(o)){var a=t[o],s=e[o];!S(s)||!S(a)||_(s)||_(a)||A(s)||A(a)||M(s)||M(a)?!r&&o in t||(t[o]=n(e[o],!0)):i(a,s,r)}return t}function r(t,e){for(var n=t[0],r=1,o=t.length;r<o;r++)n=i(n,t[r],e);return n}function o(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function a(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 s(){return document.createElement("canvas")}function l(){return D||(D=F.createCanvas().getContext("2d")),D}function u(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}function c(t,e){function n(){}var i=t.prototype;n.prototype=e.prototype,t.prototype=new n;for(var r in i)t.prototype[r]=i[r];t.prototype.constructor=t,t.superClass=e}function h(t,e,n){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,a(t,e,n)}function f(t){if(t)return"string"!=typeof t&&"number"==typeof t.length}function d(t,e,n){if(t&&e)if(t.forEach&&t.forEach===R)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 p(t,e,n){if(t&&e){if(t.map&&t.map===V)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}}function g(t,e,n,i){if(t&&e){if(t.reduce&&t.reduce===B)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}}function v(t,e,n){if(t&&e){if(t.filter&&t.filter===N)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}}function m(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]}function y(t,e){var n=z.call(arguments,2);return function(){return t.apply(e,n.concat(z.call(arguments)))}}function x(t){var e=z.call(arguments,1);return function(){return t.apply(this,e.concat(z.call(arguments)))}}function _(t){return"[object Array]"===E.call(t)}function b(t){return"function"==typeof t}function w(t){return"[object String]"===E.call(t)}function S(t){var e=typeof t;return"function"===e||!!t&&"object"==e}function M(t){return!!k[E.call(t)]}function A(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function T(t){return t!==t}function I(t){for(var e=0,n=arguments.length;e<n;e++)if(null!=arguments[e])return arguments[e]}function C(){return Function.call.apply(z,arguments)}function L(t,e){if(!t)throw new Error(e)}var D,k={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},P={"[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},E=Object.prototype.toString,O=Array.prototype,R=O.forEach,N=O.filter,z=O.slice,V=O.map,B=O.reduce,F={inherits:c,mixin:h,clone:n,merge:i,mergeAll:r,extend:o,defaults:a,getContext:l,createCanvas:s,indexOf:u,slice:C,find:m,isArrayLike:f,each:d,map:p,reduce:g,filter:v,bind:y,curry:x,isArray:_,isString:w,isObject:S,isFunction:b,isBuildInObject:M,isDom:A,eqNaN:T,retrieve:I,assert:L,noop:function(){}};t.exports=F},function(t,e,n){(function(e){function i(t){return function(e,n,i){e=e&&e.toLowerCase(),z.prototype[t].call(this,e,n,i)}}function r(){z.call(this)}function o(t,e,n){function i(t,e){return t.prio-e.prio}n=n||{},"string"==typeof e&&(e=at[e]),this.id,this.group,this._dom=t;var o=this._zr=O.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=E.throttle(R.bind(o.flush,o),17),this._theme=R.clone(e),this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._api=new M(this),this._coordSysMgr=new A,z.call(this),this._messageCenter=new r,this._initEvents(),this.resize=R.bind(this.resize,this),this._pendingActions=[],V(ot,i),V(it,i),o.animation.on("frame",this._onframe,this)}function a(t,e,n){var i,r=this._model,o=this._coordSysMgr.getCoordinateSystems();e=P.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}__DEV__}function s(t,e,n,i,r){var o=t._model,a={};a[i+"Id"]=n[i+"Id"],a[i+"Index"]=n[i+"Index"],a[i+"Name"]=n[i+"Name"];var s={mainType:i,query:a};r&&(s.subType=r),o&&o.eachComponent(s,function(r,a){var s=t["series"===i?"_chartsMap":"_componentsMap"][r.__viewId];s&&s.__alive&&s[e](r,o,t._api,n)},t)}function l(t,e){var n=t.type,i=et[n],r=i.actionInfo,o=(r.update||"update").split(":"),a=o.pop();o=o[0]&&F(o[0]),this[Z]=!0;var l=[t],u=!1;t.batch&&(u=!0,l=R.map(t.batch,function(e){return e=R.defaults(R.extend({},e),t),e.batch=null,e}));for(var c,h=[],f="highlight"===n||"downplay"===n,d=0;d<l.length;d++){var p=l[d];c=i.action(p,this._model),c=c||R.extend({},p),c.type=r.event||c.type,h.push(c),f?s(this,a,p,"series"):o&&s(this,a,p,o.main,o.sub)}"none"===a||f||o||(this[Y]?(Q.prepareAndUpdate.call(this,t),this[Y]=!1):Q[a].call(this,t)),c=u?{type:r.event||n,batch:h}:h[0],this[Z]=!1,!e&&this._messageCenter.trigger(c.type,c)}function u(t){for(var e=this._pendingActions;e.length;){var n=e.shift();l.call(this,n,t)}}function c(t){!t&&this.trigger("updated")}function h(t,e,n){var i=this._api;B(this._componentsViews,function(r){var o=r.__model;r[t](o,e,i,n),_(o,r)},this),e.eachSeries(function(r,o){var a=this._chartsMap[r.__viewId];a[t](r,e,i,n),_(r,a),x(r,a)},this),y(this._zr,e)}function f(t,e){for(var n="component"===t,i=n?this._componentsViews:this._chartsViews,r=n?this._componentsMap:this._chartsMap,o=this._zr,a=0;a<i.length;a++)i[a].__alive=!1;e[n?"eachComponent":"eachSeries"](function(t,a){if(n){if("series"===t)return}else a=t;var s=a.id+"_"+a.type,l=r[s];if(!l){var u=F(a.type),c=n?L.getClass(u.main,u.sub):D.getClass(u.sub);if(!c)return;l=new c,l.init(e,this._api),r[s]=l,i.push(l),o.add(l.group)}a.__viewId=s,l.__alive=!0,l.__id=s,l.__model=a},this);for(var a=0;a<i.length;){var s=i[a];s.__alive?a++:(o.remove(s.group),s.dispose(e,this._api),i.splice(a,1),delete r[s.__id])}}function d(t,e){B(it,function(n){n.func(t,e)})}function p(t){var e={};t.eachSeries(function(t){var n=t.get("stack"),i=t.getData();if(n&&"list"===i.type){var r=e[n];r&&(i.stackedOn=r),e[n]=i}})}function g(t,e){var n=this._api;B(ot,function(i){i.isLayout&&i.func(t,n,e)})}function v(t,e,n){var i=this._api;t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()}),B(ot,function(r){(!n||!r.isLayout)&&r.func(t,i,e)})}function m(t,e){var n=this._api;B(this._componentsViews,function(i){var r=i.__model;i.render(r,t,n,e),_(r,i)},this),B(this._chartsViews,function(t){t.__alive=!1},this),t.eachSeries(function(i,r){var o=this._chartsMap[i.__viewId];o.__alive=!0,o.render(i,t,n,e),o.group.silent=!!i.get("silent"),_(i,o),x(i,o)},this),y(this._zr,t),B(this._chartsViews,function(e){e.__alive||e.remove(t,n)},this)}function y(t,e){var n=t.storage,i=0;n.traverse(function(t){t.isGroup||i++}),i>e.get("hoverLayerThreshold")&&!w.node&&n.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}function x(t,e){var n=0;e.group.traverse(function(t){"group"===t.type||t.ignore||n++});var i=+t.get("progressive"),r=n>t.get("progressiveThreshold")&&i&&!w.node;r&&e.group.traverse(function(t){t.isGroup||(t.progressive=r?Math.floor(n++/i):-1,r&&t.stopAnimation(!0))});var o=t.get("blendMode")||null;__DEV__&&!w.canvasSupported&&o&&"source-over"!==o,e.group.traverse(function(t){t.isGroup||t.setStyle("blend",o)})}function _(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 b(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][i]=e}var n=0,i="__connectUpdateStatus";R.each(nt,function(r,o){t._messageCenter.on(o,function(r){if(ut[t.group]&&t[i]!==n){var o=t.makeActionFromEvent(r),a=[];R.each(lt,function(e){e!==t&&e.group===t.group&&a.push(e)}),e(a,n),B(a,function(t){1!==t[i]&&t.dispatchAction(o)}),e(a,2)}})})}"undefined"==typeof __DEV__&&("undefined"!=typeof window?window.__DEV__=!0:"undefined"!=typeof e&&(e.__DEV__=!0));var w=n(14),S=n(352),M=n(141),A=n(19),T=n(353),I=n(12),C=n(13),L=n(71),D=n(24),k=n(3),P=n(7),E=n(50),O=n(135),R=n(1),N=n(21),z=n(29),V=n(75),B=R.each,F=I.parseClassType,G=1e3,H=5e3,j=1e3,W=2e3,$=3e3,U=4e3,q=5e3,Z="__flagInMainProcess",X="__hasGradientOrPatternBg",Y="__optionUpdated",J=/^[a-zA-Z0-9_]+$/;r.prototype.on=i("on"),r.prototype.off=i("off"),r.prototype.one=i("one"),R.mixin(r,z);var K=o.prototype;K._onframe=function(){if(this[Y]){var t=this[Y].silent;this[Z]=!0,Q.prepareAndUpdate.call(this),this[Z]=!1,this[Y]=!1,u.call(this,t),c.call(this,t)}},K.getDom=function(){return this._dom},K.getZr=function(){return this._zr},K.setOption=function(t,e,n){__DEV__&&R.assert(!this[Z],"`setOption` should not be called during main process.");var i;if(R.isObject(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[Z]=!0,!this._model||e){var r=new T(this._api),o=this._theme;(this._model=new S(null,null,o,r)).init(null,null,o,r)}this.__lastOnlyGraphic=!(!t||!t.graphic),R.each(t,function(t,e){"graphic"!==e&&(this.__lastOnlyGraphic=!1)},this),this._model.setOption(t,rt),n?(this[Y]={silent:i},this[Z]=!1):(Q.prepareAndUpdate.call(this),this._zr.flush(),this[Y]=!1,this[Z]=!1,u.call(this,i),c.call(this,i))},K.setTheme=function(){},K.getModel=function(){return this._model},K.getOption=function(){return this._model&&this._model.getOption()},K.getWidth=function(){return this._zr.getWidth()},K.getHeight=function(){return this._zr.getHeight()},K.getRenderedCanvas=function(t){if(w.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr,n=e.storage.getDisplayList();return R.each(n,function(t){t.stopAnimation(!0)}),e.painter.getRenderedCanvas(t)}},K.getDataURL=function(t){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;B(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var o=this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return B(i,function(t){t.group.ignore=!1}),o},K.getConnectedDataURL=function(t){if(w.canvasSupported){var e=this.group,n=Math.min,i=Math.max,r=1/0;if(ut[e]){var o=r,a=r,s=-r,l=-r,u=[],c=t&&t.pixelRatio||1;R.each(lt,function(r,c){if(r.group===e){var h=r.getRenderedCanvas(R.clone(t)),f=r.getDom().getBoundingClientRect();o=n(f.left,o),a=n(f.top,a),s=i(f.right,s),l=i(f.bottom,l),u.push({dom:h,left:f.left,top:f.top})}}),o*=c,a*=c,s*=c,l*=c;var h=s-o,f=l-a,d=R.createCanvas();d.width=h,d.height=f;var p=O.init(d);return B(u,function(t){var e=new k.Image({style:{x:t.left*c-o,y:t.top*c-a,image:t.dom}});p.add(e)}),p.refreshImmediately(),d.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},K.convertToPixel=R.curry(a,"convertToPixel"),K.convertFromPixel=R.curry(a,"convertFromPixel"),K.containPixel=function(t,e){var n,i=this._model;return t=P.parseFinder(i,t),R.each(t,function(t,i){i.indexOf("Models")>=0&&R.each(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n|=!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint?n|=o.containPoint(e,t):__DEV__}else __DEV__},this)},this),!!n},K.getVisual=function(t,e){var n=this._model;t=P.parseFinder(n,t,{defaultMainType:"series"});var i=t.seriesModel;__DEV__;var r=i.getData(),o=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?r.indexOfRawIndex(t.dataIndex):null;return null!=o?r.getItemVisual(o,e):r.getVisual(e)};var Q={update:function(t){var e=this._model,n=this._api,i=this._coordSysMgr,r=this._zr;if(e){e.restoreData(),i.create(this._model,this._api),d.call(this,e,n),p.call(this,e),i.update(e,n),v.call(this,e,t),m.call(this,e,t);var o=e.get("backgroundColor")||"transparent",a=r.painter;if(a.isSingleCanvas&&a.isSingleCanvas())r.configLayer(0,{clearColor:o});else{if(!w.canvasSupported){var s=N.parse(o);o=N.stringify(s,"rgb"),0===s[3]&&(o="transparent")}o.colorStops||o.image?(r.configLayer(0,{clearColor:o}),this[X]=!0,this._dom.style.background="transparent"):(this[X]&&r.configLayer(0,{clearColor:null}),this[X]=!1,this._dom.style.background=o)}}},updateView:function(t){var e=this._model;e&&(e.eachSeries(function(t){t.getData().clearAllVisual()}),v.call(this,e,t),h.call(this,"updateView",e,t))},updateVisual:function(t){var e=this._model;e&&(e.eachSeries(function(t){t.getData().clearAllVisual()}),v.call(this,e,t,!0),h.call(this,"updateVisual",e,t))},updateLayout:function(t){var e=this._model;e&&(g.call(this,e,t),h.call(this,"updateLayout",e,t))},prepareAndUpdate:function(t){var e=this._model;f.call(this,"component",e),f.call(this,"chart",e),this.__lastOnlyGraphic?(B(this._componentsViews,function(n){var i=n.__model;i&&"graphic"===i.mainType&&(n.render(i,e,this._api,t),_(i,n))},this),this.__lastOnlyGraphic=!1):Q.update.call(this,t)}};K.resize=function(t){__DEV__&&R.assert(!this[Z],"`resize` should not be called during main process."),this[Z]=!0,this._zr.resize(t),Q[this._model&&this._model.resetOption("media")?"prepareAndUpdate":"update"].call(this),this._loadingFX&&this._loadingFX.resize(),this[Z]=!1;var e=t&&t.silent;u.call(this,e),c.call(this,e)},K.showLoading=function(t,e){if(R.isObject(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),!st[t])return void __DEV__;var n=st[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)},K.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},K.makeActionFromEvent=function(t){var e=R.extend({},t);return e.type=nt[t.type],e},K.dispatchAction=function(t,e){if(R.isObject(e)||(e={silent:!!e}),et[t.type]){if(this[Z])return void this._pendingActions.push(t);l.call(this,t,e.silent),e.flush?this._zr.flush(!0):e.flush!==!1&&w.browser.weChat&&this._throttledZrFlush(),u.call(this,e.silent),c.call(this,e.silent)}},K.on=i("on"),K.off=i("off"),K.one=i("one");var tt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];K._initEvents=function(){B(tt,function(t){this._zr.on(t,function(e){var n,i=this.getModel(),r=e.target;if("globalout"===t)n={};else if(r&&null!=r.dataIndex){var o=r.dataModel||i.getSeriesByIndex(r.seriesIndex);n=o&&o.getDataParams(r.dataIndex,r.dataType)||{}}else r&&r.eventData&&(n=R.extend({},r.eventData));n&&(n.event=e,n.type=t,this.trigger(t,n))},this)},this),B(nt,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},K.isDisposed=function(){return this._disposed},K.clear=function(){this.setOption({series:[]},!0)},K.dispose=function(){if(this._disposed)return void __DEV__;this._disposed=!0;var t=this._api,e=this._model;B(this._componentsViews,function(n){n.dispose(e,t)}),B(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),delete lt[this.id]},R.mixin(o,z);var et=[],nt={},it=[],rt=[],ot=[],at={},st={},lt={},ut={},ct=new Date-0,ht=new Date-0,ft="_echarts_instance_",dt={version:"3.4.0",dependencies:{zrender:"3.3.0"}};dt.init=function(t,e,n){if(__DEV__){if(O.version.replace(".","")-0<dt.dependencies.zrender.replace(".","")-0)throw new Error("ZRender "+O.version+" is too old for ECharts "+dt.version+". Current version need ZRender "+dt.dependencies.zrender+"+");if(!t)throw new Error("Initialize failed: invalid dom.");R.isDom(t)&&"CANVAS"!==t.nodeName.toUpperCase()&&(!t.clientWidth||!t.clientHeight)}var i=new o(t,e,n);return i.id="ec_"+ct++,lt[i.id]=i,t.setAttribute&&t.setAttribute(ft,i.id),b(i),i},dt.connect=function(t){if(R.isArray(t)){var e=t;t=null,R.each(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+ht++,R.each(e,function(e){e.group=t})}return ut[t]=!0,t},dt.disConnect=function(t){ut[t]=!1},dt.dispose=function(t){R.isDom(t)?t=dt.getInstanceByDom(t):"string"==typeof t&&(t=lt[t]),t instanceof o&&!t.isDisposed()&&t.dispose()},dt.getInstanceByDom=function(t){return lt[t.getAttribute(ft)]},dt.getInstanceById=function(t){return lt[t]},dt.registerTheme=function(t,e){at[t]=e},dt.registerPreprocessor=function(t){rt.push(t)},dt.registerProcessor=function(t,e){if("function"==typeof t&&(e=t,t=G),__DEV__&&isNaN(t))throw new Error("Unkown processor priority");it.push({prio:t,func:e})},dt.registerAction=function(t,e,n){"function"==typeof e&&(n=e,e="");var i=R.isObject(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,R.assert(J.test(i)&&J.test(e)),et[i]||(et[i]={action:n,actionInfo:t}),nt[e]=i},dt.registerCoordinateSystem=function(t,e){A.register(t,e)},dt.registerLayout=function(t,e){if("function"==typeof t&&(e=t,t=j),__DEV__&&isNaN(t))throw new Error("Unkown layout priority");ot.push({prio:t,func:e,isLayout:!0})},dt.registerVisual=function(t,e){if("function"==typeof t&&(e=t,t=$),__DEV__&&isNaN(t))throw new Error("Unkown visual priority");ot.push({prio:t,func:e})},dt.registerLoading=function(t,e){st[t]=e},dt.extendComponentModel=function(t){return I.extend(t)},dt.extendComponentView=function(t){return L.extend(t)},dt.extendSeriesModel=function(t){return C.extend(t)},dt.extendChartView=function(t){return D.extend(t)},dt.setCanvasCreator=function(t){R.createCanvas=t},dt.registerVisual(W,n(367)),dt.registerPreprocessor(n(360)),dt.registerLoading("default",n(351)),dt.registerAction({type:"highlight",event:"highlight",update:"highlight"},R.noop),dt.registerAction({type:"downplay",event:"downplay",update:"downplay"},R.noop),dt.List=n(10),dt.Model=n(11),dt.graphic=n(3),dt.number=n(4),dt.format=n(6),dt.throttle=E.throttle,dt.matrix=n(20),dt.vector=n(5),dt.color=n(21),dt.util={},B(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone"],function(t){dt.util[t]=R[t]}),dt.PRIORITY={PROCESSOR:{FILTER:G,STATISTIC:H},VISUAL:{LAYOUT:j,GLOBAL:W,CHART:$,COMPONENT:U,BRUSH:q}},t.exports=dt}).call(e,function(){return this}())},function(t,e,n){"use strict";function i(t){return null!=t&&"none"!=t}function r(t){return"string"==typeof t?_.lift(t,-.1):t}function o(t){if(t.__hoverStlDirty){var e=t.style.stroke,n=t.style.fill,o=t.__hoverStl;o.fill=o.fill||(i(n)?r(n):null),o.stroke=o.stroke||(i(e)?r(e):null);var a={};for(var s in o)o.hasOwnProperty(s)&&(a[s]=t.style[s]);t.__normalStl=a,t.__hoverStlDirty=!1}}function a(t){t.__isHover||(o(t),t.useHoverLayer?t.__zr&&t.__zr.addHover(t,t.__hoverStl):(t.setStyle(t.__hoverStl),
t.z2+=1),t.__isHover=!0)}function s(t){if(t.__isHover){var e=t.__normalStl;t.useHoverLayer?t.__zr&&t.__zr.removeHover(t):(e&&t.setStyle(e),t.z2-=1),t.__isHover=!1}}function l(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&&a(t)}):a(t)}function u(t){"group"===t.type?t.traverse(function(t){"group"!==t.type&&s(t)}):s(t)}function c(t,e){t.__hoverStl=t.hoverStyle||e||{},t.__hoverStlDirty=!0,t.__isHover&&o(t)}function h(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&l(this)}function f(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasis&&u(this)}function d(){this.__isEmphasis=!0,l(this)}function p(){this.__isEmphasis=!1,u(this)}function g(t,e,n,i,r,o){if("function"==typeof r&&(o=r,r=null),i&&i.isAnimationEnabled()){var a=t?"Update":"",s=i.getShallow("animationDuration"+a),l=i.getShallow("animationEasing"+a),u=i.getShallow("animationDelay"+a);"function"==typeof u&&(u=u(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"==typeof s&&(s=s(r)),s>0?e.animateTo(n,s,u||0,l,o):(e.attr(n),o&&o())}else e.attr(n),o&&o()}var v=n(1),m=n(409),y=Math.round,x=n(15),_=n(21),b=n(20),w=n(5),S={};S.Group=n(53),S.Image=n(76),S.Text=n(130),S.Circle=n(400),S.Sector=n(406),S.Ring=n(405),S.Polygon=n(402),S.Polyline=n(403),S.Rect=n(404),S.Line=n(401),S.BezierCurve=n(399),S.Arc=n(398),S.CompoundPath=n(393),S.LinearGradient=n(127),S.RadialGradient=n(394),S.BoundingRect=n(9),S.extendShape=function(t){return x.extend(t)},S.extendPath=function(t,e){return m.extendFromString(t,e)},S.makePath=function(t,e,n,i){var r=m.createFromString(t,e),o=r.getBoundingRect();if(n){var a=o.width/o.height;if("center"===i){var s,l=n.height*a;l<=n.width?s=n.height:(l=n.width,s=l/a);var u=n.x+n.width/2,c=n.y+n.height/2;n.x=u-l/2,n.y=c-s/2,n.width=l,n.height=s}S.resizePath(r,n)}return r},S.mergePath=m.mergePath,S.resizePath=function(t,e){if(t.applyTransform){var n=t.getBoundingRect(),i=n.calculateTransform(e);t.applyTransform(i)}},S.subPixelOptimizeLine=function(t){var e=S.subPixelOptimize,n=t.shape,i=t.style.lineWidth;return y(2*n.x1)===y(2*n.x2)&&(n.x1=n.x2=e(n.x1,i,!0)),y(2*n.y1)===y(2*n.y2)&&(n.y1=n.y2=e(n.y1,i,!0)),t},S.subPixelOptimizeRect=function(t){var e=S.subPixelOptimize,n=t.shape,i=t.style.lineWidth,r=n.x,o=n.y,a=n.width,s=n.height;return n.x=e(n.x,i,!0),n.y=e(n.y,i,!0),n.width=Math.max(e(r+a,i,!1)-n.x,0===a?0:1),n.height=Math.max(e(o+s,i,!1)-n.y,0===s?0:1),t},S.subPixelOptimize=function(t,e,n){var i=y(2*t);return(i+y(e))%2===0?i/2:(i+(n?1:-1))/2},S.setHoverStyle=function(t,e,n){t.__hoverSilentOnTouch=n&&n.hoverSilentOnTouch,"group"===t.type?t.traverse(function(t){"group"!==t.type&&c(t,e)}):c(t,e),t.on("mouseover",h).on("mouseout",f),t.on("emphasis",d).on("normal",p)},S.setText=function(t,e,n){var i=e.getShallow("position")||"inside",r=e.getShallow("offset"),o=i.indexOf("inside")>=0?"white":n,a=e.getModel("textStyle");v.extend(t,{textDistance:e.getShallow("distance")||5,textFont:a.getFont(),textPosition:i,textOffset:r,textFill:a.getTextColor()||o})},S.updateProps=function(t,e,n,i,r){g(!0,t,e,n,i,r)},S.initProps=function(t,e,n,i,r){g(!1,t,e,n,i,r)},S.getTransform=function(t,e){for(var n=b.identity([]);t&&t!==e;)b.mul(n,t.getLocalTransform(),n),t=t.parent;return n},S.applyTransform=function(t,e,n){return n&&(e=b.invert([],e)),w.applyTransform([],t,e)},S.transformDirection=function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=S.applyTransform(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},S.groupTransition=function(t,e,n,i){function r(t){var e={};return t.traverse(function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)}),e}function o(t){var e={position:w.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=v.extend({},t.shape)),e}if(t&&e){var a=r(t);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var i=o(t);t.attr(o(e)),S.updateProps(t,i,n,t.dataIndex)}}})}},t.exports=S},function(t,e){function n(t){return t.replace(/^\s+/,"").replace(/\s+$/,"")}var i={},r=1e-4;i.linearMap=function(t,e,n,i){var r=e[1]-e[0],o=n[1]-n[0];if(0===r)return 0===o?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/r*o+n[0]},i.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?n(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t},i.round=function(t,e){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),+(+t).toFixed(e)},i.asc=function(t){return t.sort(function(t,e){return t-e}),t},i.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},i.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf(".");return n<0?0:e.length-1-n},i.getPixelPrecision=function(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20},i.MAX_SAFE_INTEGER=9007199254740991,i.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},i.isRadianAroundZero=function(t){return t>-1e-4&&t<r},i.parseDate=function(t){if(t instanceof Date)return t;if("string"==typeof t){var e=new Date(t);return isNaN(+e)&&(e=new Date(new Date(t.replace(/-/g,"/"))-new Date("1970/01/01"))),e}return new Date(Math.round(t))},i.quantity=function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},i.nice=function(t,e){var n,r=i.quantity(t),o=t/r;return n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,n*r},i.reformIntervals=function(t){function e(t,n,i){return t.interval[i]<n.interval[i]||t.interval[i]===n.interval[i]&&(t.close[i]-n.close[i]===(i?-1:1)||!i&&e(t,n,1))}t.sort(function(t,n){return e(t,n,0)?-1:1});for(var n=-(1/0),i=1,r=0;r<t.length;){for(var o=t[r].interval,a=t[r].close,s=0;s<2;s++)o[s]<=n&&(o[s]=n,a[s]=s?1:1-i),n=o[s],i=a[s];o[0]===o[1]&&a[0]*a[1]!==1?t.splice(r,1):r++}return t},i.isNumeric=function(t){return t-parseFloat(t)>=0},t.exports=i},function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array,i={create:function(t,e){var i=new n(2);return null==t&&(t=0),null==e&&(e=0),i[0]=t,i[1]=e,i},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},clone:function(t){var e=new n(2);return e[0]=t[0],e[1]=t[1],e},set:function(t,e,n){return t[0]=e,t[1]=n,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},scaleAndAdd:function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},len:function(t){return Math.sqrt(this.lenSquare(t))},lenSquare:function(t){return t[0]*t[0]+t[1]*t[1]},mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},normalize:function(t,e){var n=i.len(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t},distance:function(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))},distanceSquare:function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},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},applyTransform:function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}};i.length=i.len,i.lengthSquare=i.lenSquare,i.dist=i.distance,i.distSquare=i.distanceSquare,t.exports=i},function(t,e,n){var i=n(1),r=n(4),o=n(25),a={};a.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:""))},a.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},a.normalizeCssArray=function(t){var e=t.length;return"number"==typeof t?[t,t,t,t]:2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t};var s=a.encodeHTML=function(t){return String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")},l=["a","b","c","d","e","f","g"],u=function(t,e){return"{"+t+(null==e?"":e)+"}"};a.formatTpl=function(t,e,n){i.isArray(e)||(e=[e]);var r=e.length;if(!r)return"";for(var o=e[0].$vars||[],a=0;a<o.length;a++){var c=l[a],h=u(c,0);t=t.replace(u(c),n?s(h):h)}for(var f=0;f<r;f++)for(var d=0;d<o.length;d++){var h=e[f][o[d]];t=t.replace(u(l[d],f),n?s(h):h)}return t};var c=function(t){return t<10?"0"+t:t};a.formatTime=function(t,e){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=r.parseDate(e),i=n.getFullYear(),o=n.getMonth()+1,a=n.getDate(),s=n.getHours(),l=n.getMinutes(),u=n.getSeconds();return t=t.replace("MM",c(o)).toLowerCase().replace("yyyy",i).replace("yy",i%100).replace("dd",c(a)).replace("d",a).replace("hh",c(s)).replace("h",s).replace("mm",c(l)).replace("m",l).replace("ss",c(u)).replace("s",u)},a.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},a.truncateText=o.truncateText,t.exports=a},function(t,e,n){function i(t,e){return t&&t.hasOwnProperty(e)}var r=n(6),o=n(4),a=n(11),s=n(1),l=s.each,u=s.isObject,c={};c.normalizeToArray=function(t){return t instanceof Array?t:null==t?[]:[t]},c.defaultEmphasis=function(t,e){if(t){var n=t.emphasis=t.emphasis||{},i=t.normal=t.normal||{};l(e,function(t){var e=s.retrieve(n[t],i[t]);null!=e&&(n[t]=e)})}},c.LABEL_OPTIONS=["position","offset","show","textStyle","distance","formatter"],c.getDataItemValue=function(t){return t&&(null==t.value?t:t.value)},c.isDataItemOption=function(t){return u(t)&&!(t instanceof Array)},c.converDataValue=function(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||isFinite(t)||null==t||"-"===t||(t=+o.parseDate(t)),null==t||""===t?NaN:+t)},c.createDataFormatModel=function(t,e){var n=new a;return s.mixin(n,c.dataFormatMixin),n.seriesIndex=e.seriesIndex,n.name=e.name||"",n.mainType=e.mainType,n.subType=e.subType,n.getData=function(){return t},n},c.dataFormatMixin={getDataParams:function(t,e){var n=this.getData(e),i=this.seriesIndex,r=this.name,o=this.getRawValue(t,e),a=n.getRawIndex(t),s=n.getName(t,!0),l=n.getRawDataItem(t);return{componentType:this.mainType,componentSubType:this.subType,seriesType:"series"===this.mainType?this.subType:null,seriesIndex:i,seriesName:r,name:s,dataIndex:a,data:l,dataType:e,value:o,color:n.getItemVisual(t,"color"),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,i){e=e||"normal";var o=this.getData(n),a=o.getItemModel(t),s=this.getDataParams(t,n);null!=i&&s.value instanceof Array&&(s.value=s.value[i]);var l=a.get(["label",e,"formatter"]);return"function"==typeof l?(s.status=e,l(s)):"string"==typeof l?r.formatTpl(l,s):void 0},getRawValue:function(t,e){var n=this.getData(e),i=n.getRawDataItem(t);if(null!=i)return!u(i)||i instanceof Array?i:i.value},formatTooltip:s.noop},c.mappingToExists=function(t,e){e=(e||[]).slice();var n=s.map(t||[],function(t,e){return{exist:t}});return l(e,function(t,i){if(u(t)){for(var r=0;r<n.length;r++)if(!n[r].option&&null!=t.id&&n[r].exist.id===t.id+"")return n[r].option=t,void(e[i]=null);for(var r=0;r<n.length;r++){var o=n[r].exist;if(!(n[r].option||null!=o.id&&null!=t.id||null==t.name||c.isIdInner(t)||c.isIdInner(o)||o.name!==t.name+""))return n[r].option=t,void(e[i]=null)}}}),l(e,function(t,e){if(u(t)){for(var i=0;i<n.length;i++){var r=n[i].exist;if(!n[i].option&&!c.isIdInner(r)&&null==t.id){n[i].option=t;break}}i>=n.length&&n.push({option:t})}}),n},c.makeIdAndName=function(t){var e={};l(t,function(t,n){var i=t.exist;i&&(e[i.id]=t)}),l(t,function(t,n){var i=t.option;s.assert(!i||null==i.id||!e[i.id]||e[i.id]===t,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&(e[i.id]=t),!t.keyInfo&&(t.keyInfo={})}),l(t,function(t,n){var i=t.exist,r=t.option,o=t.keyInfo;if(u(r)){if(o.name=null!=r.name?r.name+"":i?i.name:"\0-",i)o.id=i.id;else if(null!=r.id)o.id=r.id+"";else{var a=0;do o.id="\0"+o.name+"\0"+a++;while(e[o.id])}e[o.id]=t}})},c.isIdInner=function(t){return u(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")},c.compressBatches=function(t,e){function n(t,e,n){for(var i=0,r=t.length;i<r;i++)for(var o=t[i].seriesId,a=c.normalizeToArray(t[i].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var h=a[l];s&&s[h]?s[h]=null:(e[o]||(e[o]={}))[h]=1}}function i(t,e){var n=[];for(var r in t)if(t.hasOwnProperty(r)&&null!=t[r])if(e)n.push(+r);else{var o=i(t[r],!0);o.length&&n.push({seriesId:r,dataIndex:o})}return n}var r={},o={};return n(t||[],r),n(e||[],o,r),[i(r),i(o)]},c.queryDataIndex=function(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?s.isArray(e.dataIndex)?s.map(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?s.isArray(e.name)?s.map(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0},c.parseFinder=function(t,e,n){if(s.isString(e)){var r={};r[e+"Index"]=0,e=r}var o=n&&n.defaultMainType;!o||i(e,o+"Index")||i(e,o+"Id")||i(e,o+"Name")||(e[o+"Index"]=0);var a={};return l(e,function(n,i){var n=e[i];if("dataIndex"===i||"dataIndexInside"===i)return void(a[i]=n);var r=i.match(/^(\w+)(Index|Id|Name)$/)||[],o=r[1],s=r[2];if(o&&s){var l={mainType:o};l[s.toLowerCase()]=n;var u=t.queryComponents(l);a[o+"Models"]=u,a[o+"Model"]=u[0]}}),a},t.exports=c},function(t,e,n){"use strict";function i(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var c,h,f=l.position,d=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var v=d.width+(g?-g.x+d.x:0);c=o+v,c>i||l.newline?(o=0,c=v,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var m=d.height+(g?-g.y+d.y:0);h=a+m,h>r||l.newline?(o+=s+n,a=0,h=m,s=d.width):s=Math.max(s,d.width)}l.newline||(f[0]=o,f[1]=a,"horizontal"===t?o=c+n:a=h+n)})}var r=n(1),o=n(9),a=n(4),s=n(6),l=a.parsePercent,u=r.each,c={},h=c.LOCATION_PARAMS=["left","right","top","bottom","width","height"];c.box=i,c.vbox=r.curry(i,"vertical"),c.hbox=r.curry(i,"horizontal"),c.getAvailableSize=function(t,e,n){var i=e.width,r=e.height,o=l(t.x,i),a=l(t.y,r),u=l(t.x2,i),c=l(t.y2,r);return(isNaN(o)||isNaN(parseFloat(t.x)))&&(o=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=i),(isNaN(a)||isNaN(parseFloat(t.y)))&&(a=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=r),n=s.normalizeCssArray(n||0),{width:Math.max(u-o-n[1]-n[3],0),height:Math.max(c-a-n[0]-n[2],0)}},c.getLayoutRect=function(t,e,n){n=s.normalizeCssArray(n||0);var i=e.width,r=e.height,a=l(t.left,i),u=l(t.top,r),c=l(t.right,i),h=l(t.bottom,r),f=l(t.width,i),d=l(t.height,r),p=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(f)&&(f=i-c-g-a),isNaN(d)&&(d=r-h-p-u),isNaN(f)&&isNaN(d)&&(v>i/r?f=.8*i:d=.8*r),null!=v&&(isNaN(f)&&(f=v*d),isNaN(d)&&(d=f/v)),isNaN(a)&&(a=i-c-f-g),isNaN(u)&&(u=r-h-d-p),t.left||t.right){case"center":a=i/2-f/2-n[3];break;case"right":a=i-f-g}switch(t.top||t.bottom){case"middle":case"center":u=r/2-d/2-n[0];break;case"bottom":u=r-d-p}a=a||0,u=u||0,isNaN(f)&&(f=i-a-(c||0)),isNaN(d)&&(d=r-u-(h||0));var m=new o(a+n[3],u+n[0],f,d);return m.margin=n,m},c.positionElement=function(t,e,n,i,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===t.type?new o(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(h=t.getBoundingRect(),t.needLocalTransform()){var f=t.getLocalTransform();h=h.clone(),h.applyTransform(f)}e=c.getLayoutRect(r.defaults({width:h.width,height:h.height},e),n,i);var d=t.position,p=s?e.x-h.x:0,g=l?e.y-h.y:0;t.attr("position","raw"===u?[p,g]:[d[0]+p,d[1]+g])}},c.mergeLayoutParam=function(t,e,n){function i(i){var r={},s=0,l={},c=0,h=n.ignoreSize?1:2;if(u(i,function(e){l[e]=t[e]}),u(i,function(t){o(e,t)&&(r[t]=l[t]=e[t]),a(r,t)&&s++,a(l,t)&&c++}),c!==h&&s){if(s>=h)return r;for(var f=0;f<i.length;f++){var d=i[f];if(!o(r,d)&&o(t,d)){r[d]=t[d];break}}return r}return l}function o(t,e){return t.hasOwnProperty(e)}function a(t,e){return null!=t[e]&&"auto"!==t[e]}function s(t,e,n){u(t,function(t){e[t]=n[t]})}!r.isObject(n)&&(n={});var l=["width","left","right"],c=["height","top","bottom"],h=i(l),f=i(c);s(l,t,h),s(c,t,f)},c.getLayoutParams=function(t){return c.copyLayoutParams({},t)},c.copyLayoutParams=function(t,e){return e&&t&&u(h,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t},t.exports=c},function(t,e,n){"use strict";function i(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}var r=n(5),o=n(20),a=r.applyTransform,s=Math.min,l=Math.max;i.prototype={constructor:i,union:function(t){var e=s(t.x,this.x),n=s(t.y,this.y);this.width=l(t.x+t.width,this.x+this.width)-e,this.height=l(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:function(){var t=[],e=[],n=[],i=[];return function(r){if(r){t[0]=n[0]=this.x,t[1]=i[1]=this.y,e[0]=i[0]=this.x+this.width,e[1]=n[1]=this.y+this.height,a(t,t,r),a(e,e,r),a(n,n,r),a(i,i,r),this.x=s(t[0],e[0],n[0],i[0]),this.y=s(t[1],e[1],n[1],i[1]);var o=l(t[0],e[0],n[0],i[0]),u=l(t[1],e[1],n[1],i[1]);this.width=o-this.x,this.height=u-this.y}}}(),calculateTransform:function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=o.create();return o.translate(r,r,[-e.x,-e.y]),o.scale(r,r,[n,i]),o.translate(r,r,[t.x,t.y]),r},intersect:function(t){if(!t)return!1;t instanceof i||(t=i.create(t));var e=this,n=e.x,r=e.x+e.width,o=e.y,a=e.y+e.height,s=t.x,l=t.x+t.width,u=t.y,c=t.y+t.height;return!(r<s||l<n||a<u||c<o)},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 i(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}}},i.create=function(t){return new i(t.x,t.y,t.width,t.height)},t.exports=i},function(t,e,n){(function(e){function i(t){return f.isArray(t)||(t=[t]),t}function r(t,e){var n=t.dimensions,i=new m(f.map(n,t.getDimensionInfo,t),t.hostModel);v(i,t);for(var r=i._storage={},o=t._storage,a=0;a<n.length;a++){var s=n[a],l=o[s];f.indexOf(e,s)>=0?r[s]=new l.constructor(o[s].length):r[s]=o[s]}return i}var o="undefined",a="undefined"==typeof window?e:window,s=typeof a.Float64Array===o?Array:a.Float64Array,l=typeof a.Int32Array===o?Array:a.Int32Array,u={float:s,int:l,ordinal:Array,number:Array,time:Array},c=n(11),h=n(40),f=n(1),d=n(7),p=f.isObject,g=["stackedOn","hasItemOption","_nameList","_idList","_rawData"],v=function(t,e){f.each(g.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods},m=function(t,e){t=t||["x","y"];for(var n={},i=[],r=0;r<t.length;r++){var o,a={};"string"==typeof t[r]?(o=t[r],a={name:o,stackable:!1,type:"number"}):(a=t[r],o=a.name,a.type=a.type||"number"),i.push(o),n[o]=a}this.dimensions=i,this._dimensionInfos=n,this.hostModel=e,this.dataType,this.indices=[],this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this.stackedOn=null,this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._rawData,this._extent},y=m.prototype;y.type="list",y.hasItemOption=!0,y.getDimension=function(t){return isNaN(t)||(t=this.dimensions[t]||t),t},y.getDimensionInfo=function(t){return f.clone(this._dimensionInfos[this.getDimension(t)])},y.initData=function(t,e,n){if(t=t||[],__DEV__&&!f.isArray(t))throw new Error("Invalid data.");this._rawData=t;var i=this._storage={},r=this.indices=[],o=this.dimensions,a=t.length,s=this._dimensionInfos,l=[],c={};e=e||[];for(var h=0;h<o.length;h++){var p=s[o[h]],g=u[p.type];i[o[h]]=new g(a)}var v=this;n||(v.hasItemOption=!1),n=n||function(t,e,n,i){var r=d.getDataItemValue(t);return d.isDataItemOption(t)&&(v.hasItemOption=!0),d.converDataValue(r instanceof Array?r[i]:r,s[e])};for(var m=0;m<t.length;m++){for(var y=t[m],x=0;x<o.length;x++){var _=o[x];i[_][m]=n(y,_,m,x)}r.push(m)}for(var h=0;h<t.length;h++){e[h]||t[h]&&null!=t[h].name&&(e[h]=t[h].name);var b=e[h]||"",w=t[h]&&t[h].id;!w&&b&&(c[b]=c[b]||0,w=b,c[b]>0&&(w+="__ec__"+c[b]),c[b]++),w&&(l[h]=w)}this._nameList=e,this._idList=l},y.count=function(){return this.indices.length},y.get=function(t,e,n){var i=this._storage,r=this.indices[e];if(null==r)return NaN;var o=i[t]&&i[t][r];if(n){var a=this._dimensionInfos[t];if(a&&a.stackable)for(var s=this.stackedOn;s;){var l=s.get(t,e);(o>=0&&l>0||o<=0&&l<0)&&(o+=l),s=s.stackedOn}}return o},y.getValues=function(t,e,n){var i=[];f.isArray(t)||(n=e,e=t,t=this.dimensions);for(var r=0,o=t.length;r<o;r++)i.push(this.get(t[r],e,n));return i},y.hasValue=function(t){for(var e=this.dimensions,n=this._dimensionInfos,i=0,r=e.length;i<r;i++)if("ordinal"!==n[e[i]].type&&isNaN(this.get(e[i],t)))return!1;return!0},y.getDataExtent=function(t,e,n){t=this.getDimension(t);var i=this._storage[t],r=this.getDimensionInfo(t);e=r&&r.stackable&&e;var o,a=(this._extent||(this._extent={}))[t+!!e];if(a)return a;if(i){for(var s=1/0,l=-(1/0),u=0,c=this.count();u<c;u++)o=this.get(t,u,e),n&&!n(o,t,u)||(o<s&&(s=o),o>l&&(l=o));return this._extent[t+!!e]=[s,l]}return[1/0,-(1/0)]},y.getSum=function(t,e){var n=this._storage[t],i=0;if(n)for(var r=0,o=this.count();r<o;r++){var a=this.get(t,r,e);isNaN(a)||(i+=a)}return i},y.indexOf=function(t,e){var n=this._storage,i=n[t],r=this.indices;if(i)for(var o=0,a=r.length;o<a;o++){var s=r[o];if(i[s]===e)return o}return-1},y.indexOfName=function(t){for(var e=this.indices,n=this._nameList,i=0,r=e.length;i<r;i++)if(n[e[i]]===t)return i;return-1},y.indexOfRawIndex=function(t){var e=this.indices,n=e[t];if(null!=n&&n===t)return t;for(var i=0,r=e.length-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},y.indexOfNearest=function(t,e,n,i){var r=this._storage,o=r[t];null==i&&(i=1/0);var a=-1;if(o)for(var s=Number.MAX_VALUE,l=0,u=this.count();l<u;l++){var c=e-this.get(t,l,n),h=Math.abs(c);c<=i&&(h<s||h===s&&c>0)&&(s=h,a=l)}return a},y.getRawIndex=function(t){var e=this.indices[t];return null==e?-1:e},y.getRawDataItem=function(t){return this._rawData[this.getRawIndex(t)]},y.getName=function(t){return this._nameList[this.indices[t]]||""},y.getId=function(t){return this._idList[this.indices[t]]||this.getRawIndex(t)+""},y.each=function(t,e,n,r){"function"==typeof t&&(r=n,n=e,e=t,t=[]),t=f.map(i(t),this.getDimension,this);var o=[],a=t.length,s=this.indices;r=r||this;for(var l=0;l<s.length;l++)switch(a){case 0:e.call(r,l);break;case 1:e.call(r,this.get(t[0],l,n),l);break;case 2:e.call(r,this.get(t[0],l,n),this.get(t[1],l,n),l);break;default:for(var u=0;u<a;u++)o[u]=this.get(t[u],l,n);o[u]=l,e.apply(r,o)}},y.filterSelf=function(t,e,n,r){"function"==typeof t&&(r=n,n=e,e=t,t=[]),t=f.map(i(t),this.getDimension,this);var o=[],a=[],s=t.length,l=this.indices;r=r||this;for(var u=0;u<l.length;u++){var c;if(1===s)c=e.call(r,this.get(t[0],u,n),u);else{for(var h=0;h<s;h++)a[h]=this.get(t[h],u,n);a[h]=u,c=e.apply(r,a)}c&&o.push(l[u])}return this.indices=o,this._extent={},this},y.mapArray=function(t,e,n,i){"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,i),r},y.map=function(t,e,n,o){t=f.map(i(t),this.getDimension,this);var a=r(this,t),s=a.indices=this.indices,l=a._storage,u=[];return this.each(t,function(){var n=arguments[arguments.length-1],i=e&&e.apply(this,arguments);if(null!=i){"number"==typeof i&&(u[0]=i,i=u);for(var r=0;r<i.length;r++){var o=t[r],a=l[o],c=s[n];a&&(a[c]=i[r])}}},n,o),a},y.downSample=function(t,e,n,i){for(var o=r(this,[t]),a=this._storage,s=o._storage,l=this.indices,u=o.indices=[],c=[],h=[],f=Math.floor(1/e),d=s[t],p=this.count(),g=0;g<a[t].length;g++)s[t][g]=a[t][g];for(var g=0;g<p;g+=f){f>p-g&&(f=p-g,c.length=f);for(var v=0;v<f;v++){var m=l[g+v];c[v]=d[m],h[v]=m}var y=n(c),m=h[i(c,y)||0];d[m]=y,u.push(m)}return o},y.getItemModel=function(t){var e=this.hostModel;return t=this.indices[t],new c(this._rawData[t],e,e&&e.ecModel)},y.diff=function(t){var e,n=this._idList,i=t&&t._idList,r="e\0\0";return new h(t?t.indices:[],this.indices,function(t){return null!=(e=i[t])?e:r+t},function(t){return null!=(e=n[t])?e:r+t})},y.getVisual=function(t){var e=this._visual;return e&&e[t]},y.setVisual=function(t,e){if(p(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},y.setLayout=function(t,e){if(p(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},y.getLayout=function(t){return this._layout[t]},y.getItemLayout=function(t){return this._itemLayouts[t]},y.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?f.extend(this._itemLayouts[t]||{},e):e},y.clearItemLayouts=function(){this._itemLayouts.length=0},y.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],r=i&&i[e];return null!=r||n?r:this.getVisual(e)},y.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};if(this._itemVisuals[t]=i,p(e))for(var r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);else i[e]=n},y.clearAllVisual=function(){this._visual={},this._itemVisuals=[]};var x=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};y.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(x,e)),this._graphicEls[t]=e},y.getItemGraphicEl=function(t){return this._graphicEls[t]},y.eachItemGraphicEl=function(t,e){f.each(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},y.cloneShallow=function(){var t=f.map(this.dimensions,this.getDimensionInfo,this),e=new m(t,this.hostModel);return e._storage=this._storage,v(e,this),e.indices=this.indices.slice(),this._extent&&(e._extent=f.extend({},this._extent)),e},y.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(f.slice(arguments)))})},y.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],y.CHANGABLE_METHODS=["filterSelf"],t.exports=m}).call(e,function(){return this}())},function(t,e,n){function i(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function r(t,e,n){for(var i=0;i<e.length&&(!e[i]||(t=t&&"object"==typeof t?t[e[i]]:null,null!=t));i++);return null==t&&n&&(t=n.get(e)),t}function o(t,e){var n=s.get(t,"getParent");return n?n.call(t,e):t.parentModel}var a=n(1),s=n(23),l=n(14);i.prototype={constructor:i,init:null,mergeOption:function(t){a.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:r(this.option,this.parsePath(t),!e&&o(this,t))},getShallow:function(t,e){var n=this.option,i=null==n?n:n[t],r=!e&&o(this,t);return null==i&&r&&(i=r.getShallow(t)),i},getModel:function(t,e){var n,a=null==t?this.option:r(this.option,t=this.parsePath(t));return e=e||(n=o(this,t))&&n.getModel(t),new i(a,e,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new(0,this.constructor)(a.clone(this.option))},setReadOnly:function(t){s.setReadOnly(this,t)},parsePath:function(t){return"string"==typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){s.set(this,"getParent",t)},isAnimationEnabled:function(){if(!l.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},s.enableClassExtend(i);var u=a.mixin;u(i,n(358)),u(i,n(355)),u(i,n(359)),u(i,n(357)),t.exports=i},function(t,e,n){function i(t){var e=[];return o.each(c.getClassesByMainType(t),function(t){a.apply(e,t.prototype.dependencies||[])}),o.map(e,function(t){return l.parseClassType(t).main})}var r=n(11),o=n(1),a=Array.prototype.push,s=n(70),l=n(23),u=n(8),c=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=s.getUID("componentModel")},init:function(t,e,n,i){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?u.getLayoutParams(t):{},r=e.getTheme();o.merge(t,r.get(this.mainType)),o.merge(t,this.getDefaultOption()),n&&u.mergeLayoutParam(t,i,n)},mergeOption:function(t,e){o.merge(this.option,t,!0);var n=this.layoutMode;n&&u.mergeLayoutParam(this.option,t,n)},optionUpdated:function(t,e){},getDefaultOption:function(){if(!l.hasOwn(this,"__defaultOption")){for(var t=[],e=this.constructor;e;){var n=e.prototype.defaultOption;n&&t.push(n),e=e.superClass}for(var i={},r=t.length-1;r>=0;r--)i=o.merge(i,t[r],!0);l.set(this,"__defaultOption",i)}return l.get(this,"__defaultOption")},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});l.enableClassManagement(c,{registerWhenExtend:!0}),s.enableSubTypeDefaulter(c),s.enableTopologicalTravel(c,i),o.mixin(c,n(356)),t.exports=c},function(t,e,n){"use strict";var i=n(1),r=n(6),o=n(23),a=n(7),s=n(12),l=n(112),u=n(14),c=n(8),h=o.set,f=o.get,d=r.encodeHTML,p=r.addCommas,g=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.normal.color",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.mergeDefaultAndTheme(t,n),h(this,"dataBeforeProcessed",this.getInitialData(t,n)),this.restoreData()},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,r=n?c.getLayoutParams(t):{};i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),a.defaultEmphasis(t.label,a.LABEL_OPTIONS),this.fillDataTextStyle(t.data),n&&c.mergeLayoutParam(t,r,n)},mergeOption:function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&c.mergeLayoutParam(this.option,t,n);var r=this.getInitialData(t,e);r&&(h(this,"data",r),h(this,"dataBeforeProcessed",r.cloneShallow()))},fillDataTextStyle:function(t){if(t)for(var e=0;e<t.length;e++)t[e]&&t[e].label&&a.defaultEmphasis(t[e].label,a.LABEL_OPTIONS)},getInitialData:function(){},getData:function(t){var e=f(this,"data");return null==t?e:e.getLinkedData(t)},setData:function(t){h(this,"data",t)},getRawData:function(){return f(this,"dataBeforeProcessed")},coordDimToDataDim:function(t){return[t]},dataDimToCoordDim:function(t){return t},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,n){function o(t){var n=[];return i.each(t,function(t,i){var o,s=a.getDimensionInfo(i),l=s&&s.type;o="ordinal"===l?t+"":"time"===l?e?"":r.formatTime("yyyy/MM/dd hh:mm:ss",t):p(t),o&&n.push(o)}),n.join(", ")}var a=f(this,"data"),s=this.getRawValue(t),l=d(i.isArray(s)?o(s):p(s)),u=a.getName(t),c=a.getItemVisual(t,"color");i.isObject(c)&&c.colorStops&&(c=(c.colorStops[0]||{}).color),c=c||"transparent";var h='<span style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:'+d(c)+'"></span>',g=this.name;return"\0-"===g&&(g=""),e?h+d(this.name)+" : "+l:(g&&d(g)+"<br />")+h+(u?d(u)+" : "+l:l)},isAnimationEnabled:function(){if(u.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){h(this,"data",f(this,"dataBeforeProcessed").cloneShallow())},getColorFromPalette:function(t,e){var n=this.ecModel,i=l.getColorFromPalette.call(this,t,e);return i||(i=n.getColorFromPalette(t,e)),i},getAxisTooltipDataIndex:null,getTooltipPosition:null});i.mixin(g,a.dataFormatMixin),i.mixin(g,l),t.exports=g},function(t,e){function n(t){var e={},n={},i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(t);
return i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1]),a&&(n.weChat=!0),{browser:n,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11)}}var i={};i="undefined"==typeof navigator?{browser:{},os:{},node:!0,canvasSupported:!0}:n(navigator.userAgent),t.exports=i},function(t,e,n){function i(t){r.call(this,t),this.path=new a}var r=n(54),o=n(1),a=n(42),s=n(389),l=n(128),u=l.prototype.getCanvasPattern,c=Math.abs;i.prototype={constructor:i,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var n=this.style,i=this.path,r=n.hasStroke(),o=n.hasFill(),a=n.fill,s=n.stroke,l=o&&!!a.colorStops,c=r&&!!s.colorStops,h=o&&!!a.image,f=r&&!!s.image;if(n.bind(t,this,e),this.setTransform(t),this.__dirty){var d=this.getBoundingRect();l&&(this._fillGradient=n.getGradient(t,a,d)),c&&(this._strokeGradient=n.getGradient(t,s,d))}l?t.fillStyle=this._fillGradient:h&&(t.fillStyle=u.call(a,t)),c?t.strokeStyle=this._strokeGradient:f&&(t.strokeStyle=u.call(s,t));var p=n.lineDash,g=n.lineDashOffset,v=!!t.setLineDash,m=this.getGlobalScale();i.setScale(m[0],m[1]),this.__dirtyPath||p&&!v&&r?(i=this.path.beginPath(t),p&&!v&&(i.setLineDash(p),i.setLineDashOffset(g)),this.buildPath(i,this.shape,!1),this.__dirtyPath=!1):(t.beginPath(),this.path.rebuildPath(t)),o&&i.fill(t),p&&v&&(t.setLineDash(p),t.lineDashOffset=g),r&&i.stroke(t),p&&v&&t.setLineDash([]),this.restoreTransform(t),null!=n.text&&this.drawRectText(t,this.getBoundingRect())},buildPath:function(t,e,n){},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){r.copy(t);var o=e.lineWidth,a=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),a>1e-10&&(r.width+=o/a,r.height+=o/a,r.x-=o/a/2,r.y-=o/a/2)}return r}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path.data;if(r.hasStroke()){var a=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),s.containStroke(o,a/l,t,e)))return!0}if(r.hasFill())return s.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=!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):r.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&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1}},i.extend=function(t){var e=function(e){i.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var r=this.shape;for(var o in n)!r.hasOwnProperty(o)&&n.hasOwnProperty(o)&&(r[o]=n[o])}t.init&&t.init.call(this,e)};o.inherits(e,i);for(var n in t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},o.inherits(i,r),t.exports=i},function(t,e,n){var i=n(364),r=n(48);n(365),n(363);var o=n(49),a=n(4),s=n(1),l=n(25),u={};u.getScaleExtent=function(t,e){var n,i,r,o=t.scale,l=o.type,u=e.getMin(),c=e.getMax(),h=null!=u,f=null!=c,d=o.getExtent();return"ordinal"===l?n=(e.get("data")||[]).length:(i=e.get("boundaryGap"),s.isArray(i)||(i=[i||0,i||0]),i[0]=a.parsePercent(i[0],1),i[1]=a.parsePercent(i[1],1),r=d[1]-d[0]),null==u&&(u="ordinal"===l?n?0:NaN:d[0]-i[0]*r),null==c&&(c="ordinal"===l?n?n-1:NaN:d[1]+i[1]*r),"dataMin"===u&&(u=d[0]),"dataMax"===c&&(c=d[1]),(null==u||!isFinite(u))&&(u=NaN),(null==c||!isFinite(c))&&(c=NaN),t.setBlank(s.eqNaN(u)||s.eqNaN(c)),e.getNeedCrossZero()&&(u>0&&c>0&&!h&&(u=0),u<0&&c<0&&!f&&(c=0)),[u,c]},u.niceScaleExtent=function(t,e){var n=t.scale,i=u.getScaleExtent(t,e),r=null!=e.getMin(),o=null!=e.getMax(),a=e.get("splitNumber");"log"===n.type&&(n.base=e.get("logBase")),n.setExtent(i[0],i[1]),n.niceExtent(a,r,o);var s=e.get("minInterval");if(isFinite(s)&&!r&&!o&&"interval"===n.type){var l=n.getInterval(),c=Math.max(Math.abs(l),s)/l;i=n.getExtent();var h=(i[1]+i[0])/2;n.setExtent(c*(i[0]-h)+h,c*(i[1]-h)+h),n.niceExtent(a)}var l=e.get("interval");null!=l&&n.setInterval&&n.setInterval(l)},u.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new i(t.getCategories(),[1/0,-(1/0)]);case"value":return new r;default:return(o.getClass(e)||r).create(t)}},u.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)},u.getAxisLabelInterval=function(t,e,n,i){var r,o=0,a=0,s=1;e.length>40&&(s=Math.floor(e.length/40));for(var u=0;u<t.length;u+=s){var c=t[u],h=l.getBoundingRect(e[u],n,"center","top");h[i?"x":"y"]+=c,h[i?"width":"height"]*=1.3,r?r.intersect(h)?(a++,o=Math.max(o,a)):(r.union(h),a=0):r=h.clone()}return 0===o&&s>1?s:(o+1)*s-1},u.getFormattedLabels=function(t,e){var n=t.scale,i=n.getTicksLabels(),r=n.getTicks();return"string"==typeof e?(e=function(t){return function(e){return t.replace("{value}",null!=e?e:"")}}(e),s.map(i,e)):"function"==typeof e?s.map(r,function(i,r){return e("category"===t.type?n.getLabel(i):i,r)},this):i},t.exports=u},function(t,e,n){function i(t,e,n,i){if(!e)return t;var s=r(e[0]),l=o.isArray(s)&&s.length||1;n=n||[],i=i||"extra";for(var u=0;u<l;u++)if(!t[u]){var c=n[u]||i+(u-n.length);t[u]=a(e,u)?{type:"ordinal",name:c}:c}return t}function r(t){return o.isArray(t)?t:o.isObject(t)?t.value:t}var o=n(1),a=i.guessOrdinal=function(t,e){for(var n=0,i=t.length;n<i;n++){var a=r(t[n]);if(!o.isArray(a))return!1;var a=a[e];if(null!=a&&isFinite(a))return!1;if(o.isString(a)&&"-"!==a)return!0}return!1};t.exports=i},function(t,e,n){"use strict";var i=n(3),r=n(9),o=i.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),a=i.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),s=i.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),f=Math.cos(u);t.arc(n,l,a,Math.PI-u,2*Math.PI+u);var d=.6*a,p=.7*a;t.bezierCurveTo(n+c-h*d,l+s+f*d,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-c+h*d,l+s+f*d,n-c,l+s),t.closePath()}}),l=i.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),u={line:i.Line,rect:i.Rect,roundRect:i.Rect,square:i.Rect,circle:i.Circle,diamond:a,pin:s,arrow:l,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){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},h={};for(var f in u)u.hasOwnProperty(f)&&(h[f]=new u[f]);var d=i.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var t=this.style;"pin"===this.shape.symbolType&&"inside"===t.textPosition&&(t.textPosition=["50%","40%"],t.textAlign="center",t.textVerticalAlign="middle")},buildPath:function(t,e,n){var i=e.symbolType,r=h[i];"none"!==e.symbolType&&(r||(i="rect",r=h[i]),c[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n))}}),p=function(t){if("image"!==this.type){var e=this.style,n=this.shape;n&&"line"===n.symbolType?e.stroke=t:this.__isEmptyBrush?(e.stroke=t,e.fill="#fff"):(e.fill&&(e.fill=t),e.stroke&&(e.stroke=t)),this.dirty(!1)}},g={createSymbol:function(t,e,n,o,a,s){var l=0===t.indexOf("empty");l&&(t=t.substr(5,1).toLowerCase()+t.substr(6));var u;return u=0===t.indexOf("image://")?new i.Image({style:{image:t.slice(8),x:e,y:n,width:o,height:a}}):0===t.indexOf("path://")?i.makePath(t.slice(7),{},new r(e,n,o,a)):new d({shape:{symbolType:t,x:e,y:n,width:o,height:a}}),u.__isEmptyBrush=l,u.setColor=p,u.setColor(s),u}};t.exports=g},function(t,e,n){"use strict";function i(){this._coordinateSystems=[]}var r=n(1),o={};i.prototype={constructor:i,create:function(t,e){var n=[];r.each(o,function(i,r){var o=i.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},update:function(t,e){r.each(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},i.register=function(t,e){o[t]=e},i.get=function(t){return o[t]},t.exports=i},function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array,i={create:function(){var t=new n(6);return i.identity(t),t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t},copy:function(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},mul:function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t},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},rotate:function(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+a*u,t[1]=-i*u+a*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*o+u*l,t[5]=c*l-u*o,t},scale:function(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t},invert:function(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}};t.exports=i},function(t,e){function n(t){return t=Math.round(t),t<0?0:t>255?255:t}function i(t){return t=Math.round(t),t<0?0:t>360?360:t}function r(t){return t<0?0:t>1?1:t}function o(t){return n(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100*255:parseInt(t,10))}function a(t){return r(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100:parseFloat(t))}function s(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function l(t,e,n){return t+(e-t)*n}function u(t){if(t){t+="";var e=t.replace(/ /g,"").toLowerCase();if(e in x)return x[e].slice();if("#"!==e.charAt(0)){var n=e.indexOf("("),i=e.indexOf(")");if(n!==-1&&i+1===e.length){var r=e.substr(0,n),s=e.substr(n+1,i-(n+1)).split(","),l=1;switch(r){case"rgba":if(4!==s.length)return;l=a(s.pop());case"rgb":if(3!==s.length)return;return[o(s[0]),o(s[1]),o(s[2]),l];case"hsla":if(4!==s.length)return;return s[3]=a(s[3]),c(s);case"hsl":if(3!==s.length)return;return c(s);default:return}}}else{if(4===e.length){var u=parseInt(e.substr(1),16);if(!(u>=0&&u<=4095))return;return[(3840&u)>>4|(3840&u)>>8,240&u|(240&u)>>4,15&u|(15&u)<<4,1]}if(7===e.length){var u=parseInt(e.substr(1),16);if(!(u>=0&&u<=16777215))return;return[(16711680&u)>>16,(65280&u)>>8,255&u,1]}}}}function c(t){var e=(parseFloat(t[0])%360+360)%360/360,i=a(t[1]),r=a(t[2]),o=r<=.5?r*(i+1):r+i-r*i,l=2*r-o,u=[n(255*s(l,o,e+1/3)),n(255*s(l,o,e)),n(255*s(l,o,e-1/3))];return 4===t.length&&(u[3]=t[3]),u}function h(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,f=((s-o)/6+l/2)/l;i===s?e=f-h:r===s?e=1/3+c-f:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}function f(t,e){var n=u(t);if(n){for(var i=0;i<3;i++)e<0?n[i]=n[i]*(1-e)|0:n[i]=(255-n[i])*e+n[i]|0;return y(n,4===n.length?"rgba":"rgb")}}function d(t,e){var n=u(t);if(n)return((1<<24)+(n[0]<<16)+(n[1]<<8)+ +n[2]).toString(16).slice(1)}function p(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[0,0,0,0];var r=t*(e.length-1),o=Math.floor(r),a=Math.ceil(r),s=e[o],u=e[a],c=r-o;return i[0]=n(l(s[0],u[0],c)),i[1]=n(l(s[1],u[1],c)),i[2]=n(l(s[2],u[2],c)),i[3]=n(l(s[3],u[3],c)),i}}function g(t,e,i){if(e&&e.length&&t>=0&&t<=1){var o=t*(e.length-1),a=Math.floor(o),s=Math.ceil(o),c=u(e[a]),h=u(e[s]),f=o-a,d=y([n(l(c[0],h[0],f)),n(l(c[1],h[1],f)),n(l(c[2],h[2],f)),r(l(c[3],h[3],f))],"rgba");return i?{color:d,leftIndex:a,rightIndex:s,value:o}:d}}function v(t,e,n,r){if(t=u(t))return t=h(t),null!=e&&(t[0]=i(e)),null!=n&&(t[1]=a(n)),null!=r&&(t[2]=a(r)),y(c(t),"rgba")}function m(t,e){if(t=u(t),t&&null!=e)return t[3]=r(e),y(t,"rgba")}function y(t,e){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}var x={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]};t.exports={parse:u,lift:f,toHex:d,fastMapToColor:p,mapToColor:g,modifyHSL:v,modifyAlpha:m,stringify:y}},function(t,e){"use strict";var n={};t.exports={register:function(t,e){n[t]=e},get:function(t){return n[t]}}},function(t,e,n){function i(t){a.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function r(t,e){var n=a.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function o(t,e,n){return this.superClass.prototype[e].apply(t,n)}var a=n(1),s={},l=".",u="___EC__COMPONENT__CONTAINER___",c="\0ec_\0";s.set=function(t,e,n){return t[c+e]=n},s.get=function(t,e){return t[c+e]},s.hasOwn=function(t,e){return t.hasOwnProperty(c+e)};var h=s.parseClassType=function(t){var e={main:"",sub:""};return t&&(t=t.split(l),e.main=t[0]||"",e.sub=t[1]||""),e};s.enableClassExtend=function(t,e){t.$constructor=t,t.extend=function(t){__DEV__&&a.each(e,function(e){!t[e]});var n=this,i=function(){t.$constructor?t.$constructor.apply(this,arguments):n.apply(this,arguments)};return a.extend(i.prototype,t),i.extend=this.extend,i.superCall=r,i.superApply=o,a.inherits(i,this),i.superClass=n,i}},s.enableClassManagement=function(t,e){function n(t){var e=r[t.main];return e&&e[u]||(e=r[t.main]={},e[u]=!0),e}e=e||{};var r={};if(t.registerClass=function(t,e){if(e)if(i(e),e=h(e),e.sub){if(e.sub!==u){var o=n(e);o[e.sub]=t}}else __DEV__&&r[e.main],r[e.main]=t;return t},t.getClass=function(t,e,n){var i=r[t];if(i&&i[u]&&(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},t.getClassesByMainType=function(t){t=h(t);var e=[],n=r[t.main];return n&&n[u]?a.each(n,function(t,n){n!==u&&e.push(t)}):e.push(n),e},t.hasClass=function(t){return t=h(t),!!r[t.main]},t.getAllClassMainTypes=function(){var t=[];return a.each(r,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){t=h(t);var e=r[t.main];return e&&e[u]},t.parseClassType=h,e.registerWhenExtend){var o=t.extend;o&&(t.extend=function(e){var n=o.call(this,e);return t.registerClass(n,e.type)})}return t},s.setReadOnly=function(t,e){},t.exports=s},function(t,e,n){function i(){this.group=new a,this.uid=s.getUID("viewChart")}function r(t,e){if(t&&(t.trigger(e),"group"===t.type))for(var n=0;n<t.childCount();n++)r(t.childAt(n),e)}function o(t,e,n){var i=u.queryDataIndex(t,e);null!=i?c.each(u.normalizeToArray(i),function(e){r(t.getItemGraphicEl(e),n)}):t.eachItemGraphicEl(function(t){r(t,n)})}var a=n(53),s=n(70),l=n(23),u=n(7),c=n(1);i.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){o(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){o(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){}};var h=i.prototype;h.updateView=h.updateLayout=h.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},l.enableClassExtend(i,["dispose"]),l.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},function(t,e,n){function i(t,e){var n=t+":"+e;if(l[n])return l[n];for(var i=(t+"").split("\n"),r=0,o=0,a=i.length;o<a;o++)r=Math.max(p.measureText(i[o],e).width,r);return u>c&&(u=0,l={}),u++,l[n]=r,r}function r(t,e,n,r){var o=((t||"")+"").split("\n").length,a=i(t,e),s=i("国",e),l=o*s,u=new f(0,0,a,l);switch(u.lineHeight=s,r){case"bottom":case"alphabetic":u.y-=s;break;case"middle":u.y-=s/2}switch(n){case"end":case"right":u.x-=u.width;break;case"center":u.x-=u.width/2}return u}function o(t,e,n,i){var r=e.x,o=e.y,a=e.height,s=e.width,l=n.height,u=a/2-l/2,c="left";switch(t){case"left":r-=i,o+=u,c="right";break;case"right":r+=i+s,o+=u,c="left";break;case"top":r+=s/2,o-=i+l,c="center";break;case"bottom":r+=s/2,o+=a+i,c="center";break;case"inside":r+=s/2,o+=u,c="center";break;case"insideLeft":r+=i,o+=u,c="left";break;case"insideRight":r+=s-i,o+=u,c="right";break;case"insideTop":r+=s/2,o+=i,c="center";break;case"insideBottom":r+=s/2,o+=a-l-i,c="center";break;case"insideTopLeft":r+=i,o+=i,c="left";break;case"insideTopRight":r+=s-i,o+=i,c="right";break;case"insideBottomLeft":r+=i,o+=a-l-i;break;case"insideBottomRight":r+=s-i,o+=a-l-i,c="right"}return{x:r,y:o,textAlign:c,textBaseline:"top"}}function a(t,e,n,r,o){if(!e)return"";o=o||{},r=d(r,"...");for(var a=d(o.maxIterations,2),l=d(o.minChar,0),u=i("国",n),c=i("a",n),h=d(o.placeholder,""),f=e=Math.max(0,e-1),p=0;p<l&&f>=c;p++)f-=c;var g=i(r);g>f&&(r="",g=0),f=e-g;for(var v=(t+"").split("\n"),p=0,m=v.length;p<m;p++){var y=v[p],x=i(y,n);if(!(x<=e)){for(var _=0;;_++){if(x<=f||_>=a){y+=r;break}var b=0===_?s(y,f,c,u):x>0?Math.floor(y.length*f/x):0;y=y.substr(0,b),x=i(y,n)}""===y&&(y=h),v[p]=y}}return v.join("\n")}function s(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}var l={},u=0,c=5e3,h=n(1),f=n(9),d=h.retrieve,p={getWidth:i,getBoundingRect:r,adjustTextPositionOnRect:o,truncateText:a,measureText:function(t,e){var n=h.getContext();return n.font=e||"12px sans-serif",n.measureText(t)}};t.exports=p},function(t,e,n){"use strict";function i(t){return t>-1e-8&&t<w}function r(t){return t>w||t<-1e-8}function o(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 a(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function s(t,e,n,r,o,a){var s=r+3*(e-n)-t,l=3*(n-2*e+t),u=3*(e-t),c=t-o,h=l*l-3*s*u,f=l*u-9*s*c,d=u*u-3*l*c,p=0;if(i(h)&&i(f))if(i(l))a[0]=0;else{var g=-u/l;g>=0&&g<=1&&(a[p++]=g)}else{var v=f*f-4*h*d;if(i(v)){var m=f/h,g=-l/s+m,y=-m/2;g>=0&&g<=1&&(a[p++]=g),y>=0&&y<=1&&(a[p++]=y)}else if(v>0){var x=b(v),w=h*l+1.5*s*(-f+x),S=h*l+1.5*s*(-f-x);w=w<0?-_(-w,A):_(w,A),S=S<0?-_(-S,A):_(S,A);var g=(-l-(w+S))/(3*s);g>=0&&g<=1&&(a[p++]=g)}else{var T=(2*h*l-3*s*f)/(2*b(h*h*h)),I=Math.acos(T)/3,C=b(h),L=Math.cos(I),g=(-l-2*C*L)/(3*s),y=(-l+C*(L+M*Math.sin(I)))/(3*s),D=(-l+C*(L-M*Math.sin(I)))/(3*s);g>=0&&g<=1&&(a[p++]=g),y>=0&&y<=1&&(a[p++]=y),D>=0&&D<=1&&(a[p++]=D)}}return p}function l(t,e,n,o,a){var s=6*n-12*e+6*t,l=9*e+3*o-3*t-9*n,u=3*e-3*t,c=0;if(i(l)){if(r(s)){var h=-u/s;h>=0&&h<=1&&(a[c++]=h)}}else{var f=s*s-4*l*u;if(i(f))a[0]=-s/(2*l);else if(f>0){var d=b(f),h=(-s+d)/(2*l),p=(-s-d)/(2*l);h>=0&&h<=1&&(a[c++]=h),p>=0&&p<=1&&(a[c++]=p)}}return c}function u(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i}function c(t,e,n,i,r,a,s,l,u,c,h){var f,d,p,g,v,m=.005,y=1/0;T[0]=u,T[1]=c;for(var _=0;_<1;_+=.05)I[0]=o(t,n,r,s,_),I[1]=o(e,i,a,l,_),g=x(T,I),g<y&&(f=_,y=g);y=1/0;for(var w=0;w<32&&!(m<S);w++)d=f-m,p=f+m,I[0]=o(t,n,r,s,d),I[1]=o(e,i,a,l,d),g=x(I,T),d>=0&&g<y?(f=d,y=g):(C[0]=o(t,n,r,s,p),C[1]=o(e,i,a,l,p),v=x(C,T),p<=1&&v<y?(f=p,y=v):m*=.5);return h&&(h[0]=o(t,n,r,s,f),h[1]=o(e,i,a,l,f)),b(y)}function h(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function f(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function d(t,e,n,o,a){var s=t-2*e+n,l=2*(e-t),u=t-o,c=0;if(i(s)){if(r(l)){var h=-u/l;h>=0&&h<=1&&(a[c++]=h)}}else{var f=l*l-4*s*u;if(i(f)){var h=-l/(2*s);h>=0&&h<=1&&(a[c++]=h)}else if(f>0){var d=b(f),h=(-l+d)/(2*s),p=(-l-d)/(2*s);h>=0&&h<=1&&(a[c++]=h),p>=0&&p<=1&&(a[c++]=p)}}return c}function p(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function g(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function v(t,e,n,i,r,o,a,s,l){var u,c=.005,f=1/0;T[0]=a,T[1]=s;for(var d=0;d<1;d+=.05){I[0]=h(t,n,r,d),I[1]=h(e,i,o,d);var p=x(T,I);p<f&&(u=d,f=p)}f=1/0;for(var g=0;g<32&&!(c<S);g++){var v=u-c,m=u+c;I[0]=h(t,n,r,v),I[1]=h(e,i,o,v);var p=x(I,T);if(v>=0&&p<f)u=v,f=p;else{C[0]=h(t,n,r,m),C[1]=h(e,i,o,m);var y=x(C,T);m<=1&&y<f?(u=m,f=y):c*=.5}}return l&&(l[0]=h(t,n,r,u),l[1]=h(e,i,o,u)),b(f)}var m=n(5),y=m.create,x=m.distSquare,_=Math.pow,b=Math.sqrt,w=1e-8,S=1e-4,M=b(3),A=1/3,T=y(),I=y(),C=y();t.exports={cubicAt:o,cubicDerivativeAt:a,cubicRootAt:s,cubicExtrema:l,cubicSubdivide:u,cubicProjectPoint:c,quadraticAt:h,quadraticDerivativeAt:f,quadraticRootAt:d,quadraticExtremum:p,quadraticSubdivide:g,quadraticProjectPoint:v}},function(t,e,n){function i(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}var r=n(4),o=r.linearMap,a=n(1),s=[0,1],l=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};l.prototype={constructor:l,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return r.getPixelPrecision(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,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&(n=n.slice(),i(n,r.count())),o(t,s,n,e)},coordToData:function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),i(n,r.count()));var a=o(t,n,s,e);return this.scale.scale(a)},getTicksCoords:function(t){if(this.onBand&&!t){for(var e=this.getBands(),n=[],i=0;i<e.length;i++)n.push(e[i][0]);return e[i-1]&&n.push(e[i-1][1]),n}return a.map(this.scale.getTicks(),this.dataToCoord,this)},getLabelsCoords:function(){return a.map(this.scale.getTicks(),this.dataToCoord,this)},getBands:function(){for(var t=this.getExtent(),e=[],n=this.scale.count(),i=t[0],r=t[1],o=r-i,a=0;a<n;a++)e.push([o*a/n+i,o*(a+1)/n+i]);return e},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isBlank:function(){return this._isBlank},setBlank:function(t){this._isBlank=t}},t.exports=l},function(t,e,n){function i(t){var e=t.pieceList;t.hasSpecialVisual=!1,p.each(e,function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)})}function r(t){var e=t.categories,n=t.visual,i=t.categoryMap={};if(m(e,function(t,e){i[t]=e}),!p.isArray(n)){var r=[];p.isObject(n)?m(n,function(t,e){var n=i[e];r[null!=n?n:x]=t}):r[x]=n,n=t.visual=r}for(var o=e.length-1;o>=0;o--)null==n[o]&&(delete i[e[o]],e.pop())}function o(t,e){var n=t.visual,i=[];p.isObject(n)?m(n,function(t){i.push(t)}):null!=n&&i.push(n);var r={color:1,symbol:1};e||1!==i.length||r.hasOwnProperty(t.type)||(i[1]=i[0]),t.visual=i}function a(t){return{applyVisual:function(e,n,i){e=this.mapValueToVisual(e),i("color",t(n("color"),e))},_doMap:h([0,1])}}function s(t){var e=this.option.visual;return e[Math.round(v(t,[0,1],[0,e.length-1],!0))]||{}}function l(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function u(t){var e=this.option.visual;return e[this.option.loop&&t!==x?t%e.length:t]}function c(){return this.option.visual[0]}function h(t){return{linear:function(e){return v(e,t,this.option.visual,!0)},category:u,piecewise:function(e,n){var i=f.call(this,n);return null==i&&(i=v(e,t,this.option.visual,!0)),i},fixed:c}}function f(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=_.findPieceIndex(t,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function d(t,e,n){return t?e<=n:e<n}var p=n(1),g=n(21),v=n(4).linearMap,m=p.each,y=p.isObject,x=-1,_=function(t){var e=t.mappingMethod,n=t.type,a=this.option=p.clone(t);this.type=n,this.mappingMethod=e,this._normalizeData=w[e];var s=b[n];this.applyVisual=s.applyVisual,this.getColorMapper=s.getColorMapper,this._doMap=s._doMap[e],"piecewise"===e?(o(a),i(a)):"category"===e?a.categories?r(a):o(a,!0):(p.assert("linear"!==e||a.dataExtent),o(a))};_.prototype={constructor:_,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return p.bind(this._normalizeData,this)}};var b=_.visualHandlers={color:{applyVisual:l("color"),getColorMapper:function(){var t=this.option,e=p.map(t.visual,g.parse);return p.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),u.call(this,t)}:function(t,n,i){var r=!!i;return!n&&(t=this._normalizeData(t)),i=g.fastMapToColor(t,e,i),r?i:p.stringify(i,"rgba")},this)},_doMap:{linear:function(t){return g.mapToColor(t,this.option.visual)},category:u,piecewise:function(t,e){var n=f.call(this,e);return null==n&&(n=g.mapToColor(t,this.option.visual)),n},fixed:c}},colorHue:a(function(t,e){return g.modifyHSL(t,e)}),colorSaturation:a(function(t,e){return g.modifyHSL(t,null,e)}),colorLightness:a(function(t,e){return g.modifyHSL(t,null,null,e)}),colorAlpha:a(function(t,e){return g.modifyAlpha(t,e)}),opacity:{applyVisual:l("opacity"),_doMap:h([0,1])},symbol:{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);if(p.isString(i))n("symbol",i);else if(y(i))for(var r in i)i.hasOwnProperty(r)&&n(r,i[r])},_doMap:{linear:s,category:u,piecewise:function(t,e){var n=f.call(this,e);return null==n&&(n=s.call(this,t)),n},fixed:c}},symbolSize:{applyVisual:l("symbolSize"),_doMap:h([0,1])}},w={linear:function(t){return v(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=_.findPieceIndex(t,e,!0);if(null!=n)return v(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?x:e},fixed:p.noop};_.listVisualTypes=function(){var t=[];return p.each(b,function(e,n){t.push(n)}),t},_.addVisualHandler=function(t,e){b[t]=e},_.isValidType=function(t){return b.hasOwnProperty(t)},_.eachVisual=function(t,e,n){p.isObject(t)?p.each(t,e,n):e.call(n,t)},_.mapVisual=function(t,e,n){var i,r=p.isArray(t)?[]:p.isObject(t)?{}:(i=!0,null);return _.eachVisual(t,function(t,o){var a=e.call(n,t,o);i?r=a:r[o]=a}),r},_.retrieveVisuals=function(t){var e,n={};return t&&m(b,function(i,r){t.hasOwnProperty(r)&&(n[r]=t[r],e=!0)}),e?n:null},_.prepareVisualTypes=function(t){if(y(t)){var e=[];m(t,function(t,n){e.push(n)}),t=e}else{if(!p.isArray(t))return[];t=t.slice()}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},_.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},_.findPieceIndex=function(t,e,n){function i(e,n){var i=Math.abs(e-t);i<o&&(o=i,r=n)}for(var r,o=1/0,a=0,s=e.length;a<s;a++){var l=e[a].value;if(null!=l){if(l===t)return a;n&&i(l,a)}}for(var a=0,s=e.length;a<s;a++){var u=e[a],c=u.interval,h=u.close;if(c){if(c[0]===-(1/0)){if(d(h[1],t,c[1]))return a}else if(c[1]===1/0){if(d(h[0],c[0],t))return a}else if(d(h[0],c[0],t)&&d(h[1],t,c[1]))return a;n&&i(c[0],a),n&&i(c[1],a)}}if(n)return t===1/0?e.length-1:t===-(1/0)?0:r},t.exports=_},function(t,e){var n=Array.prototype.slice,i=function(){this._$handlers={}};i.prototype={constructor:i,one:function(t,e,n){var i=this._$handlers;if(!e||!t)return this;i[t]||(i[t]=[]);for(var r=0;r<i[t].length;r++)if(i[t][r].h===e)return this;return i[t].push({h:e,one:!0,ctx:n||this}),this},on:function(t,e,n){var i=this._$handlers;if(!e||!t)return this;i[t]||(i[t]=[]);for(var r=0;r<i[t].length;r++)if(i[t][r].h===e)return this;
return i[t].push({h:e,one:!1,ctx:n||this}),this},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){if(this._$handlers[t]){var e=arguments,i=e.length;i>3&&(e=n.call(e,1));for(var r=this._$handlers[t],o=r.length,a=0;a<o;){switch(i){case 1:r[a].h.call(r[a].ctx);break;case 2:r[a].h.call(r[a].ctx,e[1]);break;case 3:r[a].h.call(r[a].ctx,e[1],e[2]);break;default:r[a].h.apply(r[a].ctx,e)}r[a].one?(r.splice(a,1),o--):a++}}return this},triggerWithContext:function(t){if(this._$handlers[t]){var e=arguments,i=e.length;i>4&&(e=n.call(e,1,e.length-1));for(var r=e[e.length-1],o=this._$handlers[t],a=o.length,s=0;s<a;){switch(i){case 1:o[s].h.call(r);break;case 2:o[s].h.call(r,e[1]);break;case 3:o[s].h.call(r,e[1],e[2]);break;default:o[s].h.apply(r,e)}o[s].one?(o.splice(s,1),a--):s++}}return this}},t.exports=i},function(t,e,n){"use strict";function i(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}function r(t){var e=i(t);return null!=e&&!h.isArray(p(e))}function o(t,e,n){if(t=t||[],__DEV__&&!h.isArray(t))throw new Error("Invalid data.");var i=e.get("coordinateSystem"),o=v[i],a=d.get(i),s=o&&o(t,e,n),m=s&&s.dimensions;m||(m=a&&a.dimensions||["x","y"],m=c(m,t,m.concat(["value"])));var y=s?s.categoryIndex:-1,x=new u(m,e),_=l(s,t),b={},w=y>=0&&r(t)?function(t,e,n,i){return f.isDataItemOption(t)&&(x.hasItemOption=!0),i===y?n:g(p(t),m[i])}:function(t,e,n,i){var r=p(t),o=g(r&&r[i],m[i]);f.isDataItemOption(t)&&(x.hasItemOption=!0);var a=s&&s.categoryAxesModels;return a&&a[e]&&"string"==typeof o&&(b[e]=b[e]||a[e].getCategories(),o=h.indexOf(b[e],o),o<0&&!isNaN(o)&&(o=+o)),o};return x.hasItemOption=!1,x.initData(t,_,w),x}function a(t){return"category"!==t&&"time"!==t}function s(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function l(t,e){var n,i=[],r=t&&t.dimensions[t.categoryIndex];if(r&&(n=t.categoryAxesModels[r.name]),n){var o=n.getCategories();if(o){var a=e.length;if(h.isArray(e[0])&&e[0].length>1){i=[];for(var s=0;s<a;s++)i[s]=o[e[s][t.categoryIndex||0]]}else i=o.slice(0)}}return i}var u=n(10),c=n(17),h=n(1),f=n(7),d=n(19),p=f.getDataItemValue,g=f.converDataValue,v={cartesian2d:function(t,e,n){var i=h.map(["xAxis","yAxis"],function(t){return n.queryComponents({mainType:t,index:e.get(t+"Index"),id:e.get(t+"Id")})[0]}),r=i[0],o=i[1];if(__DEV__){if(!r)throw new Error('xAxis "'+h.retrieve(e.get("xAxisIndex"),e.get("xAxisId"),0)+'" not found');if(!o)throw new Error('yAxis "'+h.retrieve(e.get("xAxisIndex"),e.get("yAxisId"),0)+'" not found')}var l=r.get("type"),u=o.get("type"),f=[{name:"x",type:s(l),stackable:a(l)},{name:"y",type:s(u),stackable:a(u)}],d="category"===l,p="category"===u;c(f,t,["x","y","z"]);var g={};return d&&(g.x=r),p&&(g.y=o),{dimensions:f,categoryIndex:d?0:p?1:-1,categoryAxesModels:g}},singleAxis:function(t,e,n){var i=n.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];if(__DEV__&&!i)throw new Error("singleAxis should be specified.");var r=i.get("type"),o="category"===r,l=[{name:"single",type:s(r),stackable:a(r)}];c(l,t);var u={};return o&&(u.single=i),{dimensions:l,categoryIndex:o?0:-1,categoryAxesModels:u}},polar:function(t,e,n){var i=n.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0],r=i.findAxisModel("angleAxis"),o=i.findAxisModel("radiusAxis");if(__DEV__){if(!r)throw new Error("angleAxis option not found");if(!o)throw new Error("radiusAxis option not found")}var l=o.get("type"),u=r.get("type"),h=[{name:"radius",type:s(l),stackable:a(l)},{name:"angle",type:s(u),stackable:a(u)}],f="category"===u,d="category"===l;c(h,t,["radius","angle","value"]);var p={};return d&&(p.radius=o),f&&(p.angle=r),{dimensions:h,categoryIndex:f?1:d?0:-1,categoryAxesModels:p}},geo:function(t,e,n){return{dimensions:c([{name:"lng"},{name:"lat"}],t,["lng","lat","value"])}}};t.exports=o},function(t,e,n){var i=n(1),r={retrieveTargetInfo:function(t,e){if(t&&("treemapZoomToNode"===t.type||"treemapRootToNode"===t.type)){var n=e.getData().tree.root,i=t.targetNode;if(i&&n.contains(i))return{node:i};var r=t.targetNodeId;if(null!=r&&(i=n.getNodeById(r)))return{node:i}}},getPathToRoot:function(t){for(var e=[];t;)t=t.parentNode,t&&e.push(t);return e.reverse()},aboveViewRoot:function(t,e){var n=r.getPathToRoot(t);return i.indexOf(n,e)>=0},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}};t.exports=r},function(t,e){t.exports=function(t,e,n,i,r){i.eachRawSeriesByType(t,function(t){var r=t.getData(),o=t.get("symbol")||e,a=t.get("symbolSize");r.setVisual({legendSymbol:n||o,symbol:o,symbolSize:a}),i.isSeriesFiltered(t)||("function"==typeof a&&r.each(function(e){var n=t.getRawValue(e),i=t.getDataParams(e);r.setItemVisual(e,"symbolSize",a(n,i))}),r.each(function(t){var e=r.getItemModel(t),n=e.getShallow("symbol",!0),i=e.getShallow("symbolSize",!0);null!=n&&r.setItemVisual(t,"symbol",n),null!=i&&r.setItemVisual(t,"symbolSize",i)}))})}},function(t,e,n){"use strict";function i(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}function r(t,e,n,i){return n=n||{},i||!c.canvasSupported?o(t,e,n):c.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):o(t,e,n),n}function o(t,e,n){var r=i(t);n.zrX=e.clientX-r.left,n.zrY=e.clientY-r.top}function a(t,e,n){if(e=e||window.event,null!=e.zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var o="touchend"!=i?e.targetTouches[0]:e.changedTouches[0];o&&r(t,o,e,n)}else r(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;return e}function s(t,e,n){h?t.addEventListener(e,n):t.attachEvent("on"+e,n)}function l(t,e,n){h?t.removeEventListener(e,n):t.detachEvent("on"+e,n)}var u=n(29),c=n(14),h="undefined"!=typeof window&&!!window.addEventListener,f=h?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};t.exports={clientToLocal:r,normalizeEvent:a,addEventListener:s,removeEventListener:l,stop:f,Dispatcher:u}},function(t,e,n){function i(t){this.group=new o.Group,this._symbolCtor=t||a}function r(t,e,n){var i=t.getItemLayout(e);return i&&!isNaN(i[0])&&!isNaN(i[1])&&!(n&&n(e))&&"none"!==t.getItemVisual(e,"symbol")}var o=n(3),a=n(58),s=i.prototype;s.updateData=function(t,e){var n=this.group,i=t.hostModel,a=this._data,s=this._symbolCtor,l={itemStyle:i.getModel("itemStyle.normal").getItemStyle(["color"]),hoverItemStyle:i.getModel("itemStyle.emphasis").getItemStyle(),symbolRotate:i.get("symbolRotate"),symbolOffset:i.get("symbolOffset"),hoverAnimation:i.get("hoverAnimation"),labelModel:i.getModel("label.normal"),hoverLabelModel:i.getModel("label.emphasis")};t.diff(a).add(function(i){var o=t.getItemLayout(i);if(r(t,i,e)){var a=new s(t,i,l);a.attr("position",o),t.setItemGraphicEl(i,a),n.add(a)}}).update(function(u,c){var h=a.getItemGraphicEl(c),f=t.getItemLayout(u);return r(t,u,e)?(h?(h.updateData(t,u,l),o.updateProps(h,{position:f},i)):(h=new s(t,u),h.attr("position",f)),n.add(h),void t.setItemGraphicEl(u,h)):void n.remove(h)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)})}).execute(),this._data=t},s.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl(function(e,n){var i=t.getItemLayout(n);e.attr("position",i)})},s.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=i},function(t,e,n){function i(t){var e={componentType:t.mainType};return e[t.mainType+"Index"]=t.componentIndex,e}function r(t,e,n){var i,r,o=f(e-t.rotation);return d(o)?(r=n>0?"top":"bottom",i="center"):d(o-m)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<m?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,verticalAlign:r}}function o(t,e,n,i){var r,o,a=f(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return d(a-m/2)?(o=l?"bottom":"top",r="center"):d(a-1.5*m)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*m&&a>m/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,verticalAlign:o}}function a(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)}var s=n(1),l=n(6),u=n(3),c=n(11),h=n(4),f=h.remRadian,d=h.isRadianAroundZero,p=n(5),g=p.applyTransform,v=s.retrieve,m=Math.PI,y=function(t,e){this.opt=e,this.axisModel=t,s.defaults(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var n=new u.Group({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};y.prototype={constructor:y,hasBuilder:function(t){return!!x[t]},add:function(t){x[t].call(this)},getGroup:function(){return this.group}};var x={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,r=[n[0],0],o=[n[1],0];i&&(g(r,r,i),g(o,o,i)),this.group.add(new u.Line(u.subPixelOptimizeLine({anid:"line",shape:{x1:r[0],y1:r[1],x2:o[0],y2:o[1]},style:s.extend({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle()),strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1})))}},axisTick:function(){var t=this.axisModel,e=t.axis;if(t.get("axisTick.show")&&!e.isBlank())for(var n=t.getModel("axisTick"),i=this.opt,r=n.getModel("lineStyle"),o=n.get("length"),a=b(n,i.labelInterval),l=e.getTicksCoords(n.get("alignWithLabel")),c=e.scale.getTicks(),h=[],f=[],d=this._transform,p=0;p<l.length;p++)if(!_(e,p,a)){var v=l[p];h[0]=v,h[1]=0,f[0]=v,f[1]=i.tickDirection*o,d&&(g(h,h,d),g(f,f,d)),this.group.add(new u.Line(u.subPixelOptimizeLine({anid:"tick_"+c[p],shape:{x1:h[0],y1:h[1],x2:f[0],y2:f[1]},style:s.defaults(r.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}),z2:2,silent:!0})))}},axisLabel:function(){function t(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i)return n.applyTransform(t.getLocalTransform()),i.applyTransform(e.getLocalTransform()),n.intersect(i)}var e=this.opt,n=this.axisModel,o=n.axis;if(v(e.axisLabelShow,n.get("axisLabel.show"))&&!o.isBlank()){var l=n.getModel("axisLabel"),h=l.getModel("textStyle"),f=l.get("margin"),d=o.scale.getTicks(),p=n.getFormattedLabels(),g=v(e.labelRotation,l.get("rotate"))||0;g=g*m/180;var y=r(e,g,e.labelDirection),x=n.get("data"),b=[],w=a(n),S=n.get("triggerEvent");if(s.each(d,function(t,r){if(!_(o,r,e.labelInterval)){var a=h;x&&x[t]&&x[t].textStyle&&(a=new c(x[t].textStyle,h,n.ecModel));var s=a.getTextColor()||n.get("axisLine.lineStyle.color"),l=o.dataToCoord(t),d=[l,e.labelOffset+e.labelDirection*f],g=o.scale.getLabel(t),v=new u.Text({anid:"label_"+t,style:{text:p[r],textAlign:a.get("align",!0)||y.textAlign,textVerticalAlign:a.get("baseline",!0)||y.verticalAlign,textFont:a.getFont(),fill:"function"==typeof s?s(g):s},position:d,rotation:y.rotation,silent:w,z2:10});S&&(v.eventData=i(n),v.eventData.targetType="axisLabel",v.eventData.value=g),this._dumbGroup.add(v),v.updateTransform(),b.push(v),this.group.add(v),v.decomposeTransform()}},this),null!=n.getMin()){var M=b[0];t(M,b[1])&&(M.ignore=!0)}if(null!=n.getMax()){var A=b[b.length-1];t(b[b.length-2],A)&&(A.ignore=!0)}}},axisName:function(){var t=this.opt,e=this.axisModel,n=v(t.axisName,e.get("name"));if(n){var c,h=e.get("nameLocation"),f=t.nameDirection,d=e.getModel("nameTextStyle"),p=e.get("nameGap")||0,g=this.axisModel.axis.getExtent(),y=g[0]>g[1]?-1:1,x=["start"===h?g[0]-y*p:"end"===h?g[1]+y*p:(g[0]+g[1])/2,"middle"===h?t.labelOffset+f*p:0],_=e.get("nameRotate");null!=_&&(_=_*m/180);var b;"middle"===h?c=r(t,null!=_?_:t.rotation,f):(c=o(t,h,_||0,g),b=t.axisNameAvailableWidth,null!=b&&(b=Math.abs(b/Math.sin(c.rotation)),!isFinite(b)&&(b=null)));var w=d.getFont(),S=e.get("nameTruncate",!0)||{},M=S.ellipsis,A=v(S.maxWidth,b),T=null!=M&&null!=A?l.truncateText(n,A,w,M,{minChar:2,placeholder:S.placeholder}):n,I=e.get("tooltip",!0),C=e.mainType,L={componentType:C,name:n,$vars:["name"]};L[C+"Index"]=e.componentIndex;var D=new u.Text({anid:"name",__fullText:n,__truncatedText:T,style:{text:T,textFont:w,fill:d.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:c.textAlign,textVerticalAlign:c.verticalAlign},position:x,rotation:c.rotation,silent:a(e),z2:1,tooltip:I&&I.show?s.extend({content:n,formatter:function(){return n},formatterParams:L},I):null});e.get("triggerEvent")&&(D.eventData=i(e),D.eventData.targetType="axisName",D.eventData.name=n),this._dumbGroup.add(D),D.updateTransform(),this.group.add(D),D.decomposeTransform()}}},_=y.ifIgnoreOnTick=function(t,e,n){var i,r=t.scale;return"ordinal"===r.type&&("function"==typeof n?(i=r.getTicks()[e],!n(i,r.getLabel(i))):e%(n+1))},b=y.getInterval=function(t,e){var n=t.get("interval");return null!=n&&"auto"!=n||(n=e),n};t.exports=y},function(t,e,n){function i(t){var e={};return h(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}function r(t,e,n,i){null!=n[e]&&null==n[t]&&(i[t]=null)}var o=n(1),a=n(14),s=n(2),l=n(7),u=n(59),c=n(260),h=o.each,f=u.eachAxisDim,d=s.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},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0;var r=i(t);this.mergeDefaultAndTheme(t,n),this.doInit(r)},mergeOption:function(t){var e=i(t);o.merge(this.option,t,!0),this.doInit(e)},doInit:function(t){var e=this.option;a.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),r("start","startValue",t,e),r("end","endValue",t,e),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(e,n,i,r){var o=this.dependentModels[e.axis][n],a=o.__dzAxisProxy||(o.__dzAxisProxy=new c(e.name,n,this,r));t[e.name+"_"+n]=a},this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();f(function(e){var n=e.axisIndex;t[n]=l.normalizeToArray(t[n])},this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;f(function(n){null!=t[n.axisIndex]&&(e=!0)},this);var n=t.orient;return null==n&&e?"orient":e?void 0:(null==n&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),n=this.option,i=this.dependentModels;if(t){var r="vertical"===e?"y":"x";i[r+"Axis"].length?(n[r+"AxisIndex"]=[0],t=!1):h(i.singleAxis,function(i){t&&i.get("orient",!0)===e&&(n.singleAxisIndex=[i.componentIndex],t=!1)})}t&&f(function(e){if(t){var i=[],r=this.dependentModels[e.axis];if(r.length&&!i.length)for(var o=0,a=r.length;o<a;o++)"category"===r[o].get("type")&&i.push(o);n[e.axisIndex]=i,i.length&&(t=!1)}},this),t&&this.ecModel.eachSeries(function(t){this._isSeriesHasAllAxesTypeOf(t,"value")&&f(function(e){var i=n[e.axisIndex],r=t.get(e.axisIndex),a=t.get(e.axisId),s=t.ecModel.queryComponents({mainType:e.axis,index:r,id:a})[0];if(__DEV__&&!s)throw new Error(e.axis+' "'+o.retrieve(r,a,0)+'" not found');r=s.componentIndex,o.indexOf(i,r)<0&&i.push(r)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(e){!t&&(t=e.name)},this),this.option.orient="y"===t?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,e){var n=!0;return f(function(i){var r=t.get(i.axisIndex),o=this.dependentModels[i.axis][r];o&&o.get("type")===e||(n=!1)},this),n},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return f(function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}},this),t},eachTargetAxis:function(t,e){var n=this.ecModel;f(function(i){h(this.get(i.axisIndex),function(r){t.call(e,i,r,this,n)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},setRawRange:function(t){h(["start","end","startValue","endValue"],function(e){this.option[e]=t[e]},this)},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(){var t=this._axisProxies;for(var e in t)if(t.hasOwnProperty(e)&&t[e].hostedBy(this))return t[e];for(var e in t)if(t.hasOwnProperty(e)&&!t[e].hostedBy(this))return t[e]}});t.exports=d},function(t,e,n){var i=n(71);t.exports=i.extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){function t(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)}var e=this.dataZoomModel,n=this.ecModel,i={};return e.eachTargetAxis(function(e,r){var o=n.getComponent(e.axis,r);if(o){var a=o.getCoordSysModel();a&&t(a,o,i[a.mainType]||(i[a.mainType]=[]),a.componentIndex)}},this),i}})},function(t,e,n){"use strict";var i=n(3),r=n(1),o=n(2);n(67),n(245),o.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new i.Rect({shape:t.coordinateSystem.getRect(),style:r.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),o.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},function(t,e,n){function i(t){return r.isObject(t)&&null!=t.value?t.value:t}var r=n(1),o=n(16);t.exports={getFormattedLabels:function(){return o.getFormattedLabels(this.axis,this.get("axisLabel.formatter"))},getCategories:function(){return"category"===this.get("type")&&r.map(this.get("data"),i)},getMin:function(t){var e=this.option,n=t||null==e.rangeStart?e.min:e.rangeStart;return null==n||"dataMin"===n||r.eqNaN(n)||(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this.option,n=t||null==e.rangeEnd?e.max:e.rangeEnd;return null==n||"dataMax"===n||r.eqNaN(n)||(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:r.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}}},function(t,e){"use strict";function n(t){return t}function i(t,e,i,r){this._old=t,this._new=e,this._oldKeyGetter=i||n,this._newKeyGetter=r||n}function r(t,e,n,i){for(var r=0;r<t.length;r++){var o=i(t[r],r),a=e[o];null==a?(n.push(o),e[o]=r):(a.length||(e[o]=a=[a]),a.push(r))}}i.prototype={constructor:i,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t,e=this._old,n=this._new,i=this._oldKeyGetter,o=this._newKeyGetter,a={},s={},l=[],u=[];for(r(e,a,l,i),r(n,s,u,o),t=0;t<e.length;t++){var c=l[t],h=s[c];if(null!=h){var f=h.length;f?(1===f&&(s[c]=null),h=h.unshift()):s[c]=null,this._update&&this._update(h,t)}else this._remove&&this._remove(t)}for(var t=0;t<u.length;t++){var c=u[t];if(s.hasOwnProperty(c)){var h=s[c];if(null==h)continue;if(h.length)for(var d=0,f=h.length;d<f;d++)this._add&&this._add(h[d]);else this._add&&this._add(h)}}}},t.exports=i},function(t,e,n){var i=n(1);t.exports=function(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e){for(var n={},r=0;r<t.length;r++){var o=t[r][1];if(!(e&&i.indexOf(e,o)>=0)){var a=this.getShallow(o);null!=a&&(n[t[r][0]]=a)}}return n}}},function(t,e,n){"use strict";var i=n(26),r=n(5),o=n(73),a=n(9),s=n(52).devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],c=[],h=[],f=[],d=Math.min,p=Math.max,g=Math.cos,v=Math.sin,m=Math.sqrt,y=Math.abs,x="undefined"!=typeof Float32Array,_=function(){this.data=[],this._len=0,this._ctx=null,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._ux=0,this._uy=0};_.prototype={constructor:_,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e){this._ux=y(1/s/t)||0,this._uy=y(1/s/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._len=0,this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=y(t-this._xi)>this._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,r,o){return this.addData(l.C,t,e,n,i,r,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,r,o):this._ctx.bezierCurveTo(t,e,n,i,r,o)),this._xi=r,this._yi=o,this},quadraticCurveTo:function(t,e,n,i){return this.addData(l.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,r,o){return this.addData(l.A,t,e,n,n,i,r-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=g(r)*n+t,this._yi=v(r)*n+t,this},arcTo:function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(l.R,t,e,n,i),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;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||!x||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();x&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var 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){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,f=m(c*c+h*h),g=l,v=u,y=a.length;for(c/=f,h/=f,o<0&&(o=r+o),o%=r,g-=o*c,v-=o*h;c>0&&g<=t||c<0&&g>=t||0==c&&(h>0&&v<=e||h<0&&v>=e);)i=this._dashIdx,n=a[i],g+=c*n,v+=h*n,this._dashIdx=(i+1)%y,c>0&&g<l||c<0&&g>l||h>0&&v<u||h<0&&v>u||s[i%2?"moveTo":"lineTo"](c>=0?d(g,t):p(g,t),h>=0?d(v,e):p(v,e));c=g-t,h=v-e,this._dashOffset=-m(c*c+h*h)},_dashedBezierTo:function(t,e,n,r,o,a){var s,l,u,c,h,f=this._dashSum,d=this._dashOffset,p=this._lineDash,g=this._ctx,v=this._xi,y=this._yi,x=i.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(d<0&&(d=f+d),d%=f,s=0;s<1;s+=.1)l=x(v,t,n,o,s+.1)-x(v,t,n,o,s),u=x(y,e,r,a,s+.1)-x(y,e,r,a,s),_+=m(l*l+u*u);for(;b<w&&(S+=p[b],!(S>d));b++);for(s=(S-d)/_;s<=1;)c=x(v,t,n,o,s),h=x(y,e,r,a,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(o,a),l=o-c,u=a-h,this._dashOffset=-m(l*l+u*u)},_dashedQuadraticTo:function(t,e,n,i){var r=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=h[0]=h[1]=Number.MAX_VALUE,c[0]=c[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,s=0,d=0;d<t.length;){var p=t[d++];switch(1==d&&(e=t[d],n=t[d+1],i=e,s=n),p){case l.M:i=t[d++],s=t[d++],e=i,n=s,h[0]=i,h[1]=s,f[0]=i,f[1]=s;break;case l.L:o.fromLine(e,n,t[d],t[d+1],h,f),e=t[d++],n=t[d++];break;case l.C:o.fromCubic(e,n,t[d++],t[d++],t[d++],t[d++],t[d],t[d+1],h,f),e=t[d++],n=t[d++];break;case l.Q:o.fromQuadratic(e,n,t[d++],t[d++],t[d],t[d+1],h,f),e=t[d++],n=t[d++];break;case l.A:var m=t[d++],y=t[d++],x=t[d++],_=t[d++],b=t[d++],w=t[d++]+b,S=(t[d++],1-t[d++]);1==d&&(i=g(b)*x+m,s=v(b)*_+y),o.fromArc(m,y,x,_,b,w,S,h,f),e=g(w)*x+m,n=v(w)*_+y;break;case l.R:i=e=t[d++],s=n=t[d++];var M=t[d++],A=t[d++];o.fromLine(i,s,i+M,s+A,h,f);break;case l.Z:e=i,n=s}r.min(u,u,h),r.max(c,c,f)}return 0===d&&(u[0]=u[1]=c[0]=c[1]=0),new a(u[0],u[1],c[0]-u[0],c[1]-u[1])},rebuildPath:function(t){for(var e,n,i,r,o,a,s=this.data,u=this._ux,c=this._uy,h=this._len,f=0;f<h;){var d=s[f++];switch(1==f&&(i=s[f],r=s[f+1],e=i,n=r),d){case l.M:e=i=s[f++],n=r=s[f++],t.moveTo(i,r);break;case l.L:o=s[f++],a=s[f++],(y(o-i)>u||y(a-r)>c||f===h-1)&&(t.lineTo(o,a),i=o,r=a);break;case l.C:t.bezierCurveTo(s[f++],s[f++],s[f++],s[f++],s[f++],s[f++]),i=s[f-2],r=s[f-1];break;case l.Q:t.quadraticCurveTo(s[f++],s[f++],s[f++],s[f++]),i=s[f-2],r=s[f-1];break;case l.A:var p=s[f++],m=s[f++],x=s[f++],_=s[f++],b=s[f++],w=s[f++],S=s[f++],M=s[f++],A=x>_?x:_,T=x>_?1:x/_,I=x>_?_/x:1,C=Math.abs(x-_)>.001,L=b+w;C?(t.translate(p,m),t.rotate(S),t.scale(T,I),t.arc(0,0,A,b,L,1-M),t.scale(1/T,1/I),t.rotate(-S),t.translate(-p,-m)):t.arc(p,m,A,b,L,1-M),1==f&&(e=g(b)*x+p,n=v(b)*_+m),i=g(L)*x+p,r=v(L)*_+m;break;case l.R:e=i=s[f],n=r=s[f+1],t.rect(s[f++],s[f++],s[f++],s[f++]);break;case l.Z:t.closePath(),i=e,r=n}}}},_.CMD=l,t.exports=_},function(t,e,n){"use strict";function i(t){return null==t.value?t:t.value}var r=n(10),o=n(17),a=n(192),s=n(1),l={_baseAxisDim:null,getInitialData:function(t,e){var n,a,s=e.getComponent("xAxis",this.get("xAxisIndex")),l=e.getComponent("yAxis",this.get("yAxisIndex")),u=s.get("type"),c=l.get("type");"category"===u?(t.layout="horizontal",n=s.getCategories(),a=!0):"category"===c?(t.layout="vertical",n=l.getCategories(),a=!0):t.layout=t.layout||"horizontal",this._baseAxisDim="horizontal"===t.layout?"x":"y";var h=t.data,f=this.dimensions=["base"].concat(this.valueDimensions);o(f,h);var d=new r(f,this);return d.initData(h,n?n.slice():null,function(t,e,n,r){var o=i(t);return a?"base"===e?n:o[r-1]:o[r]}),d},coordDimToDataDim:function(t){var e=this.valueDimensions.slice(),n=["base"];return{horizontal:{x:n,y:e},vertical:{x:e,y:n}}[this.get("layout")][t]},dataDimToCoordDim:function(t){var e;return s.each(["x","y"],function(n,i){var r=this.coordDimToDataDim(n);s.indexOf(r,t)>=0&&(e=n)},this),e},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}},u={init:function(){var t=this._whiskerBoxDraw=new a(this.getStyleUpdater());this.group.add(t.group)},render:function(t,e,n){this._whiskerBoxDraw.updateData(t.getData())},remove:function(t){this._whiskerBoxDraw.remove()}};t.exports={seriesModelMixin:l,viewMixin:u}},function(t,e,n){function i(t){if(!t.target||!t.target.draggable){var e=t.offsetX,n=t.offsetY;this.containsPoint&&this.containsPoint(e,n)&&(this._x=e,this._y=n,this._dragging=!0)}}function r(t){if(this._dragging&&(f.stop(t.event),"pinch"!==t.gestureEvent)){if(d.isTaken(this._zr,"globalPan"))return;var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,o=e-i,a=n-r;this._x=e,this._y=n;var s=this.target;if(s){var l=s.position;l[0]+=o,l[1]+=a,s.dirty()}f.stop(t.event),this.trigger("pan",o,a,i,r,e,n)}}function o(t){this._dragging=!1}function a(t){var e=t.wheelDelta>0?1.1:1/1.1;l.call(this,t,e,t.offsetX,t.offsetY)}function s(t){if(!d.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;l.call(this,t,e,t.pinchX,t.pinchY)}}function l(t,e,n,i){if(this.containsPoint&&this.containsPoint(n,i)){f.stop(t.event);var r=this.target,o=this.zoomLimit;if(r){var a=r.position,s=r.scale,l=this.zoom=this.zoom||1;if(l*=e,o){var u=o.min||0,c=o.max||1/0;l=Math.max(Math.min(c,l),u)}var h=l/this.zoom;this.zoom=l,a[0]-=(n-a[0])*(h-1),a[1]-=(i-a[1])*(h-1),s[0]*=h,s[1]*=h,r.dirty()}this.trigger("zoom",e,n,i)}}function u(t,e){this.target=e,this.containsPoint,this.zoomLimit,this.zoom,this._zr=t;var n=h.bind,l=n(i,this),u=n(r,this),f=n(o,this),d=n(a,this),p=n(s,this);c.call(this),this.setContainsPoint=function(t){this.containsPoint=t},this.enable=function(e){this.disable(),null==e&&(e=!0),e!==!0&&"move"!==e&&"pan"!==e||(t.on("mousedown",l),t.on("mousemove",u),t.on("mouseup",f)),e!==!0&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",d),t.on("pinch",p))},this.disable=function(){t.off("mousedown",l),t.off("mousemove",u),t.off("mouseup",f),t.off("mousewheel",d),t.off("pinch",p)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}var c=n(29),h=n(1),f=n(33),d=n(94);h.mixin(u,c),t.exports=u},function(t,e,n){var i=n(106),r=n(1),o=n(12),a=n(8),s=["value","category","time","log"];t.exports=function(t,e,n,l){r.each(s,function(o){e.extend({type:t+"Axis."+o,mergeDefaultAndTheme:function(e,i){var s=this.layoutMode,l=s?a.getLayoutParams(e):{},u=i.getTheme();r.merge(e,u.get(o+"Axis")),r.merge(e,this.getDefaultOption()),e.type=n(t,e),s&&a.mergeLayoutParam(e,l,s)},defaultOption:r.mergeAll([{},i[o+"Axis"],l],!0)})}),o.registerSubTypeDefaulter(t+"Axis",r.curry(n,t))}},function(t,e,n){function i(t,e){var n,i=this.getBoundingRect(),r=t.get("layoutCenter"),o=t.get("layoutSize"),s=e.getWidth(),u=e.getHeight(),c=t.get("aspectScale")||.75,h=i.width/i.height*c,f=!1;r&&o&&(r=[l.parsePercent(r[0],s),l.parsePercent(r[1],u)],o=l.parsePercent(o,Math.min(s,u)),isNaN(r[0])||isNaN(r[1])||isNaN(o)?__DEV__:f=!0);var d;if(f){var d={};h>1?(d.width=o,d.height=o/h):(d.height=o,d.width=o*h),d.y=r[1]-d.height/2,d.x=r[0]-d.width/2}else n=t.getBoxLayoutParams(),n.aspect=h,d=a.getLayoutRect(n,{width:s,height:u});this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function r(t,e){s.each(e.get("geoCoord"),function(e,n){t.addGeoCoord(n,e)})}var o=n(326),a=n(8),s=n(1),l=n(4),u={};if(__DEV__)var c=function(t){};var h={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("geo",function(t,a){var s=t.get("map"),l=u[s];__DEV__&&(l||c(s));var h=new o(s+a,s,l&&l.geoJson,l&&l.specialAreas,t.get("nameMap"));h.zoomLimit=t.get("scaleLimit"),n.push(h),r(h,t),t.coordinateSystem=h,h.model=t,h.resize=i,h.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}});var a={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();a[e]=a[e]||[],a[e].push(t)}}),s.each(a,function(t,a){var l=u[a];__DEV__&&(l||c(t[0].get("map")));var h=s.map(t,function(t){return t.get("nameMap")}),f=new o(a,a,l&&l.geoJson,l&&l.specialAreas,s.mergeAll(h));f.zoomLimit=s.retrieve.apply(null,s.map(t,function(t){return t.get("scaleLimit")})),n.push(f),f.resize=i,f.resize(t[0],e),s.each(t,function(t){t.coordinateSystem=f,r(f,t)})}),n},registerMap:function(t,e,n){e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),"string"==typeof e&&(e="undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")()),u[t]={geoJson:e,specialAreas:n}},getMap:function(t){return u[t]},getFilledRegions:function(t,e){var n=(t||[]).slice(),i=h.getMap(e),r=i&&i.geoJson;
if(!r)return __DEV__&&c(e),t;for(var o={},a=r.features,s=0;s<n.length;s++)o[n[s].name]=n[s];for(var s=0;s<a.length;s++){var l=a[s].properties.name;o[l]||n.push({name:l})}return n}},f=n(2);f.registerMap=h.registerMap,f.getMap=h.getMap,f.loadMap=function(){},f.registerCoordinateSystem("geo",h),t.exports=h},function(t,e){t.exports=function(t,e){var n=e.findComponents({mainType:"legend"});n&&n.length&&e.eachSeriesByType(t,function(t){var e=t.getData();e.filterSelf(function(t){for(var i=e.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(i))return!1;return!0},this)},this)}},function(t,e,n){var i=n(4),r=n(6),o=n(49),a=Math.floor,s=Math.ceil,l=i.getPrecisionSafe,u=i.round,c=o.extend({type:"interval",_interval:0,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]),c.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval||this.niceTicks(),this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice()},getTicks:function(){this._interval||this.niceTicks();var t=this._interval,e=this._extent,n=[];if(t){var i=this._niceExtent,r=l(t)+2;e[0]<i[0]&&n.push(e[0]);for(var o=i[0];o<=i[1];)if(n.push(o),o=u(o+t,r),n.length>1e4)return[];e[1]>(n.length?n[n.length-1]:i[1])&&n.push(e[1])}return n},getTicksLabels:function(){for(var t=[],e=this.getTicks(),n=0;n<e.length;n++)t.push(this.getLabel(e[n]));return t},getLabel:function(t){return r.addCommas(t)},niceTicks:function(t){t=t||5;var e=this._extent,n=e[1]-e[0];if(isFinite(n)){n<0&&(n=-n,e.reverse());var r=u(i.nice(n/t,!0),Math.max(l(e[0]),l(e[1]))+2),o=l(r)+2,c=[u(s(e[0]/r)*r,o),u(a(e[1]/r)*r,o)];this._interval=r,this._niceExtent=c}},niceExtent:function(t,e,n){var i=this._extent;if(i[0]===i[1])if(0!==i[0]){var r=i[0];n?i[0]-=r/2:(i[1]+=r/2,i[0]-=r/2)}else i[1]=1;var o=i[1]-i[0];isFinite(o)||(i[0]=0,i[1]=1),this.niceTicks(t);var l=this._interval;e||(i[0]=u(a(i[0]/l)*l)),n||(i[1]=u(s(i[1]/l)*l))}});c.create=function(){return new c},t.exports=c},function(t,e,n){function i(){this._extent=[1/0,-(1/0)],this._interval=0,this.init&&this.init.apply(this,arguments)}var r=n(23),o=i.prototype;o.parse=function(t){return t},o.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},o.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},o.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},o.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},o.unionExtentFromData=function(t,e){this.unionExtent(t.getDataExtent(e,!0))},o.getExtent=function(){return this._extent.slice()},o.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},o.getTicksLabels=function(){for(var t=[],e=this.getTicks(),n=0;n<e.length;n++)t.push(this.getLabel(e[n]));return t},r.enableClassExtend(i),r.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},function(t,e){var n={},i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";n.throttle=function(t,e,n){function i(){u=(new Date).getTime(),c=null,t.apply(a,s||[])}var r,o,a,s,l=0,u=0,c=null;e=e||0;var h=function(){r=(new Date).getTime(),a=this,s=arguments,o=r-(n?l:u)-e,clearTimeout(c),n?c=setTimeout(i,e):o>=0?i():c=setTimeout(i,-o),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h},n.createOrUpdate=function(t,e,a,s){var l=t[e];if(l){var u=l[i]||l,c=l[o];if(l[r]!==a||c!==s){if(null==a||!s)return t[e]=u;l=t[e]=n.throttle(u,a,"debounce"===s),l[i]=u,l[o]=s,l[r]=a}return l}},n.clear=function(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])},t.exports=n},function(t,e,n){function i(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}var r=n(1),o=n(28),a=r.each,s={createVisualMappings:function(t,e,n){function i(){var t=function(){};return t.prototype.__hidden=t.prototype,new t}var s={};return a(e,function(e){var l=s[e]=i();a(t[e],function(t,i){if(o.isValidType(i)){var a={type:i,visual:t};n&&n(a,e),l[i]=new o(a),"opacity"===i&&(a=r.clone(a),a.type="colorAlpha",l.__hidden.__alphaForOpacity=new o(a))}})}),s},replaceVisualOption:function(t,e,n){var o;r.each(n,function(t){e.hasOwnProperty(t)&&i(e[t])&&(o=!0)}),o&&r.each(n,function(n){e.hasOwnProperty(n)&&i(e[n])?t[n]=r.clone(e[n]):delete t[n]})},applyVisual:function(t,e,n,i,a,s){function l(t){return n.getItemVisual(f,t)}function u(t,e){n.setItemVisual(f,t,e)}function c(t,r){f=null==s?t:r;var o=n.getRawDataItem(f);if(!o||o.visualMap!==!1)for(var c=i.call(a,t),d=e[c],p=h[c],g=0,v=p.length;g<v;g++){var m=p[g];d[m]&&d[m].applyVisual(t,l,u)}}var h={};r.each(t,function(t){var n=o.prepareVisualTypes(e[t]);h[t]=n});var f;null==s?n.each(c,!0):n.each([s],c,!0)}};t.exports=s},function(t,e){var n=1;"undefined"!=typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var i={debugMode:0,devicePixelRatio:n};t.exports=i},function(t,e,n){var i=n(1),r=n(118),o=n(9),a=function(t){t=t||{},r.call(this,t);for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,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){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToMap(t),t instanceof a&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,r=this._children,o=i.indexOf(r,t);return o<0?this:(r.splice(o,1),t.parent=null,n&&(n.delFromMap(t.id),t instanceof a&&t.delChildrenFromStorage(n)),e&&e.refresh(),this)},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;e<n.length;e++)t=n[e],i&&(i.delFromMap(t.id),t instanceof a&&t.delChildrenFromStorage(i)),t.parent=null;return n.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.addToMap(n),n instanceof a&&n.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.delFromMap(n.id),n instanceof a&&n.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,n=new o(0,0,0,0),i=t||this._children,r=[],a=0;a<i.length;a++){var s=i[a];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(r);u?(n.copy(l),n.applyTransform(u),e=e||n.clone(),e.union(n)):(e=e||l.clone(),e.union(l))}}return e||n}},i.inherits(a,r),t.exports=a},function(t,e,n){function i(t){t=t||{},a.call(this,t);for(var e in t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new o(t.style),this._rect=null,this.__clipPaths=[]}var r=n(1),o=n(129),a=n(118),s=n(132);i.prototype={constructor:i,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,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},dirty:function(){this.__dirty=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?a.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 o(t),this.dirty(!1),this}},r.inherits(i,a),r.mixin(i,s),t.exports=i},function(t,e){var n=function(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(t){return"_"+t+"Type"}function r(t,e,n){var i=e.getItemVisual(n,"color"),r=e.getItemVisual(n,t),o=e.getItemVisual(n,t+"Size");if(r&&"none"!==r){d.isArray(o)||(o=[o,o]);var a=u.createSymbol(r,-o[0]/2,-o[1]/2,o[0],o[1],i);return a.name=t,a}}function o(t){var e=new h({name:"line"});return a(e.shape,t),e}function a(t,e){var n=e[0],i=e[1],r=e[2];t.x1=n[0],t.y1=n[1],t.x2=i[0],t.y2=i[1],t.percent=1,r?(t.cpx1=r[0],t.cpy1=r[1]):(t.cpx1=NaN,t.cpy1=NaN)}function s(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),i=t.childOfName("label");if(e||n||!i.ignore){for(var r=1,o=this.parent;o;)o.scale&&(r/=o.scale[0]),o=o.parent;var a=t.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),h=c.sub([],u,l);if(c.normalize(h,h),e){e.attr("position",l);var f=a.tangentAt(0);e.attr("rotation",Math.PI/2-Math.atan2(f[1],f[0])),e.attr("scale",[r*s,r*s])}if(n){n.attr("position",u);var f=a.tangentAt(1);n.attr("rotation",-Math.PI/2-Math.atan2(f[1],f[0])),n.attr("scale",[r*s,r*s])}if(!i.ignore){i.attr("position",u);var d,p,g,v=5*r;if("end"===i.__position)d=[h[0]*v+u[0],h[1]*v+u[1]],p=h[0]>.8?"left":h[0]<-.8?"right":"center",g=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===i.__position){var m=s/2,f=a.tangentAt(m),y=[f[1],-f[0]],x=a.pointAt(m);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]),d=[x[0]+y[0]*v,x[1]+y[1]*v],p="center",g="bottom";var _=-Math.atan2(f[1],f[0]);u[0]<l[0]&&(_=Math.PI+_),i.attr("rotation",_)}else d=[-h[0]*v+l[0],-h[1]*v+l[1]],p=h[0]>.8?"right":h[0]<-.8?"left":"center",g=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";i.attr({style:{textVerticalAlign:i.__verticalAlign||g,textAlign:i.__textAlign||p},position:d,scale:[r,r]})}}}}function l(t,e,n){f.Group.call(this),this._createLine(t,e,n)}var u=n(18),c=n(5),h=n(191),f=n(3),d=n(1),p=n(4),g=["fromSymbol","toSymbol"],v=l.prototype;v.beforeUpdate=s,v._createLine=function(t,e,n){var a=t.hostModel,s=t.getItemLayout(e),l=o(s);l.shape.percent=0,f.initProps(l,{shape:{percent:1}},a,e),this.add(l);var u=new f.Text({name:"label"});this.add(u),d.each(g,function(n){var o=r(n,t,e);this.add(o),this[i(n)]=t.getItemVisual(e,n)},this),this._updateCommonStl(t,e,n)},v.updateData=function(t,e,n){var o=t.hostModel,s=this.childOfName("line"),l=t.getItemLayout(e),u={shape:{}};a(u.shape,l),f.updateProps(s,u,o,e),d.each(g,function(n){var o=t.getItemVisual(e,n),a=i(n);if(this[a]!==o){this.remove(this.childOfName(n));var s=r(n,t,e);this.add(s)}this[a]=o},this),this._updateCommonStl(t,e,n)},v._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;if(!n||t.hasItemOption){var u=t.getItemModel(e);o=u.getModel("lineStyle.normal").getLineStyle(),a=u.getModel("lineStyle.emphasis").getLineStyle(),s=u.getModel("label.normal"),l=u.getModel("label.emphasis")}var c=t.getItemVisual(e,"color"),h=d.retrieve(t.getItemVisual(e,"opacity"),o.opacity,1);r.useStyle(d.defaults({strokeNoScale:!0,fill:"none",stroke:c,opacity:h},o)),r.hoverStyle=a,d.each(g,function(t){var e=this.childOfName(t);e&&(e.setColor(c),e.setStyle({opacity:h}))},this);var v,m,y=s.getShallow("show"),x=l.getShallow("show"),_=this.childOfName("label");if(y||x){var b=i.getRawValue(e);m=null==b?m=t.getName(e):isFinite(b)?p.round(b):b,v=c||"#000"}if(y){var w=s.getModel("textStyle");_.setStyle({text:d.retrieve(i.getFormattedLabel(e,"normal",t.dataType),m),textFont:w.getFont(),fill:w.getTextColor()||v}),_.__textAlign=w.get("align"),_.__verticalAlign=w.get("baseline"),_.__position=s.get("position")}else _.setStyle("text","");if(x){var S=l.getModel("textStyle");_.hoverStyle={text:d.retrieve(i.getFormattedLabel(e,"emphasis",t.dataType),m),textFont:S.getFont(),fill:S.getTextColor()||v}}else _.hoverStyle={text:""};_.ignore=!y&&!x,f.setHoverStyle(this)},v.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},v.setLinePoints=function(t){var e=this.childOfName("line");a(e.shape,t),e.dirty()},d.inherits(l,f.Group),t.exports=l},function(t,e,n){function i(t){return isNaN(t[0])||isNaN(t[1])}function r(t){return!i(t[0])&&!i(t[1])}function o(t){this._ctor=t||s,this.group=new a.Group}var a=n(3),s=n(56),l=o.prototype;l.updateData=function(t){var e=this._lineData,n=this.group,i=this._ctor,o=t.hostModel,a={lineStyle:o.getModel("lineStyle.normal").getLineStyle(),hoverLineStyle:o.getModel("lineStyle.emphasis").getLineStyle(),labelModel:o.getModel("label.normal"),hoverLabelModel:o.getModel("label.emphasis")};t.diff(e).add(function(e){if(r(t.getItemLayout(e))){var o=new i(t,e,a);t.setItemGraphicEl(e,o),n.add(o)}}).update(function(o,s){var l=e.getItemGraphicEl(s);return r(t.getItemLayout(o))?(l?l.updateData(t,o,a):l=new i(t,o,a),t.setItemGraphicEl(o,l),void n.add(l)):void n.remove(l)}).remove(function(t){n.remove(e.getItemGraphicEl(t))}).execute(),this._lineData=t},l.updateLayout=function(){var t=this._lineData;t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},l.remove=function(){this.group.removeAll()},t.exports=o},function(t,e,n){function i(t,e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array?n.slice():[+n,+n]}function r(t){return[t[0]/2,t[1]/2]}function o(t,e,n){u.Group.call(this),this.updateData(t,e,n)}function a(t,e){this.parent.drift(t,e)}var s=n(1),l=n(18),u=n(3),c=n(4),h=o.prototype;h._createSymbol=function(t,e,n,i){this.removeAll();var o=e.hostModel,s=e.getItemVisual(n,"color"),c=l.createSymbol(t,-1,-1,2,2,s);c.attr({z2:100,culling:!0,scale:[0,0]}),c.drift=a,u.initProps(c,{scale:r(i)},o,n),this._symbolType=t,this.add(c)},h.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},h.getSymbolPath=function(){return this.childAt(0)},h.getScale=function(){return this.childAt(0).scale},h.highlight=function(){this.childAt(0).trigger("emphasis")},h.downplay=function(){this.childAt(0).trigger("normal")},h.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},h.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":"pointer"},h.updateData=function(t,e,n){this.silent=!1;var o=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,s=i(t,e);if(o!==this._symbolType)this._createSymbol(o,t,e,s);else{var l=this.childAt(0);u.updateProps(l,{scale:r(s)},a,e)}this._updateCommon(t,e,s,n),this._seriesModel=a};var f=["itemStyle","normal"],d=["itemStyle","emphasis"],p=["label","normal"],g=["label","emphasis"];h._updateCommon=function(t,e,n,i){var o=this.childAt(0),a=t.hostModel,l=t.getItemVisual(e,"color");"image"!==o.type&&o.useStyle({strokeNoScale:!0}),i=i||null;var h=i&&i.itemStyle,v=i&&i.hoverItemStyle,m=i&&i.symbolRotate,y=i&&i.symbolOffset,x=i&&i.labelModel,_=i&&i.hoverLabelModel,b=i&&i.hoverAnimation;if(!i||t.hasItemOption){var w=t.getItemModel(e);h=w.getModel(f).getItemStyle(["color"]),v=w.getModel(d).getItemStyle(),m=w.getShallow("symbolRotate"),y=w.getShallow("symbolOffset"),x=w.getModel(p),_=w.getModel(g),b=w.getShallow("hoverAnimation")}else v=s.extend({},v);var S=o.style;o.attr("rotation",(m||0)*Math.PI/180||0),y&&o.attr("position",[c.parsePercent(y[0],n[0]),c.parsePercent(y[1],n[1])]),o.setColor(l),o.setStyle(h);var M=t.getItemVisual(e,"opacity");null!=M&&(S.opacity=M);for(var A,T,I=t.dimensions.slice();I.length&&(A=I.pop(),T=t.getDimensionInfo(A).type,"ordinal"===T||"time"===T););null!=A&&x.getShallow("show")?(u.setText(S,x,l),S.text=s.retrieve(a.getFormattedLabel(e,"normal"),t.get(A,e))):S.text="",null!=A&&_.getShallow("show")?(u.setText(v,_,l),v.text=s.retrieve(a.getFormattedLabel(e,"emphasis"),t.get(A,e))):v.text="",o.off("mouseover").off("mouseout").off("emphasis").off("normal"),o.hoverStyle=v,u.setHoverStyle(o);var C=r(n);if(b&&a.isAnimationEnabled()){var L=function(){var t=C[1]/C[0];this.animateTo({scale:[Math.max(1.1*C[0],C[0]+3),Math.max(1.1*C[1],C[1]+3*t)]},400,"elasticOut")},D=function(){this.animateTo({scale:C},400,"elasticOut")};o.on("mouseover",L).on("mouseout",D).on("emphasis",L).on("normal",D)}},h.fadeOut=function(t){var e=this.childAt(0);this.silent=!0,e.style.text="",u.updateProps(e,{scale:[0,0]},this._seriesModel,this.dataIndex,t)},s.inherits(o,u.Group),t.exports=o},function(t,e,n){var i=n(6),r=n(1),o={},a=["x","y","z","radius","angle","single"],s=["cartesian2d","polar","singleAxis"];o.isCoordSupported=function(t){return r.indexOf(s,t)>=0},o.createNameEach=function(t,e){t=t.slice();var n=r.map(t,i.capitalFirst);e=(e||[]).slice();var o=r.map(e,i.capitalFirst);return function(i,a){r.each(t,function(t,r){for(var s={name:t,capital:n[r]},l=0;l<e.length;l++)s[e[l]]=t+o[l];i.call(a,s)})}},o.eachAxisDim=o.createNameEach(a,["axisIndex","axis","index","id"]),o.createLinkedNodesFinder=function(t,e,n){function i(t,e){return r.indexOf(e.nodes,t)>=0}function o(t,i){var o=!1;return e(function(e){r.each(n(t,e)||[],function(t){i.records[e.name][t]&&(o=!0)})}),o}function a(t,i){i.nodes.push(t),e(function(e){r.each(n(t,e)||[],function(t){i.records[e.name][t]=!0})})}return function(n){function r(t){!i(t,s)&&o(t,s)&&(a(t,s),l=!0)}var s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!n)return s;a(n,s);var l;do l=!1,t(r);while(l);return s}},t.exports=o},function(t,e,n){function i(t){__DEV__&&V.assert(t),z.call(this),this._zr=t,this.group=new F.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,__DEV__&&this._mounted,this._uid="brushController_"+nt++,this._handlers={},W(it,function(t,e){this._handlers[e]=V.bind(t,this)},this)}function r(t,e){var n=t._zr;t._enableGlobalPan||G.take(n,K,t._uid),W(t._handlers,function(t,e){n.on(e,t)}),t._brushType=e.brushType,t._brushOption=V.merge(V.clone(et),e,!0)}function o(t){var e=t._zr;G.release(e,K,t._uid),W(t._handlers,function(t,n){e.off(n,t)}),t._brushType=t._brushOption=null}function a(t,e){var n=rt[e.brushType].createCover(t,e);return u(n),n.__brushOption=e,t.group.add(n),n}function s(t,e){var n=h(e);return n.endCreating&&(n.endCreating(t,e),u(e)),e}function l(t,e){var n=e.__brushOption;h(e).updateCoverShape(t,e,n.range,n)}function u(t){t.traverse(function(t){t.z=X,t.z2=X})}function c(t,e){h(e).updateCommon(t,e),l(t,e)}function h(t){return rt[t.__brushOption.brushType]}function f(t,e,n){var i=t._panels;if(!i)return!0;var r;return W(i,function(t){t.contain(e,n)&&(r=t)}),r}function d(t,e){var n=t._panels;if(!n)return!0;var i=e.__brushOption.panelId;return null==i||n[i]}function p(t){var e=t._covers,n=e.length;return W(e,function(e){t.group.remove(e)},t),e.length=0,!!n}function g(t,e){var n=$(t._covers,function(t){var e=t.__brushOption,n=V.clone(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}});t.trigger("brush",n,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function v(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return Z(r*r+o*o,.5)>Y}function m(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function y(t,e,n,i){var r=new F.Group;return r.add(new F.Rect({name:"main",style:w(n),silent:!0,draggable:!0,cursor:"move",drift:j(t,e,r,"nswe"),ondragend:j(g,e,{isEnd:!0})})),W(i,function(n){r.add(new F.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:j(t,e,r,n),ondragend:j(g,e,{isEnd:!0})}))}),r}function x(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=q(r,J),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],f=c-o+r/2,d=h-o+r/2,p=c-a,g=h-s,v=p+r,m=g+r;b(t,e,"main",a,s,p,g),i.transformable&&(b(t,e,"w",l,u,o,m),b(t,e,"e",f,u,o,m),b(t,e,"n",l,u,v,o),b(t,e,"s",l,d,v,o),b(t,e,"nw",l,u,o,o),b(t,e,"ne",f,u,o,o),b(t,e,"sw",l,d,o,o),b(t,e,"se",f,d,o,o))}function _(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(w(n)),r.attr({silent:!i,cursor:i?"move":"default"}),W(["w","e","n","s","se","sw","ne","nw"],function(n){var r=e.childOfName(n),o=A(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?tt[o]+"-resize":null})})}function b(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(D(L(t,e,[[i,r],[i+o,r+a]])))}function w(t){return V.defaults({strokeNoScale:!0},t.brushStyle)}function S(t,e,n,i){var r=[U(t,n),U(e,i)],o=[q(t,n),q(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function M(t){return F.getTransform(t.group)}function A(t,e){if(e.length>1){e=e.split("");var n=[A(t,e[0]),A(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var i={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},n=F.transformDirection(i[e],M(t));return r[n]}function T(t,e,n,i,r,o,a,s){var l=i.__brushOption,u=t(l.range),h=C(n,o,a);W(r.split(""),function(t){var e=Q[t];u[e[0]][e[1]]+=h[e[0]]}),l.range=e(S(u[0][0],u[1][0],u[0][1],u[1][1])),c(n,i),g(n,{isEnd:!1})}function I(t,e,n,i,r){var o=e.__brushOption.range,a=C(t,n,i);W(o,function(t){t[0]+=a[0],t[1]+=a[1]}),c(t,e),g(t,{isEnd:!1})}function C(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function L(t,e,n){var i=d(t,e);if(i===!0)return V.clone(n);var r=i.getBoundingRect();return V.map(n,function(t){var e=t[0];e=q(e,r.x),e=U(e,r.x+r.width);var n=t[1];return n=q(n,r.y),n=U(n,r.y+r.height),[e,n]})}function D(t){var e=U(t[0][0],t[1][0]),n=U(t[0][1],t[1][1]);return{x:e,y:n,width:q(t[0][0],t[1][0])-e,height:q(t[0][1],t[1][1])-n}}function k(t,e){var n=e.offsetX,i=e.offsetY,r=t._zr;if(t._brushType){for(var o,a=t._panels,s=t._covers,l=0;l<s.length;l++)if(rt[s[l].__brushOption.brushType].contain(s[l],n,i)){o=!0;break}o||(a?W(a,function(t){t.contain(n,i)&&r.setCursorStyle("crosshair")}):r.setCursorStyle("crosshair"))}}function P(t){var e=t.event;e.preventDefault&&e.preventDefault()}function E(t,e,n){return t.childOfName("main").contain(e,n)}function O(t,e,n){var i,r=e.offsetX,o=e.offsetY,u=t._creatingCover,c=t._creatingPanel,h=t._brushOption;if(t._track.push(t.group.transformCoordToLocal(r,o)),v(t)||u){if(c&&!u){"single"===h.brushMode&&p(t);var d=V.clone(h);d.panelId=c===!0?null:c.__brushPanelId,u=t._creatingCover=a(t,d),t._covers.push(u)}if(u){var g=rt[t._brushType];u.__brushOption.range=g.getCreatingRange(L(t,u,t._track)),n&&(s(t,u),g.updateCommon(t,u)),l(t,u),i={isEnd:n}}}else n&&"single"===h.brushMode&&h.removeOnClick&&f(t,r,o)&&p(t)&&(i={isEnd:n,removeOnClick:!0});return i}function R(t){if(this._dragging){P(t);var e=O(this,t,!0);this._dragging=!1,this._track=[],this._creatingCover=null,e&&g(this,e)}}function N(t){return{createCover:function(e,n){return y(j(T,function(e){var n=[e,[0,100]];return t&&n.reverse(),n},function(e){return e[t]}),e,n,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var n=m(e);return[U(n[0][t],n[1][t]),q(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=r.brushStyle.width;if(null==a){var s=d(e,n),l=0;if(s!==!0){var u=s.getBoundingRect();a=t?u.width:u.height,l=t?u.x:u.y}o=[l,l+(a||0)]}else o=[-a/2,a/2];var c=[i,o];t&&c.reverse(),x(e,n,c,r)},updateCommon:_,contain:E}}var z=n(29),V=n(1),B=n(9),F=n(3),G=n(94),H=n(40),j=V.curry,W=V.each,$=V.map,U=Math.min,q=Math.max,Z=Math.pow,X=1e4,Y=6,J=6,K="globalPan",Q={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},tt={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},et={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},nt=0;i.prototype={constructor:i,enableBrush:function(t){return __DEV__&&V.assert(this._mounted),this._brushType&&o(this),t.brushType&&r(this,t),this},setPanels:function(t){var e=this._panels||{},n=this._panels=t&&t.length&&{},i=this.group;return n&&W(t,function(t){var r=t.panelId,o=e[r];o||(o=new F.Rect({silent:!0,invisible:!0}),i.add(o));var a=t.rect;a instanceof B||(a=B.create(a)),o.attr("shape",a.plain()),o.__brushPanelId=r,n[r]=o,e[r]=null}),W(e,function(t){t&&i.remove(t)}),this},mount:function(t){t=t||{},__DEV__&&(this._mounted=!0),this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this},eachCover:function(t,e){W(this._covers,t,e)},updateCovers:function(t){function e(t,e){return(null!=t.id?t.id:o+e)+"-"+t.brushType}function n(t,n){return e(t.__brushOption,n)}function i(e,n){var i=t[e];null!=n&&l[n]===f?u[e]=l[n]:c(h,u[e]=null!=n?(l[n].__brushOption=i,l[n]):s(h,a(h,i)))}function r(t){l[t]!==f&&h.group.remove(l[t])}__DEV__&&V.assert(this._mounted),t=V.map(t,function(t){return V.merge(V.clone(et),t,!0)});var o="\0-brush-index-",l=this._covers,u=this._covers=[],h=this,f=this._creatingCover;return new H(l,t,n,e).add(i).update(i).remove(r).execute(),this},unmount:function(){return this.enableBrush(!1),p(this),this._zr.remove(this.group),__DEV__&&(this._mounted=!1),this},dispose:function(){this.unmount(),this.off()}},V.mixin(i,z);var it={mousedown:function(t){if(this._dragging)R.call(this,t);else if(!t.target||!t.target.draggable){P(t);var e=t.offsetX,n=t.offsetY;this._creatingCover=null;var i=this._creatingPanel=f(this,e,n);i&&(this._dragging=!0,this._track=[this.group.transformCoordToLocal(e,n)])}},mousemove:function(t){if(k(this,t),this._dragging){P(t);var e=O(this,t,!1);e&&g(this,e)}},mouseup:R},rt={lineX:N(0),lineY:N(1),rect:{createCover:function(t,e){return y(j(T,function(t){return t},function(t){return t}),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=m(t);return S(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){x(t,e,n,i)},updateCommon:_,contain:E},polygon:{createCover:function(t,e){var n=new F.Group;return n.add(new F.Polyline({name:"main",style:w(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new F.Polygon({name:"main",draggable:!0,drift:j(I,t,e),ondragend:j(g,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:L(t,e,n)})},updateCommon:_,contain:E}};t.exports=i},function(t,e,n){function i(t){return t[0]>t[1]&&t.reverse(),t}function r(t,e){for(var n=!0,i=0;i<c.length;i++){var r=c[i]+"Index";if(t[r]>=0){n=!1;for(var o=0;o<e.length;o++)if(e[o][r]===t[r])return e[o]}}return n}function o(t,e,n,r){var o=n.coordSys.getAxis(t);return __DEV__&&a.assert(o,"line brush is only available in cartesian (grid)."),i(a.map([0,1],function(t){return e?o.coordToData(o.toLocalCoord(r[t])):o.toGlobalCoord(o.dataToCoord(r[t]))}))}var a=n(1),s=n(3),l=a.each,u={},c=["geo","xAxis","yAxis"],h="--",f=["dataToPoint","pointToData"];u.parseOutputRanges=function(t,e,n,i){l(t,function(t,n){var o=t.panelId;if(o){o=o.split(h),t[o[0]+"Index"]=+o[1];var a=r(t,e);t.coordRange=d[t.brushType](1,a,t.range),i&&(i[n]=a)}})},u.parseInputRanges=function(t,e){l(t.areas,function(e){var n=r(e,t.coordInfoList);__DEV__&&(a.assert(!n||n===!0||e.coordRange,"coordRange must be specified when coord index specified."),a.assert(!n||n!==!0||e.range,"range must be specified.")),e.range=e.range||[],n&&n!==!0&&(e.range=d[e.brushType](0,n,e.coordRange),e.panelId=n.panelId)})},u.makePanelOpts=function(t){var e=[];return l(t,function(t){var n,i=t.coordSys;t.geoIndex>=0?(n=i.getBoundingRect().clone(),n.applyTransform(s.getTransform(i))):n=i.grid.getRect().clone(),e.push({panelId:t.panelId,rect:n})}),e},u.makeCoordInfoList=function(t,e){var n=[];return l(c,function(i){var r=t[i+"Index"];null!=r&&"none"!==r&&("all"===r||a.isArray(r)||(r=[r]),e.eachComponent({mainType:i},function(t,e){if(!("all"!==r&&a.indexOf(r,e)<0)){var o,s;"xAxis"===i||"yAxis"===i?o=t.axis.grid:s=t.coordinateSystem;for(var l,u=0,c=n.length;u<c;u++){var f=n[u];if(__DEV__&&a.assert(f[i+"Index"]!=e,"Coord should not be defined duplicately: "+i+e),"yAxis"===i&&!f.yAxis&&f.xAxis){var d=o.getCartesian(f.xAxisIndex,e);if(d){s=d,l=f;break}}}!l&&n.push(l={}),l[i]=t,l[i+"Index"]=e,l.panelId=i+h+e,l.coordSys=s||o.getCartesian(l.xAxisIndex,l.yAxisIndex),l.coordSys?n[i+"Has"]=!0:n.pop()}}))}),n},u.controlSeries=function(t,e,n){var i=r(t,e.coordInfoList);return i===!0||i&&i.coordSys===n.coordinateSystem};var d={lineX:a.curry(o,"x"),lineY:a.curry(o,"y"),rect:function(t,e,n){var r=e.coordSys,o=r[f[t]]([n[0][0],n[1][0]]),a=r[f[t]]([n[0][1],n[1][1]]);return[i([o[0],a[0]]),i([o[1],a[1]])]},polygon:function(t,e,n){var i=e.coordSys;return a.map(n,i[f[t]],i)}};t.exports=u},function(t,e,n){var i=n(1);t.exports={updateSelectedMap:function(t){this._selectTargetMap=i.reduce(t||[],function(t,e){return t[e.name]=e,t},{})},select:function(t){var e=this._selectTargetMap,n=e[t];"single"===this.get("selectedMode")&&i.each(e,function(t){t.selected=!1}),n&&(n.selected=!0)},unSelect:function(t){var e=this._selectTargetMap[t];e&&(e.selected=!1)},toggleSelected:function(t){var e=this._selectTargetMap[t];if(null!=e)return this[e.selected?"unSelect":"select"](t),e.selected},isSelected:function(t){var e=this._selectTargetMap[t];return e&&e.selected}}},function(t,e){t.exports=function(t,e,n,i,r){function o(t,e,n){var i=e.length?e.slice():[e,e];return e[0]>e[1]&&i.reverse(),t<0&&i[0]+t<n[0]&&(t=n[0]-i[0]),t>0&&i[1]+t>n[1]&&(t=n[1]-i[1]),t}return t?("rigid"===i?(t=o(t,e,n),e[0]+=t,e[1]+=t):(t=o(t,e[r],n),e[r]+=t,"push"===i&&e[0]>e[1]&&(e[1-r]=e[r])),e):e}},function(t,e,n){function i(t){r.defaultEmphasis(t.label,r.LABEL_OPTIONS)}var r=n(7),o=n(1),a=n(14),s=n(6),l=s.addCommas,u=s.encodeHTML,c=n(2).extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n,i){if(__DEV__&&"marker"===this.type)throw new Error("Marker component is abstract component. Use markLine, markPoint, markArea instead.");this.mergeDefaultAndTheme(t,n),this.mergeOption(t,n,i.createdBySelf,!0)},isAnimationEnabled:function(){if(a.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e,n,r){var a=this.constructor,s=this.mainType+"Model";n||e.eachSeries(function(t){var n=t.get(this.mainType),l=t[s];return n&&n.data?(l?l.mergeOption(n,e,!0):(r&&i(n),o.each(n.data,function(t){t instanceof Array?(i(t[0]),i(t[1])):i(t)}),l=new a(n,this,e),o.extend(l,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),l.__hostSeries=t),void(t[s]=l)):void(t[s]=null)},this)},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),i=o.isArray(n)?o.map(n,l).join(", "):l(n),r=e.getName(t),a=u(this.name);return(null!=n||r)&&(a+="<br />"),r&&(a+=u(r),null!=n&&(a+=" : ")),null!=n&&(a+=u(i)),a},getData:function(){return this._data},setData:function(t){this._data=t}});o.mixin(c,r.dataFormatMixin),t.exports=c},function(t,e,n){t.exports=n(2).extendComponentView({type:"marker",init:function(){this.markerGroupMap={}},render:function(t,e,n){var i=this.markerGroupMap;for(var r in i)i.hasOwnProperty(r)&&(i[r].__keep=!1);var o=this.type+"Model";e.eachSeries(function(t){var i=t[o];i&&this.renderSeries(t,i,e,n)},this);for(var r in i)i.hasOwnProperty(r)&&!i[r].__keep&&this.group.remove(i[r].group)},renderSeries:function(){}})},function(t,e,n){function i(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function r(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function o(t,e,n){var i=-1;do i=Math.max(l.getPrecision(t.get(e,n)),i),t=t.stackedOn;while(t);return i}function a(t,e,n,i,r,a){var s=[],l=v(e,i,t),u=e.indexOfNearest(i,l,!0);s[r]=e.get(n,u,!0),s[a]=e.get(i,u,!0);var c=o(e,i,u);return c>=0&&(s[a]=+s[a].toFixed(c)),s}var s=n(1),l=n(4),u=s.indexOf,c=s.curry,h={min:c(a,"min"),max:c(a,"max"),average:c(a,"average")},f=function(t,e){var n=t.getData(),i=t.coordinateSystem;if(e&&!r(e)&&!s.isArray(e.coord)&&i){var o=i.dimensions,a=d(e,n,i,t);if(e=s.clone(e),e.type&&h[e.type]&&a.baseAxis&&a.valueAxis){
var l=u(o,a.baseAxis.dim),c=u(o,a.valueAxis.dim);e.coord=h[e.type](n,a.baseDataDim,a.valueDataDim,l,c),e.value=e.coord[c]}else{for(var f=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],p=0;p<2;p++)if(h[f[p]]){var g=t.coordDimToDataDim(o[p])[0];f[p]=v(n,g,f[p])}e.coord=f}}return e},d=function(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(i.dataDimToCoordDim(r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=i.coordDimToDataDim(r.baseAxis.dim)[0]):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=i.coordDimToDataDim(r.baseAxis.dim)[0],r.valueDataDim=i.coordDimToDataDim(r.valueAxis.dim)[0]),r},p=function(t,e){return!(t&&t.containData&&e.coord&&!i(e))||t.containData(e.coord)},g=function(t,e,n,i){return i<2?t.coord&&t.coord[i]:t.value},v=function(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,function(t,e){isNaN(t)||(i+=t,r++)},!0),i/r}return t.getDataExtent(e,!0)["max"===n?1:0]};t.exports={dataTransform:f,dataFilter:p,dimValueGetter:g,getAxisInfo:d,numCalculate:v}},function(t,e,n){function i(t,e,n){return t.getCoordSysModel()===e}function r(t){var e,n=t.model,i=n.getFormattedLabels(),r=n.getModel("axisLabel.textStyle"),o=1,a=i.length;a>40&&(o=Math.ceil(a/40));for(var s=0;s<a;s+=o)if(!t.isLabelIgnored(s)){var l=r.getTextRect(i[s]);e?e.union(l):e=l}return e}function o(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this._model=t}function a(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}function s(t,e){return h.map(y,function(e){var n=t.getReferringComponents(e)[0];if(__DEV__&&!n)throw new Error(e+' "'+h.retrieve(t.get(e+"Index"),t.get(e+"Id"),0)+'" not found');return n})}function l(t){return"cartesian2d"===t.get("coordinateSystem")}var u=n(8),c=n(16),h=n(1),f=n(323),d=n(321),p=h.each,g=c.ifAxisCrossZero,v=c.niceScaleExtent;n(324);var m=o.prototype;m.type="grid",m.getRect=function(){return this._rect},m.update=function(t,e){function n(t){var e=i[t];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(r&&("category"===r.type||!g(r)))return!0}return!1}var i=this._axesMap;this._updateScale(t,this._model),p(i.x,function(t){v(t,t.model)}),p(i.y,function(t){v(t,t.model)}),p(i.x,function(t){n("y")&&(t.onZero=!1)}),p(i.y,function(t){n("x")&&(t.onZero=!1)}),this.resize(this._model,e)},m.resize=function(t,e){function n(){p(o,function(t){var e=t.isHorizontal(),n=e?[0,i.width]:[0,i.height],r=t.inverse?1:0;t.setExtent(n[r],n[1-r]),a(t,e?i.x:i.y)})}var i=u.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=i;var o=this._axesList;n(),t.get("containLabel")&&(p(o,function(t){if(!t.model.get("axisLabel.inside")){var e=r(t);if(e){var n=t.isHorizontal()?"height":"width",o=t.model.get("axisLabel.margin");i[n]-=e[n]+o,"top"===t.position?i.y+=e.height+o:"left"===t.position&&(i.x+=e.width+o)}}}),n())},m.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]}},m.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},m.convertToPixel=function(t,e,n){var i=this._findConvertTarget(t,e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},m.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(t,e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},m._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,l=this._coordsList;if(r)n=r.coordinateSystem,h.indexOf(l,n)<0&&(n=null);else if(o&&a)n=this.getCartesian(o.componentIndex,a.componentIndex);else if(o)i=this.getAxis("x",o.componentIndex);else if(a)i=this.getAxis("y",a.componentIndex);else if(s){var u=s.coordinateSystem;u===this&&(n=this._coordsList[0])}return{cartesian:n,axis:i}},m.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},m._initCartesian=function(t,e,n){function r(n){return function(r,l){if(i(r,t,e)){var u=r.get("position");"x"===n?"top"!==u&&"bottom"!==u&&(u="bottom",o[u]&&(u="top"===u?"bottom":"top")):"left"!==u&&"right"!==u&&(u="left",o[u]&&(u="left"===u?"right":"left")),o[u]=!0;var h=new d(n,c.createScaleByModel(r),[0,0],r.get("type"),u),f="category"===h.type;h.onBand=f&&r.get("boundaryGap"),h.inverse=r.get("inverse"),h.onZero=r.get("axisLine.onZero"),r.axis=h,h.model=r,h.grid=this,h.index=l,this._axesList.push(h),a[n][l]=h,s[n]++}}}var o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};return e.eachComponent("xAxis",r("x"),this),e.eachComponent("yAxis",r("y"),this),s.x&&s.y?(this._axesMap=a,void p(a.x,function(t,e){p(a.y,function(n,i){var r="x"+e+"y"+i,o=new f(r);o.grid=this,this._coordsMap[r]=o,this._coordsList.push(o),o.addAxis(t),o.addAxis(n)},this)},this)):(this._axesMap={},void(this._axesList=[]))},m._updateScale=function(t,e){function n(t,e,n){p(n.coordDimToDataDim(e.dim),function(n){e.scale.unionExtentFromData(t,n)})}h.each(this._axesList,function(t){t.scale.setExtent(1/0,-(1/0))}),t.eachSeries(function(r){if(l(r)){var o=s(r,t),a=o[0],u=o[1];if(!i(a,e,t)||!i(u,e,t))return;var c=this.getCartesian(a.componentIndex,u.componentIndex),h=r.getData(),f=c.getAxis("x"),d=c.getAxis("y");"list"===h.type&&(n(h,f,r),n(h,d,r))}},this)};var y=["xAxis","yAxis"];o.create=function(t,e){var n=[];return t.eachComponent("grid",function(i,r){var a=new o(i,t,e);a.name="grid_"+r,a.resize(i,e),i.coordinateSystem=a,n.push(a)}),t.eachSeries(function(e){if(l(e)){var n=s(e,t),i=n[0],r=n[1],o=i.getCoordSysModel();if(__DEV__){if(!o)throw new Error('Grid "'+h.retrieve(i.get("gridIndex"),i.get("gridId"),0)+'" not found');if(i.getCoordSysModel()!==r.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var a=o.coordinateSystem;e.coordinateSystem=a.getCartesian(i.componentIndex,r.componentIndex)}}),n},o.dimensions=f.prototype.dimensions,n(19).register("cartesian2d",o),t.exports=o},function(t,e,n){function i(t,e){var n=t.get("center"),i=t.get("radius"),r=e.getWidth(),o=e.getHeight(),a=s.parsePercent;this.cx=a(n[0],r),this.cy=a(n[1],o);var l=this.getRadiusAxis(),u=Math.min(r,o)/2;l.setExtent(0,a(i,u))}function r(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-(1/0)),r.scale.setExtent(1/0,-(1/0)),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();r.scale.unionExtentFromData(e,"radius"),i.scale.unionExtentFromData(e,"angle")}}),c(i,i.model),c(r,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function o(t,e){if(t.type=e.get("type"),t.scale=u.createScaleByModel(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,"angleAxis"===e.mainType){var n=e.get("startAngle");t.inverse=e.get("inverse")^e.get("clockwise"),t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var a=n(339),s=n(4),l=n(1),u=n(16),c=u.niceScaleExtent;n(340);var h={dimensions:a.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",function(t,s){var l=new a(s);l.resize=i,l.update=r;var u=l.getRadiusAxis(),c=l.getAngleAxis(),h=t.findAxisModel("radiusAxis"),f=t.findAxisModel("angleAxis");o(u,h),o(c,f),l.resize(t,e),n.push(l),t.coordinateSystem=l}),t.eachSeries(function(e){if("polar"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];if(__DEV__&&!n)throw new Error('Polar "'+l.retrieve(e.get("polarIndex"),e.get("polarId"),0)+'" not found');e.coordinateSystem=n.coordinateSystem}}),n}};n(19).register("polar",h)},function(t,e){t.exports=function(t,e){e.eachSeriesByType(t,function(t){var e=t.getData(),n=t.coordinateSystem;if(n){var i=n.dimensions;"singleAxis"===n.type?e.each(i[0],function(t,i){e.setItemLayout(i,isNaN(t)?[NaN,NaN]:n.dataToPoint(t))}):e.each(i,function(t,i,r){e.setItemLayout(r,isNaN(t)||isNaN(i)?[NaN,NaN]:n.dataToPoint([t,i]))},!0)}})}},function(t,e,n){var i=n(1),r=n(23),o=r.parseClassType,a=0,s={};s.getUID=function(t){return[t||"",a++,Math.random()].join("_")},s.enableSubTypeDefaulter=function(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=o(t),e[t.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var a=o(n).main;t.hasSubTypes(n)&&e[a]&&(r=e[a](i))}return r},t},s.enableTopologicalTravel=function(t,e){function n(t){var n={},a=[];return i.each(t,function(s){var l=r(n,s),u=l.originalDeps=e(s),c=o(u,t);l.entryCount=c.length,0===l.entryCount&&a.push(s),i.each(c,function(t){i.indexOf(l.predecessor,t)<0&&l.predecessor.push(t);var e=r(n,t);i.indexOf(e.successor,t)<0&&e.successor.push(s)})}),{graph:n,noEntryList:a}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function o(t,e){var n=[];return i.each(t,function(t){i.indexOf(e,t)>=0&&n.push(t)}),n}t.topologicalTravel=function(t,e,r,o){function a(t){u[t].entryCount--,0===u[t].entryCount&&c.push(t)}function s(t){h[t]=!0,a(t)}if(t.length){var l=n(e),u=l.graph,c=l.noEntryList,h={};for(i.each(t,function(t){h[t]=!0});c.length;){var f=c.pop(),d=u[f],p=!!h[f];p&&(r.call(o,f,d.originalDeps.slice()),delete h[f]),i.each(d.successor,p?s:a)}i.each(h,function(){throw new Error("Circle dependency may exists")})}}},t.exports=s},function(t,e,n){var i=n(53),r=n(70),o=n(23),a=function(){this.group=new i,this.uid=r.getUID("viewComponent")};a.prototype={constructor:a,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){}};var s=a.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,n,i){},o.enableClassExtend(a),o.enableClassManagement(a,{registerWhenExtend:!0}),t.exports=a},function(t,e){t.exports=function(t,e){var n={};e.eachRawSeriesByType(t,function(t){var i=t.getRawData(),r={};if(!e.isSeriesFiltered(t)){var o=t.getData();o.each(function(t){r[o.getRawIndex(t)]=t}),i.each(function(e){var a=r[e],s=null!=a&&o.getItemVisual(a,"color",!0);if(s)i.setItemVisual(e,"color",s);else{var l=i.getItemModel(e),u=l.get("itemStyle.normal.color")||t.getColorFromPalette(i.getName(e),n);i.setItemVisual(e,"color",u),null!=a&&o.setItemVisual(a,"color",u)}})}})}},function(t,e,n){var i=n(5),r=n(26),o={},a=Math.min,s=Math.max,l=Math.sin,u=Math.cos,c=i.create(),h=i.create(),f=i.create(),d=2*Math.PI;o.fromPoints=function(t,e,n){if(0!==t.length){var i,r=t[0],o=r[0],l=r[0],u=r[1],c=r[1];for(i=1;i<t.length;i++)r=t[i],o=a(o,r[0]),l=s(l,r[0]),u=a(u,r[1]),c=s(c,r[1]);e[0]=o,e[1]=u,n[0]=l,n[1]=c}},o.fromLine=function(t,e,n,i,r,o){r[0]=a(t,n),r[1]=a(e,i),o[0]=s(t,n),o[1]=s(e,i)};var p=[],g=[];o.fromCubic=function(t,e,n,i,o,l,u,c,h,f){var d,v=r.cubicExtrema,m=r.cubicAt,y=v(t,n,o,u,p);for(h[0]=1/0,h[1]=1/0,f[0]=-(1/0),f[1]=-(1/0),d=0;d<y;d++){var x=m(t,n,o,u,p[d]);h[0]=a(x,h[0]),f[0]=s(x,f[0])}for(y=v(e,i,l,c,g),d=0;d<y;d++){var _=m(e,i,l,c,g[d]);h[1]=a(_,h[1]),f[1]=s(_,f[1])}h[0]=a(t,h[0]),f[0]=s(t,f[0]),h[0]=a(u,h[0]),f[0]=s(u,f[0]),h[1]=a(e,h[1]),f[1]=s(e,f[1]),h[1]=a(c,h[1]),f[1]=s(c,f[1])},o.fromQuadratic=function(t,e,n,i,o,l,u,c){var h=r.quadraticExtremum,f=r.quadraticAt,d=s(a(h(t,n,o),1),0),p=s(a(h(e,i,l),1),0),g=f(t,n,o,d),v=f(e,i,l,p);u[0]=a(t,o,g),u[1]=a(e,l,v),c[0]=s(t,o,g),c[1]=s(e,l,v)},o.fromArc=function(t,e,n,r,o,a,s,p,g){var v=i.min,m=i.max,y=Math.abs(o-a);if(y%d<1e-4&&y>1e-4)return p[0]=t-n,p[1]=e-r,g[0]=t+n,void(g[1]=e+r);if(c[0]=u(o)*n+t,c[1]=l(o)*r+e,h[0]=u(a)*n+t,h[1]=l(a)*r+e,v(p,c,h),m(g,c,h),o%=d,o<0&&(o+=d),a%=d,a<0&&(a+=d),o>a&&!s?a+=d:o<a&&s&&(o+=d),s){var x=a;a=o,o=x}for(var _=0;_<a;_+=Math.PI/2)_>o&&(f[0]=u(_)*n+t,f[1]=l(_)*r+e,v(p,f,p),m(g,f,g))},t.exports=o},function(t,e,n){var i=n(52);t.exports=function(){if(0!==i.debugMode)if(1==i.debugMode)for(var t in arguments)throw new Error(arguments[t]);else if(i.debugMode>1)for(var t in arguments);}},function(t,e){function n(t){for(var e=0;t>=c;)e|=1&t,t>>=1;return t+e}function i(t,e,n,i){var o=e+1;if(o===n)return 1;if(i(t[o++],t[e])<0){for(;o<n&&i(t[o],t[o-1])<0;)o++;r(t,e,o)}else for(;o<n&&i(t[o],t[o-1])>=0;)o++;return o-e}function r(t,e,n){for(n--;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}function o(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)o=s+l>>>1,r(a,t[o])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function a(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[n+r-l])<=0;)a=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function s(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;)a=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(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 l(t,e){function n(t,e){c[y]=t,d[y]=e,y+=1}function i(){for(;y>1;){var t=y-2;if(t>=1&&d[t-1]<=d[t]+d[t+1]||t>=2&&d[t-2]<=d[t]+d[t-1])d[t-1]<d[t+1]&&t--;else if(d[t]>d[t+1])break;o(t)}}function r(){for(;y>1;){var t=y-2;t>0&&d[t-1]<d[t+1]&&t--,o(t)}}function o(n){var i=c[n],r=d[n],o=c[n+1],h=d[n+1];d[n]=r+h,n===y-3&&(c[n+1]=c[n+2],d[n+1]=d[n+2]),y--;var f=s(t[o],t,i,r,0,e);i+=f,r-=f,0!==r&&(h=a(t[i+r-1],t,o,h,h-1,e),0!==h&&(r<=h?l(i,r,o,h):u(i,r,o,h)))}function l(n,i,r,o){var l=0;for(l=0;l<i;l++)x[l]=t[n+l];var u=0,c=r,f=n;if(t[f++]=t[c++],0!==--o){if(1===i){for(l=0;l<o;l++)t[f+l]=t[c+l];return void(t[f+o]=x[u])}for(var d,g,v,m=p;;){d=0,g=0,v=!1;do if(e(t[c],x[u])<0){if(t[f++]=t[c++],g++,d=0,0===--o){v=!0;break}}else if(t[f++]=x[u++],d++,g=0,1===--i){v=!0;break}while((d|g)<m);if(v)break;do{if(d=s(t[c],x,u,i,0,e),0!==d){for(l=0;l<d;l++)t[f+l]=x[u+l];if(f+=d,u+=d,i-=d,i<=1){v=!0;break}}if(t[f++]=t[c++],0===--o){v=!0;break}if(g=a(x[u],t,c,o,0,e),0!==g){for(l=0;l<g;l++)t[f+l]=t[c+l];if(f+=g,c+=g,o-=g,0===o){v=!0;break}}if(t[f++]=x[u++],1===--i){v=!0;break}m--}while(d>=h||g>=h);if(v)break;m<0&&(m=0),m+=2}if(p=m,p<1&&(p=1),1===i){for(l=0;l<o;l++)t[f+l]=t[c+l];t[f+o]=x[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[f+l]=x[u+l]}}else for(l=0;l<i;l++)t[f+l]=x[u+l]}function u(n,i,r,o){var l=0;for(l=0;l<o;l++)x[l]=t[r+l];var u=n+i-1,c=o-1,f=r+o-1,d=0,g=0;if(t[f--]=t[u--],0!==--i){if(1===o){for(f-=i,u-=i,g=f+1,d=u+1,l=i-1;l>=0;l--)t[g+l]=t[d+l];return void(t[f]=x[c])}for(var v=p;;){var m=0,y=0,_=!1;do if(e(x[c],t[u])<0){if(t[f--]=t[u--],m++,y=0,0===--i){_=!0;break}}else if(t[f--]=x[c--],y++,m=0,1===--o){_=!0;break}while((m|y)<v);if(_)break;do{if(m=i-s(x[c],t,n,i,i-1,e),0!==m){for(f-=m,u-=m,i-=m,g=f+1,d=u+1,l=m-1;l>=0;l--)t[g+l]=t[d+l];if(0===i){_=!0;break}}if(t[f--]=x[c--],1===--o){_=!0;break}if(y=o-a(t[u],x,0,o,o-1,e),0!==y){for(f-=y,c-=y,o-=y,g=f+1,d=c+1,l=0;l<y;l++)t[g+l]=x[d+l];if(o<=1){_=!0;break}}if(t[f--]=t[u--],0===--i){_=!0;break}v--}while(m>=h||y>=h);if(_)break;v<0&&(v=0),v+=2}if(p=v,p<1&&(p=1),1===o){for(f-=i,u-=i,g=f+1,d=u+1,l=i-1;l>=0;l--)t[g+l]=t[d+l];t[f]=x[c]}else{if(0===o)throw new Error;for(d=f-(o-1),l=0;l<o;l++)t[d+l]=x[l]}}else for(d=f-(o-1),l=0;l<o;l++)t[d+l]=x[l]}var c,d,p=h,g=0,v=f,m=0,y=0;g=t.length,g<512&&(v=g>>>1);var x=[];m=g<120?5:g<1542?10:g<119151?19:40,c=[],d=[],this.mergeRuns=i,this.forceMergeRuns=r,this.pushRun=n}function u(t,e,r,a){r||(r=0),a||(a=t.length);var s=a-r;if(!(s<2)){var u=0;if(s<c)return u=i(t,r,a,e),void o(t,r,a,r+u,e);var h=new l(t,e),f=n(s);do{if(u=i(t,r,a,e),u<f){var d=s;d>f&&(d=f),o(t,r,r+d,r+u,e),u=d}h.pushRun(r,u),h.mergeRuns(),s-=u,r+=u}while(0!==s);h.forceMergeRuns()}}var c=32,h=7,f=256;t.exports=u},function(t,e,n){function i(t){r.call(this,t)}var r=n(54),o=n(9),a=n(1),s=n(391),l=new s(50);i.prototype={constructor:i,type:"image",brush:function(t,e){var n,i=this.style,r=i.image;if(i.bind(t,this,e),n="string"==typeof r?this._image:r,!n&&r){var o=l.get(r);if(!o)return n=new Image,n.onload=function(){n.onload=null;for(var t=0;t<o.pending.length;t++)o.pending[t].dirty()},o={image:n,pending:[this]},n.src=r,l.put(r,o),void(this._image=n);if(n=o.image,this._image=n,!n.width||!n.height)return void o.pending.push(this)}if(n){var a=i.width||n.width,s=i.height||n.height,u=i.x||0,c=i.y||0;if(!n.width||!n.height)return;if(this.setTransform(t),i.sWidth&&i.sHeight){var h=i.sx||0,f=i.sy||0;t.drawImage(n,h,f,i.sWidth,i.sHeight,u,c,a,s)}else if(i.sx&&i.sy){var h=i.sx,f=i.sy,d=a-h,p=s-f;t.drawImage(n,h,f,d,p,u,c,a,s)}else t.drawImage(n,u,c,a,s);null==i.width&&(i.width=a),null==i.height&&(i.height=s),this.restoreTransform(t),null!=i.text&&this.drawRectText(t,this.getBoundingRect())}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new o(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},a.inherits(i,r),t.exports=i},function(t,e,n){var i=n(2),r=n(1);t.exports=function(t,e){r.each(e,function(e){e.update="updateView",i.registerAction(e,function(n,i){var r={};return i.eachComponent({mainType:"series",subType:t,query:n},function(t){t[e.method]&&t[e.method](n.name);var i=t.getData();i.each(function(e){var n=i.getName(e);r[n]=t.isSelected(n)||!1})}),{name:n.name,selected:r}})})}},function(t,e,n){var i=n(1),r=n(79);n(2).registerAction({type:"geoRoam",event:"geoRoam",update:"updateLayout"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){var o=e.coordinateSystem;if("geo"===o.type){var a=r.updateCenterAndZoom(o,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(a.center),e.setZoom&&e.setZoom(a.zoom),"series"===n&&i.each(e.seriesGroup,function(t){t.setCenter(a.center),t.setZoom(a.zoom)})}})})},function(t,e){var n={};n.updateCenterAndZoom=function(t,e,n){var i=t.getZoom(),r=t.getCenter(),o=e.zoom,a=t.dataToPoint(r);if(null!=e.dx&&null!=e.dy){a[0]-=e.dx,a[1]-=e.dy;var r=t.pointToData(a);t.setCenter(r)}if(null!=o){if(n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(i*o,l),s)/i}t.scale[0]*=o,t.scale[1]*=o;var u=t.position,c=(e.originX-u[0])*(o-1),h=(e.originY-u[1])*(o-1);u[0]-=c,u[1]-=h,t.updateTransform();var r=t.pointToData(a);t.setCenter(r),t.setZoom(o*i)}return{center:t.getCenter(),zoom:t.getZoom()}},t.exports=n},function(t,e,n){"use strict";var i=n(13),r=n(30);t.exports=i.extend({type:"series.__base_bar__",getInitialData:function(t,e){if(__DEV__&&"cartesian2d"!==t.coordinateSystem)throw new Error("Bar only support cartesian2d coordinateSystem");return r(t.data,this,e)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var n=e.dataToPoint(t,!0),i=this.getData(),r=i.getLayout("offset"),o=i.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=r+o/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,itemStyle:{normal:{},emphasis:{}}}})},function(t,e,n){function i(t,e,n,i,r){o.setText(t,e,n),t.text=i,"outside"===t.textPosition&&(t.textPosition=r)}var r=n(1),o=n(3),a={};a.setLabel=function(t,e,n,o,a,s,l){var u=n.getModel("label.normal"),c=n.getModel("label.emphasis");u.get("show")?i(t,u,o,r.retrieve(a.getFormattedLabel(s,"normal"),a.getRawValue(s)),l):t.text="",c.get("show")?i(e,c,o,r.retrieve(a.getFormattedLabel(s,"emphasis"),a.getRawValue(s)),l):e.text=""},t.exports=a},function(t,e,n){var i=n(5);t.exports=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=e.getBoundingRect(),r=t.getData(),o=r.graph,a=0,s=r.getSum("value"),l=2*Math.PI/(s||r.count()),u=n.width/2+n.x,c=n.height/2+n.y,h=Math.min(n.width,n.height)/2;o.eachNode(function(t){var e=t.getValue("value");a+=l*(s?e:1)/2,t.setLayout([h*Math.cos(a)+u,h*Math.sin(a)+c]),a+=l*(s?e:1)/2}),r.setLayout({cx:u,cy:c}),o.eachEdge(function(t){var e,n=t.getModel().get("lineStyle.normal.curveness")||0,r=i.clone(t.node1.getLayout()),o=i.clone(t.node2.getLayout()),a=(r[0]+o[0])/2,s=(r[1]+o[1])/2;+n&&(n*=3,e=[u*n+a*(1-n),c*n+s*(1-n)]),t.setLayout([r,o,e])})}}},function(t,e,n){var i=n(5);t.exports=function(t){t.eachEdge(function(t){var e=t.getModel().get("lineStyle.normal.curveness")||0,n=i.clone(t.node1.getLayout()),r=i.clone(t.node2.getLayout()),o=[n,r];+e&&o.push([(n[0]+r[0])/2-(n[1]-r[1])*e,(n[1]+r[1])/2-(r[0]-n[0])*e]),t.setLayout(o)})}},function(t,e,n){var i=n(83);t.exports=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),i(n)}}},function(t,e,n){function i(t,e,n){r.Group.call(this),this.add(this.createLine(t,e,n)),this._updateEffectSymbol(t,e)}var r=n(3),o=n(56),a=n(1),s=n(18),l=n(5),u=n(26),c=i.prototype;c.createLine=function(t,e,n){return new o(t,e,n)},c._updateEffectSymbol=function(t,e){var n=t.getItemModel(e),i=n.getModel("effect"),r=i.get("symbolSize"),o=i.get("symbol");a.isArray(r)||(r=[r,r]);var l=i.get("color")||t.getItemVisual(e,"color"),u=this.childAt(1);this._symbolType!==o&&(this.remove(u),u=s.createSymbol(o,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",l),u.setStyle(i.getItemStyle(["color"])),u.attr("scale",r),u.setColor(l),u.attr("scale",r),this._symbolType=o,this._updateEffectAnimation(t,i,e))},c._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=this,o=t.getItemLayout(n),s=1e3*e.get("period"),l=e.get("loop"),u=e.get("constantSpeed"),c=a.retrieve(e.get("delay"),function(e){return e/t.count()*s/3}),h="function"==typeof c;if(i.ignore=!0,this.updateAnimationPoints(i,o),u>0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var f=c;h&&(f=c(n)),i.__t>0&&(f=-s*i.__t),i.__t=0;var d=i.animate("",l).when(s,{__t:1}).delay(f).during(function(){r.updateSymbolPosition(i)});l||d.done(function(){r.remove(i)}),d.start()}this._period=s,this._loop=l}},c.getLineLength=function(t){return l.dist(t.__p1,t.__cp1)+l.dist(t.__cp1,t.__p2)},c.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},c.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},c.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t,o=t.position,a=u.quadraticAt,s=u.quadraticDerivativeAt;o[0]=a(e[0],i[0],n[0],r),o[1]=a(e[1],i[1],n[1],r);var l=s(e[0],i[0],n[0],r),c=s(e[1],i[1],n[1],r);t.rotation=-Math.atan2(c,l)-Math.PI/2,t.ignore=!1},c.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},a.inherits(i,r.Group),t.exports=i},function(t,e,n){function i(t,e,n){r.Group.call(this),this._createPolyline(t,e,n)}var r=n(3),o=n(1),a=i.prototype;a._createPolyline=function(t,e,n){var i=t.getItemLayout(e),o=new r.Polyline({shape:{points:i}});this.add(o),this._updateCommonStl(t,e,n)},a.updateData=function(t,e,n){var i=t.hostModel,o=this.childAt(0),a={shape:{points:t.getItemLayout(e)}};r.updateProps(o,a,i,e),this._updateCommonStl(t,e,n)},a._updateCommonStl=function(t,e,n){var i=this.childAt(0),a=t.getItemModel(e),s=t.getItemVisual(e,"color"),l=n&&n.lineStyle,u=n&&n.hoverLineStyle;n&&!t.hasItemOption||(l=a.getModel("lineStyle.normal").getLineStyle(),u=a.getModel("lineStyle.emphasis").getLineStyle()),i.useStyle(o.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),i.hoverStyle=u,r.setHoverStyle(this)},a.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},o.inherits(i,r.Group),t.exports=i},function(t,e,n){var i=n(10),r=n(349),o=n(110),a=n(17),s=n(19),l=n(1),u=n(30);t.exports=function(t,e,n,c,h){for(var f=new r(c),d=0;d<t.length;d++)f.addNode(l.retrieve(t[d].id,t[d].name,d),d);for(var p=[],g=[],v=0,d=0;d<e.length;d++){var m=e[d],y=m.source,x=m.target;f.addEdge(y,x,v)&&(g.push(m),p.push(l.retrieve(m.id,y+" > "+x)),v++)}var _,b=n.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,n,n.ecModel);else{var w=s.get(b);_=new i(a((w&&"view"!==w.type?w.dimensions||[]:[]).concat(["value"]),t),n),_.initData(t)}var S=new i(["value"],n);return S.initData(g,p),h&&h(_,S),o({mainData:_,struct:f,structAttr:"graph",datas:{node:_,edge:S},datasAttr:{node:"data",edge:"edgeData"}}),f.update(),f}},function(t,e,n){function i(t){return isNaN(t[0])||isNaN(t[1])}function r(t,e,n,r,o,a,g,v,m,y,x){for(var _=0,b=n,w=0;w<r;w++){var S=e[b];if(b>=o||b<0)break;if(i(S)){if(x){b+=a;continue}break}if(b===n)t[a>0?"moveTo":"lineTo"](S[0],S[1]),h(d,S);else if(m>0){var M=b+a,A=e[M];if(x)for(;A&&i(e[M]);)M+=a,A=e[M];var T=.5,I=e[_],A=e[M];if(!A||i(A))h(p,S);else{i(A)&&!x&&(A=S),s.sub(f,A,I);var C,L;if("x"===y||"y"===y){var D="x"===y?0:1;C=Math.abs(S[D]-I[D]),L=Math.abs(S[D]-A[D])}else C=s.dist(S,I),L=s.dist(S,A);T=L/(L+C),c(p,S,f,-m*(1-T))}l(d,d,v),u(d,d,g),l(p,p,v),u(p,p,g),t.bezierCurveTo(d[0],d[1],p[0],p[1],S[0],S[1]),c(d,S,f,m*T)}else t.lineTo(S[0],S[1]);_=b,b+=a}return w}function o(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}}var a=n(15),s=n(5),l=s.min,u=s.max,c=s.scaleAndAdd,h=s.copy,f=[],d=[],p=[];t.exports={Polyline:a.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},buildPath:function(t,e){var n=e.points,a=0,s=n.length,l=o(n,e.smoothConstraint);if(e.connectNulls){for(;s>0&&i(n[s-1]);s--);for(;a<s&&i(n[a]);a++);}for(;a<s;)a+=r(t,n,a,s,s,1,l.min,l.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),Polygon:a.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},buildPath:function(t,e){var n=e.points,a=e.stackedOnPoints,s=0,l=n.length,u=e.smoothMonotone,c=o(n,e.smoothConstraint),h=o(a,e.smoothConstraint);if(e.connectNulls){for(;l>0&&i(n[l-1]);l--);for(;s<l&&i(n[s]);s++);}for(;s<l;){var f=r(t,n,s,l,l,1,c.min,c.max,e.smooth,u,e.connectNulls);r(t,a,s+f-1,f,l,-1,h.min,h.max,e.stackedOnSmooth,u,e.connectNulls),s+=f+1,t.closePath()}}})}},function(t,e,n){var i=n(1),r=n(59);n(2).registerAction("dataZoom",function(t,e){var n=r.createLinkedNodesFinder(i.bind(e.eachComponent,e,"dataZoom"),r.eachAxisDim,function(t,e){return t.get(e.axisIndex)}),o=[];e.eachComponent({mainType:"dataZoom",query:t},function(t,e){o.push.apply(o,n(t).nodes)}),i.each(o,function(e,n){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})},function(t,e,n){function i(t,e,n){n.getAxisProxy(t.name,e).reset(n)}function r(t,e,n){n.getAxisProxy(t.name,e).filterData(n)}n(2).registerProcessor(function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(i),t.eachTargetAxis(r)}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy(),n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setRawRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})})})},function(t,e,n){function i(t){var e=t[a];return e||(e=t[a]=[{}]),e}var r=n(1),o=r.each,a="\0_ec_hist_store",s={push:function(t,e){var n=i(t);o(e,function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}}),n.push(e)},pop:function(t){var e=i(t),n=e[e.length-1];e.length>1&&e.pop();var r={};return o(n,function(t,n){for(var i=e.length-1;i>=0;i--){var t=e[i][n];if(t){r[n]=t;break}}}),r},clear:function(t){t[a]=null},count:function(t){return i(t).length}};t.exports=s},function(t,e,n){n(12).registerSubTypeDefaulter("dataZoom",function(t){return"slider"})},function(t,e,n){function i(t,e){var n=t.getItemStyle(),i=t.get("areaColor");return null!=i&&(n.fill=i),n}function r(t,e,n,i,r){n.off("click"),n.off("mousedown"),e.get("selectedMode")&&(n.on("mousedown",function(){t._mouseDownFlag=!0}),n.on("click",function(a){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=a.target;!s.__region;)s=s.parent;if(s){var l=s.__region,u={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",name:l.name,from:r.uid};u[e.mainType+"Id"]=e.id,i.dispatchAction(u),o(e,n)}}}))}function o(t,e){e.eachChild(function(e){e.__region&&e.trigger(t.isSelected(e.__region.name)?"emphasis":"normal")})}function a(t,e){var n=new l.Group;this._controller=new s(t.getZr(),e?n:null,null),this.group=n,this._updateGroup=e,this._mouseDownFlag}var s=n(44),l=n(3),u=n(1);a.prototype={constructor:a,draw:function(t,e,n,a,s){var c="geo"===t.mainType,h=t.getData&&t.getData();c&&e.eachComponent({mainType:"series",subType:"map"},function(e){h||e.getHostGeoModel()!==t||(h=e.getData())});var f=t.coordinateSystem,d=this.group,p=f.scale,g={position:f.position,scale:p};!d.childAt(0)||s?d.attr(g):l.updateProps(d,g,t),d.removeAll();var v=["itemStyle","normal"],m=["itemStyle","emphasis"],y=["label","normal"],x=["label","emphasis"];u.each(f.regions,function(e){var n=new l.Group,r=new l.CompoundPath({shape:{paths:[]}});n.add(r);var o,a=t.getRegionModel(e.name)||t,s=a.getModel(v),f=a.getModel(m),g=i(s,p),_=i(f,p),b=a.getModel(y),w=a.getModel(x);if(h){o=h.indexOfName(e.name);var S=h.getItemVisual(o,"color",!0);S&&(g.fill=S)}var M=b.getModel("textStyle"),A=w.getModel("textStyle");u.each(e.contours,function(t){var e=new l.Polygon({shape:{points:t}});r.shape.paths.push(e)}),r.setStyle(g),r.style.strokeNoScale=!0,r.culling=!0;var T=b.get("show"),I=w.get("show"),C=h&&isNaN(h.get("value",o)),L=h&&h.getItemLayout(o);if(c||C&&(T||I)||L&&L.showLabel){var D=h?o:e.name,k=t.getFormattedLabel(D,"normal"),P=t.getFormattedLabel(D,"emphasis"),E=new l.Text({style:{text:T?k||e.name:"",fill:M.getTextColor(),textFont:M.getFont(),textAlign:"center",textVerticalAlign:"middle"},hoverStyle:{text:I?P||e.name:"",fill:A.getTextColor(),textFont:A.getFont()},position:e.center.slice(),scale:[1/p[0],1/p[1]],z2:10,silent:!0});n.add(E)}if(h)h.setItemGraphicEl(o,n);else{var a=t.getRegionModel(e.name);r.eventData={componentType:"geo",geoIndex:t.componentIndex,name:e.name,region:a&&a.option||{}}}n.__region=e,l.setHoverStyle(n,_,{hoverSilentOnTouch:!!t.get("selectedMode")}),d.add(n)}),this._updateController(t,e,n),r(this,t,d,n,a),o(t,d)},remove:function(){this.group.removeAll(),this._controller.dispose()},_updateController:function(t,e,n){function i(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}var r=t.coordinateSystem,o=this._controller;o.zoomLimit=t.get("scaleLimit"),o.zoom=r.getZoom(),o.enable(t.get("roam")||!1);var a=t.mainType;o.off("pan").on("pan",function(t,e){this._mouseDownFlag=!1,n.dispatchAction(u.extend(i(),{dx:t,dy:e}))},this),o.off("zoom").on("zoom",function(t,e,r){if(this._mouseDownFlag=!1,n.dispatchAction(u.extend(i(),{zoom:t,originX:e,originY:r})),this._updateGroup){var o=this.group,a=o.scale;o.traverse(function(t){"text"===t.type&&t.attr("scale",[1/a[0],1/a[1]])})}},this),o.setContainsPoint(function(t,e){return r.getViewRectAfterRoam().contain(t,e)})}},t.exports=a},function(t,e,n){function i(t){return t[r]||(t[r]={})}var r="\0_ec_interaction_mutex",o={take:function(t,e,n){i(t)[e]=n},release:function(t,e,n){var r=i(t);r[e]===n&&(r[e]=null)},isTaken:function(t,e){return!!i(t)[e]}};n(2).registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),t.exports=o},function(t,e,n){function i(t,e,n){r.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()},e.get("padding"))}var r=n(8),o=n(6),a=n(3);t.exports={layout:function(t,e,n){var o=r.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()},e.get("padding"));r.box(e.get("orient"),t,e.get("itemGap"),o.width,o.height),i(t,e,n)},addBackground:function(t,e){var n=o.normalizeCssArray(e.get("padding")),i=t.getBoundingRect(),r=e.getItemStyle(["color","opacity"]);
r.fill=e.get("backgroundColor");var s=new a.Rect({shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[1]+n[3],height:i.height+n[0]+n[2]},style:r,silent:!0,z2:-1});a.subPixelOptimizeRect(s),t.add(s)}}},function(t,e,n){n(109),n(335),n(286);var i=n(2),r=n(1);i.extendComponentView({type:"parallel",render:function(t,e,n){var i=n.getZr();if(!this.__onMouseDown){var o;i.on("mousedown",this.__onMouseDown=function(t){o=[t.offsetX,t.offsetY]}),i.on("mouseup",this.__onMouseUp=function(e){var i=[e.offsetX,e.offsetY],a=Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2);if(t.get("axisExpandable")&&!(a>5)){var s=t.coordinateSystem,l=s.findClosestAxisDim(i);if(l){var u=r.indexOf(s.dimensions,l);n.dispatchAction({type:"parallelAxisExpand",axisExpandCenter:u})}}})}},dispose:function(t,e){e.getZr().off(this.__onMouseDown),e.getZr().off(this.__onMouseUp)}}),i.registerPreprocessor(n(336))},function(t,e,n){n(348),n(250),n(345),n(2).extendComponentView({type:"single"})},function(t,e,n){var i=n(2),r=n(1),o=n(14),a=n(114),s=n(28),l=n(51),u=s.mapVisual,c=n(7),h=s.eachVisual,f=n(4),d=r.isArray,p=r.each,g=f.asc,v=f.linearMap,m=r.noop,y=["#f6efa6","#d88273","#bf444c"],x=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:null,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;o.canvasSupported||(n.realtime=!1),!e&&l.replaceVisualOption(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=r.bind(t,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,e,t),this.targetVisuals=l.createVisualMappings(this.option.target,e,t)},resetTargetSeries:function(){var t=this.option,e=null==t.seriesIndex;t.seriesIndex=e?[]:c.normalizeToArray(t.seriesIndex),e&&this.ecModel.eachSeries(function(e,n){t.seriesIndex.push(n)})},eachTargetSeries:function(t,e){r.each(this.option.seriesIndex,function(n){t.call(e,this.ecModel.getSeriesByIndex(n))},this)},isTargetSeries:function(t){var e=!1;return this.eachTargetSeries(function(n){n===t&&(e=!0)}),e},formatValueText:function(t,e,n){function i(t){return t===u[0]?"min":t===u[1]?"max":(+t).toFixed(l)}var o,a,s=this.option,l=s.precision,u=this.dataBound,c=s.formatter;return n=n||["<",">"],r.isArray(t)&&(t=t.slice(),o=!0),a=e?t:o?[i(t[0]),i(t[1])]:i(t),r.isString(c)?c.replace("{value}",o?a[0]:a).replace("{value2}",o?a[1]:a):r.isFunction(c)?o?c(t[0],t[1]):c(t):o?t[0]===u[0]?n[0]+" "+a[1]:t[1]===u[1]?n[1]+" "+a[0]:a[0]+" - "+a[1]:a},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension;return null!=e?e:t.dimensions.length-1},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){function t(t){d(i.color)&&!t.inRange&&(t.inRange={color:i.color.slice().reverse()}),t.inRange=t.inRange||{color:y},p(this.stateList,function(e){var n=t[e];if(r.isString(n)){var i=a.get(n,"active",f);i?(t[e]={},t[e][n]=i):delete t[e]}},this)}function e(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},p(i,function(t,e){if(s.isValidType(e)){var n=a.get(e,"inactive",f);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}}))}function n(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,function(o){var a=this.itemSize,s=t[o];s||(s=t[o]={color:f?i:[i]}),null==s.symbol&&(s.symbol=e&&r.clone(e)||(f?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&r.clone(n)||(f?a[0]:[a[0],a[0]])),s.symbol=u(s.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var l=s.symbolSize;if(null!=l){var c=-(1/0);h(l,function(t){t>c&&(c=t)}),s.symbolSize=u(l,function(t){return v(t,[0,c],[0,a[0]],!0)})}},this)}var i=this.option,o={inRange:i.inRange,outOfRange:i.outOfRange},l=i.target||(i.target={}),c=i.controller||(i.controller={});r.merge(l,o),r.merge(c,o);var f=this.isCategory();t.call(this,l),t.call(this,c),e.call(this,l,"inRange","outOfRange"),n.call(this,c)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:m,getValueState:m,getVisualMeta:m});t.exports=x},function(t,e,n){var i=n(1),r=n(3),o=n(6),a=n(8),s=n(2),l=n(28);t.exports=s.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){return this.visualMapModel=t,t.get("show")===!1?void this.group.removeAll():void this.doRender.apply(this,arguments)},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(t,e,n){function r(t){return u[t]}function o(t,e){u[t]=e}n=n||{};var a=n.forceState,s=this.visualMapModel,u={};if("symbol"===e&&(u.symbol=s.get("itemSymbol")),"color"===e){var c=s.get("contentColor");u.color=c}var h=s.controllerVisuals[a||s.getValueState(t)],f=l.prepareVisualTypes(h);return i.each(f,function(i){var a=h[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",a=h.__alphaForOpacity),l.dependsOn(i,e)&&a&&a.applyVisual(t,r,o)}),u[e]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;a.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:i.noop})},function(t,e,n){var i=n(1),r=n(8),o={getItemAlign:function(t,e,n){var i=t.option,o=i.align;if(null!=o&&"auto"!==o)return o;for(var a={width:e.getWidth(),height:e.getHeight()},s="horizontal"===i.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],h={},f=0;f<3;f++)h[l[1-s][f]]=c[f],h[u[f]]=2===f?n[0]:i[u[f]];var d=[["x","width",3],["y","height",0]][s],p=r.getLayoutRect(h,a,i.padding);return u[(p.margin[d[2]]||0)+p[d[0]]+.5*p[d[1]]<.5*a[d[1]]?0:1]},convertDataIndex:function(t){return i.each(t||[],function(e){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null)}),t}};t.exports=o},function(t,e,n){function i(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var r=n(1),o=r.each;t.exports=function(t){var e=t&&t.visualMap;r.isArray(e)||(e=e?[e]:[]),o(e,function(t){if(t){i(t,"splitList")&&!i(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&r.isArray(e)&&o(e,function(t){r.isObject(t)&&(i(t,"start")&&!i(t,"min")&&(t.min=t.start),i(t,"end")&&!i(t,"max")&&(t.max=t.end))})}})}},function(t,e,n){n(12).registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})},function(t,e,n){function i(t,e){t.eachTargetSeries(function(e){var n=e.getData();s.applyVisual(t.stateList,t.targetVisuals,n,t.getValueState,t,t.getDataDimension(n))})}function r(t){t.eachSeries(function(e){var n=e.getData(),i=[];t.eachComponent("visualMap",function(t){if(t.isTargetSeries(e)){var r=t.getVisualMeta(u.bind(o,null,e,t))||{stops:[],outerColors:[]};r.dimension=t.getDataDimension(n),i.push(r)}}),e.getData().setVisual("visualMeta",i)})}function o(t,e,n,i){function r(t){return u[t]}function o(t,e){u[t]=e}for(var a=e.targetVisuals[i],s=l.prepareVisualTypes(a),u={color:t.getData().getVisual("color")},c=0,h=s.length;c<h;c++){var f=s[c],d=a["opacity"===f?"__alphaForOpacity":f];d&&d.applyVisual(n,r,o)}return u.color}var a=n(2),s=n(51),l=n(28),u=n(1);a.registerVisual(a.PRIORITY.VISUAL.COMPONENT,function(t){t.eachComponent("visualMap",function(e){i(e,t)}),r(t)})},function(t,e,n){var i=n(2),r={type:"selectDataRange",event:"dataRangeSelected",update:"update"};i.registerAction(r,function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})})},function(t,e,n){function i(){l.call(this)}function r(t){this.name=t,this.zoomLimit,l.call(this),this._roamTransform=new i,this._viewTransform=new i,this._center,this._zoom}function o(t,e,n,i){var r=n.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[t](i):null}var a=n(5),s=n(20),l=n(133),u=n(1),c=n(9),h=a.applyTransform;u.mixin(i,l),r.prototype={constructor:r,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,i){return this._rect=new c(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 c(t,e,n,i)},transformTo:function(t,e,n,i){var r=this.getBoundingRect(),o=this._viewTransform;o.transform=r.calculateTransform(new c(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._roamTransform},_updateCenterAndZoom:function(){var t=this._viewTransform.getLocalTransform(),e=this._roamTransform,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=a.applyTransform([],i,t),n=a.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._roamTransform,e=this._viewTransform;e.parent=t,t.updateTransform(),e.updateTransform(),e.transform&&s.copy(this.transform||(this.transform=[]),e.transform),this.transform?(this.invTransform=this.invTransform||[],s.invert(this.invTransform,this.transform)):this.invTransform=null,this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t){var e=this.transform;return e?h([],t,e):[t[0],t[1]]},pointToData:function(t){var e=this.invTransform;return e?h([],t,e):[t[0],t[1]]},convertToPixel:u.curry(o,"dataToPoint"),convertFromPixel:u.curry(o,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},u.mixin(r,l),t.exports=r},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},axisLine:{show:!0,onZero:!0,lineStyle:{color:"#333",width:1,type:"solid"}},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,margin:8,textStyle:{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)"]}}},o=i.merge({boundaryGap:!0,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),a=i.merge({boundaryGap:[0,0],splitNumber:5},r),s=i.defaults({scale:!0,min:"dataMin",max:"dataMax"},a),l=i.defaults({logBase:10},a);l.scale=!0,t.exports={categoryAxis:o,valueAxis:a,timeAxis:s,logAxis:l}},function(t,e,n){"use strict";function i(t,e){return e.type||(e.data?"category":"value")}var r=n(12),o=n(1),a=n(45),s=r.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});o.merge(s.prototype,n(39));var l={offset:0};a("x",s,i,l),a("y",s,i,l),t.exports=s},function(t,e,n){function i(t,e,n){if(this.name=t,this.contours=e,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}var r=n(122),o=n(9),a=n(73),s=n(5);i.prototype={constructor:i,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],i=[-e,-e],r=[],l=[],u=this.contours,c=0;c<u.length;c++)a.fromPoints(u[c],r,l),s.min(n,n,r),s.max(i,i,l);return 0===c&&(n[0]=n[1]=i[0]=i[1]=0),this._rect=new o(n[0],n[1],i[0]-n[0],i[1]-n[1])},contain:function(t){var e=this.getBoundingRect(),n=this.contours;if(e.contain(t[0],t[1]))for(var i=0,o=n.length;i<o;i++)if(r.contain(n[i],t[0],t[1]))return!0;return!1},transformTo:function(t,e,n,i){var r=this.getBoundingRect(),a=r.width/r.height;n?i||(i=n/a):n=a*i;for(var l=new o(t,e,n,i),u=r.calculateTransform(l),c=this.contours,h=0;h<c.length;h++)for(var f=0;f<c[h].length;f++)s.applyTransform(c[h][f],c[h][f],u);r=this._rect,r.copy(l),this.center=[r.x+r.width/2,r.y+r.height/2]}},t.exports=i},function(t,e,n){function i(t,e){var n=[];return t.eachComponent("parallel",function(i,o){var a=new r(i,t,e);a.name="parallel_"+o,a.resize(i,e),i.coordinateSystem=a,a.model=i,n.push(a)}),t.eachSeries(function(e){if("parallel"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0];e.coordinateSystem=n.coordinateSystem}}),n}var r=n(333);n(19).register("parallel",{create:i})},function(t,e,n){function i(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,u(e,n,t),f(n,function(n){f(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,h.curry(r,t))})}),e.wrapMethod("cloneShallow",h.curry(a,t)),f(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,h.curry(o,t))}),h.assert(n[e.dataType]===e)}function r(t,e){if(l(this)){var n=h.extend({},this[d]);n[this.dataType]=e,u(e,n,t)}else c(e,this.dataType,this[p],t);return e}function o(t,e){return t.struct&&t.struct.update(this),e}function a(t,e){return f(e[d],function(n,i){n!==e&&c(n.cloneShallow(),i,e,t)}),e}function s(t){var e=this[p];return null==t||null==e?e:e[d][t]}function l(t){return t[p]===t}function u(t,e,n){t[d]={},f(e,function(e,i){c(e,i,t,n)})}function c(t,e,n,i){n[d][e]=t,t[p]=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=s}var h=n(1),f=h.each,d="\0__link_datas",p="\0__link_mainData";t.exports=i},function(t,e,n){"use strict";function i(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function r(t){return t.dim+t.index}function o(t,e){var n={};s.each(t,function(t,e){var o=t.getData(),a=t.coordinateSystem,s=a.getBaseAxis(),l=s.getExtent(),c="category"===s.type?s.getBandWidth():Math.abs(l[1]-l[0])/o.count(),h=n[r(s)]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=h.stacks;n[r(s)]=h;var d=i(t);f[d]||h.autoWidthCount++,f[d]=f[d]||{width:0,maxWidth:0};var p=u(t.get("barWidth"),c),g=u(t.get("barMaxWidth"),c),v=t.get("barGap"),m=t.get("barCategoryGap");p&&!f[d].width&&(p=Math.min(h.remainedWidth,p),f[d].width=p,h.remainedWidth-=p),g&&(f[d].maxWidth=g),null!=v&&(h.gap=v),null!=m&&(h.categoryGap=m)});var o={};return s.each(n,function(t,e){o[e]={};var n=t.stacks,i=t.bandWidth,r=u(t.categoryGap,i),a=u(t.gap,1),l=t.remainedWidth,c=t.autoWidthCount,h=(l-r)/(c+(c-1)*a);h=Math.max(h,0),s.each(n,function(t,e){var n=t.maxWidth;!t.width&&n&&n<h&&(n=Math.min(n,l),l-=n,t.width=n,c--)}),h=(l-r)/(c+(c-1)*a),h=Math.max(h,0);var f,d=0;s.each(n,function(t,e){t.width||(t.width=h),f=t,d+=t.width*(1+a)}),f&&(d-=f.width*a);var p=-d/2;s.each(n,function(t,n){o[e][n]=o[e][n]||{offset:p,width:t.width},p+=t.width*(1+a)})}),o}function a(t,e,n){var a=o(s.filter(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type})),l={},u={};e.eachSeriesByType(t,function(t){var e=t.getData(),n=t.coordinateSystem,o=n.getBaseAxis(),s=i(t),c=a[r(o)][s],h=c.offset,f=c.width,d=n.getOtherAxis(o),p=t.get("barMinHeight")||0,g=o.onZero?d.toGlobalCoord(d.dataToCoord(0)):d.getGlobalExtent()[0],v=n.dataToPoints(e,!0);l[s]=l[s]||[],u[s]=u[s]||[],e.setLayout({offset:h,size:f}),e.each(d.dim,function(t,n){if(!isNaN(t)){l[s][n]||(l[s][n]={p:g,n:g},u[s][n]={p:g,n:g});var i,r,o,a,c=t>=0?"p":"n",m=v[n],y=l[s][n][c],x=u[s][n][c];d.isHorizontal()?(i=y,r=m[1]+h,o=m[0]-x,a=f,u[s][n][c]+=o,Math.abs(o)<p&&(o=(o<0?-1:1)*p),l[s][n][c]+=o):(i=m[0]+h,r=y,o=f,a=m[1]-x,u[s][n][c]+=a,Math.abs(a)<p&&(a=(a<=0?-1:1)*p),l[s][n][c]+=a),e.setItemLayout(n,{x:i,y:r,width:o,height:a})}},!0)},this)}var s=n(1),l=n(4),u=l.parsePercent;t.exports=a},function(t,e,n){var i=n(23),r=i.set,o=i.get;t.exports={clearColorPalette:function(){r(this,"colorIdx",0),r(this,"colorNameMap",{})},getColorFromPalette:function(t,e){e=e||this;var n=o(e,"colorIdx")||0,i=o(e,"colorNameMap")||r(e,"colorNameMap",{});if(i[t])return i[t];var a=this.get("color",!0)||[];if(a.length){var s=a[n];return t&&(i[t]=s),r(e,"colorIdx",(n+1)%a.length),s}}}},function(t,e,n){function i(){function t(e,i){if(i>=n.length)return e;for(var o=-1,a=e.length,s=n[i++],l={},u={};++o<a;){var c=s(e[o]),h=u[c];h?h.push(e[o]):u[c]=[e[o]]}return r.each(u,function(e,n){l[n]=t(e,i)}),l}function e(t,o){if(o>=n.length)return t;var a=[],s=i[o++];return r.each(t,function(t,n){a.push({key:n,values:e(t,o)})}),s?a.sort(function(t,e){return s(t.key,e.key)}):a}var n=[],i=[];return{key:function(t){return n.push(t),this},sortKeys:function(t){return i[n.length-1]=t,this},entries:function(n){return e(t(n,0),0)}}}var r=n(1);t.exports=i},function(t,e,n){var i=n(1),r={get:function(t,e,n){var r=i.clone((o[t]||{})[e]);return n&&i.isArray(r)?r[r.length-1]:r}},o={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};t.exports=r},function(t,e){"use strict";var n=t.exports={};n.isIE=function(t){function e(){var t=navigator.userAgent.toLowerCase();return t.indexOf("msie")!==-1||t.indexOf("trident")!==-1||t.indexOf(" edge/")!==-1}return!(!e()||t&&t!==function(){var t,e=3,n=document.createElement("div"),i=n.getElementsByTagName("i");do n.innerHTML="<!--[if gt IE "+ ++e+"]><i></i><![endif]-->";while(i[0]);return e>4?e:t}())},n.isLegacyOpera=function(){return!!window.opera}},function(t,e){"use strict";(t.exports={}).forEach=function(t,e){for(var n=0;n<t.length;n++){var i=e(t[n]);if(i)return i}}},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function r(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function o(t){if(h===clearTimeout)return clearTimeout(t);if((h===i||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(t);try{return h(t)}catch(e){try{return h.call(null,t)}catch(e){return h.call(this,t)}}}function a(){g&&d&&(g=!1,d.length?p=d.concat(p):v=-1,p.length&&s())}function s(){if(!g){var t=r(a);g=!0;for(var e=p.length;e;){for(d=p,p=[];++v<e;)d&&d[v].run();v=-1,e=p.length}d=null,g=!1,o(t)}}function l(t,e){this.fun=t,this.array=e}function u(){}var c,h,f=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(t){c=n}try{h="function"==typeof clearTimeout?clearTimeout:i}catch(t){h=i}}();var d,p=[],g=!1,v=-1;f.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new l(t,e)),1!==p.length||g||r(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(t,e,n){"use strict";var i=n(126),r=n(29),o=n(133),a=n(407),s=n(1),l=function(t){o.call(this,t),r.call(this,t),a.call(this,t),this.id=t.id||i()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<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(l,a),s.mixin(l,o),s.mixin(l,r),t.exports=l},function(t,e,n){function i(t,e){return t[e]}function r(t,e,n){t[e]=n}function o(t,e,n){return(e-t)*n+t}function a(t,e,n){return n>.5?e:t}function s(t,e,n,i,r){var a=t.length;if(1==r)for(var s=0;s<a;s++)i[s]=o(t[s],e[s],n);else for(var l=t[0].length,s=0;s<a;s++)for(var u=0;u<l;u++)i[s][u]=o(t[s][u],e[s][u],n)}function l(t,e,n){var i=t.length,r=e.length;if(i!==r)if(i>r)t.length=r;else for(var o=i;o<r;o++)t.push(1===n?e[o]:x.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 u(t,e,n){if(t===e)return!0;var i=t.length;if(i!==e.length)return!1;if(1===n){for(var r=0;r<i;r++)if(t[r]!==e[r])return!1}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!1;return!0}function c(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]=h(t[c],e[c],n[c],i[c],r,o,a);else for(var f=t[0].length,c=0;c<u;c++)for(var d=0;d<f;d++)s[c][d]=h(t[c][d],e[c][d],n[c][d],i[c][d],r,o,a)}function h(t,e,n,i,r,o,a){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*a+(-3*(e-n)-2*s-l)*o+s*r+e}function f(t){if(y(t)){var e=t.length;if(y(t[0])){for(var n=[],i=0;i<e;i++)n.push(x.call(t[i]));return n}return x.call(t)}return t}function d(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function p(t,e,n,i,r){var f=t._getter,p=t._setter,m="spline"===e,x=i.length;if(x){var _,b=i[0].value,w=y(b),S=!1,M=!1,A=w&&y(b[0])?2:1;i.sort(function(t,e){return t.time-e.time}),_=i[x-1].time;for(var T=[],I=[],C=i[0].value,L=!0,D=0;D<x;D++){T.push(i[D].time/_);var k=i[D].value;if(w&&u(k,C,A)||!w&&k===C||(L=!1),C=k,"string"==typeof k){var P=v.parse(k);P?(k=P,S=!0):M=!0}I.push(k)}if(!L){for(var E=I[x-1],D=0;D<x-1;D++)w?l(I[D],E,A):!isNaN(I[D])||isNaN(E)||M||S||(I[D]=E);w&&l(f(t._target,r),E,A);var O,R,N,z,V,B,F=0,G=0;if(S)var H=[0,0,0,0];var j=function(t,e){var n;if(e<0)n=0;else if(e<G){for(O=Math.min(F+1,x-1),n=O;n>=0&&!(T[n]<=e);n--);n=Math.min(n,x-2)}else{for(n=F;n<x&&!(T[n]>e);n++);n=Math.min(n-1,x-2)}F=n,G=e;var i=T[n+1]-T[n];if(0!==i)if(R=(e-T[n])/i,m)if(z=I[n],N=I[0===n?n:n-1],V=I[n>x-2?x-1:n+1],B=I[n>x-3?x-1:n+2],w)c(N,z,V,B,R,R*R,R*R*R,f(t,r),A);else{var l;if(S)l=c(N,z,V,B,R,R*R,R*R*R,H,1),l=d(H);else{if(M)return a(z,V,R);l=h(N,z,V,B,R,R*R,R*R*R)}p(t,r,l)}else if(w)s(I[n],I[n+1],R,f(t,r),A);else{var l;if(S)s(I[n],I[n+1],R,H,1),l=d(H);else{if(M)return a(I[n],I[n+1],R);l=o(I[n],I[n+1],R)}p(t,r,l)}},W=new g({target:t._target,life:_,loop:t._loop,delay:t._delay,onframe:j,ondestroy:n});return e&&"spline"!==e&&(W.easing=e),W}}}var g=n(385),v=n(21),m=n(1),y=m.isArrayLike,x=Array.prototype.slice,_=function(t,e,n,o){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||i,this._setter=o||r,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};_.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==t&&n[i].push({time:0,value:f(r)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},_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){var e,n=this,i=0,r=function(){i--,i||n._doneCallback()};for(var o in this._tracks)if(this._tracks.hasOwnProperty(o)){var a=p(this,t,r,this._tracks[o],o);a&&(this._clipList.push(a),i++,this.animation&&this.animation.addClip(a),e=a)}if(e){var s=e.onframe;e.onframe=function(t,e){s(t,e);for(var i=0;i<n._onframeList.length;i++)n._onframeList[i](t,e)}}return i||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=_},function(t,e){t.exports="undefined"!=typeof window&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)}},function(t,e){t.exports={containStroke:function(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0,u=t;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;l=(e-i)/(t-n),u=(t*i-n*e)/(t-n);var c=l*o-a+u;return c*c/(l*l+1)<=s/2*s/2}}},function(t,e,n){function i(t,e){return Math.abs(t-e)<a}function r(t,e,n){var r=0,a=t[0];if(!a)return!1;for(var s=1;s<t.length;s++){var l=t[s];r+=o(a[0],a[1],l[0],l[1],e,n),a=l}var u=t[0];return i(a[0],u[0])&&i(a[1],u[1])||(r+=o(a[0],a[1],u[0],u[1],e,n)),0!==r}var o=n(125),a=1e-8;t.exports={contain:r}},function(t,e,n){var i=n(26);t.exports={containStroke:function(t,e,n,r,o,a,s,l,u){if(0===s)return!1;var c=s;return!(u>e+c&&u>r+c&&u>a+c||u<e-c&&u<r-c&&u<a-c||l>t+c&&l>n+c&&l>o+c||l<t-c&&l<n-c&&l<o-c)&&i.quadraticProjectPoint(t,e,n,r,o,a,l,u,null)<=c/2}}},function(t,e){var n=2*Math.PI;t.exports={normalizeRadian:function(t){return t%=n,t<0&&(t+=n),t}}},function(t,e){t.exports=function(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=i<e?1:-1,s=(o-e)/(i-e);return 1!==s&&0!==s||(a=i<e?.5:-.5),s*(n-t)+t>r?a:0}},function(t,e){var n=2311;t.exports=function(){return n++}},function(t,e,n){"use strict";var i=n(1),r=n(55),o=function(t,e,n,i,o,a){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=a||!1,r.call(this,o)};o.prototype={constructor:o},i.inherits(o,r),t.exports=o},function(t,e){var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return this._canvasPattern||(this._canvasPattern=t.createPattern(this.image,this.repeat))},t.exports=n},function(t,e){function n(t,e,n){var i=e.x,r=e.x2,o=e.y,a=e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),t.createLinearGradient(i,o,r,a)}function i(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=e.x,s=e.y,l=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)}var r=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],o=function(t){this.extendFrom(t)};o.prototype={constructor:o,fill:"#000000",stroke:null,opacity:1,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,textFill:"#000",textStroke:null,textPosition:"inside",textOffset:null,textBaseline:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textTransform:!1,textRotation:0,blend:null,bind:function(t,e,n){for(var i=this,o=n&&n.style,a=!o,s=0;s<r.length;s++){var l=r[s],u=l[0];(a||i[u]!==o[u])&&(t[u]=i[u]||l[1])}if((a||i.fill!==o.fill)&&(t.fillStyle=i.fill),(a||i.stroke!==o.stroke)&&(t.strokeStyle=i.stroke),(a||i.opacity!==o.opacity)&&(t.globalAlpha=null==i.opacity?1:i.opacity),(a||i.blend!==o.blend)&&(t.globalCompositeOperation=i.blend||"source-over"),this.hasStroke()){var c=i.lineWidth;t.lineWidth=c/(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&&this.lineWidth>0},extendFrom:function(t,e){if(t){var n=this;for(var i in t)!t.hasOwnProperty(i)||!e&&n.hasOwnProperty(i)||(n[i]=t[i])}},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,r){for(var o="radial"===e.type?i:n,a=o(t,e,r),s=e.colorStops,l=0;l<s.length;l++)a.addColorStop(s[l].offset,s[l].color);return a}};for(var a=o.prototype,s=0;s<r.length;s++){var l=r[s];l[0]in a||(a[l[0]]=l[1])}o.getGradient=a.getGradient,t.exports=o},function(t,e,n){var i=n(54),r=n(1),o=n(25),a=function(t){i.call(this,t)};a.prototype={constructor:a,type:"text",brush:function(t,e){var n=this.style,i=n.x||0,r=n.y||0,a=n.text;if(null!=a&&(a+=""),n.bind(t,this,e),a){this.setTransform(t);var s,l=n.textAlign,u=n.textFont||n.font;if(n.textVerticalAlign){var c=o.getBoundingRect(a,u,n.textAlign,"top");switch(s="middle",n.textVerticalAlign){case"middle":r-=c.height/2-c.lineHeight/2;break;case"bottom":r-=c.height-c.lineHeight/2;break;default:r+=c.lineHeight/2}}else s=n.textBaseline;t.font=u||"12px sans-serif",t.textAlign=l||"left",t.textAlign!==l&&(t.textAlign="left"),t.textBaseline=s||"alphabetic",t.textBaseline!==s&&(t.textBaseline="alphabetic");for(var h=o.measureText("国",t.font).width,f=a.split("\n"),d=0;d<f.length;d++)n.hasFill()&&t.fillText(f[d],i,r),n.hasStroke()&&t.strokeText(f[d],i,r),r+=h;this.restoreTransform(t)}},getBoundingRect:function(){if(!this._rect){var t=this.style,e=t.textVerticalAlign,n=o.getBoundingRect(t.text+"",t.textFont||t.font,t.textAlign,e?"top":t.textBaseline);switch(e){case"middle":n.y-=n.height/2;break;case"bottom":n.y-=n.height}n.x+=t.x||0,n.y+=t.y||0,this._rect=n}return this._rect}},r.inherits(a,i),t.exports=a},function(t,e,n){var i=n(397),r=n(396);t.exports={buildPath:function(t,e,n){var o=e.points,a=e.smooth;
if(o&&o.length>=2){if(a&&"spline"!==a){var s=r(o,a,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],f=o[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],f[0],f[1])}}else{"spline"===a&&(o=i(o,n)),t.moveTo(o[0][0],o[0][1]);for(var u=1,d=o.length;u<d;u++)t.lineTo(o[u][0],o[u][1])}n&&t.closePath()}}}},function(t,e,n){function i(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}var r=n(25),o=n(9),a=new o,s=function(){};s.prototype={constructor:s,drawRectText:function(t,e,n){var o=this.style,s=o.text;if(null!=s&&(s+=""),s){t.save();var l,u,c=o.textPosition,h=o.textOffset,f=o.textDistance,d=o.textAlign,p=o.textFont||o.font,g=o.textBaseline,v=o.textVerticalAlign;n=n||r.getBoundingRect(s,p,d,g);var m=this.transform;if(o.textTransform?this.setTransform(t):m&&(a.copy(e),a.applyTransform(m),e=a),c instanceof Array){if(l=e.x+i(c[0],e.width),u=e.y+i(c[1],e.height),d=d||"left",g=g||"top",v){switch(v){case"middle":u-=n.height/2-n.lineHeight/2;break;case"bottom":u-=n.height-n.lineHeight/2;break;default:u+=n.lineHeight/2}g="middle"}}else{var y=r.adjustTextPositionOnRect(c,e,n,f);l=y.x,u=y.y,d=d||y.textAlign,g=g||y.textBaseline}h&&(l+=h[0],u+=h[1]),t.textAlign=d||"left",t.textBaseline=g||"alphabetic";var x=o.textFill,_=o.textStroke;x&&(t.fillStyle=x),_&&(t.strokeStyle=_),t.font=p||"12px sans-serif",t.shadowBlur=o.textShadowBlur,t.shadowColor=o.textShadowColor||"transparent",t.shadowOffsetX=o.textShadowOffsetX,t.shadowOffsetY=o.textShadowOffsetY;var b=s.split("\n");o.textRotation&&(m&&t.translate(m[4],m[5]),t.rotate(o.textRotation),m&&t.translate(-m[4],-m[5]));for(var w=0;w<b.length;w++)x&&t.fillText(b[w],l,u),_&&t.strokeText(b[w],l,u),u+=n.lineHeight;t.restore()}}},t.exports=s},function(t,e,n){"use strict";function i(t){return t>s||t<-5e-5}var r=n(20),o=n(5),a=r.identity,s=5e-5,l=function(t){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},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return i(this.rotation)||i(this.position[0])||i(this.position[1])||i(this.scale[0]-1)||i(this.scale[1]-1)},u.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),i=this.transform;return n||e?(i=i||r.create(),n?this.getLocalTransform(i):a(i),e&&(n?r.mul(i,t.transform,i):r.copy(i,t.transform)),this.transform=i,this.invTransform=this.invTransform||r.create(),void r.invert(this.invTransform,i)):void(i&&a(i))},u.getLocalTransform=function(t){t=t||[],a(t);var e=this.origin,n=this.scale,i=this.rotation,o=this.position;return e&&(t[4]-=e[0],t[5]-=e[1]),r.scale(t,t,n),i&&r.rotate(t,t,i),e&&(t[4]+=e[0],t[5]+=e[1]),t[4]+=o[0],t[5]+=o[1],t},u.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)},u.restoreTransform=function(t){var e=(this.transform,t.dpr||1);t.setTransform(e,0,0,e,0,0)};var c=[];u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(r.mul(c,t.invTransform,e),e=c);var n=e[0]*e[0]+e[1]*e[1],o=e[2]*e[2]+e[3]*e[3],a=this.position,s=this.scale;i(n-1)&&(n=Math.sqrt(n)),i(o-1)&&(o=Math.sqrt(o)),e[0]<0&&(n=-n),e[3]<0&&(o=-o),a[0]=e[4],a[1]=e[5],s[0]=n,s[1]=o,this.rotation=Math.atan2(-e[1]/o,e[0]/n)}},u.getGlobalScale=function(){var t=this.transform;if(!t)return[1,1];var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]),n=Math.sqrt(t[2]*t[2]+t[3]*t[3]);return t[0]<0&&(e=-e),t[3]<0&&(n=-n),[e,n]},u.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&o.applyTransform(n,n,i),n},u.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&o.applyTransform(n,n,i),n},t.exports=l},function(t,e,n){if(!n(14).canvasSupported){var i,r="urn:schemas-microsoft-com:vml",o=window,a=o.document,s=!1;try{!a.namespaces.zrvml&&a.namespaces.add("zrvml",r),i=function(t){return a.createElement("<zrvml:"+t+' class="zrvml">')}}catch(t){i=function(t){return a.createElement("<"+t+' xmlns="'+r+'" class="zrvml">')}}var l=function(){if(!s){s=!0;var t=a.styleSheets;t.length<31?a.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}};t.exports={doc:a,initVML:l,createNode:i}}},function(t,e,n){function i(t){delete d[t]}var r=n(126),o=n(14),a=n(1),s=n(380),l=n(383),u=n(384),c=n(392),h=!o.canvasSupported,f={canvas:n(382)},d={},p={};p.version="3.3.0",p.init=function(t,e){var n=new g(r(),t,e);return d[n.id]=n,n},p.dispose=function(t){if(t)t.dispose();else{for(var e in d)d.hasOwnProperty(e)&&d[e].dispose();d={}}return p},p.getInstance=function(t){return d[t]},p.registerPainter=function(t,e){f[t]=e};var g=function(t,e,n){n=n||{},this.dom=e,this.id=t;var i=this,r=new l,d=n.renderer;if(h){if(!f.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");d="vml"}else d&&f[d]||(d="canvas");var p=new f[d](e,r,n);this.storage=r,this.painter=p;var g=o.node?null:new c(p.getViewportRoot());this.handler=new s(r,p,g,p.root),this.animation=new u({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var v=r.delFromMap,m=r.addToMap;r.delFromMap=function(t){var e=r.get(t);v.call(r,t),e&&e.removeSelfFromZr(i)},r.addToMap=function(t){m.call(r,t),t.addSelfToZr(i)}};g.prototype={constructor:g,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(t,e),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){this._needsRefresh&&this.refreshImmediately(),this._needsRefreshHover&&this.refreshHoverImmediately()},addHover:function(t,e){this.painter.addHover&&(this.painter.addHover(t,e),this.refreshHover())},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e,n){var i=r();return this.painter.pathToImage(i,t,e,n)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},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(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,i(this.id)}},t.exports=p},function(t,e){"use strict";var n=["click","dblclick","mouseover","mouseout","mousedown","mouseup","globalout","legendselectchanged","legendselected","legendunselected","datazoom","datarangeselected","timelinechanged","timelineplaychanged","restore","dataviewchanged","magictypechanged","geoselectchanged","geoselected","geounselected","pieselectchanged","pieselected","pieunselected","mapselectchanged","mapselected","mapunselected","axisareaselected","brush","brushselected"];e=t.exports=function(t,e){return{name:"IEcharts",props:{className:{type:String,required:!1,default:"vue-echarts"},style:{type:Object,required:!1,default:function(){return{width:"100%",height:"100%"}}},theme:{type:String,required:!1},group:{type:String,required:!1},option:{type:Object,required:!0},initOpts:{type:Object,required:!1},notMerge:{type:Boolean,required:!1,default:!1},lazyUpdate:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1},loadingOpts:{type:Object,required:!1},resizable:{type:Boolean,required:!1,default:!1}},data:function(){return{insResize:null,instance:null,watches:{loading:null,option:null,group:null}}},computed:{width:{cache:!1,getter:function(){return this.instance.getWidth()}},height:{cache:!1,getter:function(){return this.instance.getHeight()}},isDisposed:{cache:!1,getter:function(){return this.instance.isDisposed()}}},watch:{loading:{handler:function(t){this.ifLoading(t)},deep:!1},option:{handler:function(t){var e=this;e.instance.setOption(t,e.notMerge,e.lazyUpdate)},deep:!0},group:{handler:function(t){this.instance.group=t},deep:!1}},methods:{initResize:function(t){var n=this;n.resizable&&"function"==typeof e&&(n.insResize=e({strategy:"scroll"}),n.insResize.listenTo(t,function(t){n.resize()}))},init:function(){var e=this;if(!e.instance){var n=e.$el,i=t.getInstanceByDom(n);i||(i=t.init(n,e.theme,e.initOpts)),i.group=e.group,e.instance=i,e.$emit("ready",i,t),e.$nextTick(function(){e.ifLoading(e.loading),e.update(),e.bind(),e.initResize(n)})}},bind:function(){var e=this,i=function(n){e.instance.on(n,function(i){e.$emit(n,i,e.instance,t)})};if(e._events){for(var r in e._events)if(Object.prototype.hasOwnProperty.call(e._events,r)){var o=r.toLowerCase();n.indexOf(o)>-1&&i(o)}}else for(var a=0,s=n.length;a<s;a++)i(n[a])},unbind:function(){var t=this;if(t._events){for(var e in t._events)if(Object.prototype.hasOwnProperty.call(t._events,e)){var i=e.toLowerCase();n.indexOf(i)>-1&&t.instance.off(i)}}else for(var r=0,o=n.length;r<o;r++)t.instance.off(n[r])},ifLoading:function(t){var e=this;t?e.showLoading():e.hideLoading()},watch:function(){var t=this;t.watches.loading=t.$watch("loading",function(e){t.ifLoading(e)}),t.watches.option=t.$watch("option",function(e){t.instance.setOption(e,t.notMerge,t.lazyUpdate)},{deep:!0}),t.watches.group=t.$watch("group",function(e){t.instance.group=e})},unwatch:function(){var t=this;t.watches.loading&&(t.watches.loading(),t.watches.loading=null),t.watches.option&&(t.watches.option(),t.watches.option=null),t.watches.group&&(t.watches.group(),t.watches.group=null)},resize:function(t){var e=this;e.instance&&e.instance.resize(t)},update:function(){var t=this;t.instance&&(t.instance.setOption(t.option,t.notMerge,t.lazyUpdate),t.resize())},mergeOption:function(t){var e=this;e.instance&&(e.instance.setOption(t,!1,e.lazyUpdate),e.resize())},dispatchAction:function(t){var e=this;e.instance&&e.instance.dispatchAction(t)},convertToPixel:function(t,e){return this.instance.convertToPixel(t,e)},convertFromPixel:function(t,e){return this.instance.convertFromPixel(t,e)},containPixel:function(t,e){return this.instance.containPixel(t,e)},showLoading:function(){var t=this;t.instance&&t.instance.showLoading("default",t.loadingOpts)},hideLoading:function(){var t=this;t.instance&&t.instance.hideLoading()},getDataURL:function(t){return this.instance.getDataURL(t)},getConnectedDataURL:function(t){return this.instance.getConnectedDataURL(t)},clear:function(){var t=this;t.instance&&t.instance.clear()},uninitResize:function(){var t=this;t.insResize&&t.insResize.uninstall&&(t.insResize.uninstall(t.$el),t.insResize=null)},uninit:function(){var t=this;t.instance&&(t.unbind(),t.uninitResize(),t.instance.dispose(),t.instance=null)}},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){this.init()},beforeUpdate:function(){},updated:function(){},activated:function(){},deactivated:function(){},beforeDestroy:function(){this.uninit()},destroyed:function(){},connect:function(e){return t.connect(e)},disConnect:function(e){return t.disConnect(e)},dispose:function(e){return t.dispose(e)},getInstanceByDom:function(e){return t.getInstanceByDom(e)},registerMap:function(e,n,i){return t.registerMap(e,n,i)},getMap:function(e){return t.getMap(e)},registerTheme:function(e,n){return t.registerTheme(e,n)}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(140),o=i(r),a=n(370),s=i(a),l=n(136),u=i(l),c=(0,u.default)(o.default,s.default);e.default=c},function(t,e,n){"use strict";function i(){function t(t,e){e||(e=t,t=0),t>o?o=t:t<a&&(a=t),i[t]||(i[t]=[]),i[t].push(e),r++}function e(){for(var t=a;t<=o;t++)for(var e=i[t],n=0;n<e.length;n++){var r=e[n];r()}}function n(){return r}var i={},r=0,o=0,a=0;return{add:t,process:e,size:n}}var r=n(139);t.exports=function(t){function e(t,e){!p&&h&&c&&0===d.size()&&a(),d.add(t,e)}function n(){for(p=!0;d.size();){var t=d;d=i(),t.process()}p=!1}function o(t){p||(void 0===t&&(t=c),f&&(s(f),f=null),t?a():n())}function a(){f=l(n)}function s(t){return clearTimeout(t)}function l(t){return function(t){return setTimeout(t,0)}(t)}t=t||{};var u=t.reporter,c=r.getOption(t,"async",!0),h=r.getOption(t,"auto",!0);h&&!c&&(u&&u.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),c=!0);var f,d=i(),p=!1;return{add:e,force:o}}},function(t,e){"use strict";function n(t,e,n){var i=t[e];return void 0!==i&&null!==i||void 0===n?i:n}(t.exports={}).getOption=n},function(t,e,n){t.exports=n(2),n(193),n(142),n(214),n(229),n(219),n(202),n(237),n(170),n(166),n(162),n(209),n(224),n(148),n(153),n(159),n(197),n(183),n(213),n(232),n(271),n(38),n(272),n(310),n(287),n(269),n(96),n(97),n(252),n(300),n(259),n(314),n(279),n(278),n(277),n(291),n(301),n(413)},function(t,e,n){"use strict";function i(t){r.each(o,function(e){this[e]=r.bind(t[e],t)},this)}var r=n(1),o=["getDom","getZr","getWidth","getHeight","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption"];t.exports=i},function(t,e,n){var i=n(1);n(67),n(143),n(144);var r=n(111),o=n(2);o.registerLayout(i.curry(r,"bar")),o.registerVisual(function(t){t.eachSeriesByType("bar",function(t){t.getData().setVisual("legendSymbol","roundRect")})}),n(38)},function(t,e,n){t.exports=n(80).extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect"})},function(t,e,n){"use strict";function i(t,e,n,i,r,o,a){var s=new u.Rect({shape:l.extend({},i)});if(o){var c=s.shape,h=r?"height":"width",f={};c[h]=0,f[h]=i[h],u[a?"updateProps":"initProps"](s,{shape:f},o,e)}return s}function r(t,e,n){n.style.text="",u.updateProps(n,{shape:{width:0}},e,t,function(){n.parent&&n.parent.remove(n)})}function o(t,e,n){var i=t.getItemLayout(e),r=s(n,i),o=i.width>0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}}function a(t,e,n,i,r,o,a){var s=e.getItemVisual(n,"color"),h=e.getItemVisual(n,"opacity"),f=i.getModel("itemStyle.normal"),d=i.getModel("itemStyle.emphasis").getBarItemStyle();t.setShape("r",f.get("barBorderRadius")||0),t.useStyle(l.defaults({fill:s,opacity:h},f.getBarItemStyle()));var p=a?r.height>0?"bottom":"top":r.width>0?"left":"right";c.setLabel(t.style,d,i,s,o,n,p),u.setHoverStyle(t,d)}function s(t,e){var n=t.get(h)||0;return Math.min(n,Math.abs(e.width),Math.abs(e.height))}var l=n(1),u=n(3),c=n(81),h=["itemStyle","normal","barBorderWidth"];l.extend(n(11).prototype,n(147));var f=n(2).extendChartView({type:"bar",render:function(t,e,n){return"cartesian2d"===t.get("coordinateSystem")&&this._renderOnCartesian(t,e,n),this.group},dispose:l.noop,_renderOnCartesian:function(t,e,n){var s=this.group,l=t.getData(),c=this._data,h=t.coordinateSystem,f=h.getBaseAxis(),d=f.isHorizontal(),p=t.isAnimationEnabled()?t:null;l.diff(c).add(function(e){if(l.hasValue(e)){var n=l.getItemModel(e),r=o(l,e,n),u=i(l,e,n,r,d,p);l.setItemGraphicEl(e,u),s.add(u),a(u,l,e,n,r,t,d)}}).update(function(e,n){var r=c.getItemGraphicEl(n);if(!l.hasValue(e))return void s.remove(r);var h=l.getItemModel(e),f=o(l,e,h);r?u.updateProps(r,{shape:f},p,e):r=i(l,e,h,f,d,p,!0),l.setItemGraphicEl(e,r),s.add(r),a(r,l,e,h,f,t,d)}).remove(function(t){var e=c.getItemGraphicEl(t);e&&r(t,p,e)}).execute(),this._data=l},remove:function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(e){r(e.dataIndex,t,e)}):n.removeAll()}});t.exports=f},function(t,e,n){var i=n(80).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){function i(t,e,n,i){var l=t.getItemLayout(e),u=n.get("symbolRepeat"),c=n.get("symbolClip"),h=n.get("symbolPosition")||"start",f=n.get("symbolRotate"),d=(f||0)*Math.PI/180||0,p=n.get("symbolPatternSize")||2,g=n.isAnimationEnabled(),v={dataIndex:e,layout:l,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:c,symbolRepeat:u,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:p,rotation:d,animationModel:g?n:null,hoverAnimation:g&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};r(n,u,l,i,v),o(t,e,l,u,c,v.boundingLength,v.pxSign,p,i,v),a(n,v.symbolScale,d,i,v);var m=v.symbolSize,y=n.get("symbolOffset");return A.isArray(y)&&(y=[D(y[0],m[0]),D(y[1],m[1])]),s(n,m,l,u,c,y,h,v.valueLineWidth,v.boundingLength,v.repeatCutLength,i,v),v}function r(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=r.boundingLength=null!=a?s.toGlobalCoord(s.dataToCoord(s.scale.parse(a)))-l:e?i.coordSysExtent[o.index][1-+(n[o.wh]<=0)]-l:n[o.wh];e&&(r.repeatCutLength=n[o.wh]),r.pxSign=u>0?1:u<0?-1:0}function o(t,e,n,i,r,o,a,s,l,u){var c=l.valueDim,h=l.categoryDim,f=Math.abs(n[h.wh]),d=t.getItemVisual(e,"symbolSize");A.isArray(d)?d=d.slice():(null==d&&(d="100%"),d=[d,d]),d[h.index]=D(d[h.index],f),d[c.index]=D(d[c.index],i?f:Math.abs(o)),u.symbolSize=d,(u.symbolScale=[d[0]/s,d[1]/s])[c.index]*=(l.isHorizontal?-1:1)*a}function a(t,e,n,i,r){var o=t.get(k)||0;o&&(E.attr({scale:e.slice(),rotation:n}),E.updateTransform(),o/=E.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o}function s(t,e,n,i,r,o,a,s,l,u,c,h){var f=c.categoryDim,d=c.valueDim,p=h.pxSign,g=Math.max(e[d.index]+s,0),v=g;if(i){var m=Math.abs(l),y=A.retrieve(t.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y.length-1&&(x=!0,y=y.slice(0,y.length-1)),y=D(y,e[d.index]);var _=Math.max(g+2*y,0),b=x?0:2*y,w=C.isNumeric(i),S=w?i:M((m+b)/_);y=(m-S*g)/2/(x?S:S-1),_=g+2*y,b=x?0:2*y,w||"fixed"===i||(S=u?M((Math.abs(u)+b)/_):0),v=S*_-b,h.repeatTimes=S,h.symbolMargin=y}var T=p*(v/2),I=h.pathPosition=[];I[f.index]=n[f.wh]/2,I[d.index]="start"===a?T:"end"===a?l-T:l/2,o&&(I[0]+=o[0],I[1]+=o[1]);var L=h.bundlePosition=[];L[f.index]=n[f.xy],L[d.index]=n[d.xy];var k=h.barRectShape=A.extend({},n);k[d.wh]=p*Math.max(Math.abs(n[d.wh]),Math.abs(I[d.index]+T)),k[f.wh]=n[f.wh];var P=h.clipShape={};P[f.xy]=-n[f.xy],P[f.wh]=c.ecSize[f.wh],P[d.xy]=0,P[d.wh]=n[d.wh]}function l(t){var e=t.symbolPatternSize,n=I.createSymbol(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function u(t,e,n,i){function r(t){var e=h.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=d-1-t),e[f.index]=g*(r-d/2+.5)+h[f.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function o(){b(t,function(t){t.trigger("emphasis")})}function a(){b(t,function(t){t.trigger("normal")})}var s=t.__pictorialBundle,u=n.symbolSize,c=n.valueLineWidth,h=n.pathPosition,f=e.valueDim,d=n.repeatTimes||0,p=0,g=u[e.valueDim.index]+c+2*n.symbolMargin;for(b(t,function(t){t.__pictorialAnimationIndex=p,t.__pictorialRepeatTimes=d,p<d?w(t,null,r(p),n,i):w(t,null,{scale:[0,0]},n,i,function(){s.remove(t)}),v(t,n),p++});p<d;p++){var m=l(n);m.__pictorialAnimationIndex=p,m.__pictorialRepeatTimes=d,s.add(m);var y=r(p,!0);w(m,{position:y.position,scale:[0,0]},{scale:y.scale,rotation:y.rotation},n,i),m.on("mouseover",o).on("mouseout",a),v(m,n)}}function c(t,e,n,i){function r(){this.trigger("emphasis")}function o(){this.trigger("normal")}var a=t.__pictorialBundle,s=t.__pictorialMainPath;s?w(s,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(s=t.__pictorialMainPath=l(n),a.add(s),w(s,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),s.on("mouseover",r).on("mouseout",o)),v(s,n)}function h(t,e,n){var i=A.extend({},e.barRectShape),r=t.__pictorialBarRect;r?w(r,null,{shape:i},e,n):(r=t.__pictorialBarRect=new T.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(r))}function f(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=A.extend({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)T.updateProps(r,{shape:o},s,l);else{o[a.wh]=0,r=new T.Rect({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],T[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function d(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=p,n.isAnimationEnabled=g,n}function p(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function g(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function v(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 m(t,e,n,i){var r=new T.Group,o=new T.Group;return r.add(o),r.__pictorialBundle=o,o.attr("position",n.bundlePosition.slice()),n.symbolRepeat?u(r,e,n):c(r,e,n),h(r,n,i),f(r,e,n,i),r.__pictorialShapeStr=_(t,n),r.__pictorialSymbolMeta=n,r}function y(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;T.updateProps(o,{position:n.bundlePosition.slice()},i,r),n.symbolRepeat?u(t,e,n,!0):c(t,e,n,!0),h(t,n,!0),f(t,e,n,!0)}function x(t,e,n,i){var r=i.__pictorialBarRect;r&&(r.style.text="");var o=[];b(i,function(t){o.push(t)}),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),A.each(o,function(t){T.updateProps(t,{scale:[0,0]},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function _(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function b(t,e,n){A.each(t.__pictorialBundle.children(),function(i){i!==t.__pictorialBarRect&&e.call(n,i)})}function w(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&T[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function S(t,e,n){var i=n.color,r=n.dataIndex,o=n.itemModel,a=o.getModel("itemStyle.normal").getItemStyle(["color"]),s=o.getModel("itemStyle.emphasis").getItemStyle();b(t,function(t){t.setColor(i),t.setStyle(A.defaults({fill:i,opacity:n.opacity},a)),T.setHoverStyle(t,s),t.z2=n.z2});var l={},u=e.valueDim.posDesc[+(n.boundingLength>0)],c=t.__pictorialBarRect;L.setLabel(c.style,l,o,i,e.seriesModel,r,u),T.setHoverStyle(c,l)}function M(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var A=n(1),T=n(3),I=n(18),C=n(4),L=n(81),D=C.parsePercent,k=["itemStyle","normal","borderWidth"],P=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],E=new T.Circle,O=n(2).extendChartView({type:"pictorialBar",render:function(t,e,n){var r=this.group,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.getBaseAxis(),u=!!l.isHorizontal(),c=s.grid.getRect(),h={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:s,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:u,valueDim:P[+u],categoryDim:P[1-u]};return o.diff(a).add(function(t){if(o.hasValue(t)){var e=d(o,t),n=i(o,t,e,h),a=m(o,h,n);o.setItemGraphicEl(t,a),r.add(a),S(a,h,n)}}).update(function(t,e){var n=a.getItemGraphicEl(e);if(!o.hasValue(t))return void r.remove(n);var s=d(o,t),l=i(o,t,s,h),u=_(o,l);n&&u!==n.__pictorialShapeStr&&(r.remove(n),o.setItemGraphicEl(t,null),n=null),n?y(n,h,l):n=m(o,h,l,!0),o.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=l,r.add(n),S(n,h,l)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&x(a,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=o,this.group},dispose:A.noop,remove:function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(e){x(i,e.dataIndex,t,e)}):n.removeAll()}});t.exports=O},function(t,e,n){var i=n(41)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getBarItemStyle:function(t){var e=i.call(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(e.lineDash=n)}return e}}},function(t,e,n){var i=n(2);n(149),n(150),i.registerVisual(n(152)),i.registerLayout(n(151))},function(t,e,n){"use strict";var i=n(1),r=n(13),o=n(43),a=r.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],valueDimensions:["min","Q1","median","Q3","max"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{normal:{color:"#fff",borderWidth:1},emphasis:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(a,o.seriesModelMixin,!0),t.exports=a},function(t,e,n){"use strict";function i(t,e,n){var i=e.getItemModel(n),r=i.getModel(u),o=e.getItemVisual(n,"color"),s=r.getItemStyle(["borderColor"]),l=t.childAt(t.whiskerIndex);l.style.set(s),l.style.stroke=o,l.dirty();var h=t.childAt(t.bodyIndex);h.style.set(s),h.style.stroke=o,h.dirty();var f=i.getModel(c).getItemStyle();a.setHoverStyle(t,f)}var r=n(1),o=n(24),a=n(3),s=n(43),l=o.extend({type:"boxplot",getStyleUpdater:function(){return i},dispose:r.noop});r.mixin(l,s.viewMixin,!0);var u=["itemStyle","normal"],c=["itemStyle","emphasis"];t.exports=l},function(t,e,n){function i(t){var e=[],n=[];return t.eachSeriesByType("boxplot",function(t){var i=t.getBaseAxis(),r=a.indexOf(n,i);r<0&&(r=n.length,n[r]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)}),e}function r(t){var e,n,i=t.axis,r=t.seriesModels,o=r.length,s=t.boxWidthList=[],c=t.boxOffsetList=[],h=[];if("category"===i.type)n=i.getBandWidth();else{var f=0;u(r,function(t){f=Math.max(f,t.getData().count())}),e=i.getExtent(),Math.abs(e[1]-e[0])/f}u(r,function(t){var e=t.get("boxWidth");a.isArray(e)||(e=[e,e]),h.push([l(e[0],n)||0,l(e[1],n)||0])});var d=.8*n-2,p=d/o*.3,g=(d-p*(o-1))/o,v=g/2-d/2;u(r,function(t,e){c.push(v),v+=p+g,s.push(Math.min(Math.max(g,h[e][0]),h[e][1]))})}function o(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=t.dimensions,a=t.get("layout"),s=n/2;r.each(o,function(){function t(t){var n=[];n[d]=h,n[p]=t;var r;return isNaN(h)||isNaN(t)?r=[NaN,NaN]:(r=i.dataToPoint(n),r[d]+=e),r}function n(t,e){var n=t.slice(),i=t.slice();n[d]+=s,i[d]-=s,e?x.push(n,i):x.push(i,n)}function l(t){var e=[t.slice(),t.slice()];e[0][d]-=s,e[1][d]+=s,y.push(e)}var u=arguments,c=o.length,h=u[0],f=u[c],d="horizontal"===a?0:1,p=1-d,g=t(u[3]),v=t(u[1]),m=t(u[5]),y=[[v,t(u[2])],[m,t(u[4])]];l(v),l(m),l(g);var x=[];n(y[0][1],0),n(y[1][1],1),r.setItemLayout(f,{chartLayout:a,initBaseline:g[p],median:g,bodyEnds:x,whiskerEnds:y})})}var a=n(1),s=n(4),l=s.parsePercent,u=a.each;t.exports=function(t){u(i(t),function(t){var e=t.seriesModels;e.length&&(r(t),u(e,function(e,n){o(e,t.boxOffsetList[n],t.boxWidthList[n])}))})}},function(t,e){var n=["itemStyle","normal","borderColor"];t.exports=function(t,e){var i=t.get("color");t.eachRawSeriesByType("boxplot",function(e){var r=i[e.seriesIndex%i.length],o=e.getData();o.setVisual({legendSymbol:"roundRect",color:e.get(n)||r}),t.isSeriesFiltered(e)||o.each(function(t){var e=o.getItemModel(t);o.setItemVisual(t,{color:e.get(n,!0)})})})}},function(t,e,n){var i=n(2);n(154),n(155),i.registerPreprocessor(n(158)),i.registerVisual(n(157)),i.registerLayout(n(156))},function(t,e,n){"use strict";var i=n(1),r=n(13),o=n(43),a=n(6),s=a.encodeHTML,l=a.addCommas,u=r.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],valueDimensions:["open","close","lowest","highest"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{normal:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},formatTooltip:function(t,e){var n=i.map(this.valueDimensions,function(e){return s(e+": "+l(this.getData().get(e,t)))},this).join("<br />"),r=[];return null!=this.name&&r.push(s(this.name)),null!=n&&r.push(n),r.join("<br />")},brushSelector:function(t,e){return e.rect(t.brushRect)}});i.mixin(u,o.seriesModelMixin,!0),t.exports=u},function(t,e,n){"use strict";function i(t,e,n){var i=e.getItemModel(n),r=i.getModel(u),o=e.getItemVisual(n,"color"),s=e.getItemVisual(n,"borderColor")||o,l=r.getItemStyle(["color","color0","borderColor","borderColor0"]),h=t.childAt(t.whiskerIndex);h.useStyle(l),h.style.stroke=s;var f=t.childAt(t.bodyIndex);f.useStyle(l),f.style.fill=o,f.style.stroke=s;var d=i.getModel(c).getItemStyle();a.setHoverStyle(t,d)}var r=n(1),o=n(24),a=n(3),s=n(43),l=o.extend({type:"candlestick",getStyleUpdater:function(){return i},dispose:r.noop});r.mixin(l,s.viewMixin,!0);var u=["itemStyle","normal"],c=["itemStyle","emphasis"];t.exports=l},function(t,e,n){function i(t,e){var n,i=t.getBaseAxis(),a="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),s=o(r(t.get("barMaxWidth"),a),a),l=o(r(t.get("barMinWidth"),1),a),u=t.get("barWidth");return null!=u?o(u,a):Math.max(Math.min(a/2,s),l)}var r=n(1).retrieve,o=n(4).parsePercent;t.exports=function(t){t.eachSeriesByType("candlestick",function(t){var e=t.coordinateSystem,n=t.getData(),r=t.dimensions,o=t.get("layout"),a=i(t,n);n.each(r,function(){function t(t){var n=[];return n[f]=c,n[d]=t,isNaN(c)||isNaN(t)?[NaN,NaN]:e.dataToPoint(n)}function i(t,e){var n=t.slice(),i=t.slice();n[f]+=a/2,i[f]-=a/2,e?A.push(n,i):A.push(i,n)}function s(){var e=t(Math.min(p,g,v,m)),n=t(Math.max(p,g,v,m));return e[f]-=a/2,n[f]-=a/2,{x:e[0],y:e[1],width:d?a:n[0]-e[0],height:d?n[1]-e[1]:a}}var l=arguments,u=r.length,c=l[0],h=l[u],f="horizontal"===o?0:1,d=1-f,p=l[1],g=l[2],v=l[3],m=l[4],y=Math.min(p,g),x=Math.max(p,g),_=t(y),b=t(x),w=t(v),S=t(m),M=[[S,b],[w,_]],A=[];i(b,0),i(_,1),n.setItemLayout(h,{chartLayout:o,sign:p>g?-1:p<g?1:0,initBaseline:p>g?b[d]:_[d],bodyEnds:A,whiskerEnds:M,brushRect:s()})},!0)})}},function(t,e){var n=["itemStyle","normal","borderColor"],i=["itemStyle","normal","borderColor0"],r=["itemStyle","normal","color"],o=["itemStyle","normal","color0"];t.exports=function(t,e){t.eachRawSeriesByType("candlestick",function(e){var a=e.getData();a.setVisual({legendSymbol:"roundRect"}),t.isSeriesFiltered(e)||a.each(function(t){var e=a.getItemModel(t),s=a.getItemLayout(t).sign;a.setItemVisual(t,{color:e.get(s>0?r:o),borderColor:e.get(s>0?n: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 i=n(1),r=n(2);n(160),n(161),r.registerVisual(i.curry(n(32),"effectScatter","circle",null)),r.registerLayout(i.curry(n(69),"effectScatter"))},function(t,e,n){"use strict";var i=n(30),r=n(13);t.exports=r.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return i(t.data,this,e)},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}})},function(t,e,n){var i=n(34),r=n(188);n(2).extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new i(r)},render:function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i),this.group.add(r.group)},updateLayout:function(){this._symbolDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}})},function(t,e,n){var i=n(1),r=n(2);n(163),n(164),r.registerVisual(i.curry(n(72),"funnel")),r.registerLayout(n(165)),r.registerProcessor(i.curry(n(47),"funnel"))},function(t,e,n){"use strict";var i=n(10),r=n(7),o=n(17),a=n(2).extendSeriesModel({type:"series.funnel",init:function(t){a.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t,e){var n=o(["value"],t.data),r=new i(n,this);return r.initData(t.data),r},_defaultLabelLine:function(t){r.defaultEmphasis(t.labelLine,["show"]);var e=t.labelLine.normal,n=t.labelLine.emphasis;e.show=e.show&&t.label.normal.show,n.show=n.show&&t.label.emphasis.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{normal:{show:!0,position:"outer"},emphasis:{show:!0}},labelLine:{normal:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},emphasis:{}},itemStyle:{normal:{borderColor:"#fff",borderWidth:1},emphasis:{}}}});t.exports=a},function(t,e,n){function i(t,e){function n(){a.ignore=a.hoverIgnore,s.ignore=s.hoverIgnore}function i(){a.ignore=a.normalIgnore,s.ignore=s.normalIgnore}o.Group.call(this);var r=new o.Polygon,a=new o.Polyline,s=new o.Text;this.add(r),this.add(a),this.add(s),this.updateData(t,e,!0),this.on("emphasis",n).on("normal",i).on("mouseover",n).on("mouseout",i)}function r(t,e,n,i){var r=i.getModel("textStyle"),o=i.get("position"),s="inside"===o||"inner"===o||"center"===o;return{fill:r.getTextColor()||(s?"#fff":t.getItemVisual(e,"color")),textFont:r.getFont(),text:a.retrieve(t.hostModel.getFormattedLabel(e,n),t.getName(e))}}var o=n(3),a=n(1),s=i.prototype,l=["itemStyle","normal","opacity"];s.updateData=function(t,e,n){var i=this.childAt(0),r=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),c=t.getItemModel(e).get(l);c=null==c?1:c,i.useStyle({}),n?(i.setShape({points:u.points}),i.setStyle({opacity:0}),o.initProps(i,{style:{opacity:c}},r,e)):o.updateProps(i,{style:{opacity:c},shape:{points:u.points}},r,e);var h=s.getModel("itemStyle"),f=t.getItemVisual(e,"color");i.setStyle(a.defaults({lineJoin:"round",fill:f},h.getModel("normal").getItemStyle(["opacity"]))),i.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),o.setHoverStyle(this)},s._updateLabel=function(t,e){var n=this.childAt(1),i=this.childAt(2),a=t.hostModel,s=t.getItemModel(e),l=t.getItemLayout(e),u=l.label,c=t.getItemVisual(e,"color");o.updateProps(n,{shape:{points:u.linePoints||u.linePoints}},a,e),o.updateProps(i,{style:{x:u.x,y:u.y}},a,e),i.attr({style:{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,textFont:u.font},rotation:u.rotation,origin:[u.x,u.y],z2:10});var h=s.getModel("label.normal"),f=s.getModel("label.emphasis"),d=s.getModel("labelLine.normal"),p=s.getModel("labelLine.emphasis");i.setStyle(r(t,e,"normal",h)),i.ignore=i.normalIgnore=!h.get("show"),i.hoverIgnore=!f.get("show"),n.ignore=n.normalIgnore=!d.get("show"),n.hoverIgnore=!p.get("show"),n.setStyle({stroke:c}),n.setStyle(d.getModel("lineStyle").getLineStyle()),i.hoverStyle=r(t,e,"emphasis",f),n.hoverStyle=p.getModel("lineStyle").getLineStyle()},a.inherits(i,o.Group);var u=n(24).extend({type:"funnel",render:function(t,e,n){var r=t.getData(),o=this._data,a=this.group;r.diff(o).add(function(t){var e=new i(r,t);r.setItemGraphicEl(t,e),a.add(e)}).update(function(t,e){var n=o.getItemGraphicEl(e);n.updateData(r,t),a.add(n),r.setItemGraphicEl(t,n)}).remove(function(t){var e=o.getItemGraphicEl(t);a.remove(e)}).execute(),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=u},function(t,e,n){function i(t,e){return a.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function r(t,e){for(var n=t.mapArray("value",function(t){return t}),i=[],r="ascending"===e,o=0,a=t.count();o<a;o++)i[o]=o;return i.sort(function(t,e){return r?n[t]-n[e]:n[e]-n[t]}),i}function o(t){t.each(function(e){var n,i,r,o,a=t.getItemModel(e),s=a.getModel("label.normal"),l=s.get("position"),u=a.getModel("labelLine.normal"),c=t.getItemLayout(e),h=c.points,f="inner"===l||"inside"===l||"center"===l;if(f)i=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,r=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,n="center",o=[[i,r],[i,r]];else{var d,p,g,v=u.get("length");"left"===l?(d=(h[3][0]+h[0][0])/2,p=(h[3][1]+h[0][1])/2,g=d-v,i=g-5,n="right"):(d=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,g=d+v,i=g+5,n="left");var m=p;o=[[d,p],[g,m]],r=m}c.label={linePoints:o,x:i,y:r,verticalAlign:"middle",textAlign:n,inside:f}})}var a=n(8),s=n(4),l=s.parsePercent;t.exports=function(t,e,n){t.eachSeriesByType("funnel",function(t){var n=t.getData(),a=t.get("sort"),u=i(t,e),c=r(n,a),h=[l(t.get("minSize"),u.width),l(t.get("maxSize"),u.width)],f=n.getDataExtent("value"),d=t.get("min"),p=t.get("max");null==d&&(d=Math.min(f[0],0)),null==p&&(p=f[1]);var g=t.get("funnelAlign"),v=t.get("gap"),m=(u.height-v*(n.count()-1))/n.count(),y=u.y,x=function(t,e){var i,r=n.get("value",t)||0,o=s.linearMap(r,[d,p],h,!0);switch(g){case"left":i=u.x;break;case"center":i=u.x+(u.width-o)/2;break;case"right":i=u.x+u.width-o}return[[i,e],[i+o,e]]};"ascending"===a&&(m=-m,v=-v,y+=u.height,c=c.reverse());for(var _=0;_<c.length;_++){var b=c[_],w=c[_+1],S=x(b,y),M=x(w,y+m);y+=m+v,n.setItemLayout(b,{points:S.concat(M.slice().reverse())})}o(n)})}},function(t,e,n){n(167),n(168)},function(t,e,n){var i=n(10),r=n(13),o=n(1),a=r.extend({type:"series.gauge",getInitialData:function(t,e){var n=new i(["value"],this),r=t.data||[];return o.isArray(r)||(r=[r]),n.initData(r),n},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,textStyle:{color:"auto"}},pointer:{show:!0,length:"80%",width:8},itemStyle:{normal:{color:"auto"}},title:{show:!0,offsetCenter:[0,"-40%"],textStyle:{color:"#333",fontSize:15}},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:40,offsetCenter:[0,"40%"],textStyle:{color:"auto",fontSize:30}}}});t.exports=a},function(t,e,n){function i(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:l(n[0],e.getWidth()),cy:l(n[1],e.getHeight()),r:l(t.get("radius"),o/2)}}function r(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var o=n(169),a=n(3),s=n(4),l=s.parsePercent,u=2*Math.PI,c=n(24).extend({type:"gauge",render:function(t,e,n){this.group.removeAll();var r=t.get("axisLine.lineStyle.color"),o=i(t,n);this._renderMain(t,e,n,r,o)},dispose:function(){},_renderMain:function(t,e,n,i,r){for(var o=this.group,s=t.getModel("axisLine"),l=s.getModel("lineStyle"),c=t.get("clockwise"),h=-t.get("startAngle")/180*Math.PI,f=-t.get("endAngle")/180*Math.PI,d=(f-h)%u,p=h,g=l.get("width"),v=0;v<i.length;v++){var m=Math.min(Math.max(i[v][0],0),1),f=h+d*m,y=new a.Sector({shape:{startAngle:p,endAngle:f,cx:r.cx,cy:r.cy,clockwise:c,r0:r.r-g,r:r.r},silent:!0});y.setStyle({fill:i[v][1]}),y.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),o.add(y),p=f}var x=function(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]};if(!c){var _=h;h=f,f=_}this._renderTicks(t,e,n,x,r,h,f,c),this._renderPointer(t,e,n,x,r,h,f,c),this._renderTitle(t,e,n,x,r),this._renderDetail(t,e,n,x,r)},_renderTicks:function(t,e,n,i,o,u,c,h){for(var f=this.group,d=o.cx,p=o.cy,g=o.r,v=+t.get("min"),m=+t.get("max"),y=t.getModel("splitLine"),x=t.getModel("axisTick"),_=t.getModel("axisLabel"),b=t.get("splitNumber"),w=x.get("splitNumber"),S=l(y.get("length"),g),M=l(x.get("length"),g),A=u,T=(c-u)/b,I=T/w,C=y.getModel("lineStyle").getLineStyle(),L=x.getModel("lineStyle").getLineStyle(),D=_.getModel("textStyle"),k=0;k<=b;k++){var P=Math.cos(A),E=Math.sin(A);if(y.get("show")){var O=new a.Line({shape:{x1:P*g+d,y1:E*g+p,x2:P*(g-S)+d,y2:E*(g-S)+p},style:C,silent:!0});"auto"===C.stroke&&O.setStyle({stroke:i(k/b)}),f.add(O)}if(_.get("show")){var R=r(s.round(k/b*(m-v)+v),_.get("formatter")),N=_.get("distance"),z=new a.Text({style:{text:R,x:P*(g-S-N)+d,y:E*(g-S-N)+p,fill:D.getTextColor(),textFont:D.getFont(),textVerticalAlign:E<-.4?"top":E>.4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},silent:!0});"auto"===z.style.fill&&z.setStyle({fill:i(k/b)}),f.add(z)}if(x.get("show")&&k!==b){for(var V=0;V<=w;V++){var P=Math.cos(A),E=Math.sin(A),B=new a.Line({shape:{x1:P*g+d,y1:E*g+p,x2:P*(g-M)+d,y2:E*(g-M)+p},silent:!0,style:L});"auto"===L.stroke&&B.setStyle({stroke:i((k+V/w)/b)}),f.add(B),A+=I}A-=I}else A+=T}},_renderPointer:function(t,e,n,i,r,u,c,h){var f=this.group,d=this._data;if(!t.get("pointer.show"))return void d.eachItemGraphicEl(function(t){f.remove(t)});var p=[+t.get("min"),+t.get("max")],g=[u,c],v=t.getData();v.diff(d).add(function(e){var n=new o({shape:{angle:u}});a.updateProps(n,{shape:{angle:s.linearMap(v.get("value",e),p,g,!0)}},t),f.add(n),v.setItemGraphicEl(e,n)}).update(function(e,n){var i=d.getItemGraphicEl(n);a.updateProps(i,{shape:{angle:s.linearMap(v.get("value",e),p,g,!0)}},t),f.add(i),v.setItemGraphicEl(e,i)}).remove(function(t){var e=d.getItemGraphicEl(t);f.remove(e)}).execute(),v.eachItemGraphicEl(function(t,e){var n=v.getItemModel(e),o=n.getModel("pointer");t.setShape({x:r.cx,y:r.cy,width:l(o.get("width"),r.r),r:l(o.get("length"),r.r)}),t.useStyle(n.getModel("itemStyle.normal").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",i((v.get("value",e)-p[0])/(p[1]-p[0]))),a.setHoverStyle(t,n.getModel("itemStyle.emphasis").getItemStyle())}),this._data=v},_renderTitle:function(t,e,n,i,r){var o=t.getModel("title");if(o.get("show")){var s=o.getModel("textStyle"),u=o.get("offsetCenter"),c=r.cx+l(u[0],r.r),h=r.cy+l(u[1],r.r),f=new a.Text({style:{x:c,y:h,text:t.getData().getName(0),fill:s.getTextColor(),textFont:s.getFont(),textAlign:"center",textVerticalAlign:"middle"}});this.group.add(f)}},_renderDetail:function(t,e,n,i,o){var u=t.getModel("detail"),c=+t.get("min"),h=+t.get("max");if(u.get("show")){var f=u.getModel("textStyle"),d=u.get("offsetCenter"),p=o.cx+l(d[0],o.r),g=o.cy+l(d[1],o.r),v=l(u.get("width"),o.r),m=l(u.get("height"),o.r),y=t.getData().get("value",0),x=new a.Rect({shape:{x:p-v/2,y:g-m/2,width:v,height:m},style:{text:r(y,u.get("formatter")),fill:u.get("backgroundColor"),textFill:f.getTextColor(),textFont:f.getFont()}});"auto"===x.style.textFill&&x.setStyle("textFill",i(s.linearMap(y,[c,h],[0,1],!0))),x.setStyle(u.getItemStyle(["color"])),this.group.add(x)}}});t.exports=c},function(t,e,n){t.exports=n(15).extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)}})},function(t,e,n){var i=n(2),r=n(1);n(171),n(172),n(181),i.registerProcessor(n(174)),i.registerVisual(r.curry(n(32),"graph","circle",null)),i.registerVisual(n(175)),i.registerVisual(n(178)),i.registerLayout(n(182)),i.registerLayout(n(176)),i.registerLayout(n(180)),i.registerCoordinateSystem("graphView",{create:n(177)})},function(t,e,n){"use strict";var i=n(10),r=n(1),o=n(7),a=n(11),s=n(6),l=n(87),u=n(2).extendSeriesModel({type:"series.graph",init:function(t){u.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){u.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){u.superApply(this,"mergeDefaultAndTheme",arguments),o.defaultEmphasis(t.edgeLabel,o.LABEL_OPTIONS)},getInitialData:function(t,e){function n(t,n){function i(t){return t=this.parsePath(t),t&&"label"===t[0]?s:this.parentModel}t.wrapMethod("getItemModel",function(t){var e=o._categoriesModels,n=t.getShallow("category"),i=e[n];return i&&(i.parentModel=t.parentModel,t.parentModel=i),t});var r=o.getModel("edgeLabel"),s=new a({label:r.option},r.parentModel,e);n.wrapMethod("getItemModel",function(t){return t.customizeGetParent(i),t})}var i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i)return l(r,i,this,!0,n).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){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),l=i.getName(o.node2.dataIndex),c=[];return null!=a&&c.push(a),null!=l&&c.push(l),c=s.encodeHTML(c.join(" > ")),r.value&&(c+=" : "+s.encodeHTML(r.value)),c}return u.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=r.map(this.option.categories||[],function(t){return null!=t.value?t:r.extend({value:0},t)}),e=new i(["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 u.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,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{normal:{position:"middle"},emphasis:{}},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{normal:{show:!1,formatter:"{b}"},emphasis:{show:!0}},itemStyle:{normal:{},emphasis:{}},lineStyle:{normal:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{}}}});t.exports=u},function(t,e,n){function i(t,e){return t.getVisual("opacity")||t.getModel().get(e)}var r=n(34),o=n(57),a=n(44),s=n(3),l=n(173),u=n(1),c=["itemStyle","normal","opacity"],h=["lineStyle","normal","opacity"];n(2).extendChartView({type:"graph",init:function(t,e){var n=new r,i=new o,s=this.group,l=new a(e.getZr(),s);s.add(n.group),s.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._controller=l,this._firstRender=!0},render:function(t,e,n){var i=t.coordinateSystem;this._model=t,this._nodeScaleRatio=t.get("nodeScaleRatio");var r=this._symbolDraw,o=this._lineDraw,a=this.group;if("view"===i.type){var u={position:i.position,scale:i.scale};this._firstRender?a.attr(u):s.updateProps(a,u,t)}l(t.getGraph(),this._getNodeGlobalScale(t));var c=t.getData();r.updateData(c);var h=t.getEdgeData();o.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,n),clearTimeout(this._layoutTimeout);var f=t.forceLayout,d=t.get("force.layoutAnimation");f&&this._startForceLayoutIteration(f,d),c.eachItemGraphicEl(function(e,i){var r=c.getItemModel(i);e.off("drag").off("dragend");var o=c.getItemModel(i).get("draggable");o&&e.on("drag",function(){f&&(f.warmUp(),!this._layouting&&this._startForceLayoutIteration(f,d),f.setFixed(i),c.setItemLayout(i,e.position))},this).on("dragend",function(){f&&f.setUnfixed(i)},this),e.setDraggable(o&&f),e.off("mouseover",e.__focusNodeAdjacency),e.off("mouseout",e.__unfocusNodeAdjacency),r.get("focusNodeAdjacency")&&(e.on("mouseover",e.__focusNodeAdjacency=function(){n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e.__unfocusNodeAdjacency=function(){n.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t.id})}))},this);var p="circular"===t.get("layout")&&t.get("circular.rotateLabel"),g=c.getLayout("cx"),v=c.getLayout("cy");c.eachItemGraphicEl(function(t,e){var n=t.getSymbolPath();if(p){var i=c.getItemLayout(e),r=Math.atan2(i[1]-v,i[0]-g);r<0&&(r=2*Math.PI+r);var o=i[0]<g;o&&(r-=Math.PI);var a=o?"left":"right";n.setStyle({textRotation:r,textPosition:a}),n.hoverStyle&&(n.hoverStyle.textPosition=a)}else n.setStyle({textRotation:0})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose()},focusNodeAdjacency:function(t,e,n,r){function o(t,e){var n=i(t,e),r=t.getGraphicEl();null==n&&(n=1),r.traverse(function(t){t.trigger("normal"),"group"!==t.type&&t.setStyle("opacity",.1*n)})}function a(t,e){var n=i(t,e);t.getGraphicEl().traverse(function(t){t.trigger("emphasis"),"group"!==t.type&&t.setStyle("opacity",n)})}var s=this._model.getData(),l=r.dataIndex,f=s.getItemGraphicEl(l);if(f){var d=s.graph,p=f.dataType;if(null!==l&&"edge"!==p){d.eachNode(function(t){o(t,c)}),d.eachEdge(function(t){o(t,h)});var g=d.getNodeByIndex(l);a(g,c),u.each(g.edges,function(t){t.dataIndex<0||(a(t,h),a(t.node1,c),a(t.node2,c))})}}},unfocusNodeAdjacency:function(t,e,n,r){var o=this._model.getData().graph;o.eachNode(function(t){var e=i(t,c);t.getGraphicEl().traverse(function(t){t.trigger("normal"),"group"!==t.type&&t.setStyle("opacity",e)})}),o.eachEdge(function(t){var e=i(t,h);t.getGraphicEl().traverse(function(t){t.trigger("normal"),"group"!==t.type&&t.setStyle("opacity",e)})})},_startForceLayoutIteration:function(t,e){var n=this;!function i(){t.step(function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())})}()},_updateController:function(t,e){var n=this._controller,i=this.group;return n.setContainsPoint(function(t,e){var n=i.getBoundingRect();return n.applyTransform(i.transform),n.contain(t,e)}),"view"!==t.coordinateSystem.type?void n.disable():(n.enable(t.get("roam")),n.zoomLimit=t.get("scaleLimit"),n.zoom=t.coordinateSystem.getZoom(),void n.off("pan").off("zoom").on("pan",function(n,i){e.dispatchAction({seriesId:t.id,type:"graphRoam",dx:n,dy:i})}).on("zoom",function(n,i,r){e.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:n,originX:i,originY:r}),this._updateNodeAndLinkScale(),l(t.getGraph(),this._getNodeGlobalScale(t)),this._lineDraw.updateLayout()},this))},_updateNodeAndLinkScale:function(){var t=this._model,e=t.getData(),n=this._getNodeGlobalScale(t),i=[n,n];e.eachItemGraphicEl(function(t,e){t.attr("scale",i)})},_getNodeGlobalScale:function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scale,r=i&&i[0]||1;return((e.getZoom()-1)*n+1)/r},updateLayout:function(t){l(t.getGraph(),this._getNodeGlobalScale(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}})},function(t,e,n){function i(t,e,n){for(var i,r=t[0],o=t[1],f=t[2],d=1/0,p=n*n,g=.1,v=.1;v<=.9;v+=.1){a[0]=u(r[0],o[0],f[0],v),a[1]=u(r[1],o[1],f[1],v);var m=h(c(a,e)-p);m<d&&(d=m,i=v)}for(var y=0;y<32;y++){var x=i+g;s[0]=u(r[0],o[0],f[0],i),s[1]=u(r[1],o[1],f[1],i),l[0]=u(r[0],o[0],f[0],x),l[1]=u(r[1],o[1],f[1],x);var m=c(s,e)-p;if(h(m)<.01)break;var _=c(l,e)-p;g/=2,m<0?_>=0?i+=g:i-=g:_>=0?i-=g:i+=g}return i}var r=n(26),o=n(5),a=[],s=[],l=[],u=r.quadraticAt,c=o.distSquare,h=Math.abs;t.exports=function(t,e){function n(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),e}var a=[],s=r.quadraticSubdivide,l=[[],[],[]],u=[[],[]],c=[];e/=2,t.eachEdge(function(t,r){var h=t.getLayout(),f=t.getVisual("fromSymbol"),d=t.getVisual("toSymbol");h.__original||(h.__original=[o.clone(h[0]),o.clone(h[1])],h[2]&&h.__original.push(o.clone(h[2])));var p=h.__original;if(null!=h[2]){if(o.copy(l[0],p[0]),o.copy(l[1],p[2]),o.copy(l[2],p[1]),f&&"none"!=f){var g=n(t.node1),v=i(l,p[0],g*e);s(l[0][0],l[1][0],l[2][0],v,a),l[0][0]=a[3],l[1][0]=a[4],s(l[0][1],l[1][1],l[2][1],v,a),l[0][1]=a[3],l[1][1]=a[4]}if(d&&"none"!=d){var g=n(t.node2),v=i(l,p[1],g*e);s(l[0][0],l[1][0],l[2][0],v,a),l[1][0]=a[1],l[2][0]=a[2],s(l[0][1],l[1][1],l[2][1],v,a),l[1][1]=a[1],l[2][1]=a[2]}o.copy(h[0],l[0]),o.copy(h[1],l[2]),o.copy(h[2],l[1])}else{if(o.copy(u[0],p[0]),o.copy(u[1],p[1]),o.sub(c,u[1],u[0]),o.normalize(c,c),f&&"none"!=f){var g=n(t.node1);o.scaleAndAdd(u[0],u[0],c,g*e)}if(d&&"none"!=d){var g=n(t.node2);o.scaleAndAdd(u[1],u[1],c,-g*e)}o.copy(h[0],u[0]),o.copy(h[1],u[1])}})}},function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getGraph(),r=i.data,o=n.mapArray(n.getName);r.filterSelf(function(t){var n=r.getItemModel(t),i=n.getShallow("category");if(null!=i){"number"==typeof i&&(i=o[i]);for(var a=0;a<e.length;a++)if(!e[a].isSelected(i))return!1}return!0})},this)}},function(t,e){t.exports=function(t){var e={};t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each(function(i){var o=n.getName(i);r[o]=i;var a=n.getItemModel(i),s=a.get("itemStyle.normal.color")||t.getColorFromPalette(o,e);n.setItemVisual(i,"color",s)}),n.count()&&i.each(function(t){var e=i.getItemModel(t),o=e.getShallow("category");null!=o&&("string"==typeof o&&(o=r[o]),i.getItemVisual(t,"color",!0)||i.setItemVisual(t,"color",n.getItemVisual(o,"color")))})})}},function(t,e,n){var i=n(82);t.exports=function(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&i(t)})}},function(t,e,n){function i(t,e,n){var i=t.getBoxLayoutParams();return i.aspect=n,o.getLayoutRect(i,{width:e.getWidth(),height:e.getHeight()})}var r=n(105),o=n(8),a=n(73);t.exports=function(t,e){var n=[];return t.eachSeriesByType("graph",function(t){var o=t.get("coordinateSystem");if(!o||"view"===o){var s=t.getData(),l=s.mapArray(function(t){var e=s.getItemModel(t);return[+e.get("x"),+e.get("y")]}),u=[],c=[];a.fromPoints(l,u,c),c[0]-u[0]===0&&(c[0]+=1,u[0]-=1),c[1]-u[1]===0&&(c[1]+=1,u[1]-=1);var h=(c[0]-u[0])/(c[1]-u[1]),f=i(t,e,h);isNaN(h)&&(u=[f.x,f.y],c=[f.x+f.width,f.y+f.height]);var d=c[0]-u[0],p=c[1]-u[1],g=f.width,v=f.height,m=t.coordinateSystem=new r;m.zoomLimit=t.get("scaleLimit"),m.setBoundingRect(u[0],u[1],d,p),m.setViewRect(f.x,f.y,g,v),m.setCenter(t.get("center")),m.setZoom(t.get("zoom")),n.push(m)}}),n}},function(t,e){function n(t){return t instanceof Array||(t=[t,t]),t}t.exports=function(t){t.eachSeriesByType("graph",function(t){var e=t.getGraph(),i=t.getEdgeData(),r=n(t.get("edgeSymbol")),o=n(t.get("edgeSymbolSize")),a="lineStyle.normal.color".split("."),s="lineStyle.normal.opacity".split(".");i.setVisual("fromSymbol",r&&r[0]),i.setVisual("toSymbol",r&&r[1]),i.setVisual("fromSymbolSize",o&&o[0]),i.setVisual("toSymbolSize",o&&o[1]),i.setVisual("color",t.get(a)),i.setVisual("opacity",t.get(s)),i.each(function(t){var r=i.getItemModel(t),o=e.getEdgeByIndex(t),l=n(r.getShallow("symbol",!0)),u=n(r.getShallow("symbolSize",!0)),c=r.get(a),h=r.get(s);switch(c){case"source":c=o.node1.getVisual("color");break;case"target":c=o.node2.getVisual("color")}l[0]&&o.setVisual("fromSymbol",l[0]),l[1]&&o.setVisual("toSymbol",l[1]),u[0]&&o.setVisual("fromSymbolSize",u[0]),u[1]&&o.setVisual("toSymbolSize",u[1]),o.setVisual("color",c),o.setVisual("opacity",h)})})}},function(t,e,n){var i=n(5),r=i.scaleAndAdd;t.exports=function(t,e,n){for(var o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<t.length;c++){var h=t[c];h.p||(h.p=i.create(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=i.clone(h.p),h.edges=null}var f=.6;return{warmUp:function(){f=.5},setFixed:function(e){t[e].fixed=!0},setUnfixed:function(e){t[e].fixed=!1},step:function(n){for(var o=[],a=t.length,s=0;s<e.length;s++){var c=e[s],h=c.n1,d=c.n2;i.sub(o,d.p,h.p);var p=i.len(o)-c.d,g=d.w/(h.w+d.w);i.normalize(o,o),!h.fixed&&r(h.p,h.p,o,g*p*f),!d.fixed&&r(d.p,d.p,o,-(1-g)*p*f)}for(var s=0;s<a;s++){var v=t[s];v.fixed||(i.sub(o,l,v.p),i.scaleAndAdd(v.p,v.p,o,u*f))}for(var s=0;s<a;s++)for(var h=t[s],m=s+1;m<a;m++){var d=t[m];i.sub(o,d.p,h.p);var p=i.len(o);0===p&&(i.set(o,Math.random()-.5,Math.random()-.5),p=1);var y=(h.rep+d.rep)/p/p;!h.fixed&&r(h.pp,h.pp,o,y),!d.fixed&&r(d.pp,d.pp,o,-y)}for(var x=[],s=0;s<a;s++){var v=t[s];v.fixed||(i.sub(x,v.p,v.pp),i.scaleAndAdd(v.p,v.p,x,f),i.copy(v.pp,v.p))}f*=.992,n&&n(t,e,f<.01)}}}},function(t,e,n){var i=n(179),r=n(4),o=n(84),a=n(82),s=n(5),l=n(1);t.exports=function(t){t.eachSeriesByType("graph",function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},u=t.getGraph(),c=u.data,h=u.edgeData,f=t.getModel("force"),d=f.get("initLayout");t.preservedPoints?c.each(function(t){var e=c.getId(t);c.setItemLayout(t,n[e]||[NaN,NaN])}):d&&"none"!==d?"circular"===d&&a(t):o(t);var p=c.getDataExtent("value"),g=h.getDataExtent("value"),v=f.get("repulsion"),m=f.get("edgeLength");l.isArray(v)||(v=[v,v]),l.isArray(m)||(m=[m,m]),m=[m[1],m[0]];var y=c.mapArray("value",function(t,e){var n=c.getItemLayout(e),i=r.linearMap(t,p,v);return isNaN(i)&&(i=(v[0]+v[1])/2),{w:i,rep:i,p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),x=h.mapArray("value",function(t,e){var n=u.getEdgeByIndex(e),i=r.linearMap(t,g,m);return isNaN(i)&&(i=(m[0]+m[1])/2),{n1:y[n.node1.dataIndex],n2:y[n.node2.dataIndex],d:i,curveness:n.getModel().get("lineStyle.normal.curveness")||0}}),e=t.coordinateSystem,_=e.getBoundingRect(),b=i(y,x,{rect:_,gravity:f.get("gravity")}),w=b.step;b.step=function(t){for(var e=0,i=y.length;e<i;e++)y[e].fixed&&s.copy(y[e].p,u.getNodeByIndex(e).getLayout());w(function(e,i,r){for(var o=0,a=e.length;o<a;o++)e[o].fixed||u.getNodeByIndex(o).setLayout(e[o].p),n[c.getId(o)]=e[o].p;for(var o=0,a=i.length;o<a;o++){var l=i[o],h=u.getEdgeByIndex(o),f=l.n1.p,d=l.n2.p,p=h.getLayout();p=p?p.slice():[],p[0]=p[0]||[],p[1]=p[1]||[],s.copy(p[0],f),s.copy(p[1],d),+l.curveness&&(p[2]=[(f[0]+d[0])/2-(f[1]-d[1])*l.curveness,(f[1]+d[1])/2-(d[0]-f[0])*l.curveness]),h.setLayout(p)}t&&t(r)})},t.forceLayout=b,t.preservedPoints=n,b.step()}else t.forceLayout=null})}},function(t,e,n){var i=n(2),r=n(79),o={type:"graphRoam",event:"graphRoam",update:"none"};i.registerAction(o,function(t,e){e.eachComponent({mainType:"series",query:t},function(e){var n=e.coordinateSystem,i=r.updateCenterAndZoom(n,t);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)})}),i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series.graph:focusNodeAdjacency"},function(){}),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series.graph:unfocusNodeAdjacency"},function(){})},function(t,e,n){var i=n(84),r=n(83);t.exports=function(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var o=t.getData();o.each(n.dimensions,function(t,e,i){isNaN(t)||isNaN(e)?o.setItemLayout(i,[NaN,NaN]):o.setItemLayout(i,n.dataToPoint([t,e]))}),r(o.graph)}else e&&"none"!==e||i(t)})}},function(t,e,n){n(185),n(186)},function(t,e,n){function i(){var t=r.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}var r=n(1);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,c=this.canvas,h=c.getContext("2d"),f=t.length;c.width=e,c.height=n;for(var d=0;d<f;++d){var p=t[d],g=p[0],v=p[1],m=p[2],y=i(m);h.globalAlpha=y,h.drawImage(a,g-u,v-u)}for(var x=h.getImageData(0,0,c.width,c.height),_=x.data,b=0,w=_.length,S=this.minOpacity,M=this.maxOpacity,A=M-S;b<w;){var y=_[b+3]/256,T=4*Math.floor(255*y);if(y>0){var I=o(y)?s:l;y>0&&(y=y*A+S),_[b++]=I[T],_[b++]=I[T+1],_[b++]=I[T+2],_[b++]=I[T+3]*y*256}else b+=4}return h.putImageData(x,0,0),c},_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=[],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(13),r=n(30);t.exports=i.extend({type:"series.heatmap",getInitialData:function(t,e){return r(t.data,this,e)},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}})},function(t,e,n){function i(t,e,n){var i=t[1]-t[0];e=l.map(e,function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}});var r=e.length,o=0;return function(t){for(var i=o;i<r;i++){var a=e[i].interval;if(a[0]<=t&&t<=a[1]){o=i;break}}if(i===r)for(var i=o-1;i>=0;i--){var a=e[i].interval;if(a[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}function r(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}function o(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var a=n(3),s=n(184),l=n(1);t.exports=n(2).extendChartView({type:"heatmap",render:function(t,e,n){var i;if(e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(n){n===t&&(i=e)})}),__DEV__&&!i)throw new Error("Heatmap must use with visualMap");this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type?this._renderOnCartesian(r,t,n):o(r)&&this._renderOnGeo(r,t,i,n)},dispose:function(){},_renderOnCartesian:function(t,e,n){var i=t.getAxis("x"),r=t.getAxis("y"),o=this.group;if(__DEV__){if("category"!==i.type||"category"!==r.type)throw new Error("Heatmap on cartesian must have two category axes");if(!i.onBand||!r.onBand)throw new Error("Heatmap on cartesian must have two axes with boundaryGap true")}var s=i.getBandWidth(),u=r.getBandWidth(),c=e.getData(),h="itemStyle.normal",f="itemStyle.emphasis",d=e.getModel(h).getItemStyle(["color"]),p=e.getModel(f).getItemStyle(),g=e.getModel("label.normal"),v=e.getModel("label.emphasis");c.each(["x","y","z"],function(n,i,r,m){var y=c.getItemModel(m),x=t.dataToPoint([n,i]);if(!isNaN(r)){var _=new a.Rect({shape:{x:x[0]-s/2,y:x[1]-u/2,width:s,height:u},style:{fill:c.getItemVisual(m,"color"),opacity:c.getItemVisual(m,"opacity")}});c.hasItemOption&&(d=y.getModel(h).getItemStyle(["color"]),p=y.getModel(f).getItemStyle(),g=y.getModel("label.normal"),v=y.getModel("label.emphasis"));var b=e.getRawValue(m),w="-";b&&null!=b[2]&&(w=b[2]),g.getShallow("show")&&(a.setText(d,g),d.text=e.getFormattedLabel(m,"normal")||w),v.getShallow("show")&&(a.setText(p,v),p.text=e.getFormattedLabel(m,"emphasis")||w),_.setStyle(d),a.setHoverStyle(_,c.hasItemOption?p:l.extend({},p)),o.add(_),c.setItemGraphicEl(m,_)}})},_renderOnGeo:function(t,e,n,o){var l=n.targetVisuals.inRange,u=n.targetVisuals.outOfRange,c=e.getData(),h=this._hmLayer||this._hmLayer||new s;h.blurSize=e.get("blurSize"),h.pointSize=e.get("pointSize"),h.minOpacity=e.get("minOpacity"),h.maxOpacity=e.get("maxOpacity");var f=t.getViewRect().clone(),d=t.getRoamTransform().transform;f.applyTransform(d);var p=Math.max(f.x,0),g=Math.max(f.y,0),v=Math.min(f.width+f.x,o.getWidth()),m=Math.min(f.height+f.y,o.getHeight()),y=v-p,x=m-g,_=c.mapArray(["lng","lat","value"],function(e,n,i){var r=t.dataToPoint([e,n]);
return r[0]-=p,r[1]-=g,r.push(i),r}),b=n.getExtent(),w="visualMap.continuous"===n.type?r(b,n.option.range):i(b,n.getPieceList(),n.option.selected);h.update(_,y,x,l.color.getNormalizer(),{inRange:l.color.getColorMapper(),outOfRange:u.color.getColorMapper()},w);var S=new a.Image({style:{width:y,height:x,x:p,y:g,image:h.canvas},silent:!0});this.group.add(S)}})},function(t,e,n){function i(t,e,n){a.call(this,t,e,n),this._lastFrame=0,this._lastFramePercent=0}var r=n(86),o=n(1),a=n(85),s=n(5),l=i.prototype;l.createLine=function(t,e,n){return new r(t,e,n)},l.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(var r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}},l.getLineLength=function(t){return this._length},l.updateSymbolPosition=function(t){var e=t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o,a=this._lastFrame;if(e<this._lastFramePercent){var l=Math.min(a+1,r-1);for(o=l;o>=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(var o=a;o<r&&!(i[o]>e);o++);o=Math.min(o-1,r-2)}s.lerp(t.position,n[o],n[o+1],(e-i[o])/(i[o+1]-i[o]));var u=n[o+1][0]-n[o][0],c=n[o+1][1]-n[o][1];t.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},o.inherits(i,a),t.exports=i},function(t,e,n){function i(t){return a.isArray(t)||(t=[+t,+t]),t}function r(t,e){t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?e.color:null,fill:"fill"===e.brushType?e.color:null}})})}function o(t,e){h.call(this);var n=new c(t,e),i=new h;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}var a=n(1),s=n(18),l=n(3),u=n(4),c=n(58),h=l.Group,f=3,d=o.prototype;d.stopEffectAnimation=function(){this.childAt(1).removeAll()},d.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=this.childAt(1),o=0;o<f;o++){var a=s.createSymbol(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var l=-o/f*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(l).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(l).start(),i.add(a)}r(i,t)},d.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],o=0;o<i;o++){var a=i[o];if(e[a]!==t[a])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}r(n,t)},d.highlight=function(){this.trigger("emphasis")},d.downplay=function(){this.trigger("normal")},d.updateData=function(t,e){var n=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=i(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"color");r.attr("scale",s),r.traverse(function(t){t.attr({fill:l})});var c=o.getShallow("symbolOffset");if(c){var h=r.position;h[0]=u.parsePercent(c[0],s[0]),h[1]=u.parsePercent(c[1],s[1])}r.rotation=(o.getShallow("symbolRotate")||0)*Math.PI/180||0;var f={};if(f.showEffectOn=n.get("showEffectOn"),f.rippleScale=o.get("rippleEffect.scale"),f.brushType=o.get("rippleEffect.brushType"),f.period=1e3*o.get("rippleEffect.period"),f.effectOffset=e/t.count(),f.z=o.getShallow("z")||0,f.zlevel=o.getShallow("zlevel")||0,f.symbolType=a,f.color=l,this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===f.showEffectOn)this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f;else{this._effectCfg=null,this.stopEffectAnimation();var d=this.childAt(0),p=function(){d.trigger("emphasis"),"render"!==f.showEffectOn&&this.startEffectAnimation(f)},g=function(){d.trigger("normal"),"render"!==f.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",p,this).on("mouseout",g,this).on("emphasis",p,this).on("normal",g,this)}this._effectCfg=f},d.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},a.inherits(o,h),t.exports=o},function(t,e,n){function i(){this.group=new r.Group,this._lineEl=new s}var r=n(3),o=n(123),a=n(121),s=r.extendShape({shape:{polyline:!1,segs:[]},buildPath:function(t,e){for(var n=e.segs,i=e.polyline,r=0;r<n.length;r++){var o=n[r];if(i){t.moveTo(o[0][0],o[0][1]);for(var a=1;a<o.length;a++)t.lineTo(o[a][0],o[a][1])}else t.moveTo(o[0][0],o[0][1]),o.length>2?t.quadraticCurveTo(o[2][0],o[2][1],o[1][0],o[1][1]):t.lineTo(o[1][0],o[1][1])}},findDataIndex:function(t,e){for(var n=this.shape,i=n.segs,r=n.polyline,s=Math.max(this.style.lineWidth,1),l=0;l<i.length;l++){var u=i[l];if(r){for(var c=1;c<u.length;c++)if(a.containStroke(u[c-1][0],u[c-1][1],u[c][0],u[c][1],s,t,e))return l}else if(u.length>2){if(o.containStroke(u[0][0],u[0][1],u[2][0],u[2][1],u[1][0],u[1][1],s,t,e))return l}else if(a.containStroke(u[0][0],u[0][1],u[1][0],u[1][1],s,t,e))return l}return-1}}),l=i.prototype;l.updateData=function(t){this.group.removeAll();var e=this._lineEl,n=t.hostModel;e.setShape({segs:t.mapArray(t.getItemLayout),polyline:n.get("polyline")}),e.useStyle(n.getModel("lineStyle.normal").getLineStyle());var i=t.getVisual("color");i&&e.setStyle("stroke",i),e.setStyle("fill"),e.seriesIndex=n.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n)}),this.group.add(e)},l.updateLayout=function(t){var e=t.getData();this._lineEl.setShape({segs:e.mapArray(e.getItemLayout)})},l.remove=function(){this.group.removeAll()},t.exports=i},function(t,e,n){function i(){this.group=new r.Group,this._symbolEl=new a({})}var r=n(3),o=n(18),a=r.extendShape({shape:{points:null,sizes:null},symbolProxy:null,buildPath:function(t,e){for(var n=e.points,i=e.sizes,r=this.symbolProxy,o=r.shape,a=0;a<n.length;a++){var s=n[a],l=i[a];l[0]<4?t.rect(s[0]-l[0]/2,s[1]-l[1]/2,l[0],l[1]):(o.x=s[0]-l[0]/2,o.y=s[1]-l[1]/2,o.width=l[0],o.height=l[1],r.buildPath(t,o,!0))}},findDataIndex:function(t,e){for(var n=this.shape,i=n.points,r=n.sizes,o=i.length-1;o>=0;o--){var a=i[o],s=r[o],l=a[0]-s[0]/2,u=a[1]-s[1]/2;if(t>=l&&e>=u&&t<=l+s[0]&&e<=u+s[1])return o}return-1}}),s=i.prototype;s.updateData=function(t){this.group.removeAll();var e=this._symbolEl,n=t.hostModel;e.setShape({points:t.mapArray(t.getItemLayout),sizes:t.mapArray(function(e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array||(n=[n,n]),n})}),e.symbolProxy=o.createSymbol(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor,e.useStyle(n.getModel("itemStyle.normal").getItemStyle(["color"]));var i=t.getVisual("color");i&&e.setColor(i),e.seriesIndex=n.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n)}),this.group.add(e)},s.updateLayout=function(t){var e=t.getData();this._symbolEl.setShape({points:e.mapArray(e.getItemLayout)})},s.remove=function(){this.group.removeAll()},t.exports=i},function(t,e,n){function i(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var r=n(3),o=n(5),a=r.Line.prototype,s=r.BezierCurve.prototype;t.exports=r.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){(i(e)?a:s).buildPath(t,e)},pointAt:function(t){return i(this.shape)?a.pointAt.call(this,t):s.pointAt.call(this,t)},tangentAt:function(t){var e=this.shape,n=i(e)?[e.x2-e.x1,e.y2-e.y1]:s.tangentAt.call(this,t);return o.normalize(n,n)}})},function(t,e,n){function i(t,e,n,i){l.Group.call(this),this.bodyIndex,this.whiskerIndex,this.styleUpdater=n,this._createContent(t,e,i),this.updateData(t,e,i),this._seriesModel}function r(t,e,n){return s.map(t,function(t){return t=t.slice(),t[e]=n.initBaseline,t})}function o(t){var e={};return s.each(t,function(t,n){e["ends"+n]=t}),e}function a(t){this.group=new l.Group,this.styleUpdater=t}var s=n(1),l=n(3),u=n(15),c=u.extend({type:"whiskerInBox",shape:{},buildPath:function(t,e){for(var n in e)if(e.hasOwnProperty(n)&&0===n.indexOf("ends")){var i=e[n];t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1])}}}),h=i.prototype;h._createContent=function(t,e,n){var i=t.getItemLayout(e),a="horizontal"===i.chartLayout?1:0,u=0;this.add(new l.Polygon({shape:{points:n?r(i.bodyEnds,a,i):i.bodyEnds},style:{strokeNoScale:!0},z2:100})),this.bodyIndex=u++;var h=s.map(i.whiskerEnds,function(t){return n?r(t,a,i):t});this.add(new c({shape:o(h),style:{strokeNoScale:!0},z2:100})),this.whiskerIndex=u++},h.updateData=function(t,e,n){var i=this._seriesModel=t.hostModel,r=t.getItemLayout(e),a=l[n?"initProps":"updateProps"];a(this.childAt(this.bodyIndex),{shape:{points:r.bodyEnds}},i,e),a(this.childAt(this.whiskerIndex),{shape:o(r.whiskerEnds)},i,e),this.styleUpdater.call(null,this,t,e)},s.inherits(i,l.Group);var f=a.prototype;f.updateData=function(t){var e=this.group,n=this._data,r=this.styleUpdater;t.diff(n).add(function(n){if(t.hasValue(n)){var o=new i(t,n,r,!0);t.setItemGraphicEl(n,o),e.add(o)}}).update(function(o,a){var s=n.getItemGraphicEl(a);return t.hasValue(o)?(s?s.updateData(t,o):s=new i(t,o,r),e.add(s),void t.setItemGraphicEl(o,s)):void e.remove(s)}).remove(function(t){var i=n.getItemGraphicEl(t);i&&e.remove(i)}).execute(),this._data=t},f.remove=function(){var t=this.group,e=this._data;this._data=null,e&&e.eachItemGraphicEl(function(e){e&&t.remove(e)})},t.exports=a},function(t,e,n){var i=n(1),r=n(2),o=r.PRIORITY;n(194),n(195),r.registerVisual(i.curry(n(32),"line","circle","line")),r.registerLayout(i.curry(n(69),"line")),r.registerProcessor(o.PROCESSOR.STATISTIC,i.curry(n(362),"line")),n(38)},function(t,e,n){"use strict";var i=n(30),r=n(13);t.exports=r.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){if(__DEV__){var n=t.coordinateSystem;if("polar"!==n&&"cartesian2d"!==n)throw new Error("Line not support coordinateSystem besides cartesian and polar")}return i(t.data,this,e)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{normal:{position:"top"}},lineStyle:{normal:{width:2,type:"solid"}},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:!1,connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}})},function(t,e,n){"use strict";function i(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!0}}function r(t){return"number"==typeof t?t:t?.3:0}function o(t){var e=t.getGlobalExtent();if(t.onBand){var n=t.getBandWidth()/2-1,i=e[1]>e[0]?1:-1;e[0]+=i*n,e[1]-=i*n}return e}function a(t){return t>=0?1:-1}function s(t,e){var n=t.getBaseAxis(),i=t.getOtherAxis(n),r=n.onZero?0:i.scale.getExtent()[0],o=i.dim,s="x"===o||"radius"===o?1:0;return e.mapArray([o],function(i,l){for(var u,c=e.stackedOn;c&&a(c.get(o,l))===a(i);){u=c;break}var h=[];return h[s]=e.get(n.dim,l),h[1-s]=u?u.get(o,l,!0):r,t.dataToPoint(h)},!0)}function l(t,e,n){var i=o(t.getAxis("x")),r=o(t.getAxis("y")),a=t.getBaseAxis().isHorizontal(),s=Math.min(i[0],i[1]),l=Math.min(r[0],r[1]),u=Math.max(i[0],i[1])-s,c=Math.max(r[0],r[1])-l,h=n.get("lineStyle.normal.width")||2,f=n.get("clipOverflow")?h/2:Math.max(u,c);a?(l-=f,c+=2*f):(s-=f,u+=2*f);var d=new m.Rect({shape:{x:s,y:l,width:u,height:c}});return e&&(d.shape[a?"width":"height"]=0,m.initProps(d,{shape:{width:u,height:c}},n)),d}function u(t,e,n){var i=t.getAngleAxis(),r=t.getRadiusAxis(),o=r.getExtent(),a=i.getExtent(),s=Math.PI/180,l=new m.Sector({shape:{cx:t.cx,cy:t.cy,r0:o[0],r:o[1],startAngle:-a[0]*s,endAngle:-a[1]*s,clockwise:i.inverse}});return e&&(l.shape.endAngle=-a[0]*s,m.initProps(l,{shape:{endAngle:-a[1]*s}},n)),l}function c(t,e,n){return"polar"===t.type?u(t,e,n):l(t,e,n)}function h(t,e,n){for(var i=e.getBaseAxis(),r="x"===i.dim||"radius"===i.dim?0:1,o=[],a=0;a<t.length-1;a++){var s=t[a+1],l=t[a];o.push(l);var u=[];switch(n){case"end":u[r]=s[r],u[1-r]=l[1-r],o.push(u);break;case"middle":var c=(l[r]+s[r])/2,h=[];u[r]=h[r]=c,u[1-r]=l[1-r],h[1-r]=s[1-r],o.push(u),o.push(h);break;default:u[r]=l[r],u[1-r]=s[1-r],o.push(u)}}return t[a]&&o.push(t[a]),o}function f(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()){for(var i,r=n.length-1;r>=0;r--)if(n[r].dimension<2){i=n[r];break}if(!i||"cartesian2d"!==e.type)return void __DEV__;var o=i.dimension,a=t.dimensions[o],s=e.getAxis(a),l=d.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=10,f=l[0].coord-h,p=l[u-1].coord+h,g=p-f;if(g<.001)return"transparent";d.each(l,function(t){t.offset=(t.coord-f)/g}),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"});var v=new m.LinearGradient(0,0,0,0,l,!0);return v[a]=f,v[a+"2"]=p,v}}var d=n(1),p=n(34),g=n(58),v=n(196),m=n(3),y=n(7),x=n(88),_=n(24);t.exports=_.extend({type:"line",init:function(){var t=new m.Group,e=new p;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var o=t.coordinateSystem,a=this.group,l=t.getData(),u=t.getModel("lineStyle.normal"),p=t.getModel("areaStyle.normal"),g=l.mapArray(l.getItemLayout,!0),v="polar"===o.type,m=this._coordSys,y=this._symbolDraw,x=this._polyline,_=this._polygon,b=this._lineGroup,w=t.get("animation"),S=!p.isEmpty(),M=s(o,l),A=t.get("showSymbol"),T=A&&!v&&!t.get("showAllSymbol")&&this._getSymbolIgnoreFunc(l,o),I=this._data;I&&I.eachItemGraphicEl(function(t,e){t.__temp&&(a.remove(t),I.setItemGraphicEl(e,null))}),A||y.remove(),a.add(b);var C=!v&&t.get("step");x&&m.type===o.type&&C===this._step?(S&&!_?_=this._newPolygon(g,M,o,w):_&&!S&&(b.remove(_),_=this._polygon=null),b.setClipPath(c(o,!1,t)),A&&y.updateData(l,T),l.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),i(this._stackedOnPoints,M)&&i(this._points,g)||(w?this._updateAnimation(l,M,o,n,C):(C&&(g=h(g,o,C),M=h(M,o,C)),x.setShape({points:g}),_&&_.setShape({points:g,stackedOnPoints:M})))):(A&&y.updateData(l,T),C&&(g=h(g,o,C),M=h(M,o,C)),x=this._newPolyline(g,o,w),S&&(_=this._newPolygon(g,M,o,w)),b.setClipPath(c(o,!0,t)));var L=f(l,o)||l.getVisual("color");x.useStyle(d.defaults(u.getLineStyle(),{fill:"none",stroke:L,lineJoin:"bevel"}));var D=t.get("smooth");if(D=r(t.get("smooth")),x.setShape({smooth:D,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),_){var k=l.stackedOn,P=0;_.useStyle(d.defaults(p.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel"})),k&&(P=r(k.hostModel.get("smooth"))),_.setShape({smooth:D,stackedOnSmooth:P,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=l,this._coordSys=o,this._stackedOnPoints=M,this._points=g,this._step=C},dispose:function(){},highlight:function(t,e,n,i){var r=t.getData(),o=y.queryDataIndex(r,i);if(!(o instanceof Array)&&null!=o&&o>=0){var a=r.getItemGraphicEl(o);if(!a){var s=r.getItemLayout(o);if(!s)return;a=new g(r,o),a.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 _.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var r=t.getData(),o=y.queryDataIndex(r,i);if(null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else _.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new x.Polyline({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new x.Polygon({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_getSymbolIgnoreFunc:function(t,e){var n=e.getAxesByScale("ordinal")[0];if(n&&n.isLabelIgnored)return d.bind(n.isLabelIgnored,n)},_updateAnimation:function(t,e,n,i,r){var o=this._polyline,a=this._polygon,s=t.hostModel,l=v(this._data,t,this._stackedOnPoints,e,this._coordSys,n),u=l.current,c=l.stackedOnCurrent,f=l.next,d=l.stackedOnNext;r&&(u=h(l.current,n,r),c=h(l.stackedOnCurrent,n,r),f=h(l.next,n,r),d=h(l.stackedOnNext,n,r)),o.shape.__points=l.current,o.shape.points=u,m.updateProps(o,{shape:{points:f}},s),a&&(a.setShape({points:u,stackedOnPoints:c}),m.updateProps(a,{shape:{points:f,stackedOnPoints:d}},s));for(var p=[],g=l.status,y=0;y<g.length;y++)if("="===g[y].cmd){var x=t.getItemGraphicEl(g[y].idx1);x&&p.push({el:x,ptIdx:y})}o.animators&&o.animators.length&&o.animators[0].during(function(){for(var t=0;t<p.length;t++)p[t].el.attr("position",o.shape.__points[p[t].ptIdx])})},remove:function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}})},function(t,e){function n(t){return t>=0?1:-1}function i(t,e,i){for(var r,o=t.getBaseAxis(),a=t.getOtherAxis(o),s=o.onZero?0:a.scale.getExtent()[0],l=a.dim,u="x"===l||"radius"===l?1:0,c=e.stackedOn,h=e.get(l,i);c&&n(c.get(l,i))===n(h);){r=c;break}var f=[];return f[u]=e.get(o.dim,i),f[1-u]=r?r.get(l,i,!0):s,t.dataToPoint(f)}function r(t,e){var n=[];return e.diff(t).add(function(t){n.push({cmd:"+",idx:t})}).update(function(t,e){n.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){n.push({cmd:"-",idx:t})}).execute(),n}t.exports=function(t,e,n,o,a,s){for(var l=r(t,e),u=[],c=[],h=[],f=[],d=[],p=[],g=[],v=s.dimensions,m=0;m<l.length;m++){var y=l[m],x=!0;switch(y.cmd){case"=":var _=t.getItemLayout(y.idx),b=e.getItemLayout(y.idx1);(isNaN(_[0])||isNaN(_[1]))&&(_=b.slice()),u.push(_),c.push(b),h.push(n[y.idx]),f.push(o[y.idx1]),g.push(e.getRawIndex(y.idx1));break;case"+":var w=y.idx;u.push(a.dataToPoint([e.get(v[0],w,!0),e.get(v[1],w,!0)])),c.push(e.getItemLayout(w).slice()),h.push(i(a,e,w)),f.push(o[w]),g.push(e.getRawIndex(w));break;case"-":var w=y.idx,S=t.getRawIndex(w);S!==w?(u.push(t.getItemLayout(w)),c.push(s.dataToPoint([t.get(v[0],w,!0),t.get(v[1],w,!0)])),h.push(n[w]),f.push(i(s,t,w)),g.push(S)):x=!1}x&&(d.push(y),p.push(p.length))}p.sort(function(t,e){return g[t]-g[e]});for(var M=[],A=[],T=[],I=[],C=[],m=0;m<p.length;m++){var w=p[m];M[m]=u[w],A[m]=c[w],T[m]=h[w],I[m]=f[w],C[m]=d[w]}return{current:M,next:A,stackedOnCurrent:T,stackedOnNext:I,status:C}}},function(t,e,n){n(198),n(199);var i=n(2);i.registerLayout(n(200)),i.registerVisual(n(201))},function(t,e,n){"use strict";function i(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(__DEV__,t.data=a.map(e,function(t){var e=[t[0].coord,t[1].coord],n={coords:e};return t[0].name&&(n.fromName=t[0].name),t[1].name&&(n.toName=t[1].name),a.mergeAll([n,t[0],t[1]])}))}var r=n(13),o=n(10),a=n(1),s=n(6),l=n(19),u=r.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.normal.color",init:function(t){i(t),u.superApply(this,"init",arguments)},mergeOption:function(t){i(t),u.superApply(this,"mergeOption",arguments)},getInitialData:function(t,e){if(__DEV__&&!l.get(t.coordinateSystem))throw new Error("Unkown coordinate system "+t.coordinateSystem);var n=new o(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0}),n},formatTooltip:function(t){var e=this.getData(),n=e.getItemModel(t),i=n.get("name");if(i)return i;var r=n.get("fromName"),o=n.get("toName"),a=[];return null!=r&&a.push(r),null!=o&&a.push(o),s.encodeHTML(a.join(" > "))},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,label:{normal:{show:!1,position:"end"}},lineStyle:{normal:{opacity:.5}}}})},function(t,e,n){var i=n(57),r=n(85),o=n(56),a=n(86),s=n(187),l=n(189);n(2).extendChartView({type:"lines",init:function(){},render:function(t,e,n){var u=t.getData(),c=this._lineDraw,h=t.get("effect.show"),f=t.get("polyline"),d=t.get("large")&&u.count()>=t.get("largeThreshold");__DEV__,h===this._hasEffet&&f===this._isPolyline&&d===this._isLarge||(c&&c.remove(),c=this._lineDraw=d?new l:new i(f?h?s:a:h?r:o),this._hasEffet=h,this._isPolyline=f,this._isLarge=d);var p=t.get("zlevel"),g=t.get("effect.trailLength"),v=n.getZr();if(v.painter.getLayer(p).clear(!0),null!=this._lastZlevel&&v.configLayer(this._lastZlevel,{motionBlur:!1}),h&&g){if(__DEV__){var m=!1;e.eachSeries(function(e){e!==t&&e.get("zlevel")===p&&(m=!0)})}v.configLayer(p,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(g/10+.9,1),0)})}this.group.add(c.group),c.updateData(u),this._lastZlevel=p},updateLayout:function(t,e,n){this._lineDraw.updateLayout(t),n.getZr().painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(e,!0)},dispose:function(){}})},function(t,e){t.exports=function(t){t.eachSeriesByType("lines",function(t){var e=t.coordinateSystem,n=t.getData();n.each(function(i){var r=n.getItemModel(i),o=r.option instanceof Array?r.option:r.get("coords");if(__DEV__&&!(o instanceof Array&&o.length>0&&o[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(o)+". Lines must have 2d coords array in data item.");var a=[];if(t.get("polyline"))for(var s=0;s<o.length;s++)a.push(e.dataToPoint(o[s]));else{a[0]=e.dataToPoint(o[0]),a[1]=e.dataToPoint(o[1]);var l=r.get("lineStyle.normal.curveness");+l&&(a[2]=[(a[0][0]+a[1][0])/2-(a[0][1]-a[1][1])*l,(a[0][1]+a[1][1])/2-(a[1][0]-a[0][0])*l])}n.setItemLayout(i,a)})})}},function(t,e){function n(t){return t instanceof Array||(t=[t,t]),t}t.exports=function(t){t.eachSeriesByType("lines",function(t){var e=t.getData(),i=n(t.get("symbol")),r=n(t.get("symbolSize")),o="lineStyle.normal.opacity".split(".");e.setVisual("fromSymbol",i&&i[0]),e.setVisual("toSymbol",i&&i[1]),e.setVisual("fromSymbolSize",r&&r[0]),e.setVisual("toSymbolSize",r&&r[1]),e.setVisual("opacity",t.get(o)),e.each(function(t){var i=e.getItemModel(t),r=n(i.getShallow("symbol",!0)),a=n(i.getShallow("symbolSize",!0)),s=i.get(o);r[0]&&e.setItemVisual(t,"fromSymbol",r[0]),r[1]&&e.setItemVisual(t,"toSymbol",r[1]),a[0]&&e.setItemVisual(t,"fromSymbolSize",a[0]),a[1]&&e.setItemVisual(t,"toSymbolSize",a[1]),e.setItemVisual(t,"opacity",s)})})}},function(t,e,n){var i=n(2),r=i.PRIORITY;n(203),n(204),n(78),n(46),i.registerLayout(n(207)),i.registerVisual(n(208)),i.registerProcessor(r.PROCESSOR.STATISTIC,n(206)),i.registerPreprocessor(n(205)),n(77)("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},function(t,e,n){var i=n(10),r=n(13),o=n(1),a=n(17),s=n(6),l=s.encodeHTML,u=s.addCommas,c=n(62),h=n(46),f=r.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],init:function(t){t=this._fillOption(t,this.getMapType()),this.option=t,f.superApply(this,"init",arguments),this.updateSelectedMap(t.data)},getInitialData:function(t){var e=a(["value"],t.data||[]),n=new i(e,this);return n.initData(t.data),n},mergeOption:function(t){t.data&&(t=this._fillOption(t,this.getMapType())),f.superCall(this,"mergeOption",t),this.updateSelectedMap(this.option.data)},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},_fillOption:function(t,e){return t=o.extend({},t),t.data=h.getFilledRegions(t.data,e),t},getRawValue:function(t){return this.getData().get("value",t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t){for(var e=this.getData(),n=u(this.getRawValue(t)),i=e.getName(t),r=this.seriesGroup,o=[],a=0;a<r.length;a++){var s=r[a].originalData.indexOfName(i);isNaN(r[a].originalData.get("value",s))||o.push(l(r[a].name))}return o.join(", ")+"<br />"+l(i+" : "+n)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!0,textStyle:{color:"rgb(100,0,0)"}}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{areaColor:"rgba(255,215,0,0.8)"}}}});o.mixin(f,c),t.exports=f},function(t,e,n){var i=n(3),r=n(93);n(2).extendChartView({type:"map",render:function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var o=this.group;if(o.removeAll(),!t.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id){var a=this._mapDraw;a&&o.add(a.group)}else if(t.needsDrawMap){var a=this._mapDraw||new r(n,!0);o.add(a.group),a.draw(t,e,n,this,i),this._mapDraw=a}else 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(t,e,n){var r=t.originalData,o=this.group;r.each("value",function(e,n){if(!isNaN(e)){var a=r.getItemLayout(n);if(a&&a.point){var s=a.point,l=a.offset,u=new i.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:s[0]+9*l,cy:s[1],r:3},silent:!0,z2:10});if(!l){var c=t.mainSeries.getData(),h=r.getName(n),f=h,d=c.indexOfName(h),p=r.getItemModel(n),g=p.getModel("label.normal"),v=p.getModel("label.emphasis"),m=g.getModel("textStyle"),y=v.getModel("textStyle"),x=c.getItemGraphicEl(d);u.setStyle({textPosition:"bottom"});var _=function(){u.setStyle({text:v.get("show")?f:"",textFill:y.getTextColor(),textFont:y.getFont()})},b=function(){u.setStyle({text:g.get("show")?f:"",textFill:m.getTextColor(),textFont:m.getFont()})};x.on("mouseover",_).on("mouseout",b).on("emphasis",_).on("normal",b),b()}o.add(u)}}})}})},function(t,e,n){var i=n(1);t.exports=function(t){var e=[];i.each(t.series,function(t){"map"===t.type&&e.push(t)}),i.each(e,function(t){t.map=t.map||t.mapType,i.defaults(t,t.mapLocation)})}},function(t,e,n){function i(t,e){var n={},i=["value"];return r.each(t,function(t){t.each(i,function(e,i){var r=t.getName(i);n[r]=n[r]||[],isNaN(e)||n[r].push(e)})}),t[0].map(i,function(i,r){for(var o=t[0].getName(r),a=0,s=1/0,l=-(1/0),u=n[o].length,c=0;c<u;c++)s=Math.min(s,n[o][c]),l=Math.max(l,n[o][c]),a+=n[o][c];var h;return h="min"===e?s:"max"===e?l:"average"===e?a/u:a,0===u?NaN:h})}var r=n(1);t.exports=function(t){var e={};t.eachSeriesByType("map",function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)}),r.each(e,function(t,e){for(var n=i(r.map(t,function(t){return t.getData()}),t[0].get("mapValueCalculation")),o=0;o<t.length;o++)t[o].originalData=t[o].getData();for(var o=0;o<t.length;o++)t[o].seriesGroup=t,t[o].needsDrawMap=0===o&&!t[o].getHostGeoModel(),t[o].setData(n.cloneShallow()),t[o].mainSeries=t[0]})}},function(t,e,n){var i=n(1);t.exports=function(t){var e={};t.eachSeriesByType("map",function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!e[r]){var o={};i.each(n.seriesGroup,function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each("value",function(t,e){var r=i.getName(e),a=n.getRegion(r);if(a&&!isNaN(t)){var s=o[r]||0,l=n.dataToPoint(a.center);o[r]=s+1,i.setItemLayout(e,{point:l,offset:s})}})});var a=n.getData();a.each(function(t){var e=a.getName(t),n=a.getItemLayout(t)||{};n.showLabel=!o[e],a.setItemLayout(t,n)}),e[r]=!0}})}},function(t,e){t.exports=function(t){t.eachSeriesByType("map",function(t){var e=t.get("color"),n=t.getModel("itemStyle.normal"),i=n.get("areaColor"),r=n.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:i,color:r})})}},function(t,e,n){var i=n(2);n(96),n(210),n(211),i.registerVisual(n(212))},function(t,e,n){function i(t,e,n){var i=t.get("data"),o=r(e);i&&i.length&&s.each(n,function(t){if(t){var e=s.indexOf(i,t[o]);t[o]=e>=0?e:NaN}})}function r(t){return+t.replace("dim","")}function o(t,e){var n=0;s.each(t,function(t){var e=r(t);e>n&&(n=e)});var i=e[0];i&&i.length-1>n&&(n=i.length-1);for(var o=[],a=0;a<=n;a++)o.push("dim"+a);return o}var a=n(10),s=n(1),l=n(13),u=n(17);t.exports=l.extend({type:"series.parallel",dependencies:["parallel"],getInitialData:function(t,e){var n=e.getComponent("parallel",this.get("parallelIndex")),r=n.parallelAxisIndex,l=t.data,c=n.dimensions,h=o(c,l),f=s.map(h,function(t,n){var o=s.indexOf(c,t),a=o>=0&&e.getComponent("parallelAxis",r[o]);return a&&"category"===a.get("type")?(i(a,t,l),{name:t,type:"ordinal"}):o<0&&u.guessOrdinal(l,n)?{name:t,type:"ordinal"}:t}),d=new a(f,this);return d.initData(l),this.option.progressive&&(this.option.animation=!1),d},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,function(e,r){t===e&&i.push(n.getRawIndex(r))}),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{normal:{show:!1},emphasis:{show:!1}},inactiveOpacity:.05,activeOpacity:1,lineStyle:{normal:{width:1,opacity:.45,type:"solid"}},progressive:!1,smooth:!1,animationEasing:"linear"}})},function(t,e,n){function i(t,e,n){var i=t.model,r=t.getRect(),o=new l.Rect({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===i.get("layout")?"width":"height";return o.setShape(a,0),l.initProps(o,{shape:{width:r.width,height:r.height}},e,n),o}function r(t,e,n,i){for(var r=[],o=0;o<n.length;o++){var a=n[o],l=t.get(a,e);s(l,i.getAxis(a).type)||r.push(i.dataToPoint(l,a))}return r}function o(t,e,n,i,o){var a=r(t,n,i,o),s=new l.Polyline({shape:{points:a},silent:!0,z2:10});e.add(s),t.setItemGraphicEl(n,s)}function a(t,e){var n=t.hostModel.getModel("lineStyle.normal"),i=n.getLineStyle();t.eachItemGraphicEl(function(r,o){t.hasItemOption&&(i=t.getItemModel(o).getModel("lineStyle.normal",n).getLineStyle()),r.useStyle(u.extend(i,{fill:null,stroke:t.getItemVisual(o,"color"),opacity:t.getItemVisual(o,"opacity")})),r.shape.smooth=e})}function s(t,e){return"category"===e?null==t:null==t||isNaN(t)}var l=n(3),u=n(1),c=.3,h=n(24).extend({type:"parallel",init:function(){this._dataGroup=new l.Group,this.group.add(this._dataGroup),this._data},render:function(t,e,n,i){this._renderForNormal(t)},dispose:function(){},_renderForNormal:function(t){function e(t){o(h,u,t,p,d,null,v)}function n(e,n){var i=f.getItemGraphicEl(n),o=r(h,e,p,d);h.setItemGraphicEl(e,i),l.updateProps(i,{shape:{points:o}},t,e)}function s(t){var e=f.getItemGraphicEl(t);u.remove(e)}var u=this._dataGroup,h=t.getData(),f=this._data,d=t.coordinateSystem,p=d.dimensions,g=t.option,v=g.smooth?c:null;if(h.diff(f).add(e).update(n).remove(s).execute(),a(h,v),!this._data){var m=i(d,t,function(){setTimeout(function(){u.removeClipPath()})});u.setClipPath(m)}this._data=h},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});t.exports=h},function(t,e){t.exports=function(t){t.eachSeriesByType("parallel",function(e){var n=e.getModel("itemStyle.normal"),i=e.getModel("lineStyle.normal"),r=t.get("color"),o=i.get("color")||n.get("color")||r[e.seriesIndex%r.length],a=e.get("inactiveOpacity"),s=e.get("activeOpacity"),l=e.getModel("lineStyle.normal").getLineStyle(),u=e.coordinateSystem,c=e.getData(),h={normal:l.opacity,active:s,inactive:a};u.eachActiveState(c,function(t,e){c.setItemVisual(e,"opacity",h[t])}),c.setVisual("color",o)})}},function(t,e,n){var i=n(1);n(67),n(145),n(146);var r=n(111),o=n(2);
o.registerLayout(i.curry(r,"pictorialBar")),o.registerVisual(i.curry(n(32),"pictorialBar","roundRect",null)),n(38)},function(t,e,n){var i=n(1),r=n(2);n(215),n(216),n(77)("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),r.registerVisual(i.curry(n(72),"pie")),r.registerLayout(i.curry(n(218),"pie")),r.registerProcessor(i.curry(n(47),"pie"))},function(t,e,n){"use strict";var i=n(10),r=n(1),o=n(7),a=n(17),s=n(62),l=n(2).extendSeriesModel({type:"series.pie",init:function(t){l.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(t.data),this._defaultLabelLine(t)},mergeOption:function(t){l.superCall(this,"mergeOption",t),this.updateSelectedMap(this.option.data)},getInitialData:function(t,e){var n=a(["value"],t.data),r=new i(n,this);return r.initData(t.data),r},getDataParams:function(t){var e=this.getData(),n=l.superCall(this,"getDataParams",t),i=e.getSum("value");return n.percent=i?+(e.get("value",t)/i*100).toFixed(2):0,n.$vars.push("percent"),n},_defaultLabelLine:function(t){o.defaultEmphasis(t.labelLine,["show"]);var e=t.labelLine.normal,n=t.labelLine.emphasis;e.show=e.show&&t.label.normal.show,n.show=n.show&&t.label.emphasis.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,avoidLabelOverlap:!0,stillShowZeroSum:!0,label:{normal:{rotate:!1,show:!0,position:"outer"},emphasis:{}},labelLine:{normal:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}}},itemStyle:{normal:{borderWidth:1},emphasis:{}},animationType:"expansion",animationEasing:"cubicOut",data:[]}});r.mixin(l,s),t.exports=l},function(t,e,n){function i(t,e,n,i){var o=e.getData(),a=this.dataIndex,s=o.getName(a),l=e.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:t,name:s,seriesId:e.id}),o.each(function(t){r(o.getItemGraphicEl(t),o.getItemLayout(t),e.isSelected(o.getName(t)),l,n)})}function r(t,e,n,i,r){var o=(e.startAngle+e.endAngle)/2,a=Math.cos(o),s=Math.sin(o),l=n?i:0,u=[a*l,s*l];r?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function o(t,e){function n(){o.ignore=o.hoverIgnore,a.ignore=a.hoverIgnore}function i(){o.ignore=o.normalIgnore,a.ignore=a.normalIgnore}s.Group.call(this);var r=new s.Sector({z2:2}),o=new s.Polyline,a=new s.Text;this.add(r),this.add(o),this.add(a),this.updateData(t,e,!0),this.on("emphasis",n).on("normal",i).on("mouseover",n).on("mouseout",i)}function a(t,e,n,i,r){var o=i.getModel("textStyle"),a="inside"===r||"inner"===r;return{fill:o.getTextColor()||(a?"#fff":t.getItemVisual(e,"color")),opacity:t.getItemVisual(e,"opacity"),textFont:o.getFont(),text:l.retrieve(t.hostModel.getFormattedLabel(e,n),t.getName(e))}}var s=n(3),l=n(1),u=o.prototype;u.updateData=function(t,e,n){function i(){a.stopAnimation(!0),a.animateTo({shape:{r:h.r+10}},300,"elasticOut")}function o(){a.stopAnimation(!0),a.animateTo({shape:{r:h.r}},300,"elasticOut")}var a=this.childAt(0),u=t.hostModel,c=t.getItemModel(e),h=t.getItemLayout(e),f=l.extend({},h);f.label=null,n?(a.setShape(f),"scale"===u.getShallow("animationType")?(a.shape.r=h.r0,s.initProps(a,{shape:{r:h.r}},u,e)):(a.shape.endAngle=h.startAngle,s.updateProps(a,{shape:{endAngle:h.endAngle}},u,e))):s.updateProps(a,{shape:f},u,e);var d=c.getModel("itemStyle"),p=t.getItemVisual(e,"color");a.useStyle(l.defaults({lineJoin:"bevel",fill:p},d.getModel("normal").getItemStyle())),a.hoverStyle=d.getModel("emphasis").getItemStyle(),r(this,t.getItemLayout(e),c.get("selected"),u.get("selectedOffset"),u.get("animation")),a.off("mouseover").off("mouseout").off("emphasis").off("normal"),c.get("hoverAnimation")&&u.isAnimationEnabled()&&a.on("mouseover",i).on("mouseout",o).on("emphasis",i).on("normal",o),this._updateLabel(t,e),s.setHoverStyle(this)},u._updateLabel=function(t,e){var n=this.childAt(1),i=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),l=t.getItemLayout(e),u=l.label,c=t.getItemVisual(e,"color");s.updateProps(n,{shape:{points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]}},r,e),s.updateProps(i,{style:{x:u.x,y:u.y}},r,e),i.attr({style:{textVerticalAlign:u.verticalAlign,textAlign:u.textAlign,textFont:u.font},rotation:u.rotation,origin:[u.x,u.y],z2:10});var h=o.getModel("label.normal"),f=o.getModel("label.emphasis"),d=o.getModel("labelLine.normal"),p=o.getModel("labelLine.emphasis"),g=h.get("position")||f.get("position");i.setStyle(a(t,e,"normal",h,g)),i.ignore=i.normalIgnore=!h.get("show"),i.hoverIgnore=!f.get("show"),n.ignore=n.normalIgnore=!d.get("show"),n.hoverIgnore=!p.get("show"),n.setStyle({stroke:c,opacity:t.getItemVisual(e,"opacity")}),n.setStyle(d.getModel("lineStyle").getLineStyle()),i.hoverStyle=a(t,e,"emphasis",f,g),n.hoverStyle=p.getModel("lineStyle").getLineStyle();var v=d.get("smooth");v&&v===!0&&(v=.4),n.setShape({smooth:v})},l.inherits(o,s.Group);var c=n(24).extend({type:"pie",init:function(){var t=new s.Group;this._sectorGroup=t},render:function(t,e,n,r){if(!r||r.from!==this.uid){var a=t.getData(),s=this._data,u=this.group,c=e.get("animation"),h=!s,f=t.get("animationType"),d=l.curry(i,this.uid,t,c,n),p=t.get("selectedMode");if(a.diff(s).add(function(t){var e=new o(a,t);h&&"scale"!==f&&e.eachChild(function(t){t.stopAnimation(!0)}),p&&e.on("click",d),a.setItemGraphicEl(t,e),u.add(e)}).update(function(t,e){var n=s.getItemGraphicEl(e);n.updateData(a,t),n.off("click"),p&&n.on("click",d),u.add(n),a.setItemGraphicEl(t,n)}).remove(function(t){var e=s.getItemGraphicEl(t);u.remove(e)}).execute(),c&&h&&a.count()>0&&"scale"!==f){var g=a.getItemLayout(0),v=Math.max(n.getWidth(),n.getHeight())/2,m=l.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,v,g.startAngle,g.clockwise,m,t))}this._data=a}},dispose:function(){},_createClipPath:function(t,e,n,i,r,o,a){var l=new s.Sector({shape:{cx:t,cy:e,r0:0,r:n,startAngle:i,endAngle:i,clockwise:r}});return s.initProps(l,{shape:{endAngle:i+(r?1:-1)*Math.PI*2}},a,o),l},containPoint:function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}}});t.exports=c},function(t,e,n){"use strict";function i(t,e,n,i,r,o,a){function s(e,n,i,r){for(var o=e;o<n;o++)if(t[o].y+=i,o>e&&o+1<n&&t[o+1].y>t[o].y+t[o].height)return void l(o,i/2);l(n-1,i/2)}function l(e,n){for(var i=e;i>=0&&(t[i].y-=n,!(i>0&&t[i].y>t[i-1].y+t[i-1].height));i--);}function u(t,e,n,i,r,o){for(var a=o>0?e?Number.MAX_VALUE:0:e?Number.MAX_VALUE:0,s=0,l=t.length;s<l;s++)if("center"!==t[s].position){var u=Math.abs(t[s].y-i),c=t[s].len,h=t[s].len2,f=u<r+c?Math.sqrt((r+c+h)*(r+c+h)-u*u):Math.abs(t[s].x-n);e&&f>=a&&(f=a-10),!e&&f<=a&&(f=a+10),t[s].x=n+f*o,a=f}}t.sort(function(t,e){return t.y-e.y});for(var c,h=0,f=t.length,d=[],p=[],g=0;g<f;g++)c=t[g].y-h,c<0&&s(g,f,-c,r),h=t[g].y+t[g].height;a-h<0&&l(f-1,h-a);for(var g=0;g<f;g++)t[g].y>=n?p.push(t[g]):d.push(t[g]);u(d,!1,e,n,i,r),u(p,!0,e,n,i,r)}function r(t,e,n,r,o,a){for(var s=[],l=[],u=0;u<t.length;u++)t[u].x<e?s.push(t[u]):l.push(t[u]);i(l,e,n,r,1,o,a),i(s,e,n,r,-1,o,a);for(var u=0;u<t.length;u++){var c=t[u].linePoints;if(c){var h=c[1][0]-c[2][0];t[u].x<e?c[2][0]=t[u].x+3:c[2][0]=t[u].x-3,c[1][1]=c[2][1]=t[u].y,c[1][0]=c[2][0]+h}}}var o=n(25);t.exports=function(t,e,n,i){var a,s,l=t.getData(),u=[],c=!1;l.each(function(n){var i,r,h,f,d=l.getItemLayout(n),p=l.getItemModel(n),g=p.getModel("label.normal"),v=g.get("position")||p.get("label.emphasis.position"),m=p.getModel("labelLine.normal"),y=m.get("length"),x=m.get("length2"),_=(d.startAngle+d.endAngle)/2,b=Math.cos(_),w=Math.sin(_);a=d.cx,s=d.cy;var S="inside"===v||"inner"===v;if("center"===v)i=d.cx,r=d.cy,f="center";else{var M=(S?(d.r+d.r0)/2*b:d.r*b)+a,A=(S?(d.r+d.r0)/2*w:d.r*w)+s;if(i=M+3*b,r=A+3*w,!S){var T=M+b*(y+e-d.r),I=A+w*(y+e-d.r),C=T+(b<0?-1:1)*x,L=I;i=C+(b<0?-5:5),r=L,h=[[M,A],[T,I],[C,L]]}f=S?"center":b>0?"left":"right"}var D=g.getModel("textStyle").getFont(),k=g.get("rotate")?b<0?-_+Math.PI:-_:0,P=t.getFormattedLabel(n,"normal")||l.getName(n),E=o.getBoundingRect(P,D,f,"top");c=!!k,d.label={x:i,y:r,position:v,height:E.height,len:y,len2:x,linePoints:h,textAlign:f,verticalAlign:"middle",font:D,rotation:k},S||u.push(d.label)}),!c&&t.get("avoidLabelOverlap")&&r(u,a,s,e,n,i)}},function(t,e,n){var i=n(4),r=i.parsePercent,o=n(217),a=n(1),s=2*Math.PI,l=Math.PI/180;t.exports=function(t,e,n,u){e.eachSeriesByType(t,function(t){var e=t.get("center"),u=t.get("radius");a.isArray(u)||(u=[0,u]),a.isArray(e)||(e=[e,e]);var c=n.getWidth(),h=n.getHeight(),f=Math.min(c,h),d=r(e[0],c),p=r(e[1],h),g=r(u[0],f/2),v=r(u[1],f/2),m=t.getData(),y=-t.get("startAngle")*l,x=t.get("minAngle")*l,_=m.getSum("value"),b=Math.PI/(_||m.count())*2,w=t.get("clockwise"),S=t.get("roseType"),M=t.get("stillShowZeroSum"),A=m.getDataExtent("value");A[0]=0;var T=s,I=0,C=y,L=w?1:-1;if(m.each("value",function(t,e){var n;if(isNaN(t))return void m.setItemLayout(e,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:w,cx:d,cy:p,r0:g,r:S?NaN:v});n="area"!==S?0===_&&M?b:t*b:s/(m.count()||1),n<x?(n=x,T-=x):I+=t;var r=C+L*n;m.setItemLayout(e,{angle:n,startAngle:C,endAngle:r,clockwise:w,cx:d,cy:p,r0:g,r:S?i.linearMap(t,A,[g,v]):v}),C=r},!0),T<s)if(T<=.001){var D=s/m.count();m.each(function(t){var e=m.getItemLayout(t);e.startAngle=y+L*t*D,e.endAngle=y+L*(t+1)*D})}else b=T/I,C=y,m.each("value",function(t,e){var n=m.getItemLayout(e),i=n.angle===x?x:t*b;n.startAngle=C,n.endAngle=C+L*i,C+=L*i});o(t,v,c,h)})}},function(t,e,n){var i=n(1),r=n(2);n(288),n(220),n(221),r.registerVisual(i.curry(n(72),"radar")),r.registerVisual(i.curry(n(32),"radar","circle",null)),r.registerLayout(n(223)),r.registerProcessor(i.curry(n(47),"radar")),r.registerPreprocessor(n(222))},function(t,e,n){"use strict";var i=n(13),r=n(10),o=n(17),a=n(1),s=n(6).encodeHTML,l=i.extend({type:"series.radar",dependencies:["radar"],init:function(t){l.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(t,e){var n=t.data||[],i=o([],n,[],"indicator_"),a=new r(i,this);return a.initData(n),a},formatTooltip:function(t){var e=this.getRawValue(t),n=this.coordinateSystem,i=n.getIndicatorAxes(),r=this.getData().getName(t);return s(""===r?this.name:r)+"<br/>"+a.map(i,function(t,n){return s(t.name+" : "+e[n])}).join("<br />")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{normal:{width:2,type:"solid"}},label:{normal:{position:"top"}},symbol:"emptyCircle",symbolSize:4}});t.exports=l},function(t,e,n){function i(t){return o.isArray(t)||(t=[+t,+t]),t}var r=n(3),o=n(1),a=n(18);t.exports=n(2).extendChartView({type:"radar",render:function(t,e,n){function s(t,e){var n=t.getItemVisual(e,"symbol")||"circle",r=t.getItemVisual(e,"color");if("none"!==n){var o=a.createSymbol(n,-.5,-.5,1,1,r);return o.attr({style:{strokeNoScale:!0},z2:100,scale:i(t.getItemVisual(e,"symbolSize"))}),o}}function l(e,n,i,o,a,l){i.removeAll();for(var u=0;u<n.length-1;u++){var c=s(o,a);c&&(c.__dimIdx=u,e[u]?(c.attr("position",e[u]),r[l?"initProps":"updateProps"](c,{position:n[u]},t,a)):c.attr("position",n[u]),i.add(c))}}function u(t){return o.map(t,function(t){return[c.cx,c.cy]})}var c=t.coordinateSystem,h=this.group,f=t.getData(),d=this._data;f.diff(d).add(function(e){var n=f.getItemLayout(e);if(n){var i=new r.Polygon,o=new r.Polyline,a={shape:{points:n}};i.shape.points=u(n),o.shape.points=u(n),r.initProps(i,a,t,e),r.initProps(o,a,t,e);var s=new r.Group,c=new r.Group;s.add(o),s.add(i),s.add(c),l(o.shape.points,n,c,f,e,!0),f.setItemGraphicEl(e,s)}}).update(function(e,n){var i=d.getItemGraphicEl(n),o=i.childAt(0),a=i.childAt(1),s=i.childAt(2),u={shape:{points:f.getItemLayout(e)}};u.shape.points&&(l(o.shape.points,u.shape.points,s,f,e,!1),r.updateProps(o,u,t),r.updateProps(a,u,t),f.setItemGraphicEl(e,i))}).remove(function(t){h.remove(d.getItemGraphicEl(t))}).execute(),f.eachItemGraphicEl(function(e,n){function i(){u.attr("ignore",m)}function a(){u.attr("ignore",v)}var s=f.getItemModel(n),l=e.childAt(0),u=e.childAt(1),c=e.childAt(2),d=f.getItemVisual(n,"color");h.add(e),l.useStyle(o.defaults(s.getModel("lineStyle.normal").getLineStyle(),{fill:"none",stroke:d})),l.hoverStyle=s.getModel("lineStyle.emphasis").getLineStyle();var p=s.getModel("areaStyle.normal"),g=s.getModel("areaStyle.emphasis"),v=p.isEmpty()&&p.parentModel.isEmpty(),m=g.isEmpty()&&g.parentModel.isEmpty();m=m&&v,u.ignore=v,u.useStyle(o.defaults(p.getAreaStyle(),{fill:d,opacity:.7})),u.hoverStyle=g.getAreaStyle();var y=s.getModel("itemStyle.normal").getItemStyle(["color"]),x=s.getModel("itemStyle.emphasis").getItemStyle(),_=s.getModel("label.normal"),b=s.getModel("label.emphasis");c.eachChild(function(e){e.setStyle(y),e.hoverStyle=o.clone(x);var i=f.get(f.dimensions[e.__dimIdx],n);r.setText(e.style,_,d),e.setStyle({text:_.get("show")?o.retrieve(t.getFormattedLabel(n,"normal",null,e.__dimIdx),i):""}),r.setText(e.hoverStyle,b,d),e.hoverStyle.text=b.get("show")?o.retrieve(t.getFormattedLabel(n,"emphasis",null,e.__dimIdx),i):""}),e.off("mouseover").off("mouseout").off("normal").off("emphasis"),e.on("emphasis",i).on("mouseover",i).on("normal",a).on("mouseout",a),r.setHoverStyle(e)}),this._data=f},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}})},function(t,e,n){var i=n(1);t.exports=function(t){var e=t.polar;if(e){i.isArray(e)||(e=[e]);var n=[];i.each(e,function(e,r){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],i.isArray(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)}),t.polar=n}i.each(t.series,function(t){"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}},function(t,e){t.exports=function(t){t.eachSeriesByType("radar",function(t){function e(t,e){i[e]=i[e]||[],i[e][o]=r.dataToPoint(t,o)}var n=t.getData(),i=[],r=t.coordinateSystem;if(r){for(var o=0;o<r.getIndicatorAxes().length;o++){var a=n.dimensions[o];n.each(a,e)}n.each(function(t){i[t][0]&&i[t].push(i[t][0].slice()),n.setItemLayout(t,i[t])})}})}},function(t,e,n){var i=n(2);n(225),n(226),i.registerLayout(n(227)),i.registerVisual(n(228))},function(t,e,n){var i=n(13),r=n(87),o=n(6).encodeHTML,a=i.extend({type:"series.sankey",layoutInfo:null,getInitialData:function(t){var e=t.edges||t.links,n=t.data||t.nodes;if(n&&e)return r(n,e,this,!0).data},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,s=r.source+" -- "+r.target;return i.value&&(s+=" : "+i.value),o(s)}return a.superCall(this,"formatTooltip",t,e)},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",nodeWidth:20,nodeGap:8,layoutIterations:32,label:{normal:{show:!0,position:"right",textStyle:{color:"#000",fontSize:12}},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:1,borderColor:"#333"}},lineStyle:{normal:{color:"#314656",opacity:.2,curveness:.5},emphasis:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}});t.exports=a},function(t,e,n){function i(t,e,n){var i=new r.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return r.initProps(i,{shape:{width:t.width+20,height:t.height+20}},e,n),i}var r=n(3),o=n(1),a=r.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0},buildPath:function(t,e){var n=e.extent/2;t.moveTo(e.x1,e.y1-n),t.bezierCurveTo(e.cpx1,e.cpy1-n,e.cpx2,e.cpy2-n,e.x2,e.y2-n),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()}});t.exports=n(2).extendChartView({type:"sankey",_model:null,render:function(t,e,n){var s=t.getGraph(),l=this.group,u=t.layoutInfo,c=t.getData(),h=t.getData("edge");this._model=t,l.removeAll(),l.position=[u.x,u.y],s.eachEdge(function(e){var n=new a;n.dataIndex=e.dataIndex,n.seriesIndex=t.seriesIndex,n.dataType="edge";var i=e.getModel("lineStyle.normal"),o=i.get("curveness"),s=e.node1.getLayout(),u=e.node2.getLayout(),c=e.getLayout();n.shape.extent=Math.max(1,c.dy);var f=s.x+s.dx,d=s.y+c.sy+c.dy/2,p=u.x,g=u.y+c.ty+c.dy/2,v=f*(1-o)+p*o,m=d,y=f*o+p*(1-o),x=g;switch(n.setShape({x1:f,y1:d,x2:p,y2:g,cpx1:v,cpy1:m,cpx2:y,cpy2:x}),n.setStyle(i.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color");break;case"target":n.style.fill=e.node2.getVisual("color")}r.setHoverStyle(n,e.getModel("lineStyle.emphasis").getItemStyle()),l.add(n),h.setItemGraphicEl(e.dataIndex,n)}),s.eachNode(function(e){var n=e.getLayout(),i=e.getModel(),a=i.getModel("label.normal"),s=a.getModel("textStyle"),u=i.getModel("label.emphasis"),h=u.getModel("textStyle"),f=new r.Rect({shape:{x:n.x,y:n.y,width:e.getLayout().dx,height:e.getLayout().dy},style:{text:a.get("show")?t.getFormattedLabel(e.dataIndex,"normal")||e.id:"",textFont:s.getFont(),textFill:s.getTextColor(),textPosition:a.get("position")}});f.setStyle(o.defaults({fill:e.getVisual("color")},i.getModel("itemStyle.normal").getItemStyle())),r.setHoverStyle(f,o.extend(e.getModel("itemStyle.emphasis"),{text:u.get("show")?t.getFormattedLabel(e.dataIndex,"emphasis")||e.id:"",textFont:h.getFont(),textFill:h.getTextColor(),textPosition:u.get("position")})),l.add(f),c.setItemGraphicEl(e.dataIndex,f),f.dataType="node"}),!this._data&&t.get("animation")&&l.setClipPath(i(l.getBoundingRect(),t,function(){l.removeClipPath()})),this._data=t.getData()},dispose:function(){}})},function(t,e,n){function i(t,e){return M.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function r(t,e,n,i,r,o,s){a(t,n,r),u(t,e,o,i,s),v(t)}function o(t){T.each(t,function(t){var e=x(t.outEdges,S),n=x(t.inEdges,S),i=Math.max(e,n);t.setLayout({value:i},!0)})}function a(t,e,n){for(var i=t,r=null,o=0,a=0;i.length;){r=[];for(var u=0,c=i.length;u<c;u++){var h=i[u];h.setLayout({x:o},!0),h.setLayout({dx:e},!0);for(var f=0,d=h.outEdges.length;f<d;f++)r.push(h.outEdges[f].node2)}i=r,++o}s(t,o),a=(n-e)/(o-1),l(t,a)}function s(t,e){T.each(t,function(t){t.outEdges.length||t.setLayout({x:e-1},!0)})}function l(t,e){T.each(t,function(t){var n=t.getLayout().x*e;t.setLayout({x:n},!0)})}function u(t,e,n,i,r){var o=A().key(function(t){return t.getLayout().x}).sortKeys(w).entries(t).map(function(t){return t.values});c(t,o,e,n,i),h(o,i,n);for(var a=1;r>0;r--)a*=.99,f(o,a),h(o,i,n),p(o,a),h(o,i,n)}function c(t,e,n,i,r){var o=[];T.each(e,function(t){var e=t.length,n=0;T.each(t,function(t){n+=t.getLayout().value});var a=(i-(e-1)*r)/n;o.push(a)}),o.sort(function(t,e){return t-e});var a=o[0];T.each(e,function(t){T.each(t,function(t,e){t.setLayout({y:e},!0);var n=t.getLayout().value*a;t.setLayout({dy:n},!0)})}),T.each(n,function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)})}function h(t,e,n){T.each(t,function(t){var i,r,o,a=0,s=t.length;for(t.sort(b),o=0;o<s;o++){if(i=t[o],r=a-i.getLayout().y,r>0){var l=i.getLayout().y+r;i.setLayout({y:l},!0)}a=i.getLayout().y+i.getLayout().dy+e}if(r=a-e-n,r>0){var l=i.getLayout().y-r;for(i.setLayout({y:l},!0),a=i.getLayout().y,o=s-2;o>=0;--o)i=t[o],r=i.getLayout().y+i.getLayout().dy+e-a,r>0&&(l=i.getLayout().y-r,i.setLayout({y:l},!0)),a=i.getLayout().y}})}function f(t,e){T.each(t.slice().reverse(),function(t){T.each(t,function(t){if(t.outEdges.length){var n=x(t.outEdges,d)/x(t.outEdges,S),i=t.getLayout().y+(n-_(t))*e;t.setLayout({y:i},!0)}})})}function d(t){return _(t.node2)*t.getValue()}function p(t,e){T.each(t,function(t){T.each(t,function(t){if(t.inEdges.length){var n=x(t.inEdges,g)/x(t.inEdges,S),i=t.getLayout().y+(n-_(t))*e;t.setLayout({y:i},!0)}})})}function g(t){return _(t.node1)*t.getValue()}function v(t){T.each(t,function(t){t.outEdges.sort(m),t.inEdges.sort(y)}),T.each(t,function(t){var e=0,n=0;T.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),T.each(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}function m(t,e){return t.node2.getLayout().y-e.node2.getLayout().y}function y(t,e){return t.node1.getLayout().y-e.node1.getLayout().y}function x(t,e){for(var n=0,i=t.length,r=-1;++r<i;){var o=+e.call(t,t[r],r);isNaN(o)||(n+=o)}return n}function _(t){return t.getLayout().y+t.getLayout().dy/2}function b(t,e){return t.getLayout().y-e.getLayout().y}function w(t,e){return t<e?-1:t>e?1:t===e?0:NaN}function S(t){return t.getValue()}var M=n(8),A=n(113),T=n(1);t.exports=function(t,e,n){t.eachSeriesByType("sankey",function(t){var n=t.get("nodeWidth"),a=t.get("nodeGap"),s=i(t,e);t.layoutInfo=s;var l=s.width,u=s.height,c=t.getGraph(),h=c.nodes,f=c.edges;o(h),r(h,f,n,a,l,u,0!==h.filter(function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"))})}},function(t,e,n){var i=n(28),r=n(1);t.exports=function(t,e){t.eachSeriesByType("sankey",function(t){var e=t.getGraph(),n=e.nodes;n.sort(function(t,e){return t.getLayout().value-e.getLayout().value});var o=n[0].getLayout().value,a=n[n.length-1].getLayout().value;r.each(n,function(e){var n=new i({type:"color",mappingMethod:"linear",dataExtent:[o,a],visual:t.get("color")}),r=n.mapValueToVisual(e.getLayout().value);e.setVisual("color",r);var s=e.getModel(),l=s.get("itemStyle.normal.color");null!=l&&e.setVisual("color",l)})})}},function(t,e,n){var i=n(1),r=n(2);n(230),n(231),r.registerVisual(i.curry(n(32),"scatter","circle",null)),r.registerLayout(i.curry(n(69),"scatter")),n(38)},function(t,e,n){"use strict";var i=n(30),r=n(13);t.exports=r.extend({type:"series.scatter",dependencies:["grid","polar"],getInitialData:function(t,e){return i(t.data,this,e)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{normal:{opacity:.8}}}})},function(t,e,n){var i=n(34),r=n(190);n(2).extendChartView({type:"scatter",init:function(){this._normalSymbolDraw=new i,this._largeSymbolDraw=new r},render:function(t,e,n){var i=t.getData(),r=this._largeSymbolDraw,o=this._normalSymbolDraw,a=this.group,s=t.get("large")&&i.count()>t.get("largeThreshold")?r:o;this._symbolDraw=s,s.updateData(i),a.add(s.group),a.remove(s===r?o.group:r.group)},updateLayout:function(t){this._symbolDraw.updateLayout(t)},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e,!0)},dispose:function(){}})},function(t,e,n){var i=n(2),r=n(1);n(97),n(233),n(234),i.registerLayout(n(235)),i.registerVisual(n(236)),i.registerProcessor(r.curry(n(47),"themeRiver"))},function(t,e,n){"use strict";var i=n(17),r=n(13),o=n(10),a=n(1),s=n(6),l=s.encodeHTML,u=n(113),c=2,h=r.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(t){for(var e=t.length,n=u().key(function(t){return t[2]}).entries(t),i=a.map(n,function(t){return{name:t.key,dataList:t.values}}),r=i.length,o=-1,s=-1,l=0;l<r;++l){var c=i[l].dataList.length;c>o&&(o=c,s=l)}for(var h=0;h<r;++h)if(h!==s)for(var f=i[h].name,d=0;d<o;++d){for(var p=i[s].dataList[d][0],g=i[h].dataList.length,v=-1,m=0;m<g;++m){var y=i[h].dataList[m][0];if(y===p){v=m;break}}v===-1&&(t[e]=[],t[e][0]=p,t[e][1]=0,t[e][2]=f,e++)}return t},getInitialData:function(t,e){var n=[],r=e.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],s=r.get("type");n=[{name:"time",type:"category"===s?"ordinal":"time"===s?"time":"float"},{name:"value",type:"float"},{name:"name",type:"ordinal"}];for(var l=a.filter(t.data,function(t){return void 0!==t[2]}),u=this.fixData(l||[]),h=[],f=this.nameMap={},d=0,p=0;p<u.length;++p)h.push(u[p][c]),f[u[p][c]]||(f[u[p][c]]=d++);i(n,u);var g=new o(n,this);return g.initData(u,h),g},coordDimToDataDim:function(t){return["time"]},getLayerSeries:function(){function t(t,n){return e.get("time",t)-e.get("time",n)}for(var e=this.getData(),n=e.count(),i=[],r=0;r<n;++r)i[r]=r;for(var o=u().key(function(t){return e.get("name",t)}).entries(i),s=a.map(o,function(t){return{name:t.key,indices:t.values}}),l=0;l<s.length;++l)s[l].indices.sort(t);return s},getAxisTooltipDataIndex:function(t,e,n){a.isArray(t)||(t=t?[t]:[]);var i=this.getData();e="horizontal"===n.orient?e[0]:e[1];for(var r=this.getLayerSeries(),o=[],s=r.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,h=r[l].indices.length,f=0;f<h;++f){var d=Math.abs(i.get(t[0],r[l].indices[f])-e);d<=u&&(u=d,c=r[l].indices[f])}o.push(c)}return o},formatTooltip:function(t){var e=this.getData(),n=t.length,i=e.get("time",t[0]);"time"===this.coordinateSystem.getAxis().scale.type&&(i=s.formatTime("yyyy-MM-dd",i));for(var r=l(i)+"<br />",o=0;o<n;++o){var a=e.get("name",t[o]),u=e.get("value",t[o]);(isNaN(u)||null==u)&&(u="-"),r+=l(a+" : "+u)+"<br />"}return r},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{normal:{margin:4,textAlign:"right",show:!0,position:"left",textStyle:{color:"#000",fontSize:11}},emphasis:{show:!0}}}});t.exports=h},function(t,e,n){(function(e){function i(t,e,n){var i=new o.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return o.initProps(i,{shape:{width:t.width+20,height:t.height+20}},e,n),i}var r=n(88),o=n(3),a=n(1),s=n(40);t.exports=n(2).extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(t,e,n){function l(t){return t.name}function u(e,n,s){var l=this._layers;if("remove"===e)return void f.remove(l[n]);for(var u,p=[],g=[],v=d[n].indices,m=0;m<v.length;m++){var x=c.getItemLayout(v[m]),_=x.x,b=x.y0,w=x.y;p.push([_,b]),g.push([_,b+w]),u=h.getItemVisual(v[m],"color")}var S,M,A=c.getItemLayout(v[0]),T=c.getItemModel(v[m-1]),I=T.getModel("label.normal"),C=I.get("margin");if("add"===e){var L=y[n]=new o.Group;S=new r.Polygon({shape:{points:p,stackedOnPoints:g,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),M=new o.Text({style:{x:A.x-C,y:A.y0+A.y/2}}),L.add(S),L.add(M),f.add(L),S.setClipPath(i(S.getBoundingRect(),t,function(){S.removeClipPath()}))}else{var L=l[s];S=L.childAt(0),M=L.childAt(1),f.add(L),y[n]=L,o.updateProps(S,{shape:{points:p,stackedOnPoints:g}},t),o.updateProps(M,{style:{x:A.x-C,y:A.y0+A.y/2}},t)}var D=T.getModel("itemStyle.emphasis"),k=T.getModel("itemStyle.normal"),P=I.getModel("textStyle");M.setStyle({text:I.get("show")?t.getFormattedLabel(v[m-1],"normal")||c.getName(v[m-1]):"",textFont:P.getFont(),textAlign:I.get("textAlign"),textVerticalAlign:"middle"}),S.setStyle(a.extend({fill:u},k.getItemStyle(["color"]))),o.setHoverStyle(S,D.getItemStyle())}var c=t.getData(),h=t.getRawData();if(c.count()){var f=this.group,d=t.getLayerSeries(),p=c.getLayout("layoutInfo"),g=p.rect,v=p.boundaryGap;f.attr("position",[0,g.y+v[0]]);var m=new s(this._layersSeries||[],d,l,l),y={};m.add(a.bind(a.curry(u,"add"),this)).update(a.bind(a.curry(u,"update"),this)).remove(a.bind(a.curry(u,"remove"),this)).execute(),this._layersSeries=d,this._layers=y}},dispose:function(){}})}).call(e,n(117))},function(t,e,n){function i(t,e,n){if(t.count())for(var i,a=e.coordinateSystem,s=e.getLayerSeries(),l=o.map(s,function(e){return o.map(e.indices,function(e){var n=a.dataToPoint(t.get("time",e));return n[1]=t.get("value",e),n})}),u=r(l),c=u.y0,h=n/u.max,f=s.length,d=s[0].indices.length,p=0;p<d;++p){i=c[p]*h,t.setItemLayout(s[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:i,y:l[0][p][1]*h});for(var g=1;g<f;++g)i+=l[g-1][p][1]*h,t.setItemLayout(s[g].indices[p],{layerIndex:g,x:l[g][p][0],y0:i,y:l[g][p][1]*h})}}function r(t){for(var e,n=t.length,i=t[0].length,r=[],o=[],a=0,s={},l=0;l<i;++l){for(var u=0,e=0;u<n;++u)e+=t[u][l][1];e>a&&(a=e),r.push(e)}for(var c=0;c<i;++c)o[c]=(a-r[c])/2;a=0;for(var h=0;h<i;++h){var f=r[h]+o[h];f>a&&(a=f)}return s.y0=o,s.max=a,s}var o=n(1),a=n(4);t.exports=function(t,e){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),n=t.coordinateSystem,r={},o=n.getRect();r.rect=o;var s=t.get("boundaryGap"),l=n.getAxis();r.boundaryGap=s,"horizontal"===l.orient?(s[0]=a.parsePercent(s[0],o.height),s[1]=a.parsePercent(s[1],o.height),i(e,t,o.height-s[0]-s[1])):(s[0]=a.parsePercent(s[0],o.width),s[1]=a.parsePercent(s[1],o.width),i(e,t,o.width-s[0]-s[1])),e.setLayout("layoutInfo",r)})}},function(t,e){t.exports=function(t){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),n=t.getRawData(),i=t.get("color");e.each(function(r){var o=e.getName(r),a=i[(t.nameMap[o]-1)%i.length];n.setItemVisual(r,"color",a)})})}},function(t,e,n){var i=n(2);n(239),n(240),n(241),i.registerVisual(n(243)),i.registerLayout(n(242))},function(t,e,n){function i(t){this.group=new a.Group,t.add(this.group)}function r(t,e,n,i,r,o){var a=[[r?t:t-h,e],[t+n,e],[t+n,e+i],[r?t:t-h,e+i]];return!o&&a.splice(2,0,[t+n+h,e+i/2]),!r&&a.push([t,e+i/2]),a}function o(t,e,n){t.eventData={componentType:"series",componentSubType:"treemap",seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&u.wrapTreePathInfo(n,e)}}var a=n(3),s=n(8),l=n(1),u=n(31),c=8,h=5;i.prototype={constructor:i,render:function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle.normal"),l=a.getModel("textStyle"),u={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(t,u,a,l,i),s.positionElement(o,u.pos,u.box)}},_prepare:function(t,e,n){for(var i=t;i;i=i.parentNode){var r=i.getModel().get("name"),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+c,e.renderList.push({node:i,text:r,width:a})}},_renderContent:function(t,e,n,i,u){for(var h=0,f=e.emptyItemWidth,d=t.get("breadcrumb.height"),p=s.getAvailableSize(e.pos,e.box),g=e.totalWidth,v=e.renderList,m=v.length-1;m>=0;m--){var y=v[m],x=y.node,_=y.width,b=y.text;g>p.width&&(g-=_-f,_=f,b="");var w=new a.Polygon({shape:{points:r(h,0,_,d,m===v.length-1,0===m)},style:l.defaults(n.getItemStyle(),{lineJoin:"bevel",text:b,textFill:i.getTextColor(),textFont:i.getFont()}),z:10,onclick:l.curry(u,x)});this.group.add(w),o(w,t,x),h+=_+c}},remove:function(){this.group.removeAll()}},t.exports=i},function(t,e,n){function i(t,e){var n=0;s.each(t.children,function(t){i(t,e);var r=t.value;s.isArray(r)&&(r=r[0]),n+=r});var r=t.value;e>=0&&(s.isArray(r)?r=r[0]:t.value=new Array(e)),(null==r||isNaN(r))&&(r=n),r<0&&(r=0),e>=0?t.value[0]=r:t.value=r}function r(t,e){var n=e.get("color");if(n){t=t||[];var i;return s.each(t,function(t){var e=new l(t),n=e.get("color");(e.get("itemStyle.normal.color")||n&&"none"!==n)&&(i=!0)}),i||((t[0]||(t[0]={})).color=n.slice()),t}}var o=n(13),a=n(350),s=n(1),l=n(11),u=n(6),c=n(31),h=u.encodeHTML,f=u.addCommas;t.exports=o.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],_viewRoot:null,defaultOption:{progressive:0,hoverLayerThreshold:1/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:{normal:{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:{normal:{show:!0,position:"inside",textStyle:{color:"#fff",ellipsis:!0}}},itemStyle:{normal:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]
},getInitialData:function(t,e){var n=t.data||[],o=t.name;null==o&&(o=t.name);var l={name:o,children:t.data},u=(n[0]||{}).value;i(l,s.isArray(u)?u.length:-1);var c=t.levels||[];return c=t.levels=r(c,e),a.createTree(l,this,c).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),i=f(s.isArray(n)?n[0]:n);return h(e.getName(t)+": "+i)},getDataParams:function(t){var e=o.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=c.wrapTreePathInfo(n,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},s.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap={},this._idIndexMapCount=0);var n=e[t];return null==n&&(e[t]=n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}})},function(t,e,n){function i(){return{nodeGroup:[],background:[],content:[]}}function r(t,e,n,i,r,l,u,c,h,f){function d(e){R.dataIndex=u.dataIndex,R.seriesIndex=t.seriesIndex;var n=T.borderWidth,i=Math.max(I-2*n,0),r=Math.max(C-2*n,0);R.culling=!0,R.setShape({x:n,y:n,width:i,height:r});var o=u.getVisual("color",!0);p(R,function(){var t={fill:o},e=u.getModel("itemStyle.emphasis").getItemStyle();g(t,e,o,i,r),R.setStyle(t),s.setHoverStyle(R,e)}),e.add(R)}function p(t,e){L?!t.invisible&&l.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function g(e,n,i,r,o){var a=u.getModel(),s=a.get("name");if(T.isLeafRoot){var l=t.get("drillDownIcon",!0);s=l?l+" "+s:s}y(s,e,a,_,i,r,o),y(s,n,a,b,i,r,o)}function y(t,e,n,i,r,o,a){var l=n.getModel(i),u=l.getModel("textStyle");s.setText(e,l,r),e.textAlign=u.get("align"),e.textVerticalAlign=u.get("baseline");var c=u.getTextRect(t);!l.getShallow("show")||c.height>a?e.text="":c.width>o?e.text=u.get("ellipsis")?u.truncateText(t,o,null,{minChar:2}):"":e.text=t}function x(t,i,a,s){var l=null!=k&&n[t][k],u=r[t];return l?(n[t][k]=null,w(u,l,t)):L||(l=new i({z:o(a,s)}),l.__tmDepth=a,l.__tmStorageName=t,A(u,l,t)),e[t][D]=l}function w(t,e,n){(t[D]={}).old="nodeGroup"===n?e.position.slice():a.extend({},e.shape)}function A(t,e,n){var o=t[D]={},a=u.parentNode;if(a&&(!i||"drillDown"===i.direction)){var s=0,l=0,c=r.background[a.getRawIndex()];!i&&c&&c.old&&(s=c.old.width,l=c.old.height),o.old="nodeGroup"===n?[0,l]:{x:s,y:l,width:0,height:0}}o.fadein="nodeGroup"!==n}if(u){var T=u.getLayout();if(T&&T.isInView){var I=T.width,C=T.height,L=T.invisible,D=u.getRawIndex(),k=c&&c.getRawIndex(),P=x("nodeGroup",v);if(P){if(h.add(P),P.attr("position",[T.x||0,T.y||0]),P.__tmNodeWidth=I,P.__tmNodeHeight=C,T.isAboveViewRoot)return P;var E=x("background",m,f,S);E&&(E.setShape({x:0,y:0,width:I,height:C}),p(E,function(){E.setStyle("fill",u.getVisual("borderColor",!0))}),P.add(E));var O=u.viewChildren;if(!O||!O.length){var R=x("content",m,f,M);R&&d(P)}return P}}}}function o(t,e){var n=t*w+e;return(n-1)/n}var a=n(1),s=n(3),l=n(40),u=n(31),c=n(238),h=n(44),f=n(9),d=n(20),p=n(366),g=a.bind,v=s.Group,m=s.Rect,y=a.each,x=3,_=["label","normal"],b=["label","emphasis"],w=10,S=1,M=2;t.exports=n(2).extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage=i(),this._oldTree,this._breadcrumb,this._controller,this._state="ready",this._mayClick},render:function(t,e,n,i){var r=e.findComponents({mainType:"series",subType:"treemap",query:i});if(!(a.indexOf(r,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var o=u.retrieveTargetInfo(i,t),s=i&&i.type,l=t.layoutInfo,c=!this._oldTree,h=this._storage,f="treemapRootToNode"===s&&o&&h?{rootNodeGroup:h.nodeGroup[o.node.getRawIndex()],direction:i.direction}:null,d=this._giveContainerGroup(l),p=this._doRender(d,t,f);c||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?p.renderFinally():this._doAnimation(d,p,t,f),this._resetController(n),this._renderBreadcrumb(t,n,o)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new v,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,n){function o(t,e,n,i,r){function s(t){return t.getId()}function u(a,s){var l=null!=a?t[a]:null,u=null!=s?e[s]:null,c=v(l,u,n,r);c&&o(l&&l.viewChildren||[],u&&u.viewChildren||[],c,i,r+1)}i?(e=t,y(t,function(t,e){!t.isRemoved()&&u(e,e)})):new l(e,t,s,s).add(u).update(u).remove(a.curry(u,null)).execute()}function s(t){var e=i();return t&&y(t,function(t,n){var i=e[n];y(t,function(t){t&&(i.push(t),t.__tmWillDelete=1)})}),e}function u(){y(m,function(t){y(t,function(t){t.parent&&t.parent.remove(t)})}),y(g,function(t){t.invisible=!0,t.dirty()})}var c=e.getData().tree,h=this._oldTree,f=i(),d=i(),p=this._storage,g=[],v=a.curry(r,e,d,p,n,f,g);o(c.root?[c.root]:[],h&&h.root?[h.root]:[],t,c===h||!h,0);var m=s(p);return this._oldTree=c,this._storage=d,{lastsForAnimation:f,willDeleteEls:m,renderFinally:u}},_doAnimation:function(t,e,n,i){if(n.get("animation")){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),s=p.createWrap();y(e.willDeleteEls,function(t,e){y(t,function(t,n){if(!t.invisible){var a,l=t.parent;if(i&&"drillDown"===i.direction)a=l===i.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),a="nodeGroup"===e?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}a&&s.add(t,a,r,o)}})}),y(this._storage,function(t,n){y(t,function(t,i){var l=e.lastsForAnimation[n][i],u={};l&&("nodeGroup"===n?l.old&&(u.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(u.shape=a.extend({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),u.style={opacity:1}):1!==t.style.opacity&&(u.style={opacity:1})),s.add(t,u,r,o))})},this),this._state="animating",s.done(g(function(){this._state="ready",e.renderFinally()},this)).start()}},_resetController:function(t){var e=this._controller;e||(e=this._controller=new h(t.getZr()),e.enable(this.seriesModel.get("roam")),e.on("pan",g(this._onPan,this)),e.on("zoom",g(this._onZoom,this)));var n=new f(0,0,t.getWidth(),t.getHeight());e.setContainsPoint(function(t,e){return n.contain(t,e)})},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t,e){if(this._mayClick=!1,"animating"!==this._state&&(Math.abs(t)>x||Math.abs(e)>x)){var n=this.seriesModel.getData().tree.root;if(!n)return;var i=n.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t,y:i.y+e,width:i.width,height:i.height}})}},_onZoom:function(t,e,n){if(this._mayClick=!1,"animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new f(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var s=d.create();d.translate(s,s,[-e,-n]),d.scale(s,s,[t,t]),d.translate(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(t){function e(t){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var r=i.hostTree.data.getItemModel(i.dataIndex),o=r.get("link",!0),a=r.get("target",!0)||"blank";o&&window.open(o,a)}}}}t.on("mousedown",function(t){"ready"===this._state&&(this._mayClick=!0)},this),t.on("mouseup",function(t){this._mayClick&&(this._mayClick=!1,"ready"===this._state&&e.call(this,t))},this)},_renderBreadcrumb:function(t,e,n){function i(e){"animating"!==this._state&&(u.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new c(this.group))).render(t,e,n.node,g(i,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=i(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}},this),n}})},function(t,e,n){for(var i=n(2),r=n(31),o=function(){},a=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<a.length;s++)i.registerAction({type:a[s],update:"updateView"},o);i.registerAction({type:"treemapRootToNode",update:"updateView"},function(t,e){function n(e,n){var i=r.retrieveTargetInfo(t,e);if(i){var o=e.getViewRoot();o&&(t.direction=r.aboveViewRoot(o,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}e.eachComponent({mainType:"series",subType:"treemap",query:t},n)})},function(t,e,n){function i(t,e,n){var i={mainType:"series",subType:"treemap",query:n};t.eachComponent(i,function(t){var i=e.getWidth(),o=e.getHeight(),a=t.option,s=v.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),l=a.size||[],u=b(w(s.width,l[0]),i),c=b(w(s.height,l[1]),o),g=n&&n.type,x=m.retrieveTargetInfo(n,t),_="treemapRender"===g||"treemapMove"===g?n.rootRect:null,M=t.getViewRoot(),A=m.getPathToRoot(M);if("treemapMove"!==g){var T="treemapZoomToNode"===g?h(t,x,M,u,c):_?[_.width,_.height]:[u,c],I=a.sort;I&&"asc"!==I&&"desc"!==I&&(I="desc");var C={squareRatio:a.squareRatio,sort:I,leafDepth:a.leafDepth};M.hostTree.clearLayouts();var L={x:0,y:0,width:T[0],height:T[1],area:T[0]*T[1]};M.setLayout(L),r(M,C,!1,0);var L=M.getLayout();S(A,function(t,e){var n=(A[e+1]||M).getValue();t.setLayout(p.extend({dataExtent:[n,n],borderWidth:0},L))})}var D=t.getData().tree.root;D.setLayout(f(s,_,x),!0),t.setLayoutInfo(s),d(D,new y(-s.x,-s.y,i,o),A,M,0)})}function r(t,e,n,i){var a,s;if(!t.isRemoved()){var l=t.getLayout();a=l.width,s=l.height;var h=t.getModel("itemStyle.normal"),f=h.get("borderWidth"),d=h.get("gapWidth")/2,p=f-d,g=t.getModel();t.setLayout({borderWidth:f},!0),a=x(a-2*p,0),s=x(s-2*p,0);var v=a*s,m=o(t,g,v,e,n,i);if(m.length){var y={x:p,y:p,width:a,height:s},b=_(a,s),w=1/0,S=[];S.area=0;for(var M=0,A=m.length;M<A;){var T=m[M];S.push(T),S.area+=T.getLayout().area;var I=u(S,b,e.squareRatio);I<=w?(M++,w=I):(S.area-=S.pop().getLayout().area,c(S,b,y,d,!1),b=_(y.width,y.height),S.length=S.area=0,w=1/0)}if(S.length&&c(S,b,y,d,!0),!n){var C=g.get("childrenVisibleMin");null!=C&&v<C&&(n=!0)}for(var M=0,A=m.length;M<A;M++)r(m[M],e,n,i+1)}}}function o(t,e,n,i,r,o){var u=t.children||[],c=i.sort;"asc"!==c&&"desc"!==c&&(c=null);var h=null!=i.leafDepth&&i.leafDepth<=o;if(r&&!h)return t.viewChildren=[];u=p.filter(u,function(t){return!t.isRemoved()}),s(u,c);var f=l(e,u,c);if(0===f.sum)return t.viewChildren=[];if(f.sum=a(e,n,f.sum,c,u),0===f.sum)return t.viewChildren=[];for(var d=0,g=u.length;d<g;d++){var v=u[d].getValue()/f.sum*n;u[d].setLayout({area:v})}return h&&(u.length&&t.setLayout({isLeafRoot:!0},!0),u.length=0),t.viewChildren=u,t.setLayout({dataExtent:f.dataExtent},!0),u}function a(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}function s(t,e){return e&&t.sort(function(t,n){return"asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue()}),t}function l(t,e,n){for(var i=0,r=0,o=e.length;r<o;r++)i+=e[r].getValue();var a,s=t.get("visualDimension");if(e&&e.length)if("value"===s&&n)a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&a.reverse();else{var a=[1/0,-(1/0)];S(e,function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)})}else a=[NaN,NaN];return{sum:i,dataExtent:a}}function u(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&&(i<o&&(o=i),i>r&&(r=i));var l=t.area*t.area,u=e*e*n;return l?x(u*r/l,l/(u*o)):1/0}function c(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,f=t.length;h<f;h++){var d=t[h],p={},g=c?d.getLayout().area/c:0,v=p[l[a]]=x(c-2*i,0),m=n[s[o]]+n[l[o]]-u,y=h===f-1||m<g?m:g,b=p[l[o]]=x(y-2*i,0);p[s[a]]=n[s[a]]+_(i,v/2),p[s[o]]=u+_(i,b/2),u+=y,d.setLayout(p,!0)}n[s[a]]+=c,n[l[a]]-=c}function h(t,e,n,i,r){var o=(e||{}).node,a=[i,r];if(!o||o===n)return a;for(var s,l=i*r,u=l*t.option.zoomToNodeRatio;s=o.parentNode;){for(var c=0,h=s.children,f=0,d=h.length;f<d;f++)c+=h[f].getValue();var p=o.getValue();if(0===p)return a;u*=c/p;var v=s.getModel("itemStyle.normal").get("borderWidth");isFinite(v)&&(u+=4*v*v+4*v*Math.pow(u,.5)),u>g.MAX_SAFE_INTEGER&&(u=g.MAX_SAFE_INTEGER),o=s}u<l&&(u=l);var m=Math.pow(u/l,.5);return[i*m,r*m]}function f(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;for(var a=[o.width/2,o.height/2],s=r;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}function d(t,e,n,i,r){var o=t.getLayout(),a=n[r],s=a&&a===t;if(!(a&&!s||r===n.length&&t!==i)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(o),isAboveViewRoot:s},!0);var l=new y(e.x-o.x,e.y-o.y,e.width,e.height);S(t.viewChildren||[],function(t){d(t,l,n,i,r+1)})}}var p=n(1),g=n(4),v=n(8),m=n(31),y=n(9),m=n(31),x=Math.max,_=Math.min,b=g.parsePercent,w=p.retrieve,S=p.each;t.exports=i},function(t,e,n){function i(t,e,n,s,u,h){var f=t.getModel(),p=t.getLayout();if(p&&!p.invisible&&p.isInView){var v,m=t.getModel(g),y=n[t.depth],x=r(m,e,y,s),_=m.get("borderColor"),b=m.get("borderColorSaturation");null!=b&&(v=o(x,t),_=a(b,v)),t.setVisual("borderColor",_);var w=t.viewChildren;if(w&&w.length){var S=l(t,f,p,m,x,w);d.each(w,function(t,e){(t.depth>=u.length||t===u[t.depth])&&i(t,c(f,x,t,e,S,h),n,s,u,h)})}else v=o(x,t),t.setVisual("color",v)}}function r(t,e,n,i){var r=d.extend({},e);return d.each(["color","colorAlpha","colorSaturation"],function(o){var a=t.get(o,!0);null==a&&n&&(a=n[o]),null==a&&(a=e[o]),null==a&&(a=i.get(o)),null!=a&&(r[o]=a)}),r}function o(t){var e=s(t,"color");if(e){var n=s(t,"colorAlpha"),i=s(t,"colorSaturation");return i&&(e=f.modifyHSL(e,null,null,i)),n&&(e=f.modifyAlpha(e,n)),e}}function a(t,e){return null!=e?f.modifyHSL(e,null,null,t):null}function s(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function l(t,e,n,i,r,o){if(o&&o.length){var a=u(e,"color")||null!=r.color&&"none"!==r.color&&(u(e,"colorAlpha")||u(e,"colorSaturation"));if(a){var s=e.get("visualMin"),l=e.get("visualMax"),c=n.dataExtent.slice();null!=s&&s<c[0]&&(c[0]=s),null!=l&&l>c[1]&&(c[1]=l);var f=e.get("colorMappingBy"),d={type:a.name,dataExtent:c,visual:a.range};"color"!==d.type||"index"!==f&&"id"!==f?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var p=new h(d);return p.__drColorMappingBy=f,p}}}function u(t,e){var n=t.get(e);return p(n)&&n.length?{name:e,range:n}:null}function c(t,e,n,i,r,o){var a=d.extend({},e);if(r){var s=r.type,l="color"===s&&r.__drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}var h=n(28),f=n(21),d=n(1),p=d.isArray,g="itemStyle.normal";t.exports=function(t,e,n){var r={mainType:"series",subType:"treemap",query:n};t.eachComponent(r,function(t){var e=t.getData().tree,n=e.root,r=t.getModel(g);n.isRemoved()||i(n,{},d.map(e.levelModels,function(t){return t?t.get(g):null}),r,t.getViewRoot().getAncestors(),t)})}},function(t,e,n){"use strict";n(68),n(246)},function(t,e,n){"use strict";n(107),n(247)},function(t,e,n){"use strict";function i(t,e,n,i){var r=t.coordToPoint([e,i]),o=t.coordToPoint([n,i]);return{x1:r[0],y1:r[1],x2:o[0],y2:o[1]}}var r=n(1),o=n(3),a=n(11),s=["axisLine","axisLabel","axisTick","splitLine","splitArea"];n(2).extendComponentView({type:"angleAxis",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=e.getComponent("polar",t.get("polarIndex")),i=t.axis,o=n.coordinateSystem,a=o.getRadiusAxis().getExtent(),l=i.getTicksCoords();"category"!==i.type&&l.pop(),r.each(s,function(e){!t.get(e+".show")||i.isBlank()&&"axisLine"!==e||this["_"+e](t,o,l,a)},this)}},_axisLine:function(t,e,n,i){var r=t.getModel("axisLine.lineStyle"),a=new o.Circle({shape:{cx:e.cx,cy:e.cy,r:i[1]},style:r.getLineStyle(),z2:1,silent:!0});a.style.fill=null,this.group.add(a)},_axisTick:function(t,e,n,a){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),u=r.map(n,function(t){return new o.Line({shape:i(e,a[1],a[1]+l,t)})});this.group.add(o.mergePath(u,{style:r.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,n,i){for(var r=t.axis,s=t.get("data"),l=t.getModel("axisLabel"),u=l.getModel("textStyle"),c=t.getFormattedLabels(),h=l.get("margin"),f=r.getLabelsCoords(),d=0;d<n.length;d++){var p=i[1],g=e.coordToPoint([p+h,f[d]]),v=e.cx,m=e.cy,y=Math.abs(g[0]-v)/p<.3?"center":g[0]>v?"left":"right",x=Math.abs(g[1]-m)/p<.3?"middle":g[1]>m?"top":"bottom",_=u;s&&s[d]&&s[d].textStyle&&(_=new a(s[d].textStyle,u)),this.group.add(new o.Text({style:{x:g[0],y:g[1],fill:_.getTextColor()||t.get("axisLine.lineStyle.color"),text:c[d],textAlign:y,textVerticalAlign:x,textFont:_.getFont()},silent:!0}))}},_splitLine:function(t,e,n,a){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],f=0;f<n.length;f++){var d=c++%u.length;h[d]=h[d]||[],h[d].push(new o.Line({shape:i(e,a[0],a[1],n[f])}))}for(var f=0;f<h.length;f++)this.group.add(o.mergePath(h[f],{style:r.defaults({stroke:u[f%u.length]},l.getLineStyle()),silent:!0,z:t.get("z")}))},_splitArea:function(t,e,n,i){var a=t.getModel("splitArea"),s=a.getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],h=Math.PI/180,f=-n[0]*h,d=Math.min(i[0],i[1]),p=Math.max(i[0],i[1]),g=t.get("clockwise"),v=1;v<n.length;v++){var m=u++%l.length;c[m]=c[m]||[],c[m].push(new o.Sector({shape:{cx:e.cx,cy:e.cy,r0:d,r:p,startAngle:f,endAngle:-n[v]*h,clockwise:g},silent:!0})),f=-n[v]*h}for(var v=0;v<c.length;v++)this.group.add(o.mergePath(c[v],{style:r.defaults({fill:l[v%l.length]},s.getAreaStyle()),silent:!0}))}})},function(t,e,n){function i(t,e){function n(t,e){var n=i.getAxis(t);return n.toGlobalCoord(n.dataToCoord(0))}var i=t.coordinateSystem,r=e.axis,o={},a=r.position,s=r.onZero?"onZero":a,l=r.dim,u=i.getRect(),c=[u.x,u.x+u.width,u.y,u.y+u.height],h=e.get("offset")||0,f={x:{top:c[2]-h,bottom:c[3]+h},y:{left:c[0]-h,right:c[1]+h}};f.x.onZero=Math.max(Math.min(n("y"),f.x.bottom),f.x.top),f.y.onZero=Math.max(Math.min(n("x"),f.y.right),f.y.left),o.position=["y"===l?f.y[s]:c[0],"x"===l?f.x[s]:c[3]],o.rotation=Math.PI/2*("x"===l?0:1);var d={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=d[a],r.onZero&&(o.labelOffset=f[l][a]-f[l].onZero),e.getModel("axisTick").get("inside")&&(o.tickDirection=-o.tickDirection),e.getModel("axisLabel").get("inside")&&(o.labelDirection=-o.labelDirection);var p=e.getModel("axisLabel").get("rotate");return o.labelRotation="top"===s?-p:p,o.labelInterval=r.getLabelInterval(),o.z2=1,o}var r=n(1),o=n(3),a=n(35),s=a.ifIgnoreOnTick,l=a.getInterval,u=["axisLine","axisLabel","axisTick","axisName"],c=["splitArea","splitLine"],h=n(2).extendComponentView({type:"axis",render:function(t,e){this.group.removeAll();var n=this._axisGroup;if(this._axisGroup=new o.Group,this.group.add(this._axisGroup),t.get("show")){var s=t.getCoordSysModel(),l=i(s,t),h=new a(t,l);r.each(u,h.add,h),this._axisGroup.add(h.getGroup()),r.each(c,function(e){t.get(e+".show")&&this["_"+e](t,s,l.labelInterval)},this),o.groupTransition(n,this._axisGroup,t)}},_splitLine:function(t,e,n){var i=t.axis;if(!i.isBlank()){var a=t.getModel("splitLine"),u=a.getModel("lineStyle"),c=u.get("color"),h=l(a,n);c=r.isArray(c)?c:[c];for(var f=e.coordinateSystem.getRect(),d=i.isHorizontal(),p=0,g=i.getTicksCoords(),v=i.scale.getTicks(),m=[],y=[],x=u.getLineStyle(),_=0;_<g.length;_++)if(!s(i,_,h)){var b=i.toGlobalCoord(g[_]);d?(m[0]=b,m[1]=f.y,y[0]=b,y[1]=f.y+f.height):(m[0]=f.x,m[1]=b,y[0]=f.x+f.width,y[1]=b);var w=p++%c.length;this._axisGroup.add(new o.Line(o.subPixelOptimizeLine({anid:"line_"+v[_],shape:{x1:m[0],y1:m[1],x2:y[0],y2:y[1]},style:r.defaults({stroke:c[w]},x),silent:!0})))}}},_splitArea:function(t,e,n){var i=t.axis;if(!i.isBlank()){var a=t.getModel("splitArea"),u=a.getModel("areaStyle"),c=u.get("color"),h=e.coordinateSystem.getRect(),f=i.getTicksCoords(),d=i.scale.getTicks(),p=i.toGlobalCoord(f[0]),g=i.toGlobalCoord(f[0]),v=0,m=l(a,n),y=u.getAreaStyle();c=r.isArray(c)?c:[c];for(var x=1;x<f.length;x++)if(!s(i,x,m)){var _,b,w,S,M=i.toGlobalCoord(f[x]);i.isHorizontal()?(_=p,b=h.y,w=M-_,S=h.height):(_=h.x,b=g,w=h.width,S=M-b);var A=v++%c.length;this._axisGroup.add(new o.Rect({anid:"area_"+d[x],shape:{x:_,y:b,width:w,height:S},style:r.defaults({fill:c[A]},y),silent:!0})),p=_+w,g=b+S}}}});h.extend({type:"xAxis"}),h.extend({type:"yAxis"})},function(t,e,n){function i(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}var r=n(1),o=n(35),a=n(60),s=n(3),l=["axisLine","axisLabel","axisTick","axisName"],u=n(2).extendComponentView({type:"parallelAxis",init:function(t,e){u.superApply(this,"init",arguments),(this._brushController=new a(e.getZr())).on("brush",r.bind(this._onBrush,this))},render:function(t,e,n,a){if(!i(t,e,a)){this.axisModel=t,this.api=n,this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new s.Group,this.group.add(this._axisGroup),t.get("show")){var c,h=e.getComponent("parallel",t.get("parallelIndex")).coordinateSystem,f=t.getAreaSelectStyle(),d=f.width,p=t.axis.dim,g=h.getAxisLayout(p),v=r.indexOf(h.dimensions,p),m=g.axisExpandWindow;m&&(v<=m[0]||v>=m[1])&&(c=!1);var y=r.extend({axisLabelShow:c,strokeContainThreshold:d},g),x=new o(t,y);r.each(l,x.add,x),this._axisGroup.add(x.getGroup()),this._refreshBrushController(y,f,t,d),s.groupTransition(u,this._axisGroup,t)}}},_refreshBrushController:function(t,e,n,i){var o=n.axis,a=r.map(n.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[o.dataToCoord(t[0],!0),o.dataToCoord(t[1],!0)]}}),l=o.getExtent(),u=l[1]-l[0],c=Math.min(30,.1*Math.abs(u)),h=s.BoundingRect.create({x:l[0],y:-i/2,width:u,height:i});h.x-=c,h.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",rect:h}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(a)},_onBrush:function(t,e){var n=this.axisModel,i=n.axis,o=r.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:o})},dispose:function(){this._brushController.dispose()}});t.exports=u},function(t,e,n){"use strict";function i(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotation:e.getModel("axisLabel").get("rotate"),z2:1}}var r=n(1),o=n(3),a=n(35),s=["axisLine","axisLabel","axisTick","axisName"],l=["splitLine","splitArea"];n(2).extendComponentView({type:"radiusAxis",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=e.getComponent("polar",t.get("polarIndex")),o=n.coordinateSystem.getAngleAxis(),u=t.axis,c=n.coordinateSystem,h=u.getTicksCoords(),f=o.getExtent()[0],d=u.getExtent(),p=i(c,t,f),g=new a(t,p);r.each(s,g.add,g),this.group.add(g.getGroup()),r.each(l,function(e){t.get(e+".show")&&!u.isBlank()&&this["_"+e](t,c,f,d,h)},this)}},_splitLine:function(t,e,n,i,a){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],f=0;f<a.length;f++){var d=c++%u.length;h[d]=h[d]||[],h[d].push(new o.Circle({shape:{cx:e.cx,cy:e.cy,r:a[f]},silent:!0}))}for(var f=0;f<h.length;f++)this.group.add(o.mergePath(h[f],{style:r.defaults({stroke:u[f%u.length],fill:null},l.getLineStyle()),silent:!0}))},_splitArea:function(t,e,n,i,a){var s=t.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],f=a[0],d=1;d<a.length;d++){var p=c++%u.length;h[p]=h[p]||[],h[p].push(new o.Sector({shape:{cx:e.cx,cy:e.cy,r0:f,r:a[d],startAngle:0,endAngle:2*Math.PI},silent:!0})),f=a[d]}for(var d=0;d<h.length;d++)this.group.add(o.mergePath(h[d],{style:r.defaults({fill:u[d%u.length]},l.getAreaStyle()),silent:!0}))}})},function(t,e,n){function i(t){var e=t.coordinateSystem,n=t.axis,i={},r=n.position,o=n.orient,a=e.getRect(),s=[a.x,a.x+a.width,a.y,a.y+a.height],l={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};i.position=["vertical"===o?l.vertical[r]:s[0],"horizontal"===o?l.horizontal[r]:s[3]];var u={horizontal:0,vertical:1};i.rotation=Math.PI/2*u[o];var c={top:-1,bottom:1,right:1,left:-1};i.labelDirection=i.tickDirection=i.nameDirection=c[r],t.getModel("axisTick").get("inside")&&(i.tickDirection=-i.tickDirection),t.getModel("axisLabel").get("inside")&&(i.labelDirection=-i.labelDirection);var h=t.getModel("axisLabel").get("rotate");return i.labelRotation="top"===r?-h:h,i.labelInterval=n.getLabelInterval(),i.z2=1,i}var r=n(35),o=n(1),a=n(3),s=r.getInterval,l=r.ifIgnoreOnTick,u=["axisLine","axisLabel","axisTick","axisName"],c=n(2).extendComponentView({type:"singleAxis",render:function(t,e){var n=this.group;n.removeAll();var a=i(t),s=new r(t,a);o.each(u,s.add,s),n.add(s.getGroup()),t.get("splitLine.show")&&this._splitLine(t,a.labelInterval)},_splitLine:function(t,e){var n=t.axis;if(!n.isBlank()){var i=t.getModel("splitLine"),r=i.getModel("lineStyle"),o=r.get("width"),u=r.get("color"),c=s(i,e);u=u instanceof Array?u:[u];for(var h=t.coordinateSystem.getRect(),f=n.isHorizontal(),d=[],p=0,g=n.getTicksCoords(),v=[],m=[],y=0;y<g.length;++y)if(!l(n,y,c)){var x=n.toGlobalCoord(g[y]);f?(v[0]=x,v[1]=h.y,m[0]=x,m[1]=h.y+h.height):(v[0]=h.x,v[1]=x,m[0]=h.x+h.width,m[1]=x);var _=p++%u.length;d[_]=d[_]||[],d[_].push(new a.Line(a.subPixelOptimizeLine({shape:{x1:v[0],y1:v[1],x2:m[0],y2:m[1]},style:{lineWidth:o},silent:!0})))}for(var y=0;y<d.length;++y)this.group.add(a.mergePath(d[y],{style:{stroke:u[y%u.length],lineDash:r.getLineDash(o),lineWidth:o},silent:!0}))}}});t.exports=c},function(t,e,n){var i=n(2),r={type:"axisAreaSelect",event:"axisAreaSelected",update:"updateVisual"};i.registerAction(r,function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),i.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})})},function(t,e,n){n(2).registerPreprocessor(n(256)),n(258),n(253),n(254),n(255),n(304)},function(t,e,n){var i=n(2),r=n(1),o=n(51),a=n(11),s=["#ddd"],l=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)",width:null},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var n=this.option;!e&&o.replaceVisualOption(n,t,["inBrush","outOfBrush"]),n.inBrush=n.inBrush||{},n.outOfBrush=n.outOfBrush||{color:s}},setAreas:function(t){__DEV__&&(r.assert(r.isArray(t)),r.each(t,function(t){r.assert(t.brushType,"Illegal areas")})),t&&(this.areas=r.map(t,function(t){return this._mergeBrushOption(t)},this))},setBrushOption:function(t){this.brushOption=this._mergeBrushOption(t),this.brushType=this.brushOption.brushType},_mergeBrushOption:function(t){var e=this.option;return r.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new a(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick},t,!0)}});t.exports=l},function(t,e,n){function i(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(s.makePanelOpts(t.coordInfoList)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}var r=n(1),o=n(60),a=n(2),s=n(61);t.exports=a.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,i.apply(this,arguments)},updateView:i,updateLayout:i,updateVisual:i,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var n=this.model.id;s.parseOutputRanges(t,this.model.coordInfoList,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:r.clone(t),$from:n})}})},function(t,e,n){var i=n(2);i.registerAction({type:"brush",event:"brush",update:"updateView"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),i.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},function(t,e,n){function i(t){var e={};r.each(t,function(t){e[t]=1}),t.length=0,r.each(e,function(e,n){t.push(n)})}var r=n(1),o=["rect","polygon","keep","clear"];t.exports=function(t,e){var n=t&&t.brush;if(r.isArray(n)||(n=n?[n]:[]),n.length){var a=[];r.each(n,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(a=a.concat(e))});var s=t&&t.toolbox;r.isArray(s)&&(s=s[0]),s||(s={feature:{}},t.toolbox=[s]);var l=s.feature||(s.feature={}),u=l.brush||(l.brush={}),c=u.type||(u.type=[]);c.push.apply(c,a),i(c),e&&!c.length&&c.push.apply(c,o)}}},function(t,e,n){function i(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){var o=i.range;return r(e[t],o)},rect:function(i,o,a){var s=a.range;return r(i[e[t]],s)||r(i[e[t]]+i[n[t]],s)}}}function r(t,e){return e[0]<=t&&t<=e[1]}function o(t,e,n,i,r){for(var o=0,s=r[r.length-1];o<r.length;o++){var l=r[o];if(a(t,e,n,i,l[0],l[1],s[0],s[1]))return!0;s=l}}function a(t,e,n,i,r,o,a,u){var c=l(n-t,r-a,i-e,o-u);if(s(c))return!1;var h=l(r-t,r-a,o-e,o-u)/c;if(h<0||h>1)return!1;var f=l(n-t,r-t,i-e,o-e)/c;return!(f<0||f>1)}function s(t){return t<=1e-6&&t>=-1e-6}function l(t,e,n,i){return t*i-e*n}var u=n(122).contain,c=n(9),h={lineX:i(0),lineY:i(1),rect:{point:function(t,e,n){return n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return n.boundingRect.contain(t[0],t[1])&&u(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(i.length<=1)return!1;var r=t.x,a=t.y,s=t.width,l=t.height,h=i[0];return!!(u(i,r,a)||u(i,r+s,a)||u(i,r,a+l)||u(i,r+s,a+l)||c.create(t).contain(h[0],h[1])||o(r,a,r+s,a,i)||o(r,a,r,a+l,i)||o(r+s,a,r+s,a+l,i)||o(r,a+l,r+s,a+l,i))||void 0}}};t.exports=h},function(t,e,n){function i(t,e,n,i,o){if(o){var a=t.getZr();a[x]||(a[y]||(a[y]=r),g.createOrUpdate(a,y,n,e)(t,i))}}function r(t,e){if(!t.isDisposed()){var n=t.getZr();n[x]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[x]=!1}}function o(t,e,n,i){for(var r=n.getItemLayout(i),o=0,a=e.length;o<a;o++){var s=e[o];if(t[s.brushType](r,s.selectors,s))return!0}}function a(t){var e=t.brushSelector;if(f.isString(e)){var n=[];return f.each(p,function(t,i){n[i]=t[e]}),n}if(f.isFunction(e)){var i={};return f.each(p,function(t,n){i[n]=e}),i}return e}function s(t,e){var n=t.option.seriesIndex;
return null!=n&&"all"!==n&&(f.isArray(n)?f.indexOf(n,e)<0:e!==n)}function l(t){var e=t.selectors={};return f.each(p[t.brushType],function(n,i){e[i]=function(i){return n(i,e,t)}}),t}function u(t){return new d(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var c=n(2),h=n(51),f=n(1),d=n(9),p=n(257),g=n(50),v=n(61),m=["inBrush","outOfBrush"],y="__ecBrushSelect",x="__ecInBrushSelectEvent",_=c.PRIORITY.VISUAL.BRUSH;c.registerLayout(_,function(t,e,n){t.eachComponent({mainType:"brush"},function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1}),e.coordInfoList=v.makeCoordInfoList(e.option,t),v.parseInputRanges(e,t)})}),c.registerVisual(_,function(t,e,n){var r,u,c=[];t.eachComponent({mainType:"brush"},function(e,n){function i(t){return"all"===_||w[t]}function d(t){return!!t.length}function p(t,e){var n=t.coordinateSystem;A|=n.hasAxisbrushed(),i(e)&&n.eachActiveState(t.getData(),function(t,e){"active"===t&&(S[e]=1)})}function g(t,n,r){var l=a(t);if(l&&!s(e,n)&&(f.each(T,function(n){l[n.brushType]&&v.controlSeries(n,e,t)&&r.push(n),A|=d(r)}),i(n)&&d(r))){var u=t.getData();u.each(function(t){o(l,r,u,t)&&(S[t]=1)})}}var y={brushId:e.id,brushIndex:n,brushName:e.name,areas:f.clone(e.areas),selected:[]};c.push(y);var x=e.option,_=x.brushLink,w=[],S=[],M=[],A=0;n||(r=x.throttleType,u=x.throttleDelay);var T=f.map(e.areas,function(t){return l(f.defaults({boundingRect:b[t.brushType](t)},t))}),I=h.createVisualMappings(e.option,m,function(t){t.mappingMethod="fixed"});f.isArray(_)&&f.each(_,function(t){w[t]=1}),t.eachSeries(function(t,e){var n=M[e]=[];"parallel"===t.subType?p(t,e,n):g(t,e,n)}),t.eachSeries(function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};y.selected.push(n);var r=a(t),s=M[e],l=t.getData(),u=i(e)?function(t){return S[t]?(n.dataIndex.push(l.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(t){return o(r,s,l,t)?(n.dataIndex.push(l.getRawIndex(t)),"inBrush"):"outOfBrush"};(i(e)?A:d(s))&&h.applyVisual(m,I,l,u)})}),i(e,r,u,c,n)});var b={lineX:f.noop,lineY:f.noop,rect:function(t){return u(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){e=e||[[1/0,-(1/0)],[1/0,-(1/0)]];var o=n[i];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&u(e)}}},function(t,e,n){n(92),n(36),n(37),n(265),n(266),n(261),n(262),n(90),n(89)},function(t,e,n){function i(t,e){var n=[1/0,-(1/0)];return u(e,function(e){var i=e.getData();i&&u(e.coordDimToDataDim(t),function(t){var e=i.getDataExtent(t);e[0]<n[0]&&(n[0]=e[0]),e[1]>n[1]&&(n[1]=e[1])})},this),n[1]<n[0]&&(n=[NaN,NaN]),n}function r(t,e){var n=e.getMin(!0);null!=n&&"dataMin"!==n&&(t[0]=n);var i=e.getMax(!0);return null!=i&&"dataMax"!==i&&(t[1]=i),e.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function o(t,e){var n=t.getAxisModel(),i=t._percentWindow,r=t._valueWindow;if(i){var o=s.getPixelPrecision(r,[0,500]),a=e||0===i[0]&&100===i[1];n.setRange(a?null:+r[0].toFixed(o),a?null:+r[1].toFixed(o))}}var a=n(1),s=n(4),l=n(59),u=a.each,c=s.asc,h=function(t,e,n,i){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this.ecModel=i,this._dataZoomModel=n};h.prototype={constructor:h,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries(function(n){if(l.isCoordSupported(n.get("coordinateSystem"))){var i=this._dimName,r=e.queryComponents({mainType:i+"Axis",index:n.get(i+"AxisIndex"),id:n.get(i+"AxisId")})[0];this._axisIndex===(r&&r.componentIndex)&&t.push(n)}},this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n=this._dimName,i=this.ecModel,r=this.getAxisModel(),o="x"===n||"y"===n;o?(e="gridIndex",t="x"===n?"y":"x"):(e="polarIndex",t="angle"===n?"radius":"angle");var a;return i.eachComponent(t+"Axis",function(t){(t.get(e)||0)===(r.get(e)||0)&&(a=t)}),a},calculateDataWindow:function(t){var e=this._dataExtent,n=this.getAxisModel(),i=n.axis.scale,o=[0,100],a=[t.start,t.end],l=[];return e=e.slice(),r(e,n),u(["startValue","endValue"],function(e){l.push(null!=t[e]?i.parse(t[e]):null)}),u([0,1],function(t){var n=l[t],r=a[t];null!=r||null==n?(null==r&&(r=o[t]),n=i.parse(s.linearMap(r,o,e,!0))):r=s.linearMap(n,e,o,!0),l[t]=n,a[t]=r}),{valueWindow:c(l),percentWindow:c(a)}},reset:function(t){if(t===this._dataZoomModel){this._dataExtent=i(this._dimName,this.getTargetSeriesModels());var e=this.calculateDataWindow(t.option);this._valueWindow=e.valueWindow,this._percentWindow=e.percentWindow,o(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,o(this,!0))},filterData:function(t){function e(t){return t>=o[0]&&t<=o[1]}if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow,a=this.getOtherAxisModel();t.get("$fromToolbox")&&a&&"category"===a.get("type")&&(r="empty"),u(i,function(t){var i=t.getData();i&&u(t.coordDimToDataDim(n),function(n){"empty"===r?t.setData(i.map(n,function(t){return e(t)?t:NaN})):i.filterSelf(n,e)})})}}},t.exports=h},function(t,e,n){t.exports=n(36).extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1}})},function(t,e,n){function i(t){var e=[0,100];return!(t[0]<=e[1])&&(t[0]=e[1]),!(t[1]<=e[1])&&(t[1]=e[1]),!(t[0]>=e[0])&&(t[0]=e[0]),!(t[1]>=e[0])&&(t[1]=e[0]),t}var r=n(37),o=n(1),a=n(63),s=n(267),l=o.bind,u=r.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(t,e,n,i){u.superApply(this,"render",arguments),s.shouldRecordRange(i,t.id)&&(this._range=t.getPercentRange()),o.each(this.getTargetCoordInfo(),function(e,i){var r=o.map(e,function(t){return s.generateCoordId(t.model)});o.each(e,function(e){var o=e.model;s.register(n,{coordId:s.generateCoordId(o),allCoordIds:r,containsPoint:function(t,e){return o.coordinateSystem.containPoint([t,e])},dataZoomId:t.id,throttleRate:t.get("throttle",!0),panGetRange:l(this._onPan,this,e,i),zoomGetRange:l(this._onZoom,this,e,i)})},this)},this)},dispose:function(){s.unregister(this.api,this.dataZoomModel.id),u.superApply(this,"dispose",arguments),this._range=null},_onPan:function(t,e,n,i,r,o,s,l,u){if(this.dataZoomModel.option.disabled)return this._range;var h=this._range.slice(),f=t.axisModels[0];if(f){var d=c[e]([o,s],[l,u],f,n,t);return a(d.signal*(h[1]-h[0])*d.pixel/d.pixelLength,h,[0,100],"rigid"),this._range=h}},_onZoom:function(t,e,n,r,o,a){var s=this.dataZoomModel.option;if(s.disabled||s.zoomLock)return this._range;var l=this._range.slice(),u=t.axisModels[0];if(u){var h=c[e](null,[o,a],u,n,t),f=(h.pixel-h.pixelStart)/h.pixelLength*(l[1]-l[0])+l[0];return r=Math.max(1/r,0),l[0]=(l[0]-f)*r+f,l[1]=(l[1]-f)*r+f,this._range=i(l)}}}),c={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};t.exports=u},function(t,e,n){var i=n(36);t.exports=i.extend({type:"dataZoom.select"})},function(t,e,n){t.exports=n(37).extend({type:"dataZoom.select"})},function(t,e,n){var i=n(36),r=i.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=r},function(t,e,n){function i(t){return{x:"y",y:"x",radius:"angle",angle:"radius"}[t]}var r=n(1),o=n(3),a=n(50),s=n(37),l=o.Rect,u=n(4),c=u.linearMap,h=n(8),f=n(63),d=u.asc,p=r.bind,g=r.each,v=7,m=1,y=30,x="horizontal",_="vertical",b=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,n,i){return S.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),this.dataZoomModel.get("show")===!1?void this.group.removeAll():(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),void this._updateView())},remove:function(){S.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,n=this._findCoordRect(),i={width:e.getWidth(),height:e.getHeight()},o=this._orient===x?{right:i.width-n.x-n.width,top:i.height-y-v,width:n.width,height:y}:{right:v,top:n.y,width:y,height:n.height},a=h.getLayoutParams(t.option);r.each(["right","top","width","height"],function(t){"ph"===a[t]&&(a[t]=o[t])});var s=h.getLayoutRect(a,i,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==x||r?n===x&&r?{scale:a?[-1,1]:[-1,-1]}:n!==_||r?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=t.getBoundingRect([o]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size;this._displayables.barGroup.add(new l({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,n=t.series,i=n.getRawData(),a=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=a){var s=i.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,h=[0,e[1]],f=[0,e[0]],d=[[e[0],0],[0,0]],p=[],g=f[1]/(i.count()-1),v=0,m=Math.round(i.count()/e[0]);i.each([a],function(t,e){if(m>0&&e%m)return void(v+=g);var n=null==t||isNaN(t)||""===t,i=n?0:c(t,s,h,!0);n&&!u&&e?(d.push([d[d.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&u&&(d.push([v,0]),p.push([v,0])),d.push([v,i]),p.push([v,i]),v+=g,u=n});var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:d},style:r.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(e!==!1){var n,o=this.ecModel;return t.eachTargetAxis(function(a,s){var l=t.getAxisProxy(a.name,s).getTargetSeriesModels();r.each(l,function(t){if(!(n||e!==!0&&r.indexOf(w,t.get("type"))<0)){var l,u=o.getComponent(a.axis,s).axis,c=i(a.name),h=t.coordinateSystem;null!=c&&h.getOtherAxis&&(l=h.getOtherAxis(u).inverse),n={thisAxis:u,series:t,thisDim:a.name,otherDim:c,otherAxisInverse:l}}},this)},this),n}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],i=this._displayables.barGroup,r=this._size,a=this.dataZoomModel;i.add(t.filler=new l({draggable:!0,cursor:"move",drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),i.add(new l(o.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:m,fill:"rgba(0,0,0,0)"}})));var s=a.get("handleIcon");g([0,1],function(t){var r=o.makePath(s,{style:{strokeNoScale:!0},rectHover:!0,cursor:"vertical"===this._orient?"ns-resize":"ew-resize",draggable:!0,drift:p(this._onDragMove,this,t),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-.5,y:0,width:1,height:1},"center"),l=r.getBoundingRect();this._handleHeight=u.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,r.setStyle(a.getModel("handleStyle").getItemStyle());var c=a.get("handleColor");null!=c&&(r.style.fill=c),i.add(e[t]=r);var h=a.textStyleModel;this.group.add(n[t]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",fill:h.getTextColor(),textFont:h.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[c(t[0],[0,100],e,!0),c(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this._handleEnds,i=this._getViewExtent();f(e,n,i,"all"===t||this.dataZoomModel.get("zoomLock")?"rigid":"cross",t),this._range=d([c(n[0],i,[0,100],!0),c(n[1],i,[0,100],!0)])},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=d(n.slice()),r=this._size;g([0,1],function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scale:[o,o],position:[n[t],r[1]/2-o/2]})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){function e(t){var e=o.getTransform(i.handles[t].parent,this.group),n=o.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+b,u=o.applyTransform([f[t]+(0===t?-l:l),this._size[1]/2],e);r[t].setStyle({x:u[0],y:u[1],textVerticalAlign:a===x?"middle":n,textAlign:a===x?n:"center",text:s[t]})}var n=this.dataZoomModel,i=this._displayables,r=i.handleLabels,a=this._orient,s=["",""];if(n.get("showDetail")){var l=n.findRepresentativeAxisProxy();if(l){var u=l.getAxisModel().axis,c=this._range,h=t?l.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:l.getDataValueWindow();s=[this._formatLabel(h[0],u),this._formatLabel(h[1],u)]}}var f=d(this._handleEnds.slice());e.call(this,0),e.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(o,20));return r.isFunction(i)?i(t,a):r.isString(i)?i.replace("{value}",a):a},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n){this._dragging=!0;var i=this._applyBarTransform([e,n],!0);this._updateInterval(t,i[0]);var r=this.dataZoomModel.get("realtime");this._updateView(!r),r&&r&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),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]})},_applyBarTransform:function(t,e){var n=this._displayables.barGroup.getLocalTransform();return o.applyTransform(t,n,e)},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}}),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});t.exports=S},function(t,e,n){function i(t){var e=t.getZr();return e[p]||(e[p]={})}function r(t,e,n){var i=new h(t.getZr());return i.enable(),i.on("pan",d(a,n)),i.on("zoom",d(s,n)),i}function o(t){c.each(t,function(e,n){e.count||(e.controller.dispose(),delete t[n])})}function a(t,e,n,i,r,o,a){l(t,function(s){return s.panGetRange(t.controller,e,n,i,r,o,a)})}function s(t,e,n,i){l(t,function(r){return r.zoomGetRange(t.controller,e,n,i)})}function l(t,e){var n=[];c.each(t.dataZoomInfos,function(t){var i=e(t);i&&n.push({dataZoomId:t.dataZoomId,start:i[0],end:i[1]})}),t.dispatchAction(n)}function u(t,e){t.dispatchAction({type:"dataZoom",batch:e})}var c=n(1),h=n(44),f=n(50),d=c.curry,p="\0_ec_dataZoom_roams",g={register:function(t,e){var n=i(t),a=e.dataZoomId,s=e.coordId;c.each(n,function(t,n){var i=t.dataZoomInfos;i[a]&&c.indexOf(e.allCoordIds,s)<0&&(delete i[a],t.count--)}),o(n);var l=n[s];l||(l=n[s]={coordId:s,dataZoomInfos:{},count:0},l.controller=r(t,e,l),l.dispatchAction=c.curry(u,t)),l.controller.setContainsPoint(e.containsPoint),f.createOrUpdate(l,"dispatchAction",e.throttleRate,"fixRate"),!l.dataZoomInfos[a]&&l.count++,l.dataZoomInfos[a]=e},unregister:function(t,e){var n=i(t);c.each(n,function(t){t.controller.dispose();var n=t.dataZoomInfos;n[e]&&(delete n[e],t.count--)}),o(n)},shouldRecordRange:function(t,e){if(t&&"dataZoom"===t.type&&t.batch)for(var n=0,i=t.batch.length;n<i;n++)if(t.batch[n].dataZoomId===e)return!1;return!0},generateCoordId:function(t){return t.type+"\0_"+t.id}};t.exports=g},function(t,e,n){n(92),n(36),n(37),n(263),n(264),n(90),n(89)},function(t,e,n){function i(t,e){e.update="updateView",r.registerAction(e,function(e,n){var i={};return n.eachComponent({mainType:"geo",query:e},function(n){n[t](e.name);var r=n.coordinateSystem;o.each(r.regions,function(t){i[t.name]=n.isSelected(t.name)||!1})}),{selected:i,name:e.name}})}n(327),n(46),n(270),n(78);var r=n(2),o=n(1);i("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),i("select",{type:"geoSelect",event:"geoselected"}),i("unSelect",{type:"geoUnSelect",event:"geounselected"})},function(t,e,n){"use strict";var i=n(93);t.exports=n(2).extendComponentView({type:"geo",init:function(t,e){var n=new i(e,!0);this._mapDraw=n,this.group.add(n.group)},render:function(t,e,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var r=this._mapDraw;t.get("show")?r.draw(t,e,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}})},function(t,e,n){function i(t,e,n,i){var r=n.type;__DEV__&&l.assert(r,"graphic type MUST be set");var o=c[r.charAt(0).toUpperCase()+r.slice(1)];__DEV__&&l.assert(o,"graphic type can not be found");var a=new o(n);e.add(a),i[t]=a,a.__ecGraphicId=t}function r(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse(function(t){r(t,e)}),delete e[t.__ecGraphicId],n.remove(t))}function o(t){return t=l.extend({},t),l.each(["id","parentId","$action","hv","bounding"].concat(h.LOCATION_PARAMS),function(e){delete t[e]}),t}function a(t,e){var n;return l.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)}),n}var s=n(2),l=n(1),u=n(7),c=n(3),h=n(8);s.registerPreprocessor(function(t){var e=t&&t.graphic;l.isArray(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])});var f=s.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(t){var e=this.option.elements;this.option.elements=null,f.superApply(this,"mergeOption",arguments),this.option.elements=e},optionUpdated:function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,o=[];this._flatten(i,o);var s=u.mappingToExists(r,o);u.makeIdAndName(s);var c=this._elOptionsToUpdate=[];l.each(s,function(t,e){var n=t.exist,i=t.option;if(__DEV__&&l.assert(l.isObject(i)||n,"Empty graphic option definition"),i){i.id=t.keyInfo.id;var o=i.parentId,s=i.parentOption,u=n&&n.parentId;!i.type&&n&&(i.type=n.type),i.parentId=o?o:s?s.id:u?u:null,i.parentOption=null,c.push(i);var f=l.extend({},i),d=i.$action;if(d&&"merge"!==d)"replace"===d?r[e]=f:"remove"===d&&n&&(r[e]=null);else if(n){if(__DEV__){var p=i.type;l.assert(!p||n.type===p,'Please set $action: "replace" to change `type`')}l.merge(n,f,!0),h.mergeLayoutParam(n,f,{ignoreSize:!0}),h.copyLayoutParams(i,n)}else r[e]=f;r[e]&&(r[e].hv=i.hv=[a(i,["left","right"]),a(i,["top","bottom"])],"group"===r[e].type&&(null==r[e].width&&(r[e].width=i.width=0),null==r[e].height&&(r[e].height=i.height=0)))}},this);for(var f=r.length-1;f>=0;f--)null==r[f]?r.splice(f,1):delete r[f].$action},_flatten:function(t,e,n){l.each(t,function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;"group"===t.type&&i&&this._flatten(i,e,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});s.extendComponentView({type:"graphic",init:function(t,e){this._elMap={},this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t,n),this._relocate(t,n)},_updateElements:function(t,e){var n=t.useElOptionsToUpdate();if(n){var a=this._elMap,s=this.group;l.each(n,function(t){var e=t.$action,n=t.id,u=a[n],c=t.parentId,h=null!=c?a[c]:s;t.hv&&t.hv[1]&&"text"===t.type&&(t.style=l.defaults({textBaseline:"middle"},t.style),t.style.textVerticalAlign=null);var f=o(t);__DEV__&&u&&l.assert(h===u.parent,"Changing parent is not supported."),e&&"merge"!==e?"replace"===e?(r(u,a),i(n,h,f,a)):"remove"===e&&r(u,a):u?u.attr(f):i(n,h,f,a),a[n]&&(a[n].__ecGraphicWidth=t.width,a[n].__ecGraphicHeight=t.height)})}},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=n.length-1;o>=0;o--){var a=n[o],s=r[a.id];if(s){var l=s.parent,u=l===i?{width:e.getWidth(),height:e.getHeight()}:{width:l.__ecGraphicWidth||0,height:l.__ecGraphicHeight||0};h.positionElement(s,a,u,null,{hv:a.hv,boundingMode:a.bounding})}}},_clear:function(){var t=this._elMap;l.each(t,function(e){r(e,t)}),this._elMap={}},dispose:function(){this._clear()}})},function(t,e,n){n(273),n(275),n(274),n(2).registerProcessor(n(276))},function(t,e,n){"use strict";var i=n(1),r=n(11),o=n(2).extendComponentModel({type:"legend",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{}},mergeOption:function(t){o.superCall(this,"mergeOption",t)},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(t){var e=i.map(this.get("data")||[],function(t){return"string"!=typeof t&&"number"!=typeof t||(t={name:t}),new r(t,this,this.ecModel)},this);this._data=e;var n=i.map(t.getSeries(),function(t){return t.name});t.eachSeries(function(t){if(t.legendDataProvider){var e=t.legendDataProvider();n=n.concat(e.mapArray(e.getName))}}),this._availableNames=n},getData:function(){return this._data},select:function(t){var e=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;i.each(n,function(t){e[t.get("name")]=!1})}e[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)},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&i.indexOf(this._availableNames,t)>=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:"top",align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}});t.exports=o},function(t,e,n){function i(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function r(t,e,n){var i=n.getZr().storage.getDisplayList()[0];i&&i.useHoverLayer||t.get("legendHoverLink")&&n.dispatchAction({type:"highlight",seriesName:t.name,name:e})}function o(t,e,n){var i=n.getZr().storage.getDisplayList()[0];i&&i.useHoverLayer||t.get("legendHoverLink")&&n.dispatchAction({type:"downplay",seriesName:t.name,name:e})}var a=n(1),s=n(18),l=n(3),u=n(95),c=a.curry;t.exports=n(2).extendComponentView({type:"legend",init:function(){this._symbolTypeStore={}},render:function(t,e,n){var s=this.group;if(s.removeAll(),t.get("show")){var h=t.get("selectedMode"),f=t.get("align");"auto"===f&&(f="right"===t.get("left")&&"vertical"===t.get("orient")?"right":"left");var d={};a.each(t.getData(),function(a){var u=a.get("name");if(""===u||"\n"===u)return void s.add(new l.Group({newline:!0}));var p=e.getSeriesByName(u)[0];if(!d[u]){if(p){var g=p.getData(),v=g.getVisual("color");"function"==typeof v&&(v=v(p.getDataParams(0)));var m=g.getVisual("legendSymbol")||"roundRect",y=g.getVisual("symbol");this._createItem(u,a,t,m,y,f,v,h).on("click",c(i,u,n)).on("mouseover",c(r,p,null,n)).on("mouseout",c(o,p,null,n)),d[u]=!0}else e.eachRawSeries(function(e){if(!d[u]&&e.legendDataProvider){var s=e.legendDataProvider(),l=s.indexOfName(u);if(l<0)return;var p=s.getItemVisual(l,"color");this._createItem(u,a,t,"roundRect",null,f,p,h).on("click",c(i,u,n)).on("mouseover",c(r,e,u,n)).on("mouseout",c(o,e,u,n)),d[u]=!0}},this);__DEV__&&!d[u]}},this),u.layout(s,t,n),u.addBackground(s,t)}},_createItem:function(t,e,n,i,r,o,u,c){var h=n.get("itemWidth"),f=n.get("itemHeight"),d=n.get("inactiveColor"),p=n.isSelected(t),g=new l.Group,v=e.getModel("textStyle"),m=e.get("icon"),y=e.getModel("tooltip"),x=y.parentModel;if(i=m||i,g.add(s.createSymbol(i,0,0,h,f,p?u:d)),!m&&r&&(r!==i||"none"==r)){var _=.8*f;"none"===r&&(r="circle"),g.add(s.createSymbol(r,(h-_)/2,(f-_)/2,_,_,p?u:d))}var b="left"===o?h+5:-5,w=o,S=n.get("formatter"),M=t;"string"==typeof S&&S?M=S.replace("{name}",null!=t?t:""):"function"==typeof S&&(M=S(t));var A=new l.Text({style:{text:M,x:b,y:f/2,fill:p?v.getTextColor():d,textFont:v.getFont(),textAlign:w,textVerticalAlign:"middle"}});g.add(A);var T=new l.Rect({shape:g.getBoundingRect(),invisible:!0,tooltip:y.get("show")?a.extend({content:t,formatter:x.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:t,$vars:["name"]}},y.option):null});return g.add(T),g.eachChild(function(t){t.silent=!0}),T.silent=!c,this.group.add(g),l.setHoverStyle(g),g}})},function(t,e,n){function i(t,e,n){var i,r={},a="toggleSelected"===t;return n.eachComponent("legend",function(n){a&&null!=i?n[i?"select":"unSelect"](e.name):(n[t](e.name),i=n.isSelected(e.name));var s=n.getData();o.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);e in r?r[e]=r[e]&&i:r[e]=i}})}),{name:e.name,selected:r}}var r=n(2),o=n(1);r.registerAction("legendToggleSelect","legendselectchanged",o.curry(i,"toggleSelected")),r.registerAction("legendSelect","legendselected",o.curry(i,"select")),r.registerAction("legendUnSelect","legendunselected",o.curry(i,"unSelect"))},function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0})}},function(t,e,n){n(280),n(281),n(2).registerPreprocessor(function(t){t.markArea=t.markArea||{}})},function(t,e,n){n(282),n(283),n(2).registerPreprocessor(function(t){t.markLine=t.markLine||{}})},function(t,e,n){n(284),n(285),n(2).registerPreprocessor(function(t){t.markPoint=t.markPoint||{}})},function(t,e,n){t.exports=n(64).extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{normal:{show:!0,position:"top"},emphasis:{show:!0,position:"top"}},itemStyle:{normal:{borderWidth:0}}}})},function(t,e,n){function i(t){return!isNaN(t)&&!isFinite(t)}function r(t,e,n,r){var o=1-t;return i(e[o])&&i(n[o])}function o(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!r(1,n,i,t)&&!r(0,n,i,t))||d.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||d.dataFilter(t,{coord:i,x:e.x1,y:e.y1})}function a(t,e,n,r,o){var a,s=r.coordinateSystem,l=t.getItemModel(e),u=c.parsePercent(l.get(n[0]),o.getWidth()),h=c.parsePercent(l.get(n[1]),o.getHeight());if(isNaN(u)||isNaN(h)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(n,e));else{var f=t.get(n[0],e),d=t.get(n[1],e);a=s.dataToPoint([f,d],!0)}if("cartesian2d"===s.type){var p=s.getAxis("x"),g=s.getAxis("y"),f=t.get(n[0],e),d=t.get(n[1],e);i(f)?a[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):i(d)&&(a[1]=g.toGlobalCoord(g.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(a[0]=u),isNaN(h)||(a[1]=h)}else a=[u,h];return a}function s(t,e,n){var i,r,a=["x0","y0","x1","y1"];t?(i=l.map(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.coordDimToDataDim(t)[0])||{};return n.name=t,n}),r=new u(l.map(a,function(t,e){return{name:t,type:i[e%2].type}}),n)):(i=[{name:"value",type:"float"}],r=new u(i,n));var s=l.map(n.get("data"),l.curry(p,e,t,n));t&&(s=l.filter(s,l.curry(o,t)));var c=t?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value};return r.initData(s,null,c),r.hasItemOption=!0,r}var l=n(1),u=n(10),c=n(4),h=n(3),f=n(21),d=n(66),p=function(t,e,n,i){var r=d.dataTransform(t,i[0]),o=d.dataTransform(t,i[1]),a=l.retrieve,s=r.coord,u=o.coord;s[0]=a(s[0],-(1/0)),s[1]=a(s[1],-(1/0)),u[0]=a(u[0],1/0),u[1]=a(u[1],1/0);var c=l.mergeAll([{},r,o]);return c.coord=[r.coord,o.coord],c.x0=r.x,c.y0=r.y,c.x1=o.x,c.y1=o.y,c},g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];n(65).extend({type:"markArea",updateLayout:function(t,e,n){e.eachSeries(function(t){var e=t.markAreaModel;if(e){var i=e.getData();i.each(function(e){var r=l.map(g,function(r){return a(i,e,r,t,n)});i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)})}},this)},renderSeries:function(t,e,n,i){var r=t.coordinateSystem,o=t.name,u=t.getData(),c=this.markerGroupMap,d=c[o];d||(d=c[o]={group:new h.Group}),this.group.add(d.group),d.__keep=!0;var p=s(r,t,e);e.setData(p),p.each(function(e){p.setItemLayout(e,l.map(g,function(n){return a(p,e,n,t,i)})),p.setItemVisual(e,{color:u.getVisual("color")})}),p.diff(d.__data).add(function(t){var e=new h.Polygon({shape:{points:p.getItemLayout(t)}});p.setItemGraphicEl(t,e),d.group.add(e)}).update(function(t,n){var i=d.__data.getItemGraphicEl(n);h.updateProps(i,{shape:{points:p.getItemLayout(t)}},e,t),d.group.add(i),p.setItemGraphicEl(t,i)}).remove(function(t){var e=d.__data.getItemGraphicEl(t);d.group.remove(e)}).execute(),p.eachItemGraphicEl(function(t,n){var i=p.getItemModel(n),r=i.getModel("label.normal"),o=i.getModel("label.emphasis"),a=p.getItemVisual(n,"color");t.useStyle(l.defaults(i.getModel("itemStyle.normal").getItemStyle(),{fill:f.modifyAlpha(a,.4),stroke:a})),t.hoverStyle=i.getModel("itemStyle.normal").getItemStyle();var s=p.getName(n)||"",u=a||t.style.fill;r.getShallow("show")?(h.setText(t.style,r,u),
t.style.text=l.retrieve(e.getFormattedLabel(n,"normal"),s)):t.style.text="",o.getShallow("show")?(h.setText(t.hoverStyle,o,u),t.hoverStyle.text=l.retrieve(e.getFormattedLabel(n,"emphasis"),s)):t.hoverStyle.text="",h.setHoverStyle(t,{}),t.dataModel=e}),d.__data=p,d.group.silent=e.get("silent")||t.get("silent")}})},function(t,e,n){t.exports=n(64).extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"end"},emphasis:{show:!0}},lineStyle:{normal:{type:"dashed"},emphasis:{width:3}},animationEasing:"linear"}})},function(t,e,n){function i(t){return!isNaN(t)&&!isFinite(t)}function r(t,e,n,r){var o=1-t,a=r.dimensions[t];return i(e[o])&&i(n[o])&&e[t]===n[t]&&r.getAxis(a).containData(e[t])}function o(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 h.dataFilter(t,e[0])&&h.dataFilter(t,e[1])}function a(t,e,n,r,o){var a,s=r.coordinateSystem,l=t.getItemModel(e),u=c.parsePercent(l.get("x"),o.getWidth()),h=c.parsePercent(l.get("y"),o.getHeight());if(isNaN(u)||isNaN(h)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var f=s.dimensions,d=t.get(f[0],e),p=t.get(f[1],e);a=s.dataToPoint([d,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),v=s.getAxis("y"),f=s.dimensions;i(t.get(f[0],e))?a[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):i(t.get(f[1],e))&&(a[1]=v.toGlobalCoord(v.getExtent()[n?0:1]))}isNaN(u)||(a[0]=u),isNaN(h)||(a[1]=h)}else a=[u,h];t.setItemLayout(e,a)}function s(t,e,n){var i;i=t?l.map(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.coordDimToDataDim(t)[0])||{};return n.name=t,n}):[{name:"value",type:"float"}];var r=new u(i,n),a=new u(i,n),s=new u([],n),c=l.map(n.get("data"),l.curry(d,e,t,n));t&&(c=l.filter(c,l.curry(o,t)));var f=t?h.dimValueGetter:function(t){return t.value};return r.initData(l.map(c,function(t){return t[0]}),null,f),a.initData(l.map(c,function(t){return t[1]}),null,f),s.initData(l.map(c,function(t){return t[2]})),s.hasItemOption=!0,{from:r,to:a,line:s}}var l=n(1),u=n(10),c=n(4),h=n(66),f=n(57),d=function(t,e,n,i){var r=t.getData(),o=i.type;if(!l.isArray(i)&&("min"===o||"max"===o||"average"===o||null!=i.xAxis||null!=i.yAxis)){var a,s,u;if(null!=i.yAxis||null!=i.xAxis)s=null!=i.yAxis?"y":"x",a=e.getAxis(s),u=l.retrieve(i.yAxis,i.xAxis);else{var c=h.getAxisInfo(i,r,e,t);s=c.valueDataDim,a=c.valueAxis,u=h.numCalculate(r,s,o)}var f="x"===s?0:1,d=1-f,p=l.clone(i),g={};p.type=null,p.coord=[],g.coord=[],p.coord[d]=-(1/0),g.coord[d]=1/0;var v=n.get("precision");v>=0&&"number"==typeof u&&(u=+u.toFixed(v)),p.coord[f]=g.coord[f]=u,i=[p,g,{type:o,valueIndex:i.valueIndex,value:u}]}return i=[h.dataTransform(t,i[0]),h.dataTransform(t,i[1]),l.extend({},i[2])],i[2].type=i[2].type||"",l.merge(i[2],i[0]),l.merge(i[2],i[1]),i};n(65).extend({type:"markLine",updateLayout:function(t,e,n){e.eachSeries(function(t){var e=t.markLineModel;if(e){var i=e.getData(),r=e.__from,o=e.__to;r.each(function(e){a(r,e,!0,t,n),a(o,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])}),this.markerGroupMap[t.name].updateLayout()}},this)},renderSeries:function(t,e,n,i){function r(e,n,r){var o=e.getItemModel(n);a(e,n,r,t,i),e.setItemVisual(n,{symbolSize:o.get("symbolSize")||x[r?0:1],symbol:o.get("symbol",!0)||y[r?0:1],color:o.get("itemStyle.normal.color")||c.getVisual("color")})}var o=t.coordinateSystem,u=t.name,c=t.getData(),h=this.markerGroupMap,d=h[u];d||(d=h[u]=new f),this.group.add(d.group);var p=s(o,t,e),g=p.from,v=p.to,m=p.line;e.__from=g,e.__to=v,e.setData(m);var y=e.get("symbol"),x=e.get("symbolSize");l.isArray(y)||(y=[y,y]),"number"==typeof x&&(x=[x,x]),p.from.each(function(t){r(g,t,!0),r(v,t,!1)}),m.each(function(t){var e=m.getItemModel(t).get("lineStyle.normal.color");m.setItemVisual(t,{color:e||g.getItemVisual(t,"color")}),m.setItemLayout(t,[g.getItemLayout(t),v.getItemLayout(t)]),m.setItemVisual(t,{fromSymbolSize:g.getItemVisual(t,"symbolSize"),fromSymbol:g.getItemVisual(t,"symbol"),toSymbolSize:v.getItemVisual(t,"symbolSize"),toSymbol:v.getItemVisual(t,"symbol")})}),d.updateData(m),p.line.eachItemGraphicEl(function(t,n){t.traverse(function(t){t.dataModel=e})}),d.__keep=!0,d.group.silent=e.get("silent")||t.get("silent")}})},function(t,e,n){t.exports=n(64).extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"inside"},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:2}}}})},function(t,e,n){function i(t,e,n){var i=e.coordinateSystem;t.each(function(r){var o,a=t.getItemModel(r),l=s.parsePercent(a.get("x"),n.getWidth()),u=s.parsePercent(a.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var c=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([c,h])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),t.setItemLayout(r,o)})}function r(t,e,n){var i;i=t?a.map(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.coordDimToDataDim(t)[0])||{};return n.name=t,n}):[{name:"value",type:"float"}];var r=new l(i,n),o=a.map(n.get("data"),a.curry(u.dataTransform,e));return t&&(o=a.filter(o,a.curry(u.dataFilter,t))),r.initData(o,null,t?u.dimValueGetter:function(t){return t.value}),r}var o=n(34),a=n(1),s=n(4),l=n(10),u=n(66);n(65).extend({type:"markPoint",updateLayout:function(t,e,n){e.eachSeries(function(t){var e=t.markPointModel;e&&(i(e.getData(),t,n),this.markerGroupMap[t.name].updateLayout(e))},this)},renderSeries:function(t,e,n,a){var s=t.coordinateSystem,l=t.name,u=t.getData(),c=this.markerGroupMap,h=c[l];h||(h=c[l]=new o);var f=r(s,t,e);e.setData(f),i(e.getData(),t,a),f.each(function(t){var n=f.getItemModel(t),i=n.getShallow("symbolSize");"function"==typeof i&&(i=i(e.getRawValue(t),e.getDataParams(t))),f.setItemVisual(t,{symbolSize:i,color:n.get("itemStyle.normal.color")||u.getVisual("color"),symbol:n.getShallow("symbol")})}),h.updateData(f),this.group.add(h.group),f.eachItemGraphicEl(function(t){t.traverse(function(t){t.dataModel=e})}),h.__keep=!0,h.group.silent=e.get("silent")||t.get("silent")}})},function(t,e,n){n(109),n(251),n(248)},function(t,e,n){"use strict";n(68),n(244),n(290),n(2).extendComponentView({type:"polar"})},function(t,e,n){n(343),n(344),n(289)},function(t,e,n){var i=n(35),r=n(1),o=n(3),a=["axisLine","axisLabel","axisTick","axisName"];t.exports=n(2).extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),o=r.map(n,function(t){return new i(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});r.each(o,function(t){r.each(a,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(t){function e(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}var n=t.coordinateSystem,i=n.getIndicatorAxes();if(i.length){var a=t.get("shape"),s=t.getModel("splitLine"),l=t.getModel("splitArea"),u=s.getModel("lineStyle"),c=l.getModel("areaStyle"),h=s.get("show"),f=l.get("show"),d=u.get("color"),p=c.get("color");d=r.isArray(d)?d:[d],p=r.isArray(p)?p:[p];var g=[],v=[];if("circle"===a)for(var m=i[0].getTicksCoords(),y=n.cx,x=n.cy,_=0;_<m.length;_++){if(h){var b=e(g,d,_);g[b].push(new o.Circle({shape:{cx:y,cy:x,r:m[_]}}))}if(f&&_<m.length-1){var b=e(v,p,_);v[b].push(new o.Ring({shape:{cx:y,cy:x,r0:m[_],r:m[_+1]}}))}}else for(var w=-1,S=r.map(i,function(t,e){var i=t.getTicksCoords();return w=Math.max(i.length-1,w),r.map(i,function(t){return n.coordToPoint(t,e)})}),M=[],_=0;_<=w;_++){for(var A=[],T=0;T<i.length;T++)A.push(S[T][_]);if(A[0]?A.push(A[0].slice()):__DEV__,h){var b=e(g,d,_);g[b].push(new o.Polyline({shape:{points:A}}))}if(f&&M){var b=e(v,p,_-1);v[b].push(new o.Polygon({shape:{points:A.concat(M)}}))}M=A.slice().reverse()}var I=u.getLineStyle(),C=c.getAreaStyle();r.each(v,function(t,e){this.group.add(o.mergePath(t,{style:r.defaults({stroke:"none",fill:p[e%p.length]},C),silent:!0}))},this),r.each(g,function(t,e){this.group.add(o.mergePath(t,{style:r.defaults({fill:"none",stroke:d[e%d.length]},I),silent:!0}))},this)}}})},function(t,e,n){n(68),n(249)},function(t,e,n){n(2).registerPreprocessor(n(297)),n(299),n(298),n(292),n(293)},function(t,e,n){var i=n(295),r=n(1),o=n(7),a=i.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",normal:{show:!0,interval:"auto",rotate:0,textStyle:{color:"#304654"}},emphasis:{show:!0,textStyle:{color:"#c23531"}}},itemStyle:{normal:{color:"#304654",borderWidth:1},emphasis:{color:"#c23531"}},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",normal:{color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});r.mixin(a,o.dataFormatMixin),t.exports=a},function(t,e,n){function i(t,e){return u.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function r(t,e,n,i){return l.makePath(t.get(e).replace(/^path:\/\//,""),s.clone(i||{}),new p(n[0],n[1],n[2],n[3]),"center")}function o(t,e,n,i,r,o){var a=e.get("color");if(r)r.setColor(a),n.add(r),o&&o.onUpdate(r);else{var l=t.get("symbol");r=f.createSymbol(l,-1,-1,2,2,a),r.setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r)}var u=e.getItemStyle(["color","symbol","symbolSize"]);r.setStyle(u),i=s.merge({rectHover:!0,z2:100},i,!0);var c=t.get("symbolSize");c=c instanceof Array?c.slice():[+c,+c],c[0]/=2,c[1]/=2,i.scale=c;var h=t.get("symbolOffset");if(h){var d=i.position=i.position||[0,0];d[0]+=v.parsePercent(h[0],c[0]),d[1]+=v.parsePercent(h[1],c[1])}var p=t.get("symbolRotate");return i.rotation=(p||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function a(t,e,n,i,r){if(!t.dragging){var o=i.getModel("checkpointStyle"),a=n.dataToCoord(i.getData().get(["value"],e));r||!o.get("animation",!0)?t.attr({position:[a,0]}):(t.stopAnimation(!0),t.animateTo({position:[a,0]},o.get("animationDuration",!0),o.get("animationEasing",!0)))}}var s=n(1),l=n(3),u=n(8),c=n(296),h=n(294),f=n(18),d=n(16),p=n(9),g=n(20),v=n(4),m=n(6),y=m.encodeHTML,x=s.bind,_=s.each,b=Math.PI;t.exports=c.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,n,i){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var r=this._layout(t,n),o=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(r,t);t.formatTooltip=function(t){return y(s.scale.getLabel(t))},_(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](r,o,s,t)},this),this._renderAxisLabel(r,a,s,t),this._position(r,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var n=t.get("label.normal.position"),r=t.get("orient"),o=i(t,e);null==n||"auto"===n?n="horizontal"===r?o.y+o.height/2<e.getHeight()/2?"-":"+":o.x+o.width/2<e.getWidth()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][n]);var a={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},s={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},l={horizontal:0,vertical:b/2},u="vertical"===r?o.height:o.width,c=t.getModel("controlStyle"),h=c.get("show"),f=h?c.get("itemSize"):0,d=h?c.get("itemGap"):0,p=f+d,g=t.get("label.normal.rotate")||0;g=g*b/180;var v,m,y,x,_=c.get("position",!0),h=c.get("show",!0),w=h&&c.get("showPlayBtn",!0),S=h&&c.get("showPrevBtn",!0),M=h&&c.get("showNextBtn",!0),A=0,T=u;return"left"===_||"bottom"===_?(w&&(v=[0,0],A+=p),S&&(m=[A,0],A+=p),M&&(y=[T-f,0],T-=p)):(w&&(v=[T-f,0],T-=p),S&&(m=[0,0],A+=p),M&&(y=[T-f,0],T-=p)),x=[A,T],t.get("inverse")&&x.reverse(),{viewRect:o,mainLength:u,orient:r,rotation:l[r],labelRotation:g,labelPosOpt:n,labelAlign:a[r],labelBaseline:s[r],playPosition:v,prevBtnPosition:m,nextBtnPosition:y,axisExtent:x,controlSize:f,controlGap:d}},_position:function(t,e){function n(t){var e=t.position;t.origin=[h[0][0]-e[0],h[1][0]-e[1]]}function i(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function r(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}var o=this._mainGroup,a=this._labelGroup,s=t.viewRect;if("vertical"===t.orient){var l=g.create(),u=s.x,c=s.y+s.height;g.translate(l,l,[-u,-c]),g.rotate(l,l,-b/2),g.translate(l,l,[u,c]),s=s.clone(),s.applyTransform(l)}var h=i(s),f=i(o.getBoundingRect()),d=i(a.getBoundingRect()),p=o.position,v=a.position;v[0]=p[0]=h[0][0];var m=t.labelPosOpt;if(isNaN(m)){var y="+"===m?0:1;r(p,f,h,1,y),r(v,d,h,1,1-y)}else{var y=m>=0?0:1;r(p,f,h,1,y),v[1]=p[1]+m}o.attr("position",p),a.attr("position",v),o.rotation=a.rotation=t.rotation,n(o),n(a)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),r=d.createScaleByModel(e,i),o=n.getDataExtent("value");r.setExtent(o[0],o[1]),this._customizeScale(r,n),r.niceTicks();var a=new h("value",r,t.axisExtent,i);return a.model=e,a},_customizeScale:function(t,e){t.getTicks=function(){return e.mapArray(["value"],function(t){return t})},t.getTicksLabels=function(){return s.map(this.getTicks(),t.getLabel,t)}},_createGroup:function(t){var e=this["_"+t]=new l.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,n,i){var r=n.getExtent();i.get("lineStyle.show")&&e.add(new l.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:s.extend({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,i){var r=i.getData();_(n.scale.getTicks(),function(t,a){var s=n.dataToCoord(t),u=r.getItemModel(a),c=u.getModel("itemStyle.normal"),h=u.getModel("itemStyle.emphasis"),f={position:[s,0],onclick:x(this._changeTimeline,this,a)},d=o(u,c,e,f);l.setHoverStyle(d,h.getItemStyle()),u.get("tooltip")?(d.dataIndex=a,d.dataModel=i):d.dataIndex=d.dataModel=null},this)},_renderAxisLabel:function(t,e,n,i){var r=i.getModel("label.normal");if(r.get("show")){var o=i.getData(),a=n.scale.getTicks(),s=d.getFormattedLabels(n,r.get("formatter")),u=n.getLabelInterval();_(a,function(i,r){if(!n.isLabelIgnored(r,u)){var a=o.getItemModel(r),c=a.getModel("label.normal.textStyle"),h=a.getModel("label.emphasis.textStyle"),f=n.dataToCoord(i),d=new l.Text({style:{text:s[r],textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline,textFont:c.getFont(),fill:c.getTextColor()},position:[f,0],rotation:t.labelRotation-t.rotation,onclick:x(this._changeTimeline,this,r),silent:!1});e.add(d),l.setHoverStyle(d,h.getItemStyle())}},this)}},_renderControl:function(t,e,n,i){function o(t,n,o,f){if(t){var d={position:t,origin:[a/2,0],rotation:f?-s:0,rectHover:!0,style:u,onclick:o},p=r(i,n,h,d);e.add(p),l.setHoverStyle(p,c)}}var a=t.controlSize,s=t.rotation,u=i.getModel("controlStyle.normal").getItemStyle(),c=i.getModel("controlStyle.emphasis").getItemStyle(),h=[0,-a/2,a,a],f=i.getPlayState(),d=i.get("inverse",!0);o(t.nextBtnPosition,"controlStyle.nextIcon",x(this._changeTimeline,this,d?"-":"+")),o(t.prevBtnPosition,"controlStyle.prevIcon",x(this._changeTimeline,this,d?"+":"-")),o(t.playPosition,"controlStyle."+(f?"stopIcon":"playIcon"),x(this._handlePlayClick,this,!f),!0)},_renderCurrentPointer:function(t,e,n,i){var r=i.getData(),s=i.getCurrentIndex(),l=r.getItemModel(s).getModel("checkpointStyle"),u=this,c={onCreate:function(t){t.draggable=!0,t.drift=x(u._handlePointerDrag,u),t.ondragend=x(u._handlePointerDragend,u),a(t,s,n,i,!0)},onUpdate:function(t){a(t,s,n,i)}};this._currentPointer=o(l,l,this._mainGroup,{},this._currentPointer,c)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=v.asc(i.getExtent().slice());n>r[1]&&(n=r[1]),n<r[0]&&(n=r[0]),this._currentPointer.position[0]=n,this._currentPointer.dirty();var o=this._findNearestTick(n),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},_doPlayStop:function(){function t(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(x(t,this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup.getLocalTransform();return l.applyTransform(t,e,!0)},_findNearestTick:function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],function(n,o){var a=r.dataToCoord(n),s=Math.abs(a-t);s<i&&(i=s,e=o)}),e},_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(t,e,n){var i=n(1),r=n(27),o=n(16),a=function(t,e,n,i){r.call(this,t,e,n),this.type=i||"value",this._autoLabelInterval,this.model=null};a.prototype={constructor:a,getLabelInterval:function(){var t=this.model,e=t.getModel("label.normal"),n=e.get("interval");if(null!=n&&"auto"!=n)return n;var n=this._autoLabelInterval;return n||(n=this._autoLabelInterval=o.getAxisLabelInterval(i.map(this.scale.getTicks(),this.dataToCoord,this),o.getFormattedLabels(this,e.get("formatter")),e.getModel("textStyle").getFont(),"horizontal"===t.get("orient"))),n},isLabelIgnored:function(t){if("category"===this.type){var e=this.getLabelInterval();return"function"==typeof e&&!e(t,this.scale.getLabel(t))||t%(e+1)}}},i.inherits(a,r),t.exports=a},function(t,e,n){var i=n(12),r=n(10),o=n(1),a=n(7),s=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:{normal:{},emphasis:{}},label:{normal:{textStyle:{color:"#000"}},emphasis:{}},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){s.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 t=this.option,e=t.data||[],n=t.axisType,i=this._names=[];if("category"===n){var s=[];o.each(e,function(t,e){var n,r=a.getDataItemValue(t);o.isObject(t)?(n=o.clone(t),n.value=e):n=e,s.push(n),o.isString(r)||null!=r&&!isNaN(r)||(r=""),i.push(r+"")}),e=s}var l={category:"ordinal",time:"time"}[n]||"number";(this._data=new r([{name:"value",type:l}],this)).initData(e,i)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});t.exports=s},function(t,e,n){var i=n(71);t.exports=i.extend({type:"timeline"})},function(t,e,n){function i(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),r(t),o(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});o(i,"position")||(i.position=t.controlPosition),"none"!==i.position||o(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}a.each(t.data||[],function(t){a.isObject(t)&&!a.isArray(t)&&(!o(t,"value")&&o(t,"name")&&(t.value=t.name),r(t))})}function r(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),s={normal:1,emphasis:1};a.each(i,function(t,e){s[e]||o(r,e)||(r[e]=t)}),n.label&&!o(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function o(t,e){return t.hasOwnProperty(e)}var a=n(1);t.exports=function(t){var e=t&&t.timeline;a.isArray(e)||(e=e?[e]:[]),a.each(e,function(t){t&&i(t)})}},function(t,e,n){var i=n(2),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){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)})},function(t,e,n){n(12).registerSubTypeDefaulter("timeline",function(){return"slider"})},function(t,e,n){"use strict";var i=n(2),r=n(3),o=n(8);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){if(this.group.removeAll(),t.get("show")){var i=this.group,a=t.getModel("textStyle"),s=t.getModel("subtextStyle"),l=t.get("textAlign"),u=t.get("textBaseline"),c=new r.Text({style:{text:t.get("text"),textFont:a.getFont(),fill:a.getTextColor()},z2:10}),h=c.getBoundingRect(),f=t.get("subtext"),d=new r.Text({style:{text:f,textFont:s.getFont(),fill:s.getTextColor(),y:h.height+t.get("itemGap"),textBaseline:"top"},z2:10}),p=t.get("link"),g=t.get("sublink");c.silent=!p,d.silent=!g,p&&c.on("click",function(){window.open(p,"_"+t.get("target"))}),g&&d.on("click",function(){window.open(g,"_"+t.get("subtarget"))}),i.add(c),f&&i.add(d);var v=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=v.width,m.height=v.height;var y=o.getLayoutRect(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));l||(l=t.get("left")||t.get("right"),"middle"===l&&(l="center"),"right"===l?y.x+=y.width:"center"===l&&(y.x+=y.width/2)),u||(u=t.get("top")||t.get("bottom"),"center"===u&&(u="middle"),"bottom"===u?y.y+=y.height:"middle"===u&&(y.y+=y.height/2),u=u||"top"),i.attr("position",[y.x,y.y]);var x={textAlign:l,textVerticalAlign:u};c.setStyle(x),d.setStyle(x),v=i.getBoundingRect();var _=y.margin,b=t.getItemStyle(["color","opacity"]);b.fill=t.get("backgroundColor");var w=new r.Rect({shape:{x:v.x-_[3],y:v.y-_[0],width:v.width+_[1]+_[3],height:v.height+_[0]+_[2]},style:b,silent:!0});r.subPixelOptimizeRect(w),i.add(w)}}})},function(t,e,n){n(302),n(303),n(309),n(307),n(305),n(306),n(308)},function(t,e,n){var i=n(22),r=n(1),o=n(2).extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},mergeDefaultAndTheme:function(t){o.superApply(this,"mergeDefaultAndTheme",arguments),r.each(this.option.feature,function(t,e){var n=i.get(e);n&&r.merge(t,n.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{normal:{borderColor:"#666",color:"none"},emphasis:{borderColor:"#3E98C5"}}}});t.exports=o},function(t,e,n){(function(e){function i(t){return 0===t.indexOf("my")}var r=n(22),o=n(1),a=n(3),s=n(11),l=n(40),u=n(95),c=n(25);t.exports=n(2).extendComponentView({type:"toolbox",render:function(t,e,n,h){function f(o,a){var l,u=y[o],c=y[a],f=v[u],p=new s(f,t,t.ecModel);if(u&&!c){if(i(u))l={model:p,onclick:p.option.onclick,featureName:u};else{var g=r.get(u);if(!g)return;l=new g(p,e,n)}m[u]=l}else{if(l=m[c],!l)return;l.model=p,l.ecModel=e,l.api=n}return!u&&c?void(l.dispose&&l.dispose(e,n)):!p.get("show")||l.unusable?void(l.remove&&l.remove(e,n)):(d(p,l,u),p.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)},void(l.render&&l.render(p,e,n,h)))}function d(i,r,s){var l=i.getModel("iconStyle"),u=r.getIcons?r.getIcons():i.get("icon"),c=i.get("title")||{};if("string"==typeof u){var h=u,f=c;u={},c={},u[s]=h,c[s]=f}var d=i.iconPaths={};o.each(u,function(s,u){var h=l.getModel("normal").getItemStyle(),f=l.getModel("emphasis").getItemStyle(),v={x:-g/2,y:-g/2,width:g,height:g},m=0===s.indexOf("image://")?(v.image=s.slice(8),new a.Image({style:v})):a.makePath(s.replace("path://",""),{style:h,hoverStyle:f,rectHover:!0},v,"center");a.setHoverStyle(m),t.get("showTitle")&&(m.__title=c[u],m.on("mouseover",function(){var t=l.getModel("emphasis").getItemStyle();m.setStyle({text:c[u],textPosition:t.textPosition||"bottom",textFill:t.fill||t.stroke||"#000",textAlign:t.textAlign||"center"})}).on("mouseout",function(){m.setStyle({textFill:null})})),m.trigger(i.get("iconStatus."+u)||"normal"),p.add(m),m.on("click",o.bind(r.onclick,r,e,n,u)),d[u]=m})}var p=this.group;if(p.removeAll(),t.get("show")){var g=+t.get("itemSize"),v=t.get("feature")||{},m=this._features||(this._features={}),y=[];o.each(v,function(t,e){y.push(e)}),new l(this._featureNames||[],y).add(f).update(f).remove(o.curry(f,null)).execute(),this._featureNames=y,u.layout(p,t,n),u.addBackground(p,t),p.eachChild(function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var r=c.getBoundingRect(e,i.font),o=t.position[0]+p.position[0],a=t.position[1]+p.position[1]+g,s=!1;a+r.height>n.getHeight()&&(i.textPosition="top",s=!0);var l=s?-5-r.height:g+8;o+r.width/2>n.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):o-r.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}})}},updateView:function(t,e,n,i){o.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,n,i)})},updateLayout:function(t,e,n,i){o.each(this._features,function(t){t.updateLayout&&t.updateLayout(t.model,e,n,i)})},remove:function(t,e){o.each(this._features,function(n){n.remove&&n.remove(t,e)}),this.group.removeAll()},dispose:function(t,e){o.each(this._features,function(n){n.dispose&&n.dispose(t,e)})}})}).call(e,n(117))},function(t,e,n){"use strict";function i(t,e,n){this.model=t,this.ecModel=e,this.api=n,this._brushType,this._brushMode}var r=n(22),o=n(1);i.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:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}};var a=i.prototype;a.render=a.updateView=a.updateLayout=function(t,e,n){var i,r,a;e.eachComponent({mainType:"brush"},function(t){i=t.brushType,r=t.brushOption.brushMode||"single",a|=t.areas.length}),this._brushType=i,this._brushMode=r,o.each(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?a:e===i)?"emphasis":"normal")})},a.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return o.each(t.get("type",!0),function(t){e[t]&&(n[t]=e[t])}),n},a.onclick=function(t,e,n){var e=this.api,i=this._brushType,r=this._brushMode;"clear"===n?e.dispatchAction({type:"brush",areas:[]}):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},r.register("brush",i),t.exports=i},function(t,e,n){function i(t){var e={},n=[],i=[];return t.eachRawSeries(function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}}),{seriesGroupByCategoryAxis:e,other:n,meta:i}}function r(t){var e=[];return p.each(t,function(t,n){var i=t.categoryAxis,r=t.valueAxis,o=r.dim,a=[" "].concat(p.map(t.series,function(t){return t.name})),s=[i.model.getCategories()];p.each(t.series,function(t){s.push(t.getRawData().mapArray(o,function(t){return t}))});for(var l=[a.join(m)],u=0;u<s[0].length;u++){for(var c=[],h=0;h<s.length;h++)c.push(s[h][u]);l.push(c.join(m))}e.push(l.join("\n"))}),e.join("\n\n"+v+"\n\n")}function o(t){return p.map(t,function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+m:"")+i.join(m))}),n.join("\n")}).join("\n\n"+v+"\n\n")}function a(t){var e=i(t);return{value:p.filter([r(e.seriesGroupByCategoryAxis),o(e.other)],function(t){return t.replace(/[\n\t\s]/g,"")}).join("\n\n"+v+"\n\n"),
meta:e.meta}}function s(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(t){if(t.slice(0,t.indexOf("\n")).indexOf(m)>=0)return!0}function u(t){for(var e=t.split(/\n+/g),n=s(e.shift()).split(y),i=[],r=p.map(n,function(t){return{name:t,data:[]}}),o=0;o<e.length;o++){var a=s(e[o]).split(y);i.push(a.shift());for(var l=0;l<a.length;l++)r[l]&&(r[l].data[o]=a[l])}return{series:r,categories:i}}function c(t){for(var e=t.split(/\n+/g),n=s(e.shift()),i=[],r=0;r<e.length;r++){var o,a=s(e[r]).split(y),l="",u=!1;isNaN(a[0])?(u=!0,l=a[0],a=a.slice(1),i[r]={name:l,value:[]},o=i[r].value):o=i[r]=[];for(var c=0;c<a.length;c++)o.push(+a[c]);1===o.length&&(u?i[r].value=o[0]:i[r]=o[0])}return{name:n,data:i}}function h(t,e){var n=t.split(new RegExp("\n*"+v+"\n*","g")),i={series:[]};return p.each(n,function(t,n){if(l(t)){var r=u(t),o=e[n],a=o.axisDim+"Axis";o&&(i[a]=i[a]||[],i[a][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{var r=c(t);i.series.push(r)}}),i}function f(t){this._dom=null,this.model=t}function d(t,e){return p.map(t,function(t,n){var i=e&&e[n];return p.isObject(i)&&!p.isArray(i)?(p.isObject(t)&&!p.isArray(t)&&(t=t.value),p.defaults({value:t},i)):t})}var p=n(1),g=n(33),v=new Array(60).join("-"),m="\t",y=new RegExp("[\t]+","g");f.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:"数据视图",lang:["数据视图","关闭","刷新"],backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},f.prototype.onclick=function(t,e){function n(){i.removeChild(o),M._dom=null}var i=e.getDom(),r=this.model;this._dom&&i.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",o.style.backgroundColor=r.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=r.get("lang")||[];s.innerHTML=l[0]||r.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=r.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="display:block;width:100%;overflow:hidden;";var f=r.get("optionToContent"),d=r.get("contentToOption"),v=a(t);if("function"==typeof f){var y=f(e.getOption());"string"==typeof y?u.innerHTML=y:p.isDom(y)&&u.appendChild(y)}else u.appendChild(c),c.readOnly=r.get("readOnly"),c.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",c.style.color=r.get("textColor"),c.style.borderColor=r.get("textareaBorderColor"),c.style.backgroundColor=r.get("textareaColor"),c.value=v.value;var x=v.meta,_=document.createElement("div");_.style.cssText="position:absolute;bottom:0;left:0;right:0;";var b="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",w=document.createElement("div"),S=document.createElement("div");b+=";background-color:"+r.get("buttonColor"),b+=";color:"+r.get("buttonTextColor");var M=this;g.addEventListener(w,"click",n),g.addEventListener(S,"click",function(){var t;try{t="function"==typeof d?d(u,e.getOption()):h(c.value,x)}catch(t){throw n(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),n()}),w.innerHTML=l[1],S.innerHTML=l[2],S.style.cssText=b,w.style.cssText=b,!r.get("readOnly")&&_.appendChild(S),_.appendChild(w),g.addEventListener(c,"keydown",function(t){if(9===(t.keyCode||t.which)){var e=this.value,n=this.selectionStart,i=this.selectionEnd;this.value=e.substring(0,n)+m+e.substring(i),this.selectionStart=this.selectionEnd=n+1,g.stop(t)}}),o.appendChild(s),o.appendChild(u),o.appendChild(_),u.style.height=i.clientHeight-80+"px",i.appendChild(o),this._dom=o},f.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},f.prototype.dispose=function(t,e){this.remove(t,e)},n(22).register("dataView",f),n(2).registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var n=[];p.each(t.newOption.series,function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:d(t.data,r)})}else n.push(p.extend({type:"scatter"},t))}),e.mergeOption(p.defaults({series:n},t.newOption))}),t.exports=f},function(t,e,n){"use strict";function i(t,e,n){(this._brushController=new l(n.getZr())).on("brush",s.bind(this._onBrush,this)).mount(),this._isZoomActive}function r(t){var e={};return s.each(["xAxisIndex","yAxisIndex"],function(n){e[n]=t[n],null==e[n]&&(e[n]="all"),(e[n]===!1||"none"===e[n])&&(e[n]=[])}),e}function o(t,e){t.setIconStatus("back",c.count(e)>1?"emphasis":"normal")}function a(t,e,n,i){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=u.makeCoordInfoList(r(t.option),e),s=a.xAxisHas&&!a.yAxisHas?"lineX":!a.xAxisHas&&a.yAxisHas?"lineY":"rect";n._brushController.setPanels(u.makePanelOpts(a)).enableBrush(!!o&&{brushType:s,brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}var s=n(1),l=n(60),u=n(61),c=n(91),h=s.each;n(268);var f="\0_ec_\0toolbox-dataZoom_";i.defaultOption={show:!0,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:{zoom:"区域缩放",back:"区域缩放还原"}};var d=i.prototype;d.render=function(t,e,n,i){this.model=t,this.ecModel=e,this.api=n,a(t,e,this,i),o(t,e)},d.onclick=function(t,e,n){p[n].call(this)},d.remove=function(t,e){this._brushController.unmount()},d.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(c.pop(this.ecModel))}};d._onBrush=function(t,e){function n(t,e,n){var r=i(t,n[t],a);r&&(o[r.id]={dataZoomId:r.id,startValue:e[0],endValue:e[1]})}function i(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(r,o){var a=r.get(t+"Index");null!=a&&n.getComponent(t,a)===e&&(i=r)}),i}if(e.isEnd&&t.length){var o={},a=this.ecModel;this._brushController.updateCovers([]);var s=u.makeCoordInfoList(r(this.model.option),a),l=[];u.parseOutputRanges(t,s,a,l);var h=t[0],f=l[0],d=h.coordRange,p=h.brushType;if(f&&d)if("rect"===p)n("xAxis",d[0],f),n("yAxis",d[1],f);else{var g={lineX:"xAxis",lineY:"yAxis"};n(g[p],d,f)}c.push(a,o),this._dispatchZoomAction(o)}},d._dispatchZoomAction=function(t){var e=[];h(t,function(t,n){e.push(s.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},n(22).register("dataZoom",i),n(2).registerPreprocessor(function(t){function e(t,e){if(e){var r=t+"Index",o=e[r];null==o||"all"==o||s.isArray(o)||(o=o===!1||"none"===o?[]:[o]),n(t,function(e,n){if(null==o||"all"==o||s.indexOf(o,n)!==-1){var a={type:"select",$fromToolbox:!0,id:f+t+n};a[r]=n,i.push(a)}})}}function n(e,n){var i=t[e];s.isArray(i)||(i=i?[i]:[]),h(i,n)}if(t){var i=t.dataZoom||(t.dataZoom=[]);s.isArray(i)||(t.dataZoom=i=[i]);var r=t.toolbox;if(r&&(s.isArray(r)&&(r=r[0]),r&&r.feature)){var o=r.feature.dataZoom;e("xAxis",o),e("yAxis",o)}}}),t.exports=i},function(t,e,n){"use strict";function i(t){this.model=t}var r=n(1);i.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",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"},option:{},seriesIndex:{}};var o=i.prototype;o.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return r.each(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n};var a={line:function(t,e,n,i){if("bar"===t)return r.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.line")||{},!0)},bar:function(t,e,n,i){if("line"===t)return r.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.bar")||{},!0)},stack:function(t,e,n,i){if("line"===t||"bar"===t)return r.merge({id:e,stack:"__ec_magicType_stack__"},i.get("option.stack")||{},!0)},tiled:function(t,e,n,i){if("line"===t||"bar"===t)return r.merge({id:e,stack:""},i.get("option.tiled")||{},!0)}},s=[["line","bar"],["stack","tiled"]];o.onclick=function(t,e,n){var i=this.model,o=i.get("seriesIndex."+n);if(a[n]){var l={series:[]},u=function(e){var o=e.subType,s=e.id,u=a[n](o,s,e,i);u&&(r.defaults(u,e.option),l.series.push(u));var c=e.coordinateSystem;if(c&&"cartesian2d"===c.type&&("line"===n||"bar"===n)){var h=c.getAxesByScale("ordinal")[0];if(h){var f=h.dim,d=f+"Axis",p=t.queryComponents({mainType:d,index:e.get(name+"Index"),id:e.get(name+"Id")})[0],g=p.componentIndex;l[d]=l[d]||[];for(var v=0;v<=g;v++)l[d][g]=l[d][g]||{};l[d][g].boundaryGap="bar"===n}}};r.each(s,function(t){r.indexOf(t,n)>=0&&r.each(t,function(t){i.setIconStatus(t,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},u),e.dispatchAction({type:"changeMagicType",currentType:n,newOption:l})}},n(2).registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),n(22).register("magicType",i),t.exports=i},function(t,e,n){"use strict";function i(t){this.model=t}var r=n(91);i.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:"还原"},i.prototype.onclick=function(t,e,n){r.clear(t),e.dispatchAction({type:"restore",from:this.uid})},n(22).register("restore",i),n(2).registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")}),t.exports=i},function(t,e,n){function i(t){this.model=t}var r=n(14);i.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:"保存为图片",type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:["右键另存为图片"]},i.prototype.unusable=!r.canvasSupported,i.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",o=document.createElement("a"),a=n.get("type",!0)||"png";o.download=i+"."+a,o.target="_blank";var s=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if(o.href=s,"function"!=typeof MouseEvent||r.browser.ie||r.browser.edge){var l=n.get("lang"),u='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(l&&l[0]||"")+'" /></body>';window.open().document.write(u)}else{var c=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});o.dispatchEvent(c)}},n(22).register("saveAsImage",i),t.exports=i},function(t,e,n){n(312),n(313),n(2).registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),n(2).registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},function(t,e,n){function i(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+t+"s "+e+",top "+t+"s "+e;return s.map(p,function(t){return t+"transition:"+n}).join(";")}function r(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();return i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px"),h(["decoration","align"],function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)}),e.join(";")}function o(t){t=t;var e=[],n=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.getModel("textStyle"),s=t.get("padding");return n&&e.push(i(n)),o&&(d.canvasSupported?e.push("background-Color:"+o):(e.push("background-Color:#"+l.toHex(o)),e.push("filter:alpha(opacity=70)"))),h(["width","color","radius"],function(n){var i="border-"+n,r=f(i),o=t.get(r);null!=o&&e.push(i+":"+o+("color"===n?"":"px"))}),e.push(r(a)),null!=s&&e.push("padding:"+c.normalizeCssArray(s).join("px ")+"px"),e.join(";")+";"}function a(t,e){var n=document.createElement("div"),i=e.getZr();this.el=n,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(n),this._container=t,this._show=!1,this._hideTimeout;var r=this;n.onmouseenter=function(){r.enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!r.enterable){var n=i.handler;u.normalizeEvent(t,e,!0),n.dispatch("mousemove",e)}},n.onmouseleave=function(){r.enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1}}var s=n(1),l=n(21),u=n(33),c=n(6),h=s.each,f=c.toCamelCase,d=n(14),p=["","-webkit-","-moz-","-o-"];a.prototype={constructor:a,enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),n=t.style;"absolute"!==n.position&&"absolute"!==e.position&&(n.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+o(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",this._show=!0},setContent:function(t){var e=this.el;e.innerHTML=t,e.style.display=t?"block":"none"},moveTo:function(t,e){var n=this.el.style;n.left=t+"px",n.top=e+"px",this._x=t,this._y=e},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(s.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show}},t.exports=a},function(t,e,n){n(2).extendComponentModel({type:"tooltip",defaultOption:{zlevel:0,z:8,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove",alwaysShowContent:!1,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:!0,animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",lineStyle:{color:"#555",width:1,type:"solid"},crossStyle:{color:"#555",width:1,type:"dashed",textStyle:{}},shadowStyle:{color:"rgba(150,150,150,0.3)"}},textStyle:{color:"#fff",fontSize:14}}})},function(t,e,n){function i(t,e){if(!t||!e)return!1;var n=v.round;return n(t[0])===n(e[0])&&n(t[1])===n(e[1])}function r(t,e,n,i){return{x1:t,y1:e,x2:n,y2:i}}function o(t,e,n,i){return{x:t,y:e,width:n,height:i}}function a(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}function s(t,e,n,i,r){var o=n.clientWidth,a=n.clientHeight,s=20;return t+o+s>i?t-=o+s:t+=s,e+a+s>r?e-=a+s:e+=s,[t,e]}function l(t,e,n,i,r){var o=n.clientWidth,a=n.clientHeight;return t=Math.min(t+o,i)-o,e=Math.min(e+a,r)-a,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function u(t,e,n){var i=n.clientWidth,r=n.clientHeight,o=5,a=0,s=0,l=e.width,u=e.height;switch(t){case"inside":a=e.x+l/2-i/2,s=e.y+u/2-r/2;break;case"top":a=e.x+l/2-i/2,s=e.y-r-o;break;case"bottom":a=e.x+l/2-i/2,s=e.y+u+o;break;case"left":a=e.x-i-o,s=e.y+u/2-r/2;break;case"right":a=e.x+l+o,s=e.y+u/2-r/2}return[a,s]}function c(t,e,n,i,r,o,a,c){var h=c.getWidth(),f=c.getHeight(),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),"function"==typeof t&&(t=t([e,n],o,r.el,d)),p.isArray(t))e=y(t[0],h),n=y(t[1],f);else if("string"==typeof t&&a){var g=u(t,d,r.el);e=g[0],n=g[1]}else{var g=s(e,n,r.el,h,f);e=g[0],n=g[1]}if(i){var g=l(e,n,r.el,h,f);e=g[0],n=g[1]}r.moveTo(e,n)}function h(t){var e=t.coordinateSystem,n=t.get("tooltip.trigger",!0);return!(!e||"cartesian2d"!==e.type&&"polar"!==e.type&&"singleAxis"!==e.type||"item"===n)}var f=n(311),d=n(3),p=n(1),g=n(6),v=n(4),m=n(7),y=v.parsePercent,x=n(14),_=n(11);n(2).extendComponentView({type:"tooltip",_axisPointers:{},init:function(t,e){if(!x.node){var n=new f(e.getDom(),e);this._tooltipContent=n}},render:function(t,e,n){if(!x.node){this.group.removeAll(),this._axisPointers={},this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastHover={};var i=this._tooltipContent;i.update(),i.enterable=t.get("enterable"),this._alwaysShowContent=t.get("alwaysShowContent"),this._seriesGroupByAxis=this._prepareAxisTriggerData(t,e);var r=this._crossText;r&&this.group.add(r);var o=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==o){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){a.manuallyShowTip(t,e,n,{x:a._lastX,y:a._lastY})})}var s=this._api.getZr();s.off("click",this._tryShow),s.off("mousemove",this._mousemove),s.off("mouseout",this._hide),s.off("globalout",this._hide),"click"===o?s.on("click",this._tryShow,this):"mousemove"===o&&(s.on("mousemove",this._mousemove,this),s.on("mouseout",this._hide,this),s.on("globalout",this._hide,this))}},_mousemove:function(t){var e=this._tooltipModel.get("showDelay"),n=this;clearTimeout(this._showTimeout),e>0?this._showTimeout=setTimeout(function(){n._tryShow(t)},e):this._tryShow(t)},manuallyShowTip:function(t,e,n,i){function r(t){var e=t.getData(),n=m.queryDataIndex(e,i);if(null!=n&&!p.isArray(n)&&e.hasValue(n))return!0}if(i.from!==this.uid){var e=this._ecModel,o=i.seriesIndex,a=e.getSeriesByIndex(o),n=this._api,s="axis"===this._tooltipModel.get("trigger");if(null==i.x||null==i.y){if(s?(a&&!r(a)&&(a=null),a||e.eachSeries(function(t){h(t)&&!a&&r(t)&&(a=t)})):a=a||e.getSeriesByIndex(0),a){var l=a.getData(),u=m.queryDataIndex(l,i);if(null==u||p.isArray(u))return;var c,f,d=l.getItemGraphicEl(u),g=a.coordinateSystem;if(a.getTooltipPosition){var v=a.getTooltipPosition(u)||[];c=v[0],f=v[1]}else if(g&&g.dataToPoint){var v=g.dataToPoint(l.getValues(p.map(g.dimensions,function(t){return a.coordDimToDataDim(t)[0]}),u,!0));c=v&&v[0],f=v&&v[1]}else if(d){var y=d.getBoundingRect().clone();y.applyTransform(d.transform),c=y.x+y.width/2,f=y.y+y.height/2}null!=c&&null!=f&&this._tryShow({offsetX:c,offsetY:f,position:i.position,target:d,event:{}})}}else{var d=n.getZr().handler.findHover(i.x,i.y);this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:d,event:{}})}}},manuallyHideTip:function(t,e,n,i){i.from!==this.uid&&this._hide()},_prepareAxisTriggerData:function(t,e){var n={};return e.eachSeries(function(t){if(h(t)){var e,i,r=t.coordinateSystem;"cartesian2d"===r.type?(e=r.getBaseAxis(),i=e.dim+e.index):"singleAxis"===r.type?(e=r.getAxis(),i=e.dim+e.type):(e=r.getBaseAxis(),i=e.dim+r.name),n[i]=n[i]||{coordSys:[],series:[]},n[i].coordSys.push(r),n[i].series.push(t)}},this),n},_tryShow:function(t){var e=t.target,n=this._tooltipModel,i=n.get("trigger"),r=this._ecModel,o=this._api;if(n)if(this._lastX=t.offsetX,this._lastY=t.offsetY,e&&null!=e.dataIndex){var a=e.dataModel||r.getSeriesByIndex(e.seriesIndex),s=e.dataIndex,l=a.getData(),u=l.getItemModel(s);"axis"===(u.get("tooltip.trigger")||i)?this._showAxisTooltip(n,r,t):(this._ticket="",this._hideAxisPointer(),this._resetLastHover(),this._showItemTooltipContent(a,s,e.dataType,t)),o.dispatchAction({type:"showTip",from:this.uid,dataIndexInside:s,dataIndex:l.getRawIndex(s),seriesIndex:e.seriesIndex})}else if(e&&e.tooltip){var c=e.tooltip;if("string"==typeof c){var h=c;c={content:h,formatter:h}}var f=new _(c,n),d=f.get("content"),p=Math.random();this._showTooltipContent(f,d,f.get("formatterParams")||{},p,t.offsetX,t.offsetY,t.position,e,o)}else"item"===i?this._hide():this._showAxisTooltip(n,r,t),"cross"===n.get("axisPointer.type")&&o.dispatchAction({type:"showTip",from:this.uid,x:t.offsetX,y:t.offsetY})},_showAxisTooltip:function(t,e,n){var r=t.getModel("axisPointer"),o=r.get("type");if("cross"===o){var a=n.target;if(a&&null!=a.dataIndex){var s=e.getSeriesByIndex(a.seriesIndex),l=a.dataIndex;this._showItemTooltipContent(s,l,a.dataType,n)}}this._showAxisPointer();var u=!0;p.each(this._seriesGroupByAxis,function(e){var a=e.coordSys,s=a[0],l=[n.offsetX,n.offsetY];if(!s.containPoint(l))return void this._hideAxisPointer(s.name);u=!1;var c=s.dimensions,h=s.pointToData(l,!0);l=s.dataToPoint(h);var f=s.getBaseAxis(),d=r.get("axis");if("auto"===d&&(d=f.dim),f.isBlank()||p.eqNaN(l[0])||p.eqNaN(l[1]))return void this._hideAxisPointer(s.name);var g=!1,v=this._lastHover;if("cross"===o)i(v.data,h)&&(g=!0),v.data=h;else{var m=p.indexOf(c,d);v.data===h[m]&&(g=!0),v.data=h[m]}var y=t.get("animation");"cartesian2d"!==s.type||g?"polar"!==s.type||g?"singleAxis"!==s.type||g||this._showSinglePointer(r,s,d,l,y):this._showPolarPointer(r,s,d,l,y):this._showCartesianPointer(r,s,d,l,y),"cross"!==o&&this._dispatchAndShowSeriesTooltipContent(s,e.series,l,h,g,n.position)},this),this._tooltipModel.get("show")||this._hideAxisPointer(),u&&this._hide()},_showCartesianPointer:function(t,e,n,i,a){function s(n,i,o){var a="x"===n?r(i[0],o[0],i[0],o[1]):r(o[0],i[1],o[1],i[1]),s=u._getPointerElement(e,t,n,a);d.subPixelOptimizeLine({shape:a,style:s.style}),f?d.updateProps(s,{shape:a},t):s.attr({shape:a})}function l(n,i,r){var a=e.getAxis(n),s=a.getBandWidth(),l=r[1]-r[0],c="x"===n?o(i[0]-s/2,r[0],s,l):o(r[0],i[1]-s/2,l,s),h=u._getPointerElement(e,t,n,c);f?d.updateProps(h,{shape:c},t):h.attr({shape:c})}var u=this,c=t.get("type"),h=e.getBaseAxis(),f=a&&"cross"!==c&&"category"===h.type&&h.getBandWidth()>20;if("cross"===c)s("x",i,e.getAxis("y").getGlobalExtent()),s("y",i,e.getAxis("x").getGlobalExtent()),this._updateCrossText(e,i,t);else{var p=e.getAxis("x"===n?"y":"x"),g=p.getGlobalExtent();"cartesian2d"===e.type&&("line"===c?s:l)(n,i,g)}},_showSinglePointer:function(t,e,n,i,o){function a(n,i,o){var a=e.getAxis(),l=a.orient,c="horizontal"===l?r(i[0],o[0],i[0],o[1]):r(o[0],i[1],o[1],i[1]),h=s._getPointerElement(e,t,n,c);u?d.updateProps(h,{shape:c},t):h.attr({shape:c})}var s=this,l=t.get("type"),u=o&&"cross"!==l&&"category"===e.getBaseAxis().type,c=e.getRect();a(n,i,[c.y,c.y+c.height])},_showPolarPointer:function(t,e,n,i,o){function s(n,i,o){var a,s=e.pointToCoord(i);if("angle"===n){var l=e.coordToPoint([o[0],s[1]]),c=e.coordToPoint([o[1],s[1]]);a=r(l[0],l[1],c[0],c[1])}else a={cx:e.cx,cy:e.cy,r:s[0]};var h=u._getPointerElement(e,t,n,a);p?d.updateProps(h,{shape:a},t):h.attr({shape:a})}function l(n,i,r){var o,s=e.getAxis(n),l=s.getBandWidth(),c=e.pointToCoord(i),h=Math.PI/180;o="angle"===n?a(e.cx,e.cy,r[0],r[1],(-c[1]-l/2)*h,(-c[1]+l/2)*h):a(e.cx,e.cy,c[0]-l/2,c[0]+l/2,0,2*Math.PI);var f=u._getPointerElement(e,t,n,o);p?d.updateProps(f,{shape:o},t):f.attr({shape:o})}var u=this,c=t.get("type"),h=e.getAngleAxis(),f=e.getRadiusAxis(),p=o&&"cross"!==c&&"category"===e.getBaseAxis().type;if("cross"===c)s("angle",i,f.getExtent()),s("radius",i,h.getExtent()),this._updateCrossText(e,i,t);else{var g=e.getAxis("radius"===n?"angle":"radius"),v=g.getExtent();("line"===c?s:l)(n,i,v)}},_updateCrossText:function(t,e,n){var i=n.getModel("crossStyle"),r=i.getModel("textStyle"),o=this._tooltipModel,a=this._crossText;a||(a=this._crossText=new d.Text({style:{textAlign:"left",textVerticalAlign:"bottom"}}),this.group.add(a));var s=t.pointToData(e),l=t.dimensions;s=p.map(s,function(e,n){var i=t.getAxis(l[n]);return e="category"===i.type||"time"===i.type?i.scale.getLabel(e):g.addCommas(e.toFixed(i.getPixelPrecision()))}),a.setStyle({fill:r.getTextColor()||i.get("color"),textFont:r.getFont(),text:s.join(", "),x:e[0]+5,y:e[1]-5}),a.z=o.get("z"),a.zlevel=o.get("zlevel")},_getPointerElement:function(t,e,n,i){var r=this._tooltipModel,o=r.get("z"),a=r.get("zlevel"),s=this._axisPointers,l=t.name;if(s[l]=s[l]||{},s[l][n])return s[l][n];var u=e.get("type"),c=e.getModel(u+"Style"),h="shadow"===u,f=c[h?"getAreaStyle":"getLineStyle"](),p="polar"===t.type?h?"Sector":"radius"===n?"Circle":"Line":h?"Rect":"Line";h?f.stroke=null:f.fill=null;var g=s[l][n]=new d[p]({style:f,z:o,zlevel:a,silent:!0,shape:i});return this.group.add(g),g},_dispatchAndShowSeriesTooltipContent:function(t,e,n,i,r,o){var a=this._tooltipModel,s=t.getBaseAxis(),l={x:1,radius:1,single:1}[s.dim]?0:1;if(e.length){var u,h=p.map(e,function(t){return{seriesIndex:t.seriesIndex,dataIndexInside:t.getAxisTooltipDataIndex?t.getAxisTooltipDataIndex(t.coordDimToDataDim(s.dim),i,s):t.getData().indexOfNearest(t.coordDimToDataDim(s.dim)[0],i[l],!1,"category"===s.type?.5:null)}});p.each(h,function(t,n){e[n].getData().hasValue(t.dataIndexInside)&&(u=n)}),u=u||0;var f=this._lastHover,d=this._api;f.payloadBatch&&!r&&d.dispatchAction({type:"downplay",batch:f.payloadBatch}),r||(d.dispatchAction({type:"highlight",batch:h}),f.payloadBatch=h);var v=h[u].dataIndexInside;if(d.dispatchAction({type:"showTip",dataIndexInside:v,dataIndex:e[u].getData().getRawIndex(v),seriesIndex:h[u].seriesIndex,from:this.uid}),s&&a.get("showContent")&&a.get("show")){var m=p.map(e,function(t,e){return t.getDataParams(h[e].dataIndexInside)});if(r)c(o||a.get("position"),n[0],n[1],a.get("confine"),this._tooltipContent,m,null,d);else{var y=h[u].dataIndexInside,x="time"===s.type?s.scale.getLabel(i[l]):e[u].getData().getName(y),_=(x?g.encodeHTML(x)+"<br />":"")+p.map(e,function(t,e){return t.formatTooltip(h[e].dataIndexInside,!0)}).join("<br />"),b="axis_"+t.name+"_"+y;this._showTooltipContent(a,_,m,b,n[0],n[1],o,null,d)}}}},_showItemTooltipContent:function(t,e,n,i){var r=this._api,o=t.getData(n),a=o.getItemModel(e),s=a.get("tooltip",!0);"string"==typeof s&&(s={formatter:s});var l=this._tooltipModel,u=t.getModel("tooltip",l),c=new _(s,u,u.ecModel),h=t.getDataParams(e,n),f=t.formatTooltip(e,!1,n),d="item_"+t.name+"_"+e;this._showTooltipContent(c,f,h,d,i.offsetX,i.offsetY,i.position,i.target,r)},_showTooltipContent:function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,h=t.get("confine"),f=t.get("formatter");a=a||t.get("position");var d=e;if(f)if("string"==typeof f)d=g.formatTpl(f,n,!0);else if("function"==typeof f){var p=this,v=i,m=function(t,e){t===p._ticket&&(u.setContent(e),c(a,r,o,h,u,n,s,l))};p._ticket=v,d=f(n,v,m)}u.show(t),u.setContent(d),c(a,r,o,h,u,n,s,l)}},_showAxisPointer:function(t){if(t){var e=this._axisPointers[t];e&&p.each(e,function(t){t.show()})}else this.group.eachChild(function(t){t.show()}),this.group.show()},_resetLastHover:function(){var t=this._lastHover;t.payloadBatch&&this._api.dispatchAction({type:"downplay",batch:t.payloadBatch}),this._lastHover={}},_hideAxisPointer:function(t){if(t){var e=this._axisPointers[t];e&&p.each(e,function(t){t.hide()})}else this.group.children().length&&this.group.hide()},_hide:function(){clearTimeout(this._showTimeout),this._hideAxisPointer(),this._resetLastHover(),this._alwaysShowContent||this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._api.dispatchAction({type:"hideTip",from:this.uid}),this._lastX=this._lastY=null},dispose:function(t,e){if(!x.node){var n=e.getZr();this._tooltipContent.hide(),n.off("click",this._tryShow),n.off("mousemove",this._mousemove),n.off("mouseout",this._hide),n.off("globalout",this._hide)}}})},function(t,e,n){n(319),n(320)},function(t,e,n){function i(t,e,n){if(n[0]===n[1])return n.slice();for(var i=200,r=(n[1]-n[0])/i,o=n[0],a=[],s=0;s<=i&&o<n[1];s++)a.push(o),o+=r;return a.push(n[1]),a}var r=n(98),o=n(1),a=n(4),s=[20,140],l=r.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:!0},optionUpdated:function(t,e){l.superApply(this,"optionUpdated",arguments),this.resetTargetSeries(),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){l.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=s[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=s[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):o.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),o.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=a.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(t){var e=[];return this.eachTargetSeries(function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)},!0,this),e.push({seriesId:n.id,dataIndex:i})},this),e},getVisualMeta:function(t){function e(e,n){o.push({value:e,color:t(e,n)})}for(var n=i(this,"outOfRange",this.getExtent()),r=i(this,"inRange",this.option.range.slice()),o=[],a=0,s=0,l=r.length,u=n.length;s<u&&(!r.length||n[s]<=r[0]);s++)n[s]<r[a]&&e(n[s],"outOfRange");for(var c=1;a<l;a++,c=0)c&&o.length&&e(r[a],"outOfRange"),e(r[a],"inRange");for(var c=1;s<u;s++)(!r.length||r[r.length-1]<n[s])&&(c&&(o.length&&e(o[o.length-1].value,"outOfRange"),c=0),e(n[s],"outOfRange"));var h=o.length;return{stops:o,outerColors:[h?o[0].color:"transparent",h?o[h-1].color:"transparent"]}}});t.exports=l},function(t,e,n){function i(t,e,n,i){return new u.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,ondragend:i})}function r(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}function o(t,e,n,i){return t?[[0,-y(e,x(n,0))],[_,0],[0,y(e,x(i-n,0))]]:[[0,0],[5,-5],[5,5]]}function a(t,e,n){var i=6,r=t.get("hoverLinkDataSize");return r&&(i=v(r,e,n,!0)/2),i}function s(t){return!t.get("realtime")&&t.get("hoverLinkOnHandle")}var l=n(99),u=n(3),c=n(1),h=n(4),f=n(63),d=n(127),p=n(100),g=n(7),v=h.linearMap,m=c.each,y=Math.min,x=Math.max,_=6,b=l.extend({type:"visualMap.continuous",init:function(){b.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);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.barGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),c=this._applyTransform(0===n?"bottom":"top",s),h=this._orient,f=this.visualMapModel.textStyleModel;this.group.add(new u.Text({style:{x:l[0],y:l[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:i,textFont:f.getFont(),fill:f.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,n=this._shapes,r=e.itemSize,o=this._orient,a=this._useHandle,s=p.getItemAlign(e,this.api,r),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=i()),
l.add(n.inRange=i(null,a?"move":null,c.bind(this._dragHandle,this,"all",!1),c.bind(this._dragHandle,this,"all",!0)));var u=e.textStyleModel.getTextRect("国"),h=x(u.width,u.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,r,h,o,s),this._createHandle(l,1,r,h,o,s)),this._createIndicator(l,r,h,o),t.add(l)},_createHandle:function(t,e,n,o,a){var s=c.bind(this._dragHandle,this,e,!1),l=c.bind(this._dragHandle,this,e,!0),h=i(r(e,o),"move",s,l);h.position[0]=n[0],t.add(h);var f=this.visualMapModel.textStyleModel,d=new u.Text({draggable:!0,drift:s,ondragend:l,style:{x:0,y:0,text:"",textFont:f.getFont(),fill:f.getTextColor()}});this.group.add(d);var p=["horizontal"===a?o/2:1.5*o,"horizontal"===a?0===e?-(1.5*o):1.5*o:0===e?-o/2:o/2],g=this._shapes;g.handleThumbs[e]=h,g.handleLabelPoints[e]=p,g.handleLabels[e]=d},_createIndicator:function(t,e,n,r){var o=i([[0,0]],"move");o.position[0]=e[0],o.attr({invisible:!0,silent:!0}),t.add(o);var a=this.visualMapModel.textStyleModel,s=new u.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:a.getFont(),fill:a.getTextColor()}});this.group.add(s);var l=["horizontal"===r?n/2:9,0],c=this._shapes;c.indicator=o,c.indicatorLabel=s,c.indicatorLabelPoint=l},_dragHandle:function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.barGroup,!0);this._updateInterval(t,r[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():s(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[v(e[0],n,i,!0),v(e[1],n,i,!0)]},_updateInterval:function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds;f(e,i,[0,n.itemSize[1]],"all"===t?"rigid":"push",t);var r=n.getExtent(),o=[0,n.itemSize[1]];this._dataInterval=[v(i[0],o,r,!0),v(i[1],o,r,!0)]},_updateView:function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor,opacity:a.opacity}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,a)},_createBarVisual:function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(n,a);return{barColor:new d(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},_makeColorGradient:function(t,e){var n=100,i=[],r=(t[1]-t[0])/n;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var o=1;o<n;o++){var a=t[0]+r*o;if(a>t[1])break;i.push({color:this.getControllerVisual(a,"color",e),offset:o/n})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},_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 u.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels;m([0,1],function(a){var s=r[a];s.setStyle("fill",e.handlesColor[a]),s.position[1]=t[a];var l=u.applyTransform(n.handleLabelPoints[a],u.getTransform(s,this.group));o[a].setStyle({x:l[0],y:l[1],text:i.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",n.barGroup)})},this)}},_showIndicator:function(t,e,n,i){var r=this.visualMapModel,a=r.getExtent(),s=r.itemSize,l=[0,s[1]],c=v(t,a,l,!0),h=this._shapes,f=h.indicator;if(f){f.position[1]=c,f.attr("invisible",!1),f.setShape("points",o(!!n,i,c,s[1]));var d={convertOpacityToAlpha:!0},p=this.getControllerVisual(t,"color",d);f.setStyle("fill",p);var g=u.applyTransform(h.indicatorLabelPoint,u.getTransform(f,this.group)),m=h.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",h.barGroup),x=this._orient;m.setStyle({text:(n?n:"")+r.formatValueText(e),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);i[1]=y(x(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=y(x(r[0],t),r[1]);var l=a(n,o,r),u=[t-l,t+l],c=v(t,r,o,!0),h=[v(u[0],r,o,!0),v(u[1],r,o,!0)];u[0]<r[0]&&(h[0]=-(1/0)),u[1]>r[1]&&(h[1]=1/0),e&&(h[0]===-(1/0)?this._showIndicator(c,h[1],"< ",l):h[1]===1/0?this._showIndicator(c,h[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var f=this._hoverLinkDataIndices,d=[];(e||s(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(h));var m=g.compressBatches(f,d);this._dispatchHighDown("downplay",p.convertDataIndex(m[0])),this._dispatchHighDown("highlight",p.convertDataIndex(m[1]))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target;if(e&&null!=e.dataIndex){var n=e.dataModel||this.ecModel.getSeriesByIndex(e.seriesIndex),i=n.getData(e.dataType),r=i.getDimension(this.visualMapModel.getDataDimension(i)),o=i.get(r,e.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",p.convertDataIndex(t)),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){var r=u.getTransform(e,i?null:this.group);return u[c.isArray(t)?"applyTransform":"transformDirection"](t,r,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()}});t.exports=b},function(t,e,n){function i(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var r=n(98),o=n(1),a=n(28),s=n(114),l=n(4).reformIntervals,u=r.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(t,e){u.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetTargetSeries(),this.resetExtent();var n=this._mode=this._determineMode();c[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=o.clone(i)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=o.map(this._pieceList,function(t){var t=o.clone(t);return"inRange"!==e&&(t.visual=null),t}))})},completeVisualOption:function(){function t(t,e,n){return t&&t[e]&&(o.isObject(t[e])?t[e].hasOwnProperty(n):t[e]===n)}var e=this.option,n={},i=a.listVisualTypes(),l=this.isCategory();o.each(e.pieces,function(t){o.each(i,function(e){t.hasOwnProperty(e)&&(n[e]=1)})}),o.each(n,function(n,i){var r=0;o.each(this.stateList,function(n){r|=t(e,n,i)||t(e.target,n,i)},this),!r&&o.each(this.stateList,function(t){(e[t]||(e[t]={}))[i]=s.get(i,"inRange"===t?"active":"inactive",l)})},this),r.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,o.each(i,function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)},this),"single"===n.selectedMode){var a=!1;o.each(i,function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(a?r[n]=!1:a=!0)},this)}},getSelectedMapKey:function(t){return"categories"===this._mode?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=o.clone(t)},getValueState:function(t){var e=a.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),function(e,n){a.findPieceIndex(e,this._pieceList)===t&&i.push(n)},!0,this),e.push({seriesId:n.id,dataIndex:i})},this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-(1/0)&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(t){function e(e,o){var a=r.getRepresentValue({interval:e});o||(o=r.getValueState(a));var s=t(a,o);e[0]===-(1/0)?i[0]=s:e[1]===1/0?i[1]=s:n.push({value:e[0],color:s},{value:e[1],color:s})}if(!this.isCategory()){var n=[],i=[],r=this,a=this._pieceList.slice();if(a.length){var s=a[0].interval[0];s!==-(1/0)&&a.unshift({interval:[-(1/0),s]}),s=a[a.length-1].interval[1],s!==1/0&&a.push({interval:[s,1/0]})}else a.push({interval:[-(1/0),1/0]});var l=-(1/0);return o.each(a,function(t){var n=t.interval;n&&(n[0]>l&&e([l,n[0]],"outOfRange"),e(n.slice()),l=n[1])},this),{stops:n,outerColors:i}}}}),c={splitNumber:function(){var t=this.option,e=this._pieceList,n=t.precision,i=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;for(var a=(i[1]-i[0])/r;+a.toFixed(n)!==a&&n<5;)n++;t.precision=n,a=+a.toFixed(n);var s=0;t.minOpen&&e.push({index:s++,interval:[-(1/0),i[0]],close:[0,0]});for(var u=i[0],c=s+r;s<c;u+=a){var h=s===r-1?i[1]:u+a;e.push({index:s++,interval:[u,h],close:[1,1]})}t.maxOpen&&e.push({index:s++,interval:[i[1],1/0],close:[0,0]}),l(e),o.each(e,function(t){t.text=this.formatValueText(t.interval)},this)},categories:function(){var t=this.option;o.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,e=this._pieceList;o.each(t.pieces,function(t,n){o.isObject(t)||(t={value:t});var i={text:"",index:n};if(null!=t.label&&(i.text=t.label),t.hasOwnProperty("value")){var r=i.value=t.value;i.interval=[r,r],i.close=[1,1]}else{for(var s=i.interval=[],l=i.close=[0,0],u=[1,0,1],c=[-(1/0),1/0],h=[],f=0;f<2;f++){for(var d=[["gte","gt","min"],["lte","lt","max"]][f],p=0;p<3&&null==s[f];p++)s[f]=t[d[p]],l[f]=u[p],h[f]=2===p;null==s[f]&&(s[f]=c[f])}h[0]&&s[1]===1/0&&(l[0]=0),h[1]&&s[0]===-(1/0)&&(l[1]=0),__DEV__&&s[0]>s[1],s[0]===s[1]&&l[0]&&l[1]&&(i.value=s[0])}i.visual=a.retrieveVisuals(t),e.push(i)},this),i(t,e),l(e),o.each(e,function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)},this)}};t.exports=u},function(t,e,n){var i=n(99),r=n(1),o=n(3),a=n(18),s=n(8),l=n(100),u=i.extend({type:"visualMap.piecewise",doRender:function(){function t(t){var a=t.piece,s=new o.Group;s.onclick=r.bind(this._onItemClick,this,a),this._enableHoverLink(s,t.indexInModelPieceList);var f=n.getRepresentValue(a);if(this._createItemSymbol(s,f,[0,0,h[0],h[1]]),p){var d=this.visualMapModel.getValueState(f);s.add(new o.Text({style:{x:"right"===c?-i:h[0]+i,y:h[1]/2,text:a.text,textVerticalAlign:"middle",textAlign:c,textFont:l,fill:u,opacity:"outOfRange"===d?.5:1}}))}e.add(s)}var e=this.group;e.removeAll();var n=this.visualMapModel,i=n.get("textGap"),a=n.textStyleModel,l=a.getFont(),u=a.getTextColor(),c=this._getItemAlign(),h=n.itemSize,f=this._getViewData(),d=f.endsText,p=r.retrieve(n.get("showLabel",!0),!d);d&&this._renderEndsText(e,d[0],h,p,c),r.each(f.viewPieceList,t,this),d&&this._renderEndsText(e,d[1],h,p,c),s.box(n.get("orient"),e,n.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(t,e){function n(t){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:t,batch:l.convertDataIndex(n.findTargetDataIndices(e))})}t.on("mouseover",r.bind(n,this,"highlight")).on("mouseout",r.bind(n,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return l.getItemAlign(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(t,e,n,i,r){if(e){var a=new o.Group,s=this.visualMapModel.textStyleModel;a.add(new o.Text({style:{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:i?r:"center",text:e,textFont:s.getFont(),fill:s.getTextColor()}})),t.add(a)}},_getViewData:function(){var t=this.visualMapModel,e=r.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),i=t.get("orient"),o=t.get("inverse");return("horizontal"===i?o:!o)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},_createItemSymbol:function(t,e,n){t.add(a.createSymbol(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=r.clone(n.selected),o=e.getSelectedMapKey(t);"single"===n.selectedMode?(i[o]=!0,r.each(i,function(t,e){i[e]=e===o})):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}});t.exports=u},function(t,e,n){n(2).registerPreprocessor(n(101)),n(102),n(103),n(315),n(316),n(104)},function(t,e,n){n(2).registerPreprocessor(n(101)),n(102),n(103),n(317),n(318),n(104)},function(t,e,n){var i=n(1),r=n(27),o=n(325),a=function(t,e,n,i,o){r.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom"};a.prototype={constructor:a,index:0,onZero:!1,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),t},getLabelInterval:function(){var t=this._labelInterval;return t||(t=this._labelInterval=o(this)),t},isLabelIgnored:function(t){if("category"===this.type){var e=this.getLabelInterval();return"function"==typeof e&&!e(t,this.scale.getLabel(t))||t%(e+1)}},toLocalCoord:null,toGlobalCoord:null},i.inherits(a,r),t.exports=a},function(t,e,n){"use strict";function i(t){return this._axes[t]}var r=n(1),o=function(t){this._axes={},this._dimList=[],this.name=t||""};o.prototype={constructor:o,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return r.map(this._dimList,i,this)},getAxesByScale:function(t){return t=t.toLowerCase(),r.filter(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},r=0;r<n.length;r++){var o=n[r],a=this._axes[o];i[o]=a[e](t[o])}return i}},t.exports=o},function(t,e,n){"use strict";function i(t){o.call(this,t)}var r=n(1),o=n(322);i.prototype={constructor:i,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])},dataToPoints:function(t,e){return t.mapArray(["x","y"],function(t,e){return this.dataToPoint([t,e])},e,this)},dataToPoint:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return[n.toGlobalCoord(n.dataToCoord(t[0],e)),i.toGlobalCoord(i.dataToCoord(t[1],e))]},pointToData:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return[n.coordToData(n.toLocalCoord(t[0]),e),i.coordToData(i.toLocalCoord(t[1]),e)]},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")}},r.inherits(i,o),t.exports=i},function(t,e,n){"use strict";n(107);var i=n(12);t.exports=i.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"}})},function(t,e,n){"use strict";var i=n(1),r=n(16);t.exports=function(t){var e=t.model,n=e.getModel("axisLabel"),o=n.get("interval");return"category"!==t.type||"auto"!==o?"auto"===o?0:o:r.getAxisLabelInterval(i.map(t.scale.getTicks(),t.dataToCoord,t),e.getFormattedLabels(),n.getModel("textStyle").getFont(),t.isHorizontal())}},function(t,e,n){function i(t,e,n,i,r){l.call(this,t),this.map=e,this._nameCoordMap={},this.loadGeoJson(n,i,r)}function r(t,e,n,i){var r=n.geoModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[t](i):null}var o=n(331),a=n(1),s=n(9),l=n(105),u=[n(329),n(330),n(328)];i.prototype={constructor:i,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},loadGeoJson:function(t,e,n){try{this.regions=t?o(t):[]}catch(t){throw"Invalid geoJson format\n"+t}e=e||{},n=n||{};for(var i=this.regions,r={},s=0;s<i.length;s++){var l=i[s].name;l=n[l]||l,i[s].name=l,r[l]=i[s],this.addGeoCoord(l,i[s].center);var c=e[l];c&&i[s].transformTo(c.left,c.top,c.width,c.height)}this._regionsMap=r,this._rect=null,a.each(u,function(t){t(this)},this)},transformTo:function(t,e,n,i){var r=this.getBoundingRect();r=r.clone(),r.y=-r.y-r.height;var o=this._viewTransform;o.transform=r.calculateTransform(new s(t,e,n,i)),o.decomposeTransform();var a=o.scale;a[1]=-a[1],o.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap[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[t]=e},getGeoCoord:function(t){return this._nameCoordMap[t]},getBoundingRect:function(){if(this._rect)return this._rect;for(var t,e=this.regions,n=0;n<e.length;n++){var i=e[n].getBoundingRect();t=t||i.clone(),t.union(i)}return this._rect=t||new s(0,0,0,0)},dataToPoints:function(t){var e=[];return t.mapArray(["lng","lat"],function(t,n){return e[0]=t,e[1]=n,this.dataToPoint(e)},this)},dataToPoint:function(t){if("string"==typeof t&&(t=this.getGeoCoord(t)),t)return l.prototype.dataToPoint.call(this,t)},convertToPixel:a.curry(r,"dataToPoint"),convertFromPixel:a.curry(r,"pointToData")},a.mixin(i,l),t.exports=i},function(t,e,n){"use strict";var i=n(7),r=n(12),o=n(11),a=n(1),s=n(62),l=n(46),u=r.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){r.prototype.init.apply(this,arguments),i.defaultEmphasis(t.label,["position","show","textStyle","distance","formatter"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map),this._optionModelMap=a.reduce(t.regions||[],function(t,n){return n.name&&(t[n.name]=new o(n,e)),t},{}),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:.75,silent:!1,map:"",center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!0,textStyle:{color:"rgb(100,0,0)"}}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap[t]},getFormattedLabel:function(t,e){var n=this.get("label."+e+".formatter"),i={name:t};if("function"==typeof n)return i.status=e,n(i);if("string"==typeof n){var r=i.seriesName;return n.replace("{a}",null!=r?r:"")}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});a.mixin(u,s),t.exports=u},function(t,e,n){var i=n(1),r={Russia:[100,60],"United States of America":[-99,38]};t.exports=function(t){i.each(t.regions,function(t){var e=r[t.name];if(e){var n=t.center;n[0]=e[0],n[1]=e[1]}})}},function(t,e,n){for(var i=n(108),r=[126,25],o=[[[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]]],a=0;a<o.length;a++)for(var s=0;s<o[a].length;s++)o[a][s][0]/=10.5,o[a][s][1]/=-14,o[a][s][0]+=r[0],o[a][s][1]+=r[1];t.exports=function(t){"china"===t.map&&t.regions.push(new i("南海诸岛",o,r))}},function(t,e,n){var i=n(1),r={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};t.exports=function(t){i.each(t.regions,function(t){var e=r[t.name];if(e){var n=t.center;n[0]+=e[0]/10.5,n[1]+=-e[1]/14}})}},function(t,e,n){function i(t){if(!t.UTF8Encoding)return t;for(var e=t.features,n=0;n<e.length;n++)for(var i=e[n],o=i.geometry,a=o.coordinates,s=o.encodeOffsets,l=0;l<a.length;l++){var u=a[l];if("Polygon"===o.type)a[l]=r(u,s[l]);else if("MultiPolygon"===o.type)for(var c=0;c<u.length;c++){var h=u[c];u[c]=r(h,s[l][c])}}return t.UTF8Encoding=!1,t}function r(t,e){for(var n=[],i=e[0],r=e[1],o=0;o<t.length;o+=2){var a=t.charCodeAt(o)-64,s=t.charCodeAt(o+1)-64;a=a>>1^-(1&a),s=s>>1^-(1&s),a+=i,s+=r,i=a,r=s,n.push([a/1024,s/1024])}return n}function o(t){for(var e=[],n=0;n<t.length;n++)for(var i=0;i<t[n].length;i++)e.push(t[n][i]);return e}var a=n(1),s=n(108);t.exports=function(t){return i(t),a.map(a.filter(t.features,function(t){return t.geometry&&t.properties}),function(t){var e=t.properties,n=t.geometry,i=n.coordinates;return"MultiPolygon"===n.type&&(i=o(i)),new s(e.name,i,e.cp)})}},function(t,e,n){function i(t,e){return e.type||(e.data?"category":"value")}var r=n(12),o=n(1),a=n(41),s=n(45),l=n(4),u=r.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return a([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]]).call(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=o.clone(t);if(e)for(var n=e.length-1;n>=0;n--)l.asc(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t)return"inactive";for(var n=0,i=e.length;n<i;n++)if(e[n][0]<=t&&t<=e[n][1])return"active";return"inactive"}}),c={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};o.merge(u.prototype,n(39)),s("parallel",u,i,c),t.exports=u},function(t,e,n){function i(t,e,n){this._axesMap={},this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,n)}var r=n(8),o=n(16),a=n(1),s=n(334),l=n(3),u=n(20),c=a.each,h=Math.PI;i.prototype={type:"parallel",constructor:i,_init:function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;c(i,function(t,n){var i=r[n],a=e.getComponent("parallelAxis",i),l=this._axesMap[t]=new s(t,o.createScaleByModel(a),[0,0],a.get("type"),i),u="category"===l.type;l.onBand=u&&a.get("boundaryGap"),l.inverse=a.get("inverse"),a.axis=l,l.model=a},this)},update:function(t,e){this._updateAxesFromSeries(this._model,t)},_updateAxesFromSeries:function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var i=n.getData();c(this.dimensions,function(t){var e=this._axesMap[t];e.scale.unionExtentFromData(i,t),o.niceScaleExtent(e,e.model)},this)}},this)},resize:function(t,e){this._rect=r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes(t)},getRect:function(){return this._rect},_layoutAxes:function(t){var e=this._rect,n=t.get("layout"),i=this._axesMap,r=this.dimensions,o=[e.width,e.height],a="horizontal"===n?0:1,s=o[a],l=o[1-a],f=[0,l];c(i,function(t){var e=t.inverse?1:0;t.setExtent(f[e],f[1-e])});var d,p=t.get("axisExpandable"),g=t.get("axisExpandWidth"),v=t.get("axisExpandCenter"),m=t.get("axisExpandCount")||0;if(null!=v){var y=Math.max(0,Math.floor(v-(m-1)/2)),x=y+m-1;x>=r.length&&(x=r.length-1,y=Math.max(0,Math.floor(x-m+1))),d=[y,x]}var _=p&&d&&g?function(t,e,n){var i,r=d[1]-d[0],o=(e-g*r)/(n-1-r);return i=t<d[0]?(t-1)*o:t<=d[1]?d[0]*o+(t-d[0])*g:t===n-1?e:d[0]*o+r*g+(t-d[1])*o,{position:i,axisNameAvailableWidth:d[0]<t&&t<d[1]?g:o}}:function(t,e,n){var i=e/(n-1);return{position:i*t,axisNameAvailableWidth:i}};c(r,function(t,i){var o=_(i,s,r.length),a={horizontal:{x:o.position,y:l},vertical:{x:0,y:o.position}},c={horizontal:h/2,vertical:0},f=[a[n].x+e.x,a[n].y+e.y],p=c[n],g=u.create();u.rotate(g,g,p),u.translate(g,g,f),this._axesLayout[t]={position:f,rotation:p,transform:g,axisNameAvailableWidth:o.axisNameAvailableWidth,tickDirection:1,labelDirection:1,axisExpandWindow:d}},this)},getAxis:function(t){return this._axesMap[t]},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap[e].dataToCoord(t),e)},eachActiveState:function(t,e,n){for(var i=this.dimensions,r=this._axesMap,o=this.hasAxisbrushed(),a=0,s=t.count();a<s;a++){var l,u=t.getValues(i,a);if(o){l="active";for(var c=0,h=i.length;c<h;c++)if("inactive"===r[i[c]].model.getActiveState(u[c],c)){l="inactive";break}}else l="normal";e.call(n,l,a)}},hasAxisbrushed:function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e[t[i]].model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(t,e){var n=this._axesLayout[e];return l.applyTransform([t,0],n.transform)},getAxisLayout:function(t){return a.clone(this._axesLayout[t])},findClosestAxisDim:function(t){var e,n=1/0;return a.each(this._axesLayout,function(i,r){var o=l.applyTransform(t,i.transform,!0),a=this._axesMap[r].getExtent();if(!(o[0]<a[0]||o[0]>a[1])){var s=Math.abs(o[1]);s<n&&(n=s,e=r)}},this),e}},t.exports=i},function(t,e,n){var i=n(1),r=n(27),o=function(t,e,n,i,o){r.call(this,t,e,n),this.type=i||"value",this.axisIndex=o};o.prototype={constructor:o,model:null},i.inherits(o,r),t.exports=o},function(t,e,n){var i=n(1),r=n(12);n(332),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,parallelAxisDefault:null},init:function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&i.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},setAxisExpand:function(t){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,function(t){return t.get("parallelIndex")===this.componentIndex});i.each(n,function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)})}})},function(t,e,n){function i(t){if(!t.parallel){var e=!1;o.each(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}function r(t){var e=a.normalizeToArray(t.parallelAxis);o.each(e,function(e){if(o.isObject(e)){var n=e.parallelIndex||0,i=a.normalizeToArray(t.parallel)[n];i&&i.parallelAxisDefault&&o.merge(e,i.parallelAxisDefault,!1)}})}var o=n(1),a=n(7);t.exports=function(t){i(t),r(t)}},function(t,e,n){"use strict";function i(t,e){e=e||[0,360],o.call(this,"angle",t,e),this.type="category"}var r=n(1),o=n(27);i.prototype={constructor:i,dataToAngle:o.prototype.dataToCoord,angleToData:o.prototype.coordToData},r.inherits(i,o),t.exports=i},function(t,e,n){"use strict";function i(t,e){return e.type||(e.data?"category":"value")}var r=n(1),o=n(12),a=n(45),s=o.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});r.merge(s.prototype,n(39));var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};a("angle",s,i,l.angle),a("radius",s,i,l.radius)},function(t,e,n){"use strict";var i=n(341),r=n(337),o=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new i,this._angleAxis=new r};o.prototype={constructor:o,type:"polar",dimensions:["radius","angle"],containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},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()},dataToPoints:function(t){return t.mapArray(this.dimensions,function(t,e){return this.dataToPoint([t,e])},this)},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=l<o?1:-1;l<o||l>a;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]}},t.exports=o},function(t,e,n){"use strict";n(338),n(2).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%"}})},function(t,e,n){"use strict";function i(t,e){o.call(this,"radius",t,e),this.type="category"}var r=n(1),o=n(27);i.prototype={
constructor:i,dataToRadius:o.prototype.dataToCoord,radiusToData:o.prototype.coordToData},r.inherits(i,o),t.exports=i},function(t,e,n){function i(t,e,n){o.call(this,t,e,n),this.type="value",this.angle=0,this.name="",this.model}var r=n(1),o=n(27);r.inherits(i,o),t.exports=i},function(t,e,n){function i(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=r.map(t.getIndicatorModels(),function(t,e){var n="indicator_"+e,i=new o(n,new a);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i},this),this.resize(t,n),this.cx,this.cy,this.r,this.startAngle}var r=n(1),o=n(342),a=n(48),s=n(4),l=n(16);i.prototype.getIndicatorAxes=function(){return this._indicatorAxes},i.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},i.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e],i=n.angle;return[this.cx+t*Math.cos(i),this.cy-t*Math.sin(i)]},i.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(r=u,s=l,a=c)}return[s,+(r&&r.coodToData(i))]},i.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),o=e.getHeight(),a=Math.min(i,o)/2;this.cx=s.parsePercent(n[0],i),this.cy=s.parsePercent(n[1],o),this.startAngle=t.get("startAngle")*Math.PI/180,this.r=s.parsePercent(t.get("radius"),a),r.each(this._indicatorAxes,function(t,e){t.setExtent(0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n},this)},i.prototype.update=function(t,e){function n(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),n=t/e;return 2===n?n=5:n*=2,n*e}var i=this._indicatorAxes,o=this._model;r.each(i,function(t){t.scale.setExtent(1/0,-(1/0))}),t.eachSeriesByType("radar",function(e,n){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===o){var a=e.getData();r.each(i,function(t){t.scale.unionExtentFromData(a,t.dim)})}},this);var a=o.get("splitNumber");r.each(i,function(t,e){var i=l.getScaleExtent(t,t.model);l.niceScaleExtent(t,t.model);var r=t.model,o=t.scale,u=r.getMin(),c=r.getMax(),h=o.getInterval();if(null!=u&&null!=c)o.setInterval((c-u)/a);else if(null!=u){var f;do f=u+h*a,o.setExtent(+u,f),o.setInterval(h),h=n(h);while(f<i[1]&&isFinite(f)&&isFinite(i[1]))}else if(null!=c){var d;do d=c-h*a,o.setExtent(d,+c),o.setInterval(h),h=n(h);while(d>i[0]&&isFinite(d)&&isFinite(i[0]))}else{var p=o.getTicks().length-1;p>a&&(h=n(h));var g=Math.round((i[0]+i[1])/2/h)*h,v=Math.round(a/2);o.setExtent(s.round(g-v*h),s.round(g+(a-v)*h)),o.setInterval(h)}})},i.dimensions=[],i.create=function(t,e){var n=[];return t.eachComponent("radar",function(r){var o=new i(r,t,e);n.push(o),r.coordinateSystem=o}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])}),n},n(19).register("radar",i),t.exports=i},function(t,e,n){function i(t,e){return s.defaults({show:e},t)}var r=n(106),o=r.valueAxis,a=n(11),s=n(1),l=n(39),u=n(2).extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),u=this.get("name.textStyle"),c=this.get("name.show"),h=this.get("name.formatter"),f=this.get("nameGap"),d=this.get("triggerEvent"),p=s.map(this.get("indicator")||[],function(p){if(null!=p.max&&p.max>0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0),p=s.merge(s.clone(p),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:p.text,nameLocation:"end",nameGap:f,nameTextStyle:u,triggerEvent:d},!1),c||(p.name=""),"string"==typeof h){var g=p.name;p.name=h.replace("{value}",null!=g?g:"")}else"function"==typeof h&&(p.name=h(p.name,p));var v=s.extend(new a(p,null,this.ecModel),l);return v.mainType="radar",v.componentIndex=this.componentIndex,v},this);this.getIndicatorModels=function(){return p}},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:s.merge({lineStyle:{color:"#bbb"}},o.axisLine),axisLabel:i(o.axisLabel,!1),axisTick:i(o.axisTick,!1),splitLine:i(o.splitLine,!0),splitArea:i(o.splitArea,!0),indicator:[]}});t.exports=u},function(t,e,n){function i(t,e){return e.type||(e.data?"category":"value")}var r=n(12),o=n(45),a=n(1),s=r.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};a.merge(s.prototype,n(39)),o("single",s,i,l),t.exports=s},function(t,e,n){function i(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,n),this._model=t}var r=n(347),o=n(16),a=n(8);i.prototype={type:"singleAxis",constructor:i,_init:function(t,e,n){var i=this.dimension,a=new r(i,o.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),s="category"===a.type;a.onBand=s&&t.get("boundaryGap"),a.inverse=t.get("inverse"),a.orient=t.get("orient"),t.axis=a,a.model=t,this._axis=a},update:function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData(),n=this.dimension;this._axis.scale.unionExtentFromData(e,t.coordDimToDataDim(n)),o.niceScaleExtent(this._axis,this._axis.model)}},this)},resize:function(t,e){this._rect=a.getLayoutRect({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},_updateAxisTransform:function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},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 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=i},function(t,e,n){var i=n(1),r=n(27),o=n(16),a=function(t,e,n,i,o){r.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom",this.orient=null,this._labelInterval=null};a.prototype={constructor:a,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getLabelInterval:function(){var t=this._labelInterval;if(!t){var e=this.model,n=e.getModel("axisLabel"),r=n.get("interval");if("category"!==this.type||"auto"!==r)return t=this._labelInterval="auto"===r?0:r;t=this._labelInterval=o.getAxisLabelInterval(i.map(this.scale.getTicks(),this.dataToCoord,this),e.getFormattedLabels(),n.getModel("textStyle").getFont(),this.isHorizontal())}return t},toGlobalCoord:null,toLocalCoord:null},i.inherits(a,r),t.exports=a},function(t,e,n){function i(t,e){var n=[];return t.eachComponent("singleAxis",function(i,o){var a=new r(i,t,e);a.name="single_"+o,a.resize(i,e),i.coordinateSystem=a,n.push(a)}),t.eachSeries(function(e){if("singleAxis"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];e.coordinateSystem=n&&n.coordinateSystem}}),n}var r=n(346);n(19).register("single",{create:i,dimensions:r.prototype.dimensions})},function(t,e,n){"use strict";function i(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function r(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}var o=n(1),a=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},s=a.prototype;s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(t,e){t=t||""+e;var n=this._nodesMap;if(!n[t]){var r=new i(t,e);return r.hostGraph=this,this.nodes.push(r),n[t]=r,r}},s.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},s.getNodeById=function(t){return this._nodesMap[t]},s.addEdge=function(t,e,n){var o=this._nodesMap,a=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),t instanceof i||(t=o[t]),e instanceof i||(e=o[e]),t&&e){var s=t.id+"-"+e.id;if(!a[s]){var l=new r(t,e,n);return l.hostGraph=this,this._directed&&(t.outEdges.push(l),e.inEdges.push(l)),t.edges.push(l),t!==e&&e.edges.push(l),this.edges.push(l),a[s]=l,l}}},s.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},s.getEdge=function(t,e){t instanceof i&&(t=t.id),e instanceof i&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},s.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},s.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},s.breadthFirstTraverse=function(t,e,n,r){if(e instanceof i||(e=this._nodesMap[e]),e){for(var o="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a<this.nodes.length;a++)this.nodes[a].__visited=!1;if(!t.call(r,e,null))for(var s=[e];s.length;)for(var l=s.shift(),u=l[o],a=0;a<u.length;a++){var c=u[a],h=c.node1===l?c.node2:c.node1;if(!h.__visited){if(t.call(h,h,l))return;s.push(h),h.__visited=!0}}}},s.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(var r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf(function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0});for(var r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(var r=0,o=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},s.clone=function(){for(var t=new a(this._directed),e=this.nodes,n=this.edges,i=0;i<e.length;i++)t.addNode(e[i].id,e[i].dataIndex);for(var i=0;i<n.length;i++){var r=n[i];t.addEdge(r.node1.id,r.node2.id,r.dataIndex)}return t},i.prototype={constructor:i,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)}},r.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)};var l=function(t,e){return{getValue:function(n){var i=this[t][e];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};o.mixin(i,l("hostGraph","data")),o.mixin(r,l("hostGraph","edgeData")),a.Node=i,a.Edge=r,t.exports=a},function(t,e,n){function i(t,e){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=o.map(e||[],function(e){return new a(e,t,t.ecModel)})}function r(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}var o=n(1),a=n(11),s=n(10),l=n(110),u=n(17),c=function(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e};c.prototype={constructor:c,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,n){"function"==typeof t&&(n=e,e=t,t=null),t=t||{},o.isString(t)&&(t={order:t});var i,r=t.order||"preorder",a=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var s=0;!i&&s<a.length;s++)a[s].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){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex),i=this.getLevelModel();return n.getModel(t,(i||e.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)}},i.prototype={constructor:i,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(var n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},i.createTree=function(t,e,n){function o(t,e){h.push(t);var n=new c(t.name,a);e?r(n,e):a.root=n,a._nodes.push(n);var i=t.children;if(i)for(var s=0;s<i.length;s++)o(i[s],n)}var a=new i(e,n),h=[];o(t),a.root.updateDepthAndHeight(0);var f=u([{name:"value"}],h),d=new s(f,e);return d.initData(h),l({mainData:d,struct:a,structAttr:"tree"}),a.update(),a},t.exports=i},function(t,e,n){var i=n(3),r=n(1),o=Math.PI;t.exports=function(t,e){e=e||{},r.defaults(e,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var n=new i.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),a=new i.Arc({shape:{startAngle:-o/2,endAngle:-o/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new i.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});a.animateShape(!0).when(1e3,{endAngle:3*o/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:3*o/2}).delay(300).start("circularInOut");var l=new i.Group;return l.add(a),l.add(s),l.add(n),l.resize=function(){var e=t.getWidth()/2,i=t.getHeight()/2;a.setShape({cx:e,cy:i});var r=a.shape.r;s.setShape({x:e-r,y:i-r,width:2*r,height:2*r}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}},function(t,e,n){function i(t,e){c.each(e,function(e,n){x.hasClass(n)||("object"==typeof e?t[n]=t[n]?c.merge(t[n],e,!1):c.clone(e):null==t[n]&&(t[n]=e))})}function r(t){t=t,this.option={},this.option[b]=1,this._componentsMap={},this._seriesIndices=null,i(t,this._theme.option),c.merge(t,_,!1),this.mergeOption(t)}function o(t,e){c.isArray(e)||(e=e?[e]:[]);var n={};return d(e,function(e){n[e]=(t[e]||[]).slice()}),n}function a(t,e,n){return e.type?e.type:n?n.subType:x.determineSubType(t,e)}function s(t){return g(t,function(t){return t.componentIndex})||[]}function l(t,e){return e.hasOwnProperty("subType")?p(t,function(t){return t.subType===e.subType}):t}function u(t){if(__DEV__&&!t._seriesIndices)throw new Error("Series has not been initialized yet.")}var c=n(1),h=n(7),f=n(11),d=c.each,p=c.filter,g=c.map,v=c.isArray,m=c.indexOf,y=c.isObject,x=n(12),_=n(354),b="\0_ec_inner",w=f.extend({constructor:w,init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new f(n),this._optionManager=i},setOption:function(t,e){c.assert(!(b in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption()},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(i)):r.call(this,i),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=n.getTimelineOption(this);o&&(this.mergeOption(o),e=!0)}if(!t||"recreate"===t||"media"===t){var a=n.getMediaOption(this,this._api);a.length&&d(a,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){function e(e,r){var l=h.normalizeToArray(t[e]),u=h.mappingToExists(i[e],l);h.makeIdAndName(u),d(u,function(t,n){var i=t.option;y(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=a(e,i,t.exist))});var f=o(i,r);n[e]=[],i[e]=[],d(u,function(t,r){var o=t.exist,a=t.option;if(c.assert(y(a)||o,"Empty component definition"),a){var s=x.getClass(e,t.keyInfo.subType,!0);if(o&&o instanceof s)o.name=t.keyInfo.name,o.mergeOption(a,this),o.optionUpdated(a,!1);else{var l=c.extend({dependentModels:f,componentIndex:r},t.keyInfo);o=new s(a,this,this,l),c.extend(o,l),o.init(a,this,this,l),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);i[e][r]=o,n[e][r]=o.option},this),"series"===e&&(this._seriesIndices=s(i.series))}var n=this.option,i=this._componentsMap,r=[];d(t,function(t,e){null!=t&&(x.hasClass(e)?r.push(e):n[e]=null==n[e]?c.clone(t):c.merge(n[e],t,!0))}),x.topologicalTravel(r,x.getAllClassMainTypes(),e,this),this._seriesIndices=this._seriesIndices||[]},getOption:function(){var t=c.clone(this.option);return d(t,function(e,n){if(x.hasClass(n)){for(var e=h.normalizeToArray(e),i=e.length-1;i>=0;i--)h.isIdInner(e[i])&&e.splice(i,1);t[n]=e}}),delete t[b],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap[t];if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n=t.index,i=t.id,r=t.name,o=this._componentsMap[e];if(!o||!o.length)return[];var a;if(null!=n)v(n)||(n=[n]),a=p(g(n,function(t){return o[t]}),function(t){return!!t});else if(null!=i){var s=v(i);a=p(o,function(t){return s&&m(i,t.id)>=0||!s&&t.id===i})}else if(null!=r){var u=v(r);a=p(o,function(t){return u&&m(r,t.name)>=0||!u&&t.name===r})}else a=o;return l(a,t)},findComponents:function(t){function e(t){var e=r+"Index",n=r+"Id",i=r+"Name";return!t||null==t[e]&&null==t[n]&&null==t[i]?null:{mainType:r,index:t[e],id:t[n],name:t[i]}}function n(e){return t.filter?p(e,t.filter):e}var i=t.query,r=t.mainType,o=e(i);return n(l(o?this.queryComponents(o):this._componentsMap[r],t))},eachComponent:function(t,e,n){var i=this._componentsMap;if("function"==typeof t)n=e,e=t,d(i,function(t,i){d(t,function(t,r){e.call(n,i,t,r)})});else if(c.isString(t))d(i[t],e,n);else if(y(t)){var r=this.findComponents(t);d(r,e,n)}},getSeriesByName:function(t){return p(this._componentsMap.series,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.series[t]},getSeriesByType:function(t){return p(this._componentsMap.series,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.series.slice()},eachSeries:function(t,e){u(this),d(this._seriesIndices,function(n){var i=this._componentsMap.series[n];t.call(e,i,n)},this)},eachRawSeries:function(t,e){d(this._componentsMap.series,t,e)},eachSeriesByType:function(t,e,n){u(this),d(this._seriesIndices,function(i){var r=this._componentsMap.series[i];r.subType===t&&e.call(n,r,i)},this)},eachRawSeriesByType:function(t,e,n){return d(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return u(this),c.indexOf(this._seriesIndices,t.componentIndex)<0},filterSeries:function(t,e){u(this);var n=p(this._componentsMap.series,t,e);this._seriesIndices=s(n)},restoreData:function(){var t=this._componentsMap;this._seriesIndices=s(t.series);var e=[];d(t,function(t,n){e.push(n)}),x.topologicalTravel(e,x.getAllClassMainTypes(),function(e,n){d(t[e],function(t){t.restoreData()})})}});c.mixin(w,n(112)),t.exports=w},function(t,e,n){function i(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function r(t,e,n){var i,r,o=[],a=[],s=t.timeline;return t.baseOption&&(r=t.baseOption),(s||t.options)&&(r=r||{},o=(t.options||[]).slice()),t.media&&(r=r||{},f(t.media,function(t){t&&t.option&&(t.query?a.push(t):i||(i=t))})),r||(r=t),r.timeline||(r.timeline=s),f([r].concat(o).concat(u.map(a,function(t){return t.option})),function(t){f(e,function(e){e(t,n)})}),{baseOption:r,timelineOptions:o,mediaDefault:i,mediaList:a}}function o(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return u.each(t,function(t,e){var n=e.match(v);if(n&&n[1]&&n[2]){var o=n[1];a(i[n[2].toLowerCase()],t,o)||(r=!1)}}),r}function a(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function s(t,e){return t.join(",")===e.join(",")}function l(t,e){e=e||{},f(e,function(e,n){if(null!=e){var i=t[n];if(h.hasClass(n)){e=c.normalizeToArray(e),i=c.normalizeToArray(i);var r=c.mappingToExists(i,e);t[n]=p(r,function(t){return t.option&&t.exist?g(t.exist,t.option,!0):t.exist||t.option})}else t[n]=g(i,e,!0)}})}var u=n(1),c=n(7),h=n(12),f=u.each,d=u.clone,p=u.map,g=u.merge,v=/^(min|max)?(.+)$/;i.prototype={constructor:i,setOption:function(t,e){t=d(t,!0);var n=this._optionBackup,i=r.call(this,t,e,!n);this._newBaseOption=i.baseOption,n?(l(n.baseOption,i.baseOption),i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.mediaDefault=i.mediaDefault)):this._optionBackup=i},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;if(n.length){var i=t.getComponent("timeline");i&&(e=d(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,a=[],l=[];if(!i.length&&!r)return l;for(var u=0,c=i.length;u<c;u++)o(i[u].query,e,n)&&a.push(u);return!a.length&&r&&(a=[-1]),a.length&&!s(a,this._currentMediaIndices)&&(l=p(a,function(t){return d(t===-1?r.option:i[t].option)})),this._currentMediaIndices=a,l}},t.exports=i},function(t,e){var n="";"undefined"!=typeof navigator&&(n=navigator.platform||""),t.exports={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:!0,animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3}},function(t,e,n){t.exports={getAreaStyle:n(41)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]])}},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,n){var i=n(41)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]);t.exports={getItemStyle:function(t){var e=i.call(this,t),n=this.getBorderLineDash();return n&&(e.lineDash=n),e},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}}},function(t,e,n){var i=n(41)([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getLineStyle:function(t){var e=i.call(this,t),n=this.getLineDash(e.lineWidth);return n&&(e.lineDash=n),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),i=4*t;return"solid"===e||null==e?null:"dashed"===e?[i,i]:[n,n]}}},function(t,e,n){function i(t,e){return t&&t.getShallow(e)}var r=n(25);t.exports={getTextColor:function(){var t=this.ecModel;return this.getShallow("color")||t&&t.get("textStyle.color")},getFont:function(){var t=this.ecModel,e=t&&t.getModel("textStyle");return[this.getShallow("fontStyle")||i(e,"fontStyle"),this.getShallow("fontWeight")||i(e,"fontWeight"),(this.getShallow("fontSize")||i(e,"fontSize")||12)+"px",this.getShallow("fontFamily")||i(e,"fontFamily")||"sans-serif"].join(" ")},getTextRect:function(t){return r.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("baseline"))},truncateText:function(t,e,n,i){return r.truncateText(t,e,this.getFont(),n,i)}}},function(t,e,n){function i(t,e){e=e.split(",");for(var n=t,i=0;i<e.length&&(n=n&&n[e[i]],null!=n);i++);return n}function r(t,e,n,i){e=e.split(",");for(var r,o=t,a=0;a<e.length-1;a++)r=e[a],null==o[r]&&(o[r]={}),o=o[r];(i||null==o[e[a]])&&(o[e[a]]=n)}function o(t){h(l,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var a=n(1),s=n(361),l=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],u=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],c=["bar","boxplot","candlestick","chord","effectScatter","funnel","gauge","lines","graph","heatmap","line","map","parallel","pie","radar","sankey","scatter","treemap"],h=a.each;t.exports=function(t){h(t.series,function(t){if(a.isObject(t)){var e=t.type;if(s(t),"pie"!==e&&"gauge"!==e||null!=t.clockWise&&(t.clockwise=t.clockWise),"gauge"===e){var n=i(t,"pointer.color");null!=n&&r(t,"itemStyle.normal.color",n)}for(var l=0;l<c.length;l++)if(c[l]===t.type){o(t);break}}}),t.dataRange&&(t.visualMap=t.dataRange),h(u,function(e){var n=t[e];n&&(a.isArray(n)||(n=[n]),h(n,function(t){o(t)}))})}},function(t,e,n){function i(t){var e=t&&t.itemStyle;e&&r.each(o,function(n){var i=e.normal,o=e.emphasis;i&&i[n]&&(t[n]=t[n]||{},t[n].normal?r.merge(t[n].normal,i[n]):t[n].normal=i[n],i[n]=null),o&&o[n]&&(t[n]=t[n]||{},t[n].emphasis?r.merge(t[n].emphasis,o[n]):t[n].emphasis=o[n],o[n]=null)})}var r=n(1),o=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];t.exports=function(t){if(t){i(t),i(t.markPoint),i(t.markLine);var e=t.data;if(e){for(var n=0;n<e.length;n++)i(e[n]);var o=t.markPoint;if(o&&o.data)for(var a=o.data,n=0;n<a.length;n++)i(a[n]);var s=t.markLine;if(s&&s.data)for(var l=s.data,n=0;n<l.length;n++)r.isArray(l[n])?(i(l[n][0]),i(l[n][1])):i(l[n])}}}},function(t,e){var n={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 e},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return e},nearest:function(t){return t[0]}},i=function(t,e){return Math.round(t.length/2)};t.exports=function(t,e,r){e.eachSeriesByType(t,function(t){var e=t.getData(),r=t.get("sampling"),o=t.coordinateSystem;if("cartesian2d"===o.type&&r){var a=o.getBaseAxis(),s=o.getOtherAxis(a),l=a.getExtent(),u=l[1]-l[0],c=Math.round(e.count()/u);if(c>1){var h;"string"==typeof r?h=n[r]:"function"==typeof r&&(h=r),h&&(e=e.downSample(s.dim,1/c,h,i),t.setData(e))}}},this)}},function(t,e,n){function i(t,e){return h(t,c(e))}var r=n(1),o=n(49),a=n(4),s=n(48),l=o.prototype,u=s.prototype,c=a.getPrecisionSafe,h=a.round,f=Math.floor,d=Math.ceil,p=Math.pow,g=Math.log,v=o.extend({type:"log",base:10,$constructor:function(){o.apply(this,arguments),this._originalScale=new s},getTicks:function(){var t=this._originalScale,e=this._extent,n=t.getExtent();return r.map(u.getTicks.call(this),function(r){var o=a.round(p(this.base,r));return o=r===e[0]&&t.__fixMin?i(o,n[0]):o,o=r===e[1]&&t.__fixMax?i(o,n[1]):o},this)},getLabel:u.getLabel,scale:function(t){return t=l.scale.call(this,t),p(this.base,t)},setExtent:function(t,e){var n=this.base;t=g(t)/g(n),e=g(e)/g(n),u.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=l.getExtent.call(this);e[0]=p(t,e[0]),e[1]=p(t,e[1]);var n=this._originalScale,r=n.getExtent();return n.__fixMin&&(e[0]=i(e[0],r[0])),n.__fixMax&&(e[1]=i(e[1],r[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=g(t[0])/g(e),t[1]=g(t[1])/g(e),l.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getDataExtent(e,!0,function(t){return t>0}))},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),r=t/n*i;for(r<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var o=[a.round(d(e[0]/i)*i),a.round(f(e[1]/i)*i)];this._interval=i,this._niceExtent=o}},niceExtent:function(t,e,n){u.niceExtent.call(this,t,e,n);var i=this._originalScale;i.__fixMin=e,i.__fixMax=n}});r.each(["contain","normalize"],function(t){v.prototype[t]=function(e){return e=g(e)/g(this.base),l[t].call(this,e)}}),v.create=function(){return new v},t.exports=v},function(t,e,n){var i=n(1),r=n(49),o=r.prototype,a=r.extend({type:"ordinal",init:function(t,e){this._data=t,this._extent=e||[0,t.length-1]},parse:function(t){return"string"==typeof t?i.indexOf(this._data,t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._data[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.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){return this._data[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getDataExtent(e,!1))},niceTicks:i.noop,niceExtent:i.noop});a.create=function(){return new a},t.exports=a},function(t,e,n){var i=n(1),r=n(4),o=n(6),a=n(48),s=a.prototype,l=Math.ceil,u=Math.floor,c=1e3,h=6e4,f=36e5,d=864e5,p=function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][2]<e?n=r+1:i=r}return n},g=a.extend({type:"time",getLabel:function(t){var e=this._stepLvl,n=new Date(t);return o.formatTime(e[0],n)},niceExtent:function(t,e,n){var i=this._extent;if(i[0]===i[1]&&(i[0]-=d,i[1]+=d),i[1]===-(1/0)&&i[0]===1/0){var o=new Date;i[1]=new Date(o.getFullYear(),o.getMonth(),o.getDate()),i[0]=i[1]-d}this.niceTicks(t);var a=this._interval;e||(i[0]=r.round(u(i[0]/a)*a)),n||(i[1]=r.round(l(i[1]/a)*a))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0],i=n/t,o=v.length,a=p(v,i,0,o),s=v[Math.min(a,o-1)],c=s[2];if("year"===s[0]){var h=n/c;c*=r.nice(h/t,!0)}var f=[l(e[0]/c)*c,u(e[1]/c)*c];this._stepLvl=s,this._interval=c,this._niceExtent=f},parse:function(t){return+r.parseDate(t)}});i.each(["contain","normalize"],function(t){g.prototype[t]=function(e){return s[t].call(this,this.parse(e))}});var v=[["hh:mm:ss",1,c],["hh:mm:ss",5,5e3],["hh:mm:ss",10,1e4],["hh:mm:ss",15,15e3],["hh:mm:ss",30,3e4],["hh:mm\nMM-dd",1,h],["hh:mm\nMM-dd",5,3e5],["hh:mm\nMM-dd",10,6e5],["hh:mm\nMM-dd",15,9e5],["hh:mm\nMM-dd",30,18e5],["hh:mm\nMM-dd",1,f],["hh:mm\nMM-dd",2,72e5],["hh:mm\nMM-dd",6,216e5],["hh:mm\nMM-dd",12,432e5],["MM-dd\nyyyy",1,d],["week",7,6048e5],["month",1,26784e5],["quarter",3,8208e6],["half-year",6,16416e6],["year",1,32832e6]];
g.create=function(){return new g},t.exports=g},function(t,e,n){function i(){var t,e=[],n={};return{add:function(t,i,o,a,s){return r.isString(a)&&(s=a,a=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:i,time:o,delay:a,easing:s}),!0)},done:function(e){return t=e,this},start:function(){function i(){r--,r||(e.length=0,n={},t&&t())}for(var r=e.length,o=0,a=e.length;o<a;o++){var s=e[o];s.el.animateTo(s.target,s.time,s.delay,s.easing,i)}return this}}}var r=n(1);t.exports={createWrap:i}},function(t,e,n){var i=n(55);t.exports=function(t){function e(e){var n=(e.visualColorAccessPath||"itemStyle.normal.color").split("."),r=e.getData(),o=e.get(n)||e.getColorFromPalette(e.get("name"));r.setVisual("color",o),t.isSeriesFiltered(e)||("function"!=typeof o||o instanceof i||r.each(function(t){r.setItemVisual(t,"color",o(e.getDataParams(t)))}),r.each(function(t){var e=r.getItemModel(t),i=e.get(n,!0);null!=i&&r.setItemVisual(t,"color",i)}))}t.eachRawSeries(e)}},function(t,e,n){"use strict";var i=n(115);t.exports=function(t){function e(t,e){function n(){e(t)}if(!r(t))throw new Error("Element is not detectable by this strategy.");i.isIE(8)?(l(t).object={proxy:n},t.attachEvent("onresize",n)):r(t).contentDocument.defaultView.addEventListener("resize",n)}function n(t,e,n){function r(t,e){function n(){function n(){if("static"===u.position){t.style.position="relative";var e=function(t,e,n,i){function r(t){return t.replace(/[^-\d\.]/g,"")}var o=n[i];"auto"!==o&&"0"!==r(o)&&(t.warn("An element that is positioned static has style."+i+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",e),e.style[i]=0)};e(a,t,u,"top"),e(a,t,u,"right"),e(a,t,u,"bottom"),e(a,t,u,"left")}}function s(){function i(t,e){return t.contentDocument?void e(t.contentDocument):void setTimeout(function(){i(t,e)},100)}o||n(),i(this,function(n){e(t)})}""!==u.position&&(n(u),o=!0);var c=document.createElement("object");c.style.cssText=r,c.tabIndex=-1,c.type="text/html",c.onload=s,i.isIE()||(c.data="about:blank"),t.appendChild(c),l(t).object=c,i.isIE()&&(c.data="about:blank")}var r="display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0; opacity: 0; z-index: -1000; pointer-events: none;",o=!1,u=window.getComputedStyle(t),c=t.offsetWidth,h=t.offsetHeight;l(t).startSize={width:c,height:h},s?s.add(n):n()}n||(n=e,e=t,t=null),t=t||{},t.debug,i.isIE(8)?n(e):r(e,n)}function r(t){return l(t).object}function o(t){i.isIE(8)?t.detachEvent("onresize",l(t).object.proxy):t.removeChild(r(t)),delete l(t).object}t=t||{};var a=t.reporter,s=t.batchProcessor,l=t.stateHandler.getState;if(!a)throw new Error("Missing required dependency: reporter.");return{makeDetectable:n,addListener:e,uninstall:o}}},function(t,e,n){"use strict";var i=n(116).forEach;t.exports=function(t){function e(){var t=500,e=500,n=document.createElement("div");n.style.cssText="position: absolute; width: 1000px; height: 1000px; visibility: hidden; margin: 0; padding: 0;";var i=document.createElement("div");i.style.cssText="position: absolute; width: 500px; height: 500px; overflow: scroll; visibility: none; top: -1500px; left: -1500px; visibility: hidden; margin: 0; padding: 0;",i.appendChild(n),document.body.insertBefore(i,document.body.firstChild);var r=t-i.clientWidth,o=e-i.clientHeight;return document.body.removeChild(i),{width:r,height:o}}function n(t,e){function n(e,n){n=n||function(t){document.head.appendChild(t)};var i=document.createElement("style");return i.innerHTML=e,i.id=t,n(i),i}if(!document.getElementById(t)){var i=e+"_animation",r=e+"_animation_active",o="/* Created by the element-resize-detector library. */\n";o+="."+e+" > div::-webkit-scrollbar { display: none; }\n\n",o+="."+r+" { -webkit-animation-duration: 0.1s; animation-duration: 0.1s; -webkit-animation-name: "+i+"; animation-name: "+i+"; }\n",o+="@-webkit-keyframes "+i+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",o+="@keyframes "+i+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",n(o)}}function r(t){t.className+=" "+m+"_animation_active"}function o(t,e,n){if(t.addEventListener)t.addEventListener(e,n);else{if(!t.attachEvent)return f.error("[scroll] Don't know how to add event listeners.");t.attachEvent("on"+e,n)}}function a(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n);else{if(!t.detachEvent)return f.error("[scroll] Don't know how to remove event listeners.");t.detachEvent("on"+e,n)}}function s(t){return p(t).container.childNodes[0].childNodes[0].childNodes[0]}function l(t){return p(t).container.childNodes[0].childNodes[0].childNodes[1]}function u(t,e){if(!p(t).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");p(t).listeners.push(e)}function c(t,e,n){function a(){if(t.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(g.get(e),"Scroll: "),f.log.apply)f.log.apply(null,n);else for(var i=0;i<n.length;i++)f.log(n[i])}}function u(t){function e(t){return t===t.ownerDocument.body||t.ownerDocument.body.contains(t)}return!e(t)}function c(t){var e=p(t).container.childNodes[0];return getComputedStyle(e).width.indexOf("px")===-1}function h(){var t=getComputedStyle(e),n={};return n.position=t.position,n.width=e.offsetWidth,n.height=e.offsetHeight,n.top=t.top,n.right=t.right,n.bottom=t.bottom,n.left=t.left,n.widthCSS=t.width,n.heightCSS=t.height,n}function y(){var t=h();p(e).startSize={width:t.width,height:t.height},a("Element start size",p(e).startSize)}function x(){p(e).listeners=[]}function _(){if(a("storeStyle invoked."),!p(e))return void a("Aborting because element has been uninstalled");var t=h();p(e).style=t}function b(t,e,n){p(t).lastWidth=e,p(t).lastHeight=n}function w(t){return s(t).childNodes[0]}function S(){return 2*v.width+1}function M(){return 2*v.height+1}function A(t){return t+10+S()}function T(t){return t+10+M()}function I(t){return 2*t+S()}function C(t){return 2*t+M()}function L(t,e,n){var i=s(t),r=l(t),o=A(e),a=T(n),u=I(e),c=C(n);i.scrollLeft=o,i.scrollTop=a,r.scrollLeft=u,r.scrollTop=c}function D(){var t=p(e).container;if(!t){t=document.createElement("div"),t.className=m,t.style.cssText="visibility: hidden; display: inline; width: 0px; height: 0px; z-index: -1; overflow: hidden; margin: 0; padding: 0;",p(e).container=t,r(t),e.appendChild(t);var n=function(){p(e).onRendered&&p(e).onRendered()};o(t,"animationstart",n),p(e).onAnimationStart=n}return t}function k(){function t(){var t=p(e).style;if("static"===t.position){e.style.position="relative";var n=function(t,e,n,i){function r(t){return t.replace(/[^-\d\.]/g,"")}var o=n[i];"auto"!==o&&"0"!==r(o)&&(t.warn("An element that is positioned static has style."+i+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",e),e.style[i]=0)};n(f,e,t,"top"),n(f,e,t,"right"),n(f,e,t,"bottom"),n(f,e,t,"left")}}function n(t,e,n,i){return t=t?t+"px":"0",e=e?e+"px":"0",n=n?n+"px":"0",i=i?i+"px":"0","left: "+t+"; top: "+e+"; right: "+i+"; bottom: "+n+";"}function i(){p(e).onExpand&&p(e).onExpand()}function r(){p(e).onShrink&&p(e).onShrink()}if(a("Injecting elements"),!p(e))return void a("Aborting because element has been uninstalled");t();var s=p(e).container;s||(s=D());var l=v.width,u=v.height,c="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; "+n(-(1+l),-(1+u),-u,-l),h=document.createElement("div"),d=document.createElement("div"),g=document.createElement("div"),y=document.createElement("div"),x=document.createElement("div"),_=document.createElement("div");h.dir="ltr",h.style.cssText="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; width: 100%; height: 100%; left: 0px; top: 0px;",h.className=m,d.className=m,d.style.cssText=c,g.style.cssText="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;",y.style.cssText="position: absolute; left: 0; top: 0;",x.style.cssText="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;",_.style.cssText="position: absolute; width: 200%; height: 200%;",g.appendChild(y),x.appendChild(_),d.appendChild(g),d.appendChild(x),h.appendChild(d),s.appendChild(h),o(g,"scroll",i),o(x,"scroll",r),p(e).onExpandScroll=i,p(e).onShrinkScroll=r}function P(){function n(t,e,n){var i=w(t),r=A(e),o=T(n);i.style.width=r+"px",i.style.height=o+"px"}function r(i){var r=e.offsetWidth,o=e.offsetHeight;a("Storing current size",r,o),b(e,r,o),d.add(0,function(){if(!p(e))return void a("Aborting because element has been uninstalled");if(t.debug){var i=e.offsetWidth,s=e.offsetHeight;i===r&&s===o||f.warn(g.get(e),"Scroll: Size changed before updating detector elements.")}n(e,r,o)}),d.add(1,function(){return p(e)?void L(e,r,o):void a("Aborting because element has been uninstalled")}),i&&d.add(2,function(){return p(e)?void i():void a("Aborting because element has been uninstalled")})}function o(){function t(){return void 0===p(e).lastNotifiedWidth}a("notifyListenersIfNeeded invoked");var n=p(e);return t()&&n.lastWidth===n.startSize.width&&n.lastHeight===n.startSize.height?a("Not notifying: Size is the same as the start size, and there has been no notification yet."):n.lastWidth===n.lastNotifiedWidth&&n.lastHeight===n.lastNotifiedHeight?a("Not notifying: Size already notified"):(a("Current size not notified, notifying..."),n.lastNotifiedWidth=n.lastWidth,n.lastNotifiedHeight=n.lastHeight,void i(p(e).listeners,function(t){t(e)}))}function u(){if(a("startanimation triggered."),c(e))return void a("Ignoring since element is still unrendered...");a("Element rendered.");var t=s(e),n=l(e);0!==t.scrollLeft&&0!==t.scrollTop&&0!==n.scrollLeft&&0!==n.scrollTop||(a("Scrollbars out of sync. Updating detector elements..."),r(o))}function h(){if(a("Scroll detected."),c(e))return void a("Scroll event fired while unrendered. Ignoring...");var t=e.offsetWidth,n=e.offsetHeight;t!==e.lastWidth||n!==e.lastHeight?(a("Element size changed."),r(o)):a("Element size has not changed ("+t+"x"+n+").")}if(a("registerListenersAndPositionElements invoked."),!p(e))return void a("Aborting because element has been uninstalled");p(e).onRendered=u,p(e).onExpand=h,p(e).onShrink=h;var v=p(e).style;n(e,v.width,v.height)}function E(){if(a("finalizeDomMutation invoked."),!p(e))return void a("Aborting because element has been uninstalled");var t=p(e).style;b(e,t.width,t.height),L(e,t.width,t.height)}function O(){n(e)}function R(){a("Installing..."),x(),y(),d.add(0,_),d.add(1,k),d.add(2,P),d.add(3,E),d.add(4,O)}n||(n=e,e=t,t=null),t=t||{},a("Making detectable..."),u(e)?(a("Element is detached"),D(),a("Waiting until element is attached..."),p(e).onRendered=function(){a("Element is now attached"),R()}):R()}function h(t){var e=p(t);e&&(e.onExpandScroll&&a(s(t),"scroll",e.onExpandScroll),e.onShrinkScroll&&a(l(t),"scroll",e.onShrinkScroll),e.onAnimationStart&&a(e.container,"animationstart",e.onAnimationStart),e.container&&t.removeChild(e.container))}t=t||{};var f=t.reporter,d=t.batchProcessor,p=t.stateHandler.getState,g=(t.stateHandler.hasState,t.idHandler);if(!d)throw new Error("Missing required dependency: batchProcessor");if(!f)throw new Error("Missing required dependency: reporter.");var v=e(),m="erd_scroll_detection_container";return n("erd_scroll_detection_scrollbar_style",m),{makeDetectable:c,addListener:u,uninstall:h}}},function(t,e,n){"use strict";function i(t){return Array.isArray(t)||void 0!==t.length}function r(t){if(Array.isArray(t))return t;var e=[];return s(t,function(t){e.push(t)}),e}function o(t){return t&&1===t.nodeType}function a(t,e,n){var i=t[e];return void 0!==i&&null!==i||void 0===n?i:n}var s=n(116).forEach,l=n(371),u=n(374),c=n(372),h=n(373),f=n(375),d=n(115),p=n(138),g=n(376),v=n(368),m=n(369);t.exports=function(t){function e(t,e,n){function l(t){s(S.get(t),function(e){e(t)})}function u(t,e,n){S.add(e,n),t&&n(e)}if(n||(n=e,e=t,t={}),!e)throw new Error("At least one element required.");if(!n)throw new Error("Listener required.");if(o(e))e=[e];else{if(!i(e))return x.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=r(e)}var c=0,h=a(t,"callOnAdd",b.callOnAdd),f=a(t,"onReady",function(){}),d=a(t,"debug",b.debug);s(e,function(t){g.getState(t)||(g.initState(t),y.set(t));var i=y.get(t);return d&&x.log("Attaching listener to element",i,t),M.isDetectable(t)?(d&&x.log(i,"Already detecable, adding listener."),u(h,t,n),void c++):(d&&x.log(i,"Not detectable."),M.isBusy(t)?(d&&x.log(i,"System busy making it detectable"),u(h,t,n),I[i]=I[i]||[],void I[i].push(function(){c++,c===e.length&&f()})):(d&&x.log(i,"Making detectable..."),M.markBusy(t,!0),w.makeDetectable({debug:d},t,function(t){if(d&&x.log(i,"onElementDetectable"),g.getState(t)){M.markAsDetectable(t),M.markBusy(t,!1),w.addListener(t,l),u(h,t,n);var r=g.getState(t);if(r&&r.startSize){var o=t.offsetWidth,a=t.offsetHeight;r.startSize.width===o&&r.startSize.height===a||l(t)}I[i]&&s(I[i],function(t){t()})}else d&&x.log(i,"Element uninstalled before being detectable.");delete I[i],c++,c===e.length&&f()})))}),c===e.length&&f()}function n(t){if(!t)return x.error("At least one element is required.");if(o(t))t=[t];else{if(!i(t))return x.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");t=r(t)}s(t,function(t){S.removeAllListeners(t),w.uninstall(t),g.cleanState(t)})}t=t||{};var y;y=t.idHandler?{get:function(e){return t.idHandler.get(e,!0)},set:t.idHandler.set}:h({idGenerator:c(),stateHandler:g});var x=t.reporter;x||(x=f(x===!1));var _=a(t,"batchProcessor",p({reporter:x})),b={};b.callOnAdd=!!a(t,"callOnAdd",!0),b.debug=!!a(t,"debug",!1);var w,S=u(y),M=l({stateHandler:g}),A=a(t,"strategy","object"),T={reporter:x,batchProcessor:_,stateHandler:g,idHandler:y};if("scroll"===A&&(d.isLegacyOpera()?(x.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),A="object"):d.isIE(9)&&(x.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),A="object")),"scroll"===A)w=m(T);else{if("object"!==A)throw new Error("Invalid strategy name: "+A);w=v(T)}var I={};return{listenTo:e,removeListener:S.removeListener,removeAllListeners:S.removeAllListeners,uninstall:n}}},function(t,e){"use strict";t.exports=function(t){function e(t){var e=o(t);return e&&!!e.isDetectable}function n(t){o(t).isDetectable=!0}function i(t){return!!o(t).busy}function r(t,e){o(t).busy=!!e}var o=t.stateHandler.getState;return{isDetectable:e,markAsDetectable:n,isBusy:i,markBusy:r}}},function(t,e){"use strict";t.exports=function(){function t(){return e++}var e=1;return{generate:t}}},function(t,e){"use strict";t.exports=function(t){function e(t){var e=r(t);return e&&void 0!==e.id?e.id:null}function n(t){var e=r(t);if(!e)throw new Error("setId required the element to have a resize detection state.");var n=i.generate();return e.id=n,n}var i=t.idGenerator,r=t.stateHandler.getState;return{get:e,set:n}}},function(t,e){"use strict";t.exports=function(t){function e(e){var n=t.get(e);return void 0===n?[]:o[n]||[]}function n(e,n){var i=t.get(e);o[i]||(o[i]=[]),o[i].push(n)}function i(t,n){for(var i=e(t),r=0,o=i.length;r<o;++r)if(i[r]===n){i.splice(r,1);break}}function r(t){var n=e(t);n&&(n.length=0)}var o={};return{get:e,add:n,removeListener:i,removeAllListeners:r}}},function(t,e){"use strict";t.exports=function(t){function e(){}var n={log:e,warn:e,error:e};if(!t&&window.console){var i=function(t,e){t[e]=function(){var t=console[e];if(t.apply)t.apply(console,arguments);else for(var n=0;n<arguments.length;n++)t(arguments[n])}};i(n,"log"),i(n,"warn"),i(n,"error")}return n}},function(t,e){"use strict";function n(t){return t[o]={},i(t)}function i(t){return t[o]}function r(t){delete t[o]}var o="_erd";t.exports={initState:n,getState:i,cleanState:r}},function(t,e){},function(t,e,n){var i,r;n(377),i=n(137);var o=n(379);r=i=i||{},"object"!=typeof i.default&&"function"!=typeof i.default||(r=i=i.default),"function"==typeof r&&(r=r.options),r.render=o.render,r.staticRenderFns=o.staticRenderFns,r._scopeId="data-v-2c2d2a5e",t.exports=i},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.className,style:t.style})},staticRenderFns:[]}},function(t,e,n){"use strict";function i(t,e,n){return{type:t,event:n,target:e,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}}function r(){}function o(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t;i;){if(i.silent||i.clipPath&&!i.clipPath.contain(e,n))return!1;i=i.parent}return!0}return!1}var a=n(1),s=n(408),l=n(29);r.prototype.dispose=function(){};var u=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],c=function(t,e,n,i){l.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new r,this.proxy=n,n.handler=this,this._hovered,this._lastTouchMoment,this._lastX,this._lastY,s.call(this),a.each(u,function(t){n.on&&n.on(t,this[t],this)},this)};c.prototype={constructor:c,mousemove:function(t){var e=t.zrX,n=t.zrY,i=this.findHover(e,n,null),r=this._hovered,o=this.proxy;this._hovered=i,o.setCursor&&o.setCursor(i?i.cursor:"default"),r&&i!==r&&r.__zr&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(i,"mousemove",t),i&&i!==r&&this.dispatchToElement(i,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);var e,n=t.toElement||t.relatedTarget;do n=n&&n.parentNode;while(n&&9!=n.nodeType&&!(e=n===this.painterRoot));!e&&this.trigger("globalout",{event:t})},resize:function(t){this._hovered=null},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){for(var r="on"+e,o=i(e,t,n),a=t;a&&(a[r]&&(o.cancelBubble=a[r].call(a,o)),a.trigger(e,o),a=a.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer(function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)}))},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),r=i.length-1;r>=0;r--)if(!i[r].silent&&i[r]!==n&&!i[r].ignore&&o(i[r],t,e))return i[r]}},a.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){c.prototype[t]=function(e){var n=this.findHover(e.zrX,e.zrY,null);if("mousedown"===t)this._downel=n,this._upel=n;else if("mosueup"===t)this._upel=n;else if("click"===t&&this._downel!==this._upel)return;this.dispatchToElement(n,t,e)}}),a.mixin(c,l),a.mixin(c,s),t.exports=c},function(t,e,n){function i(){return!1}function r(t,e,n,i){var r=document.createElement(e),o=n.getWidth(),a=n.getHeight(),s=r.style;return s.position="absolute",s.left=0,s.top=0,s.width=o+"px",s.height=a+"px",r.width=o*i,r.height=a*i,r.setAttribute("data-zr-dom-id",t),r}var o=n(1),a=n(52),s=n(129),l=n(128),u=function(t,e,n){var s;n=n||a.devicePixelRatio,"string"==typeof t?s=r(t,"canvas",e,n):o.isObject(t)&&(s=t,t=s.id),this.id=t,this.dom=s;var l=s.style;l&&(s.onselectstart=i,l["-webkit-user-select"]="none",l["user-select"]="none",l["-webkit-touch-callout"]="none",l["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",l.padding=0,l.margin=0,l["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};u.prototype={constructor:u,elCount:0,__dirty:!0,initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=r("back-"+this.id,"canvas",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.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){var e=this.dom,n=this.ctx,i=e.width,r=e.height,o=this.clearColor,a=this.motionBlur&&!t,u=this.lastFrameAlpha,c=this.dpr;if(a&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(e,0,0,i/c,r/c)),n.clearRect(0,0,i,r),o){var h;o.colorStops?(h=o.__canvasGradient||s.getGradient(n,o,{x:0,y:0,width:i,height:r}),o.__canvasGradient=h):o.image&&(h=l.prototype.getCanvasPattern.call(o,n)),n.save(),n.fillStyle=h||o,n.fillRect(0,0,i,r),n.restore()}if(a){var f=this.domBack;n.save(),n.globalAlpha=u,n.drawImage(f,0,0,i,r),n.restore()}}},t.exports=u},function(t,e,n){"use strict";function i(t){return parseInt(t,10)}function r(t){return!!t&&(!!t.isBuildin||"function"==typeof t.resize&&"function"==typeof t.refresh)}function o(t){t.__unusedCount++}function a(t){1==t.__unusedCount&&t.clear()}function s(t,e,n){return x.copy(t.getBoundingRect()),t.transform&&x.applyTransform(t.transform),_.width=e,_.height=n,!x.intersect(_)}function l(t,e){if(t==e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0}function u(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=i.path;i.setTransform(e),r.beginPath(e),i.buildPath(r,i.shape),e.clip(),i.restoreTransform(e)}}function c(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var h=n(52),f=n(1),d=n(74),p=n(9),g=n(75),v=n(381),m=n(120),y=5,x=new p(0,0,0,0),_=new p(0,0,0,0),b=function(t,e,n){var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=f.extend({},n||{}),this.dpr=n.devicePixelRatio||h.devicePixelRatio,this._singleCanvas=i,this.root=t;var r=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=this._zlevelList=[],a=this._layers={};if(this._layerConfig={},i){var s=t.width,l=t.height;this._width=s,this._height=l;var u=new v(t,this,1);u.initContext(),a[0]=u,o.push(0),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var d=this._domRoot=c(this._width,this._height);t.appendChild(d)}this.pathToImage=this._createPathToImage(),this._progressiveLayers=[],this._hoverlayer,this._hoverElements=[]};b.prototype={constructor:b,isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},refresh:function(t){var e=this.storage.getDisplayList(!0),n=this._zlevelList;this._paintList(e,t);for(var i=0;i<n.length;i++){var r=n[i],o=this._layers[r];!o.isBuildin&&o.refresh&&o.refresh()}return this.refreshHover(),this._progressiveLayers.length&&this._startProgessive(),this},addHover:function(t,e){if(!t.__hoverMir){var n=new t.constructor({style:t.style,shape:t.shape});n.__from=t,t.__hoverMir=n,n.setStyle(e),this._hoverElements.push(n)}},removeHover:function(t){var e=t.__hoverMir,n=this._hoverElements,i=f.indexOf(n,e);i>=0&&n.splice(i,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,n=this._hoverlayer;if(n&&n.clear(),e){g(t,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(1e5));var i={};n.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()}},_startProgessive:function(){function t(){n===e._progressiveToken&&e.storage&&(e._doPaintList(e.storage.getDisplayList()),e._furtherProgressive?(e._progress++,m(t)):e._progressiveToken=-1)}var e=this;if(e._furtherProgressive){var n=e._progressiveToken=+new Date;e._progress++,m(t)}},_clearProgressive:function(){this._progressiveToken=-1,this._progress=0,f.each(this._progressiveLayers,function(t){t.__dirty&&t.clear()})},_paintList:function(t,e){null==e&&(e=!1),this._updateLayerStatus(t),this._clearProgressive(),this.eachBuildinLayer(o),this._doPaintList(t,e),this.eachBuildinLayer(a)},_doPaintList:function(t,e){function n(t){var e=o.dpr||1;o.save(),o.globalAlpha=1,o.shadowBlur=0,i.__dirty=!0,o.setTransform(1,0,0,1,0,0),o.drawImage(t.dom,0,0,c*e,h*e),o.restore()}for(var i,r,o,a,s,l,u=0,c=this._width,h=this._height,p=this._progress,g=0,v=t.length;g<v;g++){var m=t[g],y=this._singleCanvas?0:m.zlevel,x=m.__frame;if(x<0&&s&&(n(s),s=null),r!==y&&(o&&o.restore(),a={},r=y,i=this.getLayer(r),i.isBuildin||d("ZLevel "+r+" has been used by unkown layer "+i.id),o=i.ctx,o.save(),i.__unusedCount=0,(i.__dirty||e)&&i.clear()),i.__dirty||e){if(x>=0){if(!s){if(s=this._progressiveLayers[Math.min(u++,4)],s.ctx.save(),s.renderScope={},s&&s.__progress>s.__maxProgress){g=s.__nextIdxNotProg-1;continue}l=s.__progress,s.__dirty||(p=l),s.__progress=p+1}x===p&&this._doPaintEl(m,s,!0,s.renderScope)}else this._doPaintEl(m,i,e,a);m.__dirty=!1}}s&&n(s),o&&o.restore(),this._furtherProgressive=!1,f.each(this._progressiveLayers,function(t){t.__maxProgress>=t.__progress&&(this._furtherProgressive=!0)},this)},_doPaintEl:function(t,e,n,i){var r=e.ctx,o=t.transform;if((e.__dirty||n)&&!t.invisible&&0!==t.style.opacity&&(!o||o[0]||o[3])&&(!t.culling||!s(t,this._width,this._height))){var a=t.__clipPaths;(i.prevClipLayer!==e||l(a,i.prevElClipPaths))&&(i.prevElClipPaths&&(i.prevClipLayer.ctx.restore(),i.prevClipLayer=i.prevElClipPaths=null,i.prevEl=null),a&&(r.save(),u(a,r),i.prevClipLayer=e,i.prevElClipPaths=a)),t.beforeBrush&&t.beforeBrush(r),t.brush(r,i.prevEl||null),i.prevEl=t,t.afterBrush&&t.afterBrush(r)}},getLayer:function(t){if(this._singleCanvas)return this._layers[0];var e=this._layers[t];return e||(e=new v("zr_"+t,this,this.dpr),e.isBuildin=!0,this._layerConfig[t]&&f.merge(e,this._layerConfig[t],!0),this.insertLayer(t,e),e.initContext()),e},insertLayer:function(t,e){var n=this._layers,i=this._zlevelList,o=i.length,a=null,s=-1,l=this._domRoot;if(n[t])return void d("ZLevel "+t+" has been used already");if(!r(e))return void d("Layer of zlevel "+t+" is not valid");if(o>0&&t>i[0]){for(s=0;s<o-1&&!(i[s]<t&&i[s+1]>t);s++);a=n[i[s]]}if(i.splice(s+1,0,t),a){var u=a.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom);n[t]=e},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i<r.length;i++)n=r[i],t.call(e,this._layers[n],n)},eachBuildinLayer:function(t,e){var n,i,r,o=this._zlevelList;for(r=0;r<o.length;r++)i=o[r],n=this._layers[i],n.isBuildin&&t.call(e,n,i)},eachOtherLayer:function(t,e){var n,i,r,o=this._zlevelList;for(r=0;r<o.length;r++)i=o[r],n=this._layers[i],n.isBuildin||t.call(e,n,i)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){var e=this._layers,n=this._progressiveLayers,i={},r={};this.eachBuildinLayer(function(t,e){i[e]=t.elCount,t.elCount=0,t.__dirty=!1}),f.each(n,function(t,e){r[e]=t.elCount,t.elCount=0,t.__dirty=!1});for(var o,a,s=0,l=0,u=0,c=t.length;u<c;u++){var h=t[u],d=this._singleCanvas?0:h.zlevel,p=e[d],g=h.progressive;if(p&&(p.elCount++,p.__dirty=p.__dirty||h.__dirty),g>=0){a!==g&&(a=g,l++);var m=h.__frame=l-1;if(!o){var x=Math.min(s,4);o=n[x],o||(o=n[x]=new v("progressive",this,this.dpr),o.initContext()),o.__maxProgress=0}o.__dirty=o.__dirty||h.__dirty,o.elCount++,o.__maxProgress=Math.max(o.__maxProgress,m),o.__maxProgress>=o.__progress&&(p.__dirty=!0)}else h.__frame=-1,o&&(o.__nextIdxNotProg=u,s++,o=null)}o&&(s++,o.__nextIdxNotProg=u),this.eachBuildinLayer(function(t,e){i[e]!==t.elCount&&(t.__dirty=!0)}),n.length=Math.min(s,y),f.each(n,function(t,e){r[e]!==t.elCount&&(h.__dirty=!0),t.__dirty&&(t.__progress=0)})},clear:function(){return this.eachBuildinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?f.merge(n[t],e,!0):n[t]=e;var i=this._layers[t];i&&f.merge(i,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(f.indexOf(n,t),1))},resize:function(t,e){var n=this._domRoot;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!=t||e!=this._height){n.style.width=t+"px",n.style.height=e+"px";for(var r in this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(t,e);f.each(this._progressiveLayers,function(n){n.resize(t,e)}),this.refresh(!0)}return this._width=t,this._height=e,this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas)return this._layers[0].dom;var e=new v("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clearColor=t.backgroundColor,e.clear();for(var n=this.storage.getDisplayList(!0),i={},r=0;r<n.length;r++){var o=n[r];this._doPaintEl(o,e,!0,i)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],r=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var s=this.root,l=document.defaultView.getComputedStyle(s);return(s[r]||i(l[n])||i(s.style[n]))-(i(l[o])||0)-(i(l[a])||0)|0},_pathToImage:function(t,e,i,r,o){var a=document.createElement("canvas"),s=a.getContext("2d");a.width=i*o,a.height=r*o,s.clearRect(0,0,i*o,r*o);var l={position:e.position,rotation:e.rotation,scale:e.scale};e.position=[0,0,0],e.rotation=0,e.scale=[1,1],e&&e.brush(s);var u=n(76),c=new u({id:t,style:{x:0,y:0,image:a}});return null!=l.position&&(c.position=e.position=l.position),null!=l.rotation&&(c.rotation=e.rotation=l.rotation),null!=l.scale&&(c.scale=e.scale=l.scale),c},_createPathToImage:function(){var t=this;return function(e,n,i,r){return t._pathToImage(e,n,i,r,t.dpr)}}},t.exports=b},function(t,e,n){"use strict";function i(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var r=n(1),o=n(14),a=n(53),s=n(75),l=function(){this._elements={},this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,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,r=0,a=e.length;r<a;r++)this._updateAndAddDisplayable(e[r],null,t);n.length=this._displayListLen,o.canvasSupported&&s(n,i)},_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),o=r,r=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){this._elements[t.id]||(t instanceof a&&t.addChildrenToStorage(this),this.addToMap(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 a&&n.delChildrenFromStorage(this)}return this._elements={},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 o;o="string"==typeof t?this._elements[t]:t;var s=r.indexOf(this._roots,o);s>=0&&(this.delFromMap(o.id),this._roots.splice(s,1),o instanceof a&&o.delChildrenFromStorage(this));
}},addToMap:function(t){return t instanceof a&&(t.__storage=this),t.dirty(!1),this._elements[t.id]=t,this},get:function(t){return this._elements[t]},delFromMap:function(t){var e=this._elements,n=e[t];return n&&(delete e[t],n instanceof a&&(n.__storage=null)),this},dispose:function(){this._elements=this._renderList=this._roots=null},displayableSortFunc:i},t.exports=l},function(t,e,n){"use strict";var i=n(1),r=n(33).Dispatcher,o=n(120),a=n(119),s=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};s.prototype={constructor:s,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){var e=i.indexOf(this._clips,t);e>=0&&this._clips.splice(e,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);l&&(r.push(l),o.push(s))}for(var a=0;a<i;)n[a]._needsRemove?(n[a]=n[i-1],n.pop(),i--):a++;i=r.length;for(var 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(){function t(){e._running&&(o(t),!e._paused&&e._update())}var e=this;this._running=!0,o(t)},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=[]},animate:function(t,e){e=e||{};var n=new a(t,e.loop,e.getter,e.setter);return this.addAnimator(n),n}},i.mixin(s,r),t.exports=s},function(t,e,n){function i(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}var r=n(386);i.prototype={constructor:i,step:function(t){this._initialized||(this._startTime=t+this._delay,this._initialized=!0);var e=(t-this._startTime)/this._life;if(!(e<0)){e=Math.min(e,1);var n=this.easing,i="string"==typeof n?r[n]:n,o="function"==typeof i?i(e):e;return this.fire("frame",o),1==e?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(t){var e=(t-this._startTime)%this._life;this._startTime=t-e+this.gap,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)}},t.exports=i},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*(-Math.pow(2,-10*(t-1))+2)},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,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)):n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?.5*(t*t*((e+1)*t-e)):.5*((t-=2)*t*((e+1)*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 i=n(124).normalizeRadian,r=2*Math.PI;t.exports={containStroke:function(t,e,n,o,a,s,l,u,c){if(0===l)return!1;var h=l;u-=t,c-=e;var f=Math.sqrt(u*u+c*c);if(f-h>n||f+h<n)return!1;if(Math.abs(o-a)%r<1e-4)return!0;if(s){var d=o;o=i(a),a=i(d)}else o=i(o),a=i(a);o>a&&(a+=r);var p=Math.atan2(c,u);return p<0&&(p+=r),p>=o&&p<=a||p+r>=o&&p+r<=a}}},function(t,e,n){var i=n(26);t.exports={containStroke:function(t,e,n,r,o,a,s,l,u,c,h){if(0===u)return!1;var f=u;return!(h>e+f&&h>r+f&&h>a+f&&h>l+f||h<e-f&&h<r-f&&h<a-f&&h<l-f||c>t+f&&c>n+f&&c>o+f&&c>s+f||c<t-f&&c<n-f&&c<o-f&&c<s-f)&&i.cubicProjectPoint(t,e,n,r,o,a,s,l,c,h,null)<=f/2}}},function(t,e,n){"use strict";function i(t,e){return Math.abs(t-e)<x}function r(){var t=b[0];b[0]=b[1],b[1]=t}function o(t,e,n,i,o,a,s,l,u,c){if(c>e&&c>i&&c>a&&c>l||c<e&&c<i&&c<a&&c<l)return 0;var h=g.cubicRootAt(e,i,a,l,c,_);if(0===h)return 0;for(var f,d,p=0,v=-1,m=0;m<h;m++){var y=_[m],x=0===y||1===y?.5:1;g.cubicAt(t,n,o,s,y)<u||(v<0&&(v=g.cubicExtrema(e,i,a,l,b),b[1]<b[0]&&v>1&&r(),f=g.cubicAt(e,i,a,l,b[0]),v>1&&(d=g.cubicAt(e,i,a,l,b[1]))),p+=2==v?y<b[0]?f<e?x:-x:y<b[1]?d<f?x:-x:l<d?x:-x:y<b[0]?f<e?x:-x:l<f?x:-x)}return p}function a(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var l=g.quadraticRootAt(e,i,o,s,_);if(0===l)return 0;var u=g.quadraticExtremum(e,i,o);if(u>=0&&u<=1){for(var c=0,h=g.quadraticAt(e,i,o,u),f=0;f<l;f++){var d=0===_[f]||1===_[f]?.5:1,p=g.quadraticAt(t,n,r,_[f]);p<a||(c+=_[f]<u?h<e?d:-d:o<h?d:-d)}return c}var d=0===_[0]||1===_[0]?.5:1,p=g.quadraticAt(t,n,r,_[0]);return p<a?0:o<e?d:-d}function s(t,e,n,i,r,o,a,s){if(s-=e,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);_[0]=-l,_[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u%y<1e-4){i=0,r=y;var c=o?1:-1;return a>=_[0]+t&&a<=_[1]+t?c:0}if(o){var l=i;i=p(r),r=p(l)}else i=p(i),r=p(r);i>r&&(r+=y);for(var h=0,f=0;f<2;f++){var d=_[f];if(d+t>a){var g=Math.atan2(s,d),c=o?1:-1;g<0&&(g=y+g),(g>=i&&g<=r||g+y>=i&&g+y<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),h+=c)}}return h}function l(t,e,n,r,l){for(var c=0,p=0,g=0,y=0,x=0,_=0;_<t.length;){var b=t[_++];switch(b===u.M&&_>1&&(n||(c+=v(p,g,y,x,r,l))),1==_&&(p=t[_],g=t[_+1],y=p,x=g),b){case u.M:y=t[_++],x=t[_++],p=y,g=x;break;case u.L:if(n){if(m(p,g,t[_],t[_+1],e,r,l))return!0}else c+=v(p,g,t[_],t[_+1],r,l)||0;p=t[_++],g=t[_++];break;case u.C:if(n){if(h.containStroke(p,g,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],e,r,l))return!0}else c+=o(p,g,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],r,l)||0;p=t[_++],g=t[_++];break;case u.Q:if(n){if(f.containStroke(p,g,t[_++],t[_++],t[_],t[_+1],e,r,l))return!0}else c+=a(p,g,t[_++],t[_++],t[_],t[_+1],r,l)||0;p=t[_++],g=t[_++];break;case u.A:var w=t[_++],S=t[_++],M=t[_++],A=t[_++],T=t[_++],I=t[_++],C=(t[_++],1-t[_++]),L=Math.cos(T)*M+w,D=Math.sin(T)*A+S;_>1?c+=v(p,g,L,D,r,l):(y=L,x=D);var k=(r-w)*A/M+w;if(n){if(d.containStroke(w,S,A,T,T+I,C,e,k,l))return!0}else c+=s(w,S,A,T,T+I,C,k,l);p=Math.cos(T+I)*M+w,g=Math.sin(T+I)*A+S;break;case u.R:y=p=t[_++],x=g=t[_++];var P=t[_++],E=t[_++],L=y+P,D=x+E;if(n){if(m(y,x,L,x,e,r,l)||m(L,x,L,D,e,r,l)||m(L,D,y,D,e,r,l)||m(y,D,y,x,e,r,l))return!0}else c+=v(L,x,L,D,r,l),c+=v(y,D,y,x,r,l);break;case u.Z:if(n){if(m(p,g,y,x,e,r,l))return!0}else c+=v(p,g,y,x,r,l);p=y,g=x}}return n||i(g,x)||(c+=v(p,g,y,x,r,l)||0),0!==c}var u=n(42).CMD,c=n(121),h=n(388),f=n(123),d=n(387),p=n(124).normalizeRadian,g=n(26),v=n(125),m=c.containStroke,y=2*Math.PI,x=1e-4,_=[-1,-1,-1],b=[-1,-1];t.exports={contain:function(t,e,n){return l(t,0,!1,e,n)},containStroke:function(t,e,n,i){return l(t,e,!0,n,i)}}},function(t,e,n){"use strict";function i(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function r(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var o=n(33),a=function(){this._track=[]};a.prototype={constructor:a,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},a=0,s=i.length;a<s;a++){var l=i[a],u=o.clientToLocal(n,l,{});r.points.push([u.zrX,u.zrY]),r.touches.push(l)}this._track.push(r)}},_recognize:function(t){for(var e in s)if(s.hasOwnProperty(e)){var n=s[e](this._track,t);if(n)return n}}};var s={pinch:function(t,e){var n=t.length;if(n){var o=(t[n-1]||{}).points,a=(t[n-2]||{}).points||o;if(a&&a.length>1&&o&&o.length>1){var s=i(o)/i(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=r(o);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}};t.exports=a},function(t,e){var n=function(){this.head=null,this.tail=null,this._len=0},i=n.prototype;i.insert=function(t){var e=new r(t);return this.insertEntry(e),e},i.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,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};var r=function(t){this.value=t,this.next,this.prev},o=function(t){this._list=new n,this._map={},this._maxSize=t||10},a=o.prototype;a.put=function(t,e){var n=this._list,i=this._map;if(null==i[t]){var r=n.len();if(r>=this._maxSize&&r>0){var o=n.head;n.remove(o),delete i[o.key]}var a=n.insert(e);a.key=t,i[t]=a}},a.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},a.clear=function(){this._list.clear(),this._map={}},t.exports=o},function(t,e,n){function i(t){return"mousewheel"===t&&f.browser.firefox?"DOMMouseScroll":t}function r(t,e,n){var i=t._gestureMgr;"start"===n&&i.clear();var r=i.recognize(e,t.handler.findHover(e.zrX,e.zrY,null),t.dom);if("end"===n&&i.clear(),r){var o=r.type;e.gestureEvent=o,t.handler.dispatchToElement(r.target,o,r.event)}}function o(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}function a(t){var e=t.pointerType;return"pen"===e||"touch"===e}function s(t){function e(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}c.each(x,function(e){t._handlers[e]=c.bind(w[e],t)}),c.each(b,function(e){t._handlers[e]=c.bind(w[e],t)}),c.each(y,function(n){t._handlers[n]=e(w[n],t)})}function l(t){function e(e,n){c.each(e,function(e){p(t,i(e),n._handlers[e])},n)}h.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._gestureMgr=new d,this._handlers={},s(this),f.pointerEventsSupported?e(b,this):(f.touchEventsSupported&&e(x,this),e(y,this))}var u=n(33),c=n(1),h=n(29),f=n(14),d=n(390),p=u.addEventListener,g=u.removeEventListener,v=u.normalizeEvent,m=300,y=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],x=["touchstart","touchend","touchmove"],_={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},b=c.map(y,function(t){var e=t.replace("mouse","pointer");return _[e]?e:t}),w={mousemove:function(t){t=v(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){t=v(this.dom,t);var e=t.toElement||t.relatedTarget;if(e!=this.dom)for(;e&&9!=e.nodeType;){if(e===this.dom)return;e=e.parentNode}this.trigger("mouseout",t)},touchstart:function(t){t=v(this.dom,t),t.zrByTouch=!0,this._lastTouchMoment=new Date,r(this,t,"start"),w.mousemove.call(this,t),w.mousedown.call(this,t),o(this)},touchmove:function(t){t=v(this.dom,t),t.zrByTouch=!0,r(this,t,"change"),w.mousemove.call(this,t),o(this)},touchend:function(t){t=v(this.dom,t),t.zrByTouch=!0,r(this,t,"end"),w.mouseup.call(this,t),+new Date-this._lastTouchMoment<m&&w.click.call(this,t),o(this)},pointerdown:function(t){w.mousedown.call(this,t)},pointermove:function(t){a(t)||w.mousemove.call(this,t)},pointerup:function(t){w.mouseup.call(this,t)},pointerout:function(t){a(t)||w.mouseout.call(this,t)}};c.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){w[t]=function(e){e=v(this.dom,e),this.trigger(t,e)}});var S=l.prototype;S.dispose=function(){for(var t=y.concat(x),e=0;e<t.length;e++){var n=t[e];g(this.dom,i(n),this._handlers[n])}},S.setCursor=function(t){this.dom.style.cursor=t||"default"},c.mixin(l,h),t.exports=l},function(t,e,n){var i=n(15);t.exports=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.setScale(e[0],e[1])},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)}})},function(t,e,n){"use strict";var i=n(1),r=n(55),o=function(t,e,n,i,o){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,r.call(this,i)};o.prototype={constructor:o},i.inherits(o,r),t.exports=o},function(t,e){t.exports={buildPath:function(t,e){var n,i,r,o,a=e.x,s=e.y,l=e.width,u=e.height,c=e.r;l<0&&(a+=l,l=-l),u<0&&(s+=u,u=-u),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0;var h;n+i>l&&(h=n+i,n*=l/h,i*=l/h),r+o>l&&(h=r+o,r*=l/h,o*=l/h),i+r>u&&(h=i+r,i*=u/h,r*=u/h),n+o>u&&(h=n+o,n*=u/h,o*=u/h),t.moveTo(a+n,s),t.lineTo(a+l-i,s),0!==i&&t.quadraticCurveTo(a+l,s,a+l,s+i),t.lineTo(a+l,s+u-r),0!==r&&t.quadraticCurveTo(a+l,s+u,a+l-r,s+u),t.lineTo(a+o,s+u),0!==o&&t.quadraticCurveTo(a,s+u,a,s+u-o),t.lineTo(a,s+n),0!==n&&t.quadraticCurveTo(a,s,a+n,s)}}},function(t,e,n){var i=n(5),r=i.min,o=i.max,a=i.scale,s=i.distance,l=i.add;t.exports=function(t,e,n,u){var c,h,f,d,p=[],g=[],v=[],m=[];if(u){f=[1/0,1/0],d=[-(1/0),-(1/0)];for(var y=0,x=t.length;y<x;y++)r(f,f,t[y]),o(d,d,t[y]);r(f,f,u[0]),o(d,d,u[1])}for(var y=0,x=t.length;y<x;y++){var _=t[y];if(n)c=t[y?y-1:x-1],h=t[(y+1)%x];else{if(0===y||y===x-1){p.push(i.clone(t[y]));continue}c=t[y-1],h=t[y+1]}i.sub(g,h,c),a(g,g,e);var b=s(_,c),w=s(_,h),S=b+w;0!==S&&(b/=S,w/=S),a(v,g,-b),a(m,g,w);var M=l([],_,v),A=l([],_,m);u&&(o(M,M,f),r(M,M,d),o(A,A,f),r(A,A,d)),p.push(M),p.push(A)}return n&&p.push(p.shift()),p}},function(t,e,n){function i(t,e,n,i,r,o,a){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*a+(-3*(e-n)-2*s-l)*o+s*r+e}var r=n(5);t.exports=function(t,e){for(var n=t.length,o=[],a=0,s=1;s<n;s++)a+=r.distance(t[s-1],t[s]);var l=a/2;l=l<n?n:l;for(var s=0;s<l;s++){var u,c,h,f=s/(l-1)*(e?n:n-1),d=Math.floor(f),p=f-d,g=t[d%n];e?(u=t[(d-1+n)%n],c=t[(d+1)%n],h=t[(d+2)%n]):(u=t[0===d?d:d-1],c=t[d>n-2?n-1:d+1],h=t[d>n-3?n-1:d+2]);var v=p*p,m=p*v;o.push([i(u[0],g[0],c[0],h[0],p,v,m),i(u[1],g[1],c[1],h[1],p,v,m)])}return o}},function(t,e,n){t.exports=n(15).extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)}})},function(t,e,n){"use strict";function i(t,e,n){var i=t.cpx2,r=t.cpy2;return null===i||null===r?[(n?h:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?h:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?c:l)(t.x1,t.cpx1,t.x2,e),(n?c:l)(t.y1,t.cpy1,t.y2,e)]}var r=n(26),o=n(5),a=r.quadraticSubdivide,s=r.cubicSubdivide,l=r.quadraticAt,u=r.cubicAt,c=r.quadraticDerivativeAt,h=r.cubicDerivativeAt,f=[];t.exports=n(15).extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,d=e.percent;0!==d&&(t.moveTo(n,i),null==c||null==h?(d<1&&(a(n,l,r,d,f),l=f[1],r=f[2],a(i,u,o,d,f),u=f[1],o=f[2]),t.quadraticCurveTo(l,u,r,o)):(d<1&&(s(n,l,c,r,d,f),l=f[1],c=f[2],r=f[3],s(i,u,h,o,d,f),u=f[1],h=f[2],o=f[3]),t.bezierCurveTo(l,u,c,h,r,o)))},pointAt:function(t){return i(this.shape,t,!1)},tangentAt:function(t){var e=i(this.shape,t,!0);return o.normalize(e,e)}})},function(t,e,n){"use strict";t.exports=n(15).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)}})},function(t,e,n){t.exports=n(15).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=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.percent;0!==a&&(t.moveTo(n,i),a<1&&(r=n*(1-a)+r*a,o=i*(1-a)+o*a),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]}})},function(t,e,n){var i=n(131);t.exports=n(15).extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){i.buildPath(t,e,!0)}})},function(t,e,n){var i=n(131);t.exports=n(15).extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){i.buildPath(t,e,!1)}})},function(t,e,n){var i=n(395);t.exports=n(15).extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,o=e.width,a=e.height;e.r?i.buildPath(t,e):t.rect(n,r,o,a),t.closePath()}})},function(t,e,n){t.exports=n(15).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)}})},function(t,e,n){var i=n(14),r=n(15),o=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=r.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:i.browser.ie&&i.browser.version>=11?function(){var t,e=this.__clipPaths,n=this.style;if(e)for(var i=0;i<e.length;i++){var a=e[i]&&e[i].shape;if(a&&a.startAngle===a.endAngle){for(var s=0;s<o.length;s++)o[s][2]=n[o[s][0]],n[o[s][0]]=o[s][1];t=!0;break}}if(r.prototype.brush.apply(this,arguments),t)for(var s=0;s<o.length;s++)n[o[s][0]]=o[s][2]}:r.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),c=Math.sin(a);t.moveTo(u*r+n,c*r+i),t.lineTo(u*o+n,c*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()}})},function(t,e,n){"use strict";var i=n(119),r=n(1),o=r.isString,a=r.isFunction,s=r.isObject,l=n(74),u=function(){this.animators=[]};u.prototype={constructor:u,animate:function(t,e){var n,o=!1,a=this,s=this.__zr;if(t){var u=t.split("."),c=a;o="shape"===u[0];for(var h=0,f=u.length;h<f;h++)c&&(c=c[u[h]]);c&&(n=c)}else n=a;if(!n)return void l('Property "'+t+'" is not existed in element '+a.id);var d=a.animators,p=new i(n,e);return p.during(function(t){a.dirty(o)}).done(function(){d.splice(r.indexOf(d,p),1)}),d.push(p),s&&s.animation.addAnimator(p),p},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){function s(){u--,u||r&&r()}o(n)?(r=i,i=n,n=0):a(i)?(r=i,i="linear",n=0):a(n)?(r=n,n=0):a(e)?(r=e,e=500):e||(e=500),this.stopAnimation(),this._animateToShallow("",this,t,e,n,i,r);var l=this.animators.slice(),u=l.length;u||r&&r();for(var c=0;c<l.length;c++)l[c].done(s).start(i)},_animateToShallow:function(t,e,n,i,o){var a={},l=0;for(var u in n)if(n.hasOwnProperty(u))if(null!=e[u])s(n[u])&&!r.isArrayLike(n[u])?this._animateToShallow(t?t+"."+u:u,e[u],n[u],i,o):(a[u]=n[u],l++);else if(null!=n[u])if(t){var c={};c[t]={},c[t][u]=n[u],this.attr(c)}else this.attr(u,n[u]);return l>0&&this.animate(t,!1).when(null==i?500:i,a).delay(o||0),this}},t.exports=u},function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}n.prototype={constructor:n,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(e,"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.dispatchToElement(e,"drag",t.event);var a=this.findHover(n,i,e),s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.dispatchToElement(s,"dragleave",t.event),a&&a!==s&&this.dispatchToElement(a,"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(e,"dragend",t.event),this._dropTarget&&this.dispatchToElement(this._dropTarget,"drop",t.event),this._draggingTarget=null,this._dropTarget=null}},t.exports=n},function(t,e,n){function i(t,e,n,i,r,o,a,s,l,u,c){var g=l*(p/180),y=d(g)*(t-n)/2+f(g)*(e-i)/2,x=-1*f(g)*(t-n)/2+d(g)*(e-i)/2,_=y*y/(a*a)+x*x/(s*s);_>1&&(a*=h(_),s*=h(_));var b=(r===o?-1:1)*h((a*a*(s*s)-a*a*(x*x)-s*s*(y*y))/(a*a*(x*x)+s*s*(y*y)))||0,w=b*a*x/s,S=b*-s*y/a,M=(t+n)/2+d(g)*w-f(g)*S,A=(e+i)/2+f(g)*w+d(g)*S,T=m([1,0],[(y-w)/a,(x-S)/s]),I=[(y-w)/a,(x-S)/s],C=[(-1*y-w)/a,(-1*x-S)/s],L=m(I,C);v(I,C)<=-1&&(L=p),v(I,C)>=1&&(L=0),0===o&&L>0&&(L-=2*p),1===o&&L<0&&(L+=2*p),c.addData(u,M,A,a,s,T,L,g,o)}function r(t){if(!t)return[];var e,n=t.replace(/-/g," -").replace(/  /g," ").replace(/ /g,",").replace(/,,/g,",");for(e=0;e<c.length;e++)n=n.replace(new RegExp(c[e],"g"),"|"+c[e]);var r,o=n.split("|"),a=0,l=0,u=new s,h=s.CMD;for(e=1;e<o.length;e++){var f,d=o[e],p=d.charAt(0),g=0,v=d.slice(1).replace(/e,-/g,"e-").split(",");v.length>0&&""===v[0]&&v.shift();for(var m=0;m<v.length;m++)v[m]=parseFloat(v[m]);for(;g<v.length&&!isNaN(v[g])&&!isNaN(v[0]);){var y,x,_,b,w,S,M,A=a,T=l;switch(p){case"l":a+=v[g++],l+=v[g++],f=h.L,u.addData(f,a,l);break;case"L":a=v[g++],l=v[g++],f=h.L,u.addData(f,a,l);break;case"m":a+=v[g++],l+=v[g++],f=h.M,u.addData(f,a,l),p="l";break;case"M":a=v[g++],l=v[g++],f=h.M,u.addData(f,a,l),p="L";break;case"h":a+=v[g++],f=h.L,u.addData(f,a,l);break;case"H":a=v[g++],f=h.L,u.addData(f,a,l);break;case"v":l+=v[g++],f=h.L,u.addData(f,a,l);break;case"V":l=v[g++],f=h.L,u.addData(f,a,l);break;case"C":f=h.C,u.addData(f,v[g++],v[g++],v[g++],v[g++],v[g++],v[g++]),a=v[g-2],l=v[g-1];break;case"c":f=h.C,u.addData(f,v[g++]+a,v[g++]+l,v[g++]+a,v[g++]+l,v[g++]+a,v[g++]+l),a+=v[g-2],l+=v[g-1];break;case"S":y=a,x=l;var I=u.len(),C=u.data;r===h.C&&(y+=a-C[I-4],x+=l-C[I-3]),f=h.C,A=v[g++],T=v[g++],a=v[g++],l=v[g++],u.addData(f,y,x,A,T,a,l);break;case"s":y=a,x=l;var I=u.len(),C=u.data;r===h.C&&(y+=a-C[I-4],x+=l-C[I-3]),f=h.C,A=a+v[g++],T=l+v[g++],a+=v[g++],l+=v[g++],u.addData(f,y,x,A,T,a,l);break;case"Q":A=v[g++],T=v[g++],a=v[g++],l=v[g++],f=h.Q,u.addData(f,A,T,a,l);break;case"q":A=v[g++]+a,T=v[g++]+l,a+=v[g++],l+=v[g++],f=h.Q,u.addData(f,A,T,a,l);break;case"T":y=a,x=l;var I=u.len(),C=u.data;r===h.Q&&(y+=a-C[I-4],x+=l-C[I-3]),a=v[g++],l=v[g++],f=h.Q,u.addData(f,y,x,a,l);break;case"t":y=a,x=l;var I=u.len(),C=u.data;r===h.Q&&(y+=a-C[I-4],x+=l-C[I-3]),a+=v[g++],l+=v[g++],f=h.Q,u.addData(f,y,x,a,l);break;case"A":_=v[g++],b=v[g++],w=v[g++],S=v[g++],M=v[g++],A=a,T=l,a=v[g++],l=v[g++],f=h.A,i(A,T,a,l,S,M,_,b,w,f,u);break;case"a":_=v[g++],b=v[g++],w=v[g++],S=v[g++],M=v[g++],A=a,T=l,a+=v[g++],l+=v[g++],f=h.A,i(A,T,a,l,S,M,_,b,w,f,u)}}"z"!==p&&"Z"!==p||(f=h.Z,u.addData(f)),r=f}return u.toStatic(),u}function o(t,e){var n,i=r(t);return e=e||{},e.buildPath=function(t){t.setData(i.data),n&&l(t,n);var e=t.getContext();e&&t.rebuildPath(e)},e.applyTransform=function(t){n||(n=u.create()),u.mul(n,t,n),this.dirty(!0)},e}var a=n(15),s=n(42),l=n(410),u=n(20),c=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"],h=Math.sqrt,f=Math.sin,d=Math.cos,p=Math.PI,g=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},v=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(g(t)*g(e))},m=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(v(t,e))};t.exports={createFromString:function(t,e){return new a(o(t,e))},extendFromString:function(t,e){return a.extend(o(t,e))},mergePath:function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];o.__dirty&&o.buildPath(o.path,o.shape,!0),n.push(o.path)}var s=new a(e);return s.buildPath=function(t){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e)},s}}},function(t,e,n){function i(t,e){var n,i,o,c,h,f,d=t.data,p=r.M,g=r.C,v=r.L,m=r.R,y=r.A,x=r.Q;for(o=0,c=0;o<d.length;){switch(n=d[o++],c=o,i=0,n){case p:i=1;break;case v:i=1;break;case g:i=3;break;case x:i=2;break;case y:var _=e[4],b=e[5],w=l(e[0]*e[0]+e[1]*e[1]),S=l(e[2]*e[2]+e[3]*e[3]),M=u(-e[1]/S,e[0]/w);d[o++]+=_,d[o++]+=b,d[o++]*=w,d[o++]*=S,d[o++]+=M,d[o++]+=M,o+=2,c=o;break;case m:f[0]=d[o++],f[1]=d[o++],a(f,f,e),d[c++]=f[0],d[c++]=f[1],f[0]+=d[o++],f[1]+=d[o++],a(f,f,e),d[c++]=f[0],d[c++]=f[1]}for(h=0;h<i;h++){var f=s[h];f[0]=d[o++],f[1]=d[o++],a(f,f,e),d[c++]=f[0],d[c++]=f[1]}}}var r=n(42).CMD,o=n(5),a=o.applyTransform,s=[[],[],[]],l=Math.sqrt,u=Math.atan2;t.exports=i},function(t,e,n){function i(t){return parseInt(t,10)}function r(t,e){s.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.delFromMap,o=e.addToMap;e.delFromMap=function(t){var n=e.get(t);r.call(e,t),n&&n.onRemove&&n.onRemove(i)},e.addToMap=function(t){t.onAdd&&t.onAdd(i),o.call(e,t)},this._firstPaint=!0}function o(t){return function(){a('In IE8.0 VML mode painter not support method "'+t+'"')}}var a=n(74),s=n(134);r.prototype={constructor:r,getViewportRoot:function(){return this._vmlViewport},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 t=null==t?this._getWidth():t,e=null==e?this._getHeight():e;if(this._width!=t||this._height!=e){this._width=t,this._height=e;var n=this._vmlViewport.style;n.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||i(e.width))-i(e.paddingLeft)-i(e.paddingRight)|0},_getHeight:function(){var t=this.root,e=t.currentStyle;return(t.clientHeight||i(e.height))-i(e.paddingTop)-i(e.paddingBottom)|0}};for(var l=["getLayer","insertLayer","eachLayer","eachBuildinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],u=0;u<l.length;u++){var c=l[u];r.prototype[c]=o(c)}t.exports=r},function(t,e,n){if(!n(14).canvasSupported){var i=n(5),r=n(9),o=n(42).CMD,a=n(21),s=n(25),l=n(132),u=n(54),c=n(76),h=n(130),f=n(15),d=n(55),p=n(134),g=Math.round,v=Math.sqrt,m=Math.abs,y=Math.cos,x=Math.sin,_=Math.max,b=i.applyTransform,w=",",S="progid:DXImageTransform.Microsoft",M=21600,A=M/2,T=1e5,I=1e3,C=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=M+","+M,t.coordorigin="0,0"},L=function(t){return String(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},D=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},k=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},P=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},E=function(t,e,n){return(parseFloat(t)||0)*T+(parseFloat(e)||0)*I+n},O=function(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},R=function(t,e,n){var i=a.parse(e);n=+n,isNaN(n)&&(n=1),i&&(t.color=D(i[0],i[1],i[2]),t.opacity=n*i[3])},N=function(t){var e=a.parse(t);return[D(e[0],e[1],e[2]),e[3]]},z=function(t,e,n){var i=e.fill;if(null!=i)if(i instanceof d){var r,o=0,a=[0,0],s=0,l=1,u=n.getBoundingRect(),c=u.width,h=u.height;if("linear"===i.type){r="gradient";var f=n.transform,p=[i.x*c,i.y*h],g=[i.x2*c,i.y2*h];f&&(b(p,p,f),b(g,g,f));var v=g[0]-p[0],m=g[1]-p[1];o=180*Math.atan2(v,m)/Math.PI,o<0&&(o+=360),o<1e-6&&(o=0)}else{r="gradientradial";var p=[i.x*c,i.y*h],f=n.transform,y=n.scale,x=c,w=h;a=[(p[0]-u.x)/x,(p[1]-u.y)/w],f&&b(p,p,f),x/=y[0]*M,w/=y[1]*M;var S=_(x,w);s=0/S,l=2*i.r/S-s}var A=i.colorStops.slice();A.sort(function(t,e){return t.offset-e.offset});for(var T=A.length,I=[],C=[],L=0;L<T;L++){var D=A[L],k=N(D.color);C.push(D.offset*l+s+" "+k[0]),0!==L&&L!==T-1||I.push(k)}if(T>=2){var P=I[0][0],E=I[1][0],O=I[0][1]*e.opacity,z=I[1][1]*e.opacity;t.type=r,t.method="none",t.focus="100%",t.angle=o,t.color=P,t.color2=E,t.colors=C.join(","),t.opacity=z,t.opacity2=O}"radial"===r&&(t.focusposition=a.join(","))}else R(t,i,e.opacity)},V=function(t,e){null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof d||R(t,e.stroke,e.opacity)},B=function(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 d&&P(t,o),o||(o=p.createNode(e)),r?z(o,n,i):V(o,n),k(t,o)):(t[r?"filled":"stroked"]="false",P(t,o))},F=[[],[],[]],G=function(t,e){var n,i,r,a,s,l,u=o.M,c=o.C,h=o.L,f=o.A,d=o.Q,p=[];for(a=0;a<t.length;){switch(r=t[a++],i="",n=0,r){case u:i=" m ",n=1,s=t[a++],l=t[a++],F[0][0]=s,F[0][1]=l;break;case h:i=" l ",n=1,s=t[a++],l=t[a++],F[0][0]=s,F[0][1]=l;break;case d:case c:i=" c ",n=3;var m,_,S=t[a++],T=t[a++],I=t[a++],C=t[a++];r===d?(m=I,_=C,I=(I+2*S)/3,C=(C+2*T)/3,S=(s+2*S)/3,T=(l+2*T)/3):(m=t[a++],_=t[a++]),F[0][0]=S,F[0][1]=T,F[1][0]=I,F[1][1]=C,F[2][0]=m,F[2][1]=_,s=m,l=_;break;case f:var L=0,D=0,k=1,P=1,E=0;e&&(L=e[4],D=e[5],k=v(e[0]*e[0]+e[1]*e[1]),P=v(e[2]*e[2]+e[3]*e[3]),E=Math.atan2(-e[1]/P,e[0]/k));var O=t[a++],R=t[a++],N=t[a++],z=t[a++],V=t[a++]+E,B=t[a++]+V+E;a++;var G=t[a++],H=O+y(V)*N,j=R+x(V)*z,S=O+y(B)*N,T=R+x(B)*z,W=G?" wa ":" at ";Math.abs(H-S)<1e-4&&(Math.abs(B-V)>.01?G&&(H+=.0125):Math.abs(j-R)<1e-4?G&&H<O||!G&&H>O?T-=.0125:T+=.0125:G&&j<R||!G&&j>R?S+=.0125:S-=.0125),p.push(W,g(((O-N)*k+L)*M-A),w,g(((R-z)*P+D)*M-A),w,g(((O+N)*k+L)*M-A),w,g(((R+z)*P+D)*M-A),w,g((H*k+L)*M-A),w,g((j*P+D)*M-A),w,g((S*k+L)*M-A),w,g((T*P+D)*M-A)),s=S,l=T;break;case o.R:var $=F[0],U=F[1];$[0]=t[a++],$[1]=t[a++],U[0]=$[0]+t[a++],U[1]=$[1]+t[a++],e&&(b($,$,e),b(U,U,e)),$[0]=g($[0]*M-A),U[0]=g(U[0]*M-A),$[1]=g($[1]*M-A),U[1]=g(U[1]*M-A),p.push(" m ",$[0],w,$[1]," l ",U[0],w,$[1]," l ",U[0],w,U[1]," l ",$[0],w,U[1]);
break;case o.Z:p.push(" x ")}if(n>0){p.push(i);for(var q=0;q<n;q++){var Z=F[q];e&&b(Z,Z,e),p.push(g(Z[0]*M-A),w,g(Z[1]*M-A),q<n-1?w:"")}}}return p.join("")};f.prototype.brushVML=function(t){var e=this.style,n=this._vmlEl;n||(n=p.createNode("shape"),C(n),this._vmlEl=n),B(n,"fill",e,this),B(n,"stroke",e,this);var i=this.transform,r=null!=i,o=n.getElementsByTagName("stroke")[0];if(o){var a=e.lineWidth;r&&!e.strokeNoScale&&(a*=v(m(i[0]*i[3]-i[1]*i[2]))),o.weight=a+"px"}var s=this.path;this.__dirtyPath&&(s.beginPath(),this.buildPath(s,this.shape),s.toStatic(),this.__dirtyPath=!1),n.path=G(s.data,this.transform),n.style.zIndex=E(this.zlevel,this.z,this.z2),k(t,n),null!=e.text?this.drawRectText(t,this.getBoundingRect()):this.removeRectText(t)},f.prototype.onRemove=function(t){P(t,this._vmlEl),this.removeRectText(t)},f.prototype.onAdd=function(t){k(t,this._vmlEl),this.appendRectText(t)};var H=function(t){return"object"==typeof t&&t.tagName&&"IMG"===t.tagName.toUpperCase()};c.prototype.brushVML=function(t){var e,n,i=this.style,r=i.image;if(H(r)){var o=r.src;if(o===this._imageSrc)e=this._imageWidth,n=this._imageHeight;else{var a=r.runtimeStyle,s=a.width,l=a.height;a.width="auto",a.height="auto",e=r.width,n=r.height,a.width=s,a.height=l,this._imageSrc=o,this._imageWidth=e,this._imageHeight=n}r=o}else r===this._imageSrc&&(e=this._imageWidth,n=this._imageHeight);if(r){var u=i.x||0,c=i.y||0,h=i.width,f=i.height,d=i.sWidth,m=i.sHeight,y=i.sx||0,x=i.sy||0,M=d&&m,A=this._vmlEl;A||(A=p.doc.createElement("div"),C(A),this._vmlEl=A);var T,I=A.style,L=!1,D=1,P=1;if(this.transform&&(T=this.transform,D=v(T[0]*T[0]+T[1]*T[1]),P=v(T[2]*T[2]+T[3]*T[3]),L=T[1]||T[2]),L){var O=[u,c],R=[u+h,c],N=[u,c+f],z=[u+h,c+f];b(O,O,T),b(R,R,T),b(N,N,T),b(z,z,T);var V=_(O[0],R[0],N[0],z[0]),B=_(O[1],R[1],N[1],z[1]),F=[];F.push("M11=",T[0]/D,w,"M12=",T[2]/P,w,"M21=",T[1]/D,w,"M22=",T[3]/P,w,"Dx=",g(u*D+T[4]),w,"Dy=",g(c*P+T[5])),I.padding="0 "+g(V)+"px "+g(B)+"px 0",I.filter=S+".Matrix("+F.join("")+", SizingMethod=clip)"}else T&&(u=u*D+T[4],c=c*P+T[5]),I.filter="",I.left=g(u)+"px",I.top=g(c)+"px";var G=this._imageEl,j=this._cropEl;G||(G=p.doc.createElement("div"),this._imageEl=G);var W=G.style;if(M){if(e&&n)W.width=g(D*e*h/d)+"px",W.height=g(P*n*f/m)+"px";else{var $=new Image,U=this;$.onload=function(){$.onload=null,e=$.width,n=$.height,W.width=g(D*e*h/d)+"px",W.height=g(P*n*f/m)+"px",U._imageWidth=e,U._imageHeight=n,U._imageSrc=r},$.src=r}j||(j=p.doc.createElement("div"),j.style.overflow="hidden",this._cropEl=j);var q=j.style;q.width=g((h+y*h/d)*D),q.height=g((f+x*f/m)*P),q.filter=S+".Matrix(Dx="+-y*h/d*D+",Dy="+-x*f/m*P+")",j.parentNode||A.appendChild(j),G.parentNode!=j&&j.appendChild(G)}else W.width=g(D*h)+"px",W.height=g(P*f)+"px",A.appendChild(G),j&&j.parentNode&&(A.removeChild(j),this._cropEl=null);var Z="",X=i.opacity;X<1&&(Z+=".Alpha(opacity="+g(100*X)+") "),Z+=S+".AlphaImageLoader(src="+r+", SizingMethod=scale)",W.filter=Z,A.style.zIndex=E(this.zlevel,this.z,this.z2),k(t,A),null!=i.text&&this.drawRectText(t,this.getBoundingRect())}},c.prototype.onRemove=function(t){P(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},c.prototype.onAdd=function(t){k(t,this._vmlEl),this.appendRectText(t)};var j,W="normal",$={},U=0,q=100,Z=document.createElement("div"),X=function(t){var e=$[t];if(!e){U>q&&(U=0,$={});var n,i=Z.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"},$[t]=e,U++}return e};s.measureText=function(t,e){var n=p.doc;j||(j=n.createElement("div"),j.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",p.doc.body.appendChild(j));try{j.style.font=e}catch(t){}return j.innerHTML="",j.appendChild(n.createTextNode(t)),{width:j.offsetWidth}};for(var Y=new r,J=function(t,e,n,i){var r=this.style,o=r.text;if(null!=o&&(o+=""),o){var a,l,u=r.textAlign,c=X(r.textFont),h=c.style+" "+c.variant+" "+c.weight+" "+c.size+'px "'+c.family+'"',f=r.textBaseline,d=r.textVerticalAlign;n=n||s.getBoundingRect(o,h,u,f);var v=this.transform;if(v&&!i&&(Y.copy(e),Y.applyTransform(v),e=Y),i)a=e.x,l=e.y;else{var m=r.textPosition,y=r.textDistance;if(m instanceof Array)a=e.x+O(m[0],e.width),l=e.y+O(m[1],e.height),u=u||"left",f=f||"top";else{var x=s.adjustTextPositionOnRect(m,e,n,y);a=x.x,l=x.y,u=u||x.textAlign,f=f||x.textBaseline}}if(d){switch(d){case"middle":l-=n.height/2;break;case"bottom":l-=n.height}f="top"}var _=c.size;switch(f){case"hanging":case"top":l+=_/1.75;break;case"middle":break;default:l-=_/2.25}switch(u){case"left":break;case"center":a-=n.width/2;break;case"right":a-=n.width}var S,M,A,T=p.createNode,I=this._textVmlEl;I?(A=I.firstChild,S=A.nextSibling,M=S.nextSibling):(I=T("line"),S=T("path"),M=T("textpath"),A=T("skew"),M.style["v-text-align"]="left",C(I),S.textpathok=!0,M.on=!0,I.from="0 0",I.to="1000 0.05",k(I,A),k(I,S),k(I,M),this._textVmlEl=I);var D=[a,l],P=I.style;v&&i?(b(D,D,v),A.on=!0,A.matrix=v[0].toFixed(3)+w+v[2].toFixed(3)+w+v[1].toFixed(3)+w+v[3].toFixed(3)+",0,0",A.offset=(g(D[0])||0)+","+(g(D[1])||0),A.origin="0 0",P.left="0px",P.top="0px"):(A.on=!1,P.left=g(a)+"px",P.top=g(l)+"px"),M.string=L(o);try{M.style.font=h}catch(t){}B(I,"fill",{fill:i?r.fill:r.textFill,opacity:r.opacity},this),B(I,"stroke",{stroke:i?r.stroke:r.textStroke,opacity:r.opacity,lineDash:r.lineDash},this),I.style.zIndex=E(this.zlevel,this.z,this.z2),k(t,I)}},K=function(t){P(t,this._textVmlEl),this._textVmlEl=null},Q=function(t){k(t,this._textVmlEl)},tt=[l,u,c,f,h],et=0;et<tt.length;et++){var nt=tt[et].prototype;nt.drawRectText=J,nt.removeRectText=K,nt.appendRectText=Q}h.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)},h.prototype.onRemove=function(t){this.removeRectText(t)},h.prototype.onAdd=function(t){this.appendRectText(t)}}},function(t,e,n){n(412),n(135).registerPainter("vml",n(411))}])})},function(t,e,n){"use strict";function i(t,e){t||"undefined"!=typeof console&&console.warn("[vue-router] "+e)}function r(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:i(!1,'props in "'+t.path+'" is a '+typeof e+", expecting an object, function or boolean.")}}function o(t,e){if(void 0===e&&(e={}),t){var n;try{n=a(t)}catch(t){n={}}for(var i in e)n[i]=e[i];return n}return e}function a(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),i=Pt(n.shift()),r=n.length>0?Pt(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]}),e):e}function s(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return kt(e);if(Array.isArray(n)){var i=[];return n.slice().forEach(function(t){void 0!==t&&(null===t?i.push(kt(e)):i.push(kt(e)+"="+kt(t)))}),i.join("&")}return kt(e)+"="+kt(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function l(t,e,n){var i={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:e.query||{},params:e.params||{},fullPath:c(e),matched:t?u(t):[]};return n&&(i.redirectedFrom=c(n)),Object.freeze(i)}function u(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function c(t){var e=t.path,n=t.query;void 0===n&&(n={});var i=t.hash;return void 0===i&&(i=""),(e||"/")+s(n)+i}function h(t,e){return e===Ot?t===e:!!e&&(t.path&&e.path?t.path.replace(Et,"")===e.path.replace(Et,"")&&t.hash===e.hash&&f(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&f(t.query,e.query)&&f(t.params,e.params)))}function f(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&n.every(function(n){return String(t[n])===String(e[n])})}function d(t,e){return 0===t.path.replace(Et,"/").indexOf(e.path.replace(Et,"/"))&&(!e.hash||t.hash===e.hash)&&p(t.query,e.query)}function p(t,e){for(var n in e)if(!(n in t))return!1;return!0}function g(t){if(!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.target&&t.target.getAttribute){var e=t.target.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function v(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=v(e.children)))return e}}function m(t){if(!m.installed){m.installed=!0,Tt=t,Object.defineProperty(t.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this.$root._route}}),t.mixin({beforeCreate:function(){this.$options.router&&(this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current))}}),t.component("router-view",It),t.component("router-link",zt);var e=t.config.optionMergeStrategies;e.beforeRouteEnter=e.beforeRouteLeave=e.created}}function y(t,e,n){if("/"===t.charAt(0))return t;if("?"===t.charAt(0)||"#"===t.charAt(0))return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var r=t.replace(/^\//,"").split("/"),o=0;o<r.length;o++){var a=r[o];"."!==a&&(".."===a?i.pop():i.push(a))}return""!==i[0]&&i.unshift(""),i.join("/")}function x(t){var e="",n="",i=t.indexOf("#");i>=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}function _(t){return t.replace(/\/\//g,"/")}function b(t,e,n){var i=e||Object.create(null),r=n||Object.create(null);return t.forEach(function(t){w(i,r,t)}),{pathMap:i,nameMap:r}}function w(t,e,n,i,r){var o=n.path,a=n.name,s={path:S(o,i),components:n.components||{default:n.component},instances:{},name:a,parent:i,matchAs:r,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(n){var i=r?_(r+"/"+n.path):void 0;w(t,e,n,s,i)}),void 0!==n.alias)if(Array.isArray(n.alias))n.alias.forEach(function(r){var o={path:r,children:n.children};w(t,e,o,i,s.path)});else{var l={path:n.alias,children:n.children};w(t,e,l,i,s.path)}t[s.path]||(t[s.path]=s),a&&(e[a]||(e[a]=s))}function S(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:_(e.path+"/"+t)}function M(t,e){for(var n,i=[],r=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=Ut.exec(t));){var l=n[0],u=n[1],c=n.index;if(a+=t.slice(o,c),o=c+l.length,u)a+=u[1];else{var h=t[o],f=n[2],d=n[3],p=n[4],g=n[5],v=n[6],m=n[7];a&&(i.push(a),a="");var y=null!=f&&null!=h&&h!==f,x="+"===v||"*"===v,_="?"===v||"*"===v,b=n[2]||s,w=p||g;i.push({name:d||r++,prefix:f||"",delimiter:b,optional:_,repeat:x,partial:y,asterisk:!!m,pattern:w?D(w):m?".*":"[^"+L(b)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&i.push(a),i}function A(t,e){return C(M(t,e))}function T(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function I(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function C(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"==typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,i){for(var r="",o=n||{},a=i||{},s=a.pretty?T:encodeURIComponent,l=0;l<t.length;l++){var u=t[l];if("string"!=typeof u){var c,h=o[u.name];if(null==h){if(u.optional){u.partial&&(r+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(Ft(h)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<h.length;f++){if(c=s(h[f]),!e[l].test(c))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(c)+"`");r+=(0===f?u.prefix:u.delimiter)+c}}else{if(c=u.asterisk?I(h):s(h),!e[l].test(c))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+c+'"');r+=u.prefix+c}}else r+=u}return r}}function L(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function D(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function k(t,e){return t.keys=e,t}function P(t){return t.sensitive?"":"i"}function E(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return k(t,e)}function O(t,e,n){for(var i=[],r=0;r<t.length;r++)i.push(z(t[r],e,n).source);var o=new RegExp("(?:"+i.join("|")+")",P(n));return k(o,e)}function R(t,e,n){return N(M(t,n),e,n)}function N(t,e,n){Ft(e)||(n=e||n,e=[]),n=n||{};for(var i=n.strict,r=n.end!==!1,o="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)o+=L(s);else{var l=L(s.prefix),u="(?:"+s.pattern+")";e.push(s),s.repeat&&(u+="(?:"+l+u+")*"),u=s.optional?s.partial?l+"("+u+")?":"(?:"+l+"("+u+"))?":l+"("+u+")",o+=u}}var c=L(n.delimiter||"/"),h=o.slice(-c.length)===c;return i||(o=(h?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=r?"$":i&&h?"":"(?="+c+"|$)",k(new RegExp("^"+o,P(n)),e)}function z(t,e,n){return Ft(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?E(t,e):Ft(t)?O(t,e,n):R(t,e,n)}function V(t){var e,n,i=qt[t];return i?(e=i.keys,n=i.regexp):(e=[],n=Gt(t,e),qt[t]={keys:e,regexp:n}),{keys:e,regexp:n}}function B(t,e,n){try{var i=Zt[t]||(Zt[t]=Gt.compile(t));return i(e||{},{pretty:!0})}catch(t){return""}}function F(t,e,n){var i="string"==typeof t?{path:t}:t;if(i.name||i._normalized)return i;if(!i.path&&i.params&&e){i=G({},i),i._normalized=!0;var r=G(G({},e.params),i.params);if(e.name)i.name=e.name,i.params=r;else if(e.matched){var a=e.matched[e.matched.length-1].path;i.path=B(a,r,"path "+e.path)}return i}var s=x(i.path||""),l=e&&e.path||"/",u=s.path?y(s.path,l,n||i.append):e&&e.path||"/",c=o(s.query,i.query),h=i.hash||s.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:u,query:c,hash:h}}function G(t,e){for(var n in e)t[n]=e[n];return t}function H(t){function e(t){b(t,u,c)}function n(t,e,n){var i=F(t,e),r=i.name;if(r){var o=c[r],s=V(o.path).keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof i.params&&(i.params={}),e&&"object"==typeof e.params)for(var l in e.params)!(l in i.params)&&s.indexOf(l)>-1&&(i.params[l]=e.params[l]);if(o)return i.path=B(o.path,i.params,'named route "'+r+'"'),a(o,i,n)}else if(i.path){i.params={};for(var h in u)if(j(h,i.params,i.path))return a(u[h],i,n)}return a(null,i)}function r(t,e){var r=t.redirect,o="function"==typeof r?r(l(t,e)):r;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return a(null,e);var s=o,u=s.name,h=s.path,f=e.query,d=e.hash,p=e.params;if(f=s.hasOwnProperty("query")?s.query:f,d=s.hasOwnProperty("hash")?s.hash:d,p=s.hasOwnProperty("params")?s.params:p,u){c[u];return n({_normalized:!0,name:u,query:f,hash:d,params:p},void 0,e)}if(h){var g=W(h,t),v=B(g,p,'redirect route with path "'+g+'"');return n({_normalized:!0,path:v,query:f,hash:d},void 0,e)}return i(!1,"invalid redirect option: "+JSON.stringify(o)),a(null,e)}function o(t,e,i){var r=B(i,e.params,'aliased route with path "'+i+'"'),o=n({_normalized:!0,path:r});if(o){var s=o.matched,l=s[s.length-1];return e.params=o.params,a(l,e)}return a(null,e)}function a(t,e,n){return t&&t.redirect?r(t,n||e):t&&t.matchAs?o(t,e,t.matchAs):l(t,e,n)}var s=b(t),u=s.pathMap,c=s.nameMap;return{match:n,addRoutes:e}}function j(t,e,n){var i=V(t),r=i.regexp,o=i.keys,a=n.match(r);if(!a)return!1;if(!e)return!0;for(var s=1,l=a.length;s<l;++s){var u=o[s-1],c="string"==typeof a[s]?decodeURIComponent(a[s]):a[s];u&&(e[u.name]=c)}return!0}function W(t,e){return y(t,e.parent?e.parent.path:"/",!0)}function $(){window.addEventListener("popstate",function(t){q(),t.state&&t.state.key&&et(t.state.key)})}function U(t,e,n,i){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick(function(){var t=Z(),o=r(e,n,i?t:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var s=document.querySelector(o.selector);s?t=X(s):Y(o)&&(t=J(o))}else a&&Y(o)&&(t=J(o));t&&window.scrollTo(t.x,t.y)}})}}function q(){var t=tt();t&&(Xt[t]={x:window.pageXOffset,y:window.pageYOffset})}function Z(){var t=tt();if(t)return Xt[t]}function X(t){var e=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{x:n.left-e.left,y:n.top-e.top}}function Y(t){return K(t.x)||K(t.y)}function J(t){return{x:K(t.x)?t.x:window.pageXOffset,y:K(t.y)?t.y:window.pageYOffset}}function K(t){return"number"==typeof t}function Q(){return Jt.now().toFixed(3)}function tt(){return Kt}function et(t){Kt=t}function nt(t,e){q();var n=window.history;try{e?n.replaceState({key:Kt},"",t):(Kt=Q(),n.pushState({key:Kt},"",t))}catch(n){window.location[e?"replace":"assign"](t)}}function it(t){nt(t,!0)}function rt(t,e,n){var i=function(r){r>=t.length?n():t[r]?e(t[r],function(){i(r+1)}):i(r+1)};i(0)}function ot(t){if(!t)if(Vt){var e=document.querySelector("base");t=e?e.getAttribute("href"):"/"}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function at(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n<i&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function st(t,e,n,i){var r=vt(t,function(t,i,r,o){var a=lt(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,i,r,o)}):n(a,i,r,o)});return mt(i?r.reverse():r)}function lt(t,e){return"function"!=typeof t&&(t=Tt.extend(t)),t.options[e]}function ut(t){return st(t,"beforeRouteLeave",ht,!0)}function ct(t){return st(t,"beforeRouteUpdate",ht)}function ht(t,e){return function(){return t.apply(e,arguments)}}function ft(t,e,n){return st(t,"beforeRouteEnter",function(t,i,r,o){return dt(t,r,o,e,n)})}function dt(t,e,n,i,r){return function(o,a,s){return t(o,a,function(t){s(t),"function"==typeof t&&i.push(function(){pt(t,e.instances,n,r)})})}}function pt(t,e,n,i){e[n]?t(e[n]):i()&&setTimeout(function(){pt(t,e,n,i)},16)}function gt(t){return vt(t,function(t,e,n,r){if("function"==typeof t&&!t.options)return function(e,o,a){var s=yt(function(t){n.components[r]=t,a()}),l=yt(function(t){i(!1,"Failed to resolve async component "+r+": "+t),a(!1)}),u=t(s,l);u&&"function"==typeof u.then&&u.then(s,l)}})}function vt(t,e){return mt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function mt(t){return Array.prototype.concat.apply([],t)}function yt(t){var e=!1;return function(){if(!e)return e=!0,t.apply(this,arguments)}}function xt(t){var e=window.location.pathname;return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}function _t(t){var e=xt(t);if(!/^\/#/.test(e))return window.location.replace(_(t+"/#"+e)),!0}function bt(){var t=wt();return"/"===t.charAt(0)||(Mt("/"+t),!1)}function wt(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.slice(e+1)}function St(t){window.location.hash=t}function Mt(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)}function At(t,e,n){var i="hash"===n?"#"+e:e;return t?_(t+"/"+i):i}var Tt,It={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,o=e.parent,a=e.data;a.routerView=!0;for(var s=n.name,l=o.$route,u=o._routerViewCache||(o._routerViewCache={}),c=0,h=!1;o;)o.$vnode&&o.$vnode.data.routerView&&c++,o._inactive&&(h=!0),o=o.$parent;if(a.routerViewDepth=c,h)return t(u[s],a,i);var f=l.matched[c];if(!f)return u[s]=null,t();var d=u[s]=f.components[s],p=a.hook||(a.hook={});return p.init=function(t){f.instances[s]=t.child},p.prepatch=function(t,e){f.instances[s]=e.child},p.destroy=function(t){f.instances[s]===t.child&&(f.instances[s]=void 0)},a.props=r(l,f.props&&f.props[s]),t(d,a,i)}},Ct=/[!'()*]/g,Lt=function(t){return"%"+t.charCodeAt(0).toString(16)},Dt=/%2C/g,kt=function(t){return encodeURIComponent(t).replace(Ct,Lt).replace(Dt,",")},Pt=decodeURIComponent,Et=/\/?$/,Ot=l(null,{path:"/"}),Rt=[String,Object],Nt=[String,Array],zt={name:"router-link",props:{to:{type:Rt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:Nt,default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,r=n.resolve(this.to,i,this.append),o=r.location,a=r.route,s=r.href,u={},c=this.activeClass||n.options.linkActiveClass||"router-link-active",f=o.path?l(null,o):a;u[c]=this.exact?h(i,f):d(i,f);var p=function(t){g(t)&&(e.replace?n.replace(o):n.push(o))},m={click:g};Array.isArray(this.event)?this.event.forEach(function(t){m[t]=p}):m[this.event]=p;var y={class:u};if("a"===this.tag)y.on=m,y.attrs={href:s};else{var x=v(this.$slots.default);if(x){x.isStatic=!1;var _=Tt.util.extend,b=x.data=_({},x.data);b.on=m;var w=x.data.attrs=_({},x.data.attrs);w.href=s}else y.on=m}return t(this.tag,y,this.$slots.default)}},Vt="undefined"!=typeof window,Bt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Ft=Bt,Gt=z,Ht=M,jt=A,Wt=C,$t=N,Ut=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Gt.parse=Ht,Gt.compile=jt,Gt.tokensToFunction=Wt,Gt.tokensToRegExp=$t;var qt=Object.create(null),Zt=Object.create(null),Xt=Object.create(null),Yt=Vt&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Jt=Vt&&window.performance&&window.performance.now?window.performance:Date,Kt=Q(),Qt=function(t,e){this.router=t,this.base=ot(e),this.current=Ot,this.pending=null,this.ready=!1,this.readyCbs=[]};Qt.prototype.listen=function(t){this.cb=t},Qt.prototype.onReady=function(t){this.ready?t():this.readyCbs.push(t)},Qt.prototype.transitionTo=function(t,e,n){var i=this,r=this.router.match(t,this.current);this.confirmTransition(r,function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.ready||(i.ready=!0,i.readyCbs.forEach(function(t){t(r)}))},n)},Qt.prototype.confirmTransition=function(t,e,n){var i=this,r=this.current,o=function(){n&&n()};if(h(t,r)&&t.matched.length===r.matched.length)return this.ensureURL(),o();var a=at(this.current.matched,t.matched),s=a.updated,l=a.deactivated,u=a.activated,c=[].concat(ut(l),this.router.beforeHooks,ct(s),u.map(function(t){return t.beforeEnter}),gt(u));this.pending=t;var f=function(e,n){return i.pending!==t?o():void e(t,r,function(t){t===!1?(i.ensureURL(!0),o()):"string"==typeof t||"object"==typeof t?("object"==typeof t&&t.replace?i.replace(t):i.push(t),o()):n(t)})};rt(c,f,function(){var n=[],r=function(){return i.current===t},a=ft(u,n,r);rt(a,f,function(){return i.pending!==t?o():(i.pending=null,e(t),void(i.router.app&&i.router.app.$nextTick(function(){n.forEach(function(t){return t()})})))})})},Qt.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var te=function(t){function e(e,n){var i=this;t.call(this,e,n);var r=e.options.scrollBehavior;r&&$(),window.addEventListener("popstate",function(t){i.transitionTo(xt(i.base),function(t){r&&U(e,t,i.current,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,function(t){nt(_(i.base+t.fullPath)),U(i.router,t,i.current,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,function(t){it(_(i.base+t.fullPath)),U(i.router,t,i.current,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(xt(this.base)!==this.current.fullPath){var e=_(this.base+this.current.fullPath);t?nt(e):it(e)}},e.prototype.getCurrentLocation=function(){return xt(this.base)},e}(Qt),ee=function(t){function e(e,n,i){t.call(this,e,n),i&&_t(this.base)||bt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;window.addEventListener("hashchange",function(){bt()&&t.transitionTo(wt(),function(t){Mt(t.fullPath)})})},e.prototype.push=function(t,e,n){this.transitionTo(t,function(t){St(t.fullPath),e&&e(t)},n)},e.prototype.replace=function(t,e,n){this.transitionTo(t,function(t){Mt(t.fullPath),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;wt()!==e&&(t?St(e):Mt(e))},e.prototype.getCurrentLocation=function(){return wt()},e}(Qt),ne=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,function(){e.index=n,e.updateRoute(i)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Qt),ie=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.afterHooks=[],this.matcher=H(t.routes||[]);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Yt,this.fallback&&(e="hash"),Vt||(e="abstract"),this.mode=e,e){case"history":this.history=new te(this,t.base);break;case"hash":this.history=new ee(this,t.base,this.fallback);break;case"abstract":this.history=new ne(this,t.base)}},re={currentRoute:{}};ie.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},re.currentRoute.get=function(){return this.history&&this.history.current},ie.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof te)n.transitionTo(n.getCurrentLocation());else if(n instanceof ee){var i=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},ie.prototype.beforeEach=function(t){this.beforeHooks.push(t)},ie.prototype.afterEach=function(t){this.afterHooks.push(t)},ie.prototype.onReady=function(t){this.history.onReady(t)},ie.prototype.push=function(t,e,n){this.history.push(t,e,n)},ie.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},ie.prototype.go=function(t){this.history.go(t)},ie.prototype.back=function(){this.go(-1)},ie.prototype.forward=function(){this.go(1)},ie.prototype.getMatchedComponents=function(t){var e=t?this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},ie.prototype.resolve=function(t,e,n){var i=F(t,e||this.history.current,n),r=this.match(i,e),o=r.redirectedFrom||r.fullPath,a=this.history.base,s=At(a,o,this.mode);return{location:i,route:r,href:s,normalizedTo:i,resolved:r}},ie.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Ot&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ie.prototype,re),ie.install=m,ie.version="2.2.1",Vt&&window.Vue&&window.Vue.use(ie),t.exports=ie},function(t,e,n){"use strict";(function(e){/*!
 * Vue.js v2.1.10
 * (c) 2014-2017 Evan You
 * Released under the MIT License.
 */
function n(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function i(t){var e=parseFloat(t);return isNaN(e)?t:e}function r(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function o(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function a(t,e){return ar.call(t,e)}function s(t){return"string"==typeof t||"number"==typeof t}function l(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}function u(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function c(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function h(t,e){for(var n in e)t[n]=e[n];return t}function f(t){return null!==t&&"object"==typeof t}function d(t){return fr.call(t)===dr}function p(t){for(var e={},n=0;n<t.length;n++)t[n]&&h(e,t[n]);return e}function g(){}function v(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function m(t,e){var n=f(t),i=f(e);return n&&i?JSON.stringify(t)===JSON.stringify(e):!n&&!i&&String(t)===String(e)}function y(t,e){for(var n=0;n<t.length;n++)if(m(t[n],e))return n;return-1}function x(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function _(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function b(t){if(!mr.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function w(t){return/native code/.test(t.toString())}function S(t){Pr.target&&Er.push(Pr.target),Pr.target=t}function M(){Pr.target=Er.pop()}function A(t,e){t.__proto__=e}function T(t,e,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];_(t,o,e[o])}}function I(t,e){if(f(t)){var n;return a(t,"__ob__")&&t.__ob__ instanceof Vr?n=t.__ob__:zr.shouldConvert&&!Tr()&&(Array.isArray(t)||d(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Vr(t)),e&&n&&n.vmCount++,n}}function C(t,e,n,i){var r=new Pr,o=Object.getOwnPropertyDescriptor(t,e);if(!o||o.configurable!==!1){var a=o&&o.get,s=o&&o.set,l=I(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return Pr.target&&(r.depend(),l&&l.dep.depend(),Array.isArray(e)&&k(e)),e},set:function(e){var i=a?a.call(t):n;e===i||e!==e&&i!==i||(s?s.call(t,e):n=e,l=I(e),r.notify())}})}}function L(t,e,n){if(Array.isArray(t))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(a(t,e))return void(t[e]=n);var i=t.__ob__;if(!(t._isVue||i&&i.vmCount))return i?(C(i.value,e,n),i.dep.notify(),n):void(t[e]=n)}function D(t,e){var n=t.__ob__;t._isVue||n&&n.vmCount||a(t,e)&&(delete t[e],n&&n.dep.notify())}function k(t){for(var e=void 0,n=0,i=t.length;n<i;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&k(e)}function P(t,e){if(!e)return t;for(var n,i,r,o=Object.keys(e),s=0;s<o.length;s++)n=o[s],i=t[n],r=e[n],a(t,n)?d(i)&&d(r)&&P(i,r):L(t,n,r);return t}function E(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function O(t,e){var n=Object.create(t||null);return e?h(n,e):n}function R(t){var e=t.props;if(e){var n,i,r,o={};if(Array.isArray(e))for(n=e.length;n--;)i=e[n],"string"==typeof i&&(r=lr(i),o[r]={type:null});else if(d(e))for(var a in e)i=e[a],r=lr(a),o[r]=d(i)?i:{type:i};t.props=o}}function N(t){var e=t.directives;if(e)for(var n in e){var i=e[n];"function"==typeof i&&(e[n]={bind:i,update:i})}}function z(t,e,n){function i(i){var r=Br[i]||Fr;c[i]=r(t[i],e[i],n,i)}R(e),N(e);var r=e.extends;if(r&&(t="function"==typeof r?z(t,r.options,n):z(t,r,n)),e.mixins)for(var o=0,s=e.mixins.length;o<s;o++){var l=e.mixins[o];l.prototype instanceof jt&&(l=l.options),t=z(t,l,n)}var u,c={};for(u in t)i(u);for(u in e)a(t,u)||i(u);return c}function V(t,e,n,i){if("string"==typeof n){var r=t[e];if(a(r,n))return r[n];var o=lr(n);if(a(r,o))return r[o];var s=ur(o);if(a(r,s))return r[s];var l=r[n]||r[o]||r[s];return l}}function B(t,e,n,i){var r=e[t],o=!a(n,t),s=n[t];if(H(Boolean,r.type)&&(o&&!a(r,"default")?s=!1:H(String,r.type)||""!==s&&s!==hr(t)||(s=!0)),void 0===s){s=F(i,r,t);var l=zr.shouldConvert;zr.shouldConvert=!0,I(s),zr.shouldConvert=l}return s}function F(t,e,n){if(a(e,"default")){var i=e.default;return f(i),t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t[n]?t[n]:"function"==typeof i&&e.type!==Function?i.call(t):i}}function G(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e&&e[1]}function H(t,e){if(!Array.isArray(e))return G(e)===G(t);for(var n=0,i=e.length;n<i;n++)if(G(e[n])===G(t))return!0;return!1}function j(t){return new Hr(void 0,void 0,void 0,String(t))}function W(t){var e=new Hr(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isCloned=!0,e}function $(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=W(t[n]);return e}function U(t,e,n,i,r){if(t){var o=n.$options._base;if(f(t)&&(t=o.extend(t)),"function"==typeof t){if(!t.cid)if(t.resolved)t=t.resolved;else if(t=Q(t,o,function(){n.$forceUpdate()}),!t)return;Ht(t),e=e||{};var a=tt(e,t);if(t.options.functional)return q(t,a,e,n,i);var s=e.on;e.on=e.nativeOn,t.options.abstract&&(e={}),nt(e);var l=t.options.name||r,u=new Hr("vue-component-"+t.cid+(l?"-"+l:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:a,listeners:s,tag:r,children:i});return u}}}function q(t,e,n,i,r){var o={},a=t.options.props;if(a)for(var s in a)o[s]=B(s,a,e);var l=Object.create(i),u=function(t,e,n,i){return ht(l,t,e,n,i,!0)},c=t.options.render.call(null,u,{props:o,data:n,parent:i,children:r,slots:function(){return vt(r,i)}});return c instanceof Hr&&(c.functionalContext=i,n.slot&&((c.data||(c.data={})).slot=n.slot)),c}function Z(t,e,n,i){var r=t.componentOptions,o={_isComponent:!0,parent:e,propsData:r.propsData,_componentTag:r.tag,_parentVnode:t,_parentListeners:r.listeners,_renderChildren:r.children,_parentElm:n||null,_refElm:i||null},a=t.data.inlineTemplate;return a&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new r.Ctor(o)}function X(t,e,n,i){if(!t.componentInstance||t.componentInstance._isDestroyed){var r=t.componentInstance=Z(t,Jr,n,i);r.$mount(e?t.elm:void 0,e)}else if(t.data.keepAlive){var o=t;Y(o,o)}}function Y(t,e){var n=e.componentOptions,i=e.componentInstance=t.componentInstance;i._updateFromParent(n.propsData,n.listeners,e,n.children)}function J(t){t.componentInstance._isMounted||(t.componentInstance._isMounted=!0,Mt(t.componentInstance,"mounted")),t.data.keepAlive&&(t.componentInstance._inactive=!1,Mt(t.componentInstance,"activated"))}function K(t){t.componentInstance._isDestroyed||(t.data.keepAlive?(t.componentInstance._inactive=!0,Mt(t.componentInstance,"deactivated")):t.componentInstance.$destroy())}function Q(t,e,n){if(!t.requested){t.requested=!0;var i=t.pendingCallbacks=[n],r=!0,o=function(n){if(f(n)&&(n=e.extend(n)),t.resolved=n,!r)for(var o=0,a=i.length;o<a;o++)i[o](n)},a=function(t){},s=t(o,a);return s&&"function"==typeof s.then&&!t.resolved&&s.then(o,a),r=!1,t.resolved}t.pendingCallbacks.push(n)}function tt(t,e){var n=e.options.props;if(n){var i={},r=t.attrs,o=t.props,a=t.domProps;if(r||o||a)for(var s in n){var l=hr(s);et(i,o,s,l,!0)||et(i,r,s,l)||et(i,a,s,l)}return i}}function et(t,e,n,i,r){if(e){if(a(e,n))return t[n]=e[n],r||delete e[n],!0;if(a(e,i))return t[n]=e[i],r||delete e[i],!0}return!1}function nt(t){t.hook||(t.hook={});for(var e=0;e<qr.length;e++){var n=qr[e],i=t.hook[n],r=Ur[n];t.hook[n]=i?it(r,i):r}}function it(t,e){return function(n,i,r,o){t(n,i,r,o),e(n,i,r,o)}}function rt(t,e,n,i){i+=e;var r=t.__injected||(t.__injected={});if(!r[i]){r[i]=!0;var o=t[e];o?t[e]=function(){o.apply(this,arguments),n.apply(this,arguments)}:t[e]=n}}function ot(t){var e={fn:t,invoker:function(){var t=arguments,n=e.fn;if(Array.isArray(n))for(var i=0;i<n.length;i++)n[i].apply(null,t);else n.apply(null,arguments)}};return e}function at(t,e,n,i,r){var o,a,s,l;for(o in t)a=t[o],s=e[o],l=Zr(o),a&&(s?a!==s&&(s.fn=a,t[o]=s):(a.invoker||(a=t[o]=ot(a)),n(l.name,a.invoker,l.once,l.capture)));for(o in e)t[o]||(l=Zr(o),i(l.name,e[o].invoker,l.capture))}function st(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function lt(t){return s(t)?[j(t)]:Array.isArray(t)?ut(t):void 0}function ut(t,e){var n,i,r,o=[];for(n=0;n<t.length;n++)i=t[n],null!=i&&"boolean"!=typeof i&&(r=o[o.length-1],Array.isArray(i)?o.push.apply(o,ut(i,(e||"")+"_"+n)):s(i)?r&&r.text?r.text+=String(i):""!==i&&o.push(j(i)):i.text&&r&&r.text?o[o.length-1]=j(r.text+i.text):(i.tag&&null==i.key&&null!=e&&(i.key="__vlist"+e+"_"+n+"__"),o.push(i)));return o}function ct(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function ht(t,e,n,i,r,o){return(Array.isArray(n)||s(n))&&(r=i,i=n,n=void 0),o&&(r=Yr),ft(t,e,n,i,r)}function ft(t,e,n,i,r){if(n&&n.__ob__)return $r();if(!e)return $r();Array.isArray(i)&&"function"==typeof i[0]&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),r===Yr?i=lt(i):r===Xr&&(i=st(i));var o,a;if("string"==typeof e){var s;a=vr.getTagNamespace(e),o=vr.isReservedTag(e)?new Hr(vr.parsePlatformTagName(e),n,i,void 0,void 0,t):(s=V(t.$options,"components",e))?U(s,n,t,i,e):new Hr(e,n,i,void 0,void 0,t)}else o=U(e,n,t,i);return o?(a&&dt(o,a),o):$r()}function dt(t,e){if(t.ns=e,"foreignObject"!==t.tag&&t.children)for(var n=0,i=t.children.length;n<i;n++){var r=t.children[n];r.tag&&!r.ns&&dt(r,e)}}function pt(t){t.$vnode=null,t._vnode=null,t._staticTrees=null;var e=t.$options._parentVnode,n=e&&e.context;t.$slots=vt(t.$options._renderChildren,n),t.$scopedSlots={},t._c=function(e,n,i,r){return ht(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return ht(t,e,n,i,r,!0)}}function gt(t){function e(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&r(t[i],e+"_"+i,n);else r(t,e,n)}function r(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}t.prototype.$nextTick=function(t){return Cr(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,i=e.staticRenderFns,r=e._parentVnode;if(t._isMounted)for(var o in t.$slots)t.$slots[o]=$(t.$slots[o]);r&&r.data.scopedSlots&&(t.$scopedSlots=r.data.scopedSlots),i&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=r;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(e){if(!vr.errorHandler)throw e;vr.errorHandler.call(null,e,t),a=t._vnode}return a instanceof Hr||(a=$r()),a.parent=r,a},t.prototype._s=n,t.prototype._v=j,t.prototype._n=i,t.prototype._e=$r,t.prototype._q=m,t.prototype._i=y,t.prototype._m=function(t,n){var i=this._staticTrees[t];return i&&!n?Array.isArray(i)?$(i):W(i):(i=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),e(i,"__static__"+t,!1),i)},t.prototype._o=function(t,n,i){return e(t,"__once__"+n+(i?"_"+i:""),!0),t},t.prototype._f=function(t){return V(this.$options,"filters",t,!0)||gr},t.prototype._l=function(t,e){var n,i,r,o,a;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,r=t.length;i<r;i++)n[i]=e(t[i],i);else if("number"==typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i);else if(f(t))for(o=Object.keys(t),n=new Array(o.length),i=0,r=o.length;i<r;i++)a=o[i],n[i]=e(t[a],a,i);return n},t.prototype._t=function(t,e,n,i){var r=this.$scopedSlots[t];if(r)return n=n||{},i&&h(n,i),r(n)||e;var o=this.$slots[t];return o||e},t.prototype._b=function(t,e,n,i){if(n)if(f(n)){Array.isArray(n)&&(n=p(n));for(var r in n)if("class"===r||"style"===r)t[r]=n[r];else{var o=t.attrs&&t.attrs.type,a=i||vr.mustUseProp(e,o,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={});a[r]=n[r]}}else;return t},t.prototype._k=function(t,e,n){var i=vr.keyCodes[e]||n;return Array.isArray(i)?i.indexOf(t)===-1:i!==t}}function vt(t,e){var n={};if(!t)return n;for(var i,r,o=[],a=0,s=t.length;a<s;a++)if(r=t[a],(r.context===e||r.functionalContext===e)&&r.data&&(i=r.data.slot)){var l=n[i]||(n[i]=[]);"template"===r.tag?l.push.apply(l,r.children):l.push(r)}else o.push(r);return o.length&&(1!==o.length||" "!==o[0].text&&!o[0].isComment)&&(n.default=o),n}function mt(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&_t(t,e)}function yt(t,e,n){n?Wr.$once(t,e):Wr.$on(t,e)}function xt(t,e){Wr.$off(t,e)}function _t(t,e,n){Wr=t,at(e,n||{},yt,xt,t)}function bt(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;return(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0),i},t.prototype.$once=function(t,e){function n(){i.$off(t,n),e.apply(i,arguments)}var i=this;return n.fn=e,i.$on(t,n),i},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var i=n._events[t];if(!i)return n;if(1===arguments.length)return n._events[t]=null,n;for(var r,o=i.length;o--;)if(r=i[o],r===e||r.fn===e){i.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?c(n):n;for(var i=c(arguments,1),r=0,o=n.length;r<o;r++)n[r].apply(e,i)}return e}}function wt(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function St(t){t.prototype._mount=function(t,e){var n=this;return n.$el=t,n.$options.render||(n.$options.render=$r),Mt(n,"beforeMount"),n._watcher=new ro(n,function(){n._update(n._render(),e)},g),e=!1,null==n.$vnode&&(n._isMounted=!0,Mt(n,"mounted")),n},t.prototype._update=function(t,e){var n=this;n._isMounted&&Mt(n,"beforeUpdate");var i=n.$el,r=n._vnode,o=Jr;Jr=n,n._vnode=t,r?n.$el=n.__patch__(r,t):n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),Jr=o,i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype._updateFromParent=function(t,e,n,i){var r=this,o=!(!r.$options._renderChildren&&!i);if(r.$options._parentVnode=n,r.$vnode=n,r._vnode&&(r._vnode.parent=n),r.$options._renderChildren=i,t&&r.$options.props){zr.shouldConvert=!1;for(var a=r.$options._propKeys||[],s=0;s<a.length;s++){var l=a[s];r[l]=B(l,r.$options.props,t,r)}zr.shouldConvert=!0,r.$options.propsData=t}if(e){var u=r.$options._parentListeners;r.$options._parentListeners=e,_t(r,e,u)}o&&(r.$slots=vt(i,n.context),r.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Mt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||o(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,Mt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.__patch__(t._vnode,null)}}}function Mt(t,e){var n=t.$options[e];if(n)for(var i=0,r=n.length;i<r;i++)n[i].call(t);t._hasHookEvent&&t.$emit("hook:"+e)}function At(){Kr.length=0,Qr={},to=eo=!1}function Tt(){eo=!0;var t,e,n;for(Kr.sort(function(t,e){return t.id-e.id}),no=0;no<Kr.length;no++)t=Kr[no],e=t.id,Qr[e]=null,t.run();for(no=Kr.length;no--;)t=Kr[no],n=t.vm,n._watcher===t&&n._isMounted&&Mt(n,"updated");Ir&&vr.devtools&&Ir.emit("flush"),At()}function It(t){var e=t.id;if(null==Qr[e]){if(Qr[e]=!0,eo){for(var n=Kr.length-1;n>=0&&Kr[n].id>t.id;)n--;Kr.splice(Math.max(n,no)+1,0,t)}else Kr.push(t);to||(to=!0,Cr(Tt))}}function Ct(t){oo.clear(),Lt(t,oo)}function Lt(t,e){var n,i,r=Array.isArray(t);if((r||f(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(r)for(n=t.length;n--;)Lt(t[n],e);else for(i=Object.keys(t),n=i.length;n--;)Lt(t[i[n]],e)}}function Dt(t){t._watchers=[];var e=t.$options;e.props&&kt(t,e.props),e.methods&&Rt(t,e.methods),e.data?Pt(t):I(t._data={},!0),e.computed&&Et(t,e.computed),e.watch&&Nt(t,e.watch)}function kt(t,e){var n=t.$options.propsData||{},i=t.$options._propKeys=Object.keys(e),r=!t.$parent;zr.shouldConvert=r;for(var o=function(r){var o=i[r];C(t,o,B(o,e,n,t))},a=0;a<i.length;a++)o(a);zr.shouldConvert=!0}function Pt(t){var e=t.$options.data;e=t._data="function"==typeof e?e.call(t):e||{},d(e)||(e={});for(var n=Object.keys(e),i=t.$options.props,r=n.length;r--;)i&&a(i,n[r])||Bt(t,n[r]);I(e,!0)}function Et(t,e){for(var n in e){var i=e[n];"function"==typeof i?(ao.get=Ot(i,t),ao.set=g):(ao.get=i.get?i.cache!==!1?Ot(i.get,t):u(i.get,t):g,ao.set=i.set?u(i.set,t):g),Object.defineProperty(t,n,ao)}}function Ot(t,e){var n=new ro(e,t,g,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Pr.target&&n.depend(),n.value}}function Rt(t,e){for(var n in e)t[n]=null==e[n]?g:u(e[n],t)}function Nt(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)zt(t,n,i[r]);else zt(t,n,i)}}function zt(t,e,n){var i;d(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}function Vt(t){var e={};e.get=function(){return this._data},Object.defineProperty(t.prototype,"$data",e),t.prototype.$set=L,t.prototype.$delete=D,t.prototype.$watch=function(t,e,n){var i=this;n=n||{},n.user=!0;var r=new ro(i,t,e,n);return n.immediate&&e.call(i,r.value),function(){r.teardown()}}}function Bt(t,e){x(e)||Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}function Ft(t){t.prototype._init=function(t){var e=this;e._uid=so++,e._isVue=!0,t&&t._isComponent?Gt(e,t):e.$options=z(Ht(e.constructor),t||{},e),e._renderProxy=e,e._self=e,wt(e),mt(e),pt(e),Mt(e,"beforeCreate"),Dt(e),Mt(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Gt(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Ht(t){var e=t.options;if(t.super){var n=t.super.options,i=t.superOptions,r=t.extendOptions;n!==i&&(t.superOptions=n,r.render=e.render,r.staticRenderFns=e.staticRenderFns,r._scopeId=e._scopeId,e=t.options=z(n,r),e.name&&(e.components[e.name]=t))}return e}function jt(t){this._init(t)}function Wt(t){t.use=function(t){if(!t.installed){var e=c(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}}}function $t(t){t.mixin=function(t){this.options=z(this.options,t)}}function Ut(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=z(n.options,t),a.super=n,a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,vr._assetTypes.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,r[i]=a,a}}function qt(t){vr._assetTypes.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&d(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Zt(t){return t&&(t.Ctor.options.name||t.tag)}function Xt(t,e){return"string"==typeof t?t.split(",").indexOf(e)>-1:t.test(e)}function Yt(t,e){for(var n in t){var i=t[n];if(i){var r=Zt(i.componentOptions);r&&!e(r)&&(Jt(i),t[n]=null)}}}function Jt(t){t&&(t.componentInstance._inactive||Mt(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function Kt(t){var e={};e.get=function(){return vr},Object.defineProperty(t,"config",e),t.util=Gr,t.set=L,t.delete=D,t.nextTick=Cr,t.options=Object.create(null),vr._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,h(t.options.components,co),Wt(t),$t(t),Ut(t),qt(t)}function Qt(t){for(var e=t.data,n=t,i=t;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(e=te(i.data,e));for(;n=n.parent;)n.data&&(e=te(e,n.data));return ee(e)}function te(t,e){return{staticClass:ne(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function ee(t){var e=t.class,n=t.staticClass;return n||e?ne(n,ie(e)):""}function ne(t,e){return t?e?t+" "+e:t:e||""}function ie(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,i=0,r=t.length;i<r;i++)t[i]&&(n=ie(t[i]))&&(e+=n+" ");return e.slice(0,-1)}if(f(t)){for(var o in t)t[o]&&(e+=o+" ");return e.slice(0,-1)}return e}function re(t){return Mo(t)?"svg":"math"===t?"math":void 0}function oe(t){if(!xr)return!0;if(To(t))return!1;if(t=t.toLowerCase(),null!=Io[t])return Io[t];var e=document.createElement(t);return t.indexOf("-")>-1?Io[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Io[t]=/HTMLUnknownElement/.test(e.toString())}function ae(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function se(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&"multiple"in e.data.attrs&&n.setAttribute("multiple","multiple"),n)}function le(t,e){return document.createElementNS(wo[t],e)}function ue(t){return document.createTextNode(t)}function ce(t){return document.createComment(t)}function he(t,e,n){t.insertBefore(e,n)}function fe(t,e){t.removeChild(e)}function de(t,e){t.appendChild(e)}function pe(t){return t.parentNode}function ge(t){return t.nextSibling}function ve(t){return t.tagName}function me(t,e){t.textContent=e}function ye(t,e,n){t.setAttribute(e,n)}function xe(t,e){var n=t.data.ref;if(n){var i=t.context,r=t.componentInstance||t.elm,a=i.$refs;e?Array.isArray(a[n])?o(a[n],r):a[n]===r&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(r)<0?a[n].push(r):a[n]=[r]:a[n]=r}}function _e(t){return null==t}function be(t){return null!=t}function we(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function Se(t,e,n){var i,r,o={};for(i=e;i<=n;++i)r=t[i].key,be(r)&&(o[r]=i);return o}function Me(t){function e(t){return new Hr(I.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0===--n.listeners&&i(t)}return n.listeners=e,n}function i(t){var e=I.parentNode(t);e&&I.removeChild(e,t)}function o(t,e,n,i,r){if(t.isRootInsert=!r,!a(t,e,n,i)){var o=t.data,s=t.children,l=t.tag;be(l)?(t.elm=t.ns?I.createElementNS(t.ns,l):I.createElement(l,t),p(t),h(t,s,e),be(o)&&d(t,e),c(n,t.elm,i)):t.isComment?(t.elm=I.createComment(t.text),c(n,t.elm,i)):(t.elm=I.createTextNode(t.text),c(n,t.elm,i))}}function a(t,e,n,i){var r=t.data;if(be(r)){var o=be(t.componentInstance)&&r.keepAlive;if(be(r=r.hook)&&be(r=r.init)&&r(t,!1,n,i),be(t.componentInstance))return l(t,e),o&&u(t,e,n,i),!0}}function l(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.componentInstance.$el,f(t)?(d(t,e),p(t)):(xe(t),e.push(t))}function u(t,e,n,i){for(var r,o=t;o.componentInstance;)if(o=o.componentInstance._vnode,be(r=o.data)&&be(r=r.transition)){for(r=0;r<A.activate.length;++r)A.activate[r](Do,o);e.push(o);break}c(n,t.elm,i)}function c(t,e,n){t&&(n?I.insertBefore(t,e,n):I.appendChild(t,e))}function h(t,e,n){if(Array.isArray(e))for(var i=0;i<e.length;++i)o(e[i],n,t.elm,null,!0);else s(t.text)&&I.appendChild(t.elm,I.createTextNode(t.text))}function f(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return be(t.tag)}function d(t,e){for(var n=0;n<A.create.length;++n)A.create[n](Do,t);S=t.data.hook,be(S)&&(S.create&&S.create(Do,t),S.insert&&e.push(t))}function p(t){var e;be(e=t.context)&&be(e=e.$options._scopeId)&&I.setAttribute(t.elm,e,""),be(e=Jr)&&e!==t.context&&be(e=e.$options._scopeId)&&I.setAttribute(t.elm,e,"")}function g(t,e,n,i,r,a){for(;i<=r;++i)o(n[i],a,t,e)}function v(t){var e,n,i=t.data;if(be(i))for(be(e=i.hook)&&be(e=e.destroy)&&e(t),e=0;e<A.destroy.length;++e)A.destroy[e](t);if(be(e=t.children))for(n=0;n<t.children.length;++n)v(t.children[n])}function m(t,e,n,r){for(;n<=r;++n){var o=e[n];be(o)&&(be(o.tag)?(y(o),v(o)):i(o.elm))}}function y(t,e){if(e||be(t.data)){var r=A.remove.length+1;for(e?e.listeners+=r:e=n(t.elm,r),be(S=t.componentInstance)&&be(S=S._vnode)&&be(S.data)&&y(S,e),S=0;S<A.remove.length;++S)A.remove[S](t,e);be(S=t.data.hook)&&be(S=S.remove)?S(t,e):e()}else i(t.elm)}function x(t,e,n,i,r){for(var a,s,l,u,c=0,h=0,f=e.length-1,d=e[0],p=e[f],v=n.length-1,y=n[0],x=n[v],b=!r;c<=f&&h<=v;)_e(d)?d=e[++c]:_e(p)?p=e[--f]:we(d,y)?(_(d,y,i),d=e[++c],y=n[++h]):we(p,x)?(_(p,x,i),p=e[--f],x=n[--v]):we(d,x)?(_(d,x,i),b&&I.insertBefore(t,d.elm,I.nextSibling(p.elm)),d=e[++c],x=n[--v]):we(p,y)?(_(p,y,i),b&&I.insertBefore(t,p.elm,d.elm),p=e[--f],y=n[++h]):(_e(a)&&(a=Se(e,c,f)),s=be(y.key)?a[y.key]:null,_e(s)?(o(y,i,t,d.elm),y=n[++h]):(l=e[s],we(l,y)?(_(l,y,i),e[s]=void 0,b&&I.insertBefore(t,y.elm,d.elm),y=n[++h]):(o(y,i,t,d.elm),y=n[++h])));c>f?(u=_e(n[v+1])?null:n[v+1].elm,g(t,u,n,h,v,i)):h>v&&m(t,e,c,f)}function _(t,e,n,i){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&(e.isCloned||e.isOnce))return e.elm=t.elm,void(e.componentInstance=t.componentInstance);var r,o=e.data,a=be(o);a&&be(r=o.hook)&&be(r=r.prepatch)&&r(t,e);var s=e.elm=t.elm,l=t.children,u=e.children;if(a&&f(e)){for(r=0;r<A.update.length;++r)A.update[r](t,e);be(r=o.hook)&&be(r=r.update)&&r(t,e)}_e(e.text)?be(l)&&be(u)?l!==u&&x(s,l,u,n,i):be(u)?(be(t.text)&&I.setTextContent(s,""),g(s,null,u,0,u.length-1,n)):be(l)?m(s,l,0,l.length-1):be(t.text)&&I.setTextContent(s,""):t.text!==e.text&&I.setTextContent(s,e.text),a&&be(r=o.hook)&&be(r=r.postpatch)&&r(t,e)}}function b(t,e,n){if(n&&t.parent)t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}function w(t,e,n){e.elm=t;var i=e.tag,r=e.data,o=e.children;if(be(r)&&(be(S=r.hook)&&be(S=S.init)&&S(e,!0),be(S=e.componentInstance)))return l(e,n),!0;if(be(i)){if(be(o))if(t.hasChildNodes()){for(var a=!0,s=t.firstChild,u=0;u<o.length;u++){if(!s||!w(s,o[u],n)){a=!1;break}s=s.nextSibling}if(!a||s)return!1}else h(e,o,n);if(be(r))for(var c in r)if(!C(c)){d(e,n);break}}else t.data!==e.text&&(t.data=e.text);return!0}var S,M,A={},T=t.modules,I=t.nodeOps;for(S=0;S<ko.length;++S)for(A[ko[S]]=[],M=0;M<T.length;++M)void 0!==T[M][ko[S]]&&A[ko[S]].push(T[M][ko[S]]);var C=r("attrs,style,class,staticClass,staticStyle,key");return function(t,n,i,r,a,s){if(!n)return void(t&&v(t));var l=!1,u=[];if(t){var c=be(t.nodeType);if(!c&&we(t,n))_(t,n,u,r);else{if(c){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),i=!0),i&&w(t,n,u))return b(n,u,!0),t;t=e(t)}var h=t.elm,d=I.parentNode(h);if(o(n,u,h._leaveCb?null:d,I.nextSibling(h)),n.parent){for(var p=n.parent;p;)p.elm=n.elm,p=p.parent;if(f(n))for(var g=0;g<A.create.length;++g)A.create[g](Do,n.parent)}null!==d?m(d,[t],0,0):be(t.tag)&&v(t)}}else l=!0,o(n,u,a,s);return b(n,u,l),n.elm}}function Ae(t,e){(t.data.directives||e.data.directives)&&Te(t,e)}function Te(t,e){var n,i,r,o=t===Do,a=e===Do,s=Ie(t.data.directives,t.context),l=Ie(e.data.directives,e.context),u=[],c=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,Le(r,"update",e,t),r.def&&r.def.componentUpdated&&c.push(r)):(Le(r,"bind",e,t),r.def&&r.def.inserted&&u.push(r));if(u.length){var h=function(){for(var n=0;n<u.length;n++)Le(u[n],"inserted",e,t)};o?rt(e.data.hook||(e.data.hook={}),"insert",h,"dir-insert"):h()}if(c.length&&rt(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<c.length;n++)Le(c[n],"componentUpdated",e,t)},"dir-postpatch"),!o)for(n in s)l[n]||Le(s[n],"unbind",t,t,a)}function Ie(t,e){var n=Object.create(null);if(!t)return n;var i,r;for(i=0;i<t.length;i++)r=t[i],r.modifiers||(r.modifiers=Eo),n[Ce(r)]=r,r.def=V(e.$options,"directives",r.name,!0);return n}function Ce(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Le(t,e,n,i,r){var o=t.def&&t.def[e];o&&o(n.elm,t,n,i,r)}function De(t,e){if(t.data.attrs||e.data.attrs){var n,i,r,o=e.elm,a=t.data.attrs||{},s=e.data.attrs||{};s.__ob__&&(s=e.data.attrs=h({},s));for(n in s)i=s[n],r=a[n],r!==i&&ke(o,n,i);wr&&s.value!==a.value&&ke(o,"value",s.value);for(n in a)null==s[n]&&(xo(n)?o.removeAttributeNS(yo,_o(n)):vo(n)||o.removeAttribute(n))}}function ke(t,e,n){mo(e)?bo(n)?t.removeAttribute(e):t.setAttribute(e,e):vo(e)?t.setAttribute(e,bo(n)||"false"===n?"false":"true"):xo(e)?bo(n)?t.removeAttributeNS(yo,_o(e)):t.setAttributeNS(yo,e,n):bo(n)?t.removeAttribute(e):t.setAttribute(e,n)}function Pe(t,e){var n=e.elm,i=e.data,r=t.data;if(i.staticClass||i.class||r&&(r.staticClass||r.class)){var o=Qt(e),a=n._transitionClasses;a&&(o=ne(o,ie(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}function Ee(t,e,n,i){if(n){var r=e,o=ho;e=function(n){Oe(t,e,i,o),1===arguments.length?r(n):r.apply(null,arguments)}}ho.addEventListener(t,e,i)}function Oe(t,e,n,i){(i||ho).removeEventListener(t,e,n)}function Re(t,e){if(t.data.on||e.data.on){var n=e.data.on||{},i=t.data.on||{};ho=e.elm,at(n,i,Ee,Oe,e.context)}}function Ne(t,e){if(t.data.domProps||e.data.domProps){var n,i,r=e.elm,o=t.data.domProps||{},a=e.data.domProps||{};a.__ob__&&(a=e.data.domProps=h({},a));for(n in o)null==a[n]&&(r[n]="");for(n in a)if(i=a[n],"textContent"!==n&&"innerHTML"!==n||(e.children&&(e.children.length=0),i!==o[n]))if("value"===n){r._value=i;var s=null==i?"":String(i);ze(r,e,s)&&(r.value=s)}else r[n]=i}}function ze(t,e,n){return!t.composing&&("option"===e.tag||Ve(t,n)||Be(e,n))}function Ve(t,e){return document.activeElement!==t&&t.value!==e}function Be(t,e){var n=t.elm.value,r=t.elm._vModifiers;return r&&r.number||"number"===t.elm.type?i(n)!==i(e):r&&r.trim?n.trim()!==e.trim():n!==e}function Fe(t){var e=Ge(t.style);return t.staticStyle?h(t.staticStyle,e):e}function Ge(t){return Array.isArray(t)?p(t):"string"==typeof t?Bo(t):t}function He(t,e){var n,i={};if(e)for(var r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(n=Fe(r.data))&&h(i,n);(n=Fe(t.data))&&h(i,n);for(var o=t;o=o.parent;)o.data&&(n=Fe(o.data))&&h(i,n);return i}function je(t,e){var n=e.data,i=t.data;if(n.staticStyle||n.style||i.staticStyle||i.style){var r,o,a=e.elm,s=t.data.staticStyle,l=t.data.style||{},u=s||l,c=Ge(e.data.style)||{};e.data.style=c.__ob__?h({},c):c;var f=He(e,!0);for(o in u)null==f[o]&&Ho(a,o,"");for(o in f)r=f[o],r!==u[o]&&Ho(a,o,null==r?"":r)}}function We(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+t.getAttribute("class")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function $e(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");t.setAttribute("class",n.trim())}}function Ue(t){Qo(function(){Qo(t)})}function qe(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),We(t,e)}function Ze(t,e){t._transitionClasses&&o(t._transitionClasses,e),$e(t,e)}function Xe(t,e,n){var i=Ye(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===qo?Yo:Ko,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout(function(){l<a&&u()},o+1),t.addEventListener(s,c)}function Ye(t,e){var n,i=window.getComputedStyle(t),r=i[Xo+"Delay"].split(", "),o=i[Xo+"Duration"].split(", "),a=Je(r,o),s=i[Jo+"Delay"].split(", "),l=i[Jo+"Duration"].split(", "),u=Je(s,l),c=0,h=0;e===qo?a>0&&(n=qo,c=a,h=o.length):e===Zo?u>0&&(n=Zo,c=u,h=l.length):(c=Math.max(a,u),n=c>0?a>u?qo:Zo:null,h=n?n===qo?o.length:l.length:0);var f=n===qo&&ta.test(i[Xo+"Property"]);return{type:n,timeout:c,propCount:h,hasTransform:f}}function Je(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Ke(e)+Ke(t[n])}))}function Ke(t){return 1e3*Number(t.slice(0,-1))}function Qe(t,e){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,
n._leaveCb());var i=en(t.data.transition);if(i&&!n._enterCb&&1===n.nodeType){for(var r=i.css,o=i.type,a=i.enterClass,s=i.enterToClass,l=i.enterActiveClass,u=i.appearClass,c=i.appearToClass,h=i.appearActiveClass,f=i.beforeEnter,d=i.enter,p=i.afterEnter,g=i.enterCancelled,v=i.beforeAppear,m=i.appear,y=i.afterAppear,x=i.appearCancelled,_=Jr,b=Jr.$vnode;b&&b.parent;)b=b.parent,_=b.context;var w=!_._isMounted||!t.isRootInsert;if(!w||m||""===m){var S=w?u:a,M=w?h:l,A=w?c:s,T=w?v||f:f,I=w&&"function"==typeof m?m:d,C=w?y||p:p,L=w?x||g:g,D=r!==!1&&!wr,k=I&&(I._length||I.length)>1,P=n._enterCb=nn(function(){D&&(Ze(n,A),Ze(n,M)),P.cancelled?(D&&Ze(n,S),L&&L(n)):C&&C(n),n._enterCb=null});t.data.show||rt(t.data.hook||(t.data.hook={}),"insert",function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),I&&I(n,P)},"transition-insert"),T&&T(n),D&&(qe(n,S),qe(n,M),Ue(function(){qe(n,A),Ze(n,S),P.cancelled||k||Xe(n,o,P)})),t.data.show&&(e&&e(),I&&I(n,P)),D||k||P()}}}function tn(t,e){function n(){m.cancelled||(t.data.show||((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),c&&c(i),g&&(qe(i,s),qe(i,u),Ue(function(){qe(i,l),Ze(i,s),m.cancelled||v||Xe(i,a,m)})),h&&h(i,m),g||v||m())}var i=t.elm;i._enterCb&&(i._enterCb.cancelled=!0,i._enterCb());var r=en(t.data.transition);if(!r)return e();if(!i._leaveCb&&1===i.nodeType){var o=r.css,a=r.type,s=r.leaveClass,l=r.leaveToClass,u=r.leaveActiveClass,c=r.beforeLeave,h=r.leave,f=r.afterLeave,d=r.leaveCancelled,p=r.delayLeave,g=o!==!1&&!wr,v=h&&(h._length||h.length)>1,m=i._leaveCb=nn(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),g&&(Ze(i,l),Ze(i,u)),m.cancelled?(g&&Ze(i,s),d&&d(i)):(e(),f&&f(i)),i._leaveCb=null});p?p(n):n()}}function en(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&h(e,ea(t.name||"v")),h(e,t),e}return"string"==typeof t?ea(t):void 0}}function nn(t){var e=!1;return function(){e||(e=!0,t())}}function rn(t,e){e.data.show||Qe(e)}function on(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],r)o=y(i,sn(a))>-1,a.selected!==o&&(a.selected=o);else if(m(sn(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function an(t,e){for(var n=0,i=e.length;n<i;n++)if(m(sn(e[n]),t))return!1;return!0}function sn(t){return"_value"in t?t._value:t.value}function ln(t){t.target.composing=!0}function un(t){t.target.composing=!1,cn(t.target,"input")}function cn(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function hn(t){return!t.componentInstance||t.data&&t.data.transition?t:hn(t.componentInstance._vnode)}function fn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?fn(ct(e.children)):t}function dn(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[lr(o)]=r[o].fn;return e}function pn(t,e){return/\d-keep-alive$/.test(e.tag)?t("keep-alive"):null}function gn(t){for(;t=t.parent;)if(t.data.transition)return!0}function vn(t,e){return e.key===t.key&&e.tag===t.tag}function mn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function yn(t){t.data.newPos=t.elm.getBoundingClientRect()}function xn(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}function _n(t,e){var n=document.createElement("div");return n.innerHTML='<div a="'+t+'">',n.innerHTML.indexOf(e)>0}function bn(t){return pa=pa||document.createElement("div"),pa.innerHTML=t,pa.textContent}function wn(t,e){return e&&(t=t.replace(ss,"\n")),t.replace(os,"<").replace(as,">").replace(ls,"&").replace(us,'"')}function Sn(t,e){function n(e){h+=e,t=t.substring(e)}function i(){var e=t.match(Aa);if(e){var i={tagName:e[1],attrs:[],start:h};n(e[0].length);for(var r,o;!(r=t.match(Ta))&&(o=t.match(wa));)n(o[0].length),i.attrs.push(o);if(r)return i.unarySlash=r[1],n(r[0].length),i.end=h,i}}function r(t){var n=t.tagName,i=t.unarySlash;u&&("p"===s&&ya(n)&&o(s),ma(n)&&s===n&&o(n));for(var r=c(n)||"html"===n&&"head"===s||!!i,a=t.attrs.length,h=new Array(a),f=0;f<a;f++){var d=t.attrs[f];ka&&d[0].indexOf('""')===-1&&(""===d[3]&&delete d[3],""===d[4]&&delete d[4],""===d[5]&&delete d[5]);var p=d[3]||d[4]||d[5]||"";h[f]={name:d[1],value:wn(p,e.shouldDecodeNewlines)}}r||(l.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h}),s=n,i=""),e.start&&e.start(n,h,r,t.start,t.end)}function o(t,n,i){var r,o;if(null==n&&(n=h),null==i&&(i=h),t&&(o=t.toLowerCase()),t)for(r=l.length-1;r>=0&&l[r].lowerCasedTag!==o;r--);else r=0;if(r>=0){for(var a=l.length-1;a>=r;a--)e.end&&e.end(l[a].tag,n,i);l.length=r,s=r&&l[r-1].tag}else"br"===o?e.start&&e.start(t,[],!0,n,i):"p"===o&&(e.start&&e.start(t,[],!1,n,i),e.end&&e.end(t,n,i))}for(var a,s,l=[],u=e.expectHTML,c=e.isUnaryTag||pr,h=0;t;){if(a=t,s&&is(s)){var f=s.toLowerCase(),d=rs[f]||(rs[f]=new RegExp("([\\s\\S]*?)(</"+f+"[^>]*>)","i")),p=0,g=t.replace(d,function(t,n,i){return p=i.length,"script"!==f&&"style"!==f&&"noscript"!==f&&(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),e.chars&&e.chars(n),""});h+=t.length-g.length,t=g,o(f,h-p,h)}else{var v=t.indexOf("<");if(0===v){if(La.test(t)){var m=t.indexOf("-->");if(m>=0){n(m+3);continue}}if(Da.test(t)){var y=t.indexOf("]>");if(y>=0){n(y+2);continue}}var x=t.match(Ca);if(x){n(x[0].length);continue}var _=t.match(Ia);if(_){var b=h;n(_[0].length),o(_[1],b,h);continue}var w=i();if(w){r(w);continue}}var S=void 0,M=void 0,A=void 0;if(v>0){for(M=t.slice(v);!(Ia.test(M)||Aa.test(M)||La.test(M)||Da.test(M)||(A=M.indexOf("<",1),A<0));)v+=A,M=t.slice(v);S=t.substring(0,v),n(v)}v<0&&(S=t,t=""),e.chars&&S&&e.chars(S)}if(t===a&&e.chars){e.chars(t);break}}o()}function Mn(t){function e(){(a||(a=[])).push(t.slice(p,r).trim()),p=r+1}var n,i,r,o,a,s=!1,l=!1,u=!1,c=!1,h=0,f=0,d=0,p=0;for(r=0;r<t.length;r++)if(i=n,n=t.charCodeAt(r),s)39===n&&92!==i&&(s=!1);else if(l)34===n&&92!==i&&(l=!1);else if(u)96===n&&92!==i&&(u=!1);else if(c)47===n&&92!==i&&(c=!1);else if(124!==n||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||h||f||d){switch(n){case 34:l=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:h++;break;case 125:h--}if(47===n){for(var g=r-1,v=void 0;g>=0&&(v=t.charAt(g)," "===v);g--);v&&/[\w$]/.test(v)||(c=!0)}}else void 0===o?(p=r+1,o=t.slice(0,r).trim()):e();if(void 0===o?o=t.slice(0,r).trim():0!==p&&e(),a)for(r=0;r<a.length;r++)o=An(o,a[r]);return o}function An(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var i=e.slice(0,n),r=e.slice(n+1);return'_f("'+i+'")('+t+","+r}function Tn(t,e){var n=e?fs(e):cs;if(n.test(t)){for(var i,r,o=[],a=n.lastIndex=0;i=n.exec(t);){r=i.index,r>a&&o.push(JSON.stringify(t.slice(a,r)));var s=Mn(i[1].trim());o.push("_s("+s+")"),a=r+i[0].length}return a<t.length&&o.push(JSON.stringify(t.slice(a))),o.join("+")}}function In(t){console.error("[Vue parser]: "+t)}function Cn(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function Ln(t,e,n){(t.props||(t.props=[])).push({name:e,value:n})}function Dn(t,e,n){(t.attrs||(t.attrs=[])).push({name:e,value:n})}function kn(t,e,n,i,r,o){(t.directives||(t.directives=[])).push({name:e,rawName:n,value:i,arg:r,modifiers:o})}function Pn(t,e,n,i,r){i&&i.capture&&(delete i.capture,e="!"+e),i&&i.once&&(delete i.once,e="~"+e);var o;i&&i.native?(delete i.native,o=t.nativeEvents||(t.nativeEvents={})):o=t.events||(t.events={});var a={value:n,modifiers:i},s=o[e];Array.isArray(s)?r?s.unshift(a):s.push(a):s?o[e]=r?[a,s]:[s,a]:o[e]=a}function En(t,e,n){var i=On(t,":"+e)||On(t,"v-bind:"+e);if(null!=i)return Mn(i);if(n!==!1){var r=On(t,e);if(null!=r)return JSON.stringify(r)}}function On(t,e){var n;if(null!=(n=t.attrsMap[e]))for(var i=t.attrsList,r=0,o=i.length;r<o;r++)if(i[r].name===e){i.splice(r,1);break}return n}function Rn(t){if(Ea=t,Pa=Ea.length,Ra=Na=za=0,t.indexOf("[")<0||t.lastIndexOf("]")<Pa-1)return{exp:t,idx:null};for(;!zn();)Oa=Nn(),Vn(Oa)?Fn(Oa):91===Oa&&Bn(Oa);return{exp:t.substring(0,Na),idx:t.substring(Na+1,za)}}function Nn(){return Ea.charCodeAt(++Ra)}function zn(){return Ra>=Pa}function Vn(t){return 34===t||39===t}function Bn(t){var e=1;for(Na=Ra;!zn();)if(t=Nn(),Vn(t))Fn(t);else if(91===t&&e++,93===t&&e--,0===e){za=Ra;break}}function Fn(t){for(var e=t;!zn()&&(t=Nn(),t!==e););}function Gn(t,e){Va=e.warn||In,Ba=e.getTagNamespace||pr,Fa=e.mustUseProp||pr,Ga=e.isPreTag||pr,Ha=Cn(e.modules,"preTransformNode"),ja=Cn(e.modules,"transformNode"),Wa=Cn(e.modules,"postTransformNode"),$a=e.delimiters;var n,i,r=[],o=e.preserveWhitespace!==!1,a=!1,s=!1;return Sn(t,{expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,shouldDecodeNewlines:e.shouldDecodeNewlines,start:function(t,o,l){function u(t){}var c=i&&i.ns||Ba(t);br&&"svg"===c&&(o=oi(o));var h={type:1,tag:t,attrsList:o,attrsMap:ii(o),parent:i,children:[]};c&&(h.ns=c),ri(h)&&!Tr()&&(h.forbidden=!0);for(var f=0;f<Ha.length;f++)Ha[f](h,e);if(a||(Hn(h),h.pre&&(a=!0)),Ga(h.tag)&&(s=!0),a)jn(h);else{Un(h),qn(h),Jn(h),Wn(h),h.plain=!h.key&&!o.length,$n(h),Kn(h),Qn(h);for(var d=0;d<ja.length;d++)ja[d](h,e);ti(h)}if(n?r.length||n.if&&(h.elseif||h.else)&&(u(h),Yn(n,{exp:h.elseif,block:h})):(n=h,u(n)),i&&!h.forbidden)if(h.elseif||h.else)Zn(h,i);else if(h.slotScope){i.plain=!1;var p=h.slotTarget||"default";(i.scopedSlots||(i.scopedSlots={}))[p]=h}else i.children.push(h),h.parent=i;l||(i=h,r.push(h));for(var g=0;g<Wa.length;g++)Wa[g](h,e)},end:function(){var t=r[r.length-1],e=t.children[t.children.length-1];e&&3===e.type&&" "===e.text&&t.children.pop(),r.length-=1,i=r[r.length-1],t.pre&&(a=!1),Ga(t.tag)&&(s=!1)},chars:function(t){if(i&&(!br||"textarea"!==i.tag||i.attrsMap.placeholder!==t)){var e=i.children;if(t=s||t.trim()?_s(t):o&&e.length?" ":""){var n;!a&&" "!==t&&(n=Tn(t,$a))?e.push({type:2,expression:n,text:t}):" "===t&&" "===e[e.length-1].text||i.children.push({type:3,text:t})}}}}),n}function Hn(t){null!=On(t,"v-pre")&&(t.pre=!0)}function jn(t){var e=t.attrsList.length;if(e)for(var n=t.attrs=new Array(e),i=0;i<e;i++)n[i]={name:t.attrsList[i].name,value:JSON.stringify(t.attrsList[i].value)};else t.pre||(t.plain=!0)}function Wn(t){var e=En(t,"key");e&&(t.key=e)}function $n(t){var e=En(t,"ref");e&&(t.ref=e,t.refInFor=ei(t))}function Un(t){var e;if(e=On(t,"v-for")){var n=e.match(ps);if(!n)return;t.for=n[2].trim();var i=n[1].trim(),r=i.match(gs);r?(t.alias=r[1].trim(),t.iterator1=r[2].trim(),r[3]&&(t.iterator2=r[3].trim())):t.alias=i}}function qn(t){var e=On(t,"v-if");if(e)t.if=e,Yn(t,{exp:e,block:t});else{null!=On(t,"v-else")&&(t.else=!0);var n=On(t,"v-else-if");n&&(t.elseif=n)}}function Zn(t,e){var n=Xn(e.children);n&&n.if&&Yn(n,{exp:t.elseif,block:t})}function Xn(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}function Yn(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function Jn(t){var e=On(t,"v-once");null!=e&&(t.once=!0)}function Kn(t){if("slot"===t.tag)t.slotName=En(t,"name");else{var e=En(t,"slot");e&&(t.slotTarget='""'===e?'"default"':e),"template"===t.tag&&(t.slotScope=On(t,"scope"))}}function Qn(t){var e;(e=En(t,"is"))&&(t.component=e),null!=On(t,"inline-template")&&(t.inlineTemplate=!0)}function ti(t){var e,n,i,r,o,a,s,l,u=t.attrsList;for(e=0,n=u.length;e<n;e++)if(i=r=u[e].name,o=u[e].value,ds.test(i))if(t.hasBindings=!0,s=ni(i),s&&(i=i.replace(xs,"")),vs.test(i))i=i.replace(vs,""),o=Mn(o),l=!1,s&&(s.prop&&(l=!0,i=lr(i),"innerHtml"===i&&(i="innerHTML")),s.camel&&(i=lr(i))),l||Fa(t.tag,t.attrsMap.type,i)?Ln(t,i,o):Dn(t,i,o);else if(ms.test(i))i=i.replace(ms,""),Pn(t,i,o,s);else{i=i.replace(ds,"");var c=i.match(ys);c&&(a=c[1])&&(i=i.slice(0,-(a.length+1))),kn(t,i,r,o,a,s)}else{Dn(t,i,JSON.stringify(o))}}function ei(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}function ni(t){var e=t.match(xs);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function ii(t){for(var e={},n=0,i=t.length;n<i;n++)e[t[n].name]=t[n].value;return e}function ri(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function oi(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];bs.test(i.name)||(i.name=i.name.replace(ws,""),e.push(i))}return e}function ai(t,e){t&&(Ua=Ss(e.staticKeys||""),qa=e.isReservedTag||pr,li(t),ui(t,!1))}function si(t){return r("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}function li(t){if(t.static=hi(t),1===t.type){if(!qa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var i=t.children[e];li(i),i.static||(t.static=!1)}}}function ui(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,i=t.children.length;n<i;n++)ui(t.children[n],e||!!t.for);t.ifConditions&&ci(t.ifConditions,e)}}function ci(t,e){for(var n=1,i=t.length;n<i;n++)ui(t[n].block,e)}function hi(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||or(t.tag)||!qa(t.tag)||fi(t)||!Object.keys(t).every(Ua))))}function fi(t){for(;t.parent;){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}function di(t,e){var n=e?"nativeOn:{":"on:{";for(var i in t)n+='"'+i+'":'+pi(i,t[i])+",";return n.slice(0,-1)+"}"}function pi(t,e){if(e){if(Array.isArray(e))return"["+e.map(function(e){return pi(t,e)}).join(",")+"]";if(e.modifiers){var n="",i=[];for(var r in e.modifiers)Is[r]?n+=Is[r]:i.push(r);i.length&&(n=gi(i)+n);var o=As.test(e.value)?e.value+"($event)":e.value;return"function($event){"+n+o+"}"}return Ms.test(e.value)||As.test(e.value)?e.value:"function($event){"+e.value+"}"}return"function(){}"}function gi(t){return"if("+t.map(vi).join("&&")+")return;"}function vi(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Ts[t];return"_k($event.keyCode,"+JSON.stringify(t)+(n?","+JSON.stringify(n):"")+")"}function mi(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+(e.modifiers&&e.modifiers.prop?",true":"")+")"}}function yi(t,e){var n=Qa,i=Qa=[],r=ts;ts=0,es=e,Za=e.warn||In,Xa=Cn(e.modules,"transformCode"),Ya=Cn(e.modules,"genData"),Ja=e.directives||{},Ka=e.isReservedTag||pr;var o=t?xi(t):'_c("div")';return Qa=n,ts=r,{render:"with(this){return "+o+"}",staticRenderFns:i}}function xi(t){if(t.staticRoot&&!t.staticProcessed)return _i(t);if(t.once&&!t.onceProcessed)return bi(t);if(t.for&&!t.forProcessed)return Mi(t);if(t.if&&!t.ifProcessed)return wi(t);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return Ni(t);var e;if(t.component)e=zi(t.component,t);else{var n=t.plain?void 0:Ai(t),i=t.inlineTemplate?null:Di(t,!0);e="_c('"+t.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}for(var r=0;r<Xa.length;r++)e=Xa[r](t,e);return e}return Di(t)||"void 0"}function _i(t){return t.staticProcessed=!0,Qa.push("with(this){return "+xi(t)+"}"),"_m("+(Qa.length-1)+(t.staticInFor?",true":"")+")"}function bi(t){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return wi(t);if(t.staticInFor){for(var e="",n=t.parent;n;){if(n.for){e=n.key;break}n=n.parent}return e?"_o("+xi(t)+","+ts++ +(e?","+e:"")+")":xi(t)}return _i(t)}function wi(t){return t.ifProcessed=!0,Si(t.ifConditions.slice())}function Si(t){function e(t){return t.once?bi(t):xi(t)}if(!t.length)return"_e()";var n=t.shift();return n.exp?"("+n.exp+")?"+e(n.block)+":"+Si(t):""+e(n.block)}function Mi(t){var e=t.for,n=t.alias,i=t.iterator1?","+t.iterator1:"",r=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+e+"),function("+n+i+r+"){return "+xi(t)+"})"}function Ai(t){var e="{",n=Ti(t);n&&(e+=n+","),t.key&&(e+="key:"+t.key+","),t.ref&&(e+="ref:"+t.ref+","),t.refInFor&&(e+="refInFor:true,"),t.pre&&(e+="pre:true,"),t.component&&(e+='tag:"'+t.tag+'",');for(var i=0;i<Ya.length;i++)e+=Ya[i](t);if(t.attrs&&(e+="attrs:{"+Vi(t.attrs)+"},"),t.props&&(e+="domProps:{"+Vi(t.props)+"},"),t.events&&(e+=di(t.events)+","),t.nativeEvents&&(e+=di(t.nativeEvents,!0)+","),t.slotTarget&&(e+="slot:"+t.slotTarget+","),t.scopedSlots&&(e+=Ci(t.scopedSlots)+","),t.inlineTemplate){var r=Ii(t);r&&(e+=r+",")}return e=e.replace(/,$/,"")+"}",t.wrapData&&(e=t.wrapData(e)),e}function Ti(t){var e=t.directives;if(e){var n,i,r,o,a="directives:[",s=!1;for(n=0,i=e.length;n<i;n++){r=e[n],o=!0;var l=Ja[r.name]||Cs[r.name];l&&(o=!!l(t,r,Za)),o&&(s=!0,a+='{name:"'+r.name+'",rawName:"'+r.rawName+'"'+(r.value?",value:("+r.value+"),expression:"+JSON.stringify(r.value):"")+(r.arg?',arg:"'+r.arg+'"':"")+(r.modifiers?",modifiers:"+JSON.stringify(r.modifiers):"")+"},")}return s?a.slice(0,-1)+"]":void 0}}function Ii(t){var e=t.children[0];if(1===e.type){var n=yi(e,es);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}function Ci(t){return"scopedSlots:{"+Object.keys(t).map(function(e){return Li(e,t[e])}).join(",")+"}"}function Li(t,e){return t+":function("+String(e.attrsMap.scope)+"){return "+("template"===e.tag?Di(e)||"void 0":xi(e))+"}"}function Di(t,e){var n=t.children;if(n.length){var i=n[0];if(1===n.length&&i.for&&"template"!==i.tag&&"slot"!==i.tag)return xi(i);var r=ki(n);return"["+n.map(Oi).join(",")+"]"+(e&&r?","+r:"")}}function ki(t){for(var e=0,n=0;n<t.length;n++){var i=t[n];if(1===i.type){if(Pi(i)||i.ifConditions&&i.ifConditions.some(function(t){return Pi(t.block)})){e=2;break}(Ei(i)||i.ifConditions&&i.ifConditions.some(function(t){return Ei(t.block)}))&&(e=1)}}return e}function Pi(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Ei(t){return!Ka(t.tag)}function Oi(t){return 1===t.type?xi(t):Ri(t)}function Ri(t){return"_v("+(2===t.type?t.expression:Bi(JSON.stringify(t.text)))+")"}function Ni(t){var e=t.slotName||'"default"',n=Di(t),i="_t("+e+(n?","+n:""),r=t.attrs&&"{"+t.attrs.map(function(t){return lr(t.name)+":"+t.value}).join(",")+"}",o=t.attrsMap["v-bind"];return!r&&!o||n||(i+=",null"),r&&(i+=","+r),o&&(i+=(r?"":",null")+","+o),i+")"}function zi(t,e){var n=e.inlineTemplate?null:Di(e,!0);return"_c("+t+","+Ai(e)+(n?","+n:"")+")"}function Vi(t){for(var e="",n=0;n<t.length;n++){var i=t[n];e+='"'+i.name+'":'+Bi(i.value)+","}return e.slice(0,-1)}function Bi(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Fi(t,e){var n=Gn(t.trim(),e);ai(n,e);var i=yi(n,e);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}}function Gi(t,e){var n=(e.warn||In,On(t,"class"));n&&(t.staticClass=JSON.stringify(n));var i=En(t,"class",!1);i&&(t.classBinding=i)}function Hi(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}function ji(t,e){var n=(e.warn||In,On(t,"style"));if(n){t.staticStyle=JSON.stringify(Bo(n))}var i=En(t,"style",!1);i&&(t.styleBinding=i)}function Wi(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}function $i(t,e,n){ns=n;var i=e.value,r=e.modifiers,o=t.tag,a=t.attrsMap.type;return"select"===o?Xi(t,i,r):"input"===o&&"checkbox"===a?Ui(t,i,r):"input"===o&&"radio"===a?qi(t,i,r):Zi(t,i,r),!0}function Ui(t,e,n){var i=n&&n.number,r=En(t,"value")||"null",o=En(t,"true-value")||"true",a=En(t,"false-value")||"false";Ln(t,"checked","Array.isArray("+e+")?_i("+e+","+r+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Pn(t,"click","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+e+"=$$a.concat($$v))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+e+"=$$c}",null,!0)}function qi(t,e,n){var i=n&&n.number,r=En(t,"value")||"null";r=i?"_n("+r+")":r,Ln(t,"checked","_q("+e+","+r+")"),Pn(t,"click",Yi(e,r),null,!0)}function Zi(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=o||br&&"range"===i?"change":"input",u=!o&&"range"!==i,c="input"===t.tag||"textarea"===t.tag,h=c?"$event.target.value"+(s?".trim()":""):s?"(typeof $event === 'string' ? $event.trim() : $event)":"$event";h=a||"number"===i?"_n("+h+")":h;var f=Yi(e,h);c&&u&&(f="if($event.target.composing)return;"+f),Ln(t,"value",c?"_s("+e+")":"("+e+")"),Pn(t,l,f,null,!0),(s||a||"number"===i)&&Pn(t,"blur","$forceUpdate()")}function Xi(t,e,n){var i=n&&n.number,r='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(i?"_n(val)":"val")+"})"+(null==t.attrsMap.multiple?"[0]":""),o=Yi(e,r);Pn(t,"change",o,null,!0)}function Yi(t,e){var n=Rn(t);return null===n.idx?t+"="+e:"var $$exp = "+n.exp+", $$idx = "+n.idx+";if (!Array.isArray($$exp)){"+t+"="+e+"}else{$$exp.splice($$idx, 1, "+e+")}"}function Ji(t,e){e.value&&Ln(t,"textContent","_s("+e.value+")")}function Ki(t,e){e.value&&Ln(t,"innerHTML","_s("+e.value+")")}function Qi(t,e){return e=e?h(h({},Os),e):Os,Fi(t,e)}function tr(t,e,n){var i=(e&&e.warn||Dr,e&&e.delimiters?String(e.delimiters)+t:t);if(Es[i])return Es[i];var r={},o=Qi(t,e);r.render=er(o.render);var a=o.staticRenderFns.length;r.staticRenderFns=new Array(a);for(var s=0;s<a;s++)r.staticRenderFns[s]=er(o.staticRenderFns[s]);return Es[i]=r}function er(t){try{return new Function(t)}catch(t){return g}}function nr(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}var ir,rr,or=r("slot,component",!0),ar=Object.prototype.hasOwnProperty,sr=/-(\w)/g,lr=l(function(t){return t.replace(sr,function(t,e){return e?e.toUpperCase():""})}),ur=l(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),cr=/([^-])([A-Z])/g,hr=l(function(t){return t.replace(cr,"$1-$2").replace(cr,"$1-$2").toLowerCase()}),fr=Object.prototype.toString,dr="[object Object]",pr=function(){return!1},gr=function(t){return t},vr={optionMergeStrategies:Object.create(null),silent:!1,devtools:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:pr,isUnknownElement:pr,getTagNamespace:g,parsePlatformTagName:gr,mustUseProp:pr,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},mr=/[^\w.$]/,yr="__proto__"in{},xr="undefined"!=typeof window,_r=xr&&window.navigator.userAgent.toLowerCase(),br=_r&&/msie|trident/.test(_r),wr=_r&&_r.indexOf("msie 9.0")>0,Sr=_r&&_r.indexOf("edge/")>0,Mr=_r&&_r.indexOf("android")>0,Ar=_r&&/iphone|ipad|ipod|ios/.test(_r),Tr=function(){return void 0===ir&&(ir=!xr&&"undefined"!=typeof e&&"server"===e.process.env.VUE_ENV),ir},Ir=xr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Cr=function(){function t(){i=!1;var t=n.slice(0);n.length=0;for(var e=0;e<t.length;e++)t[e]()}var e,n=[],i=!1;if("undefined"!=typeof Promise&&w(Promise)){var r=Promise.resolve(),o=function(t){console.error(t)};e=function(){r.then(t).catch(o),Ar&&setTimeout(g)}}else if("undefined"==typeof MutationObserver||!w(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var a=1,s=new MutationObserver(t),l=document.createTextNode(String(a));s.observe(l,{characterData:!0}),e=function(){a=(a+1)%2,l.data=String(a)}}return function(t,r){var o;if(n.push(function(){t&&t.call(r),o&&o(r)}),i||(i=!0,e()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){o=t})}}();rr="undefined"!=typeof Set&&w(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return this.set[t]===!0},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Lr,Dr=g,kr=0,Pr=function(){this.id=kr++,this.subs=[]};Pr.prototype.addSub=function(t){this.subs.push(t)},Pr.prototype.removeSub=function(t){o(this.subs,t)},Pr.prototype.depend=function(){Pr.target&&Pr.target.addDep(this)},Pr.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},Pr.target=null;var Er=[],Or=Array.prototype,Rr=Object.create(Or);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Or[t];_(Rr,t,function(){for(var n=arguments,i=arguments.length,r=new Array(i);i--;)r[i]=n[i];var o,a=e.apply(this,r),s=this.__ob__;switch(t){case"push":o=r;break;case"unshift":o=r;break;case"splice":o=r.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var Nr=Object.getOwnPropertyNames(Rr),zr={shouldConvert:!0,isSettingProps:!1},Vr=function(t){if(this.value=t,this.dep=new Pr,this.vmCount=0,_(t,"__ob__",this),Array.isArray(t)){var e=yr?A:T;e(t,Rr,Nr),this.observeArray(t)}else this.walk(t)};Vr.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)C(t,e[n],t[e[n]])},Vr.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)I(t[e])};var Br=vr.optionMergeStrategies;Br.data=function(t,e,n){return n?t||e?function(){var i="function"==typeof e?e.call(n):e,r="function"==typeof t?t.call(n):void 0;return i?P(i,r):r}:void 0:e?"function"!=typeof e?t:t?function(){return P(e.call(this),t.call(this))}:e:t},vr._lifecycleHooks.forEach(function(t){Br[t]=E}),vr._assetTypes.forEach(function(t){Br[t+"s"]=O}),Br.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};h(n,t);for(var i in e){var r=n[i],o=e[i];r&&!Array.isArray(r)&&(r=[r]),n[i]=r?r.concat(o):[o]}return n},Br.props=Br.methods=Br.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return h(n,t),h(n,e),n};var Fr=function(t,e){return void 0===e?t:e},Gr=Object.freeze({defineReactive:C,_toString:n,toNumber:i,makeMap:r,isBuiltInTag:or,remove:o,hasOwn:a,isPrimitive:s,cached:l,camelize:lr,capitalize:ur,hyphenate:hr,bind:u,toArray:c,extend:h,isObject:f,isPlainObject:d,toObject:p,noop:g,no:pr,identity:gr,genStaticKeys:v,looseEqual:m,looseIndexOf:y,isReserved:x,def:_,parsePath:b,hasProto:yr,inBrowser:xr,UA:_r,isIE:br,isIE9:wr,isEdge:Sr,isAndroid:Mr,isIOS:Ar,isServerRendering:Tr,devtools:Ir,nextTick:Cr,get _Set(){return rr},mergeOptions:z,resolveAsset:V,get warn(){return Dr},get formatComponentName(){return Lr},validateProp:B}),Hr=function(t,e,n,i,r,o,a){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},jr={child:{}};jr.child.get=function(){return this.componentInstance},Object.defineProperties(Hr.prototype,jr);var Wr,$r=function(){var t=new Hr;return t.text="",t.isComment=!0,t},Ur={init:X,prepatch:Y,insert:J,destroy:K},qr=Object.keys(Ur),Zr=l(function(t){var e="~"===t.charAt(0);t=e?t.slice(1):t;var n="!"===t.charAt(0);return t=n?t.slice(1):t,{name:t,once:e,capture:n}}),Xr=1,Yr=2,Jr=null,Kr=[],Qr={},to=!1,eo=!1,no=0,io=0,ro=function(t,e,n,i){this.vm=t,t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++io,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new rr,this.newDepIds=new rr,this.expression="","function"==typeof e?this.getter=e:(this.getter=b(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};ro.prototype.get=function(){S(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&Ct(t),M(),this.cleanupDeps(),t},ro.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ro.prototype.cleanupDeps=function(){for(var t=this,e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},ro.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():It(this)},ro.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||f(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){if(!vr.errorHandler)throw t;vr.errorHandler.call(null,t,this.vm)}else this.cb.call(this.vm,t,e)}}},ro.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ro.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},ro.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||o(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var oo=new rr,ao={enumerable:!0,configurable:!0,get:g,set:g},so=0;Ft(jt),Vt(jt),bt(jt),St(jt),gt(jt);var lo=[String,RegExp],uo={name:"keep-alive",abstract:!0,props:{include:lo,exclude:lo},created:function(){this.cache=Object.create(null)},destroyed:function(){var t=this;for(var e in this.cache)Jt(t.cache[e])},watch:{include:function(t){Yt(this.cache,function(e){return Xt(t,e)})},exclude:function(t){Yt(this.cache,function(e){return!Xt(t,e)})}},render:function(){var t=ct(this.$slots.default),e=t&&t.componentOptions;if(e){var n=Zt(e);if(n&&(this.include&&!Xt(this.include,n)||this.exclude&&Xt(this.exclude,n)))return t;var i=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;this.cache[i]?t.componentInstance=this.cache[i].componentInstance:this.cache[i]=t,t.data.keepAlive=!0}return t}},co={KeepAlive:uo};Kt(jt),Object.defineProperty(jt.prototype,"$isServer",{get:Tr}),jt.version="2.1.10";var ho,fo,po=r("input,textarea,option,select"),go=function(t,e,n){return"value"===n&&po(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},vo=r("contenteditable,draggable,spellcheck"),mo=r("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),yo="http://www.w3.org/1999/xlink",xo=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},_o=function(t){return xo(t)?t.slice(6,t.length):""},bo=function(t){return null==t||t===!1},wo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},So=r("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),Mo=r("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ao=function(t){return"pre"===t},To=function(t){return So(t)||Mo(t)},Io=Object.create(null),Co=Object.freeze({createElement:se,createElementNS:le,createTextNode:ue,createComment:ce,insertBefore:he,removeChild:fe,appendChild:de,parentNode:pe,nextSibling:ge,tagName:ve,setTextContent:me,setAttribute:ye}),Lo={create:function(t,e){xe(e)},update:function(t,e){t.data.ref!==e.data.ref&&(xe(t,!0),xe(e))},destroy:function(t){xe(t,!0)}},Do=new Hr("",{},[]),ko=["create","activate","update","remove","destroy"],Po={create:Ae,update:Ae,destroy:function(t){Ae(t,Do)}},Eo=Object.create(null),Oo=[Lo,Po],Ro={create:De,update:De},No={create:Pe,
update:Pe},zo={create:Re,update:Re},Vo={create:Ne,update:Ne},Bo=l(function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),Fo=/^--/,Go=/\s*!important$/,Ho=function(t,e,n){Fo.test(e)?t.style.setProperty(e,n):Go.test(n)?t.style.setProperty(e,n.replace(Go,""),"important"):t.style[Wo(e)]=n},jo=["Webkit","Moz","ms"],Wo=l(function(t){if(fo=fo||document.createElement("div"),t=lr(t),"filter"!==t&&t in fo.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<jo.length;n++){var i=jo[n]+e;if(i in fo.style)return i}}),$o={create:je,update:je},Uo=xr&&!wr,qo="transition",Zo="animation",Xo="transition",Yo="transitionend",Jo="animation",Ko="animationend";Uo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Xo="WebkitTransition",Yo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Jo="WebkitAnimation",Ko="webkitAnimationEnd"));var Qo=xr&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,ta=/\b(transform|all)(,|$)/,ea=l(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterToClass:t+"-enter-to",leaveToClass:t+"-leave-to",appearToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),na=xr?{create:rn,activate:rn,remove:function(t,e){t.data.show?e():tn(t,e)}}:{},ia=[Ro,No,zo,Vo,$o,na],ra=ia.concat(Oo),oa=Me({nodeOps:Co,modules:ra});wr&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&cn(t,"input")});var aa={inserted:function(t,e,n){if("select"===n.tag){var i=function(){on(t,e,n.context)};i(),(br||Sr)&&setTimeout(i,0)}else"textarea"!==n.tag&&"text"!==t.type||(t._vModifiers=e.modifiers,e.modifiers.lazy||(Mr||(t.addEventListener("compositionstart",ln),t.addEventListener("compositionend",un)),wr&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){on(t,e,n.context);var i=t.multiple?e.value.some(function(e){return an(e,t.options)}):e.value!==e.oldValue&&an(e.value,t.options);i&&cn(t,"change")}}},sa={bind:function(t,e,n){var i=e.value;n=hn(n);var r=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r&&!wr?(n.data.show=!0,Qe(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(i!==r){n=hn(n);var o=n.data&&n.data.transition;o&&!wr?(n.data.show=!0,i?Qe(n,function(){t.style.display=t.__vOriginalDisplay}):tn(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},la={model:aa,show:sa},ua={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String},ca={name:"transition",props:ua,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag}),n.length)){var i=this.mode,r=n[0];if(gn(this.$vnode))return r;var o=fn(r);if(!o)return r;if(this._leaving)return pn(t,r);var a="__transition-"+this._uid+"-",l=o.key=null==o.key?a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key,u=(o.data||(o.data={})).transition=dn(this),c=this._vnode,f=fn(c);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),f&&f.data&&!vn(o,f)){var d=f&&(f.data.transition=h({},u));if("out-in"===i)return this._leaving=!0,rt(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()},l),pn(t,r);if("in-out"===i){var p,g=function(){p()};rt(u,"afterEnter",g,l),rt(u,"enterCancelled",g,l),rt(d,"delayLeave",function(t){p=t},l)}}return r}}},ha=h({tag:String,moveClass:String},ua);delete ha.mode;var fa={props:ha,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=dn(this),s=0;s<r.length;s++){var l=r[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(i){for(var u=[],c=[],h=0;h<i.length;h++){var f=i[h];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?u.push(f):c.push(f)}this.kept=t(e,null,u),this.removed=c}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(mn),t.forEach(yn),t.forEach(xn);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,i=n.style;qe(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Yo,n._moveCb=function t(i){i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Yo,t),n._moveCb=null,Ze(n,e))})}})}},methods:{hasMove:function(t,e){if(!Uo)return!1;if(null!=this._hasMove)return this._hasMove;qe(t,e);var n=Ye(t);return Ze(t,e),this._hasMove=n.hasTransform}}},da={Transition:ca,TransitionGroup:fa};jt.config.isUnknownElement=oe,jt.config.isReservedTag=To,jt.config.getTagNamespace=re,jt.config.mustUseProp=go,h(jt.options.directives,la),h(jt.options.components,da),jt.prototype.__patch__=xr?oa:g,jt.prototype.$mount=function(t,e){return t=t&&xr?ae(t):void 0,this._mount(t,e)},setTimeout(function(){vr.devtools&&Ir&&Ir.emit("init",jt)},0);var pa,ga=!!xr&&_n("\n","&#10;"),va=r("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),ma=r("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source",!0),ya=r("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track",!0),xa=/([^\s"'<>\/=]+)/,_a=/(?:=)/,ba=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],wa=new RegExp("^\\s*"+xa.source+"(?:\\s*("+_a.source+")\\s*(?:"+ba.join("|")+"))?"),Sa="[a-zA-Z_][\\w\\-\\.]*",Ma="((?:"+Sa+"\\:)?"+Sa+")",Aa=new RegExp("^<"+Ma),Ta=/^\s*(\/?)>/,Ia=new RegExp("^<\\/"+Ma+"[^>]*>"),Ca=/^<!DOCTYPE [^>]+>/i,La=/^<!--/,Da=/^<!\[/,ka=!1;"x".replace(/x(.)?/g,function(t,e){ka=""===e});var Pa,Ea,Oa,Ra,Na,za,Va,Ba,Fa,Ga,Ha,ja,Wa,$a,Ua,qa,Za,Xa,Ya,Ja,Ka,Qa,ts,es,ns,is=r("script,style",!0),rs={},os=/&lt;/g,as=/&gt;/g,ss=/&#10;/g,ls=/&amp;/g,us=/&quot;/g,cs=/\{\{((?:.|\n)+?)\}\}/g,hs=/[-.*+?^${}()|[\]\/\\]/g,fs=l(function(t){var e=t[0].replace(hs,"\\$&"),n=t[1].replace(hs,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),ds=/^v-|^@|^:/,ps=/(.*?)\s+(?:in|of)\s+(.*)/,gs=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,vs=/^:|^v-bind:/,ms=/^@|^v-on:/,ys=/:(.*)$/,xs=/\.[^.]+/g,_s=l(bn),bs=/^xmlns:NS\d+/,ws=/^NS\d+:/,Ss=l(si),Ms=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,As=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,Ts={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Is={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;",ctrl:"if(!$event.ctrlKey)return;",shift:"if(!$event.shiftKey)return;",alt:"if(!$event.altKey)return;",meta:"if(!$event.metaKey)return;"},Cs={bind:mi,cloak:g},Ls=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),{staticKeys:["staticClass"],transformNode:Gi,genData:Hi}),Ds={staticKeys:["staticStyle"],transformNode:ji,genData:Wi},ks=[Ls,Ds],Ps={model:$i,text:Ji,html:Ki},Es=Object.create(null),Os={expectHTML:!0,modules:ks,staticKeys:v(ks),directives:Ps,isReservedTag:To,isUnaryTag:va,mustUseProp:go,getTagNamespace:re,isPreTag:Ao},Rs=l(function(t){var e=ae(t);return e&&e.innerHTML}),Ns=jt.prototype.$mount;jt.prototype.$mount=function(t,e){if(t=t&&ae(t),t===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=Rs(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=nr(t));if(i){var r=tr(i,{warn:Dr,shouldDecodeNewlines:ga,delimiters:n.delimiters},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Ns.call(this,t,e)},jt.compile=tr,t.exports=jt}).call(e,n(87))},function(t,e,n){"use strict";function i(t){var e=new a(t),n=o(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n}var r=n(16),o=n(92),a=n(129),s=n(60),l=i(s);l.Axios=a,l.create=function(t){return i(r.merge(s,t))},l.Cancel=n(89),l.CancelToken=n(128),l.isCancel=n(90),l.all=function(t){return Promise.all(t)},l.spread=n(143),t.exports=l,t.exports.default=l},function(t,e,n){"use strict";function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}var r=n(89);i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t,e=new i(function(e){t=e});return{token:e,cancel:t}},t.exports=i},function(t,e,n){"use strict";function i(t){this.defaults=t,this.interceptors={request:new a,response:new a}}var r=n(60),o=n(16),a=n(130),s=n(131),l=n(139),u=n(137);i.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),t=o.merge(r,this.defaults,{method:"get"},t),t.baseURL&&!l(t.url)&&(t.url=u(t.baseURL,t.url));var e=[s,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head"],function(t){i.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){i.prototype[t]=function(e,n,i){return this.request(o.merge(i||{},{method:t,url:e,data:n}))}}),t.exports=i},function(t,e,n){"use strict";function i(){this.handlers=[]}var r=n(16);i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=i},function(t,e,n){"use strict";function i(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var r=n(16),o=n(134),a=n(90),s=n(60);t.exports=function(t){i(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]});var e=t.adapter||s.adapter;return e(t).then(function(e){return i(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(i(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";t.exports=function(t,e,n,i){return t.config=e,n&&(t.code=n),t.response=i,t}},function(t,e,n){"use strict";var i=n(91);t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n)):t(n)}},function(t,e,n){"use strict";var i=n(16);t.exports=function(t,e,n){return i.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";function i(){this.message="String contains an invalid character"}function r(t){for(var e,n,r=String(t),a="",s=0,l=o;r.charAt(0|s)||(l="=",s%1);a+=l.charAt(63&e>>8-s%1*8)){if(n=r.charCodeAt(s+=.75),n>255)throw new i;e=e<<8|n}return a}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.prototype=new Error,i.prototype.code=5,i.prototype.name="InvalidCharacterError",t.exports=r},function(t,e,n){"use strict";function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var r=n(16);t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,function(t,e){null!==t&&"undefined"!=typeof t&&(r.isArray(t)&&(e+="[]"),r.isArray(t)||(t=[t]),r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))}))}),o=a.join("&")}return o&&(t+=(t.indexOf("?")===-1?"?":"&")+o),t}},function(t,e,n){"use strict";t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e,n){"use strict";var i=n(16);t.exports=i.isStandardBrowserEnv()?function(){return{write:function(t,e,n,r,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";var i=n(16);t.exports=i.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(r.setAttribute("href",e),e=r.href),r.setAttribute("href",e),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");return e=t(window.location.href),function(n){var r=i.isString(n)?t(n):n;return r.protocol===e.protocol&&r.host===e.host}}():function(){return function(){return!0}}()},function(t,e,n){"use strict";var i=n(16);t.exports=function(t,e){i.forEach(t,function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])})}},function(t,e,n){"use strict";var i=n(16);t.exports=function(t){var e,n,r,o={};return t?(i.forEach(t.split("\n"),function(t){r=t.indexOf(":"),e=i.trim(t.substr(0,r)).toLowerCase(),n=i.trim(t.substr(r+1)),e&&(o[e]=o[e]?o[e]+", "+n:n)}),o):o}},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){n(153),t.exports=n(25).RegExp.escape},function(t,e,n){var i=n(4),r=n(69),o=n(5)("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},function(t,e,n){var i=n(145);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){"use strict";var i=n(1),r=n(24),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return r(i(this),t!=o)}},function(t,e,n){var i=n(36),r=n(57),o=n(48);t.exports=function(t){var e=i(t),n=r.f;if(n)for(var a,s=n(t),l=o.f,u=0;s.length>u;)l.call(t,a=s[u++])&&e.push(a);return e}},function(t,e,n){var i=n(36),r=n(15);t.exports=function(t,e){for(var n,o=r(t),a=i(o),s=a.length,l=0;s>l;)if(o[n=a[l++]]===e)return n}},function(t,e,n){"use strict";var i=n(151),r=n(53),o=n(11);t.exports=function(){for(var t=o(this),e=arguments.length,n=Array(e),a=0,s=i._,l=!1;e>a;)(n[a]=arguments[a++])===s&&(l=!0);return function(){var i,o=this,a=arguments.length,u=0,c=0;if(!l&&!a)return r(t,n,o);if(i=n.slice(),l)for(;e>u;u++)i[u]===s&&(i[u]=arguments[c++]);for(;a>c;)i.push(arguments[c++]);return r(t,i,o)}}},function(t,e,n){t.exports=n(2)},function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},function(t,e,n){var i=n(0),r=n(152)(/[\\^$*+?.()|[\]{}]/g,"\\$&");i(i.S,"RegExp",{escape:function(t){return r(t)}})},function(t,e,n){var i=n(0);i(i.P,"Array",{copyWithin:n(94)}),n(41)("copyWithin")},function(t,e,n){"use strict";var i=n(0),r=n(22)(4);i(i.P+i.F*!n(21)([].every,!0),"Array",{every:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var i=n(0);i(i.P,"Array",{fill:n(61)}),n(41)("fill")},function(t,e,n){"use strict";var i=n(0),r=n(22)(2);i(i.P+i.F*!n(21)([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},function(t,e,n){"use strict";var i=n(0),r=n(22)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),i(i.P+i.F*a,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(41)(o)},function(t,e,n){"use strict";var i=n(0),r=n(22)(5),o="find",a=!0;o in[]&&Array(1)[o](function(){a=!1}),i(i.P+i.F*a,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(41)(o)},function(t,e,n){"use strict";var i=n(0),r=n(22)(0),o=n(21)([].forEach,!0);i(i.P+i.F*!o,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},function(t,e,n){"use strict";var i=n(26),r=n(0),o=n(9),a=n(103),s=n(68),l=n(8),u=n(62),c=n(85);r(r.S+r.F*!n(55)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,r,h,f=o(t),d="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g,m=0,y=c(f);if(v&&(g=i(g,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&s(y))for(e=l(f.length),n=new d(e);e>m;m++)u(n,m,v?g(f[m],m):f[m]);else for(h=y.call(f),n=new d;!(r=h.next()).done;m++)u(n,m,v?a(h,g,[r.value,m],!0):r.value);return n.length=m,n}})},function(t,e,n){"use strict";var i=n(0),r=n(49)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(a||!n(21)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:r(this,t,arguments[1])}})},function(t,e,n){var i=n(0);i(i.S,"Array",{isArray:n(69)})},function(t,e,n){"use strict";var i=n(0),r=n(15),o=[].join;i(i.P+i.F*(n(47)!=Object||!n(21)(o)),"Array",{join:function(t){return o.call(r(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var i=n(0),r=n(15),o=n(31),a=n(8),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;i(i.P+i.F*(l||!n(21)(s)),"Array",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=r(this),n=a(e.length),i=n-1;for(arguments.length>1&&(i=Math.min(i,o(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in e&&e[i]===t)return i||0;return-1}})},function(t,e,n){"use strict";var i=n(0),r=n(22)(1);i(i.P+i.F*!n(21)([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},function(t,e,n){"use strict";var i=n(0),r=n(62);i(i.S+i.F*n(3)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)r(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var i=n(0),r=n(96);i(i.P+i.F*!n(21)([].reduceRight,!0),"Array",{reduceRight:function(t){return r(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var i=n(0),r=n(96);i(i.P+i.F*!n(21)([].reduce,!0),"Array",{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var i=n(0),r=n(66),o=n(19),a=n(39),s=n(8),l=[].slice;i(i.P+i.F*n(3)(function(){r&&l.call(r)}),"Array",{slice:function(t,e){var n=s(this.length),i=o(this);if(e=void 0===e?n:e,"Array"==i)return l.call(this,t,e);for(var r=a(t,n),u=a(e,n),c=s(u-r),h=Array(c),f=0;f<c;f++)h[f]="String"==i?this.charAt(r+f):this[r+f];return h}})},function(t,e,n){"use strict";var i=n(0),r=n(22)(3);i(i.P+i.F*!n(21)([].some,!0),"Array",{some:function(t){return r(this,t,arguments[1])}})},function(t,e,n){"use strict";var i=n(0),r=n(11),o=n(9),a=n(3),s=[].sort,l=[1,2,3];i(i.P+i.F*(a(function(){l.sort(void 0)})||!a(function(){l.sort(null)})||!n(21)(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),r(t))}})},function(t,e,n){n(38)("Array")},function(t,e,n){var i=n(0);i(i.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var i=n(0),r=n(3),o=Date.prototype.getTime,a=function(t){return t>9?t:"0"+t};i(i.P+i.F*(r(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!r(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),i=e<0?"-":e>9999?"+":"";return i+("00000"+Math.abs(e)).slice(i?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}})},function(t,e,n){"use strict";var i=n(0),r=n(9),o=n(24);i(i.P+i.F*n(3)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=r(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var i=n(5)("toPrimitive"),r=Date.prototype;i in r||n(12)(r,i,n(147))},function(t,e,n){var i=Date.prototype,r="Invalid Date",o="toString",a=i[o],s=i.getTime;new Date(NaN)+""!=r&&n(13)(i,o,function(){var t=s.call(this);return t===t?a.call(this):r})},function(t,e,n){var i=n(0);i(i.P,"Function",{bind:n(97)})},function(t,e,n){"use strict";var i=n(4),r=n(18),o=n(5)("hasInstance"),a=Function.prototype;o in a||n(7).f(a,o,{value:function(t){if("function"!=typeof this||!i(t))return!1;if(!i(this.prototype))return t instanceof this;for(;t=r(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var i=n(7).f,r=n(30),o=n(10),a=Function.prototype,s=/^\s*function ([^ (]*)/,l="name",u=Object.isExtensible||function(){return!0};l in a||n(6)&&i(a,l,{configurable:!0,get:function(){try{var t=this,e=(""+t).match(s)[1];return o(t,l)||!u(t)||i(t,l,r(5,e)),e}catch(t){return""}}})},function(t,e,n){var i=n(0),r=n(105),o=Math.sqrt,a=Math.acosh;i(i.S+i.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},function(t,e,n){function i(t){return isFinite(t=+t)&&0!=t?t<0?-i(-t):Math.log(t+Math.sqrt(t*t+1)):t}var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:i})},function(t,e,n){var i=n(0),r=Math.atanh;i(i.S+i.F*!(r&&1/r(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var i=n(0),r=n(73);i(i.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var i=n(0);i(i.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var i=n(0),r=Math.exp;i(i.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},function(t,e,n){var i=n(0),r=n(72);i(i.S+i.F*(r!=Math.expm1),"Math",{expm1:r})},function(t,e,n){var i=n(0),r=n(73),o=Math.pow,a=o(2,-52),s=o(2,-23),l=o(2,127)*(2-s),u=o(2,-126),c=function(t){return t+1/a-1/a};i(i.S,"Math",{fround:function(t){var e,n,i=Math.abs(t),o=r(t);return i<u?o*c(i/u/s)*u*s:(e=(1+s/a)*i,n=e-(e-i),n>l||n!=n?o*(1/0):o*n)}})},function(t,e,n){var i=n(0),r=Math.abs;i(i.S,"Math",{hypot:function(t,e){for(var n,i,o=0,a=0,s=arguments.length,l=0;a<s;)n=r(arguments[a++]),l<n?(i=l/n,o=o*i*i+1,l=n):n>0?(i=n/l,o+=i*i):o+=n;return l===1/0?1/0:l*Math.sqrt(o)}})},function(t,e,n){var i=n(0),r=Math.imul;i(i.S+i.F*n(3)(function(){return r(4294967295,5)!=-5||2!=r.length}),"Math",{imul:function(t,e){var n=65535,i=+t,r=+e,o=n&i,a=n&r;return 0|o*a+((n&i>>>16)*a+o*(n&r>>>16)<<16>>>0)}})},function(t,e,n){var i=n(0);i(i.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,e,n){var i=n(0);i(i.S,"Math",{log1p:n(105)})},function(t,e,n){var i=n(0);i(i.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var i=n(0);i(i.S,"Math",{sign:n(73)})},function(t,e,n){var i=n(0),r=n(72),o=Math.exp;i(i.S+i.F*n(3)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var i=n(0),r=n(72),o=Math.exp;i(i.S,"Math",{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var i=n(0);i(i.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){"use strict";var i=n(2),r=n(10),o=n(19),a=n(67),s=n(24),l=n(3),u=n(35).f,c=n(17).f,h=n(7).f,f=n(45).trim,d="Number",p=i[d],g=p,v=p.prototype,m=o(n(34)(v))==d,y="trim"in String.prototype,x=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():f(e,3);var n,i,r,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+e}for(var a,l=e.slice(2),u=0,c=l.length;u<c;u++)if(a=l.charCodeAt(u),a<48||a>r)return NaN;return parseInt(l,i)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(m?l(function(){v.valueOf.call(n)}):o(n)!=d)?a(new g(x(e)),n,p):x(e)};for(var _,b=n(6)?u(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)r(g,_=b[w])&&!r(p,_)&&h(p,_,c(g,_));p.prototype=v,v.constructor=p,n(13)(i,d,p)}},function(t,e,n){var i=n(0);i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var i=n(0),r=n(2).isFinite;i(i.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},function(t,e,n){var i=n(0);i(i.S,"Number",{isInteger:n(102)})},function(t,e,n){var i=n(0);i(i.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var i=n(0),r=n(102),o=Math.abs;i(i.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},function(t,e,n){var i=n(0);i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var i=n(0);i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var i=n(0),r=n(112);i(i.S+i.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},function(t,e,n){var i=n(0),r=n(113);i(i.S+i.F*(Number.parseInt!=r),"Number",{parseInt:r})},function(t,e,n){"use strict";var i=n(0),r=n(31),o=n(93),a=n(80),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",h="0",f=function(t,e){for(var n=-1,i=e;++n<6;)i+=t*u[n],u[n]=i%1e7,i=l(i/1e7)},d=function(t){for(var e=6,n=0;--e>=0;)n+=u[e],u[e]=l(n/t),n=n%t*1e7},p=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+a.call(h,7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2===1?g(t,e-1,n*t):g(t*t,e/2,n)},v=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};i(i.P+i.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(3)(function(){s.call({})})),"Number",{toFixed:function(t){var e,n,i,s,l=o(this,c),u=r(t),m="",y=h;if(u<0||u>20)throw RangeError(c);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(e=v(l*g(2,69,1))-69,n=e<0?l*g(2,-e,1):l/g(2,e,1),n*=4503599627370496,e=52-e,e>0){for(f(0,n),i=u;i>=7;)f(1e7,0),i-=7;for(f(g(10,i,1),0),i=e-1;i>=23;)d(1<<23),i-=23;d(1<<i),f(1,1),d(2),y=p()}else f(0,n),f(1<<-e,0),y=p()+a.call(h,u);return u>0?(s=y.length,y=m+(s<=u?"0."+a.call(h,u-s)+y:y.slice(0,s-u)+"."+y.slice(s-u))):y=m+y,y}})},function(t,e,n){"use strict";var i=n(0),r=n(3),o=n(93),a=1..toPrecision;i(i.P+i.F*(r(function(){return"1"!==a.call(1,void 0)})||!r(function(){a.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var i=n(0);i(i.S+i.F,"Object",{assign:n(106)})},function(t,e,n){var i=n(0);i(i.S,"Object",{create:n(34)})},function(t,e,n){var i=n(0);i(i.S+i.F*!n(6),"Object",{defineProperties:n(107)})},function(t,e,n){var i=n(0);i(i.S+i.F*!n(6),"Object",{defineProperty:n(7).f})},function(t,e,n){var i=n(4),r=n(29).onFreeze;n(23)("freeze",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},function(t,e,n){var i=n(15),r=n(17).f;n(23)("getOwnPropertyDescriptor",function(){return function(t,e){return r(i(t),e)}})},function(t,e,n){n(23)("getOwnPropertyNames",function(){return n(108).f})},function(t,e,n){var i=n(9),r=n(18);n(23)("getPrototypeOf",function(){return function(t){return r(i(t))}})},function(t,e,n){var i=n(4);n(23)("isExtensible",function(t){return function(e){return!!i(e)&&(!t||t(e))}})},function(t,e,n){var i=n(4);n(23)("isFrozen",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,n){var i=n(4);n(23)("isSealed",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,n){var i=n(0);i(i.S,"Object",{is:n(114)})},function(t,e,n){var i=n(9),r=n(36);n(23)("keys",function(){return function(t){return r(i(t))}})},function(t,e,n){var i=n(4),r=n(29).onFreeze;n(23)("preventExtensions",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},function(t,e,n){var i=n(4),r=n(29).onFreeze;n(23)("seal",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},function(t,e,n){var i=n(0);i(i.S,"Object",{setPrototypeOf:n(75).set})},function(t,e,n){"use strict";var i=n(46),r={};r[n(5)("toStringTag")]="z",r+""!="[object z]"&&n(13)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(t,e,n){var i=n(0),r=n(112);i(i.G+i.F*(parseFloat!=r),{parseFloat:r})},function(t,e,n){var i=n(0),r=n(113);i(i.G+i.F*(parseInt!=r),{parseInt:r})},function(t,e,n){"use strict";var i,r,o,a=n(33),s=n(2),l=n(26),u=n(46),c=n(0),h=n(4),f=n(11),d=n(32),p=n(42),g=n(77),v=n(82).set,m=n(74)(),y="Promise",x=s.TypeError,_=s.process,b=s[y],_=s.process,w="process"==u(_),S=function(){},M=!!function(){try{var t=b.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(S,S)};return(w||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof e}catch(t){}}(),A=function(t,e){return t===e||t===b&&e===o},T=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},I=function(t){return A(b,t)?new C(t):new r(t)},C=r=function(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw x("Bad Promise constructor");e=t,n=i}),this.resolve=f(e),this.reject=f(n)},L=function(t){try{t()}catch(t){return{error:t}}},D=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){for(var i=t._v,r=1==t._s,o=0,a=function(e){var n,o,a=r?e.ok:e.fail,s=e.resolve,l=e.reject,u=e.domain;try{a?(r||(2==t._h&&E(t),t._h=1),a===!0?n=i:(u&&u.enter(),n=a(i),u&&u.exit()),n===e.promise?l(x("Promise-chain cycle")):(o=T(n))?o.call(n,s,l):s(n)):l(i)}catch(t){l(t)}};n.length>o;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&k(t)})}},k=function(t){v.call(s,function(){var e,n,i,r=t._v;if(P(t)&&(e=L(function(){w?_.emit("unhandledRejection",r,t):(n=s.onunhandledrejection)?n({promise:t,reason:r}):(i=s.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=w||P(t)?2:1),t._a=void 0,e)throw e.error})},P=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,i=0;n.length>i;)if(e=n[i++],e.fail||!P(e.promise))return!1;return!0},E=function(t){v.call(s,function(){var e;w?_.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})})},O=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),D(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw x("Promise can't be resolved itself");(e=T(t))?m(function(){var i={_w:n,_d:!1};try{e.call(t,l(R,i,1),l(O,i,1))}catch(t){O.call(i,t)}}):(n._v=t,n._s=1,D(n,!1))}catch(t){O.call({_w:n,_d:!1},t)}}};M||(b=function(t){d(this,b,y,"_h"),f(t),
i.call(this);try{t(l(R,this,1),l(O,this,1))}catch(t){O.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(37)(b.prototype,{then:function(t,e){var n=I(g(this,b));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=w?_.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),C=function(){var t=new i;this.promise=t,this.resolve=l(R,t,1),this.reject=l(O,t,1)}),c(c.G+c.W+c.F*!M,{Promise:b}),n(44)(b,y),n(38)(y),o=n(25)[y],c(c.S+c.F*!M,y,{reject:function(t){var e=I(this),n=e.reject;return n(t),e.promise}}),c(c.S+c.F*(a||!M),y,{resolve:function(t){if(t instanceof b&&A(t.constructor,this))return t;var e=I(this),n=e.resolve;return n(t),e.promise}}),c(c.S+c.F*!(M&&n(55)(function(t){b.all(t).catch(S)})),y,{all:function(t){var e=this,n=I(e),i=n.resolve,r=n.reject,o=L(function(){var n=[],o=0,a=1;p(t,!1,function(t){var s=o++,l=!1;n.push(void 0),a++,e.resolve(t).then(function(t){l||(l=!0,n[s]=t,--a||i(n))},r)}),--a||i(n)});return o&&r(o.error),n.promise},race:function(t){var e=this,n=I(e),i=n.reject,r=L(function(){p(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r&&i(r.error),n.promise}})},function(t,e,n){var i=n(0),r=n(11),o=n(1),a=(n(2).Reflect||{}).apply,s=Function.apply;i(i.S+i.F*!n(3)(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var i=r(t),l=o(n);return a?a(i,e,l):s.call(i,e,l)}})},function(t,e,n){var i=n(0),r=n(34),o=n(11),a=n(1),s=n(4),l=n(3),u=n(97),c=(n(2).Reflect||{}).construct,h=l(function(){function t(){}return!(c(function(){},[],t)instanceof t)}),f=!l(function(){c(function(){})});i(i.S+i.F*(h||f),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(f&&!h)return c(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return i.push.apply(i,e),new(u.apply(t,i))}var l=n.prototype,d=r(s(l)?l:Object.prototype),p=Function.apply.call(t,d,e);return s(p)?p:d}})},function(t,e,n){var i=n(7),r=n(0),o=n(1),a=n(24);r(r.S+r.F*n(3)(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return i.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var i=n(0),r=n(17).f,o=n(1);i(i.S,"Reflect",{deleteProperty:function(t,e){var n=r(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var i=n(0),r=n(1),o=function(t){this._t=r(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(70)(o,"Object",function(){var t,e=this,n=e._k;do if(e._i>=n.length)return{value:void 0,done:!0};while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),i(i.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){var i=n(17),r=n(0),o=n(1);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return i.f(o(t),e)}})},function(t,e,n){var i=n(0),r=n(18),o=n(1);i(i.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},function(t,e,n){function i(t,e){var n,s,c=arguments.length<3?t:arguments[2];return u(t)===c?t[e]:(n=r.f(t,e))?a(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:l(s=o(t))?i(s,e,c):void 0}var r=n(17),o=n(18),a=n(10),s=n(0),l=n(4),u=n(1);s(s.S,"Reflect",{get:i})},function(t,e,n){var i=n(0);i(i.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var i=n(0),r=n(1),o=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(t){return r(t),!o||o(t)}})},function(t,e,n){var i=n(0);i(i.S,"Reflect",{ownKeys:n(111)})},function(t,e,n){var i=n(0),r=n(1),o=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){var i=n(0),r=n(75);r&&i(i.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){function i(t,e,n){var l,f,d=arguments.length<4?t:arguments[3],p=o.f(c(t),e);if(!p){if(h(f=a(t)))return i(f,e,n,d);p=u(0)}return s(p,"value")?!(p.writable===!1||!h(d))&&(l=o.f(d,e)||u(0),l.value=n,r.f(d,e,l),!0):void 0!==p.set&&(p.set.call(d,n),!0)}var r=n(7),o=n(17),a=n(18),s=n(10),l=n(0),u=n(30),c=n(1),h=n(4);l(l.S,"Reflect",{set:i})},function(t,e,n){var i=n(2),r=n(67),o=n(7).f,a=n(35).f,s=n(54),l=n(52),u=i.RegExp,c=u,h=u.prototype,f=/a/g,d=/a/g,p=new u(f)!==f;if(n(6)&&(!p||n(3)(function(){return d[n(5)("match")]=!1,u(f)!=f||u(d)==d||"/a/i"!=u(f,"i")}))){u=function(t,e){var n=this instanceof u,i=s(t),o=void 0===e;return!n&&i&&t.constructor===u&&o?t:r(p?new c(i&&!o?t.source:t,e):c((i=t instanceof u)?t.source:t,i&&o?l.call(t):e),n?this:h,u)};for(var g=(function(t){t in u||o(u,t,{configurable:!0,get:function(){return c[t]},set:function(e){c[t]=e}})}),v=a(c),m=0;v.length>m;)g(v[m++]);h.constructor=u,u.prototype=h,n(13)(i,"RegExp",u)}n(38)("RegExp")},function(t,e,n){n(51)("match",1,function(t,e,n){return[function(n){"use strict";var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},n]})},function(t,e,n){n(51)("replace",2,function(t,e,n){return[function(i,r){"use strict";var o=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},n]})},function(t,e,n){n(51)("search",1,function(t,e,n){return[function(n){"use strict";var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},n]})},function(t,e,n){n(51)("split",2,function(t,e,i){"use strict";var r=n(54),o=i,a=[].push,s="split",l="length",u="lastIndex";if("c"=="abbc"[s](/(b)*/)[1]||4!="test"[s](/(?:)/,-1)[l]||2!="ab"[s](/(?:ab)*/)[l]||4!="."[s](/(.?)(.?)/)[l]||"."[s](/()()/)[l]>1||""[s](/.?/)[l]){var c=void 0===/()??/.exec("")[1];i=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!r(t))return o.call(n,t,e);var i,s,h,f,d,p=[],g=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,m=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,g+"g");for(c||(i=new RegExp("^"+y.source+"$(?!\\s)",g));(s=y.exec(n))&&(h=s.index+s[0][l],!(h>v&&(p.push(n.slice(v,s.index)),!c&&s[l]>1&&s[0].replace(i,function(){for(d=1;d<arguments[l]-2;d++)void 0===arguments[d]&&(s[d]=void 0)}),s[l]>1&&s.index<n[l]&&a.apply(p,s.slice(1)),f=s[0][l],v=h,p[l]>=m)));)y[u]===s.index&&y[u]++;return v===n[l]?!f&&y.test("")||p.push(""):p.push(n.slice(v)),p[l]>m?p.slice(0,m):p}}else"0"[s](void 0,0)[l]&&(i=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(n,r){var o=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,o,r):i.call(String(o),n,r)},i]})},function(t,e,n){"use strict";n(118);var i=n(1),r=n(52),o=n(6),a="toString",s=/./[a],l=function(t){n(13)(RegExp.prototype,a,t,!0)};n(3)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?l(function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?r.call(t):void 0)}):s.name!=a&&l(function(){return s.call(this)})},function(t,e,n){"use strict";n(14)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(14)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(14)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(14)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";var i=n(0),r=n(78)(!1);i(i.P,"String",{codePointAt:function(t){return r(this,t)}})},function(t,e,n){"use strict";var i=n(0),r=n(8),o=n(79),a="endsWith",s=""[a];i(i.P+i.F*n(65)(a),"String",{endsWith:function(t){var e=o(this,t,a),n=arguments.length>1?arguments[1]:void 0,i=r(e.length),l=void 0===n?i:Math.min(r(n),i),u=String(t);return s?s.call(e,u,l):e.slice(l-u.length,l)===u}})},function(t,e,n){"use strict";n(14)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(14)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(14)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){var i=n(0),r=n(39),o=String.fromCharCode,a=String.fromCodePoint;i(i.S+i.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,a=0;i>a;){if(e=+arguments[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(((e-=65536)>>10)+55296,e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var i=n(0),r=n(79),o="includes";i(i.P+i.F*n(65)(o),"String",{includes:function(t){return!!~r(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";n(14)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";var i=n(78)(!0);n(71)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";n(14)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){var i=n(0),r=n(15),o=n(8);i(i.S,"String",{raw:function(t){for(var e=r(t.raw),n=o(e.length),i=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<i&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){var i=n(0);i(i.P,"String",{repeat:n(80)})},function(t,e,n){"use strict";n(14)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";var i=n(0),r=n(8),o=n(79),a="startsWith",s=""[a];i(i.P+i.F*n(65)(a),"String",{startsWith:function(t){var e=o(this,t,a),n=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return s?s.call(e,i,n):e.slice(n,n+i.length)===i}})},function(t,e,n){"use strict";n(14)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(14)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(14)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){"use strict";n(45)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var i=n(2),r=n(10),o=n(6),a=n(0),s=n(13),l=n(29).KEY,u=n(3),c=n(58),h=n(44),f=n(40),d=n(5),p=n(116),g=n(84),v=n(149),m=n(148),y=n(69),x=n(1),_=n(15),b=n(24),w=n(30),S=n(34),M=n(108),A=n(17),T=n(7),I=n(36),C=A.f,L=T.f,D=M.f,k=i.Symbol,P=i.JSON,E=P&&P.stringify,O="prototype",R=d("_hidden"),N=d("toPrimitive"),z={}.propertyIsEnumerable,V=c("symbol-registry"),B=c("symbols"),F=c("op-symbols"),G=Object[O],H="function"==typeof k,j=i.QObject,W=!j||!j[O]||!j[O].findChild,$=o&&u(function(){return 7!=S(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=C(G,e);i&&delete G[e],L(t,e,n),i&&t!==G&&L(G,e,i)}:L,U=function(t){var e=B[t]=S(k[O]);return e._k=t,e},q=H&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},Z=function(t,e,n){return t===G&&Z(F,e,n),x(t),e=b(e,!0),x(n),r(B,e)?(n.enumerable?(r(t,R)&&t[R][e]&&(t[R][e]=!1),n=S(n,{enumerable:w(0,!1)})):(r(t,R)||L(t,R,w(1,{})),t[R][e]=!0),$(t,e,n)):L(t,e,n)},X=function(t,e){x(t);for(var n,i=m(e=_(e)),r=0,o=i.length;o>r;)Z(t,n=i[r++],e[n]);return t},Y=function(t,e){return void 0===e?S(t):X(S(t),e)},J=function(t){var e=z.call(this,t=b(t,!0));return!(this===G&&r(B,t)&&!r(F,t))&&(!(e||!r(this,t)||!r(B,t)||r(this,R)&&this[R][t])||e)},K=function(t,e){if(t=_(t),e=b(e,!0),t!==G||!r(B,e)||r(F,e)){var n=C(t,e);return!n||!r(B,e)||r(t,R)&&t[R][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=D(_(t)),i=[],o=0;n.length>o;)r(B,e=n[o++])||e==R||e==l||i.push(e);return i},tt=function(t){for(var e,n=t===G,i=D(n?F:_(t)),o=[],a=0;i.length>a;)!r(B,e=i[a++])||n&&!r(G,e)||o.push(B[e]);return o};H||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===G&&e.call(F,n),r(this,R)&&r(this[R],t)&&(this[R][t]=!1),$(this,t,w(1,n))};return o&&W&&$(G,t,{configurable:!0,set:e}),U(t)},s(k[O],"toString",function(){return this._k}),A.f=K,T.f=Z,n(35).f=M.f=Q,n(48).f=J,n(57).f=tt,o&&!n(33)&&s(G,"propertyIsEnumerable",J,!0),p.f=function(t){return U(d(t))}),a(a.G+a.W+a.F*!H,{Symbol:k});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var et=I(d.store),nt=0;et.length>nt;)g(et[nt++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return r(V,t+="")?V[t]:V[t]=k(t)},keyFor:function(t){if(q(t))return v(V,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!H,"Object",{create:Y,defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:K,getOwnPropertyNames:Q,getOwnPropertySymbols:tt}),P&&a(a.S+a.F*(!H||u(function(){var t=k();return"[null]"!=E([t])||"{}"!=E({a:t})||"{}"!=E(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!q(t)){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);return e=i[1],"function"==typeof e&&(n=e),!n&&y(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!q(e))return e}),i[1]=e,E.apply(P,i)}}}),k[O][N]||n(12)(k[O],N,k[O].valueOf),h(k,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},function(t,e,n){"use strict";var i=n(0),r=n(59),o=n(83),a=n(1),s=n(39),l=n(8),u=n(4),c=n(2).ArrayBuffer,h=n(77),f=o.ArrayBuffer,d=o.DataView,p=r.ABV&&c.isView,g=f.prototype.slice,v=r.VIEW,m="ArrayBuffer";i(i.G+i.W+i.F*(c!==f),{ArrayBuffer:f}),i(i.S+i.F*!r.CONSTR,m,{isView:function(t){return p&&p(t)||u(t)&&v in t}}),i(i.P+i.U+i.F*n(3)(function(){return!new f(2).slice(1,void 0).byteLength}),m,{slice:function(t,e){if(void 0!==g&&void 0===e)return g.call(a(this),t);for(var n=a(this).byteLength,i=s(t,n),r=s(void 0===e?n:e,n),o=new(h(this,f))(l(r-i)),u=new d(this),c=new d(o),p=0;i<r;)c.setUint8(p++,u.getUint8(i++));return o}}),n(38)(m)},function(t,e,n){var i=n(0);i(i.G+i.W+i.F*!n(59).ABV,{DataView:n(83).DataView})},function(t,e,n){n(28)("Float32",4,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(28)("Float64",8,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(28)("Int16",2,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(28)("Int32",4,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(28)("Int8",1,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(28)("Uint16",2,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(28)("Uint32",4,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(28)("Uint8",1,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(28)("Uint8",1,function(t){return function(e,n,i){return t(this,e,n,i)}},!0)},function(t,e,n){"use strict";var i=n(100);n(50)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return i.def(this,t,!0)}},i,!1,!0)},function(t,e,n){"use strict";var i=n(0),r=n(49)(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(41)("includes")},function(t,e,n){var i=n(0),r=n(74)(),o=n(2).process,a="process"==n(19)(o);i(i.G,{asap:function(t){var e=a&&o.domain;r(e?e.bind(t):t)}})},function(t,e,n){var i=n(0),r=n(19);i(i.S,"Error",{isError:function(t){return"Error"===r(t)}})},function(t,e,n){var i=n(0);i(i.P+i.R,"Map",{toJSON:n(99)("Map")})},function(t,e,n){var i=n(0);i(i.S,"Math",{iaddh:function(t,e,n,i){var r=t>>>0,o=e>>>0,a=n>>>0;return o+(i>>>0)+((r&a|(r|a)&~(r+a>>>0))>>>31)|0}})},function(t,e,n){var i=n(0);i(i.S,"Math",{imulh:function(t,e){var n=65535,i=+t,r=+e,o=i&n,a=r&n,s=i>>16,l=r>>16,u=(s*a>>>0)+(o*a>>>16);return s*l+(u>>16)+((o*l>>>0)+(u&n)>>16)}})},function(t,e,n){var i=n(0);i(i.S,"Math",{isubh:function(t,e,n,i){var r=t>>>0,o=e>>>0,a=n>>>0;return o-(i>>>0)-((~r&a|~(r^a)&r-a>>>0)>>>31)|0}})},function(t,e,n){var i=n(0);i(i.S,"Math",{umulh:function(t,e){var n=65535,i=+t,r=+e,o=i&n,a=r&n,s=i>>>16,l=r>>>16,u=(s*a>>>0)+(o*a>>>16);return s*l+(u>>>16)+((o*l>>>0)+(u&n)>>>16)}})},function(t,e,n){"use strict";var i=n(0),r=n(9),o=n(11),a=n(7);n(6)&&i(i.P+n(56),"Object",{__defineGetter__:function(t,e){a.f(r(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var i=n(0),r=n(9),o=n(11),a=n(7);n(6)&&i(i.P+n(56),"Object",{__defineSetter__:function(t,e){a.f(r(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var i=n(0),r=n(110)(!0);i(i.S,"Object",{entries:function(t){return r(t)}})},function(t,e,n){var i=n(0),r=n(111),o=n(15),a=n(17),s=n(62);i(i.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n=o(t),i=a.f,l=r(n),u={},c=0;l.length>c;)s(u,e=l[c++],i(n,e));return u}})},function(t,e,n){"use strict";var i=n(0),r=n(9),o=n(24),a=n(18),s=n(17).f;n(6)&&i(i.P+n(56),"Object",{__lookupGetter__:function(t){var e,n=r(this),i=o(t,!0);do if(e=s(n,i))return e.get;while(n=a(n))}})},function(t,e,n){"use strict";var i=n(0),r=n(9),o=n(24),a=n(18),s=n(17).f;n(6)&&i(i.P+n(56),"Object",{__lookupSetter__:function(t){var e,n=r(this),i=o(t,!0);do if(e=s(n,i))return e.set;while(n=a(n))}})},function(t,e,n){var i=n(0),r=n(110)(!1);i(i.S,"Object",{values:function(t){return r(t)}})},function(t,e,n){"use strict";var i=n(0),r=n(2),o=n(25),a=n(74)(),s=n(5)("observable"),l=n(11),u=n(1),c=n(32),h=n(37),f=n(12),d=n(42),p=d.RETURN,g=function(t){return null==t?void 0:l(t)},v=function(t){var e=t._c;e&&(t._c=void 0,e())},m=function(t){return void 0===t._o},y=function(t){m(t)||(t._o=void 0,v(t))},x=function(t,e){u(t),this._c=void 0,this._o=t,t=new _(this);try{var n=e(t),i=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){i.unsubscribe()}:l(n),this._c=n)}catch(e){return void t.error(e)}m(this)&&v(this)};x.prototype=h({},{unsubscribe:function(){y(this)}});var _=function(t){this._s=t};_.prototype=h({},{next:function(t){var e=this._s;if(!m(e)){var n=e._o;try{var i=g(n.next);if(i)return i.call(n,t)}catch(t){try{y(e)}finally{throw t}}}},error:function(t){var e=this._s;if(m(e))throw t;var n=e._o;e._o=void 0;try{var i=g(n.error);if(!i)throw t;t=i.call(n,t)}catch(t){try{v(e)}finally{throw t}}return v(e),t},complete:function(t){var e=this._s;if(!m(e)){var n=e._o;e._o=void 0;try{var i=g(n.complete);t=i?i.call(n,t):void 0}catch(t){try{v(e)}finally{throw t}}return v(e),t}}});var b=function(t){c(this,b,"Observable","_f")._f=l(t)};h(b.prototype,{subscribe:function(t){return new x(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||r.Promise)(function(n,i){l(t);var r=e.subscribe({next:function(e){try{return t(e)}catch(t){i(t),r.unsubscribe()}},error:i,complete:n})})}}),h(b,{from:function(t){var e="function"==typeof this?this:b,n=g(u(t)[s]);if(n){var i=u(n.call(t));return i.constructor===e?i:new e(function(t){return i.subscribe(t)})}return new e(function(e){var n=!1;return a(function(){if(!n){try{if(d(t,!1,function(t){if(e.next(t),n)return p})===p)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,n=Array(e);t<e;)n[t]=arguments[t++];return new("function"==typeof this?this:b)(function(t){var e=!1;return a(function(){if(!e){for(var i=0;i<n.length;++i)if(t.next(n[i]),e)return;t.complete()}}),function(){e=!0}})}}),f(b.prototype,s,function(){return this}),i(i.G,{Observable:b}),n(38)("Observable")},function(t,e,n){var i=n(27),r=n(1),o=i.key,a=i.set;i.exp({defineMetadata:function(t,e,n,i){a(t,e,r(n),o(i))}})},function(t,e,n){var i=n(27),r=n(1),o=i.key,a=i.map,s=i.store;i.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),i=a(r(e),n,!1);if(void 0===i||!i.delete(t))return!1;if(i.size)return!0;var l=s.get(e);return l.delete(n),!!l.size||s.delete(e)}})},function(t,e,n){var i=n(119),r=n(95),o=n(27),a=n(1),s=n(18),l=o.keys,u=o.key,c=function(t,e){var n=l(t,e),o=s(t);if(null===o)return n;var a=c(o,e);return a.length?n.length?r(new i(n.concat(a))):a:n};o.exp({getMetadataKeys:function(t){return c(a(t),arguments.length<2?void 0:u(arguments[1]))}})},function(t,e,n){var i=n(27),r=n(1),o=n(18),a=i.has,s=i.get,l=i.key,u=function(t,e,n){var i=a(t,e,n);if(i)return s(t,e,n);var r=o(e);return null!==r?u(t,r,n):void 0};i.exp({getMetadata:function(t,e){return u(t,r(e),arguments.length<3?void 0:l(arguments[2]))}})},function(t,e,n){var i=n(27),r=n(1),o=i.keys,a=i.key;i.exp({getOwnMetadataKeys:function(t){return o(r(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,e,n){var i=n(27),r=n(1),o=i.get,a=i.key;i.exp({getOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var i=n(27),r=n(1),o=n(18),a=i.has,s=i.key,l=function(t,e,n){var i=a(t,e,n);if(i)return!0;var r=o(e);return null!==r&&l(t,r,n)};i.exp({hasMetadata:function(t,e){return l(t,r(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var i=n(27),r=n(1),o=i.has,a=i.key;i.exp({hasOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var i=n(27),r=n(1),o=n(11),a=i.key,s=i.set;i.exp({metadata:function(t,e){return function(n,i){s(t,e,(void 0!==i?r:o)(n),a(i))}}})},function(t,e,n){var i=n(0);i(i.P+i.R,"Set",{toJSON:n(99)("Set")})},function(t,e,n){"use strict";var i=n(0),r=n(78)(!0);i(i.P,"String",{at:function(t){return r(this,t)}})},function(t,e,n){"use strict";var i=n(0),r=n(20),o=n(8),a=n(54),s=n(52),l=RegExp.prototype,u=function(t,e){this._r=t,this._s=e};n(70)(u,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),i(i.P,"String",{matchAll:function(t){if(r(this),!a(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in l?String(t.flags):s.call(t),i=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return i.lastIndex=o(t.lastIndex),new u(i,e)}})},function(t,e,n){"use strict";var i=n(0),r=n(115);i(i.P,"String",{padEnd:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";var i=n(0),r=n(115);i(i.P,"String",{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){"use strict";n(45)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){"use strict";n(45)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){n(84)("asyncIterator")},function(t,e,n){n(84)("observable")},function(t,e,n){var i=n(0);i(i.S,"System",{global:n(2)})},function(t,e,n){for(var i=n(86),r=n(13),o=n(2),a=n(12),s=n(43),l=n(5),u=l("iterator"),c=l("toStringTag"),h=s.Array,f=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],d=0;d<5;d++){var p,g=f[d],v=o[g],m=v&&v.prototype;if(m){m[u]||a(m,u,h),m[c]||a(m,c,g),s[g]=h;for(p in i)m[p]||r(m,p,i[p],!0)}}},function(t,e,n){var i=n(0),r=n(82);i(i.G+i.B,{setImmediate:r.set,clearImmediate:r.clear})},function(t,e,n){var i=n(2),r=n(0),o=n(53),a=n(150),s=i.navigator,l=!!s&&/MSIE .\./.test(s.userAgent),u=function(t){return l?function(e,n){return t(o(a,[].slice.call(arguments,2),"function"==typeof e?e:Function(e)),n)}:t};r(r.G+r.B+r.F*l,{setTimeout:u(i.setTimeout),setInterval:u(i.setInterval)})},function(t,e,n){n(273),n(212),n(214),n(213),n(216),n(218),n(223),n(217),n(215),n(225),n(224),n(220),n(221),n(219),n(211),n(222),n(226),n(227),n(179),n(181),n(180),n(229),n(228),n(199),n(209),n(210),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(260),n(265),n(272),n(263),n(255),n(256),n(261),n(266),n(268),n(251),n(252),n(253),n(254),n(257),n(258),n(259),n(262),n(264),n(267),n(269),n(270),n(271),n(174),n(176),n(175),n(178),n(177),n(163),n(161),n(167),n(164),n(170),n(172),n(160),n(166),n(157),n(171),n(155),n(169),n(168),n(162),n(165),n(154),n(156),n(159),n(158),n(173),n(86),n(245),n(250),n(118),n(246),n(247),n(248),n(249),n(230),n(117),n(119),n(120),n(285),n(274),n(275),n(280),n(283),n(284),n(278),n(281),n(279),n(282),n(276),n(277),n(231),n(232),n(233),n(234),n(235),n(238),n(236),n(237),n(239),n(240),n(241),n(242),n(244),n(243),n(286),n(312),n(315),n(314),n(316),n(317),n(313),n(318),n(319),n(297),n(300),n(296),n(294),n(295),n(298),n(299),n(289),n(311),n(320),n(288),n(290),n(292),n(291),n(293),n(302),n(303),n(305),n(304),n(307),n(306),n(308),n(309),n(310),n(287),n(301),n(323),n(322),n(321),t.exports=n(25)},function(t,e,n){(function(e,n){!function(e){"use strict";function i(t,e,n,i){var r=e&&e.prototype instanceof o?e:o,a=Object.create(r.prototype),s=new d(i||[]);return a._invoke=c(t,n,s),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function o(){}function a(){}function s(){}function l(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function u(t){function e(n,i,o,a){var s=r(t[n],t,i);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&y.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(u).then(function(t){l.value=t,o(l)},a)}a(s.arg)}function i(t,n){function i(){return new Promise(function(i,r){e(t,n,i,r)})}return o=o?o.then(i,i):i()}"object"==typeof n&&n.domain&&(e=n.domain.bind(e));var o;this._invoke=i}function c(t,e,n){var i=M;return function(o,a){if(i===T)throw new Error("Generator is already running");if(i===I){if("throw"===o)throw a;return g()}for(;;){var s=n.delegate;if(s){if("return"===o||"throw"===o&&s.iterator[o]===v){n.delegate=null;var l=s.iterator.return;if(l){var u=r(l,s.iterator,a);if("throw"===u.type){o="throw",a=u.arg;continue}}if("return"===o)continue}var u=r(s.iterator[o],s.iterator,a);if("throw"===u.type){n.delegate=null,o="throw",a=u.arg;continue}o="next",a=v;var c=u.arg;if(!c.done)return i=A,c;n[s.resultName]=c.value,n.next=s.nextLoc,n.delegate=null}if("next"===o)n.sent=n._sent=a;else if("throw"===o){if(i===M)throw i=I,a;n.dispatchException(a)&&(o="next",a=v)}else"return"===o&&n.abrupt("return",a);i=T;var u=r(t,e,n);if("normal"===u.type){i=n.done?I:A;var c={value:u.arg,done:n.done};if(u.arg!==C)return c;n.delegate&&"next"===o&&(a=v)}else"throw"===u.type&&(i=I,o="throw",a=u.arg)}}}function h(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function f(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function d(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(h,this),this.reset(!0)}function p(t){if(t){var e=t[_];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(y.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=v,e.done=!0,e};return i.next=i}}return{next:g}}function g(){return{value:v,done:!0}}var v,m=Object.prototype,y=m.hasOwnProperty,x="function"==typeof Symbol?Symbol:{},_=x.iterator||"@@iterator",b=x.toStringTag||"@@toStringTag",w="object"==typeof t,S=e.regeneratorRuntime;if(S)return void(w&&(t.exports=S));S=e.regeneratorRuntime=w?t.exports:{},S.wrap=i;var M="suspendedStart",A="suspendedYield",T="executing",I="completed",C={},L={};L[_]=function(){return this};var D=Object.getPrototypeOf,k=D&&D(D(p([])));k&&k!==m&&y.call(k,_)&&(L=k);var P=s.prototype=o.prototype=Object.create(L);a.prototype=P.constructor=s,s.constructor=a,s[b]=a.displayName="GeneratorFunction",S.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===a||"GeneratorFunction"===(e.displayName||e.name))},S.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,b in t||(t[b]="GeneratorFunction")),t.prototype=Object.create(P),t},S.awrap=function(t){return{__await:t}},l(u.prototype),S.AsyncIterator=u,S.async=function(t,e,n,r){var o=new u(i(t,e,n,r));return S.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},l(P),P[b]="Generator",P.toString=function(){return"[object Generator]"},S.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},S.values=p,d.prototype={constructor:d,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.tryEntries.forEach(f),!t)for(var e in this)"t"===e.charAt(0)&&y.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=v)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,i){return o.type="throw",o.arg=t,n.next=e,!!i}if(this.done)throw t;for(var n=this,i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i],o=r.completion;if("root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev){var a=y.call(r,"catchLoc"),s=y.call(r,"finallyLoc");if(a&&s){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(a){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&y.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=t,o.arg=e,r?this.next=r.finallyLoc:this.complete(o),C},complete:function(t,e){if("throw"===t.type)throw t.arg;"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=t.arg,this.next="end"):"normal"===t.type&&e&&(this.next=e)},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),f(n),C}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;f(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:p(t),resultName:e,nextLoc:n},C}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,n(87),n(121))},function(t,e,n){t.exports=n}]);