financial-bigscreen/widerscreen/js/chunk-vendors.4f7948c0.js

37 lines
2.7 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(self["webpackChunkfinacial"]=self["webpackChunkfinacial"]||[]).push([[998],{1001:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,{Z:function(){return i}})},88077:function(e,t,n){n(80529),e.exports=n(94731).Object.assign},99583:function(e,t,n){n(83835),n(6519),n(54427),n(19089),e.exports=n(94731).Symbol},3276:function(e,t,n){n(83036),n(46740),e.exports=n(27613).f("iterator")},71449:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},65345:function(e){e.exports=function(){}},26504:function(e,t,n){var i=n(89151);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},44389:function(e,t,n){var i=n(64874),r=n(68317),o=n(9838);e.exports=function(e){return function(t,n,a){var s,l=i(t),u=r(l.length),c=o(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},84499:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},94731:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},11821:function(e,t,n){var i=n(71449);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},11605:function(e){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},95810:function(e,t,n){e.exports=!n(93777)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},72571:function(e,t,n){var i=n(89151),r=n(99362).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},35568:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},52052:function(e,t,n){var i=n(99656),r=n(32614),o=n(43416);e.exports=function(e){var t=i(e),n=r.f;if(n){var a,s=n(e),l=o.f,u=0;while(s.length>u)l.call(e,a=s[u++])&&t.push(a)}return t}},49901:function(e,t,n){var i=n(99362),r=n(94731),o=n(11821),a=n(96519),s=n(3571),l="prototype",u=function(e,t,n){var c,h,d,f=e&u.F,p=e&u.G,g=e&u.S,m=e&u.P,v=e&u.B,y=e&u.W,b=p?r:r[t]||(r[t]={}),x=b[l],_=p?i:g?i[t]:(i[t]||{})[l];for(c in p&&(n=t),n)h=!f&&_&&void 0!==_[c],h&&s(b,c)||(d=h?_[c]:n[c],b[c]=p&&"function"!=typeof _[c]?n[c]:v&&h?o(d,i):y&&_[c]==d?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t[l]=e[l],t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((b.virtual||(b.virtual={}))[c]=d,e&u.R&&x&&!x[c]&&a(x,c,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},93777:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},99362:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},3571:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},96519:function(e,t,n){var i=n(21738),r=n(38051);e.exports=n(95810)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},10203:function(e,t,n){var i=n(99362).document;e.exports=i&&i.documentElement},93254:function(e,t,n){e.exports=!n(95810)&&!n(93777)((function(){return 7!=Object.defineProperty(n(72571)("div"),"a",{get:function(){return 7}}).a}))},72312:function(e,t,n){var i=n(84499);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},57539:function(e,t,n){var i=n(84499);e.exports=Array.isArray||function(e){return"Array"==i(e)}},89151:function(e){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},69163:function(e,t,n){"use strict";var i=n(34055),r=n(38051),o=n(10420),a={};n(96519)(a,n(25346)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},54346:function(e,t,n){"use strict";var i=n(57346),r=n(49901),o=n(11865),a=n(96519),s=n(33135),l=n(69163),u=n(10420),c=n(91146),h=n(25346)("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",g="values",m=function(){return this};e.exports=function(e,t,n,v,y,b,x){l(n,t,v);var _,w,C,S=function(e){if(!d&&e in E)return E[e];switch(e){case p:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",M=y==g,T=!1,E=e.prototype,D=E[h]||E[f]||y&&E[y],P=D||S(y),O=y?M?S("entries"):P:void 0,I="Array"==t&&E.entries||D;if(I&&(C=c(I.call(new e)),C!==Object.prototype&&C.next&&(u(C,k,!0),i||"function"==typeof C[h]||a(C,h,m))),M&&D&&D.name!==g&&(T=!0,P=function(){return D.call(this)}),i&&!x||!d&&!T&&E[h]||a(E,h,P),s[t]=P,s[k]=m,y)if(_={values:M?P:S(g),keys:b?P:S(p),entries:O},x)for(w in _)w in E||o(E,w,_[w]);else r(r.P+r.F*(d||T),t,_);return _}},54098:function(e){e.exports=function(e,t){return{value:t,done:!!e}}},33135:function(e){e.exports={}},57346:function(e){e.exports=!0},55965:function(e,t,n){var i=n(3535)("meta"),r=n(89151),o=n(3571),a=n(21738).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(93777)((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},h=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[i].i},d=function(e,t){if(!o(e,i)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[i].w},f=function(e){return u&&p.NEED&&l(e)&&!o(e,i)&&c(e),e},p=e.exports={KEY:i,NEED:!1,fastKey:h,getWeak:d,onFreeze:f}},50266:function(e,t,n){"use strict";var i=n(95810),r=n(99656),o=n(32614),a=n(43416),s=n(19411),l=n(72312),u=Object.assign;e.exports=!u||n(93777)((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=i}))?function(e,t){var n=s(e),u=arguments.length,c=1,h=o.f,d=a.f;while(u>c){var f,p=l(arguments[c++]),g=h?r(p).concat(h(p)):r(p),m=g.length,v=0;while(m>v)f=g[v++],i&&!d.call(p,f)||(n[f]=p[f])}return n}:u},34055:function(e,t,n){var i=n(26504),r=n(20121),o=n(35568),a=n(46210)("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n(72571)("iframe"),i=o.length,r="<",a=">";t.style.display="none",n(10203).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+a+"document.F=Object"+r+"/script"+a),e.close(),u=e.F;while(i--)delete u[l][o[i]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=i(e),n=new s,s[l]=null,n[a]=e):n=u(),void 0===t?n:r(n,t)}},21738:function(e,t,n){var i=n(26504),r=n(93254),o=n(25408),a=Object.defineProperty;t.f=n(95810)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},20121:function(e,t,n){var i=n(21738),r=n(26504),o=n(99656);e.exports=n(95810)?Object.defineProperties:function(e,t){r(e);var n,a=o(t),s=a.length,l=0;while(s>l)i.f(e,n=a[l++],t[n]);return e}},18437:function(e,t,n){var i=n(43416),r=n(38051),o=n(64874),a=n(25408),s=n(3571),l=n(93254),u=Object.getOwnPropertyDescriptor;t.f=n(95810)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},42029:function(e,t,n){var i=n(64874),r=n(51471).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):r(i(e))}},51471:function(e,t,n){var i=n(36152),r=n(35568).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},32614:function(e,t){t.f=Object.getOwnPropertySymbols},91146:function(e,t,n){var i=n(3571),r=n(19411),o=n(46210)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},36152:function(e,t,n){var i=n(3571),r=n(64874),o=n(44389)(!1),a=n(46210)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);while(t.length>l)i(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},99656:function(e,t,n){var i=n(36152),r=n(35568);e.exports=Object.keys||function(e){return i(e,r)}},43416:function(e,t){t.f={}.propertyIsEnumerable},38051:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},11865:function(e,t,n){e.exports=n(96519)},10420:function(e,t,n){var i=n(21738).f,r=n(3571),o=n(25346)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},46210:function(e,t,n){var i=n(77571)("keys"),r=n(3535);e.exports=function(e){return i[e]||(i[e]=r(e))}},77571:function(e,t,n){var i=n(94731),r=n(99362),o="__core-js_shared__",a=r[o]||(r[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(57346)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},2222:function(e,t,n){var i=n(41485),r=n(11605);e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),l=i(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},9838:function(e,t,n){var i=n(41485),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},41485:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},64874:function(e,t,n){var i=n(72312),r=n(11605);e.exports=function(e){return i(r(e))}},68317:function(e,t,n){var i=n(41485),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},19411:function(e,t,n){var i=n(11605);e.exports=function(e){return Object(i(e))}},25408:function(e,t,n){var i=n(89151);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},3535:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},21875:function(e,t,n){var i=n(99362),r=n(94731),o=n(57346),a=n(27613),s=n(21738).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},27613:function(e,t,n){t.f=n(25346)},25346:function(e,t,n){var i=n(77571)("wks"),r=n(3535),o=n(99362).Symbol,a="function"==typeof o,s=e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))};s.store=i},61092:function(e,t,n){"use strict";var i=n(65345),r=n(54098),o=n(33135),a=n(64874);e.exports=n(54346)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},80529:function(e,t,n){var i=n(49901);i(i.S+i.F,"Object",{assign:n(50266)})},6519:function(){},83036:function(e,t,n){"use strict";var i=n(2222)(!0);n(54346)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},83835:function(e,t,n){"use strict";var i=n(99362),r=n(3571),o=n(95810),a=n(49901),s=n(11865),l=n(55965).KEY,u=n(93777),c=n(77571),h=n(10420),d=n(3535),f=n(25346),p=n(27613),g=n(21875),m=n(52052),v=n(57539),y=n(26504),b=n(89151),x=n(19411),_=n(64874),w=n(25408),C=n(38051),S=n(34055),k=n(42029),M=n(18437),T=n(32614),E=n(21738),D=n(99656),P=M.f,O=E.f,I=k.f,A=i.Symbol,L=i.JSON,N=L&&L.stringify,R="prototype",z=f("_hidden"),$=f("toPrimitive"),B={}.propertyIsEnumerable,F=c("symbol-registry"),j=c("symbols"),V=c("op-symbols"),H=Object[R],W="function"==typeof A&&!!T.f,G=i.QObject,q=!G||!G[R]||!G[R].findChild,U=o&&u((function(){return 7!=S(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=P(H,t);i&&delete H[t],O(e,t,n),i&&e!==H&&O(H,t,i)}:O,Y=function(e){var t=j[e]=S(A[R]);return t._k=e,t},X=W&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},Z=function(e,t,n){return e===H&&Z(V,t,n),y(e),t=w(t,!0),y(n),r(j,t)?(n.enumerable?(r(e,z)&&e[z][t]&&(e[z][t]=!1),n=S(n,{enumerable:C(0,!1)})):(r(e,z)||O(e,z,C(1,{})),e[z][t]=!0),U(e,t,n)):O(e,t,n)},K=function(e,t){y(e);var n,i=m(t=_(t)),r=0,o=i.length;while(o>r)Z(e,n=i[r++],t[n]);return e},Q=function(e,t){return void 0===t?S(e):K(S(e),t)},J=function(e){var t=B.call(this,e=w(e,!0));return!(this===H&&r(j,e)&&!r(V,e))&&(!(t||!r(this,e)||!r(j,e)||r(this,z)&&this[z][e])||t)},ee=function(e,t){if(e=_(e),t=w(t,!0),e!==H||!r(j,t)||r(V,t)){var n=P(e,t);return!n||!r(j,t)||r(e,z)&&e[z][t]||(n.enumerable=!0),n}},te=function(e){var t,n=I(_(e)),i=[],o=0;while(n.length>o)r(j,t=n[o++])||t==z||t==l||i.push(t);return i},ne=function(e){var t,n=e===H,i=I(n?V:_(e)),o=[],a=0;while(i.length>a)!r(j,t=i[a++])||n&&!r(H,t)||o.push(j[t]);return o};W||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(V,n),r(this,z)&&r(this[z],e)&&(this[z][e]=!1),U(this,e,C(1,n))};return o&&q&&U(H,e,{configurable:!0,set:t}),Y(e)},s(A[R],"toString",(function(){return this._k})),M.f=ee,E.f=Z,n(51471).f=k.f=te,n(43416).f=J,T.f=ne,o&&!n(57346)&&s(H,"propertyIsEnumerable",J,!0),p.f=function(e){return Y(f(e))}),a(a.G+a.W+a.F*!W,{Symbol:A});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)f(ie[re++]);for(var oe=D(f.store),ae=0;oe.length>ae;)g(oe[ae++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return r(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!W,"Object",{create:Q,defineProperty:Z,defineProperties:K,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u((function(){T.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return T.f(x(e))}}),L&&a(a.S+a.F*(!W||u((function(){var e=A();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))}))),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(b(t)||void 0!==e)&&!X(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),i[1]=t,N.apply(L,i)}}),A[R][$]||n(96519)(A[R],$,A[R].valueOf),h(A,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},54427:function(e,t,n){n(21875)("asyncIterator")},19089:function(e,t,n){n(21875)("observable")},46740:function(e,t,n){n(61092);for(var i=n(99362),r=n(96519),o=n(33135),a=n(25346)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=i[u],h=c&&c.prototype;h&&!h[a]&&r(h,a,u),o[u]=o.Array}},19662:function(e,t,n){"use strict";var i=n(60614),r=n(66330),o=TypeError;e.exports=function(e){if(i(e))return e;throw o(r(e)+" is not a function")}},96077:function(e,t,n){"use strict";var i=n(60614),r=String,o=TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw o("Can't set "+r(e)+" as a prototype")}},25787:function(e,t,n){"use strict";var i=n(47976),r=TypeError;e.exports=function(e,t){if(i(t,e))return e;throw r("Incorrect invocation")}},19670:function(e,t,n){"use strict";var i=n(70111),r=String,o=TypeError;e.exports=function(e){if(i(e))return e;throw o(r(e)+" is not an object")}},23013:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},90260:function(e,t,n){"use strict";var i,r,o,a=n(23013),s=n(19781),l=n(17854),u=n(60614),c=n(70111),h=n(92597),d=n(70648),f=n(66330),p=n(68880),g=n(98052),m=n(47045),v=n(47976),y=n(79518),b=n(27674),x=n(5112),_=n(69711),w=n(29909),C=w.enforce,S=w.get,k=l.Int8Array,M=k&&k.prototype,T=l.Uint8ClampedArray,E=T&&T.prototype,D=k&&y(k),P=M&&y(M),O=Object.prototype,I=l.TypeError,A=x("toStringTag"),L=_("TYPED_ARRAY_TAG"),N="TypedArrayConstructor",R=a&&!!b&&"Opera"!==d(l.opera),z=!1,$={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},B={BigInt64Array:8,BigUint64Array:8},F=function(e){if(!c(e))return!1;var t=d(e);return"DataView"===t||h($,t)||h(B,t)},j=function(e){var t=y(e);if(c(t)){var n=S(t);return n&&h(n,N)?n[N]:j(t)}},V=function(e){if(!c(e))return!1;var t=d(e);return h($,t)||h(B,t)},H=function(e){if(V(e))return e;throw I("Target is not a typed array")},W=function(e){if(u(e)&&(!b||v(D,e)))return e;throw I(f(e)+" is not a typed array constructor")},G=function(e,t,n,i){if(s){if(n)for(var r in $){var o=l[r];if(o&&h(o.prototype,e))try{delete o.prototype[e]}catch(a){try{o.prototype[e]=t}catch(u){}}}P[e]&&!n||g(P,e,n?t:R&&M[e]||t,i)}},q=function(e,t,n){var i,r;if(s){if(b){if(n)for(i in $)if(r=l[i],r&&h(r,e))try{delete r[e]}catch(o){}if(D[e]&&!n)return;try{return g(D,e,n?t:R&&D[e]||t)}catch(o){}}for(i in $)r=l[i],!r||r[e]&&!n||g(r,e,t)}};for(i in $)r=l[i],o=r&&r.prototype,o?C(o)[N]=r:R=!1;for(i in B)r=l[i],o=r&&r.prototype,o&&(C(o)[N]=r);if((!R||!u(D)||D===Function.prototype)&&(D=function(){throw I("Incorrect invocation")},R))for(i in $)l[i]&&b(l[i],D);if((!R||!P||P===O)&&(P=D.prototype,R))for(i in $)l[i]&&b(l[i].prototype,P);if(R&&y(E)!==P&&b(E,P),s&&!h(P,A))for(i in z=!0,m(P,A,{configurable:!0,get:function(){return c(this)?this[L]:void 0}}),$)l[i]&&p(l[i],L,i);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:z&&L,aTypedArray:H,aTypedArrayConstructor:W,exportTypedArrayMethod:G,exportTypedArrayStaticMethod:q,getTypedArrayConstructor:j,isView:F,isTypedArray:V,TypedArray:D,TypedArrayPrototype:P}},97745:function(e,t,n){"use strict";var i=n(26244);e.exports=function(e,t){var n=0,r=i(t),o=new e(r);while(r>n)o[n]=t[n++];return o}},41318:function(e,t,n){"use strict";var i=n(45656),r=n(51400),o=n(26244),a=function(e){return function(t,n,a){var s,l=i(t),u=o(l),c=r(a,u);if(e&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},83658:function(e,t,n){"use strict";var i=n(19781),r=n(43157),o=TypeError,a=Object.getOwnPropertyDescriptor,s=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(r(e)&&!a(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},50206:function(e,t,n){"use strict";var i=n(1702);e.exports=i([].slice)},21843:function(e,t,n){"use strict";var i=n(26244);e.exports=function(e,t){for(var n=i(e),r=new t(n),o=0;o<n;o++)r[o]=e[n-o-1];return r}},11572:function(e,t,n){"use strict";var i=n(26244),r=n(19303),o=RangeError;e.exports=function(e,t,n,a){var s=i(e),l=r(n),u=l<0?s+l:l;if(u>=s||u<0)throw o("Incorrect index");for(var c=new t(s),h=0;h<s;h++)c[h]=h===u?a:e[h];return c}},84326:function(e,t,n){"use strict";var i=n(1702),r=i({}.toString),o=i("".slice);e.exports=function(e){return o(r(e),8,-1)}},70648:function(e,t,n){"use strict";var i=n(51694),r=n(60614),o=n(84326),a=n(5112),s=a("toStringTag"),l=Object,u="Arguments"==o(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(n){}};e.exports=i?o:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=c(t=l(e),s))?n:u?o(t):"Object"==(i=o(t))&&r(t.callee)?"Arguments":i}},99920:function(e,t,n){"use strict";var i=n(92597),r=n(53887),o=n(31236),a=n(3070);e.exports=function(e,t,n){for(var s=r(t),l=a.f,u=o.f,c=0;c<s.length;c++){var h=s[c];i(e,h)||n&&i(n,h)||l(e,h,u(t,h))}}},49920:function(e,t,n){"use strict";var i=n(47293);e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},68880:function(e,t,n){"use strict";var i=n(19781),r=n(3070),o=n(79114);e.exports=i?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},79114:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},47045:function(e,t,n){"use strict";var i=n(56339),r=n(3070);e.exports=function(e,t,n){return n.get&&i(n.get,t,{getter:!0}),n.set&&i(n.set,t,{setter:!0}),r.f(e,t,n)}},98052:function(e,t,n){"use strict";var i=n(60614),r=n(3070),o=n(56339),a=n(13072);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(i(n)&&o(n,u,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(c){}l?e[t]=n:r.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},13072:function(e,t,n){"use strict";var i=n(17854),r=Object.defineProperty;e.exports=function(e,t){try{r(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},19781:function(e,t,n){"use strict";var i=n(47293);e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(e){"use strict";var t="object"==typeof document&&document.all,n="undefined"==typeof t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},80317:function(e,t,n){"use strict";var i=n(17854),r=n(70111),o=i.document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},7207:function(e){"use strict";var t=TypeError,n=9007199254740991;e.exports=function(e){if(e>n)throw t("Maximum allowed index exceeded");return e}},93678:function(e){"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},89363:function(e){"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},6833:function(e,t,n){"use strict";var i=n(88113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(i)},35268:function(e,t,n){"use strict";var i=n(84326);e.exports="undefined"!=typeof process&&"process"==i(process)},88113:function(e){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(e,t,n){"use strict";var i,r,o=n(17854),a=n(88113),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=c.split("."),r=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(i=a.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/),i&&(r=+i[1]))),e.exports=r},80748:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},11060:function(e,t,n){"use strict";var i=n(1702),r=Error,o=i("".replace),a=function(e){return String(r(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!r.prepareStackTrace)while(t--)e=o(e,s,"");return e}},82109:function(e,t,n){"use strict";var i=n(17854),r=n(31236).f,o=n(68880),a=n(98052),s=n(13072),l=n(99920),u=n(54705);e.exports=function(e,t){var n,c,h,d,f,p,g=e.target,m=e.global,v=e.stat;if(c=m?i:v?i[g]||s(g,{}):(i[g]||{}).prototype,c)for(h in t){if(f=t[h],e.dontCallGetSet?(p=r(c,h),d=p&&p.value):d=c[h],n=u(m?h:g+(v?".":"#")+h,e.forced),!n&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),a(c,h,f,e)}}},47293:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},22104:function(e,t,n){"use strict";var i=n(34374),r=Function.prototype,o=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(o):function(){return a.apply(o,arguments)})},49974:function(e,t,n){"use strict";var i=n(21470),r=n(19662),o=n(34374),a=i(i.bind);e.exports=function(e,t){return r(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},34374:function(e,t,n){"use strict";var i=n(47293);e.exports=!i((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},46916:function(e,t,n){"use strict";var i=n(34374),r=Function.prototype.call;e.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},76530:function(e,t,n){"use strict";var i=n(19781),r=n(92597),o=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=r(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!i||i&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},75668:function(e,t,n){"use strict";var i=n(1702),r=n(19662);e.exports=function(e,t,n){try{return i(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(o){}}},21470:function(e,t,n){"use strict";var i=n(84326),r=n(1702);e.exports=function(e){if("Function"===i(e))return r(e)}},1702:function(e,t,n){"use strict";var i=n(34374),r=Function.prototype,o=r.call,a=i&&r.bind.bind(o,o);e.exports=i?a:function(e){return function(){return o.apply(e,arguments)}}},35005:function(e,t,n){"use strict";var i=n(17854),r=n(60614),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(i[e]):i[e]&&i[e][t]}},58173:function(e,t,n){"use strict";var i=n(19662),r=n(68554);e.exports=function(e,t){var n=e[t];return r(n)?void 0:i(n)}},17854:function(e,t,n){"use strict";var i=function(e){return e&&e.Math==Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},92597:function(e,t,n){"use strict";var i=n(1702),r=n(47908),o=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(r(e),t)}},3501:function(e){"use strict";e.exports={}},60490:function(e,t,n){"use strict";var i=n(35005);e.exports=i("document","documentElement")},64664:function(e,t,n){"use strict";var i=n(19781),r=n(47293),o=n(80317);e.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},68361:function(e,t,n){"use strict";var i=n(1702),r=n(47293),o=n(84326),a=Object,s=i("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):a(e)}:a},79587:function(e,t,n){"use strict";var i=n(60614),r=n(70111),o=n(27674);e.exports=function(e,t,n){var a,s;return o&&i(a=t.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},42788:function(e,t,n){"use strict";var i=n(1702),r=n(60614),o=n(5465),a=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},29909:function(e,t,n){"use strict";var i,r,o,a=n(94811),s=n(17854),l=n(70111),u=n(68880),c=n(92597),h=n(5465),d=n(6200),f=n(3501),p="Object already initialized",g=s.TypeError,m=s.WeakMap,v=function(e){return o(e)?r(e):i(e,{})},y=function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}};if(a||h.state){var b=h.state||(h.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,i=function(e,t){if(b.has(e))throw g(p);return t.facade=e,b.set(e,t),t},r=function(e){return b.get(e)||{}},o=function(e){return b.has(e)}}else{var x=d("state");f[x]=!0,i=function(e,t){if(c(e,x))throw g(p);return t.facade=e,u(e,x,t),t},r=function(e){return c(e,x)?e[x]:{}},o=function(e){return c(e,x)}}e.exports={set:i,get:r,has:o,enforce:v,getterFor:y}},43157:function(e,t,n){"use strict";var i=n(84326);e.exports=Array.isArray||function(e){return"Array"==i(e)}},44067:function(e,t,n){"use strict";var i=n(70648);e.exports=function(e){var t=i(e);return"BigInt64Array"==t||"BigUint64Array"==t}},60614:function(e,t,n){"use strict";var i=n(4154),r=i.all;e.exports=i.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},54705:function(e,t,n){"use strict";var i=n(47293),r=n(60614),o=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==c||n!=u&&(r(t)?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},68554:function(e){"use strict";e.exports=function(e){return null===e||void 0===e}},70111:function(e,t,n){"use strict";var i=n(60614),r=n(4154),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:i(e)||e===o}:function(e){return"object"==typeof e?null!==e:i(e)}},31913:function(e){"use strict";e.exports=!1},52190:function(e,t,n){"use strict";var i=n(35005),r=n(60614),o=n(47976),a=n(43307),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return r(t)&&o(t.prototype,s(e))}},26244:function(e,t,n){"use strict";var i=n(17466);e.exports=function(e){return i(e.length)}},56339:function(e,t,n){"use strict";var i=n(1702),r=n(47293),o=n(60614),a=n(92597),s=n(19781),l=n(76530).CONFIGURABLE,u=n(42788),c=n(29909),h=c.enforce,d=c.get,f=String,p=Object.defineProperty,g=i("".slice),m=i("".replace),v=i([].join),y=s&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),x=e.exports=function(e,t,n){"Symbol("===g(f(t),0,7)&&(t="["+m(f(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&a(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(r){}var i=h(e);return a(i,"source")||(i.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=x((function(){return o(this)&&d(this).source||u(this)}),"toString")},74758:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var i=+e;return(i>0?n:t)(i)}},56277:function(e,t,n){"use strict";var i=n(41340);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:i(e)}},3070:function(e,t,n){"use strict";var i=n(19781),r=n(64664),o=n(3353),a=n(19670),s=n(34948),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",f="writable";t.f=i?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"===typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var i=c(e,t);i&&i[f]&&(e[t]=n.value,n={configurable:d in n?n[d]:i[d],enumerable:h in n?n[h]:i[h],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),r)try{return u(e,t,n)}catch(i){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},31236:function(e,t,n){"use strict";var i=n(19781),r=n(46916),o=n(55296),a=n(79114),s=n(45656),l=n(34948),u=n(92597),c=n(64664),h=Object.getOwnPropertyDescriptor;t.f=i?h:function(e,t){if(e=s(e),t=l(t),c)try{return h(e,t)}catch(n){}if(u(e,t))return a(!r(o.f,e,t),e[t])}},8006:function(e,t,n){"use strict";var i=n(16324),r=n(80748),o=r.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},25181:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},79518:function(e,t,n){"use strict";var i=n(92597),r=n(60614),o=n(47908),a=n(6200),s=n(49920),l=a("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=o(e);if(i(t,l))return t[l];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},47976:function(e,t,n){"use strict";var i=n(1702);e.exports=i({}.isPrototypeOf)},16324:function(e,t,n){"use strict";var i=n(1702),r=n(92597),o=n(45656),a=n(41318).indexOf,s=n(3501),l=i([].push);e.exports=function(e,t){var n,i=o(e),u=0,c=[];for(n in i)!r(s,n)&&r(i,n)&&l(c,n);while(t.length>u)r(i,n=t[u++])&&(~a(c,n)||l(c,n));return c}},55296:function(e,t){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!n.call({1:2},1);t.f=r?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},27674:function(e,t,n){"use strict";var i=n(75668),r=n(19670),o=n(96077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=i(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(a){}return function(n,i){return r(n),o(i),t?e(n,i):n.__proto__=i,n}}():void 0)},92140:function(e,t,n){"use strict";var i=n(46916),r=n(60614),o=n(70111),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&r(n=e.toString)&&!o(s=i(n,e)))return s;if(r(n=e.valueOf)&&!o(s=i(n,e)))return s;if("string"!==t&&r(n=e.toString)&&!o(s=i(n,e)))return s;throw a("Can't convert object to primitive value")}},53887:function(e,t,n){"use strict";var i=n(35005),r=n(1702),o=n(8006),a=n(25181),s=n(19670),l=r([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?l(t,n(e)):t}},84488:function(e,t,n){"use strict";var i=n(68554),r=TypeError;e.exports=function(e){if(i(e))throw r("Can't call method on "+e);return e}},17152:function(e,t,n){"use strict";var i=n(17854),r=n(22104),o=n(60614),a=n(89363),s=n(88113),l=n(50206),u=n(48053),c=i.Function,h=/MSIE .\./.test(s)||a&&function(){var e=i.Bun.version.split(".");return e.length<3||0==e[0]&&(e[1]<3||3==e[1]&&0==e[2])}();e.exports=function(e,t){var n=t?2:1;return h?function(i,a){var s=u(arguments.length,1)>n,h=o(i)?i:c(i),d=s?l(arguments,n):[],f=s?function(){r(h,this,d)}:h;return t?e(f,a):e(f)}:e}},6200:function(e,t,n){"use strict";var i=n(72309),r=n(69711),o=i("keys");e.exports=function(e){return o[e]||(o[e]=r(e))}},5465:function(e,t,n){"use strict";var i=n(17854),r=n(13072),o="__core-js_shared__",a=i[o]||r(o,{});e.exports=a},72309:function(e,t,n){"use strict";var i=n(31913),r=n(5465);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.0",mode:i?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})},36293:function(e,t,n){"use strict";var i=n(7392),r=n(47293),o=n(17854),a=o.String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},20261:function(e,t,n){"use strict";var i,r,o,a,s=n(17854),l=n(22104),u=n(49974),c=n(60614),h=n(92597),d=n(47293),f=n(60490),p=n(50206),g=n(80317),m=n(48053),v=n(6833),y=n(35268),b=s.setImmediate,x=s.clearImmediate,_=s.process,w=s.Dispatch,C=s.Function,S=s.MessageChannel,k=s.String,M=0,T={},E="onreadystatechange";d((function(){i=s.location}));var D=function(e){if(h(T,e)){var t=T[e];delete T[e],t()}},P=function(e){return function(){D(e)}},O=function(e){D(e.data)},I=function(e){s.postMessage(k(e),i.protocol+"//"+i.host)};b&&x||(b=function(e){m(arguments.length,1);var t=c(e)?e:C(e),n=p(arguments,1);return T[++M]=function(){l(t,void 0,n)},r(M),M},x=function(e){delete T[e]},y?r=function(e){_.nextTick(P(e))}:w&&w.now?r=function(e){w.now(P(e))}:S&&!v?(o=new S,a=o.port2,o.port1.onmessage=O,r=u(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&i&&"file:"!==i.protocol&&!d(I)?(r=I,s.addEventListener("message",O,!1)):r=E in g("script")?function(e){f.appendChild(g("script"))[E]=function(){f.removeChild(this),D(e)}}:function(e){setTimeout(P(e),0)}),e.exports={set:b,clear:x}},51400:function(e,t,n){"use strict";var i=n(19303),r=Math.max,o=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):o(n,t)}},64599:function(e,t,n){"use strict";var i=n(57593),r=TypeError;e.exports=function(e){var t=i(e,"number");if("number"==typeof t)throw r("Can't convert number to bigint");return BigInt(t)}},45656:function(e,t,n){"use strict";var i=n(68361),r=n(84488);e.exports=function(e){return i(r(e))}},19303:function(e,t,n){"use strict";var i=n(74758);e.exports=function(e){var t=+e;return t!==t||0===t?0:i(t)}},17466:function(e,t,n){"use strict";var i=n(19303),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},47908:function(e,t,n){"use strict";var i=n(84488),r=Object;e.exports=function(e){return r(i(e))}},57593:function(e,t,n){"use strict";var i=n(46916),r=n(70111),o=n(52190),a=n(58173),s=n(92140),l=n(5112),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!r(e)||o(e))return e;var n,l=a(e,c);if(l){if(void 0===t&&(t="default"),n=i(l,e,t),!r(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},34948:function(e,t,n){"use strict";var i=n(57593),r=n(52190);e.exports=function(e){var t=i(e,"string");return r(t)?t:t+""}},51694:function(e,t,n){"use strict";var i=n(5112),r=i("toStringTag"),o={};o[r]="z",e.exports="[object z]"===String(o)},41340:function(e,t,n){"use strict";var i=n(70648),r=String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},66330:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},69711:function(e,t,n){"use strict";var i=n(1702),r=0,o=Math.random(),a=i(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++r+o,36)}},43307:function(e,t,n){"use strict";var i=n(36293);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,n){"use strict";var i=n(19781),r=n(47293);e.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},48053:function(e){"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},94811:function(e,t,n){"use strict";var i=n(17854),r=n(60614),o=i.WeakMap;e.exports=r(o)&&/native code/.test(String(o))},5112:function(e,t,n){"use strict";var i=n(17854),r=n(72309),o=n(92597),a=n(69711),s=n(36293),l=n(43307),u=i.Symbol,c=r("wks"),h=l?u["for"]||u:u&&u.withoutSetter||a;e.exports=function(e){return o(c,e)||(c[e]=s&&o(u,e)?u[e]:h("Symbol."+e)),c[e]}},57658:function(e,t,n){"use strict";var i=n(82109),r=n(47908),o=n(26244),a=n(83658),s=n(7207),l=n(47293),u=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},h=u||!c();i({target:"Array",proto:!0,arity:1,forced:h},{push:function(e){var t=r(this),n=o(t),i=arguments.length;s(n+i);for(var l=0;l<i;l++)t[n]=arguments[l],n++;return a(t,n),n}})},1439:function(e,t,n){"use strict";var i=n(21843),r=n(90260),o=r.aTypedArray,a=r.exportTypedArrayMethod,s=r.getTypedArrayConstructor;a("toReversed",(function(){return i(o(this),s(this))}))},87585:function(e,t,n){"use strict";var i=n(90260),r=n(1702),o=n(19662),a=n(97745),s=i.aTypedArray,l=i.getTypedArrayConstructor,u=i.exportTypedArrayMethod,c=r(i.TypedArrayPrototype.sort);u("toSorted",(function(e){void 0!==e&&o(e);var t=s(this),n=a(l(t),t);return c(n,e)}))},55315:function(e,t,n){"use strict";var i=n(11572),r=n(90260),o=n(44067),a=n(19303),s=n(64599),l=r.aTypedArray,u=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,h=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();c("with",{with:function(e,t){var n=l(this),r=a(e),c=o(n)?s(t):+t;return i(n,u(n),r,c)}}["with"],!h)},11091:function(e,t,n){"use strict";var i=n(82109),r=n(17854),o=n(20261).clear;i({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==o},{clearImmediate:o})},82801:function(e,t,n){"use strict";var i=n(82109),r=n(17854),o=n(35005),a=n(79114),s=n(3070).f,l=n(92597),u=n(25787),c=n(79587),h=n(56277),d=n(93678),f=n(11060),p=n(19781),g=n(31913),m="DOMException",v=o("Error"),y=o(m),b=function(){u(this,x);var e=arguments.length,t=h(e<1?void 0:arguments[0]),n=h(e<2?void 0:arguments[1],"Error"),i=new y(t,n),r=v(t);return r.name=m,s(i,"stack",a(1,f(r.stack,1))),c(i,this,b),i},x=b.prototype=y.prototype,_="stack"in v(m),w="stack"in new y(1,2),C=y&&p&&Object.getOwnPropertyDescriptor(r,m),S=!!C&&!(C.writable&&C.configurable),k=_&&!S&&!w;i({global:!0,constructor:!0,forced:g||k},{DOMException:k?b:y});var M=o(m),T=M.prototype;if(T.constructor!==M)for(var E in g||s(T,"constructor",a(1,M)),d)if(l(d,E)){var D=d[E],P=D.s;l(M,P)||s(M,P,a(6,D.c))}},84633:function(e,t,n){"use strict";n(11091),n(12986)},12986:function(e,t,n){"use strict";var i=n(82109),r=n(17854),o=n(20261).set,a=n(17152),s=r.setImmediate?a(o,!1):o;i({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==s},{setImmediate:s})},46229:function(e,t,n){"use strict";var i=n(98052),r=n(1702),o=n(41340),a=n(48053),s=URLSearchParams,l=s.prototype,u=r(l.append),c=r(l["delete"]),h=r(l.forEach),d=r([].push),f=new s("a=1&a=2&b=3");f["delete"]("a",1),f["delete"]("b",void 0),f+""!=="a=2"&&i(l,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return c(this,e);var i=[];h(this,(function(e,t){d(i,{key:t,value:e})})),a(t,1);var r,s=o(e),l=o(n),f=0,p=0,g=!1,m=i.length;while(f<m)r=i[f++],g||r.key===s?(g=!0,c(this,r.key)):p++;while(p<m)r=i[p++],r.key===s&&r.value===l||u(this,r.key,r.value)}),{enumerable:!0,unsafe:!0})},17330:function(e,t,n){"use strict";var i=n(98052),r=n(1702),o=n(41340),a=n(48053),s=URLSearchParams,l=s.prototype,u=r(l.getAll),c=r(l.has),h=new s("a=1");!h.has("a",2)&&h.has("a",void 0)||i(l,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return c(this,e);var i=u(this,e);a(t,1);var r=o(n),s=0;while(s<i.length)if(i[s++]===r)return!0;return!1}),{enumerable:!0,unsafe:!0})},62062:function(e,t,n){"use strict";var i=n(19781),r=n(1702),o=n(47045),a=URLSearchParams.prototype,s=r(a.forEach);i&&!("size"in a)&&o(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},5545:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.bezierCurveToPolyline=b,t.getBezierCurveLength=x,t["default"]=void 0;var r=i(n(99621)),o=i(n(57920)),a=Math.sqrt,s=Math.pow,l=Math.ceil,u=Math.abs,c=50;function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=e.length-1,i=e[0],r=e[n][2],a=e.slice(1),s=a.map((function(e,t){var n=0===t?i:a[t-1][2];return d.apply(void 0,[n].concat((0,o["default"])(e)))})),l=new Array(n).fill(c),u=m(s,l),h=y(u,s,a,t);return h.segmentPoints.push(r),h}function d(e,t,n,i){return function(r){var o=1-r,a=s(o,3),l=s(o,2),u=s(r,3),c=s(r,2);return[e[0]*a+3*t[0]*r*l+3*n[0]*c*o+i[0]*u,e[1]*a+3*t[1]*r*l+3*n[1]*c*o+i[1]*u]}}function f(e,t){var n=(0,r["default"])(e,2),i=n[0],o=n[1],l=(0,r["default"])(t,2),u=l[0],c=l[1];return a(s(i-u,2)+s(o-c,2))}function p(e){return e.reduce((function(e,t){return e+t}),0)}function g(e){return e.map((function(e,t){return new Array(e.length-1).fill(0).map((function(t,n){return f(e[n],e[n+1])}))}))}function m(e,t){return e.map((function(e,n){var i=1/t[n];return new Array(t[n]).fill("").map((function(t,n){return e(n*i)}))}))}function v(e,t){return e.map((function(e){return e.map((function(e){return u(e-t)}))})).map((function(e){return p(e)})).reduce((function(e,t){return e+t}),0)}function y(e,t,n,i){var r=4,o=1,a=function(){var a=e.reduce((function(e,t){return e+t.length}),0);e.forEach((function(e,t){return e.push(n[t][2])}));var s=g(e),u=s.reduce((function(e,t){return e+t.length}),0),c=s.map((function(e){return p(e)})),h=p(c),d=h/u,f=v(s,d);if(f<=i)return"break";a=l(d/i*a*1.1);var y=c.map((function(e){return l(e/h*a)}));e=m(t,y),a=e.reduce((function(e,t){return e+t.length}),0);var b=JSON.parse(JSON.stringify(e));b.forEach((function(e,t){return e.push(n[t][2])})),s=g(b),u=s.reduce((function(e,t){return e+t.length}),0),c=s.map((function(e){return p(e)})),h=p(c),d=h/u;var x=1/a/10;t.forEach((function(t,n){for(var i=y[n],o=new Array(i).fill("").map((function(e,t){return t/y[n]})),a=0;a<r;a++)for(var s=g([e[n]])[0],l=s.map((function(e){return e-d})),u=0,c=0;c<i;c++){if(0===c)return;u+=l[c-1],o[c]-=x*u,o[c]>1&&(o[c]=1),o[c]<0&&(o[c]=0),e[n][c]=t(o[c])}})),r*=4,o++};do{var s=a();if("break"===s)break}while(r<=1025);return e=e.reduce((function(e,t){return e.concat(t)}),[]),{segmentPoints:e,cycles:o,rounds:r}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return console.error("bezierCurveToPolyline: Missing parameters!"),!1;if(!(e instanceof Array))return console.error("bezierCurveToPolyline: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof t)return console.error("bezierCurveToPolyline: Parameter precision must be a number!"),!1;var n=h(e,t),i=n.segmentPoints;return i}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return console.error("getBezierCurveLength: Missing parameters!"),!1;if(!(e instanceof Array))return console.error("getBezierCurveLength: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof t)return console.error("getBezierCurveLength: Parameter precision must be a number!"),!1;var n=h(e,t),i=n.segmentPoints,r=g([i])[0],o=p(r);return o}var _=b;t["default"]=_},94069:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=i(n(99621)),o=i(n(57920));function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.25,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25;if(!(e instanceof Array))return console.error("polylineToBezierCurve: Parameter polyline must be an array!"),!1;if(e.length<=2)return console.error("polylineToBezierCurve: Converting to a curve requires at least 3 points!"),!1;var r=e[0],a=e.length-1,u=new Array(a).fill(0).map((function(r,a){return[].concat((0,o["default"])(s(e,a,t,n,i)),[e[a+1]])}));return t&&l(u,r),u.unshift(e[0]),u}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.25,o=e.length;if(!(o<3||t>=o)){var a=t-1;a<0&&(a=n?o+a:0);var s=t+1;s>=o&&(s=n?s-o:o-1);var l=t+2;l>=o&&(l=n?l-o:o-1);var u=e[a],c=e[t],h=e[s],d=e[l];return[[c[0]+i*(h[0]-u[0]),c[1]+i*(h[1]-u[1])],[h[0]-r*(d[0]-c[0]),h[1]-r*(d[1]-c[1])]]}}function l(e,t){var n=e[0],i=e.slice(-1)[0];return e.push([u(i[1],i[2]),u(n[0],t),t]),e}function u(e,t){var n=(0,r["default"])(e,2),i=n[0],o=n[1],a=(0,r["default"])(t,2),s=a[0],l=a[1],u=s-i,c=l-o;return[s+u,l+c]}var c=a;t["default"]=c},39350:function(e,t,n){"use strict";var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bezierCurveToPolyline",{enumerable:!0,get:function(){return r.bezierCurveToPolyline}}),Object.defineProperty(t,"getBezierCurveLength",{enumerable:!0,get:function(){return r.getBezierCurveLength}}),Object.defineProperty(t,"polylineToBezierCurve",{enumerable:!0,get:function(){return o["default"]}}),t["default"]=void 0;var r=n(5545),o=i(n(94069)),a={bezierCurveToPolyline:r.bezierCurveToPolyline,getBezierCurveLength:r.getBezierCurveLength,polylineToBezierCurve:o["default"]};t["default"]=a},30836:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=i(n(34344)),o=i(n(57920)),a=i(n(11469)),s=i(n(2172)),l=i(n(39350)),u=n(19482),c=i(n(68597)),h=i(n(12330));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){(0,r["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function e(t){if((0,a["default"])(this,e),t){var n=t.getContext("2d"),i=t.clientWidth,r=t.clientHeight,o=[i,r];t.setAttribute("width",i),t.setAttribute("height",r),this.ctx=n,this.area=o,this.animationStatus=!1,this.graphs=[],this.color=s["default"],this.bezierCurve=l["default"],t.addEventListener("mousedown",v.bind(this)),t.addEventListener("mousemove",y.bind(this)),t.addEventListener("mouseup",b.bind(this))}else console.error("CRender Missing parameters!")};function g(e,t){var n=this.graphs;m(n)?(n.forEach((function(e){return e.turnNextAnimationFrame(t)})),this.drawAllGraph(),requestAnimationFrame(g.bind(this,e,t))):e()}function m(e){return e.find((function(e){return!e.animationPause&&e.animationFrameState.length}))}function v(e){var t=this.graphs,n=t.find((function(e){return"hover"===e.status}));n&&(n.status="active")}function y(e){var t=e.offsetX,n=e.offsetY,i=[t,n],r=this.graphs,o=r.find((function(e){return"active"===e.status||"drag"===e.status}));if(o){if(!o.drag)return;return"function"!==typeof o.move?void console.error("No move method is provided, cannot be dragged!"):(o.moveProcessor(e),void(o.status="drag"))}var a=r.find((function(e){return"hover"===e.status})),s=r.filter((function(e){return e.hover&&("function"===typeof e.hoverCheck||e.hoverRect)})),l=s.find((function(e){return e.hoverCheckProcessor(i,e)}));document.body.style.cursor=l?l.style.hoverCursor:"default";var u=!1,c=!1;if(a&&(u="function"===typeof a.mouseOuter),l&&(c="function"===typeof l.mouseEnter),l||a){if(!l&&a)return u&&a.mouseOuter(e,a),void(a.status="static");if(!l||l!==a)return l&&!a?(c&&l.mouseEnter(e,l),void(l.status="hover")):void(l&&a&&l!==a&&(u&&a.mouseOuter(e,a),a.status="static",c&&l.mouseEnter(e,l),l.status="hover"))}}function b(e){var t=this.graphs,n=t.find((function(e){return"active"===e.status})),i=t.find((function(e){return"drag"===e.status}));n&&"function"===typeof n.click&&n.click(e,n),t.forEach((function(e){return e&&(e.status="static")})),n&&(n.status="hover"),i&&(i.status="hover")}t["default"]=p,p.prototype.clearArea=function(){var e,t=this.area;(e=this.ctx).clearRect.apply(e,[0,0].concat((0,o["default"])(t)))},p.prototype.add=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name;if(t){var n=c["default"].get(t);if(n){var i=new h["default"](n,e);if(i.validator(i))return i.render=this,this.graphs.push(i),this.sortGraphsByIndex(),this.drawAllGraph(),i}else console.warn("No corresponding graph configuration found!")}else console.error("add Missing parameters!")},p.prototype.sortGraphsByIndex=function(){var e=this.graphs;e.sort((function(e,t){return e.index>t.index?1:e.index===t.index?0:e.index<t.index?-1:void 0}))},p.prototype.delGraph=function(e){"function"===typeof e.delProcessor&&(e.delProcessor(this),this.graphs=this.graphs.filter((function(e){return e})),this.drawAllGraph())},p.prototype.delAllGraph=function(){var e=this;this.graphs.forEach((function(t){return t.delProcessor(e)})),this.graphs=this.graphs.filter((function(e){return e})),this.drawAllGraph()},p.prototype.drawAllGraph=function(){var e=this;this.clearArea(),this.graphs.filter((function(e){return e&&e.visible})).forEach((function(t){return t.drawProcessor(e,t)}))},p.prototype.launchAnimation=function(){var e=this,t=this.animationStatus;if(!t)return this.animationStatus=!0,new Promise((function(t){g.call(e,(function(){e.animationStatus=!1,t()}),Date.now())}))},p.prototype.clone=function(e){var t=e.style.getStyle(),n=f({},e,{style:t});return delete n.render,n=(0,u.deepClone)(n,!0),this.add(n)}},12330:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=i(n(78305)),o=i(n(25736)),a=i(n(54614)),s=i(n(57920)),l=i(n(11469)),u=i(n(70582)),c=i(n(44037)),h=n(19482),d=function e(t,n){(0,l["default"])(this,e),n=(0,h.deepClone)(n,!0);var i={visible:!0,drag:!1,hover:!1,index:1,animationDelay:0,animationFrame:30,animationCurve:"linear",animationPause:!1,hoverRect:null,mouseEnter:null,mouseOuter:null,click:null},r={status:"static",animationRoot:[],animationKeys:[],animationFrameState:[],cache:{}};n.shape||(n.shape={}),n.style||(n.style={});var o=Object.assign({},t.shape,n.shape);Object.assign(i,n,r),Object.assign(this,t,i),this.shape=o,this.style=new u["default"](n.style),this.addedProcessor()};function f(e){return new Promise((function(t){setTimeout(t,e)}))}t["default"]=d,d.prototype.addedProcessor=function(){"function"===typeof this.setGraphCenter&&this.setGraphCenter(null,this),"function"===typeof this.added&&this.added(this)},d.prototype.drawProcessor=function(e,t){var n=e.ctx;t.style.initStyle(n),"function"===typeof this.beforeDraw&&this.beforeDraw(this,e),t.draw(e,t),"function"===typeof this.drawed&&this.drawed(this,e),t.style.restoreTransform(n)},d.prototype.hoverCheckProcessor=function(e,t){var n=t.hoverRect,i=t.style,r=t.hoverCheck,o=i.graphCenter,a=i.rotate,l=i.scale,u=i.translate;return o&&(a&&(e=(0,h.getRotatePointPos)(-a,e,o)),l&&(e=(0,h.getScalePointPos)(l.map((function(e){return 1/e})),e,o)),u&&(e=(0,h.getTranslatePointPos)(u.map((function(e){return-1*e})),e))),n?h.checkPointIsInRect.apply(void 0,[e].concat((0,s["default"])(n))):r(e,this)},d.prototype.moveProcessor=function(e){this.move(e,this),"function"===typeof this.beforeMove&&this.beforeMove(e,this),"function"===typeof this.setGraphCenter&&this.setGraphCenter(e,this),"function"===typeof this.moved&&this.moved(e,this)},d.prototype.attr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(!e||void 0===t)return!1;var n="object"===(0,a["default"])(this[e]);n&&(t=(0,h.deepClone)(t,!0));var i=this.render;"style"===e?this.style.update(t):n?Object.assign(this[e],t):this[e]=t,"index"===e&&i.sortGraphsByIndex(),i.drawAllGraph()},d.prototype.animation=function(){var e=(0,o["default"])(r["default"].mark((function e(t,n){var i,a,s,l,u,d,p,g,m,v=arguments;return r["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=v.length>2&&void 0!==v[2]&&v[2],"shape"===t||"style"===t){e.next=4;break}return console.error("Only supported shape and style animation!"),e.abrupt("return");case 4:if(n=(0,h.deepClone)(n,!0),"style"===t&&this.style.colorProcessor(n),a=this[t],s=Object.keys(n),l={},s.forEach((function(e){return l[e]=a[e]})),u=this.animationFrame,d=this.animationCurve,p=this.animationDelay,g=(0,c["default"])(d,l,n,u,!0),this.animationRoot.push(a),this.animationKeys.push(s),this.animationFrameState.push(g),!i){e.next=17;break}return e.abrupt("return");case 17:if(!(p>0)){e.next=20;break}return e.next=20,f(p);case 20:return m=this.render,e.abrupt("return",new Promise(function(){var e=(0,o["default"])(r["default"].mark((function e(t){return r["default"].wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,m.launchAnimation();case 2:t();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 22:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),d.prototype.turnNextAnimationFrame=function(e){var t=this.animationDelay,n=this.animationRoot,i=this.animationKeys,r=this.animationFrameState,o=this.animationPause;o||Date.now()-e<t||(n.forEach((function(e,t){i[t].forEach((function(n){e[n]=r[t][0][n]}))})),r.forEach((function(e,t){e.shift();var r=0===e.length;r&&(n[t]=null),r&&(i[t]=null)})),this.animationFrameState=r.filter((function(e){return e.length})),this.animationRoot=n.filter((function(e){return e})),this.animationKeys=i.filter((function(e){return e})))},d.prototype.animationEnd=function(){var e=this.animationFrameState,t=this.animationKeys,n=this.animationRoot,i=this.render;return n.forEach((function(n,i){var r=t[i],o=e[i].pop();r.forEach((function(e){return n[e]=o[e]}))})),this.animationFrameState=[],this.animationKeys=[],this.animationRoot=[],i.drawAllGraph()},d.prototype.pauseAnimation=function(){this.attr("animationPause",!0)},d.prototype.playAnimation=function(){var e=this.render;return this.attr("animationPause",!1),new Promise(function(){var t=(0,o["default"])(r["default"].mark((function t(n){return r["default"].wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.launchAnimation();case 2:n();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},d.prototype.delProcessor=function(e){var t=this,n=e.graphs,i=n.findIndex((function(e){return e===t}));-1!==i&&("function"===typeof this.beforeDelete&&this.beforeDelete(this),n.splice(i,1,null),"function"===typeof this.deleted&&this.deleted(this))}},70582:function(e,t,n){"use strict";var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=i(n(57920)),o=i(n(11469)),a=n(2172),s=n(19482),l=function e(t){(0,o["default"])(this,e),this.colorProcessor(t);var n={fill:[0,0,0,1],stroke:[0,0,0,0],opacity:1,lineCap:null,lineJoin:null,lineDash:null,lineDashOffset:null,shadowBlur:0,shadowColor:[0,0,0,0],shadowOffsetX:0,shadowOffsetY:0,lineWidth:0,graphCenter:null,scale:null,rotate:null,translate:null,hoverCursor:"pointer",fontStyle:"normal",fontVarient:"normal",fontWeight:"normal",fontSize:10,fontFamily:"Arial",textAlign:"center",textBaseline:"middle",gradientColor:null,gradientType:"linear",gradientParams:null,gradientWith:"stroke",gradientStops:"auto",colors:null};Object.assign(this,n,t)};function u(e,t){e.save();var n=t.graphCenter,i=t.rotate,o=t.scale,a=t.translate;n instanceof Array&&(e.translate.apply(e,(0,r["default"])(n)),i&&e.rotate(i*Math.PI/180),o instanceof Array&&e.scale.apply(e,(0,r["default"])(o)),a&&e.translate.apply(e,(0,r["default"])(a)),e.translate(-n[0],-n[1]))}t["default"]=l,l.prototype.colorProcessor=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?a.getColorFromRgbValue:a.getRgbaValue,i=["fill","stroke","shadowColor"],r=Object.keys(e),o=r.filter((function(e){return i.find((function(t){return t===e}))}));o.forEach((function(t){return e[t]=n(e[t])}));var s=e.gradientColor,l=e.colors;if(s&&(e.gradientColor=s.map((function(e){return n(e)}))),l){var u=Object.keys(l);u.forEach((function(e){return l[e]=n(l[e])}))}},l.prototype.initStyle=function(e){u(e,this),h(e,this),d(e,this)};var c=["lineCap","lineJoin","lineDashOffset","shadowOffsetX","shadowOffsetY","lineWidth","textAlign","textBaseline"];function h(e,t){var n=t.fill,i=t.stroke,o=t.shadowColor,s=t.opacity;c.forEach((function(n){(n||"number"===typeof n)&&(e[n]=t[n])})),n=(0,r["default"])(n),i=(0,r["default"])(i),o=(0,r["default"])(o),n[3]*=s,i[3]*=s,o[3]*=s,e.fillStyle=(0,a.getColorFromRgbValue)(n),e.strokeStyle=(0,a.getColorFromRgbValue)(i),e.shadowColor=(0,a.getColorFromRgbValue)(o);var l=t.lineDash,u=t.shadowBlur;l&&(l=l.map((function(e){return e>=0?e:0})),e.setLineDash(l)),"number"===typeof u&&(e.shadowBlur=u>0?u:.001);var h=t.fontStyle,d=t.fontVarient,f=t.fontWeight,p=t.fontSize,g=t.fontFamily;e.font=h+" "+d+" "+f+" "+p+"px "+g}function d(e,t){if(f(t)){var n=t.gradientColor,i=t.gradientParams,o=t.gradientType,s=t.gradientWith,l=t.gradientStops,u=t.opacity;n=n.map((function(e){var t=e[3]*u,n=(0,r["default"])(e);return n[3]=t,n})),n=n.map((function(e){return(0,a.getColorFromRgbValue)(e)})),"auto"===l&&(l=p(n));var c=e["create".concat(o.slice(0,1).toUpperCase()+o.slice(1),"Gradient")].apply(e,(0,r["default"])(i));l.forEach((function(e,t){return c.addColorStop(e,n[t])})),e["".concat(s,"Style")]=c}}function f(e){var t=e.gradientColor,n=e.gradientParams,i=e.gradientType,r=e.gradientWith,o=e.gradientStops;if(!t||!n)return!1;if(1===t.length)return console.warn("The gradient needs to provide at least two colors"),!1;if("linear"!==i&&"radial"!==i)return console.warn("GradientType only supports linear or radial, current value is "+i),!1;var a=n.length;return"linear"===i&&4!==a||"radial"===i&&6!==a?(console.warn("The expected length of gradientParams is "+("linear"===i?"4":"6")),!1):"fill"!==r&&"stroke"!==r?(console.warn("GradientWith only supports fill or stroke, current value is "+r),!1):"auto"===o||o instanceof Array||(console.warn("gradientStops only supports 'auto' or Number Array ([0, .5, 1]), current value is "+o),!1)}function p(e){var t=1/(e.length-1);return e.map((function(e,n){return t*n}))}l.prototype.restoreTransform=function(e){e.restore()},l.prototype.update=function(e){this.colorProcessor(e),Object.assign(this,e)},l.prototype.getStyle=function(){var e=(0,s.deepClone)(this,!0);return this.colorProcessor(e,!0),e}},68597:function(e,t,n){"use strict";var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.extendNewGraph=S,t["default"]=t.text=t.bezierCurve=t.smoothline=t.polyline=t.regPolygon=t.sector=t.arc=t.ring=t.rect=t.ellipse=t.circle=void 0;var r=i(n(57920)),o=i(n(99621)),a=i(n(39350)),s=n(19482),l=n(38611),u=a["default"].polylineToBezierCurve,c=a["default"].bezierCurveToPolyline,h={shape:{rx:0,ry:0,r:0},validator:function(e){var t=e.shape,n=t.rx,i=t.ry,r=t.r;return"number"===typeof n&&"number"===typeof i&&"number"===typeof r||(console.error("Circle shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,o=i.ry,a=i.r;n.arc(r,o,a>0?a:.01,0,2*Math.PI),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,i=n.rx,r=n.ry,o=n.r;return(0,s.checkPointIsInCircle)(e,i,r,o)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,o=n.ry;i.graphCenter=[r,o]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape;this.attr("shape",{rx:r.rx+n,ry:r.ry+i})}};t.circle=h;var d={shape:{rx:0,ry:0,hr:0,vr:0},validator:function(e){var t=e.shape,n=t.rx,i=t.ry,r=t.hr,o=t.vr;return"number"===typeof n&&"number"===typeof i&&"number"===typeof r&&"number"===typeof o||(console.error("Ellipse shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,o=i.ry,a=i.hr,s=i.vr;n.ellipse(r,o,a>0?a:.01,s>0?s:.01,0,0,2*Math.PI),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,i=n.rx,r=n.ry,o=n.hr,a=n.vr,l=Math.max(o,a),u=Math.min(o,a),c=Math.sqrt(l*l-u*u),h=[i-c,r],d=[i+c,r],f=(0,s.getTwoPointDistance)(e,h)+(0,s.getTwoPointDistance)(e,d);return f<=2*l},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,o=n.ry;i.graphCenter=[r,o]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape;this.attr("shape",{rx:r.rx+n,ry:r.ry+i})}};t.ellipse=d;var f={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,n=t.x,i=t.y,r=t.w,o=t.h;return"number"===typeof n&&"number"===typeof i&&"number"===typeof r&&"number"===typeof o||(console.error("Rect shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.x,o=i.y,a=i.w,s=i.h;n.rect(r,o,a,s),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,i=n.x,r=n.y,o=n.w,a=n.h;return(0,s.checkPointIsInRect)(e,i,r,o,a)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.x,o=n.y,a=n.w,s=n.h;i.graphCenter=[r+a/2,o+s/2]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape;this.attr("shape",{x:r.x+n,y:r.y+i})}};t.rect=f;var p={shape:{rx:0,ry:0,r:0},validator:function(e){var t=e.shape,n=t.rx,i=t.ry,r=t.r;return"number"===typeof n&&"number"===typeof i&&"number"===typeof r||(console.error("Ring shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,o=i.ry,a=i.r;n.arc(r,o,a>0?a:.01,0,2*Math.PI),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,i=t.style,r=n.rx,o=n.ry,a=n.r,l=i.lineWidth,u=l/2,c=a-u,h=a+u,d=(0,s.getTwoPointDistance)(e,[r,o]);return d>=c&&d<=h},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,o=n.ry;i.graphCenter=[r,o]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape;this.attr("shape",{rx:r.rx+n,ry:r.ry+i})}};t.ring=p;var g={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,n=["rx","ry","r","startAngle","endAngle"];return!n.find((function(e){return"number"!==typeof t[e]}))||(console.error("Arc shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,o=i.ry,a=i.r,s=i.startAngle,l=i.endAngle,u=i.clockWise;n.arc(r,o,a>0?a:.001,s,l,!u),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,i=t.style,r=n.rx,o=n.ry,a=n.r,l=n.startAngle,u=n.endAngle,c=n.clockWise,h=i.lineWidth,d=h/2,f=a-d,p=a+d;return!(0,s.checkPointIsInSector)(e,r,o,f,l,u,c)&&(0,s.checkPointIsInSector)(e,r,o,p,l,u,c)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,o=n.ry;i.graphCenter=[r,o]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape;this.attr("shape",{rx:r.rx+n,ry:r.ry+i})}};t.arc=g;var m={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,n=["rx","ry","r","startAngle","endAngle"];return!n.find((function(e){return"number"!==typeof t[e]}))||(console.error("Sector shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,o=i.ry,a=i.r,s=i.startAngle,l=i.endAngle,u=i.clockWise;n.arc(r,o,a>0?a:.01,s,l,!u),n.lineTo(r,o),n.closePath(),n.stroke(),n.fill()},hoverCheck:function(e,t){var n=t.shape,i=n.rx,r=n.ry,o=n.r,a=n.startAngle,l=n.endAngle,u=n.clockWise;return(0,s.checkPointIsInSector)(e,i,r,o,a,l,u)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,o=n.ry;i.graphCenter=[r,o]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape,o=r.rx,a=r.ry;this.attr("shape",{rx:o+n,ry:a+i})}};t.sector=m;var v={shape:{rx:0,ry:0,r:0,side:0},validator:function(e){var t=e.shape,n=t.side,i=["rx","ry","r","side"];return i.find((function(e){return"number"!==typeof t[e]}))?(console.error("RegPolygon shape configuration is abnormal!"),!1):!(n<3)||(console.error("RegPolygon at least trigon!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=t.cache;n.beginPath();var o=i.rx,a=i.ry,u=i.r,c=i.side;if(!r.points||r.rx!==o||r.ry!==a||r.r!==u||r.side!==c){var h=(0,s.getRegularPolygonPoints)(o,a,u,c);Object.assign(r,{points:h,rx:o,ry:a,r:u,side:c})}var d=r.points;(0,l.drawPolylinePath)(n,d),n.closePath(),n.stroke(),n.fill()},hoverCheck:function(e,t){var n=t.cache,i=n.points;return(0,s.checkPointIsInPolygon)(e,i)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,o=n.ry;i.graphCenter=[r,o]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape,a=t.cache,s=r.rx,l=r.ry;a.rx+=n,a.ry+=i,this.attr("shape",{rx:s+n,ry:l+i}),a.points=a.points.map((function(e){var t=(0,o["default"])(e,2),r=t[0],a=t[1];return[r+n,a+i]}))}};t.regPolygon=v;var y={shape:{points:[],close:!1},validator:function(e){var t=e.shape,n=t.points;return n instanceof Array||(console.error("Polyline points should be an array!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=t.style.lineWidth;n.beginPath();var o=i.points,a=i.close;1===r&&(o=(0,s.eliminateBlur)(o)),(0,l.drawPolylinePath)(n,o),a?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(e,t){var n=t.shape,i=t.style,r=n.points,o=n.close,a=i.lineWidth;return o?(0,s.checkPointIsInPolygon)(e,r):(0,s.checkPointIsNearPolyline)(e,r,a)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.points;i.graphCenter=r[0]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape,a=r.points,s=a.map((function(e){var t=(0,o["default"])(e,2),r=t[0],a=t[1];return[r+n,a+i]}));this.attr("shape",{points:s})}};t.polyline=y;var b={shape:{points:[],close:!1},validator:function(e){var t=e.shape,n=t.points;return n instanceof Array||(console.error("Smoothline points should be an array!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=t.cache,o=i.points,a=i.close;if(!r.points||r.points.toString()!==o.toString()){var h=u(o,a),d=c(h);Object.assign(r,{points:(0,s.deepClone)(o,!0),bezierCurve:h,hoverPoints:d})}var f=r.bezierCurve;n.beginPath(),(0,l.drawBezierCurvePath)(n,f.slice(1),f[0]),a?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(e,t){var n=t.cache,i=t.shape,r=t.style,o=n.hoverPoints,a=i.close,l=r.lineWidth;return a?(0,s.checkPointIsInPolygon)(e,o):(0,s.checkPointIsNearPolyline)(e,o,l)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.points;i.graphCenter=r[0]},move:function(e,t){var n=e.movementX,i=e.movementY,a=t.shape,s=t.cache,l=a.points,u=l.map((function(e){var t=(0,o["default"])(e,2),r=t[0],a=t[1];return[r+n,a+i]}));s.points=u;var c=(0,o["default"])(s.bezierCurve[0],2),h=c[0],d=c[1],f=s.bezierCurve.slice(1);s.bezierCurve=[[h+n,d+i]].concat((0,r["default"])(f.map((function(e){return e.map((function(e){var t=(0,o["default"])(e,2),r=t[0],a=t[1];return[r+n,a+i]}))})))),s.hoverPoints=s.hoverPoints.map((function(e){var t=(0,o["default"])(e,2),r=t[0],a=t[1];return[r+n,a+i]})),this.attr("shape",{points:u})}};t.smoothline=b;var x={shape:{points:[],close:!1},validator:function(e){var t=e.shape,n=t.points;return n instanceof Array||(console.error("BezierCurve points should be an array!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=t.cache,o=i.points,a=i.close;if(!r.points||r.points.toString()!==o.toString()){var u=c(o,20);Object.assign(r,{points:(0,s.deepClone)(o,!0),hoverPoints:u})}n.beginPath(),(0,l.drawBezierCurvePath)(n,o.slice(1),o[0]),a?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(e,t){var n=t.cache,i=t.shape,r=t.style,o=n.hoverPoints,a=i.close,l=r.lineWidth;return a?(0,s.checkPointIsInPolygon)(e,o):(0,s.checkPointIsNearPolyline)(e,o,l)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.points;i.graphCenter=r[0]},move:function(e,t){var n=e.movementX,i=e.movementY,a=t.shape,s=t.cache,l=a.points,u=(0,o["default"])(l[0],2),c=u[0],h=u[1],d=l.slice(1),f=[[c+n,h+i]].concat((0,r["default"])(d.map((function(e){return e.map((function(e){var t=(0,o["default"])(e,2),r=t[0],a=t[1];return[r+n,a+i]}))}))));s.points=f,s.hoverPoints=s.hoverPoints.map((function(e){var t=(0,o["default"])(e,2),r=t[0],a=t[1];return[r+n,a+i]})),this.attr("shape",{points:f})}};t.bezierCurve=x;var _={shape:{content:"",position:[],maxWidth:void 0,rowGap:0},validator:function(e){var t=e.shape,n=t.content,i=t.position,r=t.rowGap;return"string"!==typeof n?(console.error("Text content should be a string!"),!1):i instanceof Array?"number"===typeof r||(console.error("Text rowGap should be a number!"),!1):(console.error("Text position should be an array!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,a=i.content,s=i.position,l=i.maxWidth,u=i.rowGap,c=n.textBaseline,h=n.font,d=parseInt(h.replace(/\D/g,"")),f=s,p=(0,o["default"])(f,2),g=p[0],m=p[1];a=a.split("\n");var v=a.length,y=d+u,b=v*y-u,x=0;"middle"===c&&(x=b/2,m+=d/2),"bottom"===c&&(x=b,m+=d),s=new Array(v).fill(0).map((function(e,t){return[g,m+t*y-x]})),n.beginPath(),a.forEach((function(e,t){n.fillText.apply(n,[e].concat((0,r["default"])(s[t]),[l])),n.strokeText.apply(n,[e].concat((0,r["default"])(s[t]),[l]))})),n.closePath()},hoverCheck:function(e,t){t.shape,t.style;return!1},setGraphCenter:function(e,t){var n=t.shape,i=t.style,o=n.position;i.graphCenter=(0,r["default"])(o)},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape,a=(0,o["default"])(r.position,2),s=a[0],l=a[1];this.attr("shape",{position:[s+n,l+i]})}};t.text=_;var w=new Map([["circle",h],["ellipse",d],["rect",f],["ring",p],["arc",g],["sector",m],["regPolygon",v],["polyline",y],["smoothline",b],["bezierCurve",x],["text",_]]),C=w;function S(e,t){e&&t?t.shape?t.validator?t.draw?w.set(e,t):console.error("Required function of draw to extendNewGraph!"):console.error("Required function of validator to extendNewGraph!"):console.error("Required attribute of shape to extendNewGraph!"):console.error("ExtendNewGraph Missing Parameters!")}t["default"]=C},65250:function(e,t,n){"use strict";var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CRender",{enumerable:!0,get:function(){return r["default"]}}),Object.defineProperty(t,"extendNewGraph",{enumerable:!0,get:function(){return o.extendNewGraph}}),t["default"]=void 0;var r=i(n(30836)),o=n(68597),a=r["default"];t["default"]=a},38611:function(e,t,n){"use strict";var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.drawPolylinePath=o,t.drawBezierCurvePath=a,t["default"]=void 0;var r=i(n(57920));function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||t.length<2)return!1;n&&e.beginPath(),t.forEach((function(t,n){return t&&(0===n?e.moveTo.apply(e,(0,r["default"])(t)):e.lineTo.apply(e,(0,r["default"])(t)))})),i&&e.closePath()}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!e||!t)return!1;i&&e.beginPath(),n&&e.moveTo.apply(e,(0,r["default"])(n)),t.forEach((function(t){return t&&e.bezierCurveTo.apply(e,(0,r["default"])(t[0]).concat((0,r["default"])(t[1]),(0,r["default"])(t[2])))})),o&&e.closePath()}var s={drawPolylinePath:o,drawBezierCurvePath:a};t["default"]=s},19482:function(e,t,n){"use strict";var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.deepClone=p,t.eliminateBlur=g,t.checkPointIsInCircle=m,t.getTwoPointDistance=v,t.checkPointIsInPolygon=y,t.checkPointIsInSector=b,t.checkPointIsNearPolyline=_,t.checkPointIsInRect=w,t.getRotatePointPos=C,t.getScalePointPos=S,t.getTranslatePointPos=k,t.getDistanceBetweenPointAndLine=M,t.getCircleRadianPoint=T,t.getRegularPolygonPoints=E,t["default"]=void 0;var r=i(n(57920)),o=i(n(99621)),a=i(n(54614)),s=Math.abs,l=Math.sqrt,u=Math.sin,c=Math.cos,h=Math.max,d=Math.min,f=Math.PI;function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return e;var n=JSON.parse,i=JSON.stringify;if(!t)return n(i(e));var r=e instanceof Array?[]:{};if(e&&"object"===(0,a["default"])(e))for(var o in e)e.hasOwnProperty(o)&&(e[o]&&"object"===(0,a["default"])(e[o])?r[o]=p(e[o],!0):r[o]=e[o]);return r}function g(e){return e.map((function(e){var t=(0,o["default"])(e,2),n=t[0],i=t[1];return[parseInt(n)+.5,parseInt(i)+.5]}))}function m(e,t,n,i){return v(e,[t,n])<=i}function v(e,t){var n=(0,o["default"])(e,2),i=n[0],r=n[1],a=(0,o["default"])(t,2),u=a[0],c=a[1],h=s(i-u),d=s(r-c);return l(h*h+d*d)}function y(e,t){for(var n=0,i=(0,o["default"])(e,2),r=i[0],a=i[1],s=t.length,l=1,u=t[0];l<=s;l++){var c=t[l%s];if(r>d(u[0],c[0])&&r<=h(u[0],c[0])&&a<=h(u[1],c[1])&&u[0]!==c[0]){var f=(r-u[0])*(c[1]-u[1])/(c[0]-u[0])+u[1];(u[1]===c[1]||a<=f)&&n++}u=c}return n%2===1}function b(e,t,n,i,r,a,s){if(!e)return!1;if(v(e,[t,n])>i)return!1;if(!s){var l=p([a,r]),u=(0,o["default"])(l,2);r=u[0],a=u[1]}var c=r>a;if(c){var h=[a,r];r=h[0],a=h[1]}var d=a-r;if(d>=2*f)return!0;var g=(0,o["default"])(e,2),m=g[0],y=g[1],b=T(t,n,i,r),_=(0,o["default"])(b,2),w=_[0],C=_[1],S=T(t,n,i,a),k=(0,o["default"])(S,2),M=k[0],E=k[1],D=[m-t,y-n],P=[w-t,C-n],O=[M-t,E-n],I=d>f;if(I){var A=p([O,P]),L=(0,o["default"])(A,2);P=L[0],O=L[1]}var N=x(P,D)&&!x(O,D);return I&&(N=!N),c&&(N=!N),N}function x(e,t){var n=(0,o["default"])(e,2),i=n[0],r=n[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return-r*s+i*l>0}function _(e,t,n){var i=n/2,a=t.map((function(e){var t=(0,o["default"])(e,2),n=t[0],r=t[1];return[n,r-i]})),s=t.map((function(e){var t=(0,o["default"])(e,2),n=t[0],r=t[1];return[n,r+i]})),l=[].concat((0,r["default"])(a),(0,r["default"])(s.reverse()));return y(e,l)}function w(e,t,n,i,r){var a=(0,o["default"])(e,2),s=a[0],l=a[1];return!(s<t)&&(!(l<n)&&(!(s>t+i)&&!(l>n+r)))}function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!t)return!1;if(e%360===0)return t;var i=(0,o["default"])(t,2),r=i[0],a=i[1],s=(0,o["default"])(n,2),l=s[0],h=s[1];return e*=f/180,[(r-l)*c(e)-(a-h)*u(e)+l,(r-l)*u(e)+(a-h)*c(e)+h]}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[1,1],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!t)return!1;if(1===e)return t;var i=(0,o["default"])(t,2),r=i[0],a=i[1],s=(0,o["default"])(n,2),l=s[0],u=s[1],c=(0,o["default"])(e,2),h=c[0],d=c[1],f=r-l,p=a-u;return[f*h+l,p*d+u]}function k(e,t){if(!e||!t)return!1;var n=(0,o["default"])(t,2),i=n[0],r=n[1],a=(0,o["default"])(e,2),s=a[0],l=a[1];return[i+s,r+l]}function M(e,t,n){if(!e||!t||!n)return!1;var i=(0,o["default"])(e,2),r=i[0],a=i[1],u=(0,o["default"])(t,2),c=u[0],h=u[1],d=(0,o["default"])(n,2),f=d[0],p=d[1],g=p-h,m=c-f,v=h*(f-c)-c*(p-h),y=s(g*r+m*a+v),b=l(g*g+m*m);return y/b}function T(e,t,n,i){return[e+c(i)*n,t+u(i)*n]}function E(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-.5*f,o=2*f/i,a=new Array(i).fill("").map((function(e,t){return t*o+r}));return a.map((function(i){return T(e,t,n,i)}))}var D={deepClone:p,eliminateBlur:g,checkPointIsInCircle:m,checkPointIsInPolygon:y,checkPointIsInSector:b,checkPointIsNearPolyline:_,getTwoPointDistance:v,getRotatePointPos:C,getScalePointPos:S,getTranslatePointPos:k,getCircleRadianPoint:T,getRegularPolygonPoints:E,getDistanceBetweenPointAndLine:M};t["default"]=D},4145:function(e,t,n){"use strict";var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=i(n(54614)),o=i(n(11469));n(7524);var a=i(n(65250)),s=n(19482),l=n(53206),u=function e(t){if((0,o["default"])(this,e),!t)return console.error("Charts Missing parameters!"),!1;var n=t.clientWidth,i=t.clientHeight,r=document.createElement("canvas");r.setAttribute("width",n),r.setAttribute("height",i),t.appendChild(r);var s={container:t,canvas:r,render:new a["default"](r),option:null};Object.assign(this,s)};t["default"]=u,u.prototype.setOption=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e||"object"!==(0,r["default"])(e))return console.error("setOption Missing parameters!"),!1;t&&this.render.graphs.forEach((function(e){return e.animationEnd()}));var n=(0,s.deepClone)(e,!0);(0,l.mergeColor)(this,n),(0,l.grid)(this,n),(0,l.axis)(this,n),(0,l.radarAxis)(this,n),(0,l.title)(this,n),(0,l.bar)(this,n),(0,l.line)(this,n),(0,l.pie)(this,n),(0,l.radar)(this,n),(0,l.gauge)(this,n),(0,l.legend)(this,n),this.option=e,this.render.launchAnimation()},u.prototype.resize=function(){var e=this.container,t=this.canvas,n=this.render,i=this.option,r=e.clientWidth,o=e.clientHeight;t.setAttribute("width",r),t.setAttribute("height",o),n.area=[r,o],this.setOption(i)}},35505:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.doUpdate=f,t.Updater=void 0;var r=i(n(57920)),o=i(n(54614)),a=i(n(11469)),s=function e(t,n){(0,a["default"])(this,e);var i=t.chart,r=t.key,o=t.getGraphConfig;"function"===typeof o?(i[r]||(this.graphs=i[r]=[]),Object.assign(this,t),this.update(n)):console.warn("Updater need function getGraphConfig!")};function l(e,t){var n=e.graphs,i=e.chart.render,r=n.length,o=t.length;if(r>o){var a=n.splice(o);a.forEach((function(e){return e.forEach((function(e){return i.delGraph(e)}))}))}}function u(e,t,n,i){var r=i.getGraphConfig,o=i.chart.render,a=i.beforeChange,s=r(t,i);c(e,s,o),e.forEach((function(e,t){var n=s[t];"function"===typeof a&&a(e,n),d(e,n)}))}function c(e,t,n){var i=e.length,o=t.length;if(o>i){var a=e.slice(-1)[0],s=o-i,l=new Array(s).fill(0).map((function(e){return n.clone(a)}));e.push.apply(e,(0,r["default"])(l))}else if(o<i){var u=e.splice(o);u.forEach((function(e){return n.delGraph(e)}))}}function h(e,t,n,i){var r=i.getGraphConfig,o=i.getStartGraphConfig,a=i.chart,s=a.render,l=null;"function"===typeof o&&(l=o(t,i));var u=r(t,i);if(u.length){l?(e[n]=l.map((function(e){return s.add(e)})),e[n].forEach((function(e,t){var n=u[t];d(e,n)}))):e[n]=u.map((function(e){return s.add(e)}));var c=i.afterAddGraph;"function"===typeof c&&c(e[n])}}function d(e,t){var n=Object.keys(t);n.forEach((function(n){"shape"===n||"style"===n?e.animation(n,t[n],!0):e[n]=t[n]}))}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.chart,n=e.series,i=e.key,r=e.getGraphConfig,o=e.getStartGraphConfig,a=e.beforeChange,l=e.beforeUpdate,u=e.afterAddGraph;t[i]?t[i].update(n):t[i]=new s({chart:t,key:i,getGraphConfig:r,getStartGraphConfig:o,beforeChange:a,beforeUpdate:l,afterAddGraph:u},n)}t.Updater=s,s.prototype.update=function(e){var t=this,n=this.graphs,i=this.beforeUpdate;if(l(this,e),e.length){var r=(0,o["default"])(i);e.forEach((function(e,o){"function"===r&&i(n,e,o,t);var a=n[o];a?u(a,e,o,t):h(n,e,o,t)}))}}},83035:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yAxisConfig=t.xAxisConfig=void 0;var n={name:"",show:!0,position:"bottom",nameGap:15,nameLocation:"end",nameTextStyle:{fill:"#333",fontSize:10},min:"20%",max:"20%",interval:null,minInterval:null,maxInterval:null,boundaryGap:null,splitNumber:5,axisLine:{show:!0,style:{stroke:"#333",lineWidth:1}},axisTick:{show:!0,style:{stroke:"#333",lineWidth:1}},axisLabel:{show:!0,formatter:null,style:{fill:"#333",fontSize:10,rotate:0}},splitLine:{show:!1,style:{stroke:"#d4d4d4",lineWidth:1}},rLevel:-20,animationCurve:"easeOutCubic",animationFrame:50};t.xAxisConfig=n;var i={name:"",show:!0,position:"left",nameGap:15,nameLocation:"end",nameTextStyle:{fill:"#333",fontSize:10},min:"20%",max:"20%",interval:null,minInterval:null,maxInterval:null,boundaryGap:null,splitNumber:5,axisLine:{show:!0,style:{stroke:"#333",lineWidth:1}},axisTick:{show:!0,style:{stroke:"#333",lineWidth:1}},axisLabel:{show:!0,formatter:null,style:{fill:"#333",fontSize:10,rotate:0}},splitLine:{show:!0,style:{stroke:"#d4d4d4",lineWidth:1}},rLevel:-20,animationCurve:"easeOutCubic",animationFrame:50};t.yAxisConfig=i},65049:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.barConfig=void 0;var n={show:!0,name:"",stack:"",shapeType:"normal",echelonOffset:10,barWidth:"auto",barGap:"30%",barCategoryGap:"20%",xAxisIndex:0,yAxisIndex:0,data:[],backgroundBar:{show:!1,width:"auto",style:{fill:"rgba(200, 200, 200, .4)"}},label:{show:!1,position:"top",offset:[0,-10],formatter:null,style:{fontSize:10}},gradient:{color:[],local:!0},barStyle:{},independentColor:!1,independentColors:[],rLevel:0,animationCurve:"easeOutCubic",animationFrame:50};t.barConfig=n},56825:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorConfig=void 0;var n=["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293","#e062ae","#e690d1","#e7bcf3","#9d96f5","#8378ea","#96bfff"];t.colorConfig=n},60649:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gaugeConfig=void 0;var n={show:!0,name:"",radius:"60%",center:["50%","50%"],startAngle:-Math.PI/4*5,endAngle:Math.PI/4,min:0,max:100,splitNum:5,arcLineWidth:15,data:[],dataItemStyle:{},axisTick:{show:!0,tickLength:6,style:{stroke:"#999",lineWidth:1}},axisLabel:{show:!0,data:[],formatter:null,labelGap:5,style:{}},pointer:{show:!0,valueIndex:0,style:{scale:[1,1],fill:"#fb7293"}},details:{show:!1,formatter:null,offset:[0,0],valueToFixed:0,position:"center",style:{fontSize:20,fontWeight:"bold",textAlign:"center",textBaseline:"middle"}},backgroundArc:{show:!0,style:{stroke:"#e0e0e0"}},rLevel:10,animationCurve:"easeOutCubic",animationFrame:50};t.gaugeConfig=n},60751:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gridConfig=void 0;var n={left:"10%",right:"10%",top:60,bottom:60,style:{fill:"rgba(0, 0, 0, 0)"},rLevel:-30,animationCurve:"easeOutCubic",animationFrame:30};t.gridConfig=n},65054:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.changeDefaultConfig=m,Object.defineProperty(t,"colorConfig",{enumerable:!0,get:function(){return i.colorConfig}}),Object.defineProperty(t,"gridConfig",{enumerable:!0,get:function(){return r.gridConfig}}),Object.defineProperty(t,"xAxisConfig",{enumerable:!0,get:function(){return o.xAxisConfig}}),Object.defineProperty(t,"yAxisConfig",{enumerable:!0,get:function(){return o.yAxisConfig}}),Object.defineProperty(t,"titleConfig",{enumerable:!0,get:function(){return a.titleConfig}}),Object.defineProperty(t,"lineConfig",{enumerable:!0,get:function(){return s.lineConfig}}),Object.defineProperty(t,"barConfig",{enumerable:!0,get:function(){return l.barConfig}}),Object.defineProperty(t,"pieConfig",{enumerable:!0,get:function(){return u.pieConfig}}),Object.defineProperty(t,"radarAxisConfig",{enumerable:!0,get:function(){return c.radarAxisConfig}}),Object.defineProperty(t,"radarConfig",{enumerable:!0,get:function(){return h.radarConfig}}),Object.defineProperty(t,"gaugeConfig",{enumerable:!0,get:function(){return d.gaugeConfig}}),Object.defineProperty(t,"legendConfig",{enumerable:!0,get:function(){return f.legendConfig}}),t.keys=void 0;var i=n(56825),r=n(60751),o=n(83035),a=n(49112),s=n(59683),l=n(65049),u=n(88391),c=n(51778),h=n(12837),d=n(60649),f=n(46663),p=n(56904),g={colorConfig:i.colorConfig,gridConfig:r.gridConfig,xAxisConfig:o.xAxisConfig,yAxisConfig:o.yAxisConfig,titleConfig:a.titleConfig,lineConfig:s.lineConfig,barConfig:l.barConfig,pieConfig:u.pieConfig,radarAxisConfig:c.radarAxisConfig,radarConfig:h.radarConfig,gaugeConfig:d.gaugeConfig,legendConfig:f.legendConfig};function m(e,t){g["".concat(e,"Config")]?(0,p.deepMerge)(g["".concat(e,"Config")],t):console.warn("Change default config Error - Invalid key!")}var v=["color","title","legend","xAxis","yAxis","grid","radarAxis","line","bar","pie","radar","gauge"];t.keys=v},46663:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.legendConfig=void 0;var n={show:!0,orient:"horizontal",left:"auto",right:"auto",top:"auto",bottom:"auto",itemGap:10,iconWidth:25,iconHeight:10,selectAble:!0,data:[],textStyle:{fontFamily:"Arial",fontSize:13,fill:"#000"},iconStyle:{},textUnselectedStyle:{fontFamily:"Arial",fontSize:13,fill:"#999"},iconUnselectedStyle:{fill:"#999"},rLevel:20,animationCurve:"easeOutCubic",animationFrame:50};t.legendConfig=n},59683:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineConfig=void 0;var n={show:!0,name:"",stack:"",smooth:!1,xAxisIndex:0,yAxisIndex:0,data:[],lineStyle:{lineWidth:1},linePoint:{show:!0,radius:2,style:{fill:"#fff",lineWidth:1}},lineArea:{show:!1,gradient:[],style:{opacity:.5}},label:{show:!1,position:"top",offset:[0,-10],formatter:null,style:{fontSize:10}},rLevel:10,animationCurve:"easeOutCubic",animationFrame:50};t.lineConfig=n},88391:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pieConfig=void 0;var n={show:!0,name:"",radius:"50%",center:["50%","50%"],startAngle:-Math.PI/2,roseType:!1,roseSort:!0,roseIncrement:"auto",data:[],insideLabel:{show:!1,formatter:"{percent}%",style:{fontSize:10,fill:"#fff",textAlign:"center",textBaseline:"middle"}},outsideLabel:{show:!0,formatter:"{name}",style:{fontSize:11},labelLineBendGap:"20%",labelLineEndLength:50,labelLineStyle:{lineWidth:1}},pieStyle:{},percentToFixed:0,rLevel:10,animationDelayGap:60,animationCurve:"easeOutCubic",startAnimationCurve:"easeOutBack",animationFrame:50};t.pieConfig=n},12837:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.radarConfig=void 0;var n={show:!0,name:"",data:[],radarStyle:{lineWidth:1},point:{show:!0,radius:2,style:{fill:"#fff"}},label:{show:!0,offset:[0,0],labelGap:5,formatter:null,style:{fontSize:10}},rLevel:10,animationCurve:"easeOutCubic",animationFrane:50};t.radarConfig=n},51778:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.radarAxisConfig=void 0;var n={show:!0,center:["50%","50%"],radius:"65%",startAngle:-Math.PI/2,splitNum:5,polygon:!1,axisLabel:{show:!0,labelGap:15,color:[],style:{fill:"#333"}},axisLine:{show:!0,color:[],style:{stroke:"#999",lineWidth:1}},splitLine:{show:!0,color:[],style:{stroke:"#d4d4d4",lineWidth:1}},splitArea:{show:!1,color:["#f5f5f5","#e6e6e6"],style:{}},rLevel:-10,animationCurve:"easeOutCubic",animationFrane:50};t.radarAxisConfig=n},49112:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.titleConfig=void 0;var n={show:!0,text:"",offset:[0,-20],style:{fill:"#333",fontSize:17,fontWeight:"bold",textAlign:"center",textBaseline:"bottom"},rLevel:20,animationCurve:"easeOutCubic",animationFrame:50};t.titleConfig=n},73368:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.axis=v;var r=i(n(54614)),o=i(n(99621)),a=i(n(34344)),s=i(n(57920)),l=n(35505),u=n(65054),c=n(56904),h=n(19482);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,a["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={xAxisConfig:u.xAxisConfig,yAxisConfig:u.yAxisConfig},g=(Math.min,Math.max,Math.abs),m=Math.pow;function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.xAxis,i=t.yAxis,r=t.series,o=[];n&&i&&r&&(o=y(n,i),o=b(o),o=o.filter((function(e){var t=e.show;return t})),o=x(o),o=_(o,r),o=L(o),o=N(o,e),o=R(o,e),o=$(o,e),o=B(o,e)),(0,l.doUpdate)({chart:e,series:o,key:"axisLine",getGraphConfig:F}),(0,l.doUpdate)({chart:e,series:o,key:"axisTick",getGraphConfig:H}),(0,l.doUpdate)({chart:e,series:o,key:"axisLabel",getGraphConfig:q}),(0,l.doUpdate)({chart:e,series:o,key:"axisName",getGraphConfig:K}),(0,l.doUpdate)({chart:e,series:o,key:"splitLine",getGraphConfig:te}),e.axisData=o}function y(e,t){var n,i,r=[],o=[];e instanceof Array?(n=r).push.apply(n,(0,s["default"])(e)):r.push(e);t instanceof Array?(i=o).push.apply(i,(0,s["default"])(t)):o.push(t);return r.splice(2),o.splice(2),r=r.map((function(e,t){return f(f({},e),{},{index:t,axis:"x"})})),o=o.map((function(e,t){return f(f({},e),{},{index:t,axis:"y"})})),[].concat((0,s["default"])(r),(0,s["default"])(o))}function b(e){var t=e.filter((function(e){var t=e.axis;return"x"===t})),n=e.filter((function(e){var t=e.axis;return"y"===t}));return t=t.map((function(e){return(0,c.deepMerge)((0,h.deepClone)(u.xAxisConfig),e)})),n=n.map((function(e){return(0,c.deepMerge)((0,h.deepClone)(u.yAxisConfig),e)})),[].concat((0,s["default"])(t),(0,s["default"])(n))}function x(e){var t=e.filter((function(e){var t=e.data;return"value"===t})),n=e.filter((function(e){var t=e.data;return"value"!==t}));return t.forEach((function(e){"boolean"!==typeof e.boundaryGap&&(e.boundaryGap=!1)})),n.forEach((function(e){"boolean"!==typeof e.boundaryGap&&(e.boundaryGap=!0)})),[].concat((0,s["default"])(t),(0,s["default"])(n))}function _(e,t){var n=e.filter((function(e){var t=e.data;return"value"===t})),i=e.filter((function(e){var t=e.data;return t instanceof Array}));return n=w(n,t),i=I(i),[].concat((0,s["default"])(n),(0,s["default"])(i))}function w(e,t){return e.map((function(e){var n=C(e,t),i=M(e,n),r=(0,o["default"])(i,2),a=r[0],s=r[1],l=A(a,s,e),u=e.axisLabel.formatter,c=[];return c=a<0&&s>0?D(a,s,l):P(a,s,l),c=c.map((function(e){return parseFloat(e.toFixed(2))})),f(f({},e),{},{maxValue:c.slice(-1)[0],minValue:c[0],label:O(c,u)})}))}function C(e,t){if(t=t.filter((function(e){var t=e.show,n=e.type;return!1!==t&&"pie"!==n})),0===t.length)return[0,0];var n=e.index,i=e.axis;t=k(t);var r=i+"Axis",o=t.filter((function(e){return e[r]===n}));return o.length||(o=t),S(o)}function S(e){if(e){var t=Math.min.apply(Math,(0,s["default"])(e.map((function(e){var t=e.data;return Math.min.apply(Math,(0,s["default"])((0,c.filterNonNumber)(t)))})))),n=Math.max.apply(Math,(0,s["default"])(e.map((function(e){var t=e.data;return Math.max.apply(Math,(0,s["default"])((0,c.filterNonNumber)(t)))}))));return[t,n]}}function k(e){var t=(0,h.deepClone)(e,!0);return e.forEach((function(n,i){var r=(0,c.mergeSameStackData)(n,e);t[i].data=r})),t}function M(e,t){var n=e.min,i=e.max,a=e.axis,s=(0,o["default"])(t,2),l=s[0],u=s[1],c=(0,r["default"])(n),h=(0,r["default"])(i);if(E(n)||(n=p[a+"AxisConfig"].min,c="string"),E(i)||(i=p[a+"AxisConfig"].max,h="string"),"string"===c){n=parseInt(l-g(l*parseFloat(n)/100));var d=T(n);n=parseFloat((n/d-.1).toFixed(1))*d}if("string"===h){i=parseInt(u+g(u*parseFloat(i)/100));var f=T(i);i=parseFloat((i/f+.1).toFixed(1))*f}return[n,i]}function T(e){var t=g(e).toString(),n=t.length,i=t.replace(/0*$/g,"").indexOf("0"),r=n-1;return-1!==i&&(r-=i),m(10,r)}function E(e){var t=(0,r["default"])(e),n="string"===t&&/^\d+%$/.test(e),i="number"===t;return n||i}function D(e,t,n){var i=[],r=[],o=0,a=0;do{i.push(o-=n)}while(o>e);do{r.push(a+=n)}while(a<t);return[].concat((0,s["default"])(i.reverse()),[0],(0,s["default"])(r))}function P(e,t,n){var i=[e],r=e;do{i.push(r+=n)}while(r<t);return i}function O(e,t){return t?("string"===typeof t&&(e=e.map((function(e){return t.replace("{value}",e)}))),"function"===typeof t&&(e=e.map((function(e,n){return t({value:e,index:n})}))),e):e}function I(e){return e.map((function(e){var t=e.data,n=e.axisLabel.formatter;return f(f({},e),{},{label:O(t,n)})}))}function A(e,t,n){var i=n.interval,r=n.minInterval,o=n.maxInterval,a=n.splitNumber,s=n.axis,l=p[s+"AxisConfig"];if("number"!==typeof i&&(i=l.interval),"number"!==typeof r&&(r=l.minInterval),"number"!==typeof o&&(o=l.maxInterval),"number"!==typeof a&&(a=l.splitNumber),"number"===typeof i)return i;var u=parseInt((t-e)/(a-1));return u.toString().length>1&&(u=parseInt(u.toString().replace(/\d$/,"0"))),0===u&&(u=1),"number"===typeof r&&u<r?r:"number"===typeof o&&u>o?o:u}function L(e){var t=e.filter((function(e){var t=e.axis;return"x"===t})),n=e.filter((function(e){var t=e.axis;return"y"===t}));return t[0]&&!t[0].position&&(t[0].position=u.xAxisConfig.position),t[1]&&!t[1].position&&(t[1].position="bottom"===t[0].position?"top":"bottom"),n[0]&&!n[0].position&&(n[0].position=u.yAxisConfig.position),n[1]&&!n[1].position&&(n[1].position="left"===n[0].position?"right":"left"),[].concat((0,s["default"])(t),(0,s["default"])(n))}function N(e,t){var n=t.gridArea,i=n.x,r=n.y,o=n.w,a=n.h;return e=e.map((function(e){var t=e.position,n=[];return"left"===t?n=[[i,r],[i,r+a]].reverse():"right"===t?n=[[i+o,r],[i+o,r+a]].reverse():"top"===t?n=[[i,r],[i+o,r]]:"bottom"===t&&(n=[[i,r+a],[i+o,r+a]]),f(f({},e),{},{linePosition:n})})),e}function R(e,t){return e.map((function(e){var t=e.axis,n=e.linePosition,i=e.position,r=e.label,a=e.boundaryGap;"boolean"!==typeof a&&(a=p[t+"AxisConfig"].boundaryGap);var s=r.length,l=(0,o["default"])(n,2),u=(0,o["default"])(l[0],2),c=u[0],h=u[1],d=(0,o["default"])(l[1],2),g=d[0],m=d[1],v="x"===t?g-c:m-h,y=v/(a?s:s-1),b=new Array(s).fill(0).map((function(e,n){return"x"===t?[c+y*(a?n+.5:n),h]:[c,h+y*(a?n+.5:n)]})),x=z(t,a,i,b,y);return f(f({},e),{},{tickPosition:b,tickLinePosition:x,tickGap:y})}))}function z(e,t,n,i,r){var a="x"===e?1:0,s=5;"x"===e&&"top"===n&&(s=-5),"y"===e&&"left"===n&&(s=-5);var l=i.map((function(e){var t=(0,h.deepClone)(e);return t[a]+=s,[(0,h.deepClone)(e),t]}));return t?(a="x"===e?0:1,s=r/2,l.forEach((function(e){var t=(0,o["default"])(e,2),n=t[0],i=t[1];n[a]+=s,i[a]+=s})),l):l}function $(e,t){return e.map((function(e){var t=e.nameGap,n=e.nameLocation,i=e.position,r=e.linePosition,a=(0,o["default"])(r,2),l=a[0],u=a[1],c=(0,s["default"])(l);"end"===n&&(c=(0,s["default"])(u)),"center"===n&&(c[0]=(l[0]+u[0])/2,c[1]=(l[1]+u[1])/2);var h=0;"top"===i&&"center"===n&&(h=1),"bottom"===i&&"center"===n&&(h=1),"left"===i&&"center"!==n&&(h=1),"right"===i&&"center"!==n&&(h=1);var d=t;return"top"===i&&"end"!==n&&(d*=-1),"left"===i&&"start"!==n&&(d*=-1),"bottom"===i&&"start"===n&&(d*=-1),"right"===i&&"end"===n&&(d*=-1),c[h]+=d,f(f({},e),{},{namePosition:c})}))}function B(e,t){var n=t.gridArea,i=n.w,r=n.h;return e.map((function(e){var t=e.tickLinePosition,n=e.position,a=e.boundaryGap,l=0,u=i;"top"!==n&&"bottom"!==n||(l=1),"top"!==n&&"bottom"!==n||(u=r),"right"!==n&&"bottom"!==n||(u*=-1);var c=t.map((function(e){var t=(0,o["default"])(e,1),n=t[0],i=(0,s["default"])(n);return i[l]+=u,[(0,s["default"])(n),i]}));return a||c.shift(),f(f({},e),{},{splitLinePosition:c})}))}function F(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel;return[{name:"polyline",index:i,visible:e.axisLine.show,animationCurve:t,animationFrame:n,shape:j(e),style:V(e)}]}function j(e){var t=e.linePosition;return{points:t}}function V(e){return e.axisLine.style}function H(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel,r=W(e),o=G(e);return r.map((function(r){return{name:"polyline",index:i,visible:e.axisTick.show,animationCurve:t,animationFrame:n,shape:r,style:o}}))}function W(e){var t=e.tickLinePosition;return t.map((function(e){return{points:e}}))}function G(e){return e.axisTick.style}function q(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel,r=U(e),o=X(e,r);return r.map((function(r,a){return{name:"text",index:i,visible:e.axisLabel.show,animationCurve:t,animationFrame:n,shape:r,style:o[a],setGraphCenter:function(){}}}))}function U(e){var t=e.label,n=e.tickPosition,i=e.position;return n.map((function(e,n){return{position:Y(e,i),content:t[n].toString()}}))}function Y(e,t){var n=0,i=10;return"top"!==t&&"bottom"!==t||(n=1),"top"!==t&&"left"!==t||(i=-10),e=(0,h.deepClone)(e),e[n]+=i,e}function X(e,t){var n=e.position,i=e.axisLabel.style,r=Z(n);i=(0,c.deepMerge)(r,i);var o=t.map((function(e){var t=e.position;return f(f({},i),{},{graphCenter:t})}));return o}function Z(e){return"left"===e?{textAlign:"right",textBaseline:"middle"}:"right"===e?{textAlign:"left",textBaseline:"middle"}:"top"===e?{textAlign:"center",textBaseline:"bottom"}:"bottom"===e?{textAlign:"center",textBaseline:"top"}:void 0}function K(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel;return[{name:"text",index:i,animationCurve:t,animationFrame:n,shape:Q(e),style:J(e)}]}function Q(e){var t=e.name,n=e.namePosition;return{content:t,position:n}}function J(e){var t=e.nameLocation,n=e.position,i=e.nameTextStyle,r=ee(n,t);return(0,c.deepMerge)(r,i)}function ee(e,t){return"top"===e&&"start"===t||"bottom"===e&&"start"===t||"left"===e&&"center"===t?{textAlign:"right",textBaseline:"middle"}:"top"===e&&"end"===t||"bottom"===e&&"end"===t||"right"===e&&"center"===t?{textAlign:"left",textBaseline:"middle"}:"top"===e&&"center"===t||"left"===e&&"end"===t||"right"===e&&"end"===t?{textAlign:"center",textBaseline:"bottom"}:"bottom"===e&&"center"===t||"left"===e&&"start"===t||"right"===e&&"start"===t?{textAlign:"center",textBaseline:"top"}:void 0}function te(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel,r=ne(e),o=ie(e);return r.map((function(r){return{name:"polyline",index:i,visible:e.splitLine.show,animationCurve:t,animationFrame:n,shape:r,style:o}}))}function ne(e){var t=e.splitLinePosition;return t.map((function(e){return{points:e}}))}function ie(e){return e.splitLine.style}},30117:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.bar=p;var r=i(n(54614)),o=i(n(34344)),a=i(n(99621)),s=i(n(57920)),l=n(35505),u=n(65054),c=n(19482),h=n(56904);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,o["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.xAxis,i=t.yAxis,r=t.series,o=[];n&&i&&r&&(o=(0,h.initNeedSeries)(r,u.barConfig,"bar"),o=g(o,e),o=m(o,e),o=M(o,e)),(0,l.doUpdate)({chart:e,series:o.slice(-1),key:"backgroundBar",getGraphConfig:A}),o.reverse(),(0,l.doUpdate)({chart:e,series:o,key:"bar",getGraphConfig:z,getStartGraphConfig:G,beforeUpdate:X}),(0,l.doUpdate)({chart:e,series:o,key:"barLabel",getGraphConfig:Z})}function g(e,t){var n=t.axisData;return e.forEach((function(e){var t=e.xAxisIndex,i=e.yAxisIndex;"number"!==typeof t&&(t=0),"number"!==typeof i&&(i=0);var r=n.find((function(e){var n=e.axis,i=e.index;return"".concat(n).concat(i)==="x".concat(t)})),o=n.find((function(e){var t=e.axis,n=e.index;return"".concat(t).concat(n)==="y".concat(i)})),a=[r,o],s=a.findIndex((function(e){var t=e.data;return"value"===t}));e.valueAxis=a[s],e.labelAxis=a[1-s]})),e}function m(e,t){var n=y(e);return n.forEach((function(e){v(e),x(e),_(e,t),w(e),k(e)})),e}function v(e){var t=b(e);t=t.map((function(e){return{stack:e,index:-1}}));var n=0;e.forEach((function(e){var i=e.stack;if(i){var r=t.find((function(e){var t=e.stack;return t===i}));-1===r.index&&(r.index=n,n++),e.barIndex=r.index}else e.barIndex=n,n++}))}function y(e){var t=e.map((function(e){var t=e.labelAxis,n=t.axis,i=t.index;return n+i}));return t=(0,s["default"])(new Set(t)),t.map((function(t){return e.filter((function(e){var n=e.labelAxis,i=n.axis,r=n.index;return i+r===t}))}))}function b(e){var t=[];return e.forEach((function(e){var n=e.stack;n&&t.push(n)})),(0,s["default"])(new Set(t))}function x(e){var t=(0,s["default"])(new Set(e.map((function(e){var t=e.barIndex;return t})))).length;e.forEach((function(e){return e.barNum=t}))}function _(e){var t=e.slice(-1)[0],n=t.barCategoryGap,i=t.labelAxis.tickGap,r=0;r="number"===typeof n?n:(1-parseInt(n)/100)*i,e.forEach((function(e){return e.barCategoryWidth=r}))}function w(e){var t=e.slice(-1)[0],n=t.barCategoryWidth,i=t.barWidth,r=t.barGap,o=t.barNum,s=[];"number"===typeof i||"auto"!==i?s=C(n,i,r,o):"auto"===i&&(s=S(n,i,r,o));var l=s,u=(0,a["default"])(l,2),c=u[0],h=u[1];e.forEach((function(e){e.barWidth=c,e.barGap=h}))}function C(e,t,n){var i=0,r=0;return i="number"===typeof t?t:parseInt(t)/100*e,r="number"===typeof n?n:parseInt(n)/100*i,[i,r]}function S(e,t,n,i){var r=0,o=0,a=e/i;if("number"===typeof n)o=n,r=a-o;else{var s=10+parseInt(n)/10;0===s?(r=2*a,o=-r):(r=a/s*10,o=a-r)}return[r,o]}function k(e){var t=e.slice(-1)[0],n=t.barGap,i=t.barWidth,r=t.barNum,o=(n+i)*r-n;e.forEach((function(e){return e.barAllWidthAndGap=o}))}function M(e,t){return e=E(e),e=T(e),e=P(e),e=O(e),e}function T(e){return e.map((function(e){var t=e.labelAxis,n=e.barAllWidthAndGap,i=e.barGap,r=e.barWidth,o=e.barIndex,a=t.tickGap,s=t.tickPosition,l=t.axis,u="x"===l?0:1,c=s.map((function(e,t){var l=s[t][u]-a/2,c=l+(a-n)/2;return c+(o+.5)*r+o*i}));return f(f({},e),{},{barLabelAxisPos:c})}))}function E(e){return e.map((function(t){var n=(0,h.mergeSameStackData)(t,e);n=D(t,n);var i=t.valueAxis,r=i.axis,o=i.minValue,a=i.maxValue,s=i.linePosition,l=I(o,a,o<0?0:o,s,r),u=n.map((function(e){return I(o,a,e,s,r)})),c=u.map((function(e){return[l,e]}));return f(f({},t),{},{barValueAxisPos:c})}))}function D(e,t){var n=e.data;return t.map((function(e,t){return"number"===typeof n[t]?e:null})).filter((function(e){return null!==e}))}function P(e){return e.map((function(e){var t=e.barLabelAxisPos,n=e.data;return n.forEach((function(e,n){"number"!==typeof e&&(t[n]=null)})),f(f({},e),{},{barLabelAxisPos:t.filter((function(e){return null!==e}))})}))}function O(e){return e.forEach((function(e){var t=e.data,n=e.barLabelAxisPos,i=e.barValueAxisPos,r=t.filter((function(e){return"number"===typeof e})).length,o=n.length;o>r&&(n.splice(r),i.splice(r))})),e}function I(e,t,n,i,r){if("number"!==typeof n)return null;var o=t-e,a="x"===r?0:1,s=i[1][a]-i[0][a],l=(n-e)/o;0===o&&(l=0);var u=l*s;return u+i[0][a]}function A(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel,r=L(e),o=R(e);return r.map((function(r){return{name:"rect",index:i,visible:e.backgroundBar.show,animationCurve:t,animationFrame:n,shape:r,style:o}}))}function L(e){var t=e.labelAxis,n=e.valueAxis,i=t.tickPosition,r=n.axis,o=n.linePosition,a=N(e),s=a/2,l="x"===r?0:1,u=i.map((function(e){return e[1-l]})),c=[o[0][l],o[1][l]],h=c[0],d=c[1];return u.map((function(e){return"x"===r?{x:h,y:e-s,w:d-h,h:a}:{x:e-s,y:d,w:a,h:h-d}}))}function N(e){var t=e.barAllWidthAndGap,n=e.barCategoryWidth,i=e.backgroundBar,r=i.width;return"number"===typeof r?r:"auto"===r?t:parseInt(r)/100*n}function R(e){return e.backgroundBar.style}function z(e){var t=e.barLabelAxisPos,n=e.animationCurve,i=e.animationFrame,r=e.rLevel,o=$(e);return t.map((function(t,a){return{name:o,index:r,animationCurve:n,animationFrame:i,shape:B(e,a),style:H(e,a)}}))}function $(e){var t=e.shapeType;return"leftEchelon"===t||"rightEchelon"===t?"polyline":"rect"}function B(e,t){var n=e.shapeType;return"leftEchelon"===n?F(e,t):"rightEchelon"===n?j(e,t):V(e,t)}function F(e,t){var n=e.barValueAxisPos,i=e.barLabelAxisPos,r=e.barWidth,o=e.echelonOffset,s=(0,a["default"])(n[t],2),l=s[0],u=s[1],c=i[t],h=r/2,d=e.valueAxis.axis,f=[];return"x"===d?(f[0]=[u,c-h],f[1]=[u,c+h],f[2]=[l,c+h],f[3]=[l+o,c-h],u-l<o&&f.splice(3,1)):(f[0]=[c-h,u],f[1]=[c+h,u],f[2]=[c+h,l],f[3]=[c-h,l-o],l-u<o&&f.splice(3,1)),{points:f,close:!0}}function j(e,t){var n=e.barValueAxisPos,i=e.barLabelAxisPos,r=e.barWidth,o=e.echelonOffset,s=(0,a["default"])(n[t],2),l=s[0],u=s[1],c=i[t],h=r/2,d=e.valueAxis.axis,f=[];return"x"===d?(f[0]=[u,c+h],f[1]=[u,c-h],f[2]=[l,c-h],f[3]=[l+o,c+h],u-l<o&&f.splice(2,1)):(f[0]=[c+h,u],f[1]=[c-h,u],f[2]=[c-h,l],f[3]=[c+h,l-o],l-u<o&&f.splice(2,1)),{points:f,close:!0}}function V(e,t){var n=e.barValueAxisPos,i=e.barLabelAxisPos,r=e.barWidth,o=(0,a["default"])(n[t],2),s=o[0],l=o[1],u=i[t],c=e.valueAxis.axis,h={};return"x"===c?(h.x=s,h.y=u-r/2,h.w=l-s,h.h=r):(h.x=u-r/2,h.y=l,h.w=r,h.h=s-l),h}function H(e,t){var n=e.barStyle,i=e.gradient,r=e.color,o=e.independentColor,a=e.independentColors,s=[n.fill||r],l=(0,h.deepMerge)(s,i.color);if(o){var u=a[t%a.length];l=u instanceof Array?u:[u]}1===l.length&&l.push(l[0]);var c=W(e,t);return(0,h.deepMerge)({gradientColor:l,gradientParams:c,gradientType:"linear",gradientWith:"fill"},n)}function W(e,t){var n=e.barValueAxisPos,i=e.barLabelAxisPos,r=e.data,o=e.valueAxis,s=o.linePosition,l=o.axis,u=(0,a["default"])(n[t],2),c=u[0],h=u[1],d=i[t],f=r[t],p=(0,a["default"])(s,2),g=p[0],m=p[1],v="x"===l?0:1,y=h;return e.gradient.local||(y=f<0?g[v]:m[v]),"y"===l?[d,y,d,c]:[y,d,c,d]}function G(e){var t=z(e),n=e.shapeType;return t.forEach((function(t){var i=t.shape;i="leftEchelon"===n?q(i,e):"rightEchelon"===n?U(i,e):Y(i,e),t.shape=i})),t}function q(e,t){var n=t.valueAxis.axis;e=(0,c.deepClone)(e);var i=e,r=i.points,o="x"===n?0:1,a=r[2][o];return r.forEach((function(e){return e[o]=a})),e}function U(e,t){var n=t.valueAxis.axis;e=(0,c.deepClone)(e);var i=e,r=i.points,o="x"===n?0:1,a=r[2][o];return r.forEach((function(e){return e[o]=a})),e}function Y(e,t){var n=t.valueAxis.axis,i=e.x,r=e.y,o=e.w,a=e.h;return"x"===n?o=0:(r+=a,a=0),{x:i,y:r,w:o,h:a}}function X(e,t,n,i){var r=i.chart.render,o=$(t);e[n]&&e[n][0].name!==o&&(e[n].forEach((function(e){return r.delGraph(e)})),e[n]=null)}function Z(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel,r=K(e),o=te(e);return r.map((function(r){return{name:"text",index:i,visible:e.label.show,animationCurve:t,animationFrame:n,shape:r,style:o}}))}function K(e){var t=Q(e),n=J(e);return n.map((function(e,n){return{position:e,content:t[n]}}))}function Q(e){var t=e.data,n=e.label,i=n.formatter;if(t=t.filter((function(e){return"number"===typeof e})).map((function(e){return e.toString()})),!i)return t;var o=(0,r["default"])(i);return"string"===o?t.map((function(e){return i.replace("{value}",e)})):"function"===o?t.map((function(e,t){return i({value:e,index:t})})):t}function J(e){var t=e.label,n=e.barValueAxisPos,i=e.barLabelAxisPos,r=t.position,o=t.offset,s=e.valueAxis.axis;return n.map((function(e,t){var n=(0,a["default"])(e,2),l=n[0],u=n[1],c=i[t],h=[u,c];return"bottom"===r&&(h=[l,c]),"center"===r&&(h=[(l+u)/2,c]),"y"===s&&h.reverse(),ee(h,o)}))}function ee(e,t){var n=(0,a["default"])(e,2),i=n[0],r=n[1],o=(0,a["default"])(t,2),s=o[0],l=o[1];return[i+s,r+l]}function te(e){var t=e.color,n=e.label.style,i=e.gradient.color;return i.length&&(t=i[0]),n=(0,h.deepMerge)({fill:t},n),n}},50965:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.gauge=g;var r=i(n(34344)),o=i(n(54614)),a=i(n(99621)),s=i(n(57920)),l=n(35505),u=n(60649),c=n(19482),h=n(56904),d=n(2172);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.series;n||(n=[]);var i=(0,h.initNeedSeries)(n,u.gaugeConfig,"gauge");i=m(i,e),i=v(i,e),i=y(i,e),i=b(i,e),i=x(i,e),i=_(i,e),i=w(i,e),i=C(i,e),i=S(i,e),i=k(i,e),(0,l.doUpdate)({chart:e,series:i,key:"gaugeAxisTick",getGraphConfig:T}),(0,l.doUpdate)({chart:e,series:i,key:"gaugeAxisLabel",getGraphConfig:P}),(0,l.doUpdate)({chart:e,series:i,key:"gaugeBackgroundArc",getGraphConfig:A,getStartGraphConfig:R}),(0,l.doUpdate)({chart:e,series:i,key:"gaugeArc",getGraphConfig:z,getStartGraphConfig:F,beforeChange:j}),(0,l.doUpdate)({chart:e,series:i,key:"gaugePointer",getGraphConfig:V,getStartGraphConfig:q}),(0,l.doUpdate)({chart:e,series:i,key:"gaugeDetails",getGraphConfig:U})}function m(e,t){var n=t.render.area;return e.forEach((function(e){var t=e.center;t=t.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*n[t]})),e.center=t})),e}function v(e,t){var n=t.render.area,i=Math.min.apply(Math,(0,s["default"])(n))/2;return e.forEach((function(e){var t=e.radius;"number"!==typeof t&&(t=parseInt(t)/100*i),e.radius=t})),e}function y(e,t){var n=t.render.area,i=Math.min.apply(Math,(0,s["default"])(n))/2;return e.forEach((function(e){var t=e.radius,n=e.data,r=e.arcLineWidth;n.forEach((function(e){var n=e.radius,o=e.lineWidth;n||(n=t),"number"!==typeof n&&(n=parseInt(n)/100*i),e.radius=n,o||(o=r),e.lineWidth=o}))})),e}function b(e,t){return e.forEach((function(e){var t=e.startAngle,n=e.endAngle,i=e.data,r=e.min,o=e.max,a=n-t,s=o-r;i.forEach((function(e){var n=e.value,i=Math.abs((n-r)/s*a);e.startAngle=t,e.endAngle=t+i}))})),e}function x(e,t){return e.forEach((function(e){var t=e.data;t.forEach((function(e){var t=e.color,n=e.gradient;n&&n.length||(n=t),n instanceof Array||(n=[n]),e.gradient=n}))})),e}function _(e,t){return e.forEach((function(e){var t=e.startAngle,n=e.endAngle,i=e.splitNum,r=e.center,o=e.radius,a=e.arcLineWidth,l=e.axisTick,u=l.tickLength,h=l.style.lineWidth,d=n-t,f=o-a/2,p=f-u,g=d/(i-1),m=2*Math.PI*o*d/(2*Math.PI),v=Math.ceil(h/2)/m*d;e.tickAngles=[],e.tickInnerRadius=[],e.tickPosition=new Array(i).fill(0).map((function(n,o){var a=t+g*o;return 0===o&&(a+=v),o===i-1&&(a-=v),e.tickAngles[o]=a,e.tickInnerRadius[o]=p,[c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([f,a])),c.getCircleRadianPoint.apply(void 0,(0,s["default"])(r).concat([p,a]))]}))})),e}function w(e,t){return e.forEach((function(e){var t=e.center,n=e.tickInnerRadius,i=e.tickAngles,r=e.axisLabel.labelGap,o=i.map((function(e,o){return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(t).concat([n[o]-r,i[o]]))})),l=o.map((function(e){var n=(0,a["default"])(e,2),i=n[0],r=n[1];return{textAlign:i>t[0]?"right":"left",textBaseline:r>t[1]?"bottom":"top"}}));e.labelPosition=o,e.labelAlign=l})),e}function C(e,t){return e.forEach((function(e){var t=e.axisLabel,n=e.min,i=e.max,r=e.splitNum,a=t.data,s=t.formatter,l=(i-n)/(r-1),u=new Array(r).fill(0).map((function(e,t){return parseInt(n+l*t)})),c=(0,o["default"])(s);a=(0,h.deepMerge)(u,a).map((function(e,t){var n=e;return"string"===c&&(n=s.replace("{value}",e)),"function"===c&&(n=s({value:e,index:t})),n})),t.data=a})),e}function S(e,t){return e.forEach((function(e){var t=e.data,n=e.details,i=e.center,r=n.position,o=n.offset,a=t.map((function(e){var t=e.startAngle,n=e.endAngle,a=e.radius,l=null;return"center"===r?l=i:"start"===r?l=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(i).concat([a,t])):"end"===r&&(l=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(i).concat([a,n]))),M(l,o)}));e.detailsPosition=a})),e}function k(e,t){return e.forEach((function(e){var t=e.data,n=e.details,i=n.formatter,r=(0,o["default"])(i),a=t.map((function(e){var t=e.value;return"string"===r&&(t=i.replace("{value}","{nt}"),t=t.replace("{name}",e.name)),"function"===r&&(t=i(e)),t.toString()}));e.detailsContent=a})),e}function M(e,t){var n=(0,a["default"])(e,2),i=n[0],r=n[1],o=(0,a["default"])(t,2),s=o[0],l=o[1];return[i+s,r+l]}function T(e){var t=e.tickPosition,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,o){return{name:"polyline",index:r,visible:e.axisTick.show,animationCurve:n,animationFrame:i,shape:E(e,o),style:D(e,o)}}))}function E(e,t){var n=e.tickPosition;return{points:n[t]}}function D(e,t){var n=e.axisTick.style;return n}function P(e){var t=e.labelPosition,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,o){return{name:"text",index:r,visible:e.axisLabel.show,animationCurve:n,animationFrame:i,shape:O(e,o),style:I(e,o)}}))}function O(e,t){var n=e.labelPosition,i=e.axisLabel.data;return{content:i[t].toString(),position:n[t]}}function I(e,t){var n=e.labelAlign,i=e.axisLabel,r=i.style;return(0,h.deepMerge)(p({},n[t]),r)}function A(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel;return[{name:"arc",index:i,visible:e.backgroundArc.show,animationCurve:t,animationFrame:n,shape:L(e),style:N(e)}]}function L(e){var t=e.startAngle,n=e.endAngle,i=e.center,r=e.radius;return{rx:i[0],ry:i[1],r:r,startAngle:t,endAngle:n}}function N(e){var t=e.backgroundArc,n=e.arcLineWidth,i=t.style;return(0,h.deepMerge)({lineWidth:n},i)}function R(e){var t=A(e)[0],n=p({},t.shape);return n.endAngle=t.shape.startAngle,t.shape=n,[t]}function z(e){var t=e.data,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,o){return{name:"agArc",index:r,animationCurve:n,animationFrame:i,shape:$(e,o),style:B(e,o)}}))}function $(e,t){var n=e.data,i=e.center,r=e.endAngle,o=n[t],a=o.radius,s=o.startAngle,l=o.endAngle,u=o.localGradient;return u&&(r=l),{rx:i[0],ry:i[1],r:a,startAngle:s,endAngle:l,gradientEndAngle:r}}function B(e,t){var n=e.data,i=e.dataItemStyle,r=n[t],o=r.lineWidth,a=r.gradient;return a=a.map((function(e){return(0,d.getRgbaValue)(e)})),(0,h.deepMerge)({lineWidth:o,gradient:a},i)}function F(e){var t=z(e);return t.map((function(e){var t=p({},e.shape);t.endAngle=e.shape.startAngle,e.shape=t})),t}function j(e,t){var n=e.style.gradient,i=n.length,r=t.style.gradient.length;if(i>r)n.splice(r);else{var o=n.slice(-1)[0];n.push.apply(n,(0,s["default"])(new Array(r-i).fill(0).map((function(e){return(0,s["default"])(o)}))))}}function V(e){var t=e.animationCurve,n=e.animationFrame,i=e.center,r=e.rLevel;return[{name:"polyline",index:r,visible:e.pointer.show,animationCurve:t,animationFrame:n,shape:H(e),style:W(e),setGraphCenter:function(e,t){t.style.graphCenter=i}}]}function H(e){var t=e.center;return{points:G(t),close:!0}}function W(e){var t=e.startAngle,n=e.endAngle,i=e.min,r=e.max,o=e.data,a=e.pointer,s=e.center,l=a.valueIndex,u=a.style,c=o[l]?o[l].value:0,d=(c-i)/(r-i)*(n-t)+t+Math.PI/2;return(0,h.deepMerge)({rotate:(0,h.radianToAngle)(d),scale:[1,1],graphCenter:s},u)}function G(e){var t=(0,a["default"])(e,2),n=t[0],i=t[1],r=[n,i-40],o=[n+5,i],s=[n,i+10],l=[n-5,i];return[r,o,s,l]}function q(e){var t=e.startAngle,n=V(e)[0];return n.style.rotate=(0,h.radianToAngle)(t+Math.PI/2),[n]}function U(e){var t=e.detailsPosition,n=e.animationCurve,i=e.animationFrame,r=e.rLevel,o=e.details.show;return t.map((function(t,a){return{name:"numberText",index:r,visible:o,animationCurve:n,animationFrame:i,shape:Y(e,a),style:X(e,a)}}))}function Y(e,t){var n=e.detailsPosition,i=e.detailsContent,r=e.data,o=e.details,a=n[t],s=i[t],l=r[t].value,u=o.valueToFixed;return{number:[l],content:s,position:a,toFixed:u}}function X(e,t){var n=e.details,i=e.data,r=n.style,o=i[t].color;return(0,h.deepMerge)({fill:o},r)}},68555:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.grid=d;var r=i(n(99621)),o=i(n(34344)),a=n(35505),s=n(19482),l=n(65054),u=n(56904);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.grid;n=(0,u.deepMerge)((0,s.deepClone)(l.gridConfig,!0),n||{}),(0,a.doUpdate)({chart:e,series:[n],key:"grid",getGraphConfig:f})}function f(e,t){var n=e.animationCurve,i=e.animationFrame,r=e.rLevel,o=p(e,t),a=m(e);return t.chart.gridArea=h({},o),[{name:"rect",index:r,animationCurve:n,animationFrame:i,shape:o,style:a}]}function p(e,t){var n=(0,r["default"])(t.chart.render.area,2),i=n[0],o=n[1],a=g(e.left,i),s=g(e.right,i),l=g(e.top,o),u=g(e.bottom,o),c=i-a-s,h=o-l-u;return{x:a,y:l,w:c,h:h}}function g(e,t){return"number"===typeof e?e:"string"!==typeof e?0:t*parseInt(e)/100}function m(e){var t=e.style;return t}},53206:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"mergeColor",{enumerable:!0,get:function(){return i.mergeColor}}),Object.defineProperty(t,"title",{enumerable:!0,get:function(){return r.title}}),Object.defineProperty(t,"grid",{enumerable:!0,get:function(){return o.grid}}),Object.defineProperty(t,"axis",{enumerable:!0,get:function(){return a.axis}}),Object.defineProperty(t,"line",{enumerable:!0,get:function(){return s.line}}),Object.defineProperty(t,"bar",{enumerable:!0,get:function(){return l.bar}}),Object.defineProperty(t,"pie",{enumerable:!0,get:function(){return u.pie}}),Object.defineProperty(t,"radarAxis",{enumerable:!0,get:function(){return c.radarAxis}}),Object.defineProperty(t,"radar",{enumerable:!0,get:function(){return h.radar}}),Object.defineProperty(t,"gauge",{enumerable:!0,get:function(){return d.gauge}}),Object.defineProperty(t,"legend",{enumerable:!0,get:function(){return f.legend}});var i=n(87556),r=n(58166),o=n(68555),a=n(73368),s=n(85178),l=n(30117),u=n(68295),c=n(97960),h=n(43040),d=n(50965),f=n(30405)},30405:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.legend=h;var r=i(n(34344)),o=i(n(99621)),a=i(n(54614)),s=n(35505),l=n(19482),u=n(65054),c=n(56904);function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.legend;n?(n=(0,c.deepMerge)((0,l.deepClone)(u.legendConfig,!0),n),n=d(n),n=f(n,t,e),n=p(n,e),n=v(n,e),n=[n]):n=[],(0,s.doUpdate)({chart:e,series:n,key:"legendIcon",getGraphConfig:E}),(0,s.doUpdate)({chart:e,series:n,key:"legendText",getGraphConfig:O})}function d(e){var t=e.data;return e.data=t.map((function(e){var t=(0,a["default"])(e);return"string"===t?{name:e}:"object"===t?e:{name:""}})),e}function f(e,t,n){var i=t.series,r=n.legendStatus,o=e.data.filter((function(e){var t=e.name,n=i.find((function(e){var n=e.name;return t===n}));return!!n&&(e.color||(e.color=n.color),e.icon||(e.icon=n.type),e)}));return r&&r.length===e.data.length||(r=new Array(e.data.length).fill(!0)),o.forEach((function(e,t){return e.status=r[t]})),e.data=o,n.legendStatus=r,e}function p(e,t){var n=t.render.ctx,i=e.data,r=e.textStyle,o=e.textUnselectedStyle;return i.forEach((function(e){var t=e.status,i=e.name;e.textWidth=g(n,i,t?r:o)})),e}function g(e,t,n){return e.font=m(n),e.measureText(t).width}function m(e){var t=e.fontFamily,n=e.fontSize;return"".concat(n,"px ").concat(t)}function v(e,t){var n=e.orient;return"vertical"===n?S(e,t):y(e,t),e}function y(e,t){var n=e.iconHeight,i=e.itemGap,r=b(e,t),o=r.map((function(n){return _(n,e,t)})),a=w(e,t),s={textAlign:"left",textBaseline:"middle"};r.forEach((function(e,t){return e.forEach((function(e){var r=e.iconPosition,l=e.textPosition,u=o[t],c=a+t*(i+n);e.iconPosition=C(r,[u,c]),e.textPosition=C(l,[u,c]),e.align=s}))}))}function b(e,t){var n=e.data,i=e.iconWidth,r=t.render.area[0],o=0,a=[[]];return n.forEach((function(t,n){var s=x(o,n,e),l=s+i+5+t.textWidth;l>=r&&(o=n,s=x(o,n,e),a.push([])),t.iconPosition=[s,0],t.textPosition=[s+i+5,0],a.slice(-1)[0].push(t)})),a}function x(e,t,n){var i=n.data,r=n.iconWidth,o=n.itemGap,a=i.slice(e,t);return(0,c.mulAdd)(a.map((function(e){var t=e.textWidth;return t})))+(t-e)*(o+5+r)}function _(e,t,n){var i=t.left,r=t.right,o=t.iconWidth,a=t.itemGap,s=n.render.area[0],l=e.length,u=(0,c.mulAdd)(e.map((function(e){var t=e.textWidth;return t})))+l*(5+o)+(l-1)*a,h=[i,r].findIndex((function(e){return"auto"!==e}));return-1===h?(s-u)/2:0===h?"number"===typeof i?i:parseInt(i)/100*s:("number"!==typeof r&&(r=parseInt(r)/100*s),s-(u+r))}function w(e,t){var n=e.top,i=e.bottom,r=e.iconHeight,o=t.render.area[1],a=[n,i].findIndex((function(e){return"auto"!==e})),s=r/2;if(-1===a){var l=t.gridArea,u=l.y,c=l.h;return u+c+45-s}return 0===a?"number"===typeof n?n-s:parseInt(n)/100*o-s:("number"!==typeof i&&(i=parseInt(i)/100*o),o-i-s)}function C(e,t){var n=(0,o["default"])(e,2),i=n[0],r=n[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return[i+s,r+l]}function S(e,t){var n=k(e,t),i=(0,o["default"])(n,2),r=i[0],a=i[1],s=M(e,t);T(e,r);var l={textAlign:"left",textBaseline:"middle"};e.data.forEach((function(e){var t=e.textPosition,n=e.iconPosition;e.textPosition=C(t,[a,s]),e.iconPosition=C(n,[a,s]),e.align=l}))}function k(e,t){var n=e.left,i=e.right,r=t.render.area[0],o=[n,i].findIndex((function(e){return"auto"!==e}));if(-1===o)return[!0,r-10];var a=[n,i][o];return"number"!==typeof a&&(a=parseInt(a)/100*r),[Boolean(o),a]}function M(e,t){var n=e.iconHeight,i=e.itemGap,r=e.data,o=e.top,a=e.bottom,s=t.render.area[1],l=r.length,u=l*n+(l-1)*i,c=[o,a].findIndex((function(e){return"auto"!==e}));if(-1===c)return(s-u)/2;var h=[o,a][c];return"number"!==typeof h&&(h=parseInt(h)/100*s),1===c&&(h=s-h-u),h}function T(e,t){var n=e.data,i=e.iconWidth,r=e.iconHeight,o=e.itemGap,a=r/2;n.forEach((function(e,n){var s=e.textWidth,l=(r+o)*n+a,u=t?0-i:0,c=t?u-5-s:i+5;e.iconPosition=[u,l],e.textPosition=[c,l]}))}function E(e,t){var n=e.data,i=e.selectAble,o=e.animationCurve,a=e.animationFrame,s=e.rLevel;return n.map((function(n,l){return(0,r["default"])({name:"line"===n.icon?"lineIcon":"rect",index:s,visible:e.show,hover:i,click:i,animationCurve:o,animationFrame:a,shape:D(e,l),style:P(e,l)},"click",N(e,l,t))}))}function D(e,t){var n=e.data,i=e.iconWidth,r=e.iconHeight,a=(0,o["default"])(n[t].iconPosition,2),s=a[0],l=a[1],u=r/2;return{x:s,y:l-u,w:i,h:r}}function P(e,t){var n=e.data,i=e.iconStyle,r=e.iconUnselectedStyle,o=n[t],a=o.status,s=o.color,l=a?i:r;return(0,c.deepMerge)({fill:s},l)}function O(e,t){var n=e.data,i=e.selectAble,r=e.animationCurve,o=e.animationFrame,a=e.rLevel;return n.map((function(n,s){return{name:"text",index:a,visible:e.show,hover:i,animationCurve:r,animationFrame:o,hoverRect:L(e,s),shape:I(e,s),style:A(e,s),click:N(e,s,t)}}))}function I(e,t){var n=e.data[t],i=n.textPosition,r=n.name;return{content:r,position:i}}function A(e,t){var n=e.textStyle,i=e.textUnselectedStyle,r=e.data[t],o=r.status,a=r.align,s=o?n:i;return(0,c.deepMerge)((0,l.deepClone)(s,!0),a)}function L(e,t){var n=e.textStyle,i=e.textUnselectedStyle,r=e.data[t],a=r.status,s=(0,o["default"])(r.textPosition,2),l=s[0],u=s[1],c=r.textWidth,h=a?n:i,d=h.fontSize;return[l,u-d/2,c,d]}function N(e,t,n){var i=e.data[t].name;return function(){var e=n.chart,r=e.legendStatus,o=e.option,a=!r[t],s=o.series.find((function(e){var t=e.name;return t===i}));s.show=a,r[t]=a,n.chart.setOption(o)}}},85178:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.line=m;var r=i(n(54614)),o=i(n(99621)),a=i(n(57920)),s=i(n(34344)),l=n(35505),u=n(65054),c=i(n(39350)),h=n(56904);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,s["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=c["default"].polylineToBezierCurve,g=c["default"].getBezierCurveLength;function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.xAxis,i=t.yAxis,r=t.series,o=[];n&&i&&r&&(o=(0,h.initNeedSeries)(r,u.lineConfig,"line"),o=v(o,e)),(0,l.doUpdate)({chart:e,series:o,key:"lineArea",getGraphConfig:w,getStartGraphConfig:T,beforeUpdate:E,beforeChange:D}),(0,l.doUpdate)({chart:e,series:o,key:"line",getGraphConfig:P,getStartGraphConfig:L,beforeUpdate:E,beforeChange:D}),(0,l.doUpdate)({chart:e,series:o,key:"linePoint",getGraphConfig:N,getStartGraphConfig:$}),(0,l.doUpdate)({chart:e,series:o,key:"lineLabel",getGraphConfig:B})}function v(e,t){var n=t.axisData;return e.map((function(t){var i=(0,h.mergeSameStackData)(t,e);i=y(t,i);var r=b(t,n),o=x(i,r),a=_(r);return f(f({},t),{},{linePosition:o.filter((function(e){return e})),lineFillBottomPos:a})}))}function y(e,t){var n=e.data;return t.map((function(e,t){return"number"===typeof n[t]?e:null}))}function b(e,t){var n=e.xAxisIndex,i=e.yAxisIndex,r=t.find((function(e){var t=e.axis,i=e.index;return"x"===t&&i===n})),o=t.find((function(e){var t=e.axis,n=e.index;return"y"===t&&n===i}));return[r,o]}function x(e,t){var n=t.findIndex((function(e){var t=e.data;return"value"===t})),i=t[n],r=t[1-n],o=i.linePosition,a=i.axis,s=r.tickPosition,l=s.length,u="x"===a?0:1,c=o[0][u],h=o[1][u],d=h-c,f=i.maxValue,p=i.minValue,g=f-p,m=new Array(l).fill(0).map((function(t,n){var i=e[n];if("number"!==typeof i)return null;var r=(i-p)/g;return 0===g&&(r=0),r*d+c}));return m.map((function(e,t){if(t>=l||"number"!==typeof e)return null;var n=[e,s[t][1-u]];return 0===u||n.reverse(),n}))}function _(e){var t=e.find((function(e){var t=e.data;return"value"===t})),n=t.axis,i=t.linePosition,r=t.minValue,o=t.maxValue,a="x"===n?0:1,s=i[0][a];if(r<0&&o>0){var l=o-r,u=Math.abs(i[0][a]-i[1][a]),c=Math.abs(r)/l*u;"y"===n&&(c*=-1),s+=c}return{changeIndex:a,changeValue:s}}function w(e){var t=e.animationCurve,n=e.animationFrame,i=e.lineFillBottomPos,r=e.rLevel;return[{name:O(e),index:r,animationCurve:t,animationFrame:n,visible:e.lineArea.show,lineFillBottomPos:i,shape:C(e),style:S(e),drawed:M}]}function C(e){var t=e.linePosition;return{points:t}}function S(e){var t=e.lineArea,n=e.color,i=t.gradient,r=t.style,o=[r.fill||n],a=(0,h.deepMerge)(o,i);1===a.length&&a.push(a[0]);var s=k(e);return r=f(f({},r),{},{stroke:"rgba(0, 0, 0, 0)"}),(0,h.deepMerge)({gradientColor:a,gradientParams:s,gradientType:"linear",gradientWith:"fill"},r)}function k(e){var t=e.lineFillBottomPos,n=e.linePosition,i=t.changeIndex,r=t.changeValue,o=n.map((function(e){return e[i]})),s=Math.max.apply(Math,(0,a["default"])(o)),l=Math.min.apply(Math,(0,a["default"])(o)),u=s;return 1===i&&(u=l),1===i?[0,u,0,r]:[u,0,r,0]}function M(e,t){var n=e.lineFillBottomPos,i=e.shape,r=t.ctx,o=i.points,s=n.changeIndex,l=n.changeValue,u=(0,a["default"])(o[o.length-1]),c=(0,a["default"])(o[0]);u[s]=l,c[s]=l,r.lineTo.apply(r,(0,a["default"])(u)),r.lineTo.apply(r,(0,a["default"])(c)),r.closePath(),r.fill()}function T(e){var t=w(e)[0],n=f({},t.style);return n.opacity=0,t.style=n,[t]}function E(e,t,n,i){var r=e[n];if(r){var o=O(t),a=i.chart.render,s=r[0].name,l=o!==s;l&&(r.forEach((function(e){return a.delGraph(e)})),e[n]=null)}}function D(e,t){var n=t.shape.points,i=e.shape.points,r=i.length,o=n.length;if(o>r){var s=i.slice(-1)[0],l=new Array(o-r).fill(0).map((function(e){return(0,a["default"])(s)}));i.push.apply(i,(0,a["default"])(l))}else o<r&&i.splice(o)}function P(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel;return[{name:O(e),index:i+1,animationCurve:t,animationFrame:n,shape:C(e),style:I(e)}]}function O(e){var t=e.smooth;return t?"smoothline":"polyline"}function I(e){var t=e.lineStyle,n=e.color,i=e.smooth,r=e.linePosition,o=A(r,i);return(0,h.deepMerge)({stroke:n,lineDash:[o,0]},t)}function A(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return(0,h.getPolylineLength)(e);var n=p(e);return g(n)}function L(e){var t=e.lineStyle.lineDash,n=P(e)[0],i=n.style.lineDash;return i=t?[0,0]:(0,a["default"])(i).reverse(),n.style.lineDash=i,[n]}function N(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel,r=R(e),o=z(e);return r.map((function(r){return{name:"circle",index:i+2,visible:e.linePoint.show,animationCurve:t,animationFrame:n,shape:r,style:o}}))}function R(e){var t=e.linePosition,n=e.linePoint.radius;return t.map((function(e){var t=(0,o["default"])(e,2),i=t[0],r=t[1];return{r:n,rx:i,ry:r}}))}function z(e){var t=e.color,n=e.linePoint.style;return(0,h.deepMerge)({stroke:t},n)}function $(e){var t=N(e);return t.forEach((function(e){e.shape.r=.1})),t}function B(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel,r=F(e),o=G(e);return r.map((function(r,a){return{name:"text",index:i+3,visible:e.label.show,animationCurve:t,animationFrame:n,shape:r,style:o}}))}function F(e){var t=W(e),n=j(e);return t.map((function(e,t){return{content:e,position:n[t]}}))}function j(e){var t=e.linePosition,n=e.lineFillBottomPos,i=e.label,r=i.position,o=i.offset,s=n.changeIndex,l=n.changeValue;return t.map((function(e){if("bottom"===r&&(e=(0,a["default"])(e),e[s]=l),"center"===r){var t=(0,a["default"])(e);t[s]=l,e=H(e,t)}return V(e,o)}))}function V(e,t){var n=(0,o["default"])(e,2),i=n[0],r=n[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return[i+s,r+l]}function H(e,t){var n=(0,o["default"])(e,2),i=n[0],r=n[1],a=(0,o["default"])(t,2),s=a[0],l=a[1];return[(i+s)/2,(r+l)/2]}function W(e){var t=e.data,n=e.label.formatter;if(t=t.filter((function(e){return"number"===typeof e})).map((function(e){return e.toString()})),!n)return t;var i=(0,r["default"])(n);return"string"===i?t.map((function(e){return n.replace("{value}",e)})):"function"===i?t.map((function(e,t){return n({value:e,index:t})})):t}function G(e){var t=e.color,n=e.label.style;return(0,h.deepMerge)({fill:t},n)}},87556:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeColor=a;var i=n(65054),r=n(19482),o=n(56904);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,r.deepClone)(i.colorConfig,!0),a=t.color,s=t.series;if(s||(s=[]),a||(a=[]),t.color=a=(0,o.deepMerge)(n,a),s.length){var l=a.length;s.forEach((function(e,t){e.color||(e.color=a[t%l])}));var u=s.filter((function(e){var t=e.type;return"pie"===t}));u.forEach((function(e){return e.data.forEach((function(e,t){return e.color=a[t%l]}))}));var c=s.filter((function(e){var t=e.type;return"gauge"===t}));c.forEach((function(e){return e.data.forEach((function(e,t){return e.color=a[t%l]}))}));var h=s.filter((function(e){var t=e.type,n=e.independentColor;return"bar"===t&&n}));h.forEach((function(e){e.independentColors||(e.independentColors=a)}))}}},68295:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.pie=p;var r=i(n(34344)),o=i(n(54614)),a=i(n(99621)),s=i(n(57920)),l=n(35505),u=n(88391),c=n(19482),h=n(56904);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.series;n||(n=[]);var i=(0,h.initNeedSeries)(n,u.pieConfig,"pie");i=g(i,e),i=m(i,e),i=y(i,e),i=_(i),i=S(i,e),i=M(i),i=E(i),i=D(i),(0,l.doUpdate)({chart:e,series:i,key:"pie",getGraphConfig:N,getStartGraphConfig:R,beforeChange:z}),(0,l.doUpdate)({chart:e,series:i,key:"pieInsideLabel",getGraphConfig:F}),(0,l.doUpdate)({chart:e,series:i,key:"pieOutsideLabelLine",getGraphConfig:H,getStartGraphConfig:W}),(0,l.doUpdate)({chart:e,series:i,key:"pieOutsideLabel",getGraphConfig:U,getStartGraphConfig:Y})}function g(e,t){var n=t.render.area;return e.forEach((function(e){var t=e.center;t=t.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*n[t]})),e.center=t})),e}function m(e,t){var n=Math.min.apply(Math,(0,s["default"])(t.render.area))/2;return e.forEach((function(e){var t=e.radius,i=e.data;t=v(t,n),i.forEach((function(e){var i=e.radius;i||(i=t),i=v(i,n),e.radius=i})),e.radius=t})),e}function v(e,t){return e instanceof Array||(e=[0,e]),e=e.map((function(e){return"number"===typeof e?e:parseInt(e)/100*t})),e}function y(e,t){var n=e.filter((function(e){var t=e.roseType;return t}));return n.forEach((function(e){var t=e.radius,n=e.data,i=e.roseSort,r=x(e),o=(0,s["default"])(n);n=b(n),n.forEach((function(e,n){e.radius[1]=t[1]-r*n})),i?n.reverse():e.data=o,e.roseIncrement=r})),e}function b(e){return e.sort((function(e,t){var n=e.value,i=t.value;return n===i?0:n>i?-1:n<i?1:void 0}))}function x(e){var t=e.radius,n=e.roseIncrement;if("number"===typeof n)return n;if("auto"===n){var i=e.data,r=i.reduce((function(e,t){var n=t.radius;return[].concat((0,s["default"])(e),(0,s["default"])(n))}),[]),o=Math.min.apply(Math,(0,s["default"])(r)),a=Math.max.apply(Math,(0,s["default"])(r));return.6*(a-o)/(i.length-1||1)}return parseInt(n)/100*t[1]}function _(e){return e.forEach((function(e){var t=e.data,n=e.percentToFixed,i=C(t);t.forEach((function(e){var t=e.value;e.percent=t/i*100,e.percentForLabel=w(t/i*100,n)}));var r=(0,h.mulAdd)(t.slice(0,-1).map((function(e){var t=e.percent;return t})));t.slice(-1)[0].percent=100-r,t.slice(-1)[0].percentForLabel=w(100-r,n)})),e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.toString(),i=n.split("."),r=i[1]||"0",o=r.slice(0,t);return i[1]=o,parseFloat(i.join("."))}function C(e){return(0,h.mulAdd)(e.map((function(e){var t=e.value;return t})))}function S(e){return e.forEach((function(e){var t=e.startAngle,n=e.data;n.forEach((function(e,i){var r=k(n,i),o=(0,a["default"])(r,2),s=o[0],l=o[1];e.startAngle=t+s,e.endAngle=t+l}))})),e}function k(e,t){var n=2*Math.PI,i=e.slice(0,t+1),r=(0,h.mulAdd)(i.map((function(e){var t=e.percent;return t}))),o=e[t].percent,a=r-o;return[n*a/100,n*r/100]}function M(e){return e.forEach((function(e){var t=e.data;t.forEach((function(t){t.insideLabelPos=T(e,t)}))})),e}function T(e,t){var n=e.center,i=t.startAngle,r=t.endAngle,o=(0,a["default"])(t.radius,2),l=o[0],u=o[1],h=(l+u)/2,d=(i+r)/2;return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(n).concat([h,d]))}function E(e){return e.forEach((function(e){var t=e.data,n=e.center;t.forEach((function(e){var t=e.startAngle,i=e.endAngle,r=e.radius,o=(t+i)/2,a=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(n).concat([r[1],o]));e.edgeCenterPos=a}))})),e}function D(e){return e.forEach((function(e){var t=I(e),n=I(e,!1);t=A(t),n=A(n),L(t,e),L(n,e,!1)})),e}function P(e){var t=e.outsideLabel.labelLineBendGap,n=O(e);return"number"!==typeof t&&(t=parseInt(t)/100*n),t+n}function O(e){var t=e.data,n=t.map((function(e){var t=(0,a["default"])(e.radius,2),n=(t[0],t[1]);return n}));return Math.max.apply(Math,(0,s["default"])(n))}function I(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.data,i=e.center,r=i[0];return n.filter((function(e){var n=e.edgeCenterPos,i=n[0];return t?i<=r:i>r}))}function A(e){return e.sort((function(e,t){var n=(0,a["default"])(e.edgeCenterPos,2),i=(n[0],n[1]),r=(0,a["default"])(t.edgeCenterPos,2),o=(r[0],r[1]);return i>o?1:i<o?-1:i===o?0:void 0})),e}function L(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=t.center,r=t.outsideLabel,o=P(t);e.forEach((function(e){var t=e.edgeCenterPos,a=e.startAngle,l=e.endAngle,u=r.labelLineEndLength,d=(a+l)/2,f=c.getCircleRadianPoint.apply(void 0,(0,s["default"])(i).concat([o,d])),p=(0,s["default"])(f);p[0]+=u*(n?-1:1),e.labelLine=[t,f,p],e.labelLineLength=(0,h.getPolylineLength)(e.labelLine),e.align={textAlign:"left",textBaseline:"middle"},n&&(e.align.textAlign="right")}))}function N(e){var t=e.data,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,o){return{name:"pie",index:r,animationCurve:n,animationFrame:i,shape:$(e,o),style:B(e,o)}}))}function R(e){var t=e.animationDelayGap,n=e.startAnimationCurve,i=N(e);return i.forEach((function(e,i){e.animationCurve=n,e.animationDelay=i*t,e.shape.or=e.shape.ir})),i}function z(e){e.animationDelay=0}function $(e,t){var n=e.center,i=e.data,r=i[t],o=r.radius,a=r.startAngle,s=r.endAngle;return{startAngle:a,endAngle:s,ir:o[0],or:o[1],rx:n[0],ry:n[1]}}function B(e,t){var n=e.pieStyle,i=e.data,r=i[t],o=r.color;return(0,h.deepMerge)({fill:o},n)}function F(e){var t=e.animationCurve,n=e.animationFrame,i=e.data,r=e.rLevel;return i.map((function(i,o){return{name:"text",index:r,visible:e.insideLabel.show,animationCurve:t,animationFrame:n,shape:j(e,o),style:V(e,o)}}))}function j(e,t){var n=e.insideLabel,i=e.data,r=n.formatter,a=i[t],s=(0,o["default"])(r),l="";return"string"===s&&(l=r.replace("{name}",a.name),l=l.replace("{percent}",a.percentForLabel),l=l.replace("{value}",a.value)),"function"===s&&(l=r(a)),{content:l,position:a.insideLabelPos}}function V(e,t){var n=e.insideLabel.style;return n}function H(e){var t=e.animationCurve,n=e.animationFrame,i=e.data,r=e.rLevel;return i.map((function(i,o){return{name:"polyline",index:r,visible:e.outsideLabel.show,animationCurve:t,animationFrame:n,shape:G(e,o),style:q(e,o)}}))}function W(e){var t=e.data,n=H(e);return n.forEach((function(e,n){e.style.lineDash=[0,t[n].labelLineLength]})),n}function G(e,t){var n=e.data,i=n[t];return{points:i.labelLine}}function q(e,t){var n=e.outsideLabel,i=e.data,r=n.labelLineStyle,o=i[t].color;return(0,h.deepMerge)({stroke:o,lineDash:[i[t].labelLineLength,0]},r)}function U(e){var t=e.animationCurve,n=e.animationFrame,i=e.data,r=e.rLevel;return i.map((function(i,o){return{name:"text",index:r,visible:e.outsideLabel.show,animationCurve:t,animationFrame:n,shape:X(e,o),style:Z(e,o)}}))}function Y(e){var t=e.data,n=U(e);return n.forEach((function(e,n){e.shape.position=t[n].labelLine[1]})),n}function X(e,t){var n=e.outsideLabel,i=e.data,r=n.formatter,a=i[t],s=a.labelLine,l=a.name,u=a.percentForLabel,c=a.value,h=(0,o["default"])(r),d="";return"string"===h&&(d=r.replace("{name}",l),d=d.replace("{percent}",u),d=d.replace("{value}",c)),"function"===h&&(d=r(i[t])),{content:d,position:s[2]}}function Z(e,t){var n=e.outsideLabel,i=e.data,r=i[t],o=r.color,a=r.align,s=n.style;return(0,h.deepMerge)(f({fill:o},a),s)}},43040:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.radar=g;var r=i(n(34344)),o=i(n(54614)),a=i(n(99621)),s=i(n(57920)),l=n(35505),u=n(65054),c=n(19482),h=n(2172),d=n(56904);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.series;n||(n=[]);var i=(0,d.initNeedSeries)(n,u.radarConfig,"radar");i=m(i,e),i=v(i,e),i=y(i,e),(0,l.doUpdate)({chart:e,series:i,key:"radar",getGraphConfig:b,getStartGraphConfig:x,beforeChange:C}),(0,l.doUpdate)({chart:e,series:i,key:"radarPoint",getGraphConfig:S,getStartGraphConfig:k}),(0,l.doUpdate)({chart:e,series:i,key:"radarLabel",getGraphConfig:E})}function m(e,t){var n=t.radarAxis;if(!n)return[];var i=n.indicator,r=n.axisLineAngles,o=n.radius,a=n.centerPos;return e.forEach((function(e){var t=e.data;e.dataRadius=[],e.radarPosition=i.map((function(n,i){var l=n.max,u=n.min,h=t[i];"number"!==typeof l&&(l=h),"number"!==typeof u&&(u=0),"number"!==typeof h&&(h=u);var d=(h-u)/(l-u)*o;return e.dataRadius[i]=d,c.getCircleRadianPoint.apply(void 0,(0,s["default"])(a).concat([d,r[i]]))}))})),e}function v(e,t){var n=t.radarAxis;if(!n)return[];var i=n.centerPos,r=n.axisLineAngles;return e.forEach((function(e){var t=e.dataRadius,n=e.label,o=n.labelGap;e.labelPosition=t.map((function(e,t){return c.getCircleRadianPoint.apply(void 0,(0,s["default"])(i).concat([e+o,r[t]]))}))})),e}function y(e,t){var n=t.radarAxis;if(!n)return[];var i=(0,a["default"])(n.centerPos,2),r=i[0],o=i[1];return e.forEach((function(e){var t=e.labelPosition,n=t.map((function(e){var t=(0,a["default"])(e,2),n=t[0],i=t[1],s=n>r?"left":"right",l=i>o?"top":"bottom";return{textAlign:s,textBaseline:l}}));e.labelAlign=n})),e}function b(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel;return[{name:"polyline",index:i,animationCurve:t,animationFrame:n,shape:_(e),style:w(e)}]}function x(e,t){var n=t.chart.radarAxis.centerPos,i=b(e)[0],r=i.shape.points.length,o=new Array(r).fill(0).map((function(e){return(0,s["default"])(n)}));return i.shape.points=o,[i]}function _(e){var t=e.radarPosition;return{points:t,close:!0}}function w(e){var t=e.radarStyle,n=e.color,i=(0,h.getRgbaValue)(n);i[3]=.5;var r={stroke:n,fill:(0,h.getColorFromRgbValue)(i)};return(0,d.deepMerge)(r,t)}function C(e,t){var n=t.shape,i=e.shape.points,r=i.length,o=n.points.length;if(o>r){var a=i.slice(-1)[0],l=new Array(o-r).fill(0).map((function(e){return(0,s["default"])(a)}));i.push.apply(i,(0,s["default"])(l))}else o<r&&i.splice(o)}function S(e){var t=e.radarPosition,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,o){return{name:"circle",index:r,animationCurve:n,animationFrame:i,visible:e.point.show,shape:M(e,o),style:T(e,o)}}))}function k(e){var t=S(e);return t.forEach((function(e){return e.shape.r=.01})),t}function M(e,t){var n=e.radarPosition,i=e.point,r=i.radius,o=n[t];return{rx:o[0],ry:o[1],r:r}}function T(e,t){var n=e.point,i=e.color,r=n.style;return(0,d.deepMerge)({stroke:i},r)}function E(e){var t=e.labelPosition,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,o){return{name:"text",index:r,visible:e.label.show,animationCurve:n,animationFrame:i,shape:D(e,o),style:O(e,o)}}))}function D(e,t){var n=e.labelPosition,i=e.label,r=e.data,a=i.offset,s=i.formatter,l=P(n[t],a),u=r[t]?r[t].toString():"0",c=(0,o["default"])(s);return"string"===c&&(u=s.replace("{value}",u)),"function"===c&&(u=s(u)),{content:u,position:l}}function P(e,t){var n=(0,a["default"])(e,2),i=n[0],r=n[1],o=(0,a["default"])(t,2),s=o[0],l=o[1];return[i+s,r+l]}function O(e,t){var n=e.label,i=e.color,r=e.labelAlign,o=n.style,a=p({fill:i},r[t]);return(0,d.deepMerge)(a,o)}},97960:function(e,t,n){"use strict";n(57658);var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.radarAxis=f;var r=i(n(99621)),o=i(n(34344)),a=i(n(57920)),s=n(35505),l=n(65054),u=n(19482),c=n(56904);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,o["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.radar,i=[];n&&(i=p(n),i=g(i,e),i=m(i,e),i=v(i),i=y(i),i=b(i),i=[i]);var r=i;i.length&&!i[0].show&&(r=[]),(0,s.doUpdate)({chart:e,series:r,key:"radarAxisSplitArea",getGraphConfig:x,beforeUpdate:C,beforeChange:S}),(0,s.doUpdate)({chart:e,series:r,key:"radarAxisSplitLine",getGraphConfig:k,beforeUpdate:E,beforeChange:D}),(0,s.doUpdate)({chart:e,series:r,key:"radarAxisLine",getGraphConfig:P}),(0,s.doUpdate)({chart:e,series:r,key:"radarAxisLable",getGraphConfig:A}),e.radarAxis=i[0]}function p(e){return(0,c.deepMerge)((0,u.deepClone)(l.radarAxisConfig),e)}function g(e,t){var n=t.render.area,i=e.center;return e.centerPos=i.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*n[t]})),e}function m(e,t){var n=t.render.area,i=e.splitNum,r=e.radius,o=Math.min.apply(Math,(0,a["default"])(n))/2;"number"!==typeof r&&(r=parseInt(r)/100*o);var s=r/i;return e.ringRadius=new Array(i).fill(0).map((function(e,t){return s*(t+1)})),e.radius=r,e}function v(e){var t=e.indicator,n=e.centerPos,i=e.radius,r=e.startAngle,o=2*Math.PI,s=t.length,l=o/s,c=new Array(s).fill(0).map((function(e,t){return l*t+r}));return e.axisLineAngles=c,e.axisLinePosition=c.map((function(e){return u.getCircleRadianPoint.apply(void 0,(0,a["default"])(n).concat([i,e]))})),e}function y(e){var t=e.ringRadius,n=t[0]/2;return e.areaRadius=t.map((function(e){return e-n})),e}function b(e){var t=e.axisLineAngles,n=e.centerPos,i=e.radius,r=e.axisLabel;return i+=r.labelGap,e.axisLabelPosition=t.map((function(e){return u.getCircleRadianPoint.apply(void 0,(0,a["default"])(n).concat([i,e]))})),e}function x(e){var t=e.areaRadius,n=e.polygon,i=e.animationCurve,r=e.animationFrame,o=e.rLevel,a=n?"regPolygon":"ring";return t.map((function(t,n){return{name:a,index:o,visible:e.splitArea.show,animationCurve:i,animationFrame:r,shape:_(e,n),style:w(e,n)}}))}function _(e,t){var n=e.polygon,i=e.areaRadius,r=e.indicator,o=e.centerPos,a=r.length,s={rx:o[0],ry:o[1],r:i[t]};return n&&(s.side=a),s}function w(e,t){var n=e.splitArea,i=e.ringRadius,r=e.axisLineAngles,o=e.polygon,s=e.centerPos,l=n.color,h=n.style;h=d({fill:"rgba(0, 0, 0, 0)"},h);var f=i[0]-0;if(o){var p=u.getCircleRadianPoint.apply(void 0,(0,a["default"])(s).concat([i[0],r[0]])),g=u.getCircleRadianPoint.apply(void 0,(0,a["default"])(s).concat([i[0],r[1]]));f=(0,c.getPointToLineDistance)(s,p,g)}if(h=(0,c.deepMerge)((0,u.deepClone)(h,!0),{lineWidth:f}),!l.length)return h;var m=l.length;return(0,c.deepMerge)(h,{stroke:l[t%m]})}function C(e,t,n,i){var r=e[n];if(r){var o=i.chart.render,a=t.polygon,s=r[0].name,l=a?"regPolygon":"ring",u=l!==s;u&&(r.forEach((function(e){return o.delGraph(e)})),e[n]=null)}}function S(e,t){var n=t.shape.side;"number"===typeof n&&(e.shape.side=n)}function k(e){var t=e.ringRadius,n=e.polygon,i=e.animationCurve,r=e.animationFrame,o=e.rLevel,a=n?"regPolygon":"ring";return t.map((function(t,n){return{name:a,index:o,animationCurve:i,animationFrame:r,visible:e.splitLine.show,shape:M(e,n),style:T(e,n)}}))}function M(e,t){var n=e.ringRadius,i=e.centerPos,r=e.indicator,o=e.polygon,a={rx:i[0],ry:i[1],r:n[t]},s=r.length;return o&&(a.side=s),a}function T(e,t){var n=e.splitLine,i=n.color,r=n.style;if(r=d({fill:"rgba(0, 0, 0, 0)"},r),!i.length)return r;var o=i.length;return(0,c.deepMerge)(r,{stroke:i[t%o]})}function E(e,t,n,i){var r=e[n];if(r){var o=i.chart.render,a=t.polygon,s=r[0].name,l=a?"regPolygon":"ring",u=l!==s;u&&(r.forEach((function(e){return o.delGraph(e)})),e[n]=null)}}function D(e,t){var n=t.shape.side;"number"===typeof n&&(e.shape.side=n)}function P(e){var t=e.axisLinePosition,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,o){return{name:"polyline",index:r,visible:e.axisLine.show,animationCurve:n,animationFrame:i,shape:O(e,o),style:I(e,o)}}))}function O(e,t){var n=e.centerPos,i=e.axisLinePosition,r=[n,i[t]];return{points:r}}function I(e,t){var n=e.axisLine,i=n.color,r=n.style;if(!i.length)return r;var o=i.length;return(0,c.deepMerge)(r,{stroke:i[t%o]})}function A(e){var t=e.axisLabelPosition,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,o){return{name:"text",index:r,visible:e.axisLabel.show,animationCurve:n,animationFrame:i,shape:L(e,o),style:N(e,o)}}))}function L(e,t){var n=e.axisLabelPosition,i=e.indicator;return{content:i[t].name,position:n[t]}}function N(e,t){var n=e.axisLabel,i=(0,r["default"])(e.centerPos,2),o=i[0],a=i[1],s=e.axisLabelPosition,l=n.color,u=n.style,h=(0,r["default"])(s[t],2),d=h[0],f=h[1],p=d>o?"left":"right",g=f>a?"top":"bottom";if(u=(0,c.deepMerge)({textAlign:p,textBaseline:g},u),!l.length)return u;var m=l.length;return(0,c.deepMerge)(u,{fill:l[t%m]})}},58166:function(e,t,n){"use strict";var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.title=u;var r=i(n(99621)),o=n(35505),a=n(19482),s=n(65054),l=n(56904);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];t.title&&(n[0]=(0,l.deepMerge)((0,a.deepClone)(s.titleConfig,!0),t.title)),(0,o.doUpdate)({chart:e,series:n,key:"title",getGraphConfig:c})}function c(e,t){var n=s.titleConfig.animationCurve,i=s.titleConfig.animationFrame,r=s.titleConfig.rLevel,o=h(e,t),a=d(e);return[{name:"text",index:r,visible:e.show,animationCurve:n,animationFrame:i,shape:o,style:a}]}function h(e,t){var n=e.offset,i=e.text,o=t.chart.gridArea,a=o.x,s=o.y,l=o.w,u=(0,r["default"])(n,2),c=u[0],h=u[1];return{content:i,position:[a+l/2+c,s+h]}}function d(e){var t=e.style;return t}},7524:function(e,t,n){"use strict";n(57658);var i=n(63965),r=i(n(34344)),o=i(n(57920)),a=n(65250),s=n(68597),l=n(19482),u=n(2172),c=n(56904);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,r["default"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={shape:{rx:0,ry:0,ir:0,or:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape,n=["rx","ry","ir","or","startAngle","endAngle"];return!n.find((function(e){return"number"!==typeof t[e]}))||(console.error("Pie shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,a=i.ry,s=i.ir,u=i.or,c=i.startAngle,h=i.endAngle,d=i.clockWise;r=parseInt(r)+.5,a=parseInt(a)+.5,n.arc(r,a,s>0?s:0,c,h,!d);var f=(0,l.getCircleRadianPoint)(r,a,u,h).map((function(e){return parseInt(e)+.5})),p=(0,l.getCircleRadianPoint)(r,a,s,c).map((function(e){return parseInt(e)+.5}));n.lineTo.apply(n,(0,o["default"])(f)),n.arc(r,a,u>0?u:0,h,c,d),n.lineTo.apply(n,(0,o["default"])(p)),n.closePath(),n.stroke(),n.fill()}},p={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,gradientStartAngle:null,gradientEndAngle:null},validator:function(e){var t=e.shape,n=["rx","ry","r","startAngle","endAngle"];return!n.find((function(e){return"number"!==typeof t[e]}))||(console.error("AgArc shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=t.style,o=r.gradient;o=o.map((function(e){return(0,u.getColorFromRgbValue)(e)})),1===o.length&&(o=[o[0],o[0]]);var a=o.length-1,s=i.gradientStartAngle,h=i.gradientEndAngle,d=i.startAngle,f=i.endAngle,p=i.r,g=i.rx,m=i.ry;null===s&&(s=d),null===h&&(h=f);var v=(h-s)/a;v===2*Math.PI&&(v=2*Math.PI-.001);for(var y=0;y<a;y++){n.beginPath();var b=(0,l.getCircleRadianPoint)(g,m,p,d+v*y),x=(0,l.getCircleRadianPoint)(g,m,p,d+v*(y+1)),_=(0,c.getLinearGradientColor)(n,b,x,[o[y],o[y+1]]),w=d+v*y,C=d+v*(y+1),S=!1;if(C>f&&(C=f,S=!0),n.arc(g,m,p,w,C),n.strokeStyle=_,n.stroke(),S)break}}},g={shape:{number:[],content:"",position:[0,0],toFixed:0,rowGap:0,formatter:null},validator:function(e){var t=e.shape,n=t.number,i=t.content,r=t.position;return n instanceof Array&&"string"===typeof i&&r instanceof Array||(console.error("NumberText shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=i.number,o=i.content,a=i.toFixed,l=i.rowGap,u=i.formatter,c=o.split("{nt}"),h="";c.forEach((function(e,t){var n=r[t];"number"!==typeof n&&(n=""),"number"===typeof n&&(n=n.toFixed(a),"function"===typeof u&&(n=u(n))),h+=e+(n||"")})),s.text.draw({ctx:n},{shape:d(d({},i),{},{content:h,rowGap:l})})}},m={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,n=t.x,i=t.y,r=t.w,o=t.h;return"number"===typeof n&&"number"===typeof i&&"number"===typeof r&&"number"===typeof o||(console.error("lineIcon shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.x,o=i.y,a=i.w,s=i.h,l=s/2;n.strokeStyle=n.fillStyle,n.moveTo(r,o+l),n.lineTo(r+a,o+l),n.lineWidth=1,n.stroke(),n.beginPath();var u=l-10;u<=0&&(u=3),n.arc(r+a/2,o+l,u,0,2*Math.PI),n.lineWidth=5,n.stroke(),n.fillStyle="#fff",n.fill()},hoverCheck:function(e,t){var n=t.shape,i=n.x,r=n.y,o=n.w,a=n.h;return(0,l.checkPointIsInRect)(e,i,r,o,a)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.x,o=n.y,a=n.w,s=n.h;i.graphCenter=[r+a/2,o+s/2]}};(0,a.extendNewGraph)("pie",f),(0,a.extendNewGraph)("agArc",p),(0,a.extendNewGraph)("numberText",g),(0,a.extendNewGraph)("lineIcon",m)},72484:function(e,t,n){"use strict";var i=n(63965);t.ZP=void 0;var r=i(n(4145)),o=n(65054),a=r["default"];t.ZP=a},56904:function(e,t,n){"use strict";var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.filterNonNumber=s,t.deepMerge=l,t.mulAdd=u,t.mergeSameStackData=c,t.getTwoPointDistance=h,t.getLinearGradientColor=d,t.getPolylineLength=f,t.getPointToLineDistance=p,t.initNeedSeries=g,t.radianToAngle=m;var r=i(n(57920)),o=i(n(54614)),a=n(19482);function s(e){return e.filter((function(e){return"number"===typeof e}))}function l(e,t){for(var n in t)e[n]&&"object"===(0,o["default"])(e[n])?l(e[n],t[n]):"object"!==(0,o["default"])(t[n])?e[n]=t[n]:e[n]=(0,a.deepClone)(t[n],!0);return e}function u(e){return e=s(e),e.reduce((function(e,t){return e+t}),0)}function c(e,t){var n=e.stack;if(!n)return(0,r["default"])(e.data);var i=t.filter((function(e){var t=e.stack;return t===n})),o=i.findIndex((function(t){var n=t.data;return n===e.data})),a=i.splice(0,o+1).map((function(e){var t=e.data;return t})),s=a[0].length;return new Array(s).fill(0).map((function(e,t){return u(a.map((function(e){return e[t]})))}))}function h(e,t){var n=Math.abs(e[0]-t[0]),i=Math.abs(e[1]-t[1]);return Math.sqrt(n*n+i*i)}function d(e,t,n,i){if(e&&t&&n&&i.length){var o=i;"string"===typeof o&&(o=[i,i]);var a=e.createLinearGradient.apply(e,(0,r["default"])(t).concat((0,r["default"])(n))),s=1/(o.length-1);return o.forEach((function(e,t){return a.addColorStop(s*t,e)})),a}}function f(e){var t=new Array(e.length-1).fill(0).map((function(t,n){return[e[n],e[n+1]]})),n=t.map((function(e){return h.apply(void 0,(0,r["default"])(e))}));return u(n)}function p(e,t,n){var i=h(e,t),r=h(e,n),o=h(t,n);return.5*Math.sqrt((i+r+o)*(i+r-o)*(i+o-r)*(r+o-i))/o}function g(e,t,n){return e=e.filter((function(e){var t=e.type;return t===n})),e=e.map((function(e){return l((0,a.deepClone)(t,!0),e)})),e.filter((function(e){var t=e.show;return t}))}function m(e){return e/Math.PI*180}},95935:function(e,t,n){"use strict";n.d(t,{ZP:function(){return dr}});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"dv-active-ring-chart"},[t("div",{ref:"active-ring-chart",staticClass:"active-ring-chart-container"}),t("div",{staticClass:"active-ring-info"},[t("dv-digital-flop",{attrs:{config:e.digitalFlop}}),t("div",{staticClass:"active-ring-name",style:e.fontSize},[e._v(e._s(e.ringName))])],1)])},r=[],o=n(72484),a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"dv-digital-flop"},[t("canvas",{ref:"digital-flop"})])},s=[],l=n(65250),u=(n(7524),n(56904)),c=n(19482),h={name:"DvDigitalFlop",props:{config:{type:Object,default:()=>({})}},data(){return{renderer:null,defaultConfig:{number:[],content:"",toFixed:0,textAlign:"center",rowGap:0,style:{fontSize:30,fill:"#3de7c9"},formatter:void 0,animationCurve:"easeOutCubic",animationFrame:50},mergedConfig:null,graph:null}},watch:{config(){const{update:e}=this;e()}},methods:{init(){const{initRender:e,mergeConfig:t,initGraph:n}=this;e(),t(),n()},initRender(){const{$refs:e}=this;this.renderer=new l["default"](e["digital-flop"])},mergeConfig(){const{defaultConfig:e,config:t}=this;this.mergedConfig=(0,u.deepMerge)((0,c.deepClone)(e,!0),t||{})},initGraph(){const{getShape:e,getStyle:t,renderer:n,mergedConfig:i}=this,{animationCurve:r,animationFrame:o}=i,a=e(),s=t();this.graph=n.add({name:"numberText",animationCurve:r,animationFrame:o,shape:a,style:s})},getShape(){const{number:e,content:t,toFixed:n,textAlign:i,rowGap:r,formatter:o}=this.mergedConfig,[a,s]=this.renderer.area,l=[a/2,s/2];return"left"===i&&(l[0]=0),"right"===i&&(l[0]=a),{number:e,content:t,toFixed:n,position:l,rowGap:r,formatter:o}},getStyle(){const{style:e,textAlign:t}=this.mergedConfig;return(0,u.deepMerge)(e,{textAlign:t,textBaseline:"middle"})},update(){const{mergeConfig:e,mergeShape:t,getShape:n,getStyle:i,graph:r,mergedConfig:o}=this;if(r.animationEnd(),e(),!r)return;const{animationCurve:a,animationFrame:s}=o,l=n(),u=i();t(r,l),r.animationCurve=a,r.animationFrame=s,r.animation("style",u,!0),r.animation("shape",l)},mergeShape(e,t){const n=e.shape.number.length,i=t.number.length;n!==i&&(e.shape.number=t.number)}},mounted(){const{init:e}=this;e()}},d=h,f=n(1001),p=(0,f.Z)(d,a,s,!1,null,null,null),g=p.exports,m={name:"DvActiveRingChart",components:{dvDigitalFlop:g},props:{config:{type:Object,default:()=>({})}},data(){return{defaultConfig:{radius:"50%",activeRadius:"55%",data:[{name:"",value:0}],lineWidth:20,activeTimeGap:3e3,color:[],digitalFlopStyle:{fontSize:25,fill:"#fff"},digitalFlopToFixed:0,digitalFlopUnit:"",animationCurve:"easeOutCubic",animationFrame:50,showOriginValue:!1},mergedConfig:null,chart:null,activeIndex:0,animationHandler:""}},computed:{digitalFlop(){const{mergedConfig:e,activeIndex:t}=this;if(!e)return{};const{digitalFlopStyle:n,digitalFlopToFixed:i,data:r,showOriginValue:o,digitalFlopUnit:a}=e,s=r.map((({value:e})=>e));let l;if(o)l=s[t];else{const e=s.reduce(((e,t)=>e+t),0),n=parseFloat(s[t]/e*100)||0;l=n}return{content:o?`{nt}${a}`:`{nt}${a||"%"}`,number:[l],style:n,toFixed:i}},ringName(){const{mergedConfig:e,activeIndex:t}=this;return e?e.data[t].name:""},fontSize(){const{mergedConfig:e}=this;return e?`font-size: ${e.digitalFlopStyle.fontSize}px;`:""}},watch:{config(){const{animationHandler:e,mergeConfig:t,setRingOption:n}=this;clearTimeout(e),this.activeIndex=0,t(),n()}},methods:{init(){const{initChart:e,mergeConfig:t,setRingOption:n}=this;e(),t(),n()},initChart(){const{$refs:e}=this;this.chart=new o.ZP(e["active-ring-chart"])},mergeConfig(){const{defaultConfig:e,config:t}=this;this.mergedConfig=(0,u.deepMerge)((0,c.deepClone)(e,!0),t||{})},setRingOption(){const{getRingOption:e,chart:t,ringAnimation:n}=this,i=e();t.setOption(i,!0),n()},getRingOption(){const{mergedConfig:e,getRealRadius:t}=this,n=t();return e.data.forEach((e=>{e.radius=n})),{series:[{type:"pie",...e,outsideLabel:{show:!1}}],color:e.color}},getRealRadius(e=!1){const{mergedConfig:t,chart:n}=this,{radius:i,activeRadius:r,lineWidth:o}=t,a=Math.min(...n.render.area)/2,s=o/2;let l=e?r:i;"number"!==typeof l&&(l=parseInt(l)/100*a);const u=l-s,c=l+s;return[u,c]},ringAnimation(){let{activeIndex:e,getRingOption:t,chart:n,getRealRadius:i}=this;const r=i(),o=i(!0),a=t(),{data:s}=a.series[0];s.forEach(((t,n)=>{t.radius=n===e?o:r})),n.setOption(a,!0);const{activeTimeGap:l}=a.series[0];this.animationHandler=setTimeout((t=>{e+=1,e>=s.length&&(e=0),this.activeIndex=e,this.ringAnimation()}),l)}},mounted(){const{init:e}=this;e()},beforeDestroy(){const{animationHandler:e}=this;clearTimeout(e)}},v=m,y=(0,f.Z)(v,i,r,!1,null,null,null),b=y.exports;function x(e){e.component(b.name,b)}var _=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-1"},[t("svg",{staticClass:"border",attrs:{width:e.width,height:e.height}},[t("polygon",{attrs:{fill:e.backgroundColor,points:`10, 27 10, ${e.height-27} 13, ${e.height-24} 13, ${e.height-21} 24, ${e.height-11}\n 38, ${e.height-11} 41, ${e.height-8} 73, ${e.height-8} 75, ${e.height-10} 81, ${e.height-10}\n 85, ${e.height-6} ${e.width-85}, ${e.height-6} ${e.width-81}, ${e.height-10} ${e.width-75}, ${e.height-10}\n ${e.width-73}, ${e.height-8} ${e.width-41}, ${e.height-8} ${e.width-38}, ${e.height-11}\n ${e.width-24}, ${e.height-11} ${e.width-13}, ${e.height-21} ${e.width-13}, ${e.height-24}\n ${e.width-10}, ${e.height-27} ${e.width-10}, 27 ${e.width-13}, 25 ${e.width-13}, 21\n ${e.width-24}, 11 ${e.width-38}, 11 ${e.width-41}, 8 ${e.width-73}, 8 ${e.width-75}, 10\n ${e.width-81}, 10 ${e.width-85}, 6 85, 6 81, 10 75, 10 73, 8 41, 8 38, 11 24, 11 13, 21 13, 24`}})]),e._l(e.border,(function(n){return t("svg",{key:n,class:`${n} border`,attrs:{width:"150px",height:"150px"}},[t("polygon",{attrs:{fill:e.mergedColor[0],points:"6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63"}},[t("animate",{attrs:{attributeName:"fill",values:`${e.mergedColor[0]};${e.mergedColor[1]};${e.mergedColor[0]}`,dur:"0.5s",begin:"0s",repeatCount:"indefinite"}})]),t("polygon",{attrs:{fill:e.mergedColor[1],points:"27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8"}},[t("animate",{attrs:{attributeName:"fill",values:`${e.mergedColor[1]};${e.mergedColor[0]};${e.mergedColor[1]}`,dur:"0.5s",begin:"0s",repeatCount:"indefinite"}})]),t("polygon",{attrs:{fill:e.mergedColor[0],points:"9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54"}},[t("animate",{attrs:{attributeName:"fill",values:`${e.mergedColor[0]};${e.mergedColor[1]};transparent`,dur:"1s",begin:"0s",repeatCount:"indefinite"}})])])})),t("div",{staticClass:"border-box-content"},[e._t("default")],2)],2)},w=[];function C(e,t){return 1===arguments.length?parseInt(Math.random()*e+1,10):parseInt(Math.random()*(t-e+1)+e,10)}function S(e,t){let n;return function(){clearTimeout(n);const[i,r]=[this,arguments];n=setTimeout((()=>{t.apply(i,r)}),e)}}function k(e,t){const n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,i=new n(t);return i.observe(e,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0}),i}function M(e,t){const n=Math.abs(e[0]-t[0]),i=Math.abs(e[1]-t[1]);return Math.sqrt(n*n+i*i)}function T(e){return(e?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx":"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx").replace(/[xy]/g,(function(e){const t=16*Math.random()|0,n="x"==e?t:3&t|8;return n.toString(16)}))}var E={data(){return{dom:"",width:0,height:0,debounceInitWHFun:"",domObserver:""}},methods:{async autoResizeMixinInit(){const{initWH:e,getDebounceInitWHFun:t,bindDomResizeCallback:n,afterAutoResizeMixinInit:i}=this;await e(!1),t(),n(),"function"===typeof i&&i()},initWH(e=!0){const{$nextTick:t,$refs:n,ref:i,onResize:r}=this;return new Promise((o=>{t((t=>{const a=this.dom=n[i];this.width=a?a.clientWidth:0,this.height=a?a.clientHeight:0,a?this.width&&this.height||console.warn("DataV: Component width or height is 0px, rendering abnormality may occur!"):console.warn("DataV: Failed to get dom node, component rendering may be abnormal!"),"function"===typeof r&&e&&r(),o()}))}))},getDebounceInitWHFun(){const{initWH:e}=this;this.debounceInitWHFun=S(100,e)},bindDomResizeCallback(){const{dom:e,debounceInitWHFun:t}=this;this.domObserver=k(e,t),window.addEventListener("resize",t)},unbindDomResizeCallback(){let{domObserver:e,debounceInitWHFun:t}=this;e&&(e.disconnect(),e.takeRecords(),e=null,window.removeEventListener("resize",t))}},mounted(){const{autoResizeMixinInit:e}=this;e()},beforeDestroy(){const{unbindDomResizeCallback:e}=this;e()}},D={name:"DvBorderBox1",mixins:[E],props:{color:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},data(){return{ref:"border-box-1",border:["left-top","right-top","left-bottom","right-bottom"],defaultColor:["#4fd2dd","#235fa7"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},P=D,O=(0,f.Z)(P,_,w,!1,null,null,null),I=O.exports;function A(e){e.component(I.name,I)}var L=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-10",style:`box-shadow: inset 0 0 25px 3px ${e.mergedColor[0]}`},[t("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[t("polygon",{attrs:{fill:e.backgroundColor,points:`\n 4, 0 ${e.width-4}, 0 ${e.width}, 4 ${e.width}, ${e.height-4} ${e.width-4}, ${e.height}\n 4, ${e.height} 0, ${e.height-4} 0, 4\n `}})]),e._l(e.border,(function(n){return t("svg",{key:n,class:`${n} dv-border-svg-container`,attrs:{width:"150px",height:"150px"}},[t("polygon",{attrs:{fill:e.mergedColor[1],points:"40, 0 5, 0 0, 5 0, 16 3, 19 3, 7 7, 3 35, 3"}})])})),t("div",{staticClass:"border-box-content"},[e._t("default")],2)],2)},N=[],R={name:"DvBorderBox10",mixins:[E],props:{color:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},data(){return{ref:"border-box-10",border:["left-top","right-top","left-bottom","right-bottom"],defaultColor:["#1d48c4","#d3e1f8"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},z=R,$=(0,f.Z)(z,L,N,!1,null,null,null),B=$.exports;function F(e){e.component(B.name,B)}var j=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-11"},[t("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[t("defs",[t("filter",{attrs:{id:e.filterId,height:"150%",width:"150%",x:"-25%",y:"-25%"}},[t("feMorphology",{attrs:{operator:"dilate",radius:"2",in:"SourceAlpha",result:"thicken"}}),t("feGaussianBlur",{attrs:{in:"thicken",stdDeviation:"3",result:"blurred"}}),t("feFlood",{attrs:{"flood-color":e.mergedColor[1],result:"glowColor"}}),t("feComposite",{attrs:{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"}}),t("feMerge",[t("feMergeNode",{attrs:{in:"softGlowColored"}}),t("feMergeNode",{attrs:{in:"SourceGraphic"}})],1)],1)]),t("polygon",{attrs:{fill:e.backgroundColor,points:`\n 20, 32 ${.5*e.width-e.titleWidth/2}, 32 ${.5*e.width-e.titleWidth/2+20}, 53\n ${.5*e.width+e.titleWidth/2-20}, 53 ${.5*e.width+e.titleWidth/2}, 32\n ${e.width-20}, 32 ${e.width-8}, 48 ${e.width-8}, ${e.height-25} ${e.width-20}, ${e.height-8}\n 20, ${e.height-8} 8, ${e.height-25} 8, 50\n `}}),t("polyline",{attrs:{stroke:e.mergedColor[0],filter:`url(#${e.filterId})`,points:`\n ${(e.width-e.titleWidth)/2}, 30\n 20, 30 7, 50 7, ${50+(e.height-167)/2}\n 13, ${55+(e.height-167)/2} 13, ${135+(e.height-167)/2}\n 7, ${140+(e.height-167)/2} 7, ${e.height-27}\n 20, ${e.height-7} ${e.width-20}, ${e.height-7} ${e.width-7}, ${e.height-27}\n ${e.width-7}, ${140+(e.height-167)/2} ${e.width-13}, ${135+(e.height-167)/2}\n ${e.width-13}, ${55+(e.height-167)/2} ${e.width-7}, ${50+(e.height-167)/2}\n ${e.width-7}, 50 ${e.width-20}, 30 ${(e.width+e.titleWidth)/2}, 30\n ${(e.width+e.titleWidth)/2-20}, 7 ${(e.width-e.titleWidth)/2+20}, 7\n ${(e.width-e.titleWidth)/2}, 30 ${(e.width-e.titleWidth)/2+20}, 52\n ${(e.width+e.titleWidth)/2-20}, 52 ${(e.width+e.titleWidth)/2}, 30\n `}}),t("polygon",{attrs:{stroke:e.mergedColor[0],fill:"transparent",points:`\n ${(e.width+e.titleWidth)/2-5}, 30 ${(e.width+e.titleWidth)/2-21}, 11\n ${(e.width+e.titleWidth)/2-27}, 11 ${(e.width+e.titleWidth)/2-8}, 34\n `}}),t("polygon",{attrs:{stroke:e.mergedColor[0],fill:"transparent",points:`\n ${(e.width-e.titleWidth)/2+5}, 30 ${(e.width-e.titleWidth)/2+22}, 49\n ${(e.width-e.titleWidth)/2+28}, 49 ${(e.width-e.titleWidth)/2+8}, 26\n `}}),t("polygon",{attrs:{stroke:e.mergedColor[0],fill:e.fade(e.mergedColor[1]||e.defaultColor[1],30),filter:`url(#${e.filterId})`,points:`\n ${(e.width+e.titleWidth)/2-11}, 37 ${(e.width+e.titleWidth)/2-32}, 11\n ${(e.width-e.titleWidth)/2+23}, 11 ${(e.width-e.titleWidth)/2+11}, 23\n ${(e.width-e.titleWidth)/2+33}, 49 ${(e.width+e.titleWidth)/2-22}, 49\n `}}),t("polygon",{attrs:{filter:`url(#${e.filterId})`,fill:e.mergedColor[0],opacity:"1",points:`\n ${(e.width-e.titleWidth)/2-10}, 37 ${(e.width-e.titleWidth)/2-31}, 37\n ${(e.width-e.titleWidth)/2-25}, 46 ${(e.width-e.titleWidth)/2-4}, 46\n `}},[t("animate",{attrs:{attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),t("polygon",{attrs:{filter:`url(#${e.filterId})`,fill:e.mergedColor[0],opacity:"0.7",points:`\n ${(e.width-e.titleWidth)/2-40}, 37 ${(e.width-e.titleWidth)/2-61}, 37\n ${(e.width-e.titleWidth)/2-55}, 46 ${(e.width-e.titleWidth)/2-34}, 46\n `}},[t("animate",{attrs:{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),t("polygon",{attrs:{filter:`url(#${e.filterId})`,fill:e.mergedColor[0],opacity:"0.5",points:`\n ${(e.width-e.titleWidth)/2-70}, 37 ${(e.width-e.titleWidth)/2-91}, 37\n ${(e.width-e.titleWidth)/2-85}, 46 ${(e.width-e.titleWidth)/2-64}, 46\n `}},[t("animate",{attrs:{attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),t("polygon",{attrs:{filter:`url(#${e.filterId})`,fill:e.mergedColor[0],opacity:"1",points:`\n ${(e.width+e.titleWidth)/2+30}, 37 ${(e.width+e.titleWidth)/2+9}, 37\n ${(e.width+e.titleWidth)/2+3}, 46 ${(e.width+e.titleWidth)/2+24}, 46\n `}},[t("animate",{attrs:{attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),t("polygon",{attrs:{filter:`url(#${e.filterId})`,fill:e.mergedColor[0],opacity:"0.7",points:`\n ${(e.width+e.titleWidth)/2+60}, 37 ${(e.width+e.titleWidth)/2+39}, 37\n ${(e.width+e.titleWidth)/2+33}, 46 ${(e.width+e.titleWidth)/2+54}, 46\n `}},[t("animate",{attrs:{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),t("polygon",{attrs:{filter:`url(#${e.filterId})`,fill:e.mergedColor[0],opacity:"0.5",points:`\n ${(e.width+e.titleWidth)/2+90}, 37 ${(e.width+e.titleWidth)/2+69}, 37\n ${(e.width+e.titleWidth)/2+63}, 46 ${(e.width+e.titleWidth)/2+84}, 46\n `}},[t("animate",{attrs:{attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"}})]),t("text",{staticClass:"dv-border-box-11-title",attrs:{x:""+e.width/2,y:"32",fill:"#fff","font-size":"18","text-anchor":"middle","dominant-baseline":"middle"}},[e._v(" "+e._s(e.title)+" ")]),t("polygon",{attrs:{fill:e.mergedColor[0],filter:`url(#${e.filterId})`,points:`\n 7, ${53+(e.height-167)/2} 11, ${57+(e.height-167)/2}\n 11, ${133+(e.height-167)/2} 7, ${137+(e.height-167)/2}\n `}}),t("polygon",{attrs:{fill:e.mergedColor[0],filter:`url(#${e.filterId})`,points:`\n ${e.width-7}, ${53+(e.height-167)/2} ${e.width-11}, ${57+(e.height-167)/2}\n ${e.width-11}, ${133+(e.height-167)/2} ${e.width-7}, ${137+(e.height-167)/2}\n `}})]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},V=[],H=n(2172),W={name:"DvBorderBox11",mixins:[E],props:{color:{type:Array,default:()=>[]},titleWidth:{type:Number,default:250},title:{type:String,default:""},backgroundColor:{type:String,default:"transparent"}},data(){const e=T();return{ref:"border-box-11",filterId:`border-box-11-filterId-${e}`,defaultColor:["#8aaafb","#1f33a2"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])},fade:H.fade},mounted(){const{mergeColor:e}=this;e()}},G=W,q=(0,f.Z)(G,j,V,!1,null,null,null),U=q.exports;function Y(e){e.component(U.name,U)}var X=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-12"},[t("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[t("defs",[t("filter",{attrs:{id:e.filterId,height:"150%",width:"150%",x:"-25%",y:"-25%"}},[t("feMorphology",{attrs:{operator:"dilate",radius:"1",in:"SourceAlpha",result:"thicken"}}),t("feGaussianBlur",{attrs:{in:"thicken",stdDeviation:"2",result:"blurred"}}),t("feFlood",{attrs:{"flood-color":e.fade(e.mergedColor[1]||e.defaultColor[1],70),result:"glowColor"}},[t("animate",{attrs:{attributeName:"flood-color",values:`\n ${e.fade(e.mergedColor[1]||e.defaultColor[1],70)};\n ${e.fade(e.mergedColor[1]||e.defaultColor[1],30)};\n ${e.fade(e.mergedColor[1]||e.defaultColor[1],70)};\n `,dur:"3s",begin:"0s",repeatCount:"indefinite"}})]),t("feComposite",{attrs:{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"}}),t("feMerge",[t("feMergeNode",{attrs:{in:"softGlowColored"}}),t("feMergeNode",{attrs:{in:"SourceGraphic"}})],1)],1)]),e.width&&e.height?t("path",{attrs:{fill:e.backgroundColor,"stroke-width":"2",stroke:e.mergedColor[0],d:`\n M15 5 L ${e.width-15} 5 Q ${e.width-5} 5, ${e.width-5} 15\n L ${e.width-5} ${e.height-15} Q ${e.width-5} ${e.height-5}, ${e.width-15} ${e.height-5}\n L 15, ${e.height-5} Q 5 ${e.height-5} 5 ${e.height-15} L 5 15\n Q 5 5 15 5\n `}}):e._e(),t("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:`url(#${e.filterId})`,stroke:e.mergedColor[1],d:"M 20 5 L 15 5 Q 5 5 5 15 L 5 20"}}),t("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:`url(#${e.filterId})`,stroke:e.mergedColor[1],d:`M ${e.width-20} 5 L ${e.width-15} 5 Q ${e.width-5} 5 ${e.width-5} 15 L ${e.width-5} 20`}}),t("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:`url(#${e.filterId})`,stroke:e.mergedColor[1],d:`\n M ${e.width-20} ${e.height-5} L ${e.width-15} ${e.height-5}\n Q ${e.width-5} ${e.height-5} ${e.width-5} ${e.height-15}\n L ${e.width-5} ${e.height-20}\n `}}),t("path",{attrs:{"stroke-width":"2",fill:"transparent","stroke-linecap":"round",filter:`url(#${e.filterId})`,stroke:e.mergedColor[1],d:`\n M 20 ${e.height-5} L 15 ${e.height-5}\n Q 5 ${e.height-5} 5 ${e.height-15}\n L 5 ${e.height-20}\n `}})]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},Z=[],K={name:"DvBorderBox12",mixins:[E],props:{color:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},data(){const e=T();return{ref:"border-box-12",filterId:`borderr-box-12-filterId-${e}`,defaultColor:["#2e6099","#7ce7fd"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])},fade:H.fade},mounted(){const{mergeColor:e}=this;e()}},Q=K,J=(0,f.Z)(Q,X,Z,!1,null,null,null),ee=J.exports;function te(e){e.component(ee.name,ee)}var ne=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-13"},[t("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[t("path",{attrs:{fill:e.backgroundColor,stroke:e.mergedColor[0],d:`\n M 5 20 L 5 10 L 12 3 L 60 3 L 68 10\n L ${e.width-20} 10 L ${e.width-5} 25\n L ${e.width-5} ${e.height-5} L 20 ${e.height-5}\n L 5 ${e.height-20} L 5 20\n `}}),t("path",{attrs:{fill:"transparent","stroke-width":"3","stroke-linecap":"round","stroke-dasharray":"10, 5",stroke:e.mergedColor[0],d:"M 16 9 L 61 9"}}),t("path",{attrs:{fill:"transparent",stroke:e.mergedColor[1],d:"M 5 20 L 5 10 L 12 3 L 60 3 L 68 10"}}),t("path",{attrs:{fill:"transparent",stroke:e.mergedColor[1],d:`M ${e.width-5} ${e.height-30} L ${e.width-5} ${e.height-5} L ${e.width-30} ${e.height-5}`}})]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},ie=[],re={name:"DvBorderBox13",mixins:[E],props:{color:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},data(){return{ref:"border-box-13",defaultColor:["#6586ec","#2cf7fe"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},oe=re,ae=(0,f.Z)(oe,ne,ie,!1,null,null,null),se=ae.exports;function le(e){e.component(se.name,se)}var ue=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-2"},[t("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[t("polygon",{attrs:{fill:e.backgroundColor,points:`\n 7, 7 ${e.width-7}, 7 ${e.width-7}, ${e.height-7} 7, ${e.height-7}\n `}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:`2, 2 ${e.width-2} ,2 ${e.width-2}, ${e.height-2} 2, ${e.height-2} 2, 2`}}),t("polyline",{attrs:{stroke:e.mergedColor[1],points:`6, 6 ${e.width-6}, 6 ${e.width-6}, ${e.height-6} 6, ${e.height-6} 6, 6`}}),t("circle",{attrs:{fill:e.mergedColor[0],cx:"11",cy:"11",r:"1"}}),t("circle",{attrs:{fill:e.mergedColor[0],cx:e.width-11,cy:"11",r:"1"}}),t("circle",{attrs:{fill:e.mergedColor[0],cx:e.width-11,cy:e.height-11,r:"1"}}),t("circle",{attrs:{fill:e.mergedColor[0],cx:"11",cy:e.height-11,r:"1"}})]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},ce=[],he={name:"DvBorderBox2",mixins:[E],props:{color:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},data(){return{ref:"border-box-2",defaultColor:["#fff","rgba(255, 255, 255, 0.6)"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},de=he,fe=(0,f.Z)(de,ue,ce,!1,null,null,null),pe=fe.exports;function ge(e){e.component(pe.name,pe)}var me=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-3"},[t("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[t("polygon",{attrs:{fill:e.backgroundColor,points:`\n 23, 23 ${e.width-24}, 23 ${e.width-24}, ${e.height-24} 23, ${e.height-24}\n `}}),t("polyline",{staticClass:"dv-bb3-line1",attrs:{stroke:e.mergedColor[0],points:`4, 4 ${e.width-22} ,4 ${e.width-22}, ${e.height-22} 4, ${e.height-22} 4, 4`}}),t("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:e.mergedColor[1],points:`10, 10 ${e.width-16}, 10 ${e.width-16}, ${e.height-16} 10, ${e.height-16} 10, 10`}}),t("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:e.mergedColor[1],points:`16, 16 ${e.width-10}, 16 ${e.width-10}, ${e.height-10} 16, ${e.height-10} 16, 16`}}),t("polyline",{staticClass:"dv-bb3-line2",attrs:{stroke:e.mergedColor[1],points:`22, 22 ${e.width-4}, 22 ${e.width-4}, ${e.height-4} 22, ${e.height-4} 22, 22`}})]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},ve=[],ye={name:"DvBorderBox3",mixins:[E],props:{color:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},data(){return{ref:"border-box-3",defaultColor:["#2862b7","#2862b7"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},be=ye,xe=(0,f.Z)(be,me,ve,!1,null,null,null),_e=xe.exports;function we(e){e.component(_e.name,_e)}var Ce=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-4"},[t("svg",{class:`dv-border-svg-container ${e.reverse&&"dv-reverse"}`,attrs:{width:e.width,height:e.height}},[t("polygon",{attrs:{fill:e.backgroundColor,points:`\n ${e.width-15}, 22 170, 22 150, 7 40, 7 28, 21 32, 24\n 16, 42 16, ${e.height-32} 41, ${e.height-7} ${e.width-15}, ${e.height-7}\n `}}),t("polyline",{staticClass:"dv-bb4-line-1",attrs:{stroke:e.mergedColor[0],points:`145, ${e.height-5} 40, ${e.height-5} 10, ${e.height-35}\n 10, 40 40, 5 150, 5 170, 20 ${e.width-15}, 20`}}),t("polyline",{staticClass:"dv-bb4-line-2",attrs:{stroke:e.mergedColor[1],points:`245, ${e.height-1} 36, ${e.height-1} 14, ${e.height-23}\n 14, ${e.height-100}`}}),t("polyline",{staticClass:"dv-bb4-line-3",attrs:{stroke:e.mergedColor[0],points:`7, ${e.height-40} 7, ${e.height-75}`}}),t("polyline",{staticClass:"dv-bb4-line-4",attrs:{stroke:e.mergedColor[0],points:"28, 24 13, 41 13, 64"}}),t("polyline",{staticClass:"dv-bb4-line-5",attrs:{stroke:e.mergedColor[0],points:"5, 45 5, 140"}}),t("polyline",{staticClass:"dv-bb4-line-6",attrs:{stroke:e.mergedColor[1],points:"14, 75 14, 180"}}),t("polyline",{staticClass:"dv-bb4-line-7",attrs:{stroke:e.mergedColor[1],points:"55, 11 147, 11 167, 26 250, 26"}}),t("polyline",{staticClass:"dv-bb4-line-8",attrs:{stroke:e.mergedColor[1],points:"158, 5 173, 16"}}),t("polyline",{staticClass:"dv-bb4-line-9",attrs:{stroke:e.mergedColor[0],points:`200, 17 ${e.width-10}, 17`}}),t("polyline",{staticClass:"dv-bb4-line-10",attrs:{stroke:e.mergedColor[1],points:`385, 17 ${e.width-10}, 17`}})]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},Se=[],ke={name:"DvBorderBox4",mixins:[E],props:{color:{type:Array,default:()=>[]},reverse:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"}},data(){return{ref:"border-box-4",defaultColor:["red","rgba(0,0,255,0.8)"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},Me=ke,Te=(0,f.Z)(Me,Ce,Se,!1,null,null,null),Ee=Te.exports;function De(e){e.component(Ee.name,Ee)}var Pe=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-5"},[t("svg",{class:`dv-border-svg-container ${e.reverse&&"dv-reverse"}`,attrs:{width:e.width,height:e.height}},[t("polygon",{attrs:{fill:e.backgroundColor,points:`\n 10, 22 ${e.width-22}, 22 ${e.width-22}, ${e.height-86} ${e.width-84}, ${e.height-24} 10, ${e.height-24}\n `}}),t("polyline",{staticClass:"dv-bb5-line-1",attrs:{stroke:e.mergedColor[0],points:`8, 5 ${e.width-5}, 5 ${e.width-5}, ${e.height-100}\n ${e.width-100}, ${e.height-5} 8, ${e.height-5} 8, 5`}}),t("polyline",{staticClass:"dv-bb5-line-2",attrs:{stroke:e.mergedColor[1],points:`3, 5 ${e.width-20}, 5 ${e.width-20}, ${e.height-60}\n ${e.width-74}, ${e.height-5} 3, ${e.height-5} 3, 5`}}),t("polyline",{staticClass:"dv-bb5-line-3",attrs:{stroke:e.mergedColor[1],points:`50, 13 ${e.width-35}, 13`}}),t("polyline",{staticClass:"dv-bb5-line-4",attrs:{stroke:e.mergedColor[1],points:`15, 20 ${e.width-35}, 20`}}),t("polyline",{staticClass:"dv-bb5-line-5",attrs:{stroke:e.mergedColor[1],points:`15, ${e.height-20} ${e.width-110}, ${e.height-20}`}}),t("polyline",{staticClass:"dv-bb5-line-6",attrs:{stroke:e.mergedColor[1],points:`15, ${e.height-13} ${e.width-110}, ${e.height-13}`}})]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},Oe=[],Ie={name:"DvBorderBox5",mixins:[E],props:{color:{type:Array,default:()=>[]},reverse:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"}},data(){return{ref:"border-box-5",defaultColor:["rgba(255, 255, 255, 0.35)","rgba(255, 255, 255, 0.20)"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},Ae=Ie,Le=(0,f.Z)(Ae,Pe,Oe,!1,null,null,null),Ne=Le.exports;function Re(e){e.component(Ne.name,Ne)}var ze=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-6"},[t("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[t("polygon",{attrs:{fill:e.backgroundColor,points:`\n 9, 7 ${e.width-9}, 7 ${e.width-9}, ${e.height-7} 9, ${e.height-7}\n `}}),t("circle",{attrs:{fill:e.mergedColor[1],cx:"5",cy:"5",r:"2"}}),t("circle",{attrs:{fill:e.mergedColor[1],cx:e.width-5,cy:"5",r:"2"}}),t("circle",{attrs:{fill:e.mergedColor[1],cx:e.width-5,cy:e.height-5,r:"2"}}),t("circle",{attrs:{fill:e.mergedColor[1],cx:"5",cy:e.height-5,r:"2"}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:`10, 4 ${e.width-10}, 4`}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:`10, ${e.height-4} ${e.width-10}, ${e.height-4}`}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:"5, 70 5, "+(e.height-70)}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:`${e.width-5}, 70 ${e.width-5}, ${e.height-70}`}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:"3, 10, 3, 50"}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:"7, 30 7, 80"}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:`${e.width-3}, 10 ${e.width-3}, 50`}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:`${e.width-7}, 30 ${e.width-7}, 80`}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:`3, ${e.height-10} 3, ${e.height-50}`}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:`7, ${e.height-30} 7, ${e.height-80}`}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:`${e.width-3}, ${e.height-10} ${e.width-3}, ${e.height-50}`}}),t("polyline",{attrs:{stroke:e.mergedColor[0],points:`${e.width-7}, ${e.height-30} ${e.width-7}, ${e.height-80}`}})]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},$e=[],Be={name:"DvBorderBox6",mixins:[E],props:{color:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},data(){return{ref:"border-box-6",defaultColor:["rgba(255, 255, 255, 0.35)","gray"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},Fe=Be,je=(0,f.Z)(Fe,ze,$e,!1,null,null,null),Ve=je.exports;function He(e){e.component(Ve.name,Ve)}var We=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-7",style:`box-shadow: inset 0 0 40px ${e.mergedColor[0]}; border: 1px solid ${e.mergedColor[0]}; background-color: ${e.backgroundColor}`},[t("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[t("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:"0, 25 0, 0 25, 0"}}),t("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:`${e.width-25}, 0 ${e.width}, 0 ${e.width}, 25`}}),t("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:`${e.width-25}, ${e.height} ${e.width}, ${e.height} ${e.width}, ${e.height-25}`}}),t("polyline",{staticClass:"dv-bb7-line-width-2",attrs:{stroke:e.mergedColor[0],points:`0, ${e.height-25} 0, ${e.height} 25, ${e.height}`}}),t("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:"0, 10 0, 0 10, 0"}}),t("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:`${e.width-10}, 0 ${e.width}, 0 ${e.width}, 10`}}),t("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:`${e.width-10}, ${e.height} ${e.width}, ${e.height} ${e.width}, ${e.height-10}`}}),t("polyline",{staticClass:"dv-bb7-line-width-5",attrs:{stroke:e.mergedColor[1],points:`0, ${e.height-10} 0, ${e.height} 10, ${e.height}`}})]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},Ge=[],qe={name:"DvBorderBox7",mixins:[E],props:{color:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},data(){return{ref:"border-box-7",defaultColor:["rgba(128,128,128,0.3)","rgba(128,128,128,0.5)"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},Ue=qe,Ye=(0,f.Z)(Ue,We,Ge,!1,null,null,null),Xe=Ye.exports;function Ze(e){e.component(Xe.name,Xe)}var Ke=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-8"},[t("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[t("defs",[t("path",{attrs:{id:e.path,d:e.pathD,fill:"transparent"}}),t("radialGradient",{attrs:{id:e.gradient,cx:"50%",cy:"50%",r:"50%"}},[t("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),t("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),t("mask",{attrs:{id:e.mask}},[t("circle",{attrs:{cx:"0",cy:"0",r:"150",fill:`url(#${e.gradient})`}},[t("animateMotion",{attrs:{dur:`${e.dur}s`,path:e.pathD,rotate:"auto",repeatCount:"indefinite"}})],1)])],1),t("polygon",{attrs:{fill:e.backgroundColor,points:`5, 5 ${e.width-5}, 5 ${e.width-5} ${e.height-5} 5, ${e.height-5}`}}),t("use",{attrs:{stroke:e.mergedColor[0],"stroke-width":"1","xlink:href":`#${e.path}`}}),t("use",{attrs:{stroke:e.mergedColor[1],"stroke-width":"3","xlink:href":`#${e.path}`,mask:`url(#${e.mask})`}},[t("animate",{attrs:{attributeName:"stroke-dasharray",from:`0, ${e.length}`,to:`${e.length}, 0`,dur:`${e.dur}s`,repeatCount:"indefinite"}})])]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},Qe=[],Je={name:"DvBorderBox8",mixins:[E],props:{color:{type:Array,default:()=>[]},dur:{type:Number,default:3},backgroundColor:{type:String,default:"transparent"},reverse:{type:Boolean,default:!1}},data(){const e=T();return{ref:"border-box-8",path:`border-box-8-path-${e}`,gradient:`border-box-8-gradient-${e}`,mask:`border-box-8-mask-${e}`,defaultColor:["#235fa7","#4fd2dd"],mergedColor:[]}},computed:{length(){const{width:e,height:t}=this;return 2*(e+t-5)},pathD(){const{reverse:e,width:t,height:n}=this;return e?`M 2.5, 2.5 L 2.5, ${n-2.5} L ${t-2.5}, ${n-2.5} L ${t-2.5}, 2.5 L 2.5, 2.5`:`M2.5, 2.5 L${t-2.5}, 2.5 L${t-2.5}, ${n-2.5} L2.5, ${n-2.5} L2.5, 2.5`}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},et=Je,tt=(0,f.Z)(et,Ke,Qe,!1,null,null,null),nt=tt.exports;function it(e){e.component(nt.name,nt)}var rt=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-border-box-9"},[t("svg",{staticClass:"dv-border-svg-container",attrs:{width:e.width,height:e.height}},[t("defs",[t("linearGradient",{attrs:{id:e.gradientId,x1:"0%",y1:"0%",x2:"100%",y2:"100%"}},[t("animate",{attrs:{attributeName:"x1",values:"0%;100%;0%",dur:"10s",begin:"0s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"x2",values:"100%;0%;100%",dur:"10s",begin:"0s",repeatCount:"indefinite"}}),t("stop",{attrs:{offset:"0%","stop-color":e.mergedColor[0]}},[t("animate",{attrs:{attributeName:"stop-color",values:`${e.mergedColor[0]};${e.mergedColor[1]};${e.mergedColor[0]}`,dur:"10s",begin:"0s",repeatCount:"indefinite"}})]),t("stop",{attrs:{offset:"100%","stop-color":e.mergedColor[1]}},[t("animate",{attrs:{attributeName:"stop-color",values:`${e.mergedColor[1]};${e.mergedColor[0]};${e.mergedColor[1]}`,dur:"10s",begin:"0s",repeatCount:"indefinite"}})])],1),t("mask",{attrs:{id:e.maskId}},[t("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:`8, ${.4*e.height} 8, 3, ${.4*e.width+7}, 3`}}),t("polyline",{attrs:{fill:"#fff",points:`8, ${.15*e.height} 8, 3, ${.1*e.width+7}, 3\n ${.1*e.width}, 8 14, 8 14, ${.15*e.height-7}\n `}}),t("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:`${.5*e.width}, 3 ${e.width-3}, 3, ${e.width-3}, ${.25*e.height}`}}),t("polyline",{attrs:{fill:"#fff",points:`\n ${.52*e.width}, 3 ${.58*e.width}, 3\n ${.58*e.width-7}, 9 ${.52*e.width+7}, 9\n `}}),t("polyline",{attrs:{fill:"#fff",points:`\n ${.9*e.width}, 3 ${e.width-3}, 3 ${e.width-3}, ${.1*e.height}\n ${e.width-9}, ${.1*e.height-7} ${e.width-9}, 9 ${.9*e.width+7}, 9\n `}}),t("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:`8, ${.5*e.height} 8, ${e.height-3} ${.3*e.width+7}, ${e.height-3}`}}),t("polyline",{attrs:{fill:"#fff",points:`\n 8, ${.55*e.height} 8, ${.7*e.height}\n 2, ${.7*e.height-7} 2, ${.55*e.height+7}\n `}}),t("polyline",{attrs:{stroke:"#fff","stroke-width":"3",fill:"transparent",points:`${.35*e.width}, ${e.height-3} ${e.width-3}, ${e.height-3} ${e.width-3}, ${.35*e.height}`}}),t("polyline",{attrs:{fill:"#fff",points:`\n ${.92*e.width}, ${e.height-3} ${e.width-3}, ${e.height-3} ${e.width-3}, ${.8*e.height}\n ${e.width-9}, ${.8*e.height+7} ${e.width-9}, ${e.height-9} ${.92*e.width+7}, ${e.height-9}\n `}})])],1),t("polygon",{attrs:{fill:e.backgroundColor,points:`\n 15, 9 ${.1*e.width+1}, 9 ${.1*e.width+4}, 6 ${.52*e.width+2}, 6\n ${.52*e.width+6}, 10 ${.58*e.width-7}, 10 ${.58*e.width-2}, 6\n ${.9*e.width+2}, 6 ${.9*e.width+6}, 10 ${e.width-10}, 10 ${e.width-10}, ${.1*e.height-6}\n ${e.width-6}, ${.1*e.height-1} ${e.width-6}, ${.8*e.height+1} ${e.width-10}, ${.8*e.height+6}\n ${e.width-10}, ${e.height-10} ${.92*e.width+7}, ${e.height-10} ${.92*e.width+2}, ${e.height-6}\n 11, ${e.height-6} 11, ${.15*e.height-2} 15, ${.15*e.height-7}\n `}}),t("rect",{attrs:{x:"0",y:"0",width:e.width,height:e.height,fill:`url(#${e.gradientId})`,mask:`url(#${e.maskId})`}})]),t("div",{staticClass:"border-box-content"},[e._t("default")],2)])},ot=[],at={name:"DvBorderBox9",mixins:[E],props:{color:{type:Array,default:()=>[]},backgroundColor:{type:String,default:"transparent"}},data(){const e=T();return{ref:"border-box-9",gradientId:`border-box-9-gradient-${e}`,maskId:`border-box-9-mask-${e}`,defaultColor:["#11eefd","#0078d2"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},st=at,lt=(0,f.Z)(st,rt,ot,!1,null,null,null),ut=lt.exports;function ct(e){e.component(ut.name,ut)}var ht=function(){var e=this,t=e._self._c;return t("div",{staticClass:"dv-capsule-chart"},[e.mergedConfig?[t("div",{staticClass:"label-column"},[e._l(e.mergedConfig.data,(function(n){return t("div",{key:n.name},[e._v(e._s(n.name))])})),t("div",[e._v(" ")])],2),t("div",{staticClass:"capsule-container"},[e._l(e.capsuleLength,(function(n,i){return t("div",{key:i,staticClass:"capsule-item"},[t("div",{staticClass:"capsule-item-column",style:`width: ${100*n}%; background-color: ${e.mergedConfig.colors[i%e.mergedConfig.colors.length]};`},[e.mergedConfig.showValue?t("div",{staticClass:"capsule-item-value"},[e._v(e._s(e.capsuleValue[i]))]):e._e()])])})),t("div",{staticClass:"unit-label"},e._l(e.labelData,(function(n,i){return t("div",{key:n+i},[e._v(e._s(n))])})),0)],2),e.mergedConfig.unit?t("div",{staticClass:"unit-text"},[e._v(e._s(e.mergedConfig.unit))]):e._e()]:e._e()],2)},dt=[],ft={name:"DvCapsuleChart",props:{config:{type:Object,default:()=>({})}},data(){return{defaultConfig:{data:[],colors:["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293"],unit:"",showValue:!1},mergedConfig:null,capsuleLength:[],capsuleValue:[],labelData:[],labelDataLength:[]}},watch:{config(){const{calcData:e}=this;e()}},methods:{calcData(){const{mergeConfig:e,calcCapsuleLengthAndLabelData:t}=this;e(),t()},mergeConfig(){let{config:e,defaultConfig:t}=this;this.mergedConfig=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||{})},calcCapsuleLengthAndLabelData(){const{data:e}=this.mergedConfig;if(!e.length)return;const t=e.map((({value:e})=>e)),n=Math.max(...t);this.capsuleValue=t,this.capsuleLength=t.map((e=>n?e/n:0));const i=n/5,r=Array.from(new Set(new Array(6).fill(0).map(((e,t)=>Math.ceil(t*i)))));this.labelData=r,this.labelDataLength=Array.from(r).map((e=>n?e/n:0))}},mounted(){const{calcData:e}=this;e()}},pt=ft,gt=(0,f.Z)(pt,ht,dt,!1,null,null,null),mt=gt.exports;function vt(e){e.component(mt.name,mt)}var yt=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-charts-container"},[t("div",{ref:e.chartRef,staticClass:"charts-canvas-container"})])},bt=[],xt={name:"DvCharts",mixins:[E],props:{option:{type:Object,default:()=>({})}},data(){const e=T();return{ref:`charts-container-${e}`,chartRef:`chart-${e}`,chart:null}},watch:{option(){let{chart:e,option:t}=this;e&&(t||(t={}),e.setOption(t,!0))}},methods:{afterAutoResizeMixinInit(){const{initChart:e}=this;e()},initChart(){const{$refs:e,chartRef:t,option:n}=this,i=this.chart=new o.ZP(e[t]);n&&i.setOption(n)},onResize(){const{chart:e}=this;e&&e.resize()}}},_t=xt,wt=(0,f.Z)(_t,yt,bt,!1,null,null,null),Ct=wt.exports;function St(e){e.component(Ct.name,Ct)}var kt=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-conical-column-chart"},[t("svg",{attrs:{width:e.width,height:e.height}},e._l(e.column,(function(n,i){return t("g",{key:i},[t("path",{attrs:{d:n.d,fill:e.mergedConfig.columnColor}}),t("text",{style:`fontSize:${e.mergedConfig.fontSize}px`,attrs:{fill:e.mergedConfig.textColor,x:n.x,y:e.height-4}},[e._v(" "+e._s(n.name)+" ")]),e.mergedConfig.img.length?t("image",{attrs:{"xlink:href":e.mergedConfig.img[i%e.mergedConfig.img.length],width:e.mergedConfig.imgSideLength,height:e.mergedConfig.imgSideLength,x:n.x-e.mergedConfig.imgSideLength/2,y:n.y-e.mergedConfig.imgSideLength}}):e._e(),e.mergedConfig.showValue?t("text",{style:`fontSize:${e.mergedConfig.fontSize}px`,attrs:{fill:e.mergedConfig.textColor,x:n.x,y:n.textY}},[e._v(" "+e._s(n.value)+" ")]):e._e()])})),0)])},Mt=[],Tt={name:"DvConicalColumnChart",mixins:[E],props:{config:{type:Object,default:()=>({})}},data(){return{ref:"conical-column-chart",defaultConfig:{data:[],img:[],fontSize:12,imgSideLength:30,columnColor:"rgba(0, 194, 255, 0.4)",textColor:"#fff",showValue:!1},mergedConfig:null,column:[]}},watch:{config(){const{calcData:e}=this;e()}},methods:{afterAutoResizeMixinInit(){const{calcData:e}=this;e()},onResize(){const{calcData:e}=this;e()},calcData(){const{mergeConfig:e,initData:t,calcSVGPath:n}=this;e(),t(),n()},mergeConfig(){const{defaultConfig:e,config:t}=this;this.mergedConfig=(0,u.deepMerge)((0,c.deepClone)(e,!0),t||{})},initData(){const{mergedConfig:e}=this;let{data:t}=e;t=(0,c.deepClone)(t,!0),t.sort((({value:e},{value:t})=>e>t?-1:e<t?1:e===t?0:void 0));const n=t[0]?t[0].value:10;t=t.map((e=>({...e,percent:e.value/n}))),e.data=t},calcSVGPath(){const{mergedConfig:e,width:t,height:n}=this,{imgSideLength:i,fontSize:r,data:o}=e,a=o.length,s=t/(a+1),l=n-i-r-5,u=n-r-5;this.column=o.map(((e,t)=>{const{percent:n}=e,i=s*(t+1),o=s*t,a=s*(t+2),c=u-l*n,h=l*n*.6+c,d=`\n M${o}, ${u}\n Q${i}, ${h} ${i},${c}\n M${i},${c}\n Q${i}, ${h} ${a},${u}\n L${o}, ${u}\n Z\n `,f=(u+c)/2+r/2;return{...e,d:d,x:i,y:c,textY:f}}))}}},Et=Tt,Dt=(0,f.Z)(Et,kt,Mt,!1,null,null,null),Pt=Dt.exports;function Ot(e){e.component(Pt.name,Pt)}var It=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-1"},[t("svg",{style:`transform:scale(${e.svgScale[0]},${e.svgScale[1]});`,attrs:{width:`${e.svgWH[0]}px`,height:`${e.svgWH[1]}px`}},[e._l(e.points,(function(n,i){return[Math.random()>.6?t("rect",{key:i,attrs:{fill:e.mergedColor[0],x:n[0]-e.halfPointSideLength,y:n[1]-e.halfPointSideLength,width:e.pointSideLength,height:e.pointSideLength}},[Math.random()>.6?t("animate",{attrs:{attributeName:"fill",values:`${e.mergedColor[0]};transparent`,dur:"1s",begin:2*Math.random(),repeatCount:"indefinite"}}):e._e()]):e._e()]})),e.rects[0]?t("rect",{attrs:{fill:e.mergedColor[1],x:e.rects[0][0]-e.pointSideLength,y:e.rects[0][1]-e.pointSideLength,width:2*e.pointSideLength,height:2*e.pointSideLength}},[t("animate",{attrs:{attributeName:"width",values:"0;"+2*e.pointSideLength,dur:"2s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"height",values:"0;"+2*e.pointSideLength,dur:"2s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"x",values:`${e.rects[0][0]};${e.rects[0][0]-e.pointSideLength}`,dur:"2s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",values:`${e.rects[0][1]};${e.rects[0][1]-e.pointSideLength}`,dur:"2s",repeatCount:"indefinite"}})]):e._e(),e.rects[1]?t("rect",{attrs:{fill:e.mergedColor[1],x:e.rects[1][0]-40,y:e.rects[1][1]-e.pointSideLength,width:40,height:2*e.pointSideLength}},[t("animate",{attrs:{attributeName:"width",values:"0;40;0",dur:"2s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"x",values:`${e.rects[1][0]};${e.rects[1][0]-40};${e.rects[1][0]}`,dur:"2s",repeatCount:"indefinite"}})]):e._e()],2)])},At=[],Lt={name:"DvDecoration1",mixins:[E],props:{color:{type:Array,default:()=>[]}},data(){const e=2.5;return{ref:"decoration-1",svgWH:[200,50],svgScale:[1,1],rowNum:4,rowPoints:20,pointSideLength:e,halfPointSideLength:e/2,points:[],rects:[],defaultColor:["#fff","#0de7c2"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{afterAutoResizeMixinInit(){const{calcSVGData:e}=this;e()},calcSVGData(){const{calcPointsPosition:e,calcRectsPosition:t,calcScale:n}=this;e(),t(),n()},calcPointsPosition(){const{svgWH:e,rowNum:t,rowPoints:n}=this,[i,r]=e,o=i/(n+1),a=r/(t+1);let s=new Array(t).fill(0).map(((e,t)=>new Array(n).fill(0).map(((e,n)=>[o*(n+1),a*(t+1)]))));this.points=s.reduce(((e,t)=>[...e,...t]),[])},calcRectsPosition(){const{points:e,rowPoints:t}=this,n=e[2*t-1],i=e[2*t-3];this.rects=[n,i]},calcScale(){const{width:e,height:t,svgWH:n}=this,[i,r]=n;this.svgScale=[e/i,t/r]},onResize(){const{calcSVGData:e}=this;e()},mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},Nt=Lt,Rt=(0,f.Z)(Nt,It,At,!1,null,null,null),zt=Rt.exports;function $t(e){e.component(zt.name,zt)}var Bt=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-10"},[t("svg",{attrs:{width:e.width,height:e.height}},[t("polyline",{attrs:{stroke:e.mergedColor[1],"stroke-width":"2",points:`0, ${e.height/2} ${e.width}, ${e.height/2}`}}),t("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",points:`5, ${e.height/2} ${.2*e.width-3}, ${e.height/2}`,"stroke-dasharray":"0, "+.2*e.width,fill:"freeze"}},[t("animate",{attrs:{id:e.animationId2,attributeName:"stroke-dasharray",values:`0, ${.2*e.width};${.2*e.width}, 0;`,dur:"3s",begin:`${e.animationId1}.end`,fill:"freeze"}}),t("animate",{attrs:{attributeName:"stroke-dasharray",values:`${.2*e.width}, 0;0, ${.2*e.width}`,dur:"0.01s",begin:`${e.animationId7}.end`,fill:"freeze"}})]),t("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",points:`${.2*e.width+3}, ${e.height/2} ${.8*e.width-3}, ${e.height/2}`,"stroke-dasharray":"0, "+.6*e.width}},[t("animate",{attrs:{id:e.animationId4,attributeName:"stroke-dasharray",values:`0, ${.6*e.width};${.6*e.width}, 0`,dur:"3s",begin:`${e.animationId3}.end + 1s`,fill:"freeze"}}),t("animate",{attrs:{attributeName:"stroke-dasharray",values:`${.6*e.width}, 0;0, ${.6*e.width}`,dur:"0.01s",begin:`${e.animationId7}.end`,fill:"freeze"}})]),t("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",points:`${.8*e.width+3}, ${e.height/2} ${e.width-5}, ${e.height/2}`,"stroke-dasharray":"0, "+.2*e.width}},[t("animate",{attrs:{id:e.animationId6,attributeName:"stroke-dasharray",values:`0, ${.2*e.width};${.2*e.width}, 0`,dur:"3s",begin:`${e.animationId5}.end + 1s`,fill:"freeze"}}),t("animate",{attrs:{attributeName:"stroke-dasharray",values:`${.2*e.width}, 0;0, ${.3*e.width}`,dur:"0.01s",begin:`${e.animationId7}.end`,fill:"freeze"}})]),t("circle",{attrs:{cx:"2",cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[t("animate",{attrs:{id:e.animationId1,attributeName:"fill",values:`${e.mergedColor[1]};${e.mergedColor[0]}`,begin:`0s;${e.animationId7}.end`,dur:"0.3s",fill:"freeze"}})]),t("circle",{attrs:{cx:.2*e.width,cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[t("animate",{attrs:{id:e.animationId3,attributeName:"fill",values:`${e.mergedColor[1]};${e.mergedColor[0]}`,begin:`${e.animationId2}.end`,dur:"0.3s",fill:"freeze"}}),t("animate",{attrs:{attributeName:"fill",values:`${e.mergedColor[1]};${e.mergedColor[1]}`,dur:"0.01s",begin:`${e.animationId7}.end`,fill:"freeze"}})]),t("circle",{attrs:{cx:.8*e.width,cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[t("animate",{attrs:{id:e.animationId5,attributeName:"fill",values:`${e.mergedColor[1]};${e.mergedColor[0]}`,begin:`${e.animationId4}.end`,dur:"0.3s",fill:"freeze"}}),t("animate",{attrs:{attributeName:"fill",values:`${e.mergedColor[1]};${e.mergedColor[1]}`,dur:"0.01s",begin:`${e.animationId7}.end`,fill:"freeze"}})]),t("circle",{attrs:{cx:e.width-2,cy:e.height/2,r:"2",fill:e.mergedColor[1]}},[t("animate",{attrs:{id:e.animationId7,attributeName:"fill",values:`${e.mergedColor[1]};${e.mergedColor[0]}`,begin:`${e.animationId6}.end`,dur:"0.3s",fill:"freeze"}}),t("animate",{attrs:{attributeName:"fill",values:`${e.mergedColor[1]};${e.mergedColor[1]}`,dur:"0.01s",begin:`${e.animationId7}.end`,fill:"freeze"}})])])])},Ft=[],jt={name:"DvDecoration10",mixins:[E],props:{color:{type:Array,default:()=>[]}},data(){const e=T();return{ref:"decoration-10",animationId1:`d10ani1${e}`,animationId2:`d10ani2${e}`,animationId3:`d10ani3${e}`,animationId4:`d10ani4${e}`,animationId5:`d10ani5${e}`,animationId6:`d10ani6${e}`,animationId7:`d10ani7${e}`,defaultColor:["#00c2ff","rgba(0, 194, 255, 0.3)"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},Vt=jt,Ht=(0,f.Z)(Vt,Bt,Ft,!1,null,null,null),Wt=Ht.exports;function Gt(e){e.component(Wt.name,Wt)}var qt=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-11"},[t("svg",{attrs:{width:e.width,height:e.height}},[t("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:"20 10, 25 4, 55 4 60 10"}}),t("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:`20 ${e.height-10}, 25 ${e.height-4}, 55 ${e.height-4} 60 ${e.height-10}`}}),t("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:`${e.width-20} 10, ${e.width-25} 4, ${e.width-55} 4 ${e.width-60} 10`}}),t("polygon",{attrs:{fill:e.fade(e.mergedColor[1]||e.defaultColor[1],10),stroke:e.mergedColor[1],points:`${e.width-20} ${e.height-10}, ${e.width-25} ${e.height-4}, ${e.width-55} ${e.height-4} ${e.width-60} ${e.height-10}`}}),t("polygon",{attrs:{fill:e.fade(e.mergedColor[0]||e.defaultColor[0],20),stroke:e.mergedColor[0],points:`\n 20 10, 5 ${e.height/2} 20 ${e.height-10}\n ${e.width-20} ${e.height-10} ${e.width-5} ${e.height/2} ${e.width-20} 10\n `}}),t("polyline",{attrs:{fill:"transparent",stroke:e.fade(e.mergedColor[0]||e.defaultColor[0],70),points:`25 18, 15 ${e.height/2} 25 ${e.height-18}`}}),t("polyline",{attrs:{fill:"transparent",stroke:e.fade(e.mergedColor[0]||e.defaultColor[0],70),points:`${e.width-25} 18, ${e.width-15} ${e.height/2} ${e.width-25} ${e.height-18}`}})]),t("div",{staticClass:"decoration-content"},[e._t("default")],2)])},Ut=[],Yt={name:"DvDecoration11",mixins:[E],props:{color:{type:Array,default:()=>[]}},data(){return{ref:"decoration-11",defaultColor:["#1a98fc","#2cf7fe"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])},fade:H.fade},mounted(){const{mergeColor:e}=this;e()}},Xt=Yt,Zt=(0,f.Z)(Xt,qt,Ut,!1,null,null,null),Kt=Zt.exports;function Qt(e){e.component(Kt.name,Kt)}var Jt=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-12"},[t("svg",{attrs:{width:e.width,height:e.height}},[t("defs",[t("g",{attrs:{id:e.gId}},e._l(e.pathD,(function(n,i){return t("path",{key:n,attrs:{stroke:e.pathColor[i],"stroke-width":e.width/2,fill:"transparent",d:n}})})),0),t("radialGradient",{attrs:{id:e.gradientId,cx:"50%",cy:"50%",r:"50%"}},[t("stop",{attrs:{offset:"0%","stop-color":"transparent","stop-opacity":"1"}}),t("stop",{attrs:{offset:"100%","stop-color":e.fade(e.mergedColor[1]||e.defaultColor[1],30),"stop-opacity":"1"}})],1)],1),e._l(e.circleR,(function(n){return t("circle",{key:n,attrs:{r:n,cx:e.x,cy:e.y,stroke:e.mergedColor[1],"stroke-width":.5,fill:"transparent"}})})),t("circle",{attrs:{r:"1",cx:e.x,cy:e.y,stroke:"transparent",fill:`url(#${e.gradientId})`}},[t("animate",{attrs:{attributeName:"r",values:"1;"+e.width/2,dur:`${e.haloDur}s`,repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:`${e.haloDur}s`,repeatCount:"indefinite"}})]),t("circle",{attrs:{r:"2",cx:e.x,cy:e.y,fill:e.mergedColor[1]}}),e.showSplitLine?t("g",e._l(e.splitLinePoints,(function(n){return t("polyline",{key:n,attrs:{points:n,stroke:e.mergedColor[1],"stroke-width":.5,opacity:"0.5"}})})),0):e._e(),e._l(e.arcD,(function(n){return t("path",{key:n,attrs:{d:n,stroke:e.mergedColor[1],"stroke-width":"2",fill:"transparent"}})})),t("use",{attrs:{"xlink:href":`#${e.gId}`}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:`0, ${e.x} ${e.y};360, ${e.x} ${e.y}`,dur:`${e.scanDur}s`,repeatCount:"indefinite"}})],1)],2),t("div",{staticClass:"decoration-content"},[e._t("default")],2)])},en=[],tn={name:"DvDecoration12",mixins:[E],props:{color:{type:Array,default:()=>[]},scanDur:{type:Number,default:3},haloDur:{type:Number,default:2}},data(){const e=T();return{ref:"decoration-12",gId:`decoration-12-g-${e}`,gradientId:`decoration-12-gradient-${e}`,defaultColor:["#2783ce","#2cf7fe"],mergedColor:[],pathD:[],pathColor:[],circleR:[],splitLinePoints:[],arcD:[],segment:30,sectorAngle:Math.PI/3,ringNum:3,ringWidth:1,showSplitLine:!0}},watch:{color(){const{mergeColor:e}=this;e()}},computed:{x(){const{width:e}=this;return e/2},y(){const{height:e}=this;return e/2}},methods:{init(){const{mergeColor:e,calcPathD:t,calcPathColor:n,calcCircleR:i,calcSplitLinePoints:r,calcArcD:o}=this;e(),t(),n(),i(),r(),o()},mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])},calcPathD(){const{x:e,y:t,width:n,segment:i,sectorAngle:r}=this,o=-Math.PI/2,a=r/i,s=n/4;let l=(0,c.getCircleRadianPoint)(e,t,s,o);this.pathD=new Array(i).fill("").map(((n,i)=>{const r=(0,c.getCircleRadianPoint)(e,t,s,o-(i+1)*a).map((e=>e.toFixed(5))),u=`M${l.join(",")} A${s}, ${s} 0 0 0 ${r.join(",")}`;return l=r,u}))},calcPathColor(){const{mergedColor:[e],segment:t}=this,n=100/(t-1);this.pathColor=new Array(t).fill(e).map(((t,i)=>(0,H.fade)(e,100-i*n)))},calcCircleR(){const{segment:e,ringNum:t,width:n,ringWidth:i}=this,r=(n/2-i/2)/t;this.circleR=new Array(t).fill(0).map(((e,t)=>r*(t+1)))},calcSplitLinePoints(){const{x:e,y:t,width:n}=this,i=Math.PI/6,r=n/2;this.splitLinePoints=new Array(6).fill("").map(((n,o)=>{const a=i*(o+1),s=a+Math.PI,l=(0,c.getCircleRadianPoint)(e,t,r,a),u=(0,c.getCircleRadianPoint)(e,t,r,s);return`${l.join(",")} ${u.join(",")}`}))},calcArcD(){const{x:e,y:t,width:n}=this,i=Math.PI/6,r=n/2-1;this.arcD=new Array(4).fill("").map(((n,o)=>{const a=i*(3*o+1),s=a+i,l=(0,c.getCircleRadianPoint)(e,t,r,a),u=(0,c.getCircleRadianPoint)(e,t,r,s);return`M${l.join(",")} A${e}, ${t} 0 0 1 ${u.join(",")}`}))},afterAutoResizeMixinInit(){const{init:e}=this;e()},fade:H.fade}},nn=tn,rn=(0,f.Z)(nn,Jt,en,!1,null,null,null),on=rn.exports;function an(e){e.component(on.name,on)}var sn=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-2"},[t("svg",{attrs:{width:`${e.width}px`,height:`${e.height}px`}},[t("rect",{attrs:{x:e.x,y:e.y,width:e.w,height:e.h,fill:e.mergedColor[0]}},[t("animate",{attrs:{attributeName:e.reverse?"height":"width",from:"0",to:e.reverse?e.height:e.width,dur:`${e.dur}s`,calcMode:"spline",keyTimes:"0;1",keySplines:".42,0,.58,1",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:e.x,y:e.y,width:"1",height:"1",fill:e.mergedColor[1]}},[t("animate",{attrs:{attributeName:e.reverse?"y":"x",from:"0",to:e.reverse?e.height:e.width,dur:`${e.dur}s`,calcMode:"spline",keyTimes:"0;1",keySplines:"0.42,0,0.58,1",repeatCount:"indefinite"}})])])])},ln=[],un={name:"DvDecoration2",mixins:[E],props:{color:{type:Array,default:()=>[]},reverse:{type:Boolean,default:!1},dur:{type:Number,default:6}},data(){return{ref:"decoration-2",x:0,y:0,w:0,h:0,defaultColor:["#3faacb","#fff"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()},reverse(){const{calcSVGData:e}=this;e()}},methods:{afterAutoResizeMixinInit(){const{calcSVGData:e}=this;e()},calcSVGData(){const{reverse:e,width:t,height:n}=this;e?(this.w=1,this.h=n,this.x=t/2,this.y=0):(this.w=t,this.h=1,this.x=0,this.y=n/2)},onResize(){const{calcSVGData:e}=this;e()},mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},cn=un,hn=(0,f.Z)(cn,sn,ln,!1,null,null,null),dn=hn.exports;function fn(e){e.component(dn.name,dn)}var pn=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-3"},[t("svg",{style:`transform:scale(${e.svgScale[0]},${e.svgScale[1]});`,attrs:{width:`${e.svgWH[0]}px`,height:`${e.svgWH[1]}px`}},[e._l(e.points,(function(n,i){return[t("rect",{key:i,attrs:{fill:e.mergedColor[0],x:n[0]-e.halfPointSideLength,y:n[1]-e.halfPointSideLength,width:e.pointSideLength,height:e.pointSideLength}},[Math.random()>.6?t("animate",{attrs:{attributeName:"fill",values:`${e.mergedColor.join(";")}`,dur:Math.random()+1+"s",begin:2*Math.random(),repeatCount:"indefinite"}}):e._e()])]}))],2)])},gn=[],mn={name:"DvDecoration3",mixins:[E],props:{color:{type:Array,default:()=>[]}},data(){const e=7;return{ref:"decoration-3",svgWH:[300,35],svgScale:[1,1],rowNum:2,rowPoints:25,pointSideLength:e,halfPointSideLength:e/2,points:[],defaultColor:["#7acaec","transparent"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{afterAutoResizeMixinInit(){const{calcSVGData:e}=this;e()},calcSVGData(){const{calcPointsPosition:e,calcScale:t}=this;e(),t()},calcPointsPosition(){const{svgWH:e,rowNum:t,rowPoints:n}=this,[i,r]=e,o=i/(n+1),a=r/(t+1);let s=new Array(t).fill(0).map(((e,t)=>new Array(n).fill(0).map(((e,n)=>[o*(n+1),a*(t+1)]))));this.points=s.reduce(((e,t)=>[...e,...t]),[])},calcScale(){const{width:e,height:t,svgWH:n}=this,[i,r]=n;this.svgScale=[e/i,t/r]},onResize(){const{calcSVGData:e}=this;e()},mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},vn=mn,yn=(0,f.Z)(vn,pn,gn,!1,null,null,null),bn=yn.exports;function xn(e){e.component(bn.name,bn)}var _n=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-4"},[t("div",{class:"container "+(e.reverse?"reverse":"normal"),style:e.reverse?`width:${e.width}px;height:5px;animation-duration:${e.dur}s`:`width:5px;height:${e.height}px;animation-duration:${e.dur}s`},[t("svg",{attrs:{width:e.reverse?e.width:5,height:e.reverse?5:e.height}},[t("polyline",{attrs:{stroke:e.mergedColor[0],points:e.reverse?`0, 2.5 ${e.width}, 2.5`:`2.5, 0 2.5, ${e.height}`}}),t("polyline",{staticClass:"bold-line",attrs:{stroke:e.mergedColor[1],"stroke-width":"3","stroke-dasharray":"20, 80","stroke-dashoffset":"-30",points:e.reverse?`0, 2.5 ${e.width}, 2.5`:`2.5, 0 2.5, ${e.height}`}})])])])},wn=[],Cn={name:"DvDecoration4",mixins:[E],props:{color:{type:Array,default:()=>[]},reverse:{type:Boolean,default:!1},dur:{type:Number,default:3}},data(){return{ref:"decoration-4",defaultColor:["rgba(255, 255, 255, 0.3)","rgba(255, 255, 255, 0.3)"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},Sn=Cn,kn=(0,f.Z)(Sn,_n,wn,!1,null,null,null),Mn=kn.exports;function Tn(e){e.component(Mn.name,Mn)}var En=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-5"},[t("svg",{attrs:{width:e.width,height:e.height}},[t("polyline",{attrs:{fill:"transparent",stroke:e.mergedColor[0],"stroke-width":"3",points:e.line1Points}},[t("animate",{attrs:{attributeName:"stroke-dasharray",attributeType:"XML",from:`0, ${e.line1Length/2}, 0, ${e.line1Length/2}`,to:`0, 0, ${e.line1Length}, 0`,dur:`${e.dur}s`,begin:"0s",calcMode:"spline",keyTimes:"0;1",keySplines:"0.4,1,0.49,0.98",repeatCount:"indefinite"}})]),t("polyline",{attrs:{fill:"transparent",stroke:e.mergedColor[1],"stroke-width":"2",points:e.line2Points}},[t("animate",{attrs:{attributeName:"stroke-dasharray",attributeType:"XML",from:`0, ${e.line2Length/2}, 0, ${e.line2Length/2}`,to:`0, 0, ${e.line2Length}, 0`,dur:`${e.dur}s`,begin:"0s",calcMode:"spline",keyTimes:"0;1",keySplines:".4,1,.49,.98",repeatCount:"indefinite"}})])])])},Dn=[],Pn={name:"DvDecoration5",mixins:[E],props:{color:{type:Array,default:()=>[]},dur:{type:Number,default:1.2}},data(){return{ref:"decoration-5",line1Points:"",line2Points:"",line1Length:0,line2Length:0,defaultColor:["#3f96a5","#3f96a5"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{afterAutoResizeMixinInit(){const{calcSVGData:e}=this;e()},calcSVGData(){const{width:e,height:t}=this;let n=[[0,.2*t],[.18*e,.2*t],[.2*e,.4*t],[.25*e,.4*t],[.27*e,.6*t],[.72*e,.6*t],[.75*e,.4*t],[.8*e,.4*t],[.82*e,.2*t],[e,.2*t]],i=[[.3*e,.8*t],[.7*e,.8*t]];const r=(0,u.getPolylineLength)(n),o=(0,u.getPolylineLength)(i);n=n.map((e=>e.join(","))).join(" "),i=i.map((e=>e.join(","))).join(" "),this.line1Points=n,this.line2Points=i,this.line1Length=r,this.line2Length=o},onResize(){const{calcSVGData:e}=this;e()},mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},On=Pn,In=(0,f.Z)(On,En,Dn,!1,null,null,null),An=In.exports;function Ln(e){e.component(An.name,An)}var Nn=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-6"},[t("svg",{style:`transform:scale(${e.svgScale[0]},${e.svgScale[1]});`,attrs:{width:`${e.svgWH[0]}px`,height:`${e.svgWH[1]}px`}},[e._l(e.points,(function(n,i){return[t("rect",{key:i,attrs:{fill:e.mergedColor[Math.random()>.5?0:1],x:n[0]-e.halfRectWidth,y:n[1]-e.heights[i]/2,width:e.rectWidth,height:e.heights[i]}},[t("animate",{attrs:{attributeName:"y",values:`${n[1]-e.minHeights[i]/2};${n[1]-e.heights[i]/2};${n[1]-e.minHeights[i]/2}`,dur:`${e.randoms[i]}s`,keyTimes:"0;0.5;1",calcMode:"spline",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1",begin:"0s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"height",values:`${e.minHeights[i]};${e.heights[i]};${e.minHeights[i]}`,dur:`${e.randoms[i]}s`,keyTimes:"0;0.5;1",calcMode:"spline",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1",begin:"0s",repeatCount:"indefinite"}})])]}))],2)])},Rn=[],zn={name:"DvDecoration6",mixins:[E],props:{color:{type:Array,default:()=>[]}},data(){const e=7;return{ref:"decoration-6",svgWH:[300,35],svgScale:[1,1],rowNum:1,rowPoints:40,rectWidth:e,halfRectWidth:e/2,points:[],heights:[],minHeights:[],randoms:[],defaultColor:["#7acaec","#7acaec"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{afterAutoResizeMixinInit(){const{calcSVGData:e}=this;e()},calcSVGData(){const{calcPointsPosition:e,calcScale:t}=this;e(),t()},calcPointsPosition(){const{svgWH:e,rowNum:t,rowPoints:n}=this,[i,r]=e,o=i/(n+1),a=r/(t+1);let s=new Array(t).fill(0).map(((e,t)=>new Array(n).fill(0).map(((e,n)=>[o*(n+1),a*(t+1)]))));this.points=s.reduce(((e,t)=>[...e,...t]),[]);const l=this.heights=new Array(t*n).fill(0).map((e=>Math.random()>.8?C(.7*r,r):C(.2*r,.5*r)));this.minHeights=new Array(t*n).fill(0).map(((e,t)=>l[t]*Math.random())),this.randoms=new Array(t*n).fill(0).map((e=>Math.random()+1.5))},calcScale(){const{width:e,height:t,svgWH:n}=this,[i,r]=n;this.svgScale=[e/i,t/r]},onResize(){const{calcSVGData:e}=this;e()},mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},$n=zn,Bn=(0,f.Z)($n,Nn,Rn,!1,null,null,null),Fn=Bn.exports;function jn(e){e.component(Fn.name,Fn)}var Vn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"dv-decoration-7"},[t("svg",{attrs:{width:"21px",height:"20px"}},[t("polyline",{attrs:{"stroke-width":"4",fill:"transparent",stroke:e.mergedColor[0],points:"10, 0 19, 10 10, 20"}}),t("polyline",{attrs:{"stroke-width":"2",fill:"transparent",stroke:e.mergedColor[1],points:"2, 0 11, 10 2, 20"}})]),e._t("default"),t("svg",{attrs:{width:"21px",height:"20px"}},[t("polyline",{attrs:{"stroke-width":"4",fill:"transparent",stroke:e.mergedColor[0],points:"11, 0 2, 10 11, 20"}}),t("polyline",{attrs:{"stroke-width":"2",fill:"transparent",stroke:e.mergedColor[1],points:"19, 0 10, 10 19, 20"}})])],2)},Hn=[],Wn={name:"DvDecoration7",props:{color:{type:Array,default:()=>[]}},data(){return{defaultColor:["#1dc1f5","#1dc1f5"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},Gn=Wn,qn=(0,f.Z)(Gn,Vn,Hn,!1,null,null,null),Un=qn.exports;function Yn(e){e.component(Un.name,Un)}var Xn=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-8"},[t("svg",{attrs:{width:e.width,height:e.height}},[t("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",fill:"transparent",points:`${e.xPos(0)}, 0 ${e.xPos(30)}, ${e.height/2}`}}),t("polyline",{attrs:{stroke:e.mergedColor[0],"stroke-width":"2",fill:"transparent",points:`${e.xPos(20)}, 0 ${e.xPos(50)}, ${e.height/2} ${e.xPos(e.width)}, ${e.height/2}`}}),t("polyline",{attrs:{stroke:e.mergedColor[1],fill:"transparent","stroke-width":"3",points:`${e.xPos(0)}, ${e.height-3}, ${e.xPos(200)}, ${e.height-3}`}})])])},Zn=[],Kn={name:"DvDecoration8",mixins:[E],props:{color:{type:Array,default:()=>[]},reverse:{type:Boolean,default:!1}},data(){return{ref:"decoration-8",defaultColor:["#3f96a5","#3f96a5"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{xPos(e){const{reverse:t,width:n}=this;return t?n-e:e},mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])}},mounted(){const{mergeColor:e}=this;e()}},Qn=Kn,Jn=(0,f.Z)(Qn,Xn,Zn,!1,null,null,null),ei=Jn.exports;function ti(e){e.component(ei.name,ei)}var ni=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-decoration-9"},[t("svg",{style:`transform:scale(${e.svgScale[0]},${e.svgScale[1]});`,attrs:{width:`${e.svgWH[0]}px`,height:`${e.svgWH[1]}px`}},[t("defs",[t("polygon",{attrs:{id:e.polygonId,points:"15, 46.5, 21, 47.5, 21, 52.5, 15, 53.5"}})]),t("circle",{attrs:{cx:"50",cy:"50",r:"45",fill:"transparent",stroke:e.mergedColor[1],"stroke-width":"10","stroke-dasharray":"80, 100, 30, 100"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;360 50 50",dur:`${e.dur}s`,repeatCount:"indefinite"}})],1),t("circle",{attrs:{cx:"50",cy:"50",r:"45",fill:"transparent",stroke:e.mergedColor[0],"stroke-width":"6","stroke-dasharray":"50, 66, 100, 66"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;-360 50 50",dur:`${e.dur}s`,repeatCount:"indefinite"}})],1),t("circle",{attrs:{cx:"50",cy:"50",r:"38",fill:"transparent",stroke:e.fade(e.mergedColor[1]||e.defaultColor[1],30),"stroke-width":"1","stroke-dasharray":"5, 1"}}),e._l(new Array(20).fill(0),(function(n,i){return t("use",{key:i,attrs:{"xlink:href":`#${e.polygonId}`,stroke:e.mergedColor[1],fill:Math.random()>.4?"transparent":e.mergedColor[0]}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0 50 50;360 50 50",dur:`${e.dur}s`,begin:i*e.dur/20+"s",repeatCount:"indefinite"}})],1)})),t("circle",{attrs:{cx:"50",cy:"50",r:"26",fill:"transparent",stroke:e.fade(e.mergedColor[1]||e.defaultColor[1],30),"stroke-width":"1","stroke-dasharray":"5, 1"}})],2),e._t("default")],2)},ii=[],ri={name:"DvDecoration9",mixins:[E],props:{color:{type:Array,default:()=>[]},dur:{type:Number,default:3}},data(){const e=T();return{ref:"decoration-9",polygonId:`decoration-9-polygon-${e}`,svgWH:[100,100],svgScale:[1,1],defaultColor:["rgba(3, 166, 224, 0.8)","rgba(3, 166, 224, 0.5)"],mergedColor:[]}},watch:{color(){const{mergeColor:e}=this;e()}},methods:{afterAutoResizeMixinInit(){const{calcScale:e}=this;e()},calcScale(){const{width:e,height:t,svgWH:n}=this,[i,r]=n;this.svgScale=[e/i,t/r]},onResize(){const{calcScale:e}=this;e()},mergeColor(){const{color:e,defaultColor:t}=this;this.mergedColor=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||[])},fade:H.fade},mounted(){const{mergeColor:e}=this;e()}},oi=ri,ai=(0,f.Z)(oi,ni,ii,!1,null,null,null),si=ai.exports;function li(e){e.component(si.name,si)}function ui(e){e.component(g.name,g)}var ci=function(){var e=this,t=e._self._c;return t("div",{ref:"dv-flyline-chart",staticClass:"dv-flyline-chart",style:`background-image: url(${e.mergedConfig?e.mergedConfig.bgImgUrl:""})`,on:{click:e.consoleClickPos}},[e.mergedConfig?t("svg",{attrs:{width:e.width,height:e.height}},[t("defs",[t("radialGradient",{attrs:{id:e.gradientId,cx:"50%",cy:"50%",r:"50%"}},[t("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),t("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),t("radialGradient",{attrs:{id:e.gradient2Id,cx:"50%",cy:"50%",r:"50%"}},[t("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"0"}}),t("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"1"}})],1),e.paths[0]?t("circle",{attrs:{id:`circle${e.paths[0].toString()}`,cx:e.paths[0][2][0],cy:e.paths[0][2][1]}},[t("animate",{attrs:{attributeName:"r",values:`1;${e.mergedConfig.halo.radius}`,dur:e.mergedConfig.halo.duration/10+"s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:e.mergedConfig.halo.duration/10+"s",repeatCount:"indefinite"}})]):e._e()],1),e.paths[0]?t("image",{attrs:{"xlink:href":e.mergedConfig.centerPointImg.url,width:e.mergedConfig.centerPointImg.width,height:e.mergedConfig.centerPointImg.height,x:e.paths[0][2][0]-e.mergedConfig.centerPointImg.width/2,y:e.paths[0][2][1]-e.mergedConfig.centerPointImg.height/2}}):e._e(),t("mask",{attrs:{id:`maskhalo${e.paths[0].toString()}`}},[e.paths[0]?t("use",{attrs:{"xlink:href":`#circle${e.paths[0].toString()}`,fill:`url(#${e.gradient2Id})`}}):e._e()]),e.paths[0]&&e.mergedConfig.halo.show?t("use",{attrs:{"xlink:href":`#circle${e.paths[0].toString()}`,fill:e.mergedConfig.halo.color,mask:`url(#maskhalo${e.paths[0].toString()})`}}):e._e(),e._l(e.paths,(function(n,i){return t("g",{key:i},[t("defs",[t("path",{ref:`path${i}`,refInFor:!0,attrs:{id:`path${n.toString()}`,d:`M${n[0].toString()} Q${n[1].toString()} ${n[2].toString()}`,fill:"transparent"}})]),t("use",{attrs:{"xlink:href":`#path${n.toString()}`,"stroke-width":e.mergedConfig.lineWidth,stroke:e.mergedConfig.orbitColor}}),e.lengths[i]?t("use",{attrs:{"xlink:href":`#path${n.toString()}`,"stroke-width":e.mergedConfig.lineWidth,stroke:e.mergedConfig.flylineColor,mask:`url(#mask${e.unique}${n.toString()})`}},[t("animate",{attrs:{attributeName:"stroke-dasharray",from:`0, ${e.lengths[i]}`,to:`${e.lengths[i]}, 0`,dur:e.times[i]||0,repeatCount:"indefinite"}})]):e._e(),t("mask",{attrs:{id:`mask${e.unique}${n.toString()}`}},[t("circle",{attrs:{cx:"0",cy:"0",r:e.mergedConfig.flylineRadius,fill:`url(#${e.gradientId})`}},[t("animateMotion",{attrs:{dur:e.times[i]||0,path:`M${n[0].toString()} Q${n[1].toString()} ${n[2].toString()}`,rotate:"auto",repeatCount:"indefinite"}})],1)]),t("image",{attrs:{"xlink:href":e.mergedConfig.pointsImg.url,width:e.mergedConfig.pointsImg.width,height:e.mergedConfig.pointsImg.height,x:n[0][0]-e.mergedConfig.pointsImg.width/2,y:n[0][1]-e.mergedConfig.pointsImg.height/2}}),t("text",{style:`fontSize:${e.mergedConfig.text.fontSize}px;`,attrs:{fill:e.mergedConfig.text.color,x:n[0][0]+e.mergedConfig.text.offset[0],y:n[0][1]+e.mergedConfig.text.offset[1]}},[e._v(" "+e._s(e.texts[i])+" ")])])}))],2):e._e()])},hi=[],di={name:"DvFlylineChart",mixins:[E],props:{config:{type:Object,default:()=>({})},dev:{type:Boolean,default:!1}},data(){const e=T();return{ref:"dv-flyline-chart",unique:Math.random(),maskId:`flyline-mask-id-${e}`,maskCircleId:`mask-circle-id-${e}`,gradientId:`gradient-id-${e}`,gradient2Id:`gradient2-id-${e}`,defaultConfig:{centerPoint:[0,0],points:[],lineWidth:1,orbitColor:"rgba(103, 224, 227, .2)",flylineColor:"#ffde93",k:-.5,curvature:5,flylineRadius:100,duration:[20,30],relative:!0,bgImgUrl:"",text:{offset:[0,15],color:"#ffdb5c",fontSize:12},halo:{show:!0,duration:30,color:"#fb7293",radius:120},centerPointImg:{width:40,height:40,url:""},pointsImg:{width:15,height:15,url:""}},mergedConfig:null,paths:[],lengths:[],times:[],texts:[]}},watch:{config(){const{calcData:e}=this;e()}},methods:{afterAutoResizeMixinInit(){const{calcData:e}=this;e()},onResize(){const{calcData:e}=this;e()},async calcData(){const{mergeConfig:e,createFlylinePaths:t,calcLineLengths:n}=this;e(),t(),await n();const{calcTimes:i,calcTexts:r}=this;i(),r()},mergeConfig(){let{config:e,defaultConfig:t}=this;const n=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||{}),{points:i}=n;n.points=i.map((e=>e instanceof Array?{position:e,text:""}:e)),this.mergedConfig=n},createFlylinePaths(){const{getPath:e,mergedConfig:t,width:n,height:i}=this;let{centerPoint:r,points:o,relative:a}=t;o=o.map((({position:e})=>e)),a&&(r=[n*r[0],i*r[1]],o=o.map((([e,t])=>[n*e,i*t]))),this.paths=o.map((t=>e(r,t)))},getPath(e,t){const{getControlPoint:n}=this,i=n(e,t);return[t,i,e]},getControlPoint([e,t],[n,i]){const{getKLinePointByx:r,mergedConfig:o}=this,{curvature:a,k:s}=o,[l,u]=[(e+n)/2,(t+i)/2],c=M([e,t],[n,i]),h=c/a,d=h/2;let[f,p]=[l,u];do{f+=d,p=r(s,[l,u],f)[1]}while(M([l,u],[f,p])<h);return[f,p]},getKLinePointByx(e,[t,n],i){const r=n-e*t+e*i;return[i,r]},async calcLineLengths(){const{$nextTick:e,paths:t,$refs:n}=this;await e(),this.lengths=t.map(((e,t)=>n[`path${t}`][0].getTotalLength()))},calcTimes(){const{duration:e,points:t}=this.mergedConfig;this.times=t.map((t=>C(...e)/10))},calcTexts(){const{points:e}=this.mergedConfig;this.texts=e.map((({text:e})=>e))},consoleClickPos({offsetX:e,offsetY:t}){const{width:n,height:i,dev:r}=this;if(!r)return;const o=(e/n).toFixed(2),a=(t/i).toFixed(2);console.warn(`dv-flyline-chart DEV: \n Click Position is [${e}, ${t}] \n Relative Position is [${o}, ${a}]`)}}},fi=di,pi=(0,f.Z)(fi,ci,hi,!1,null,null,null),gi=pi.exports;function mi(e){e.component(gi.name,gi)}var vi=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-flyline-chart-enhanced",style:`background-image: url(${e.mergedConfig?e.mergedConfig.bgImgSrc:""})`,on:{click:e.consoleClickPos}},[e.flylines.length?t("svg",{attrs:{width:e.width,height:e.height}},[t("defs",[t("radialGradient",{attrs:{id:e.flylineGradientId,cx:"50%",cy:"50%",r:"50%"}},[t("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"1"}}),t("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"0"}})],1),t("radialGradient",{attrs:{id:e.haloGradientId,cx:"50%",cy:"50%",r:"50%"}},[t("stop",{attrs:{offset:"0%","stop-color":"#fff","stop-opacity":"0"}}),t("stop",{attrs:{offset:"100%","stop-color":"#fff","stop-opacity":"1"}})],1)],1),e._l(e.flylinePoints,(function(n){return t("g",{key:n.key+Math.random()},[t("defs",[n.halo.show?t("circle",{attrs:{id:`halo${e.unique}${n.key}`,cx:n.coordinate[0],cy:n.coordinate[1]}},[t("animate",{attrs:{attributeName:"r",values:`1;${n.halo.radius}`,dur:`${n.halo.time}s`,repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"opacity",values:"1;0",dur:`${n.halo.time}s`,repeatCount:"indefinite"}})]):e._e()]),t("mask",{attrs:{id:`mask${e.unique}${n.key}`}},[n.halo.show?t("use",{attrs:{"xlink:href":`#halo${e.unique}${n.key}`,fill:`url(#${e.haloGradientId})`}}):e._e()]),n.halo.show?t("use",{attrs:{"xlink:href":`#halo${e.unique}${n.key}`,fill:n.halo.color,mask:`url(#mask${e.unique}${n.key})`}}):e._e(),n.icon.show?t("image",{attrs:{"xlink:href":n.icon.src,width:n.icon.width,height:n.icon.height,x:n.icon.x,y:n.icon.y}}):e._e(),n.text.show?t("text",{style:`fontSize:${n.text.fontSize}px;color:${n.text.color}`,attrs:{fill:n.text.color,x:n.text.x,y:n.text.y}},[e._v(" "+e._s(n.name)+" ")]):e._e()])})),e._l(e.flylines,(function(n,i){return t("g",{key:n.key+Math.random()},[t("defs",[t("path",{ref:n.key,refInFor:!0,attrs:{id:n.key,d:n.d,fill:"transparent"}})]),t("use",{attrs:{"xlink:href":`#${n.key}`,"stroke-width":n.width,stroke:n.orbitColor}}),t("mask",{attrs:{id:`mask${e.unique}${n.key}`}},[t("circle",{attrs:{cx:"0",cy:"0",r:n.radius,fill:`url(#${e.flylineGradientId})`}},[t("animateMotion",{attrs:{dur:n.time,path:n.d,rotate:"auto",repeatCount:"indefinite"}})],1)]),e.flylineLengths[i]?t("use",{attrs:{"xlink:href":`#${n.key}`,"stroke-width":n.width,stroke:n.color,mask:`url(#mask${e.unique}${n.key})`}},[t("animate",{attrs:{attributeName:"stroke-dasharray",from:`0, ${e.flylineLengths[i]}`,to:`${e.flylineLengths[i]}, 0`,dur:n.time,repeatCount:"indefinite"}})]):e._e()])}))],2):e._e()])},yi=[],bi={name:"DvFlylineChartEnhanced",mixins:[E],props:{config:{type:Object,default:()=>({})},dev:{type:Boolean,default:!1}},data(){const e=T();return{ref:"dv-flyline-chart-enhanced",unique:Math.random(),flylineGradientId:`flyline-gradient-id-${e}`,haloGradientId:`halo-gradient-id-${e}`,defaultConfig:{points:[],lines:[],halo:{show:!1,duration:[20,30],color:"#fb7293",radius:120},text:{show:!1,offset:[0,15],color:"#ffdb5c",fontSize:12},icon:{show:!1,src:"",width:15,height:15},line:{width:1,color:"#ffde93",orbitColor:"rgba(103, 224, 227, .2)",duration:[20,30],radius:100},bgImgSrc:"",k:-.5,curvature:5,relative:!0},flylines:[],flylineLengths:[],flylinePoints:[],mergedConfig:null}},watch:{config(){const{calcData:e}=this;e()}},methods:{afterAutoResizeMixinInit(){const{calcData:e}=this;e()},onResize(){const{calcData:e}=this;e()},async calcData(){const{mergeConfig:e,calcflylinePoints:t,calcLinePaths:n}=this;e(),t(),n();const{calcLineLengths:i}=this;await i()},mergeConfig(){let{config:e,defaultConfig:t}=this;const n=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||{}),{points:i,lines:r,halo:o,text:a,icon:s,line:l}=n;n.points=i.map((e=>(e.halo=(0,u.deepMerge)((0,c.deepClone)(o,!0),e.halo||{}),e.text=(0,u.deepMerge)((0,c.deepClone)(a,!0),e.text||{}),e.icon=(0,u.deepMerge)((0,c.deepClone)(s,!0),e.icon||{}),e))),n.lines=r.map((e=>(0,u.deepMerge)((0,c.deepClone)(l,!0),e))),this.mergedConfig=n},calcflylinePoints(){const{mergedConfig:e,width:t,height:n}=this,{relative:i,points:r}=e;this.flylinePoints=r.map(((e,r)=>{const{coordinate:[o,a],halo:s,icon:l,text:u}=e;i&&(e.coordinate=[o*t,a*n]),e.halo.time=C(...s.duration)/10;const{width:c,height:h}=l;e.icon.x=e.coordinate[0]-c/2,e.icon.y=e.coordinate[1]-h/2;const[d,f]=u.offset;return e.text.x=e.coordinate[0]+d,e.text.y=e.coordinate[1]+f,e.key=`${e.coordinate.toString()}${r}`,e}))},calcLinePaths(){const{getPath:e,mergedConfig:t}=this,{points:n,lines:i}=t;this.flylines=i.map((t=>{const{source:i,target:r,duration:o}=t,a=n.find((({name:e})=>e===i)).coordinate,s=n.find((({name:e})=>e===r)).coordinate,l=e(a,s).map((e=>e.map((e=>parseFloat(e.toFixed(10)))))),u=`M${l[0].toString()} Q${l[1].toString()} ${l[2].toString()}`,c=`path${l.toString()}`,h=C(...o)/10;return{...t,path:l,key:c,d:u,time:h}}))},getPath(e,t){const{getControlPoint:n}=this,i=n(e,t);return[e,i,t]},getControlPoint([e,t],[n,i]){const{getKLinePointByx:r,mergedConfig:o}=this,{curvature:a,k:s}=o,[l,u]=[(e+n)/2,(t+i)/2],c=M([e,t],[n,i]),h=c/a,d=h/2;let[f,p]=[l,u];do{f+=d,p=r(s,[l,u],f)[1]}while(M([l,u],[f,p])<h);return[f,p]},getKLinePointByx(e,[t,n],i){const r=n-e*t+e*i;return[i,r]},async calcLineLengths(){const{$nextTick:e,flylines:t,$refs:n}=this;await e(),this.flylineLengths=t.map((({key:e})=>n[e][0].getTotalLength()))},consoleClickPos({offsetX:e,offsetY:t}){const{width:n,height:i,dev:r}=this;if(!r)return;const o=(e/n).toFixed(2),a=(t/i).toFixed(2);console.warn(`dv-flyline-chart-enhanced DEV: \n Click Position is [${e}, ${t}] \n Relative Position is [${o}, ${a}]`)}}},xi=bi,_i=(0,f.Z)(xi,vi,yi,!1,null,null,null),wi=_i.exports;function Ci(e){e.component(wi.name,wi)}var Si=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,attrs:{id:"dv-full-screen-container"}},[e.ready?[e._t("default")]:e._e()],2)},ki=[],Mi={name:"DvFullScreenContainer",mixins:[E],data(){return{ref:"full-screen-container",allWidth:0,scale:0,datavRoot:"",ready:!1}},methods:{afterAutoResizeMixinInit(){const{initConfig:e,setAppScale:t}=this;e(),t(),this.ready=!0},initConfig(){const{dom:e}=this,{width:t,height:n}=screen;this.allWidth=t,e.style.width=`${t}px`,e.style.height=`${n}px`},setAppScale(){const{allWidth:e,dom:t}=this,n=document.body.clientWidth;t.style.transform=`scale(${n/e})`},onResize(){const{setAppScale:e}=this;e()}}},Ti=Mi,Ei=(0,f.Z)(Ti,Si,ki,!1,null,null,null),Di=Ei.exports;function Pi(e){e.component(Di.name,Di)}var Oi=function(){var e=this,t=e._self._c;return t("div",{staticClass:"dv-loading"},[t("svg",{attrs:{width:"50px",height:"50px"}},[t("circle",{attrs:{cx:"25",cy:"25",r:"20",fill:"transparent","stroke-width":"3","stroke-dasharray":"31.415, 31.415",stroke:"#02bcfe","stroke-linecap":"round"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"0, 25 25;360, 25 25",dur:"1.5s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke",values:"#02bcfe;#3be6cb;#02bcfe",dur:"3s",repeatCount:"indefinite"}})],1),t("circle",{attrs:{cx:"25",cy:"25",r:"10",fill:"transparent","stroke-width":"3","stroke-dasharray":"15.7, 15.7",stroke:"#3be6cb","stroke-linecap":"round"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",values:"360, 25 25;0, 25 25",dur:"1.5s",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke",values:"#3be6cb;#02bcfe;#3be6cb",dur:"3s",repeatCount:"indefinite"}})],1)]),t("div",{staticClass:"loading-tip"},[e._t("default")],2)])},Ii=[],Ai={name:"DvLoading"},Li=Ai,Ni=(0,f.Z)(Li,Oi,Ii,!1,null,null,null),Ri=Ni.exports;function zi(e){e.component(Ri.name,Ri)}var $i=function(){var e=this,t=e._self._c;return t("div",{ref:"percent-pond",staticClass:"dv-percent-pond"},[t("svg",[t("defs",[t("linearGradient",{attrs:{id:e.gradientId1,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},e._l(e.linearGradient,(function(e){return t("stop",{key:e[0],attrs:{offset:`${e[0]}%`,"stop-color":e[1]}})})),1),t("linearGradient",{attrs:{id:e.gradientId2,x1:"0%",y1:"0%",x2:e.gradient2XPos,y2:"0%"}},e._l(e.linearGradient,(function(e){return t("stop",{key:e[0],attrs:{offset:`${e[0]}%`,"stop-color":e[1]}})})),1)],1),t("rect",{attrs:{x:e.mergedConfig?e.mergedConfig.borderWidth/2:"0",y:e.mergedConfig?e.mergedConfig.borderWidth/2:"0",rx:e.mergedConfig?e.mergedConfig.borderRadius:"0",ry:e.mergedConfig?e.mergedConfig.borderRadius:"0",fill:"transparent","stroke-width":e.mergedConfig?e.mergedConfig.borderWidth:"0",stroke:`url(#${e.gradientId1})`,width:e.rectWidth>0?e.rectWidth:0,height:e.rectHeight>0?e.rectHeight:0}}),t("polyline",{attrs:{"stroke-width":e.polylineWidth,"stroke-dasharray":e.mergedConfig?e.mergedConfig.lineDash.join(","):"0",stroke:`url(#${e.polylineGradient})`,points:e.points}}),t("text",{attrs:{stroke:e.mergedConfig?e.mergedConfig.textColor:"#fff",fill:e.mergedConfig?e.mergedConfig.textColor:"#fff",x:e.width/2,y:e.height/2}},[e._v(" "+e._s(e.details)+" ")])])])},Bi=[],Fi={name:"DvPercentPond",props:{config:{type:Object,default:()=>({})}},data(){const e=T();return{gradientId1:`percent-pond-gradientId1-${e}`,gradientId2:`percent-pond-gradientId2-${e}`,width:0,height:0,defaultConfig:{value:0,colors:["#3DE7C9","#00BAFF"],borderWidth:3,borderGap:3,lineDash:[5,1],textColor:"#fff",borderRadius:5,localGradient:!1,formatter:"{value}%"},mergedConfig:null}},computed:{rectWidth(){const{mergedConfig:e,width:t}=this;if(!e)return 0;const{borderWidth:n}=e;return t-n},rectHeight(){const{mergedConfig:e,height:t}=this;if(!e)return 0;const{borderWidth:n}=e;return t-n},points(){const{mergedConfig:e,width:t,height:n}=this,i=n/2;if(!e)return`0, ${i} 0, ${i}`;const{borderWidth:r,borderGap:o,value:a}=e,s=(t-2*(r+o))/100*a;return`\n ${r+o}, ${i}\n ${r+o+s}, ${i+.001}\n `},polylineWidth(){const{mergedConfig:e,height:t}=this;if(!e)return 0;const{borderWidth:n,borderGap:i}=e;return t-2*(n+i)},linearGradient(){const{mergedConfig:e}=this;if(!e)return[];const{colors:t}=e,n=t.length,i=100/(n-1);return t.map(((e,t)=>[i*t,e]))},polylineGradient(){const{gradientId1:e,gradientId2:t,mergedConfig:n}=this;return n&&n.localGradient?e:t},gradient2XPos(){const{mergedConfig:e}=this;if(!e)return"100%";const{value:t}=e;return 200-t+"%"},details(){const{mergedConfig:e}=this;if(!e)return"";const{value:t,formatter:n}=e;return n.replace("{value}",t)}},watch:{config(){const{mergeConfig:e}=this;e()}},methods:{async init(){const{initWH:e,config:t,mergeConfig:n}=this;await e(),t&&n()},async initWH(){const{$nextTick:e,$refs:t}=this;await e();const{clientWidth:n,clientHeight:i}=t["percent-pond"];this.width=n,this.height=i},mergeConfig(){const{config:e,defaultConfig:t}=this;this.mergedConfig=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||{})}},mounted(){const{init:e}=this;e()}},ji=Fi,Vi=(0,f.Z)(ji,$i,Bi,!1,null,null,null),Hi=Vi.exports;function Wi(e){e.component(Hi.name,Hi)}var Gi=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-scroll-board"},[e.header.length&&e.mergedConfig?t("div",{staticClass:"header",style:`background-color: ${e.mergedConfig.headerBGC};`},e._l(e.header,(function(n,i){return t("div",{key:`${n}${i}`,staticClass:"header-item",style:`\n height: ${e.mergedConfig.headerHeight}px;\n line-height: ${e.mergedConfig.headerHeight}px;\n width: ${e.widths[i]}px;\n `,attrs:{align:e.aligns[i]},domProps:{innerHTML:e._s(n)}})})),0):e._e(),e.mergedConfig?t("div",{staticClass:"rows",style:`height: ${e.height-(e.header.length?e.mergedConfig.headerHeight:0)}px;`},e._l(e.rows,(function(n,i){return t("div",{key:`${n.toString()}${n.scroll}`,staticClass:"row-item",style:`\n height: ${e.heights[i]}px;\n line-height: ${e.heights[i]}px;\n background-color: ${e.mergedConfig[n.rowIndex%2===0?"evenRowBGC":"oddRowBGC"]};\n `},e._l(n.ceils,(function(r,o){return t("div",{key:`${r}${i}${o}`,staticClass:"ceil",style:`width: ${e.widths[o]}px;`,attrs:{align:e.aligns[o]},domProps:{innerHTML:e._s(r)},on:{click:function(t){return e.emitEvent("click",i,o,n,r)},mouseenter:function(t){return e.handleHover(!0,i,o,n,r)},mouseleave:function(t){return e.handleHover(!1)}}})})),0)})),0):e._e()])},qi=[],Ui=(n(57658),{name:"DvScrollBoard",mixins:[E],props:{config:{type:Object,default:()=>({})}},data(){return{ref:"scroll-board",defaultConfig:{header:[],data:[],rowNum:5,headerBGC:"#00BAFF",oddRowBGC:"#003B51",evenRowBGC:"#0A2732",waitTime:2e3,headerHeight:35,columnWidth:[],align:[],index:!1,indexHeader:"#",carousel:"single",hoverPause:!0},mergedConfig:null,header:[],rowsData:[],rows:[],widths:[],heights:[],avgHeight:0,aligns:[],animationIndex:0,animationHandler:"",updater:0,needCalc:!1}},watch:{config(){const{stopAnimation:e,calcData:t}=this;e(),this.animationIndex=0,t()}},methods:{handleHover(e,t,n,i,r){const{mergedConfig:o,emitEvent:a,stopAnimation:s,animation:l}=this;e&&a("mouseover",t,n,i,r),o.hoverPause&&(e?s():l(!0))},afterAutoResizeMixinInit(){const{calcData:e}=this;e()},onResize(){const{mergedConfig:e,calcWidths:t,calcHeights:n}=this;e&&(t(),n())},calcData(){const{mergeConfig:e,calcHeaderData:t,calcRowsData:n}=this;e(),t(),n();const{calcWidths:i,calcHeights:r,calcAligns:o}=this;i(),r(),o();const{animation:a}=this;a(!0)},mergeConfig(){let{config:e,defaultConfig:t}=this;this.mergedConfig=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||{})},calcHeaderData(){let{header:e,index:t,indexHeader:n}=this.mergedConfig;e.length?(e=[...e],t&&e.unshift(n),this.header=e):this.header=[]},calcRowsData(){let{data:e,index:t,headerBGC:n,rowNum:i}=this.mergedConfig;t&&(e=e.map(((e,t)=>{e=[...e];const i=`<span class="index" style="background-color: ${n};">${t+1}</span>`;return e.unshift(i),e}))),e=e.map(((e,t)=>({ceils:e,rowIndex:t})));const r=e.length;r>i&&r<2*i&&(e=[...e,...e]),e=e.map(((e,t)=>({...e,scroll:t}))),this.rowsData=e,this.rows=e},calcWidths(){const{width:e,mergedConfig:t,rowsData:n}=this,{columnWidth:i,header:r}=t,o=i.reduce(((e,t)=>e+t),0);let a=0;n[0]?a=n[0].ceils.length:r.length&&(a=r.length);const s=(e-o)/(a-i.length),l=new Array(a).fill(s);this.widths=(0,u.deepMerge)(l,i)},calcHeights(e=!1){const{height:t,mergedConfig:n,header:i}=this,{headerHeight:r,rowNum:o,data:a}=n;let s=t;i.length&&(s-=r);const l=s/o;this.avgHeight=l,e||(this.heights=new Array(a.length).fill(l))},calcAligns(){const{header:e,mergedConfig:t}=this,n=e.length;let i=new Array(n).fill("left");const{align:r}=t;this.aligns=(0,u.deepMerge)(i,r)},async animation(e=!1){const{needCalc:t,calcHeights:n,calcRowsData:i}=this;t&&(i(),n(),this.needCalc=!1);let{avgHeight:r,animationIndex:o,mergedConfig:a,rowsData:s,animation:l,updater:u}=this;const{waitTime:c,carousel:h,rowNum:d}=a,f=s.length;if(d>=f)return;if(e&&(await new Promise((e=>setTimeout(e,c))),u!==this.updater))return;const p="single"===h?1:d;let g=s.slice(o);if(g.push(...s.slice(0,o)),this.rows=g.slice(0,"page"===h?2*d:d+1),this.heights=new Array(f).fill(r),await new Promise((e=>setTimeout(e,300))),u!==this.updater)return;this.heights.splice(0,p,...new Array(p).fill(0)),o+=p;const m=o-f;m>=0&&(o=m),this.animationIndex=o,this.animationHandler=setTimeout(l,c-300)},stopAnimation(){const{animationHandler:e,updater:t}=this;this.updater=(t+1)%999999,e&&clearTimeout(e)},emitEvent(e,t,n,i,r){const{ceils:o,rowIndex:a}=i;this.$emit(e,{row:o,ceil:r,rowIndex:a,columnIndex:n})},updateRows(e,t){const{mergedConfig:n,animationHandler:i,animation:r}=this;this.mergedConfig={...n,data:[...e]},this.needCalc=!0,"number"===typeof t&&(this.animationIndex=t),i||r(!0)}},destroyed(){const{stopAnimation:e}=this;e()}}),Yi=Ui,Xi=(0,f.Z)(Yi,Gi,qi,!1,null,null,null),Zi=Xi.exports;function Ki(e){e.component(Zi.name,Zi)}var Qi=function(){var e=this,t=e._self._c;return t("div",{ref:e.ref,staticClass:"dv-scroll-ranking-board"},e._l(e.rows,(function(n,i){return t("div",{key:n.toString()+n.scroll,staticClass:"row-item",style:`height: ${e.heights[i]}px;`},[t("div",{staticClass:"ranking-info"},[t("div",{staticClass:"rank"},[e._v("No."+e._s(n.ranking))]),t("div",{staticClass:"info-name",domProps:{innerHTML:e._s(n.name)}}),t("div",{staticClass:"ranking-value"},[e._v(e._s(e.mergedConfig.valueFormatter?e.mergedConfig.valueFormatter(n):n.value+e.mergedConfig.unit))])]),t("div",{staticClass:"ranking-column"},[t("div",{staticClass:"inside-column",style:`width: ${n.percent}%;`},[t("div",{staticClass:"shine"})])])])})),0)},Ji=[],er={name:"DvScrollRankingBoard",mixins:[E],props:{config:{type:Object,default:()=>({})}},data(){return{ref:"scroll-ranking-board",defaultConfig:{data:[],rowNum:5,waitTime:2e3,carousel:"single",unit:"",sort:!0,valueFormatter:null},mergedConfig:null,rowsData:[],rows:[],heights:[],animationIndex:0,animationHandler:"",updater:0}},watch:{config(){const{stopAnimation:e,calcData:t}=this;e(),t()}},methods:{afterAutoResizeMixinInit(){const{calcData:e}=this;e()},onResize(){const{mergedConfig:e,calcHeights:t}=this;e&&t(!0)},calcData(){const{mergeConfig:e,calcRowsData:t}=this;e(),t();const{calcHeights:n}=this;n();const{animation:i}=this;i(!0)},mergeConfig(){let{config:e,defaultConfig:t}=this;this.mergedConfig=(0,u.deepMerge)((0,c.deepClone)(t,!0),e||{})},calcRowsData(){let{data:e,rowNum:t,sort:n}=this.mergedConfig;n&&e.sort((({value:e},{value:t})=>e>t?-1:e<t?1:e===t?0:void 0));const i=e.map((({value:e})=>e)),r=Math.min(...i)||0,o=Math.abs(r),a=Math.max(...i)||0,s=(Math.abs(a),a+o);e=e.map(((e,t)=>({...e,ranking:t+1,percent:(e.value+o)/s*100})));const l=e.length;l>t&&l<2*t&&(e=[...e,...e]),e=e.map(((e,t)=>({...e,scroll:t}))),this.rowsData=e,this.rows=e},calcHeights(e=!1){const{height:t,mergedConfig:n}=this,{rowNum:i,data:r}=n,o=t/i;this.avgHeight=o,e||(this.heights=new Array(r.length).fill(o))},async animation(e=!1){let{avgHeight:t,animationIndex:n,mergedConfig:i,rowsData:r,animation:o,updater:a}=this;const{waitTime:s,carousel:l,rowNum:u}=i,c=r.length;if(u>=c)return;if(e&&(await new Promise((e=>setTimeout(e,s))),a!==this.updater))return;const h="single"===l?1:u;let d=r.slice(n);if(d.push(...r.slice(0,n)),this.rows=d.slice(0,u+1),this.heights=new Array(c).fill(t),await new Promise((e=>setTimeout(e,300))),a!==this.updater)return;this.heights.splice(0,h,...new Array(h).fill(0)),n+=h;const f=n-c;f>=0&&(n=f),this.animationIndex=n,this.animationHandler=setTimeout(o,s-300)},stopAnimation(){const{animationHandler:e,updater:t}=this;this.updater=(t+1)%999999,e&&clearTimeout(e)}},destroyed(){const{stopAnimation:e}=this;e()}},tr=er,nr=(0,f.Z)(tr,Qi,Ji,!1,null,null,null),ir=nr.exports;function rr(e){e.component(ir.name,ir)}var or=function(){var e=this,t=e._self._c;return t("div",{staticClass:"dv-water-pond-level"},[e.renderer?t("svg",[t("defs",[t("linearGradient",{attrs:{id:e.gradientId,x1:"0%",y1:"0%",x2:"0%",y2:"100%"}},e._l(e.svgBorderGradient,(function(e){return t("stop",{key:e[0],attrs:{offset:e[0],"stop-color":e[1]}})})),1)],1),e.renderer?t("text",{attrs:{stroke:`url(#${e.gradientId})`,fill:`url(#${e.gradientId})`,x:e.renderer.area[0]/2+8,y:e.renderer.area[1]/2+8}},[e._v(" "+e._s(e.details)+" ")]):e._e(),e.shape&&"round"!==e.shape?t("rect",{attrs:{x:"2",y:"2",rx:"roundRect"===e.shape?10:0,ry:"roundRect"===e.shape?10:0,width:e.renderer.area[0]+12,height:e.renderer.area[1]+12,stroke:`url(#${e.gradientId})`}}):t("ellipse",{attrs:{cx:e.renderer.area[0]/2+8,cy:e.renderer.area[1]/2+8,rx:e.renderer.area[0]/2+5,ry:e.renderer.area[1]/2+5,stroke:`url(#${e.gradientId})`}})]):e._e(),t("canvas",{ref:"water-pond-level",style:`border-radius: ${e.radius};`})])},ar=[],sr={name:"DvWaterLevelPond",props:{config:Object,default:()=>({})},data(){const e=T();return{gradientId:`water-level-pond-${e}`,defaultConfig:{data:[],shape:"rect",waveNum:3,waveHeight:40,waveOpacity:.4,colors:["#3DE7C9","#00BAFF"],formatter:"{value}%"},mergedConfig:{},renderer:null,svgBorderGradient:[],details:"",waves:[],animation:!1}},computed:{radius(){const{shape:e}=this.mergedConfig;return"round"===e?"50%":"rect"===e?"0":"roundRect"===e?"10px":"0"},shape(){const{shape:e}=this.mergedConfig;return e||"rect"}},watch:{config(){const{calcData:e,renderer:t}=this;t.delAllGraph(),this.waves=[],setTimeout(e,0)}},methods:{init(){const{initRender:e,config:t,calcData:n}=this;e(),t&&n()},initRender(){const{$refs:e}=this;this.renderer=new l["default"](e["water-pond-level"])},calcData(){const{mergeConfig:e,calcSvgBorderGradient:t,calcDetails:n}=this;e(),t(),n();const{addWave:i,animationWave:r}=this;i(),r()},mergeConfig(){const{config:e,defaultConfig:t}=this;this.mergedConfig=(0,u.deepMerge)((0,c.deepClone)(t,!0),e)},calcSvgBorderGradient(){const{colors:e}=this.mergedConfig,t=e.length,n=100/(t-1);this.svgBorderGradient=e.map(((e,t)=>[n*t,e]))},calcDetails(){const{data:e,formatter:t}=this.mergedConfig;if(!e.length)return void(this.details="");const n=Math.max(...e);this.details=t.replace("{value}",n)},addWave(){const{renderer:e,getWaveShapes:t,getWaveStyle:n,drawed:i}=this,r=t(),o=n();this.waves=r.map((t=>e.add({name:"smoothline",animationFrame:300,shape:t,style:o,drawed:i})))},getWaveShapes(){const{mergedConfig:e,renderer:t,mergeOffset:n}=this,{waveNum:i,waveHeight:r,data:o}=e,[a,s]=t.area,l=4*i+4,u=a/i/2;return o.map((e=>{let t=new Array(l).fill(0).map(((t,n)=>{const i=a-u*n,o=(1-e/100)*s,l=n%2===0?o:o-r;return[i,l]}));return t=t.map((e=>n(e,[2*u,0]))),{points:t}}))},mergeOffset([e,t],[n,i]){return[e+n,t+i]},getWaveStyle(){const{renderer:e,mergedConfig:t}=this,n=e.area[1];return{gradientColor:t.colors,gradientType:"linear",gradientParams:[0,0,0,n],gradientWith:"fill",opacity:t.waveOpacity,translate:[0,0]}},drawed({shape:{points:e}},{ctx:t,area:n}){const i=e[0],r=e.slice(-1)[0],o=n[1];t.lineTo(r[0],o),t.lineTo(i[0],o),t.closePath(),t.fill()},async animationWave(e=1){const{waves:t,renderer:n,animation:i}=this;if(i)return;this.animation=!0;const r=n.area[0];t.forEach((e=>{e.attr("style",{translate:[0,0]}),e.animation("style",{translate:[r,0]},!0)})),await n.launchAnimation(),this.animation=!1,n.graphs.length&&this.animationWave(e+1)}},mounted(){const{init:e}=this;e()},beforeDestroy(){const{renderer:e}=this;e.delAllGraph(),this.waves=[]}},lr=sr,ur=(0,f.Z)(lr,or,ar,!1,null,null,null),cr=ur.exports;function hr(e){e.component(cr.name,cr)}function dr(e){e.use(Pi),e.use(zi),e.use(A),e.use(ge),e.use(we),e.use(De),e.use(Re),e.use(He),e.use(Ze),e.use(it),e.use(ct),e.use(F),e.use(Y),e.use(te),e.use(le),e.use($t),e.use(fn),e.use(xn),e.use(Tn),e.use(Ln),e.use(jn),e.use(Yn),e.use(ti),e.use(li),e.use(Gt),e.use(Qt),e.use(an),e.use(St),e.use(x),e.use(vt),e.use(hr),e.use(Wi),e.use(mi),e.use(Ci),e.use(Ot),e.use(ui),e.use(Ki),e.use(rr)}},70664:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=t.easeInOutBounce=t.easeOutBounce=t.easeInBounce=t.easeInOutElastic=t.easeOutElastic=t.easeInElastic=t.easeInOutBack=t.easeOutBack=t.easeInBack=t.easeInOutQuint=t.easeOutQuint=t.easeInQuint=t.easeInOutQuart=t.easeOutQuart=t.easeInQuart=t.easeInOutCubic=t.easeOutCubic=t.easeInCubic=t.easeInOutQuad=t.easeOutQuad=t.easeInQuad=t.easeInOutSine=t.easeOutSine=t.easeInSine=t.linear=void 0;var n=[[[0,1],"",[.33,.67]],[[1,0],[.67,.33]]];t.linear=n;var i=[[[0,1]],[[.538,.564],[.169,.912],[.88,.196]],[[1,0]]];t.easeInSine=i;var r=[[[0,1]],[[.444,.448],[.169,.736],[.718,.16]],[[1,0]]];t.easeOutSine=r;var o=[[[0,1]],[[.5,.5],[.2,1],[.8,0]],[[1,0]]];t.easeInOutSine=o;var a=[[[0,1]],[[.55,.584],[.231,.904],[.868,.264]],[[1,0]]];t.easeInQuad=a;var s=[[[0,1]],[[.413,.428],[.065,.816],[.76,.04]],[[1,0]]];t.easeOutQuad=s;var l=[[[0,1]],[[.5,.5],[.3,.9],[.7,.1]],[[1,0]]];t.easeInOutQuad=l;var u=[[[0,1]],[[.679,.688],[.366,.992],[.992,.384]],[[1,0]]];t.easeInCubic=u;var c=[[[0,1]],[[.321,.312],[.008,.616],[.634,.008]],[[1,0]]];t.easeOutCubic=c;var h=[[[0,1]],[[.5,.5],[.3,1],[.7,0]],[[1,0]]];t.easeInOutCubic=h;var d=[[[0,1]],[[.812,.74],[.611,.988],[1.013,.492]],[[1,0]]];t.easeInQuart=d;var f=[[[0,1]],[[.152,.244],[.001,.448],[.285,-.02]],[[1,0]]];t.easeOutQuart=f;var p=[[[0,1]],[[.5,.5],[.4,1],[.6,0]],[[1,0]]];t.easeInOutQuart=p;var g=[[[0,1]],[[.857,.856],[.714,1],[1,.712]],[[1,0]]];t.easeInQuint=g;var m=[[[0,1]],[[.108,.2],[.001,.4],[.214,-.012]],[[1,0]]];t.easeOutQuint=m;var v=[[[0,1]],[[.5,.5],[.5,1],[.5,0]],[[1,0]]];t.easeInOutQuint=v;var y=[[[0,1]],[[.667,.896],[.38,1.184],[.955,.616]],[[1,0]]];t.easeInBack=y;var b=[[[0,1]],[[.335,.028],[.061,.22],[.631,-.18]],[[1,0]]];t.easeOutBack=b;var x=[[[0,1]],[[.5,.5],[.4,1.4],[.6,-.4]],[[1,0]]];t.easeInOutBack=x;var _=[[[0,1]],[[.474,.964],[.382,.988],[.557,.952]],[[.619,1.076],[.565,1.088],[.669,1.08]],[[.77,.916],[.712,.924],[.847,.904]],[[.911,1.304],[.872,1.316],[.961,1.34]],[[1,0]]];t.easeInElastic=_;var w=[[[0,1]],[[.073,-.32],[.034,-.328],[.104,-.344]],[[.191,.092],[.11,.06],[.256,.08]],[[.31,-.076],[.26,-.068],[.357,-.076]],[[.432,.032],[.362,.028],[.683,-.004]],[[1,0]]];t.easeOutElastic=w;var C=[[[0,1]],[[.21,.94],[.167,.884],[.252,.98]],[[.299,1.104],[.256,1.092],[.347,1.108]],[[.5,.496],[.451,.672],[.548,.324]],[[.696,-.108],[.652,-.112],[.741,-.124]],[[.805,.064],[.756,.012],[.866,.096]],[[1,0]]];t.easeInOutElastic=C;var S=[[[0,1]],[[.148,1],[.075,.868],[.193,.848]],[[.326,1],[.276,.836],[.405,.712]],[[.6,1],[.511,.708],[.671,.348]],[[1,0]]];t.easeInBounce=S;var k=[[[0,1]],[[.357,.004],[.27,.592],[.376,.252]],[[.604,-.004],[.548,.312],[.669,.184]],[[.82,0],[.749,.184],[.905,.132]],[[1,0]]];t.easeOutBounce=k;var M=[[[0,1]],[[.102,1],[.05,.864],[.117,.86]],[[.216,.996],[.208,.844],[.227,.808]],[[.347,.996],[.343,.8],[.48,.292]],[[.635,.004],[.511,.676],[.656,.208]],[[.787,0],[.76,.2],[.795,.144]],[[.905,-.004],[.899,.164],[.944,.144]],[[1,0]]];t.easeInOutBounce=M;var T=new Map([["linear",n],["easeInSine",i],["easeOutSine",r],["easeInOutSine",o],["easeInQuad",a],["easeOutQuad",s],["easeInOutQuad",l],["easeInCubic",u],["easeOutCubic",c],["easeInOutCubic",h],["easeInQuart",d],["easeOutQuart",f],["easeInOutQuart",p],["easeInQuint",g],["easeOutQuint",m],["easeInOutQuint",v],["easeInBack",y],["easeOutBack",b],["easeInOutBack",x],["easeInElastic",_],["easeOutElastic",w],["easeInOutElastic",C],["easeInBounce",S],["easeOutBounce",k],["easeInOutBounce",M]]);t["default"]=T},44037:function(e,t,n){"use strict";var i=n(63965);Object.defineProperty(t,"__esModule",{value:!0}),t.transition=l,t.injectNewCurve=_,t["default"]=void 0;var r=i(n(99621)),o=i(n(54614)),a=i(n(70664)),s="linear";function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!u.apply(void 0,arguments))return!1;try{var o=c(e),a=h(o,i);return r&&"number"!==typeof n?x(t,n,a):m(t,n,a)}catch(s){return console.warn("Transition parameter may be abnormal!"),[n]}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30;if(!e||!1===t||!1===n||!i)return console.error("transition: Missing Parameters!"),!1;if((0,o["default"])(t)!==(0,o["default"])(n))return console.error("transition: Inconsistent Status Types!"),!1;var r=(0,o["default"])(n);return"string"!==r&&"boolean"!==r&&e.length?(a["default"].has(e)||e instanceof Array||console.warn("transition: Transition curve not found, default curve will be used!"),!0):(console.error("transition: Unsupported Data Type of State!"),!1)}function c(e){var t="";return t=a["default"].has(e)?a["default"].get(e):e instanceof Array?e:a["default"].get(s),t}function h(e,t){var n=1/(t-1),i=new Array(t).fill(0).map((function(e,t){return t*n})),r=i.map((function(t){return d(e,t)}));return r}function d(e,t){var n=f(e,t),i=p(n,t);return g(n,i)}function f(e,t){var n=e.length-1,i="",r="";e.findIndex((function(o,a){if(a!==n){i=o,r=e[a+1];var s=i[0][0],l=r[0][0];return t>=s&&t<l}}));var o=i[0],a=i[2]||i[0],s=r[1]||r[0],l=r[0];return[o,a,s,l]}function p(e,t){var n=e[0][0],i=e[3][0],r=i-n,o=t-n;return o/r}function g(e,t){var n=(0,r["default"])(e,4),i=(0,r["default"])(n[0],2),o=i[1],a=(0,r["default"])(n[1],2),s=a[1],l=(0,r["default"])(n[2],2),u=l[1],c=(0,r["default"])(n[3],2),h=c[1],d=Math.pow,f=1-t,p=o*d(f,3),g=3*s*t*d(f,2),m=3*u*d(t,2)*f,v=h*d(t,3);return 1-(p+g+m+v)}function m(e,t,n){var i="object";return"number"===typeof e&&(i="number"),e instanceof Array&&(i="array"),"number"===i?v(e,t,n):"array"===i?y(e,t,n):"object"===i?b(e,t,n):n.map((function(e){return t}))}function v(e,t,n){var i=t-e;return n.map((function(t){return e+i*t}))}function y(e,t,n){var i=t.map((function(t,n){return"number"===typeof t&&t-e[n]}));return n.map((function(n){return i.map((function(i,r){return!1===i?t[r]:e[r]+i*n}))}))}function b(e,t,n){var i=Object.keys(t),r=i.map((function(t){return e[t]})),o=i.map((function(e){return t[e]})),a=y(r,o,n);return a.map((function(e){var t={};return e.forEach((function(e,n){return t[i[n]]=e})),t}))}function x(e,t,n){var i=m(e,t,n),r=function(r){var a=e[r],s=t[r];if("object"!==(0,o["default"])(s))return"continue";var l=x(a,s,n);i.forEach((function(e,t){return e[r]=l[t]}))};for(var a in t)r(a);return i}function _(e,t){e&&t?a["default"].set(e,t):console.error("InjectNewCurve Missing Parameters!")}var w=l;t["default"]=w},62480:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return he}});n(57658);var i=n(88140),r=n(36332),o=/%[sdj%]/g,a=function(){};function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=1,r=t[0],a=t.length;if("function"===typeof r)return r.apply(null,t.slice(1));if("string"===typeof r){for(var s=String(r).replace(o,(function(e){if("%%"===e)return"%";if(i>=a)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(n){return"[Circular]"}break;default:return e}})),l=t[i];i<a;l=t[++i])s+=" "+l;return s}return r}function l(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}function u(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!l(t)||"string"!==typeof e||e))}function c(e,t,n){var i=[],r=0,o=e.length;function a(e){i.push.apply(i,e),r++,r===o&&n(i)}e.forEach((function(e){t(e,a)}))}function h(e,t,n){var i=0,r=e.length;function o(a){if(a&&a.length)n(a);else{var s=i;i+=1,s<r?t(e[s],o):n([])}}o([])}function d(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n])})),t}function f(e,t,n,i){if(t.first){var r=d(e);return h(r,n,i)}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,l=0,u=[],f=function(e){u.push.apply(u,e),l++,l===s&&i(u)};a.forEach((function(t){var i=e[t];-1!==o.indexOf(t)?h(i,n,f):c(i,n,f)}))}function p(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:t,field:t.field||e.fullField}}}function g(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];"object"===("undefined"===typeof o?"undefined":(0,r.Z)(o))&&"object"===(0,r.Z)(e[n])?e[n]=(0,i.Z)({},e[n],o):e[n]=o}return e}function m(e,t,n,i,r,o){!e.required||n.hasOwnProperty(e.field)&&!u(t,o||e.type)||i.push(s(r.messages.required,e.fullField))}var v=m;function y(e,t,n,i,r){(/^\s+$/.test(t)||""===t)&&i.push(s(r.messages.whitespace,e.fullField))}var b=y,x={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_={integer:function(e){return _.number(e)&&parseInt(e,10)===e},float:function(e){return _.number(e)&&!_.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===("undefined"===typeof e?"undefined":(0,r.Z)(e))&&!_.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(x.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(x.url)},hex:function(e){return"string"===typeof e&&!!e.match(x.hex)}};function w(e,t,n,i,o){if(e.required&&void 0===t)v(e,t,n,i,o);else{var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=e.type;a.indexOf(l)>-1?_[l](t)||i.push(s(o.messages.types[l],e.fullField,e.type)):l&&("undefined"===typeof t?"undefined":(0,r.Z)(t))!==e.type&&i.push(s(o.messages.types[l],e.fullField,e.type))}}var C=w;function S(e,t,n,i,r){var o="number"===typeof e.len,a="number"===typeof e.min,l="number"===typeof e.max,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,h=null,d="number"===typeof t,f="string"===typeof t,p=Array.isArray(t);if(d?h="number":f?h="string":p&&(h="array"),!h)return!1;p&&(c=t.length),f&&(c=t.replace(u,"_").length),o?c!==e.len&&i.push(s(r.messages[h].len,e.fullField,e.len)):a&&!l&&c<e.min?i.push(s(r.messages[h].min,e.fullField,e.min)):l&&!a&&c>e.max?i.push(s(r.messages[h].max,e.fullField,e.max)):a&&l&&(c<e.min||c>e.max)&&i.push(s(r.messages[h].range,e.fullField,e.min,e.max))}var k=S,M="enum";function T(e,t,n,i,r){e[M]=Array.isArray(e[M])?e[M]:[],-1===e[M].indexOf(t)&&i.push(s(r.messages[M],e.fullField,e[M].join(", ")))}var E=T;function D(e,t,n,i,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||i.push(s(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||i.push(s(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var P=D,O={required:v,whitespace:b,type:C,range:k,enum:E,pattern:P};function I(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t,"string")&&!e.required)return n();O.required(e,t,i,o,r,"string"),u(t,"string")||(O.type(e,t,i,o,r),O.range(e,t,i,o,r),O.pattern(e,t,i,o,r),!0===e.whitespace&&O.whitespace(e,t,i,o,r))}n(o)}var A=I;function L(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();O.required(e,t,i,o,r),void 0!==t&&O.type(e,t,i,o,r)}n(o)}var N=L;function R(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();O.required(e,t,i,o,r),void 0!==t&&(O.type(e,t,i,o,r),O.range(e,t,i,o,r))}n(o)}var z=R;function $(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();O.required(e,t,i,o,r),void 0!==t&&O.type(e,t,i,o,r)}n(o)}var B=$;function F(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();O.required(e,t,i,o,r),u(t)||O.type(e,t,i,o,r)}n(o)}var j=F;function V(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();O.required(e,t,i,o,r),void 0!==t&&(O.type(e,t,i,o,r),O.range(e,t,i,o,r))}n(o)}var H=V;function W(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();O.required(e,t,i,o,r),void 0!==t&&(O.type(e,t,i,o,r),O.range(e,t,i,o,r))}n(o)}var G=W;function q(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t,"array")&&!e.required)return n();O.required(e,t,i,o,r,"array"),u(t,"array")||(O.type(e,t,i,o,r),O.range(e,t,i,o,r))}n(o)}var U=q;function Y(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();O.required(e,t,i,o,r),void 0!==t&&O.type(e,t,i,o,r)}n(o)}var X=Y,Z="enum";function K(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();O.required(e,t,i,o,r),t&&O[Z](e,t,i,o,r)}n(o)}var Q=K;function J(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t,"string")&&!e.required)return n();O.required(e,t,i,o,r),u(t,"string")||O.pattern(e,t,i,o,r)}n(o)}var ee=J;function te(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(u(t)&&!e.required)return n();if(O.required(e,t,i,o,r),!u(t)){var s=void 0;s="number"===typeof t?new Date(t):t,O.type(e,s,i,o,r),s&&O.range(e,s.getTime(),i,o,r)}}n(o)}var ne=te;function ie(e,t,n,i,o){var a=[],s=Array.isArray(t)?"array":"undefined"===typeof t?"undefined":(0,r.Z)(t);O.required(e,t,i,a,o,s),n(a)}var re=ie;function oe(e,t,n,i,r){var o=e.type,a=[],s=e.required||!e.required&&i.hasOwnProperty(e.field);if(s){if(u(t,o)&&!e.required)return n();O.required(e,t,i,a,r,o),u(t,o)||O.type(e,t,i,a,r)}n(a)}var ae=oe,se={string:A,method:N,number:z,boolean:B,regexp:j,integer:H,float:G,array:U,object:X,enum:Q,pattern:ee,date:ne,url:ae,hex:ae,email:ae,required:re};function le(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var ue=le();function ce(e){this.rules=null,this._messages=ue,this.define(e)}ce.prototype={messages:function(e){return e&&(this._messages=g(le(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof e?"undefined":(0,r.Z)(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments[2],l=e,u=n,c=o;if("function"===typeof u&&(c=u,u={}),this.rules&&0!==Object.keys(this.rules).length){if(u.messages){var h=this.messages();h===ue&&(h=le()),g(h,u.messages),u.messages=h}else u.messages=this.messages();var d=void 0,m=void 0,v={},y=u.keys||Object.keys(this.rules);y.forEach((function(n){d=t.rules[n],m=l[n],d.forEach((function(r){var o=r;"function"===typeof o.transform&&(l===e&&(l=(0,i.Z)({},l)),m=l[n]=o.transform(m)),o="function"===typeof o?{validator:o}:(0,i.Z)({},o),o.validator=t.getValidationMethod(o),o.field=n,o.fullField=o.fullField||n,o.type=t.getType(o),o.validator&&(v[n]=v[n]||[],v[n].push({rule:o,value:m,source:l,field:n}))}))}));var b={};f(v,u,(function(e,t){var n=e.rule,o=("object"===n.type||"array"===n.type)&&("object"===(0,r.Z)(n.fields)||"object"===(0,r.Z)(n.defaultField));function l(e,t){return(0,i.Z)({},t,{fullField:n.fullField+"."+e})}function c(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=r;if(Array.isArray(c)||(c=[c]),c.length&&a("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map(p(n)),u.first&&c.length)return b[n.field]=1,t(c);if(o){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map(p(n)):u.error?[u.error(n,s(u.messages.required,n.field))]:[],t(c);var h={};if(n.defaultField)for(var d in e.value)e.value.hasOwnProperty(d)&&(h[d]=n.defaultField);for(var f in h=(0,i.Z)({},h,e.rule.fields),h)if(h.hasOwnProperty(f)){var g=Array.isArray(h[f])?h[f]:[h[f]];h[f]=g.map(l.bind(null,f))}var m=new ce(h);m.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),m.validate(e.value,e.rule.options||u,(function(e){t(e&&e.length?c.concat(e):e)}))}else t(c)}o=o&&(n.required||!n.required&&e.value),n.field=e.field;var h=n.validator(n,e.value,c,e.source,u);h&&h.then&&h.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){x(e)}))}else c&&c();function x(e){var t=void 0,n=void 0,i=[],r={};function o(e){Array.isArray(e)?i=i.concat.apply(i,e):i.push(e)}for(t=0;t<e.length;t++)o(e[t]);if(i.length)for(t=0;t<i.length;t++)n=i[t].field,r[n]=r[n]||[],r[n].push(i[t]);else i=null,r=null;c(i,r)}},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!se.hasOwnProperty(e.type))throw new Error(s("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?se.required:se[this.getType(e)]||!1}},ce.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");se[e]=t},ce.messages=ue;var he=ce},58737:function(e){var t=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,i){var r,o,a,s,l;for(a in i)if(r=e[a],o=i[a],r&&t.test(a))if("class"===a&&("string"===typeof r&&(l=r,e[a]=r={},r[l]=!0),"string"===typeof o&&(l=o,i[a]=o={},o[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)r[s]=n(r[s],o[s]);else if(Array.isArray(r))e[a]=r.concat(o);else if(Array.isArray(o))e[a]=[r].concat(o);else for(s in o)r[s]=o[s];else e[a]=i[a];return e}),{})}},84792:function(e,t,n){e.exports={default:n(88077),__esModule:!0}},91328:function(e,t,n){e.exports={default:n(99583),__esModule:!0}},25734:function(e,t,n){e.exports={default:n(3276),__esModule:!0}},88140:function(e,t,n){"use strict";var i=n(84792),r=o(i);function o(e){return e&&e.__esModule?e:{default:e}}t.Z=r.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}},36332:function(e,t,n){"use strict";var i=n(25734),r=l(i),o=n(91328),a=l(o),s="function"===typeof a.default&&"symbol"===typeof r.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.Z="function"===typeof a.default&&"symbol"===s(r.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},15477:function(e,t,n){"use strict";var i=n(8692),r=n(81542),o=r(i("String.prototype.indexOf"));e.exports=function(e,t){var n=i(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?r(n):n}},81542:function(e,t,n){"use strict";var i=n(49148),r=n(8692),o=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||i.call(a,o),l=r("%Object.getOwnPropertyDescriptor%",!0),u=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(u)try{u({},"a",{value:1})}catch(d){u=null}e.exports=function(e){var t=s(i,a,arguments);if(l&&u){var n=l(t,"length");n.configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var h=function(){return s(i,o,arguments)};u?u(e.exports,"apply",{value:h}):e.exports.apply=h},42143:function(e,t,n){"use strict";n.d(t,{ZP:function(){return st}});n(57658),n(82801),n(1439),n(87585),n(55315);const i={position:"absolute",left:"0",top:"0",userSelect:"none",outlineStyle:"none",width:"100%",height:"100%"};function r(e){e.stopPropagation()}function o(e){e.addEventListener("click",r),e.addEventListener("mousedown",r),e.addEventListener("mouseup",r),e.addEventListener("mousemove",r)}class a{constructor(e){this.adapter=e,this.updateOnRenderEnabled=!1,this.updateOnRenderOnceEnabled=!1,this.updateOnRenderOnce=()=>{this.updateOnRenderOnceEnabled||(this.updateOnRenderOnceEnabled=!0,this.cy.one("render",(()=>{this.updateOnRenderOnceEnabled=!1,this.update()})))}}inVisibleBounds(e){return this.adapter.inVisibleBounds(e)}supportsRender(){return!1}renderInto(e){}get updateOnRender(){return this.updateOnRenderEnabled}set updateOnRender(e){this.updateOnRenderEnabled!==e&&(this.updateOnRenderEnabled=e,e?this.cy.on("render",this.update):this.cy.off("render",this.update))}get cy(){return this.adapter.cy}moveUp(){this.adapter.move(this,-1)}moveDown(){this.adapter.move(this,1)}moveBack(){this.adapter.move(this,Number.NEGATIVE_INFINITY)}moveFront(){this.adapter.move(this,Number.POSITIVE_INFINITY)}insertBefore(e,t){return this.adapter.insert("before",this,e,t)}insertAfter(e,t){return this.adapter.insert("after",this,e,t)}}class s extends a{constructor(e,t){super(e),this.callbacks=[],this.update=()=>{for(const e of this.callbacks)e(this.node)},this.root=t,Object.assign(this.root.style,i)}get visible(){return"none"!==this.root.style.display}set visible(e){this.visible!==e&&(this.root.style.display=e?"":"none")}show(){this.visible=!0}hide(){this.visible=!1}callback(e){return this.callbacks.push(e),this.update(),this}resize(){}remove(){this.root.remove()}}const l="http://www.w3.org/2000/svg";class u extends s{constructor(e,t,n={}){super(e,t.createElementNS(l,"svg")),this.type="svg",this.updateOnTransform=!1,this.root.__cy_layer=this,this.node=t.createElementNS(l,"g"),this.node.__cy_layer=this,this.root.appendChild(this.node),n.stopClicks&&o(this.node)}setViewport(e,t,n){this.node.setAttribute("transform",`translate(${e},${t})scale(${n})`),this.updateOnTransform&&this.update()}supportsRender(){return 0===this.node.childElementCount}}class c extends s{constructor(e,t,n={}){super(e,t.createElementNS(l,"svg")),this.type="svg-static",this.root.__cy_layer=this,this.node=t.createElementNS(l,"g"),this.node.__cy_layer=this,this.root.appendChild(this.node),n.stopClicks&&o(this.node)}setViewport(){}}class h extends a{constructor(e,t,n={}){var r,a;super(e),this.callbacks=[],this.transform={tx:0,ty:0,zoom:1},this.update=()=>this.draw(),this.node=t.createElement("canvas"),Object.assign(this.node.style,i),n.stopClicks&&o(this.node),this.pixelRatio=null!==(a=null!==(r=n.pixelRatio)&&void 0!==r?r:(null!==window&&void 0!==window?window:{}).devicePixelRatio)&&void 0!==a?a:1,this.ctx=this.node.getContext("2d",n),this.ctx.resetTransform()}get visible(){return"none"!==this.node.style.display}set visible(e){this.node.style.display=e?"":"none"}show(){this.visible=!0}hide(){this.visible=!1}get root(){return this.node}callback(e){return this.callbacks.push(e),this.update(),this}clear(){const e=this.ctx,t=e.getTransform();e.resetTransform(),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.setTransform(t)}draw(){this.clear(),this.drawImpl(this.ctx)}drawImpl(e,t=1){e.save(),e.resetTransform(),e.scale(this.pixelRatio,this.pixelRatio),e.translate(this.transform.tx*t,this.transform.ty*t),e.scale(this.transform.zoom*t,this.transform.zoom*t);for(const n of this.callbacks)n(e,{});e.restore()}supportsRender(){return!0}renderInto(e){for(const t of this.callbacks)t(e,{forExport:!0})}resize(e,t){this.node.width=e*this.pixelRatio,this.node.height=t*this.pixelRatio,this.update()}setViewport(e,t,n){}remove(){this.node.remove()}}class d extends h{constructor(e,t,n={}){super(e,t,n),this.type="canvas",this.node.__cy_layer=this}setViewport(e,t,n){this.transform.tx=e,this.transform.ty=t,this.transform.zoom=n,this.update()}}class f extends h{constructor(e,t,n={}){super(e,t,n),this.type="canvas-static",this.node.__cy_layer=this}}class p extends s{constructor(e,t,n={}){super(e,t.createElement("div")),this.type="html",this.updateOnTransform=!1,this.root.__cy_layer=this,this.node=t.createElement("div"),this.node.__cy_layer=this,this.node.style.position="absolute",this.node.style.left="0px",this.node.style.top="0px",this.root.appendChild(this.node),n.stopClicks&&o(this.node)}setViewport(e,t,n){this.node.style.transform=`translate(${e}px,${t}px)scale(${n})`,this.updateOnTransform&&this.update()}supportsRender(){return 0===this.node.childElementCount}}class g extends s{constructor(e,t,n={}){super(e,t.createElement("div")),this.type="html-static",this.node.__cy_layer=this,n.stopClicks&&o(this.node)}get node(){return this.root}setViewport(){}}class m extends a{constructor(e,t){super(e),this.update=()=>{},this.node=t}get root(){return this.node}resize(){}setViewport(){}remove(){}supportsRender(){return!0}}class v extends m{constructor(e,t){super(e,t),this.type="node",this.node.__cy_layer=this}}class y extends m{constructor(e,t){super(e,t),this.type="drag",this.node.__cy_layer=this}}class b extends m{constructor(e,t){super(e,t),this.type="select-box",this.node.__cy_layer=this}}function x(e,t,n){const i=Array.from(e.children);if(!n.uniqueElements){t.forEach((t=>{if(t.removed())return;const r=n.bb(t);if(n.isVisible(r))if(i.length>0)n.update(i.shift(),t,r);else{const i=n.enter(t,r);e.appendChild(i),n.update(i,t,r)}}));for(const e of i)e.remove();return}const r=new Map(i.map((e=>[e.dataset.id,e])));let o=-1;t.forEach((t=>{if(t.removed())return;const a=n.bb(t);if(!n.isVisible(a))return;o++;const s=t.id(),l=i[o],u=r.get(s);let c;if(u){if(n.update(u,t,a),r.delete(s),l===u)return;c=u}else c=n.enter(t,a),c.dataset.id=s,n.update(c,t,a);0===o?e.insertAdjacentElement("afterbegin",c):i[o-1].insertAdjacentElement("afterend",c),i.splice(o,0,c)})),r.forEach((e=>e.remove()))}function _(e,t){return e.callback(t),{remove:()=>{e.callbacks.splice(e.callbacks.indexOf(t),1)}}}function w(e){return{selector:":visible",updateOn:null!=e&&e.queryEachTime?"render":"position",queryEachTime:!1,checkBounds:!0}}function C(e,t,n){const i=Object.assign({checkBoundsPointCount:5,initCollection:()=>{}},w(n),n);let r=e.cy.collection(),o=!1;const a=()=>{o||(o=!0,e.cy.one("render",(()=>{o=!1,r=s(r),e.update()})))},s=t=>{"none"!==i.updateOn&&"render"!==i.updateOn&&(t.off(i.updateOn,void 0,e.updateOnRenderOnce),t.sources().off(i.updateOn,void 0,e.updateOnRenderOnce),t.targets().off(i.updateOn,void 0,e.updateOnRenderOnce));const n=e.cy.edges(i.selector);return i.initCollection(n),"none"!==i.updateOn&&"render"!==i.updateOn&&(n.on(i.updateOn,e.updateOnRenderOnce),n.sources().on(i.updateOn,e.updateOnRenderOnce),n.targets().on(i.updateOn,e.updateOnRenderOnce)),e.updateOnRenderOnce(),n};"render"===i.updateOn&&(e.updateOnRender=!0),i.queryEachTime||(r=s(r),e.cy.on("add remove",i.selector,a));const l=(n,o)=>{i.queryEachTime&&(r=s(r)),r.forEach((r=>{if(r.removed())return;const a=r._private.rscratch,s=a&&null!=a.startX&&null!=a.startY?{x:a.startX,y:a.startY}:r.sourceEndpoint(),l=a&&null!=a.endX&&null!=a.endY?{x:a.endX,y:a.endY}:r.targetEndpoint();if(!o.forExport&&i.checkBounds&&i.checkBoundsPointCount>0&&!S(e,s,l,i.checkBoundsPointCount))return;if(a&&a.pathCache)return void t(n,r,a.pathCache,s,l);const u=new Path2D;u.moveTo(s.x,s.y),u.lineTo(l.x,l.y),t(n,r,u,s,l)}))},u=_(e,l);return{layer:e,edges:r,remove:()=>{"none"!==i.updateOn&&"render"!==i.updateOn&&(r.off(i.updateOn,void 0,e.updateOnRenderOnce),r.sources().off(i.updateOn,void 0,e.updateOnRenderOnce),r.targets().off(i.updateOn,void 0,e.updateOnRenderOnce)),e.cy.off("add remove",i.selector,a),u.remove()}}}function S(e,t,n,i){const r=e=>({x:t.x*e+n.x*(1-e),y:t.y*e+n.y*(1-e)});if(1===i)return e.inVisibleBounds(r(.5));const o=1/i;for(let a=0;a<=i;a++)if(e.inVisibleBounds(r(a*o)))return!0;return!1}function k(e,t,n={}){const i=Object.assign({transform:"",position:"top-left",boundingBox:{includeLabels:!1,includeOverlays:!1},uniqueElements:!1,initCollection:()=>{}},w(n),n);let r=e.cy.collection(),o=!1;const a=()=>{o||(o=!0,e.cy.one("render",(()=>{o=!1,r=s(r),e.update()})))},s=t=>{"none"!==i.updateOn&&"render"!==i.updateOn&&t.off(i.updateOn,void 0,e.updateOnRenderOnce);const n=e.cy.nodes(i.selector);return i.initCollection(n),"none"!==i.updateOn&&"render"!==i.updateOn&&n.on(i.updateOn,e.updateOnRenderOnce),e.updateOnRenderOnce(),n};"render"===i.updateOn&&(e.updateOnRender=!0),i.queryEachTime||(r=s(r),e.cy.on("add remove",i.selector,a));const u=t=>({layer:e,nodes:r,remove:()=>{"none"!==i.updateOn&&"render"!==i.updateOn&&r.off(i.updateOn,void 0,e.updateOnRenderOnce),e.cy.off("add remove",i.selector,a),t.remove()}});if("canvas"===e.type){const n=i,o=(o,a)=>{const l=o.getTransform();i.queryEachTime&&(r=s(r)),r.forEach((r=>{if(r.removed())return;const s=r.boundingBox(i.boundingBox);if(a.forExport||!n.checkBounds||e.inVisibleBounds(s)){if("top-left"===n.position)o.translate(s.x1,s.y1);else if("center"===n.position){const e=r.position();o.translate(e.x,e.y)}t(o,r,s),"none"!==n.position&&o.setTransform(l)}}))};return u(_(e,o))}const c=i,h={bb:e=>e.boundingBox(c.boundingBox),isVisible:c.checkBounds?t=>e.inVisibleBounds(t):()=>!0,uniqueElements:!0===c.uniqueElements};if(c.checkBounds&&(e.updateOnTransform=!0),"html"===e.type){const n={...h,enter:(t,n)=>{const i=e.node.ownerDocument.createElement("div");return i.style.position="absolute",c.init&&c.init(i,t,n),i},update:(e,n,i)=>{if("top-left"===c.position)e.style.transform=`${c.transform}translate3d(${i.x1}px,${i.y1}px,0)`;else if("center"===c.position){const t=n.position();e.style.transform=`${c.transform}translate3d(${t.x}px,${t.y}px,0)`}t(e,n,i)}},o=e=>{i.queryEachTime&&(r=s(r)),x(e,r,n)};return u(_(e,o))}const d={...h,enter:(t,n)=>{const i=e.node.ownerDocument.createElementNS(l,"g");return c.init&&c.init(i,t,n),i},update:(e,n,i)=>{if("top-left"===c.position)e.setAttribute("transform",`${c.transform}translate3d(${i.x1},${i.y1},0)`);else if("center"===c.position){const t=n.position();e.setAttribute("transform",`${c.transform}translate3d(${t.x},${t.y},0)`)}t(e,n,i)}},f=e=>{i.queryEachTime&&(r=s(r)),x(e,r,d)};return u(_(e,f))}function M(e,t){const n=atob(e),i=new ArrayBuffer(n.length),r=new Uint8Array(i);for(let o=0;o<n.length;o++)r[o]=n.charCodeAt(o);return new Blob([i],{type:t})}function T(e){const t=e.indexOf(",");return e.substring(t+1)}function E(e,t,n){const i=function(){return t.toDataURL(n,e.quality)};switch(e.output){case"blob-promise":return new Promise(((i,r)=>{try{t.toBlob((function(e){null!=e?i(e):r(new Error("`canvas.toBlob()` sent a null value in its callback"))}),n,e.quality)}catch(o){r(o)}}));case"blob":return M(T(i()),n);case"base64":return T(i());case"base64uri":default:return i()}}function D(e){return null!=e.x}class P extends Error{}class O{constructor(e){this.bak={},this.resize=()=>{const e=this.cy.width(),t=this.cy.height();this.viewport.width=e,this.viewport.height=t;for(const n of this.layers)n.resize(e,t)},this.destroy=()=>{for(const e of this.layers)e.remove();this.cy.off("destroy",this.destroy),this.cy.off("viewport",this.zoomed),this.cy.off("resize",this.resize),this.cy.scratch("_layers",void 0),this.cy.png=this.bak.png,this.cy.jpg=this.bak.jpg,this.cy.jpeg=this.bak.jpeg,this.bak={}},this.zoomed=()=>{const e=this.cy.pan(),t=this.cy.zoom();this.viewport.tx=e.x,this.viewport.ty=e.y,this.viewport.zoom=t;for(const n of this.layers)n.setViewport(e.x,e.y,t)},this.renderPerEdge=C,this.renderPerNode=k,this.cy=e,this.adapter={cy:this.cy,insert:(e,t,n)=>this.insert(e,t,n),move:(e,t)=>this.move(e,t),inVisibleBounds:e=>{const t=this.viewport,n=e=>{const n=e*t.zoom+t.tx;return n>=0&&n<=t.width},i=e=>{const n=e*t.zoom+t.ty;return n>=0&&n<=t.height};return D(e)?n(e.x)&&i(e.y):n(e.x1)&&i(e.y1)||n(e.x2)&&i(e.y1)||n(e.x2)&&i(e.y2)||n(e.x1)&&i(e.y2)||n((e.x1+e.x2)/2)&&i((e.y1+e.y2)/2)}};const t=e.container(),n=new v(this.adapter,t.querySelector('[data-id="layer2-node"]'));this.nodeLayer=n;const i=new y(this.adapter,t.querySelector('[data-id="layer1-drag"]'));this.dragLayer=i;const r=new b(this.adapter,t.querySelector('[data-id="layer0-selectbox"]'));this.selectBoxLayer=r,n.root.style.zIndex="",i.root.style.zIndex="",r.root.style.zIndex="",n.root.insertAdjacentElement("afterend",i.root),i.root.insertAdjacentElement("afterend",r.root),e.on("viewport",this.zoomed),e.on("resize",this.resize),e.on("destroy",this.destroy),this.bak={png:e.png,jpg:e.jpg,jpeg:e.jpeg},e.png=this.png.bind(this),e.jpg=this.jpg.bind(this),e.jpeg=this.jpeg.bind(this),this.viewport={width:this.cy.width(),height:this.cy.height(),tx:this.cy.pan().x,ty:this.cy.pan().y,zoom:this.cy.zoom()}}move(e,t){const n=this.layers,i=n.indexOf(e),r=Math.max(Math.min(i+t,n.length,0));r!==i&&(i>=n.length-1?this.root.appendChild(e.root):this.root.insertBefore(e.root,n[r].root))}get document(){return this.cy.container().ownerDocument}get root(){return this.nodeLayer.node.parentElement}get layers(){return Array.from(this.root.children).map((e=>e.__cy_layer)).filter((e=>null!=e))}getLayers(){return this.layers}init(e){return e.resize(this.viewport.width,this.viewport.height),e.setViewport(this.viewport.tx,this.viewport.ty,this.viewport.zoom),e}update(){this.zoomed();for(const e of this.layers)e instanceof d&&e.draw()}createLayer(e,t){switch(e){case"svg":return this.init(new u(this.adapter,this.document,t));case"html":return this.init(new p(this.adapter,this.document,t));case"canvas":return this.init(new d(this.adapter,this.document,t));case"html-static":return this.init(new g(this.adapter,this.document,t));case"svg-static":return this.init(new c(this.adapter,this.document,t));case"canvas-static":return this.init(new f(this.adapter,this.document,t))}}append(e,t){const n=this.createLayer(e,t);return this.root.appendChild(n.root),n}insert(e,t,n,i){const r=this.createLayer(n,i);return t.root.insertAdjacentElement("before"===e?"beforebegin":"afterend",r.root),r}getLast(){var e;const t=this.layers;return null!==(e=t[t.length-1])&&void 0!==e?e:null}getFirst(){var e;const t=this.layers;return null!==(e=t[0])&&void 0!==e?e:null}hasCustomLayer(){return this.layers.some((e=>!(e instanceof m)))}toCanvas(e){const t=this.layers;if(t.some((e=>!e.supportsRender))&&!e.ignoreUnsupportedLayers)throw new P("some layer doesn't support exporting, use {ignoreUnsupportedLayers: true} option to ignore");const n=t.indexOf(this.nodeLayer),i=t.indexOf(this.dragLayer),r=t.indexOf(this.selectBoxLayer);if((n!==i-1||i!==r-1)&&!e.ignoreUnsupportedLayerOrder)throw new P("cytoscape layers are not in order, use {ignoreUnsupportedLayerOrder: true} option to ignore");const o=t.slice(0,n).reverse().filter((e=>e.supportsRender()&&e!==this.dragLayer&&e!==this.selectBoxLayer)),a=t.slice(n+1).filter((e=>e.supportsRender()&&e!==this.dragLayer&&e!==this.selectBoxLayer)),s=this.cy.renderer(),l=s.drawElements;s.drawElements=function(e,t){for(const n of o)n.renderInto(e);l.call(this,e,t);for(const n of a)n.renderInto(e)};const u=s.bufferCanvasImage(e);return s.drawElements=l,u}png(e){return this.hasCustomLayer()?E(null!==e&&void 0!==e?e:{},this.toCanvas(null!==e&&void 0!==e?e:{}),"image/png"):this.bak.png.call(this.cy,e)}jpg(e){if(!this.hasCustomLayer())return this.bak.jpg.call(this.cy,e);const t={bg:"#fff",...null!==e&&void 0!==e?e:{}};return E(t,this.toCanvas(t),"image/png")}jpeg(e){return this.hasCustomLayer()?this.jpg(e):this.bak.jpeg.call(this.cy,e)}}function I(e=this){if(!e.container())throw new Error("layers plugin does not work in headless environments");const t=e.scratch("_layers");if(t)return t;const n=new O(e);return e.scratch("_layers",n),n}function A(e){e("core","layers",I)}function L(e,t,n,i,r,o){const a=e,s=t,l=n-a,u=i-s;let c=r-a,h=o-s,d=c*l+h*u,f=0;d<=0?f=0:(c=l-c,h=u-h,d=c*l+h*u,f=d<=0?0:d*d/(l*l+u*u));const p=c*c+h*h-f;return p<0?0:p}function N(e,t,n,i){return(e-n)*(e-n)+(t-i)*(t-i)}function R(e,t,n,i,r){return N(e,t,n,i)<r*r}function z(e){if(!Number.isFinite(e))return e=>e;if(0===e)return Math.round;const t=Math.pow(10,e);return e=>Math.round(e*t)/t}function $(e){const t=Math.min(e.x1,e.x2),n=Math.max(e.x1,e.x2),i=Math.min(e.y1,e.y2),r=Math.max(e.y1,e.y2);return{x:t,y:i,x2:n,y2:r,width:n-t,height:r-i}}"undefined"!==typeof window.cytoscape&&A(window.cytoscape);class B{constructor(e,t,n,i){this.x1=e,this.y1=t,this.x2=n,this.y2=i}equals(e){return this.x1===e.x1&&this.y1===e.y1&&this.x2===e.x2&&this.y2===e.y2}draw(e){e.moveTo(this.x1,this.y1),e.lineTo(this.x2,this.y2)}toString(){return`Line(from=(${this.x1},${this.y1}),to=(${this.x2},${this.y2}))`}static from(e){return new B(e.x1,e.y1,e.x2,e.y2)}cuts(e,t){if(this.y1===this.y2)return!1;if(t<this.y1&&t<=this.y2||t>this.y1&&t>=this.y2)return!1;if(e>this.x1&&e>=this.x2)return!1;if(e<this.x1&&e<=this.x2)return!0;const n=this.x1+(t-this.y1)*(this.x2-this.x1)/(this.y2-this.y1);return e<=n}distSquare(e,t){return L(this.x1,this.y1,this.x2,this.y2,e,t)}ptClose(e,t,n){if(this.x1<this.x2){if(e<this.x1-n||e>this.x2+n)return!1}else if(e<this.x2-n||e>this.x1+n)return!1;if(this.y1<this.y2){if(t<this.y1-n||t>this.y2+n)return!1}else if(t<this.y2-n||t>this.y1+n)return!1;return!0}}var F,j;(function(e){e[e["POINT"]=1]="POINT",e[e["PARALLEL"]=2]="PARALLEL",e[e["COINCIDENT"]=3]="COINCIDENT",e[e["NONE"]=4]="NONE"})(F||(F={}));class V{constructor(e,t=0,n=0){this.state=e,this.x=t,this.y=n}}function H(e,t){const n=(t.x2-t.x1)*(e.y1-t.y1)-(t.y2-t.y1)*(e.x1-t.x1),i=(e.x2-e.x1)*(e.y1-t.y1)-(e.y2-e.y1)*(e.x1-t.x1),r=(t.y2-t.y1)*(e.x2-e.x1)-(t.x2-t.x1)*(e.y2-e.y1);if(r){const t=n/r,o=i/r;return 0<=t&&t<=1&&0<=o&&o<=1?new V(F.POINT,e.x1+t*(e.x2-e.x1),e.y1+t*(e.y2-e.y1)):new V(F.NONE)}return new V(0===n||0===i?F.COINCIDENT:F.PARALLEL)}function W(e,t){const n=(t.x2-t.x1)*(e.y1-t.y1)-(t.y2-t.y1)*(e.x1-t.x1),i=(e.x2-e.x1)*(e.y1-t.y1)-(e.y2-e.y1)*(e.x1-t.x1),r=(t.y2-t.y1)*(e.x2-e.x1)-(t.x2-t.x1)*(e.y2-e.y1);if(r){const e=n/r,t=i/r;if(0<=e&&e<=1&&0<=t&&t<=1)return e}return Number.POSITIVE_INFINITY}function G(e,t){function n(e,n,i,r){let o=W(t,new B(e,n,i,r));return o=Math.abs(o-.5),o>=0&&o<=1?1:0}let i=n(e.x,e.y,e.x2,e.y);return i+=n(e.x,e.y,e.x,e.y2),i>1||(i+=n(e.x,e.y2,e.x2,e.y2),i>1||(i+=n(e.x2,e.y,e.x2,e.y2),i>0))}function q(e,t,n){const i=new Set;return e.width<=0?(i.add(j.LEFT),i.add(j.RIGHT)):t<e.x?i.add(j.LEFT):t>e.x+e.width&&i.add(j.RIGHT),e.height<=0?(i.add(j.TOP),i.add(j.BOTTOM)):n<e.y?i.add(j.TOP):n>e.y+e.height&&i.add(j.BOTTOM),i}function U(e,t){let n=t.x1,i=t.y1;const r=t.x2,o=t.y2,a=Array.from(q(e,r,o));if(0===a.length)return!0;let s=q(e,n,i);while(0!==s.size){for(const e of a)if(s.has(e))return!1;if(s.has(j.RIGHT)||s.has(j.LEFT)){let t=e.x;s.has(j.RIGHT)&&(t+=e.width),i+=(t-n)*(o-i)/(r-n),n=t}else{let t=e.y;s.has(j.BOTTOM)&&(t+=e.height),n+=(t-i)*(r-n)/(o-i),i=t}s=q(e,n,i)}return!0}function Y(e,t){let n=Number.POSITIVE_INFINITY,i=0;function r(e,r,o,a){let s=W(t,new B(e,r,o,a));s=Math.abs(s-.5),s>=0&&s<=1&&(i++,s<n&&(n=s))}return r(e.x,e.y,e.x2,e.y),r(e.x,e.y,e.x,e.y2),i>1?n:(r(e.x,e.y2,e.x2,e.y2),i>1?n:(r(e.x2,e.y,e.x2,e.y2),0===i?-1:n))}function X(e,t){let n=0;const i=H(e,new B(t.x,t.y,t.x2,t.y));n+=i.state===F.POINT?1:0;const r=H(e,new B(t.x,t.y,t.x,t.y2));n+=r.state===F.POINT?1:0;const o=H(e,new B(t.x,t.y2,t.x2,t.y2));n+=o.state===F.POINT?1:0;const a=H(e,new B(t.x2,t.y,t.x2,t.y2));return n+=a.state===F.POINT?1:0,{top:i,left:r,bottom:o,right:a,count:n}}(function(e){e[e["LEFT"]=0]="LEFT",e[e["TOP"]=1]="TOP",e[e["RIGHT"]=2]="RIGHT",e[e["BOTTOM"]=3]="BOTTOM"})(j||(j={}));class Z{constructor(e,t,n,i){this.x=e,this.y=t,this.width=n,this.height=i}get x2(){return this.x+this.width}get y2(){return this.y+this.height}get cx(){return this.x+this.width/2}get cy(){return this.y+this.height/2}get radius(){return Math.max(this.width,this.height)/2}static from(e){return new Z(e.x,e.y,e.width,e.height)}equals(e){return this.x===e.x&&this.y===e.y&&this.width===e.width&&this.height===e.height}clone(){return new Z(this.x,this.y,this.width,this.height)}add(e){const t=Math.min(this.x,e.x),n=Math.min(this.y,e.y),i=Math.max(this.x2,e.x+e.width),r=Math.max(this.y2,e.y+e.height);this.x=t,this.y=n,this.width=i-t,this.height=r-n}addPoint(e){const t=Math.min(this.x,e.x),n=Math.min(this.y,e.y),i=Math.max(this.x2,e.x),r=Math.max(this.y2,e.y);this.x=t,this.y=n,this.width=i-t,this.height=r-n}toString(){return`Rectangle[x=${this.x}, y=${this.y}, w=${this.width}, h=${this.height}]`}draw(e){e.rect(this.x,this.y,this.width,this.height)}containsPt(e,t){return e>=this.x&&e<=this.x2&&t>=this.y&&t<=this.y2}get area(){return this.width*this.height}intersects(e){return!(this.area<=0||e.width<=0||e.height<=0)&&(e.x+e.width>this.x&&e.y+e.height>this.y&&e.x<this.x2&&e.y<this.y2)}distSquare(e,t){if(this.containsPt(e,t))return 0;const n=q(this,e,t);return n.has(j.TOP)?n.has(j.LEFT)?N(e,t,this.x,this.y):n.has(j.RIGHT)?N(e,t,this.x2,this.y):(this.y-t)*(this.y-t):n.has(j.BOTTOM)?n.has(j.LEFT)?N(e,t,this.x,this.y2):n.has(j.RIGHT)?N(e,t,this.x2,this.y2):(t-this.y2)*(t-this.y2):n.has(j.LEFT)?(this.x-e)*(this.x-e):n.has(j.RIGHT)?(e-this.x2)*(e-this.x2):0}}function K(e){if(0===e.length)return null;const t=e[0],n=new Z(t.x,t.y,0,0);for(const i of e)n.addPoint(i);return n}class Q{constructor(e,t,n){this.cx=e,this.cy=t,this.radius=n}get x(){return this.cx-this.radius}get x2(){return this.cx+this.radius}get width(){return 2*this.radius}get y(){return this.cy-this.radius}get y2(){return this.cy+this.radius}get height(){return 2*this.radius}static from(e){return new Q(e.cx,e.cy,e.radius)}containsPt(e,t){return N(this.cx,this.cy,e,t)<this.radius*this.radius}distSquare(e,t){const n=N(this.cx,this.cy,e,t);if(n<this.radius*this.radius)return 0;const i=Math.sqrt(n)-this.radius;return i*i}draw(e){e.ellipse(this.cx,this.cy,this.radius,this.radius,0,0,2*Math.PI)}}class J{constructor(e,t=0,n=0,i=0,r=0,o=10,a=10,s=new Float32Array(Math.max(0,o*a)).fill(0)){this.pixelGroup=e,this.i=t,this.j=n,this.pixelX=i,this.pixelY=r,this.width=o,this.height=a,this.area=s}createSub(e,t){return new J(this.pixelGroup,e.x,e.y,t.x,t.y,e.width,e.height)}static fromPixelRegion(e,t){return new J(t,0,0,e.x,e.y,Math.ceil(e.width/t),Math.ceil(e.height/t))}copy(e,t){return new J(this.pixelGroup,this.scaleX(t.x),this.scaleY(t.y),t.x,t.y,e.width,e.height,e.area)}boundX(e){return e<this.i?this.i:e>=this.width?this.width-1:e}boundY(e){return e<this.j?this.j:e>=this.height?this.height-1:e}scaleX(e){return this.boundX(Math.floor((e-this.pixelX)/this.pixelGroup))}scaleY(e){return this.boundY(Math.floor((e-this.pixelY)/this.pixelGroup))}scale(e){const t=this.scaleX(e.x),n=this.scaleY(e.y),i=this.boundX(Math.ceil((e.x+e.width-this.pixelX)/this.pixelGroup)),r=this.boundY(Math.ceil((e.y+e.height-this.pixelY)/this.pixelGroup)),o=i-t,a=r-n;return new Z(t,n,o,a)}invertScaleX(e){return Math.round(e*this.pixelGroup+this.pixelX)}invertScaleY(e){return Math.round(e*this.pixelGroup+this.pixelY)}addPadding(e,t){const n=Math.ceil(t/this.pixelGroup),i=this.boundX(e.x-n),r=this.boundY(e.y-n),o=this.boundX(e.x2+n),a=this.boundY(e.y2+n),s=o-i,l=a-r;return new Z(i,r,s,l)}get(e,t){return e<0||t<0||e>=this.width||t>=this.height?Number.NaN:this.area[e+t*this.width]}inc(e,t,n){e<0||t<0||e>=this.width||t>=this.height||(this.area[e+t*this.width]+=n)}set(e,t,n){e<0||t<0||e>=this.width||t>=this.height||(this.area[e+t*this.width]=n)}incArea(e,t){if(e.width<=0||e.height<=0||0===t)return;const n=this.width,i=e.width,r=Math.max(0,e.i),o=Math.max(0,e.j),a=Math.min(e.i+e.width,n),s=Math.min(e.j+e.height,this.height);if(!(s<=0||a<=0||r>=n||s>=this.height))for(let l=o;l<s;l++){const o=(l-e.j)*i,s=l*n;for(let n=r;n<a;n++){const i=e.area[n-e.i+o];0!==i&&(this.area[n+s]+=t*i)}}}fill(e){this.area.fill(e)}fillArea(e,t){const n=e.x+e.y*this.width;for(let i=0;i<e.height;i++){const r=n+i*this.width;this.area.fill(t,r,r+e.width)}}fillHorizontalLine(e,t,n,i){const r=e+t*this.width;this.area.fill(i,r,r+n)}fillVerticalLine(e,t,n,i){const r=e+t*this.width;for(let o=0;o<n;o++)this.area[r+o*this.width]=i}clear(){this.area.fill(0)}toString(){let e="";for(let t=0;t<this.height;t++){const n=t*this.width;for(let t=0;t<this.width;t++){const i=this.area[n+t];e+=i.toFixed(1).padStart(6),e+=" "}e+="\n"}return e}draw(e,t=!0){if(this.width<=0||this.height<=0)return;e.save(),t&&e.translate(this.pixelX,this.pixelY);const n=this.area.reduce(((e,t)=>Math.min(e,t)),Number.POSITIVE_INFINITY),i=this.area.reduce(((e,t)=>Math.max(e,t)),Number.NEGATIVE_INFINITY),r=e=>(e-n)/(i-n);e.scale(this.pixelGroup,this.pixelGroup);for(let o=0;o<this.width;o++)for(let t=0;t<this.height;t++){const n=this.area[o+t*this.width];e.fillStyle=`rgba(0, 0, 0, ${r(n)})`,e.fillRect(o,t,1,1)}e.restore()}drawThreshold(e,t,n=!0){if(!(this.width<=0||this.height<=0)){e.save(),n&&e.translate(this.pixelX,this.pixelY),e.scale(this.pixelGroup,this.pixelGroup);for(let n=0;n<this.width;n++)for(let i=0;i<this.height;i++){const r=this.area[n+i*this.width];e.fillStyle=r>t?"black":"white",e.fillRect(n,i,1,1)}e.restore()}}}function ee(e,t){const n=e=>({x:e.x-t,y:e.y-t,width:e.width+2*t,height:e.height+2*t});return Array.isArray(e)?e.map(n):n(e)}function te(e,t,n){return ne(Object.assign($(e),{distSquare:(t,n)=>L(e.x1,e.y1,e.x2,e.y2,t,n)}),t,n)}function ne(e,t,n){const i=ee(e,n),r=t.scale(i),o=t.createSub(r,i);return ie(o,t,n,((t,n)=>e.distSquare(t,n))),o}function ie(e,t,n,i){const r=n*n;for(let o=0;o<e.height;o++)for(let a=0;a<e.width;a++){const s=t.invertScaleX(e.i+a),l=t.invertScaleY(e.j+o),u=i(s,l);if(0!==u){if(u<r){const t=n-Math.sqrt(u);e.set(a,o,t*t)}}else e.set(a,o,r)}return e}function re(e,t,n){const i=t.scale(e),r=t.addPadding(i,n),o=t.createSub(r,{x:e.x-n,y:e.y-n}),a=i.x-r.x,s=i.y-r.y,l=r.x2-i.x2,u=r.y2-i.y2,c=r.width-a-l,h=r.height-s-u,d=n*n;o.fillArea({x:a,y:s,width:c+1,height:h+1},d);const f=[0],p=Math.max(s,a,l,u);{const r=t.invertScaleX(i.x+i.width/2);for(let o=1;o<p;o++){const a=t.invertScaleY(i.y-o),s=e.distSquare(r,a);if(!(s<d))break;{const e=n-Math.sqrt(s);f.push(e*e)}}}const g=[],m=Math.max(a,l),v=Math.max(s,l);for(let y=1;y<m;y++){const r=t.invertScaleX(i.x-y),o=[];for(let a=1;a<v;a++){const s=t.invertScaleY(i.y-a),l=e.distSquare(r,s);if(l<d){const e=n-Math.sqrt(l);o.push(e*e)}else o.push(0)}g.push(o)}for(let y=1;y<Math.min(s,f.length);y++){const e=f[y];o.fillHorizontalLine(a,s-y,c+1,e)}for(let y=1;y<Math.min(u,f.length);y++){const e=f[y];o.fillHorizontalLine(a,s+h+y,c+1,e)}for(let y=1;y<Math.min(a,f.length);y++){const e=f[y];o.fillVerticalLine(a-y,s,h+1,e)}for(let y=1;y<Math.min(u,f.length);y++){const e=f[y];o.fillVerticalLine(a+c+y,s,h+1,e)}for(let y=1;y<a;y++){const e=g[y-1],t=a-y;for(let n=1;n<s;n++)o.set(t,s-n,e[n-1]);for(let n=1;n<u;n++)o.set(t,s+h+n,e[n-1])}for(let y=1;y<l;y++){const e=g[y-1],t=a+c+y;for(let n=1;n<s;n++)o.set(t,s-n,e[n-1]);for(let n=1;n<u;n++)o.set(t,s+h+n,e[n-1])}return o}function oe(e,t){return{x:e,y:t}}function ae(e,t,n,i){if(0===e.length)return[];const r=he(e);return r.map(((e,o)=>{const a=r.slice(0,o);return se(t,e,a,n,i)})).flat()}function se(e,t,n,i,r){const o=oe(t.cx,t.cy),a=ce(o,n,e);if(null==a)return[];const s=new B(o.x,o.y,a.cx,a.cy),l=le(s,e,i,r);return ue(l,e)}function le(e,t,n,i){const r=[],o=[];o.push(e);let a=!0;for(let s=0;s<n&&a;s++){a=!1;while(!a&&o.length>0){const e=o.pop(),n=pe(t,e),s=n?X(e,n):null;if(!n||!s||2!==s.count){a||r.push(e);continue}let l=i,u=me(n,l,s,!0),c=fe(u,o)||fe(u,r),h=de(u,t);while(!c&&h&&l>=1)l/=1.5,u=me(n,l,s,!0),c=fe(u,o)||fe(u,r),h=de(u,t);if(!u||c||h||(o.push(new B(e.x1,e.y1,u.x,u.y)),o.push(new B(u.x,u.y,e.x2,e.y2)),a=!0),a)continue;l=i,u=me(n,l,s,!1);let d=fe(u,o)||fe(u,r);h=de(u,t);while(!d&&h&&l>=1)l/=1.5,u=me(n,l,s,!1),d=fe(u,o)||fe(u,r),h=de(u,t);u&&!d&&(o.push(new B(e.x1,e.y1,u.x,u.y)),o.push(new B(u.x,u.y,e.x2,e.y2)),a=!0),a||r.push(e)}}while(o.length>0)r.push(o.pop());return r}function ue(e,t){const n=[];while(e.length>0){const i=e.pop();if(0===e.length){n.push(i);break}const r=e.pop(),o=new B(i.x1,i.y1,r.x2,r.y2),a=pe(t,o);a?(n.push(i),e.push(r)):e.push(o)}return n}function ce(e,t,n){let i=Number.POSITIVE_INFINITY;return t.reduce(((t,r)=>{const o=N(e.x,e.y,r.cx,r.cy);if(o>i)return t;const a=new B(e.x,e.y,r.cx,r.cy),s=ge(n,a);return o*(s+1)*(s+1)<i&&(t=r,i=o*(s+1)*(s+1)),t}),null)}function he(e){if(e.length<2)return e;let t=0,n=0;return e.forEach((e=>{t+=e.cx,n+=e.cy})),t/=e.length,n/=e.length,e.map((e=>{const i=t-e.cx,r=n-e.cy,o=i*i+r*r;return[e,o]})).sort(((e,t)=>e[1]-t[1])).map((e=>e[0]))}function de(e,t){return t.some((t=>t.containsPt(e.x,e.y)))}function fe(e,t){return t.some((t=>!!R(t.x1,t.y1,e.x,e.y,.001)||!!R(t.x2,t.y2,e.x,e.y,.001)))}function pe(e,t){let n=Number.POSITIVE_INFINITY,i=null;for(const r of e){if(!U(r,t))continue;const e=Y(r,t);e>=0&&e<n&&(i=r,n=e)}return i}function ge(e,t){return e.reduce(((e,n)=>U(n,t)&&G(n,t)?e+1:e),0)}function me(e,t,n,i){const r=n.top,o=n.left,a=n.bottom,s=n.right;if(i){if(o.state===F.POINT){if(r.state===F.POINT)return oe(e.x-t,e.y-t);if(a.state===F.POINT)return oe(e.x-t,e.y2+t);const n=e.width*e.height,i=e.width*(.5*(o.y-e.y+(s.y-e.y)));return i<.5*n?o.y>s.y?oe(e.x-t,e.y-t):oe(e.x2+t,e.y-t):o.y<s.y?oe(e.x-t,e.y2+t):oe(e.x2+t,e.y2+t)}if(s.state===F.POINT){if(r.state===F.POINT)return oe(e.x2+t,e.y-t);if(a.state===F.POINT)return oe(e.x2+t,e.y2+t)}const n=e.height*e.width,i=e.height*(.5*(r.x-e.x+(s.x-e.x)));return i<.5*n?r.x>a.x?oe(e.x-t,e.y-t):oe(e.x-t,e.y2+t):r.x<a.x?oe(e.x2+t,e.y-t):oe(e.x2+t,e.y2+t)}if(o.state===F.POINT){if(r.state===F.POINT)return oe(e.x2+t,e.y2+t);if(a.state===F.POINT)return oe(e.x2+t,e.y-t);const n=e.height*e.width,i=e.width*(.5*(o.y-e.y+(s.y-e.y)));return i<.5*n?o.y>s.y?oe(e.x2+t,e.y2+t):oe(e.x-t,e.y2+t):o.y<s.y?oe(e.x2+t,e.y-t):oe(e.x-t,e.y-t)}if(s.state===F.POINT){if(r.state===F.POINT)return oe(e.x-t,e.y2+t);if(a.state===F.POINT)return oe(e.x-t,e.y-t)}const l=e.height*e.width,u=e.height*(.5*(r.x-e.x+(s.x-e.x)));return u<.5*l?r.x>a.x?oe(e.x2+t,e.y2+t):oe(e.x2+t,e.y-t):r.x<a.x?oe(e.x-t,e.y2+t):oe(e.x-t,e.y-t)}function ve(e,t,n,i){const r=e.closed?n<e.length:n<e.length-1;if(!r)return!1;const o=e.get(t),a=e.get(n+1);for(let s=t+1;s<=n;s++){const t=e.get(s),n=L(o.x,o.y,a.x,a.y,t.x,t.y);if(n>i)return!1}return!0}function ye(e=0){return t=>{if(e<0||t.length<3)return t;const n=[];let i=0;const r=e*e;while(i<t.length){let e=i+1;while(ve(t,i,e,r))e++;n.push(t.get(i)),i=e}return new we(n)}}function be(e,t){switch(e){case-2:return(((3-t)*t-3)*t+1)/6;case-1:return((3*t-6)*t*t+4)/6;case 0:return(((-3*t+3)*t+3)*t+1)/6;case 1:return t*t*t/6;default:throw new Error("unknown error")}}function xe(e=6){const t=3,n=t-1,i=1,r=i-t;function o(e,t,n){let o=0,a=0;for(let s=r;s<=i;s++){const i=e.get(t+s),r=be(s,n);o+=r*i.x,a+=r*i.y}return{x:o,y:a}}return i=>{if(i.length<3)return i;const r=[],a=i.closed,s=i.length+t-1+(a?0:2);r.push(o(i,n-(a?0:2),0));for(let t=n-(a?0:2);t<s;t++)for(let n=1;n<=e;n++)r.push(o(i,t,n/e));return new we(r)}}function _e(e=8){return t=>{let n=e,i=t.length;if(n>1){i=Math.floor(t.length/n);while(i<3&&n>1)n-=1,i=Math.floor(t.length/n)}const r=[];for(let e=0,o=0;o<i;o++,e+=n)r.push(t.get(e));return new we(r)}}class we{constructor(e=[],t=!0){this.points=e,this.closed=t}get(e){const t=e,n=this.points.length;return e<0?this.closed?this.get(e+n):this.points[0]:e>=n?this.closed?this.get(e-n):this.points[n-1]:this.points[t]}get length(){return this.points.length}toString(e=1/0){const t=this.points;if(0===t.length)return"";const n="function"===typeof e?e:z(e);let i="M";for(const r of t)i+=`${n(r.x)},${n(r.y)} L`;return i=i.slice(0,-1),this.closed&&(i+=" Z"),i}draw(e){const t=this.points;if(0!==t.length){e.beginPath(),e.moveTo(t[0].x,t[0].y);for(const n of t)e.lineTo(n.x,n.y);this.closed&&e.closePath()}}sample(e){return _e(e)(this)}simplify(e){return ye(e)(this)}bSplines(e){return xe(e)(this)}apply(e){return e(this)}containsElements(e){const t=K(this.points);return!!t&&e.every((e=>t.containsPt(e.cx,e.cy)&&this.withinArea(e.cx,e.cy)))}withinArea(e,t){if(0===this.length)return!1;let n=0;const i=this.points[0],r=new B(i.x,i.y,i.x,i.y);for(let o=1;o<this.points.length;o++){const i=this.points[o];r.x1=r.x2,r.y1=r.y2,r.x2=i.x,r.y2=i.y,r.cuts(e,t)&&n++}return r.x1=r.x2,r.y1=r.y2,r.x2=i.x,r.y2=i.y,r.cuts(e,t)&&n++,n%2===1}}class Ce{constructor(e=0){this.count=0,this.arr=[],this.set=new Set,this.arr.length=e}add(e){this.set.add(`${e.x}x${e.y}`),this.arr[this.count++]=e}contains(e){return this.set.has(`${e.x}x${e.y}`)}isFirst(e){if(0===this.count)return!1;const t=this.arr[0];return null!=t&&t.x===e.x&&t.y===e.y}path(){return new we(this.arr.slice(0,this.count))}clear(){this.set.clear(),this.count=0}get(e){return this.arr[e]}get length(){return this.count}}const Se=0,ke=1,Me=2,Te=3;function Ee(e,t){const n=2*(Math.floor(e.width)+Math.floor(e.height)),i=new Ce(n);function r(n,i,r,o){const a=e.get(n,i);return Number.isNaN(a)?Number.NaN:a>t?r+o:r}function o(e,t){let n=Se;return n=r(e,t,n,1),n=r(e+1,t,n,2),n=r(e,t+1,n,4),n=r(e+1,t+1,n,8),Number.isNaN(n)?-1:n}let a=ke;function s(t,n){let r=t,s=n,l=e.invertScaleX(r),u=e.invertScaleY(s);for(let c=0;c<e.width*e.height;c++){const t={x:l,y:u};if(i.contains(t)){if(i.isFirst(t))return!0}else i.add(t);const n=o(r,s);switch(n){case-1:return!0;case 0:case 3:case 2:case 7:a=Me;break;case 12:case 14:case 4:a=Te;break;case 6:a=a===Se?Te:Me;break;case 1:case 13:case 5:a=Se;break;case 9:a=a===Me?Se:ke;break;case 10:case 8:case 11:a=ke;break;default:return console.warn("Marching squares invalid state: "+n),!0}switch(a){case Se:s--,u-=e.pixelGroup;break;case ke:s++,u+=e.pixelGroup;break;case Te:r--,l-=e.pixelGroup;break;case Me:r++,l+=e.pixelGroup;break;default:return console.warn("Marching squares invalid state: "+n),!0}}return!0}for(let l=0;l<e.width;l++)for(let n=0;n<e.height;n++){if(e.get(l,n)<=t)continue;const r=o(l,n);if(!(r<0||15===r)&&s(l,n))return i.path()}return null}const De={maxRoutingIterations:100,maxMarchingIterations:20,pixelGroup:4,edgeR0:10,edgeR1:20,nodeR0:15,nodeR1:50,morphBuffer:10,threshold:1,memberInfluenceFactor:1,edgeInfluenceFactor:1,nonMemberInfluenceFactor:-.8,virtualEdges:!0};var Pe;(function(e){e[e["MEMBERS"]=0]="MEMBERS",e[e["NON_MEMBERS"]=1]="NON_MEMBERS",e[e["EDGES"]=2]="EDGES"})(Pe||(Pe={}));function Oe(e,t,n,i,r,o={}){const a=Object.assign({},De,o);let s=a.threshold,l=a.memberInfluenceFactor,u=a.edgeInfluenceFactor,c=a.nonMemberInfluenceFactor;const h=(a.nodeR0-a.nodeR1)*(a.nodeR0-a.nodeR1),d=(a.edgeR0-a.edgeR1)*(a.edgeR0-a.edgeR1);for(let f=0;f<a.maxMarchingIterations;f++){if(e.clear(),0!==l){const n=l/h;for(const i of t)e.incArea(i,n)}if(0!==u){const t=u/d;for(const i of n)e.incArea(i,t)}if(0!==c){const t=c/h;for(const n of i)e.incArea(n,t)}const o=Ee(e,s);if(o&&r(o))return o;if(s*=.95,f<=.5*a.maxMarchingIterations)l*=1.2,u*=1.2;else{if(!(0!==c&&i.length>0))break;c*=.8}}return new we([])}var Ie,Ae,Le,Ne,Re,ze,$e,Be,Fe=n(22689),je=n.n(Fe);function Ve(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)}function He(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(e,n):r?r.value=n:t.set(e,n),n}function We(e){return Math.round(100*e)/100}const Ge="bubbleSets",qe=["ellipse","diamond","diamond","pentagon","diamond","hexagon","heptagon","octagon","star"],Ue=new Set(qe.concat(qe.map((e=>`round-${e}`))));function Ye(e){return Ue.has(e)}function Xe(e){return`${We(e.shape.width)}x${We(e.shape.height)}x${e.isCircle}`}function Ze(e){return`${We(e.x1)}x${We(e.y1)}x${We(e.x2)}x${We(e.y2)}`}function Ke(e,t){return e.length===t.length&&e.every(((e,n)=>Ze(e)===Ze(t[n])))}function Qe(e,t){return e?new Q(t.x1+t.w/2,t.y1+t.h/2,Math.max(t.w,t.h)/2):new Z(t.x1,t.y1,t.w,t.h)}class Je{constructor(e,t,n,i,r,o={}){this.node=t,this.nodes=n,this.edges=i,this.avoidNodes=r,Ie.set(this,{x:0,y:0,width:0,height:0}),Ae.set(this,new J(4,0,0,0,0,0,0)),Le.set(this,void 0),Ne.set(this,new Map),Re.set(this,void 0),ze.set(this,void 0),$e.set(this,void 0),Be.set(this,void 0),this.update=(e=!1)=>{const t=this.nodes.union(this.edges).boundingBox(Ve(this,Le,"f"));let n=!1;const i=Math.max(Ve(this,Le,"f").edgeR1,Ve(this,Le,"f").nodeR1)+Ve(this,Le,"f").morphBuffer,r={x:t.x1-i,y:t.y1-i,width:t.w+2*i,height:t.h+2*i};e||Ve(this,Ie,"f").x!==r.x||Ve(this,Ie,"f").y!==r.y?(n=!0,He(this,Ae,J.fromPixelRegion(r,Ve(this,Le,"f").pixelGroup),"f")):Ve(this,Ie,"f").width===r.width&&Ve(this,Ie,"f").height===r.height||He(this,Ae,J.fromPixelRegion(r,Ve(this,Le,"f").pixelGroup),"f"),He(this,Ie,r,"f");const o=Ve(this,Ae,"f"),a=new Map;n||this.nodes.forEach((e=>{var t;const n=null!==(t=e.scratch(Ge))&&void 0!==t?t:null;n&&n.area&&a.set(Xe(n),n.area)}));let s=!1;const l=e=>{var t;const i=e.boundingBox(Ve(this,Le,"f"));let r=null!==(t=e.scratch(Ge))&&void 0!==t?t:null;const l=Ye(e.style("shape"));if(r&&!n&&r.area&&r.isCircle===l&&r.shape.width===i.w&&r.shape.height===i.h)r.shape.x===i.x1&&r.shape.y===i.y1||(s=!0,r.shape=Qe(l,i),r.area=Ve(this,Ae,"f").copy(r.area,{x:i.x1-Ve(this,Le,"f").nodeR1,y:i.y1-Ve(this,Le,"f").nodeR1}));else{s=!0,r={isCircle:l,shape:Qe(l,i)};const t=Xe(r),n=a.get(t);null!=n?r.area=Ve(this,Ae,"f").copy(n,{x:i.x1-Ve(this,Le,"f").nodeR1,y:i.y1-Ve(this,Le,"f").nodeR1}):(r.area=r.isCircle?ne(r.shape,o,Ve(this,Le,"f").nodeR1):re(r.shape,o,Ve(this,Le,"f").nodeR1),a.set(t,r.area)),e.scratch(Ge,r)}return r},u=this.nodes.map(l),c=this.avoidNodes.map(l),h=new Map;n||(Ve(this,Ne,"f").forEach(((e,t)=>h.set(t,e))),this.edges.forEach((e=>{var t;const n=null!==(t=e.scratch(Ge))&&void 0!==t?t:null;n&&n.lines&&n.lines.forEach(((e,t)=>{const i=n.areas[t];i&&a.set(Ze(e),i)}))})));const d=e=>{const t=Ze(e),n=h.get(t);if(null!=n)return n;const i=te(e,Ve(this,Ae,"f"),Ve(this,Le,"f").edgeR1);return h.set(t,i),i},f=[];this.edges.forEach((e=>{var t,i;const r=(null!==(t=e.segmentPoints())&&void 0!==t?t:[e.sourceEndpoint(),e.targetEndpoint()]).map((e=>({...e})));if(0===r.length)return;const o=r.slice(1).map(((e,t)=>{const n=r[t];return B.from({x1:n.x,y1:n.y,x2:e.x,y2:e.y})}));let a=null!==(i=e.scratch(Ge))&&void 0!==i?i:null;a&&!n&&Ke(a.lines,o)||(a={lines:o,areas:o.map(d)},e.scratch(Ge,a)),f.push(...a.areas)}));const p=u.map((e=>e.shape));if(Ve(this,Le,"f").virtualEdges)if(s){const e=c.map((e=>e.shape)),t=ae(p,e,Ve(this,Le,"f").maxRoutingIterations,Ve(this,Le,"f").morphBuffer);Ve(this,Ne,"f").clear(),t.forEach((e=>{const t=d(e),n=Ze(e);Ve(this,Ne,"f").set(n,t),f.push(t)}))}else Ve(this,Ne,"f").forEach((e=>f.push(e)));const g=u.filter((e=>null!=e.area)).map((e=>e.area)),m=c.filter((e=>null!=e.area)).map((e=>e.area)),v=Oe(o,g,f,m,(e=>e.containsElements(p)),Ve(this,Le,"f"));this.node.setAttribute("d",v.sample(8).simplify(0).bSplines().simplify(0).toString(2))},He(this,Be,e,"f"),He(this,Le,{...De,style:{stroke:"black",fill:"black",fillOpacity:"0.25"},className:"",throttle:100,virtualEdges:!1,interactive:!1,includeLabels:!1,includeMainLabels:!1,includeOverlays:!1,includeSourceLabels:!1,includeTargetLabels:!1,...o},"f"),Object.assign(this.node.style,Ve(this,Le,"f").style),Ve(this,Le,"f").className&&this.node.classList.add(Ve(this,Le,"f").className),Ve(this,Le,"f").interactive&&this.node.addEventListener("dblclick",(()=>{this.nodes.select()})),He(this,Re,je()((()=>{this.update()}),Ve(this,Le,"f").throttle),"f"),He(this,ze,(e=>{e.target.on("add",Ve(this,ze,"f")),e.target.on("remove",Ve(this,$e,"f")),Ve(this,Re,"f").call(this)}),"f"),He(this,$e,(e=>{e.target.off("add",void 0,Ve(this,ze,"f")),e.target.off("remove",void 0,Ve(this,$e,"f")),Ve(this,Re,"f").call(this)}),"f"),n.on("position",Ve(this,Re,"f")),n.on("add",Ve(this,ze,"f")),n.on("remove",Ve(this,$e,"f")),r.on("position",Ve(this,Re,"f")),r.on("add",Ve(this,ze,"f")),r.on("remove",Ve(this,$e,"f")),i.on("move position",Ve(this,Re,"f")),i.on("add",Ve(this,ze,"f")),i.on("remove",Ve(this,$e,"f"))}remove(){for(const e of[this.nodes,this.edges,this.avoidNodes])e.off("move position",void 0,Ve(this,Re,"f")),e.off("add",void 0,Ve(this,ze,"f")),e.off("remove",void 0,Ve(this,$e,"f")),e.forEach((e=>{e.scratch(Ge,{})}));return this.node.remove(),Ve(this,Be,"f").remove(this)}}var et,tt,nt,it;Ie=new WeakMap,Ae=new WeakMap,Le=new WeakMap,Ne=new WeakMap,Re=new WeakMap,ze=new WeakMap,$e=new WeakMap,Be=new WeakMap;const rt="http://www.w3.org/2000/svg";class ot{constructor(e,t={}){var n;et.set(this,[]),tt.set(this,{remove:e=>{const t=Ve(this,et,"f").indexOf(e);return!(t<0)&&(Ve(this,et,"f").splice(t,1),!0)}}),nt.set(this,void 0),it.set(this,void 0),He(this,nt,e,"f"),He(this,it,t,"f"),this.layer=null!==(n=t.layer)&&void 0!==n?n:I(e).nodeLayer.insertBefore("svg")}destroy(){for(const e of Ve(this,et,"f"))e.remove();this.layer.remove()}addPath(e,t=Ve(this,nt,"f").collection(),n=Ve(this,nt,"f").collection(),i={}){const r=this.layer.node.ownerDocument.createElementNS(rt,"path");this.layer.node.appendChild(r);const o=new Je(Ve(this,tt,"f"),r,e,null!==t&&void 0!==t?t:Ve(this,nt,"f").collection(),null!==n&&void 0!==n?n:Ve(this,nt,"f").collection(),{...Ve(this,it,"f"),...i});return Ve(this,et,"f").push(o),o.update(),o}getPaths(){return Ve(this,et,"f").slice()}removePath(e){const t=Ve(this,et,"f").indexOf(e);return!(t<0)&&e.remove()}update(e=!1){Ve(this,et,"f").forEach((t=>t.update(e)))}}function at(e={}){return new ot(this,e)}function st(e){e("core","bubbleSets",at)}function lt(e){return"function"===typeof e.cytoscape}et=new WeakMap,tt=new WeakMap,nt=new WeakMap,it=new WeakMap,lt(window)&&st(window.cytoscape)},55094:function(e,t,n){n(57658),function(t,n){e.exports=n()}(0,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){"use strict";var i=n(2),r=n(1),o=n(3),a=o.removeEles,s=o.setStyles,l=o.createElement,u=o.getPixelRatio,c=o.getOffset,h=function(e){var t=r({},i,e),n=this,o=n.container(),h=void 0,d={options:t,handlers:[],container:l({class:"cxtmenu"})},f=d.container,p=l(),g=l({tag:"canvas"}),m=[],v=g.getContext("2d"),y=100,b=2*(y+t.activePadding),x=void 0,_=void 0;function w(e,n){a(".cxtmenu-item",p);for(var i=2*Math.PI/m.length,r=Math.PI/2,o=r+i,u=0;u<m.length;u++){var c=m[u],h=(r+o)/2,d=(e+n)/2*Math.cos(h),f=(e+n)/2*Math.sin(h),g=1*Math.abs((e-n)*Math.cos(h)),v=1*Math.abs((e-n)*Math.sin(h));g=Math.max(g,v);var y=l({class:"cxtmenu-item"});s(y,{color:t.itemColor,cursor:"default",display:"table","text-align":"center",position:"absolute","text-shadow":"-1px -1px 2px "+t.itemTextShadowColor+", 1px -1px 2px "+t.itemTextShadowColor+", -1px 1px 2px "+t.itemTextShadowColor+", 1px 1px 1px "+t.itemTextShadowColor,left:"50%",top:"50%","min-height":g+"px",width:g+"px",height:g+"px",marginLeft:d-g/2+"px",marginTop:-f-g/2+"px"});var b=l({class:"cxtmenu-content"});c.content instanceof HTMLElement?b.appendChild(c.content):b.innerHTML=c.content,s(b,{width:g+"px",height:g+"px","vertical-align":"middle",display:"table-cell"}),s(b,c.contentStyle||{}),!0!==c.disabled&&!1!==c.enabled||b.setAttribute("class","cxtmenu-content cxtmenu-disabled"),p.appendChild(y),y.appendChild(b),r+=i,o+=i}}function C(e,t){D.drawBg=[e,t]}function S(e,n){v.globalCompositeOperation="source-over",v.clearRect(0,0,b,b),v.fillStyle=t.fillColor;for(var i=2*Math.PI/m.length,r=Math.PI/2,o=r+i,a=0;a<m.length;a++){var s=m[a];s.fillColor&&(v.fillStyle=s.fillColor),v.beginPath(),v.moveTo(e+t.activePadding,e+t.activePadding),v.arc(e+t.activePadding,e+t.activePadding,e,2*Math.PI-r,2*Math.PI-o,!0),v.closePath(),v.fill(),r+=i,o+=i,v.fillStyle=t.fillColor}v.globalCompositeOperation="destination-out",v.strokeStyle="white",v.lineWidth=t.separatorWidth,r=Math.PI/2,o=r+i;for(var l=0;l<m.length;l++){var u=e*Math.cos(r),c=e*Math.sin(r);v.beginPath(),v.moveTo(e+t.activePadding,e+t.activePadding),v.lineTo(e+t.activePadding+u,e+t.activePadding-c),v.closePath(),v.stroke(),r+=i,o+=i}v.fillStyle="white",v.globalCompositeOperation="destination-out",v.beginPath(),v.arc(e+t.activePadding,e+t.activePadding,n+t.spotlightPadding,0,2*Math.PI,!0),v.closePath(),v.fill(),v.globalCompositeOperation="source-over"}function k(e,t,n,i,r){D.drawCommands=[e,t,n,i,r]}function M(e,n,i,r,o){var a=2*Math.PI/m.length,s=Math.PI/2,l=s+a;s+=a*x,l+=a*x,v.fillStyle=t.activeFillColor,v.strokeStyle="black",v.lineWidth=1,v.beginPath(),v.moveTo(i+t.activePadding,i+t.activePadding),v.arc(i+t.activePadding,i+t.activePadding,i+t.activePadding,2*Math.PI-s,2*Math.PI-l,!0),v.closePath(),v.fill(),v.fillStyle="white",v.globalCompositeOperation="destination-out";var u=i+t.activePadding+e/i*(o+t.spotlightPadding-t.indicatorSize/4),c=i+t.activePadding+n/i*(o+t.spotlightPadding-t.indicatorSize/4),h=Math.PI/4-r;v.translate(u,c),v.rotate(h);var d=t.indicatorSize>o+t.spotlightPadding?o+t.spotlightPadding:t.indicatorSize;v.beginPath(),v.fillRect(-d/2,-d/2,d,d),v.closePath(),v.fill(),v.rotate(-h),v.translate(-u,-c),v.beginPath(),v.arc(i+t.activePadding,i+t.activePadding,o+t.spotlightPadding,0,2*Math.PI,!0),v.closePath(),v.fill(),v.globalCompositeOperation="source-over"}function T(){var e=u(),t=b,n=b;g.width=t*e,g.height=n*e,g.style.width=t+"px",g.style.height=n+"px",v.setTransform(1,0,0,1,0,0),v.scale(e,e)}o.insertBefore(f,o.firstChild),f.appendChild(p),p.appendChild(g),s(f,{position:"absolute",zIndex:t.zIndex,userSelect:"none",pointerEvents:"none"}),["mousedown","mousemove","mouseup","contextmenu"].forEach((function(e){f.addEventListener(e,(function(e){return e.preventDefault(),!1}))})),s(p,{display:"none",width:b+"px",height:b+"px",position:"absolute",zIndex:1,marginLeft:-t.activePadding+"px",marginTop:-t.activePadding+"px",userSelect:"none"}),g.width=b,g.height=b;var E=!0,D={},P=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16)},O=function e(){D.drawBg&&S.apply(null,D.drawBg),D.drawCommands&&M.apply(null,D.drawCommands),D={},E&&P(e)};T(),O();var I=void 0,A=void 0,L=void 0,N={on:function(e,t,i){var r=i;return"core"===t&&(r=function(e){if(e.cyTarget===n||e.target===n)return i.apply(this,[e])}),d.handlers.push({events:e,selector:t,fn:r}),"core"===t?n.on(e,r):n.on(e,t,r),this}};function R(){var e=void 0,i=!1,r=void 0,a=void 0,l=void 0,u=void 0,d=void 0,f=void 0,g=function(){a&&n.userZoomingEnabled(!0)},v=function(){e&&h.grabify()},S=function(){l&&n.userPanningEnabled(!0)},M=function(){u&&n.boxSelectionEnabled(!0)},E=function(){v(),g(),S(),M()};window.addEventListener("resize",T),N.on("resize",(function(){T()})).on(t.openMenuEvents,t.selector,(function(r){h=this;var f=this,g=this===n;if(i&&(p.style.display="none",i=!1,E()),"function"===typeof t.commands){var v=t.commands(h);v.then?v.then((function(e){m=e,S()})):(m=v,S())}else m=t.commands,S();function S(){if(m&&0!==m.length){a=n.userZoomingEnabled(),n.userZoomingEnabled(!1),l=n.userPanningEnabled(),n.userPanningEnabled(!1),u=n.boxSelectionEnabled(),n.boxSelectionEnabled(!1),e=h.grabbable&&h.grabbable(),e&&h.ungrabify();var v=void 0,S=void 0,k=void 0;!g&&f&&f.isNode instanceof Function&&f.isNode()&&!f.isParent()&&!t.atMouse?(v=f.renderedPosition(),S=f.renderedOuterWidth(),f.renderedOuterHeight(),k=S/2,k=!t.adaptativeNodeSpotlightRadius&&t.minSpotlightRadius?Math.max(k,t.minSpotlightRadius):k,k=!t.adaptativeNodeSpotlightRadius&&t.maxSpotlightRadius?Math.min(k,t.maxSpotlightRadius):k):(v=r.renderedPosition||r.cyRenderedPosition,S=1,1,k=S/2,k=t.minSpotlightRadius?Math.max(k,t.minSpotlightRadius):k,k=t.maxSpotlightRadius?Math.min(k,t.maxSpotlightRadius):k),_=c(o),I=v.x,A=v.y,y=S/2+(t.menuRadius instanceof Function?t.menuRadius(h):Number(t.menuRadius)),b=2*(y+t.activePadding),T(),s(p,{width:b+"px",height:b+"px",display:"block",left:v.x-y+"px",top:v.y-y+"px"}),w(y,k),C(y,k),x=void 0,i=!0,d=r}}})).on("cxtdrag tapdrag",t.selector,r=function(e){if(i){e.preventDefault();var n=e.originalEvent,r=n.touches&&n.touches.length>0,o=(r?n.touches[0].pageX:n.pageX)-window.pageXOffset,a=(r?n.touches[0].pageY:n.pageY)-window.pageYOffset;x=void 0;var s=o-_.left-I,l=a-_.top-A;0===s&&(s=.01);var u=Math.sqrt(s*s+l*l),c=(l*l-u*u-s*s)/(-2*u*s),d=Math.acos(c),f=void 0;if(h&&h.isNode instanceof Function&&h.isNode()&&!h.isParent()&&!t.atMouse?(f=h.renderedOuterWidth(),L=f/2,L=!t.adaptativeNodeSpotlightRadius&&t.minSpotlightRadius?Math.max(L,t.minSpotlightRadius):L,L=!t.adaptativeNodeSpotlightRadius&&t.maxSpotlightRadius?Math.min(L,t.maxSpotlightRadius):L):(f=1,L=f/2,L=t.minSpotlightRadius?Math.max(L,t.minSpotlightRadius):L,L=t.maxSpotlightRadius?Math.min(L,t.maxSpotlightRadius):L),y=f/2+(t.menuRadius instanceof Function?t.menuRadius(h):Number(t.menuRadius)),u<L+t.spotlightPadding||"number"===typeof t.outsideMenuCancel&&u>y+t.activePadding+t.outsideMenuCancel)C(y,L);else{C(y,L);var p=s*y/u,g=l*y/u;l>0&&(d=Math.PI+Math.abs(d-Math.PI));for(var v=2*Math.PI/m.length,b=Math.PI/2,w=b+v,S=0;S<m.length;S++){var M=m[S],T=b<=d&&d<=w||b<=d+2*Math.PI&&d+2*Math.PI<=w;if(!0!==M.disabled&&!1!==M.enabled||(T=!1),T){x=S;break}b+=v,w+=v}k(p,g,y,d,L)}}}).on("tapdrag",r).on("mousemove",(function(){if(void 0!==x){var e=m[x].hover;e&&(f!==x&&e.apply(h,[h,d]),f=x)}})).on("cxttapend tapend",(function(){if(p.style.display="none",void 0!==x){var e=m[x].select;e&&(e.apply(h,[h,d]),x=void 0)}f=void 0,i=!1,E()}))}function z(){for(var e=d.handlers,t=0;t<e.length;t++){var i=e[t];"core"===i.selector?n.off(i.events,i.fn):n.off(i.events,i.selector,i.fn)}window.removeEventListener("resize",T)}function $(){E=!1,z(),f.remove()}return R(),{destroy:function(){$()}}};e.exports=h},function(e,t,n){"use strict";e.exports=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.filter((function(e){return null!=e})).forEach((function(t){Object.keys(t).forEach((function(n){return e[n]=t[n]}))})),e}},function(e,t,n){"use strict";var i={menuRadius:function(e){return 100},selector:"node",commands:[],fillColor:"rgba(0, 0, 0, 0.75)",activeFillColor:"rgba(1, 105, 217, 0.75)",activePadding:20,indicatorSize:24,separatorWidth:3,spotlightPadding:4,adaptativeNodeSpotlightRadius:!1,minSpotlightRadius:24,maxSpotlightRadius:38,openMenuEvents:"cxttapstart taphold",itemColor:"white",itemTextShadowColor:"transparent",zIndex:9999,atMouse:!1,outsideMenuCancel:!1};e.exports=i},function(e,t,n){"use strict";var i=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=t.querySelectorAll(e),i=0;i<n.length;i++){var r=n[i];r.parentNode.removeChild(r)}},r=function(e,t){for(var n=Object.keys(t),i=0,r=n.length;i<r;i++)e.style[n[i]]=t[n[i]]},o=function(e){e=e||{};var t=document.createElement(e.tag||"div");return t.className=e.class||"",e.style&&r(t,e.style),t},a=function(){return window.devicePixelRatio||1},s=function(e){var t=e.getBoundingClientRect();return{left:t.left+document.body.scrollLeft+parseFloat(getComputedStyle(document.body)["padding-left"])+parseFloat(getComputedStyle(document.body)["border-left-width"]),top:t.top+document.body.scrollTop+parseFloat(getComputedStyle(document.body)["padding-top"])+parseFloat(getComputedStyle(document.body)["border-top-width"])}};e.exports={removeEles:i,setStyles:r,createElement:o,getPixelRatio:a,getOffset:s}},function(e,t,n){"use strict";var i=n(0),r=function(e){e&&e("core","cxtmenu",i)};"undefined"!==typeof cytoscape&&r(cytoscape),e.exports=r}])}))},68762:function(e,t,n){n(57658),function(t,n){e.exports=n()}(0,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t,n){"use strict";e.exports=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.forEach((function(t){Object.keys(t).forEach((function(n){return e[n]=t[n]}))})),e}},function(e,t,n){"use strict";var i=n(0),r=Object.freeze({source:null,target:null,length:80,coeff:2e-4,weight:1});function o(e){return i({},r,e)}function a(e){var t=e.source,n=e.target,i=e.length<0?r.length:e.length,o=n.pos.x-t.pos.x,a=n.pos.y-t.pos.y,s=Math.sqrt(o*o+a*a);0===s&&(o=(Math.random()-.5)/50,a=(Math.random()-.5)/50,s=Math.sqrt(o*o+a*a));var l=s-i,u=(!e.coeff||e.coeff<0?r.springCoeff:e.coeff)*l/s*e.weight;t.force.x+=u*o,t.force.y+=u*a,n.force.x-=u*o,n.force.y-=u*a}e.exports={makeSpring:o,applySpring:a}},function(e,t,n){"use strict";var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=n(13),l=n(0),u=n(4),c=n(10),h=c.tick,d=n(7),f=d.makeQuadtree,p=n(3),g=p.makeBody,m=n(1),v=m.makeSpring,y=function(e){return"function"===typeof e},b=function(e){return e.isParent()},x=function(e){return!b(e)},_=function(e){return b(e.source())||b(e.target())},w=function(e){return!_(e)},C=function(e){return e.scratch("euler").body},S=function(e){return b(e)?e.descendants().filter(x):e},k=function(e){var t=e.scratch("euler");return t||(t={},e.scratch("euler",t)),t},M=function(e,t){return y(e)?e(t):e},T=function(e){function t(e){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,l({},u,e)))}return a(t,e),i(t,[{key:"prerun",value:function(e){var t=e;t.quadtree=f();var n=t.bodies=[];t.nodes.filter((function(e){return x(e)})).forEach((function(e){var i=k(e),r=g({pos:{x:i.x,y:i.y},mass:M(t.mass,e),locked:i.locked});r._cyNode=e,i.body=r,r._scratch=i,n.push(r)}));var i=t.springs=[];t.edges.filter(w).forEach((function(e){var n=v({source:C(e.source()),target:C(e.target()),length:M(t.springLength,e),coeff:M(t.springCoeff,e)});n._cyEdge=e;var r=k(e);n._scratch=r,r.spring=n,i.push(n)})),t.edges.filter(_).forEach((function(e){var n=S(e.source()),r=S(e.target());n=[n[0]],r=[r[0]],n.forEach((function(n){r.forEach((function(r){i.push(v({source:C(n),target:C(r),length:M(t.springLength,e),coeff:M(t.springCoeff,e)}))}))}))}))}},{key:"tick",value:function(e){var t=h(e),n=t<=e.movementThreshold;return n}}]),t}(s);e.exports=T},function(e,t,n){"use strict";var i=Object.freeze({pos:{x:0,y:0},prevPos:{x:0,y:0},force:{x:0,y:0},velocity:{x:0,y:0},mass:1}),r=function(e){return{x:e.x,y:e.y}},o=function(e,t){return null!=e?e:t},a=function(e,t){return r(o(e,t))};function s(e){var t={};return t.pos=a(e.pos,i.pos),t.prevPos=a(e.prevPos,t.pos),t.force=a(e.force,i.force),t.velocity=a(e.velocity,i.velocity),t.mass=null!=e.mass?e.mass:i.mass,t.locked=e.locked,t}e.exports={makeBody:s}},function(e,t,n){"use strict";var i=Object.freeze({springLength:function(e){return 80},springCoeff:function(e){return 8e-4},mass:function(e){return 4},gravity:-1.2,pull:.001,theta:.666,dragCoeff:.02,movementThreshold:1,timeStep:20});e.exports=i},function(e,t,n){"use strict";var i=.02;function r(e,t){var n=void 0;n=null!=t?t:null!=e.dragCoeff?e.dragCoeff:i,e.force.x-=n*e.velocity.x,e.force.y-=n*e.velocity.y}e.exports={applyDrag:r}},function(e,t,n){"use strict";function i(e,t){var n,i=0,r=0,o=0,a=0,s=e.length;if(0===s)return 0;for(n=0;n<s;++n){var l=e[n],u=t/l.mass;if(!l.grabbed){l.locked?(l.velocity.x=0,l.velocity.y=0):(l.velocity.x+=u*l.force.x,l.velocity.y+=u*l.force.y);var c=l.velocity.x,h=l.velocity.y,d=Math.sqrt(c*c+h*h);d>1&&(l.velocity.x=c/d,l.velocity.y=h/d),i=t*l.velocity.x,o=t*l.velocity.y,l.pos.x+=i,l.pos.y+=o,r+=Math.abs(i),a+=Math.abs(o)}}return(r*r+a*a)/s}e.exports={integrate:i}},function(e,t,n){"use strict";var i=n(9),r=n(8),o=function(e){e.x=0,e.y=0},a=function(e,t){var n=1e-8,i=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return i<n&&r<n};function s(){var e=[],t=new r,n=[],s=0,c=h();function h(){var e=n[s];return e?(e.quad0=null,e.quad1=null,e.quad2=null,e.quad3=null,e.body=null,e.mass=e.massX=e.massY=0,e.left=e.right=e.top=e.bottom=0):(e=new i,n[s]=e),++s,e}function d(t,n,i,r){var a=e,s=void 0,l=void 0,u=void 0,h=void 0,d=0,f=0,p=1,g=0,m=1;a[0]=c,o(t.force);var v=-t.pos.x,y=-t.pos.y,b=Math.sqrt(v*v+y*y),x=t.mass*r/b;d+=x*v,f+=x*y;while(p){var _=a[g],w=_.body;p-=1,g+=1;var C=w!==t;w&&C?(l=w.pos.x-t.pos.x,u=w.pos.y-t.pos.y,h=Math.sqrt(l*l+u*u),0===h&&(l=(Math.random()-.5)/50,u=(Math.random()-.5)/50,h=Math.sqrt(l*l+u*u)),s=n*w.mass*t.mass/(h*h*h),d+=s*l,f+=s*u):C&&(l=_.massX/_.mass-t.pos.x,u=_.massY/_.mass-t.pos.y,h=Math.sqrt(l*l+u*u),0===h&&(l=(Math.random()-.5)/50,u=(Math.random()-.5)/50,h=Math.sqrt(l*l+u*u)),(_.right-_.left)/h<i?(s=n*_.mass*t.mass/(h*h*h),d+=s*l,f+=s*u):(_.quad0&&(a[m]=_.quad0,p+=1,m+=1),_.quad1&&(a[m]=_.quad1,p+=1,m+=1),_.quad2&&(a[m]=_.quad2,p+=1,m+=1),_.quad3&&(a[m]=_.quad3,p+=1,m+=1)))}t.force.x+=d,t.force.y+=f}function f(e){if(0!==e.length){var t=Number.MAX_VALUE,n=Number.MAX_VALUE,i=Number.MIN_VALUE,r=Number.MIN_VALUE,o=void 0,a=e.length;o=a;while(o--){var l=e[o].pos.x,u=e[o].pos.y;l<t&&(t=l),l>i&&(i=l),u<n&&(n=u),u>r&&(r=u)}var d=i-t,f=r-n;d>f?r=n+d:i=t+f,s=0,c=h(),c.left=t,c.right=i,c.top=n,c.bottom=r,o=a-1,o>=0&&(c.body=e[o]);while(o--)p(e[o],c)}}function p(e){t.reset(),t.push(c,e);while(!t.isEmpty()){var n=t.pop(),i=n.node,r=n.body;if(i.body){var o=i.body;if(i.body=null,a(o.pos,r.pos)){var s=3;do{var d=Math.random(),f=(i.right-i.left)*d,p=(i.bottom-i.top)*d;o.pos.x=i.left+f,o.pos.y=i.top+p,s-=1}while(s>0&&a(o.pos,r.pos));if(0===s&&a(o.pos,r.pos))return}t.push(i,o),t.push(i,r)}else{var g=r.pos.x,m=r.pos.y;i.mass=i.mass+r.mass,i.massX=i.massX+r.mass*g,i.massY=i.massY+r.mass*m;var v=0,y=i.left,b=(i.right+y)/2,x=i.top,_=(i.bottom+x)/2;g>b&&(v+=1,y=b,b=i.right),m>_&&(v+=2,x=_,_=i.bottom);var w=l(i,v);w?t.push(w,r):(w=h(),w.left=y,w.top=x,w.right=b,w.bottom=_,w.body=r,u(i,v,w))}}}return{insertBodies:f,updateBodyForce:d}}function l(e,t){return 0===t?e.quad0:1===t?e.quad1:2===t?e.quad2:3===t?e.quad3:null}function u(e,t,n){0===t?e.quad0=n:1===t?e.quad1=n:2===t?e.quad2=n:3===t&&(e.quad3=n)}e.exports={makeQuadtree:s}},function(e,t,n){"use strict";function i(){this.stack=[],this.popIdx=0}function r(e,t){this.node=e,this.body=t}e.exports=i,i.prototype={isEmpty:function(){return 0===this.popIdx},push:function(e,t){var n=this.stack[this.popIdx];n?(n.node=e,n.body=t):this.stack[this.popIdx]=new r(e,t),++this.popIdx},pop:function(){if(this.popIdx>0)return this.stack[--this.popIdx]},reset:function(){this.popIdx=0}}},function(e,t,n){"use strict";e.exports=function(){this.body=null,this.quad0=null,this.quad1=null,this.quad2=null,this.quad3=null,this.mass=0,this.massX=0,this.massY=0,this.left=0,this.top=0,this.bottom=0,this.right=0}},function(e,t,n){"use strict";var i=n(6),r=i.integrate,o=n(5),a=o.applyDrag,s=n(1),l=s.applySpring;function u(e){var t=e.bodies,n=e.springs,i=e.quadtree,o=e.timeStep,s=e.gravity,u=e.theta,c=e.dragCoeff,h=e.pull;t.forEach((function(e){var t=e._scratch;t&&(e.locked=t.locked,e.grabbed=t.grabbed,e.pos.x=t.x,e.pos.y=t.y)})),i.insertBodies(t);for(var d=0;d<t.length;d++){var f=t[d];i.updateBodyForce(f,s,u,h),a(f,c)}for(var p=0;p<n.length;p++){var g=n[p];l(g)}var m=r(t,o);return t.forEach((function(e){var t=e._scratch;t&&(t.x=e.pos.x,t.y=e.pos.y)})),m}e.exports={tick:u}},function(e,t,n){"use strict";var i=n(2),r=function(e){e&&e("layout","euler",i)};"undefined"!==typeof cytoscape&&r(cytoscape),e.exports=r},function(e,t,n){"use strict";e.exports=Object.freeze({animate:!0,refresh:10,maxIterations:1e3,maxSimulationTime:4e3,ungrabifyWhileSimulating:!1,fit:!0,padding:30,boundingBox:void 0,ready:function(){},stop:function(){},randomize:!1,infinite:!1})},function(e,t,n){"use strict";var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(0),a=n(12),s=n(14),l=n(15),u=l.setInitialPositionState,c=l.refreshPositions,h=l.getNodePositionData,d=n(16),f=d.multitick,p=function(){function e(t){r(this,e);var n=this.options=o({},a,t),i=this.state=o({},n,{layout:this,nodes:n.eles.nodes(),edges:n.eles.edges(),tickIndex:0,firstUpdate:!0});i.animateEnd=n.animate&&"end"===n.animate,i.animateContinuously=n.animate&&!i.animateEnd}return i(e,[{key:"run",value:function(){var e=this,t=this.state;if(t.tickIndex=0,t.firstUpdate=!0,t.startTime=Date.now(),t.running=!0,t.currentBoundingBox=s(t.boundingBox,t.cy),t.ready&&e.one("ready",t.ready),t.stop&&e.one("stop",t.stop),t.nodes.forEach((function(e){return u(e,t)})),e.prerun(t),t.animateContinuously){var n=function(e){if(t.ungrabifyWhileSimulating){var n=h(e,t).grabbable=e.grabbable();n&&e.ungrabify()}},i=function(e){if(t.ungrabifyWhileSimulating){var n=h(e,t).grabbable;n&&e.grabify()}},r=function(e){return h(e,t).grabbed=e.grabbed()},o=function(e){var t=e.target;r(t)},a=o,l=function(e){var n=e.target,i=h(n,t),r=n.position();i.x=r.x,i.y=r.y},d=function(e){e.on("grab",o),e.on("free",a),e.on("drag",l)},p=function(e){e.removeListener("grab",o),e.removeListener("free",a),e.removeListener("drag",l)},g=function(){t.fit&&t.animateContinuously&&t.cy.fit(t.padding)},m=function(){c(t.nodes,t),g(),requestAnimationFrame(v)},v=function(){f(t,m,y)},y=function(){c(t.nodes,t),g(),t.nodes.forEach((function(e){i(e),p(e)})),t.running=!1,e.emit("layoutstop")};e.emit("layoutstart"),t.nodes.forEach((function(e){n(e),d(e)})),v()}else{var b=!1,x=function(){},_=function(){return b=!0};while(!b)f(t,x,_);t.eles.layoutPositions(this,t,(function(e){var n=h(e,t);return{x:n.x,y:n.y}}))}return e.postrun(t),this}},{key:"prerun",value:function(){}},{key:"postrun",value:function(){}},{key:"tick",value:function(){}},{key:"stop",value:function(){return this.state.running=!1,this}},{key:"destroy",value:function(){return this}}]),e}();e.exports=p},function(e,t,n){"use strict";e.exports=function(e,t){return e=null==e?{x1:0,y1:0,w:t.width(),h:t.height()}:{x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2,w:e.w,h:e.h},null==e.x2&&(e.x2=e.x1+e.w),null==e.w&&(e.w=e.x2-e.x1),null==e.y2&&(e.y2=e.y1+e.h),null==e.h&&(e.h=e.y2-e.y1),e}},function(e,t,n){"use strict";var i=n(0),r=function(e,t){var n=e.position(),r=t.currentBoundingBox,o=e.scratch(t.name);null==o&&(o={},e.scratch(t.name,o)),i(o,t.randomize?{x:r.x1+Math.random()*r.w,y:r.y1+Math.random()*r.h}:{x:n.x,y:n.y}),o.locked=e.locked()},o=function(e,t){return e.scratch(t.name)},a=function(e,t){e.positions((function(e){var n=e.scratch(t.name);return{x:n.x,y:n.y}}))};e.exports={setInitialPositionState:r,getNodePositionData:o,refreshPositions:a}},function(e,t,n){"use strict";var i=function(){},r=function(e){var t=e,n=e.layout,i=n.tick(t);t.firstUpdate&&(t.animateContinuously&&t.layout.emit("layoutready"),t.firstUpdate=!1),t.tickIndex++;var r=Date.now()-t.startTime;return!t.infinite&&(i||t.tickIndex>=t.maxIterations||r>=t.maxSimulationTime)},o=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,o=!1,a=e,s=0;s<a.refresh;s++)if(o=!a.running||r(a),o)break;o?n():t()};e.exports={tick:r,multitick:o}}])}))},73964:function(e,t,n){n(57658),n(46229),n(17330),n(62062),function(t){e.exports=t()}((function(){var e;return function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){var l=void 0;if(!s&&l)return require(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){var n=t[a][1][e];return r(n||e)}),c,c.exports,e,t,n,i)}return n[a].exports}for(var o=void 0,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(e,t,n){var i={equalBoundingBoxes:function(e,t){return e.x1==t.x1&&e.x2==t.x2&&e.y1==t.y1&&e.y2==t.y2},getUnion:function(e,t){var n={x1:Math.min(e.x1,t.x1),x2:Math.max(e.x2,t.x2),y1:Math.min(e.y1,t.y1),y2:Math.max(e.y2,t.y2)};return n.w=n.x2-n.x1,n.h=n.y2-n.y1,n}};t.exports=i},{}],2:[function(e,t,n){var i=e("./debounce"),r=e("./debounce2");t.exports=function(t,n,o){var a,s=t;const l=100;var u;const c=function(){var e=n.scratch("_cyExpandCollapse");return e&&e.cueUtilities},h=function(e){var t=n.scratch("_cyExpandCollapse");null==t&&(t={}),t.cueUtilities=e,n.scratch("_cyExpandCollapse",t)};var d={init:function(){var t=document.createElement("canvas");t.classList.add("expand-collapse-canvas");var s=n.container(),c=t.getContext("2d");s.append(t),a=e("./elementUtilities")(n);var d=function(e){var t=e.getBoundingClientRect();return{top:t.top+document.documentElement.scrollTop,left:t.left+document.documentElement.scrollLeft}},f=i((function(){t.height=n.container().offsetHeight,t.width=n.container().offsetWidth,t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.zIndex=m().zIndex,setTimeout((function(){var e=d(t),i=d(s);t.style.top=-(e.top-i.top),t.style.left=-(e.left-i.left),n&&v(!0)}),0)}),250);function p(){f()}p();var g={};function m(){return n.scratch("_cyExpandCollapse").options}function v(){var e=n.width(),t=n.height();c.clearRect(0,0,e,t),u=null}function y(e){var t=e.children(),i=e.data("collapsedChildren"),r=null!=t&&void 0!=t&&t.length>0;if(r||i){var o,s=e.hasClass("cy-expand-collapse-collapsed-node"),l=m().expandCollapseCueSize,h=m().expandCollapseCueLineSize;if("top-left"===m().expandCollapseCuePosition){var d=1,f=n.zoom()<1?l/(2*n.zoom()):l/2,p=parseFloat(e.css("border-width")),g=e.position("x")-e.width()/2-parseFloat(e.css("padding-left"))+p+f+d,v=e.position("y")-e.height()/2-parseFloat(e.css("padding-top"))+p+f+d;o={x:g,y:v}}else{var y=m().expandCollapseCuePosition;o="function"===typeof y?y.call(this,e):y}var x=a.convertToRenderedPosition(o);l=Math.max(l,l*n.zoom()),h=Math.max(h,h*n.zoom());var _=(l-h)/2,w=x.x,C=x.y,S=w-l/2,k=C-l/2,M=l;if(s&&m().expandCueImage)b(m().expandCueImage,S,k,l,l);else if(!s&&m().collapseCueImage)b(m().collapseCueImage,S,k,l,l);else{var T=c.fillStyle,E=c.lineWidth,D=c.strokeStyle;c.fillStyle="black",c.strokeStyle="black",c.ellipse(w,C,l/2,l/2,0,0,2*Math.PI),c.fill(),c.beginPath(),c.strokeStyle="white",c.lineWidth=Math.max(2.6,2.6*n.zoom()),c.moveTo(S+_,k+l/2),c.lineTo(S+h+_,k+l/2),s&&(c.moveTo(S+l/2,k+_),c.lineTo(S+l/2,k+h+_)),c.closePath(),c.stroke(),c.strokeStyle=D,c.fillStyle=T,c.lineWidth=E}e._private.data.expandcollapseRenderedStartX=S,e._private.data.expandcollapseRenderedStartY=k,e._private.data.expandcollapseRenderedCueSize=M,u=e}}function b(e,t,n,i,r){var o=new Image(i,r);o.src=e,o.onload=()=>{c.drawImage(o,t,n,i,r)}}n.on("resize",g.eCyResize=function(){p()}),n.on("expandcollapse.clearvisualcue",(function(){u&&v()}));var x,_=null,w=null;n.on("mousedown",g.eMouseDown=function(e){_=e.renderedPosition||e.cyRenderedPosition}),n.on("mouseup",g.eMouseUp=function(e){w=e.renderedPosition||e.cyRenderedPosition}),n.on("remove","node",g.eRemove=function(e){const t=e.target;t==u&&v()}),n.on("select unselect",g.eSelect=function(){u&&v();var e=n.nodes(":selected");if(1===e.length){var t=e[0];(t.isParent()||t.hasClass("cy-expand-collapse-collapsed-node"))&&y(t)}}),n.on("tap",g.eTap=function(e){var t=u;if(t){var i=t.data("expandcollapseRenderedStartX"),r=t.data("expandcollapseRenderedStartY"),a=t.data("expandcollapseRenderedCueSize"),s=i+a,l=r+a,c=e.renderedPosition||e.cyRenderedPosition,h=c.x,d=c.y,f=m(),p=(f.expandCollapseCueSensitivity-1)/2;Math.abs(_.x-w.x)<5&&Math.abs(_.y-w.y)<5&&h>=i-a*p&&h<=s+a*p&&d>=r-a*p&&d<=l+a*p&&(f.undoable&&!x&&(x=n.undoRedo({defaultActions:!1})),o.isCollapsible(t)?(v(),f.undoable?x.do("collapse",{nodes:t,options:f}):o.collapse(t,f)):o.isExpandable(t)&&(v(),f.undoable?x.do("expand",{nodes:t,options:f}):o.expand(t,f)),t.selectable()&&(t.unselectify(),n.scratch("_cyExpandCollapse").selectableChanged=!0))}}),n.on("afterUndo afterRedo",g.eUndoRedo=g.eSelect),n.on("position","node",g.ePosition=r(g.eSelect,l,v)),n.on("pan zoom",g.ePosition),g.hasEventFields=!0,h(g)},unbind:function(){var e=c();e.hasEventFields?(n.trigger("expandcollapse.clearvisualcue"),n.off("mousedown","node",e.eMouseDown).off("mouseup","node",e.eMouseUp).off("remove","node",e.eRemove).off("tap","node",e.eTap).off("add","node",e.eAdd).off("position","node",e.ePosition).off("pan zoom",e.ePosition).off("select unselect",e.eSelect).off("free","node",e.eFree).off("resize",e.eCyResize).off("afterUndo afterRedo",e.eUndoRedo)):console.log("events to unbind does not exist")},rebind:function(){var e=c();e.hasEventFields?n.on("mousedown","node",e.eMouseDown).on("mouseup","node",e.eMouseUp).on("remove","node",e.eRemove).on("tap","node",e.eTap).on("add","node",e.eAdd).on("position","node",e.ePosition).on("pan zoom",e.ePosition).on("select unselect",e.eSelect).on("free","node",e.eFree).on("resize",e.eCyResize).on("afterUndo afterRedo",e.eUndoRedo):console.log("events to rebind does not exist")}};if(d[s])return d[s].apply(n.container(),Array.prototype.slice.call(arguments,1));if("object"==typeof s||!s)return d.init.apply(n.container(),arguments);throw new Error("No such function `"+s+"` for cytoscape.js-expand-collapse")}},{"./debounce":3,"./debounce2":4,"./elementUtilities":5}],3:[function(e,t,n){var i=function(){var e="Expected a function",t=Math.max,n=Date.now,i=n||function(){return(new Date).getTime()};function r(n,r,a){var s,l,u,c,h,d,f,p=0,g=!1,m=!0;if("function"!=typeof n)throw new TypeError(e);if(r=r<0?0:+r||0,!0===a){var v=!0;m=!1}else o(a)&&(v=!!a.leading,g="maxWait"in a&&t(+a.maxWait||0,r),m="trailing"in a?!!a.trailing:m);function y(){d&&clearTimeout(d),l&&clearTimeout(l),p=0,l=d=f=void 0}function b(e,t){t&&clearTimeout(t),l=d=f=void 0,e&&(p=i(),u=n.apply(h,s),d||l||(s=h=void 0))}function x(){var e=r-(i()-c);e<=0||e>r?b(f,l):d=setTimeout(x,e)}function _(){b(m,d)}function w(){if(s=arguments,c=i(),h=this,f=m&&(d||!v),!1===g)var e=v&&!d;else{l||v||(p=c);var t=g-(c-p),o=t<=0||t>g;o?(l&&(l=clearTimeout(l)),p=c,u=n.apply(h,s)):l||(l=setTimeout(_,t))}return o&&d?d=clearTimeout(d):d||r===g||(d=setTimeout(x,r)),e&&(o=!0,u=n.apply(h,s)),!o||d||l||(s=h=void 0),u}return w.cancel=y,w}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}return r}();t.exports=i},{}],4:[function(e,t,n){var i=function(){function e(e,t,n){let i,r=!0;return function(){const o=this,a=arguments,s=function(){i=null,e.apply(o,a),r=!0};clearTimeout(i),i=setTimeout(s,t),r&&(n.apply(o,a),r=!1)}}return e}();t.exports=i},{}],5:[function(e,t,n){function i(e){return{moveNodes:function(e,t,n){var i=n?t:this.getTopMostNodes(t),r=i.not(":parent");r.positions((function(t,n){return{x:r[n].position("x")+e.x,y:r[n].position("y")+e.y}}));for(var o=0;o<i.length;o++){var a=i[o],s=a.children();this.moveNodes(e,s,!0)}},getTopMostNodes:function(e){for(var t={},n=0;n<e.length;n++)t[e[n].id()]=!0;var i=e.filter((function(e,n){"number"===typeof e&&(e=n);var i=e.parent()[0];while(null!=i){if(t[i.id()])return!1;i=i.parent()[0]}return!0}));return i},rearrange:function(t){if("function"===typeof t)t();else if(null!=t){var n=e.layout(t);n&&n.run&&n.run()}},convertToRenderedPosition:function(t){var n=e.pan(),i=e.zoom(),r=t.x*i+n.x,o=t.y*i+n.y;return{x:r,y:o}}}}t.exports=i},{}],6:[function(e,t,n){var i=e("./boundingBoxUtilities");function r(t){var n=e("./elementUtilities")(t);return{animatedlyMovingNodeCount:0,expandNodeBaseFunction:function(e,i,r){if(e._private.data.collapsedChildren){var o={x:e._private.position.x-e._private.data["position-before-collapse"].x,y:e._private.position.y-e._private.data["position-before-collapse"].y};e.removeData("infoLabel"),e.removeClass("cy-expand-collapse-collapsed-node"),e.trigger("expandcollapse.beforeexpand");var a=e._private.data.collapsedChildren;a.restore();for(var s=t.scratch("_cyExpandCollapse").parentData,l=0;l<a.length;l++)delete s[a[l].id()];t.scratch("_cyExpandCollapse").parentData=s,this.repairEdges(e),e._private.data.collapsedChildren=null,n.moveNodes(o,e.children()),e.removeData("position-before-collapse"),e.trigger("position"),e.trigger("expandcollapse.afterexpand"),i&&this.endOperation(r,e)}},simpleCollapseGivenNodes:function(e){e.data("collapse",!0);for(var t=n.getTopMostNodes(e),i=0;i<t.length;i++){var r=t[i];this.collapseBottomUp(r)}return e},simpleExpandGivenNodes:function(e,t){e.data("expand",!0);for(var i=n.getTopMostNodes(e),r=0;r<i.length;r++){var o=i[r];this.expandTopDown(o,t)}return e},simpleExpandAllNodes:function(e,i){var r;void 0===e&&(e=t.nodes()),r=n.getTopMostNodes(e);for(var o=[],a=0;a<r.length;a++){var s=r[a];this.expandAllTopDown(s,o,i)}return o},endOperation:function(e,i){t.ready((function(){setTimeout((function(){n.rearrange(e),t.scratch("_cyExpandCollapse").selectableChanged&&(i.selectify(),t.scratch("_cyExpandCollapse").selectableChanged=!1)}),0)}))},expandAllNodes:function(e,t){var n=this.simpleExpandAllNodes(e,t.fisheye);return this.endOperation(t.layoutBy,e),n},expandAllTopDown:function(e,t,n){null!=e._private.data.collapsedChildren&&(t.push(e),this.expandNode(e,n));for(var i=e.children(),r=0;r<i.length;r++){var o=i[r];this.expandAllTopDown(o,t,n)}},expandGivenNodes:function(e,t){if(1===e.length){var n=e[0];null!=n._private.data.collapsedChildren&&this.expandNode(n,t.fisheye,!0,t.animate,t.layoutBy,t.animationDuration)}else this.simpleExpandGivenNodes(e,t.fisheye),this.endOperation(t.layoutBy,e);return e},collapseGivenNodes:function(e,n){return t.startBatch(),this.simpleCollapseGivenNodes(e),t.endBatch(),e.trigger("position"),this.endOperation(n.layoutBy,e),t.style().update(),e},collapseBottomUp:function(e){for(var t=e.children(),n=0;n<t.length;n++){var i=t[n];this.collapseBottomUp(i)}e.data("collapse")&&e.children().length>0&&(this.collapseNode(e),e.removeData("collapse"))},expandTopDown:function(e,t){e.data("expand")&&null!=e._private.data.collapsedChildren&&(this.expandNode(e,t),e.removeData("expand"));for(var n=e.children(),i=0;i<n.length;i++){var r=n[i];this.expandTopDown(r)}},convertToModelPosition:function(e){var n=t.pan(),i=t.zoom(),r=(e.x-n.x)/i,o=(e.y-n.y)/i;return{x:r,y:o}},expandNode:function(e,n,r,o,a,s){var l=this,u=function(e,t,n,i,r,o){t&&(e._private.data["width-before-fisheye"]=e._private.data["size-before-collapse"].w,e._private.data["height-before-fisheye"]=e._private.data["size-before-collapse"].h,l.fishEyeViewExpandGivenNode(e,n,e,i,r,o)),n&&t&&i||l.expandNodeBaseFunction(e,n,r)};if(null!=e._private.data.collapsedChildren){this.storeWidthHeight(e);var c=!1;if(n&&r){var h=this.convertToModelPosition({x:0,y:0}),d=this.convertToModelPosition({x:t.width(),y:t.height()}),f=80,p={x1:h.x,x2:d.x,y1:h.y,y2:d.y},g={x1:e._private.position.x-e._private.data["size-before-collapse"].w/2-f,x2:e._private.position.x+e._private.data["size-before-collapse"].w/2+f,y1:e._private.position.y-e._private.data["size-before-collapse"].h/2-f,y2:e._private.position.y+e._private.data["size-before-collapse"].h/2+f},m=i.getUnion(g,p);if(!i.equalBoundingBoxes(m,p)){var v=t.getFitViewport(m,10);l=this;c=o,o?t.animate({pan:v.pan,zoom:v.zoom,complete:function(){u(e,n,r,o,a,s)}},{duration:s||1e3}):(t.zoom(v.zoom),t.pan(v.pan))}}return c||u(e,n,r,o,a,s),e}},collapseNode:function(e){if(null==e._private.data.collapsedChildren){e.data("position-before-collapse",{x:e.position().x,y:e.position().y}),e.data("size-before-collapse",{w:e.outerWidth(),h:e.outerHeight()});var t=e.children();return t.unselect(),t.connectedEdges().unselect(),e.trigger("expandcollapse.beforecollapse"),this.barrowEdgesOfcollapsedChildren(e),this.removeChildren(e,e),e.addClass("cy-expand-collapse-collapsed-node"),e.trigger("expandcollapse.aftercollapse"),e.position(e.data("position-before-collapse")),e}},storeWidthHeight:function(e){null!=e&&(e._private.data["x-before-fisheye"]=this.xPositionInParent(e),e._private.data["y-before-fisheye"]=this.yPositionInParent(e),e._private.data["width-before-fisheye"]=e.outerWidth(),e._private.data["height-before-fisheye"]=e.outerHeight(),null!=e.parent()[0]&&this.storeWidthHeight(e.parent()[0]))},fishEyeViewExpandGivenNode:function(e,t,n,i,r,o){var a=this.getSiblings(e),s=this.xPositionInParent(e),l=this.yPositionInParent(e),u=Math.abs((e._private.data["width-before-fisheye"]-e.outerWidth())/2),c=Math.abs((e._private.data["width-before-fisheye"]-e.outerWidth())/2),h=Math.abs((e._private.data["height-before-fisheye"]-e.outerHeight())/2),d=Math.abs((e._private.data["height-before-fisheye"]-e.outerHeight())/2),f=Math.abs(e._private.data["x-before-fisheye"]-s),p=Math.abs(e._private.data["y-before-fisheye"]-l);e._private.data["x-before-fisheye"]>s?(u+=f,c-=f):(u-=f,c+=f),e._private.data["y-before-fisheye"]>l?(h+=p,d-=p):(h-=p,d+=p);for(var g=[],m=[],v=0;v<a.length;v++)g.push(this.xPositionInParent(a[v])),m.push(this.yPositionInParent(a[v]));for(v=0;v<a.length;v++){var y=a[v],b=g[v],x=m[v],_=(x-l)/(b-s),w=0,C=0,S=0,k=0;w=s>b?u:c,C=l>x?h:d,isFinite(_)&&(S=Math.min(w,C/Math.abs(_))),0!==_&&(k=Math.min(C,w*Math.abs(_))),s>b&&(S*=-1),l>x&&(k*=-1),this.fishEyeViewMoveNode(y,S,k,n,t,i,r,o)}return 0==a.length&&e.same(n)&&this.expandNodeBaseFunction(n,t,r),null!=e.parent()[0]&&this.fishEyeViewExpandGivenNode(e.parent()[0],t,n,i,r,o),e},getSiblings:function(e){var n;if(null==e.parent()[0]){var i=t.nodes(":visible").orphans();n=i.difference(e)}else n=e.siblings(":visible");return n},fishEyeViewMoveNode:function(e,n,i,r,o,a,s,l){var u=t.collection();e.isParent()&&(u=e.children(":visible"));var c=this;if(0==u.length){var h={x:e._private.position.x+n,y:e._private.position.y+i};o&&a?(this.animatedlyMovingNodeCount++,e.animate({position:h,complete:function(){c.animatedlyMovingNodeCount--,c.animatedlyMovingNodeCount>0||!r.hasClass("cy-expand-collapse-collapsed-node")||c.expandNodeBaseFunction(r,o,s)}},{duration:l||1e3})):e.position(h)}else for(var d=0;d<u.length;d++)this.fishEyeViewMoveNode(u[d],n,i,r,o,a,s,l)},xPositionInParent:function(e){var t=e.parent()[0],n=0;return n=null!=t?e.relativePosition("x")+t.width()/2:e.position("x"),n},yPositionInParent:function(e){var t=e.parent()[0],n=0;return n=null!=t?e.relativePosition("y")+t.height()/2:e.position("y"),n},removeChildren:function(e,n){for(var i=e.children(),r=0;r<i.length;r++){var o=i[r];this.removeChildren(o,n);var a=t.scratch("_cyExpandCollapse").parentData;a[o.id()]=o.parent(),t.scratch("_cyExpandCollapse").parentData=a;var s=o.remove();null==n._private.data.collapsedChildren?n._private.data.collapsedChildren=s:n._private.data.collapsedChildren=n._private.data.collapsedChildren.union(s)}},isMetaEdge:function(e){return e.hasClass("cy-expand-collapse-meta-edge")},barrowEdgesOfcollapsedChildren:function(e){var n=e.descendants(),i=n.edgesWith(t.nodes().not(n.union(e))),r={};n.each((function(e,t){"number"===typeof e&&(e=t),r[e.id()]=!0}));for(var o=0;o<i.length;o++){var a=i[o],s=a.source(),l=a.target();if(!this.isMetaEdge(a)){var u={source:s,target:l};a.addClass("cy-expand-collapse-meta-edge"),a.data("originalEnds",u)}a.move({target:r[l.id()]?e.id():l.id(),source:r[s.id()]?e.id():s.id()})}},findNewEnd:function(e){var n=e,i=t.scratch("_cyExpandCollapse").parentData,r=i[n.id()];while(!n.inside())n=r,r=i[r.id()];return n},repairEdges:function(e){for(var t=e.connectedEdges(".cy-expand-collapse-meta-edge"),n=0;n<t.length;n++){var i=t[n],r=i.data("originalEnds"),o=i.data("source");i.data("target");i=o===e.id()?i.move({source:this.findNewEnd(r.source).id()}):i.move({target:this.findNewEnd(r.target).id()}),i.data("source")===r.source.id()&&i.data("target")===r.target.id()&&(i.removeClass("cy-expand-collapse-meta-edge"),i.removeData("originalEnds"))}},isOuterNode:function(e,t){var n=e;while(null!=n){if(n==t)return!1;n=n.parent()[0]}return!0},getCollapsedChildrenRecursively:function(e,t){var n,i=e.data("collapsedChildren")||[];for(n=0;n<i.length;n++)i[n].data("collapsedChildren")&&(t=t.union(this.getCollapsedChildrenRecursively(i[n],t))),t=t.union(i[n]);return t},collapseGivenEdges:function(e,n){e.unselect();var i=e.connectedNodes(),r={};if(n.groupEdgesOfSameTypeOnCollapse)e.forEach((function(e){var i="unknown";if(void 0!==n.edgeTypeInfo&&(i=n.edgeTypeInfo instanceof Function?n.edgeTypeInfo.call(e):e.data()[n.edgeTypeInfo]),r.hasOwnProperty(i))r[i].edges=r[i].edges.add(e),"unidirection"!=r[i].directionType||r[i].source==e.source().id()&&r[i].target==e.target().id()||(r[i].directionType="bidirection");else{var o=t.collection();o=o.add(e),r[i]={edges:o,directionType:"unidirection",source:e.source().id(),target:e.target().id()}}}));else{r["unknown"]={edges:e,directionType:"unidirection",source:e[0].source().id(),target:e[0].target().id()};for(var o=0;o<e.length;o++)if("unidirection"==r["unknown"].directionType&&(r["unknown"].source!=e[o].source().id()||r["unknown"].target!=e[o].target().id())){r["unknown"].directionType="bidirection";break}}var a={edges:t.collection(),oldEdges:t.collection()},s=[];for(const d in r)if(!(r[d].edges.length<2)){e.trigger("expandcollapse.beforecollapseedge"),a.oldEdges=a.oldEdges.add(r[d].edges);var l={group:"edges",data:{}};l.data.source=r[d].source,l.data.target=r[d].target;var u=i[0].id(),c=u;i[1]&&(c=i[1].id()),l.data.id="collapsedEdge_"+u+"_"+c+"_"+d+"_"+Math.floor(Math.random()*Date.now()),l.data.collapsedEdges=t.collection(),r[d].edges.forEach((function(e){l.data.collapsedEdges=l.data.collapsedEdges.add(e)})),l.data.collapsedEdges=this.check4nestedCollapse(l.data.collapsedEdges,n);var h="edgeType";void 0!==n.edgeTypeInfo&&(h=n.edgeTypeInfo instanceof Function?edgeTypeField:n.edgeTypeInfo),l.data[h]=d,l.data["directionType"]=r[d].directionType,l.classes="cy-expand-collapse-collapsed-edge",s.push(l),t.remove(r[d].edges),e.trigger("expandcollapse.aftercollapseedge")}return a.edges=t.add(s),a},check4nestedCollapse:function(e,n){if(n.allowNestedEdgeCollapse)return e;let i=t.collection();for(let t=0;t<e.length;t++){let n=e[t],r=n.data("collapsedEdges");i=r&&r.length>0?i.add(r):i.add(n)}return i},expandEdge:function(e){e.unselect();var n={edges:t.collection(),oldEdges:t.collection()},i=e.data("collapsedEdges");return void 0!==i&&i.length>0&&(e.trigger("expandcollapse.beforeexpandedge"),n.oldEdges=n.oldEdges.add(e),t.remove(e),n.edges=t.add(i),e.trigger("expandcollapse.afterexpandedge")),n},isValidEdgesForCollapse:function(e){var t=this.getEdgesDistinctEndPoints(e);return 2==t.length&&t},getEdgesDistinctEndPoints:function(e){var t=[];return e.forEach(function(e){this.containsElement(t,e.source())||t.push(e.source()),this.containsElement(t,e.target())||t.push(e.target())}.bind(this)),t},containsElement:function(e,t){for(var n=!1,i=0;i<e.length;i++)if(e[i].id()==t.id()){n=!0;break}return n}}}t.exports=r},{"./boundingBoxUtilities":1,"./elementUtilities":5}],7:[function(t,n,i){(function(){"use strict";var i=function(e){if(e){var n=t("./undoRedoUtilities"),i=t("./cueUtilities"),r=null;e("core","expandCollapse",(function(e){var a=this,c=l(a,"options")||{layoutBy:null,fisheye:!0,animate:!0,animationDuration:1e3,ready:function(){},undoable:!0,cueEnabled:!0,expandCollapseCuePosition:"top-left",expandCollapseCueSize:12,expandCollapseCueLineSize:8,expandCueImage:void 0,collapseCueImage:void 0,expandCollapseCueSensitivity:1,edgeTypeInfo:"edgeType",groupEdgesOfSameTypeOnCollapse:!1,allowNestedEdgeCollapse:!0,zIndex:999};if("get"!==e){c=o(c,e);var h=t("./expandCollapseUtilities")(a),d=s(a,h);r=t("./saveLoadUtilities")(a,d),u(a,"api",d),n(a,d),i(c,a,d),c.cueEnabled||i("unbind",a,d),c.ready&&c.ready(),u(a,"options",c);var f={};u(a,"parentData",f)}return l(a,"api")}))}function o(e,t){var n={};for(var i in e)n[i]=e[i];for(var i in t)n.hasOwnProperty(i)&&(n[i]=t[i]);return n}function a(e){var t="function"===typeof e.animate?e.animate.call():e.animate,n="function"===typeof e.fisheye?e.fisheye.call():e.fisheye;e.animate=t,e.fisheye=n}function s(e,t){var n={};function s(t){var i=l(e,"options");t.cueEnabled&&!i.cueEnabled?n.enableCue():!t.cueEnabled&&i.cueEnabled&&n.disableCue()}function c(e){let t=[];for(let n=0;n<e.length;n++){const i=e[n].source().id(),r=e[n].target().id(),o={};o[i]=!0,o[r]=!0,t.push(o)}for(let n=0;n<t.length;n++)for(let e=n+1;e<t.length;e++){const i=Object.keys(t[n]),r=Object.keys(t[e]),o=new Set(i.concat(r));if(o.size!=i.length||o.size!=r.length)return!1}return!0}return n.setOptions=function(t){s(t),u(e,"options",t)},n.extendOptions=function(t){var n=l(e,"options"),i=o(n,t);s(i),u(e,"options",i)},n.setOption=function(t,n){var i={};i[t]=n;var r=l(e,"options"),a=o(r,i);s(a),u(e,"options",a)},n.collapse=function(n,i){var r=this.collapsibleNodes(n),s=l(e,"options"),u=o(s,i);return a(u),t.collapseGivenNodes(r,u)},n.collapseRecursively=function(t,n){var i=this.collapsibleNodes(t),r=l(e,"options"),s=o(r,n);return a(s),this.collapse(i.union(i.descendants()),s)},n.expand=function(n,i){var r=this.expandableNodes(n),s=l(e,"options"),u=o(s,i);return a(u),t.expandGivenNodes(r,u)},n.expandRecursively=function(n,i){var r=this.expandableNodes(n),s=l(e,"options"),u=o(s,i);return a(u),t.expandAllNodes(r,u)},n.collapseAll=function(t){var n=l(e,"options"),i=o(n,t);return a(i),this.collapseRecursively(this.collapsibleNodes(),i)},n.expandAll=function(t){var n=l(e,"options"),i=o(n,t);return a(i),this.expandRecursively(this.expandableNodes(),i)},n.isExpandable=function(e){return e.hasClass("cy-expand-collapse-collapsed-node")},n.isCollapsible=function(e){return!this.isExpandable(e)&&e.isParent()},n.collapsibleNodes=function(t){var n=this,i=t||e.nodes();return i.filter((function(e,t){return"number"===typeof e&&(e=t),n.isCollapsible(e)}))},n.expandableNodes=function(t){var n=this,i=t||e.nodes();return i.filter((function(e,t){return"number"===typeof e&&(e=t),n.isExpandable(e)}))},n.getCollapsedChildren=function(e){return e.data("collapsedChildren")},n.getCollapsedChildrenRecursively=function(n){var i=e.collection();return t.getCollapsedChildrenRecursively(n,i)},n.getAllCollapsedChildrenRecursively=function(){var t,n=e.collection(),i=e.nodes(".cy-expand-collapse-collapsed-node");for(t=0;t<i.length;t++)n=n.union(this.getCollapsedChildrenRecursively(i[t]));return n},n.clearVisualCue=function(t){e.trigger("expandcollapse.clearvisualcue")},n.disableCue=function(){var t=l(e,"options");t.cueEnabled&&(i("unbind",e,n),t.cueEnabled=!1)},n.enableCue=function(){var t=l(e,"options");t.cueEnabled||(i("rebind",e,n),t.cueEnabled=!0)},n.getParent=function(t){if(void 0===e.getElementById(t)[0]){var n=l(e,"parentData");return n[t]}return e.getElementById(t).parent()},n.collapseEdges=function(n,i){var r={edges:e.collection(),oldEdges:e.collection()};if(n.length<2)return r;if(!c(n))return r;var a=l(e,"options"),s=o(a,i);return t.collapseGivenEdges(n,s)},n.expandEdges=function(n){var i={edges:e.collection(),oldEdges:e.collection()};return void 0===n||n.forEach((function(e){var n=t.expandEdge(e);i.edges=i.edges.add(n.edges),i.oldEdges=i.oldEdges.add(n.oldEdges)})),i},n.collapseEdgesBetweenNodes=function(n,i){var r=l(e,"options"),a=o(r,i);function s(e){var t=[];return e.slice(0,e.length-1).forEach((function(n,i){var r=e.slice(i+1,e.length);r.forEach((function(e){t.push([n,e])}))})),t}var u=s(n);u.push(...n.map((e=>[e,e])));var c={edges:e.collection(),oldEdges:e.collection()};return u.forEach(function(e){const n=e[1].id();var i=e[0].connectedEdges('[source = "'+n+'"],[target = "'+n+'"]');if(e[0].id()===n&&(i=e[0].connectedEdges('[source = "'+n+'"][target = "'+n+'"]')),i.length>=2){var r=t.collapseGivenEdges(i,a);c.oldEdges=c.oldEdges.add(r.oldEdges),c.edges=c.edges.add(r.edges)}}.bind(this)),c},n.expandEdgesBetweenNodes=function(t){var n=e.collection();function i(e){var t=[];return e.slice(0,e.length-1).forEach((function(n,i){var r=e.slice(i+1,e.length);r.forEach((function(e){t.push([n,e])}))})),t}var r=i(t);return r.push(...t.map((e=>[e,e]))),r.forEach(function(e){const t=e[1].id();var i=e[0].connectedEdges('.cy-expand-collapse-collapsed-edge[source = "'+t+'"],[target = "'+t+'"]');e[0].id()===t&&(i=e[0].connectedEdges('[source = "'+t+'"][target = "'+t+'"]')),n=n.union(i)}.bind(this)),this.expandEdges(n)},n.collapseAllEdges=function(t){return this.collapseEdgesBetweenNodes(e.edges().connectedNodes(),t)},n.expandAllEdges=function(){var t=e.edges(".cy-expand-collapse-collapsed-edge"),n={edges:e.collection(),oldEdges:e.collection()},i=this.expandEdges(t);return n.oldEdges=n.oldEdges.add(i.oldEdges),n.edges=n.edges.add(i.edges),n},n.loadJson=function(e){r.loadJson(e)},n.saveJson=function(e,t){r.saveJson(e,t)},n}function l(e,t){void 0===e.scratch("_cyExpandCollapse")&&e.scratch("_cyExpandCollapse",{});var n=e.scratch("_cyExpandCollapse"),i=void 0===t?n:n[t];return i}function u(e,t,n){l(e)[t]=n}};"undefined"!==typeof n&&n.exports&&(n.exports=i),"undefined"!==typeof e&&e.amd&&e("cytoscape-expand-collapse",(function(){return i})),"undefined"!==typeof cytoscape&&i(cytoscape)})()},{"./cueUtilities":2,"./expandCollapseUtilities":6,"./saveLoadUtilities":8,"./undoRedoUtilities":9}],8:[function(e,t,n){function i(e,t){function n(t,r,o,a){t.sort((e=>"edges"===e.group?1:-1));let s=e.collection();for(let l=0;l<t.length;l++){const u=t[l],c=u.data;c.parent&&(a[c.id]=c.parent);const h={x:u.position.x,y:u.position.y},d=e.add(u);if(d.isNode()&&r.merge(d),c.originalEnds){let e=r.$id(c.originalEnds.source.data.id);c.originalEnds.source.data.parent&&(a[c.originalEnds.source.data.id]=c.originalEnds.source.data.parent);let t=r.$id(c.originalEnds.target.data.id);c.originalEnds.target.data.parent&&(a[c.originalEnds.target.data.id]=c.originalEnds.target.data.parent),d.data("originalEnds",{source:e,target:t})}c.collapsedChildren?(o.merge(d),n(c.collapsedChildren,r,o,a),i(d)):c.collapsedEdges&&(d.data("collapsedEdges",n(c.collapsedEdges,r,o,a)),e.remove(d.data("collapsedEdges"))),d.position(h),s.merge(d)}return s}function i(e){e.data("collapsedChildren",null),e.removeClass("cy-expand-collapse-collapsed-node"),e.data("position-before-collapse",null),e.data("size-before-collapse",null),e.data("expandcollapseRenderedStartX",null),e.data("expandcollapseRenderedStartY",null),e.data("expandcollapseRenderedCueSize",null)}function r(e){let t=[];for(let n=0;n<e.length;n++){const i=e[n];let a=null;if(i.collapsedChildren||i.collapsedEdges?i.collapsedChildren?(i.collapsedChildren=r(o(i.collapsedChildren)),a=i.cy.json(),a.data.collapsedChildren=i.collapsedChildren):i.collapsedEdges&&(i.collapsedEdges=r(o(i.collapsedEdges)),a=i.cy.json(),a.data.collapsedEdges=i.collapsedEdges):a=i.cy.json(),i.originalEnds){const e=i.originalEnds.source.json(),t=i.originalEnds.target.json();e.data.collapsedChildren&&(e.data.collapsedChildren=r(o(e.data.collapsedChildren))),t.data.collapsedChildren&&(t.data.collapsedChildren=r(o(t.data.collapsedChildren))),a.data.originalEnds={source:e,target:t}}t.push(a)}return t}function o(e){let t=[];for(let n=0;n<e.length;n++)t.push({cy:e[n],collapsedEdges:e[n].data("collapsedEdges"),collapsedChildren:e[n].data("collapsedChildren"),originalEnds:e[n].data("originalEnds")});return t}function a(e,t){const n=new Blob([e],{type:"text/plain"}),i=document.createElement("a");i.download=t,i.href=window.URL.createObjectURL(n),i.dataset.downloadurl=["text/plain",i.download,i.href].join(":"),i.click()}return{loadJson:function(r){const o=JSON.parse(r),a={},s=e.collection(),l=e.collection(),u={};for(const t of o.nodes){a[t.data.id]={x:t.position.x,y:t.position.y},t.data.parent&&(u[t.data.id]=t.data.parent);const r=e.add(t);s.merge(r),r.data("collapsedChildren")&&(n(r.data("collapsedChildren"),s,l,u),l.merge(r),i(r))}for(const t of o.edges){const i=e.add(t);if(i.data("collapsedEdges")&&(i.data("collapsedEdges",n(t.data.collapsedEdges,s,l,u)),e.remove(i.data("collapsedEdges"))),i.data("originalEnds")){const e=t.data.originalEnds.source.data.id,n=t.data.originalEnds.target.data.id;t.data.originalEnds={source:s.filter("#"+e),target:s.filter("#"+n)}}}for(let e in u){const t=s.$id(e);1===t.length&&t.move({parent:u[e]})}t.collapse(l,{layoutBy:null,fisheye:!1,animate:!1});for(const t of o.nodes){const n=e.$id(t.data.id);n.isChildless()&&e.$id(t.data.id).position(a[t.data.id])}e.fit()},saveJson:function(t,n){t||(t=e.$());const i=o(t.nodes()),s=o(t.edges());if(s.length+i.length<1)return;const l={nodes:[],edges:[]};for(const e of s){if(e.collapsedEdges&&(e.collapsedEdges=r(o(e.collapsedEdges))),e.originalEnds){const t=e.originalEnds.source.json(),n=e.originalEnds.target.json();t.data.collapsedChildren&&(t.data.collapsedChildren=r(o(t.data.collapsedChildren))),n.data.collapsedChildren&&(n.data.collapsedChildren=r(o(n.data.collapsedChildren))),e.originalEnds={source:t,target:n}}const t=e.cy.json();t.data.collapsedEdges=e.collapsedEdges,t.data.originalEnds=e.originalEnds,l.edges.push(t)}for(const e of i){e.collapsedChildren&&(e.collapsedChildren=r(o(e.collapsedChildren)));const t=e.cy.json();t.data.collapsedChildren=e.collapsedChildren,l.nodes.push(t)}n||(n="expand-collapse-output.json"),a(JSON.stringify(l),n)}}}t.exports=i},{}],9:[function(e,t,n){t.exports=function(e,t){if(null!=e.undoRedo){for(var n=e.undoRedo({},!0),i={layoutBy:null,animate:!1,fisheye:!1},r=["collapse","collapseRecursively","collapseAll","expand","expandRecursively","expandAll"],o=0;o<r.length;o++)2==o?n.action("collapseAll",u("collapseAll"),u("expandRecursively")):5==o?n.action("expandAll",u("expandAll"),u("collapseRecursively")):n.action(r[o],u(r[o]),u(r[(o+3)%6]));n.action("collapseEdges",c,f),n.action("expandEdges",f,c),n.action("collapseEdgesBetweenNodes",h,p),n.action("expandEdgesBetweenNodes",p,h),n.action("collapseAllEdges",d,g),n.action("expandAllEdges",g,d)}function a(t){return"string"===typeof t?e.$(t):t}function s(){for(var t={},n=e.nodes(),i=0;i<n.length;i++){var r=n[i];t[r.id()]={x:r.position("x"),y:r.position("y")}}return t}function l(t){var n={};return e.nodes().not(":parent").positions((function(e,i){"number"===typeof e&&(e=i),n[e.id()]={x:e.position("x"),y:e.position("y")};var r=t[e.id()];return{x:r.x,y:r.y}})),n}function u(n){return function(r){var o={},u=a(r.nodes);return r.firstTime?(o.oldData=s(),o.nodes=n.indexOf("All")>0?t[n](r.options):t[n](u,r.options)):(o.oldData=s(),o.nodes=n.indexOf("All")>0?t[n](i):t[n](e.collection(u),i),l(r.oldData)),o}}function c(n){var i=n.options,r=n.edges,o={};if(o.options=i,n.firstTime){var a=t.collapseEdges(r,i);o.edges=a.edges,o.oldEdges=a.oldEdges,o.firstTime=!1}else o.oldEdges=r,o.edges=n.oldEdges,n.edges.length>0&&n.oldEdges.length>0&&(e.remove(n.edges),e.add(n.oldEdges));return o}function h(n){var i=n.options,r={};if(r.options=i,n.firstTime){var o=t.collapseEdgesBetweenNodes(n.nodes,i);r.edges=o.edges,r.oldEdges=o.oldEdges,r.firstTime=!1}else r.edges=n.oldEdges,r.oldEdges=n.edges,n.edges.length>0&&n.oldEdges.length>0&&(e.remove(n.edges),e.add(n.oldEdges));return r}function d(n){var i=n.options,r={};if(r.options=i,n.firstTime){var o=t.collapseAllEdges(i);r.edges=o.edges,r.oldEdges=o.oldEdges,r.firstTime=!1}else r.edges=n.oldEdges,r.oldEdges=n.edges,n.edges.length>0&&n.oldEdges.length>0&&(e.remove(n.edges),e.add(n.oldEdges));return r}function f(n){var i=n.options,r={};if(r.options=i,n.firstTime){var o=t.expandEdges(n.edges);r.edges=o.edges,r.oldEdges=o.oldEdges,r.firstTime=!1}else r.oldEdges=n.edges,r.edges=n.oldEdges,n.edges.length>0&&n.oldEdges.length>0&&(e.remove(n.edges),e.add(n.oldEdges));return r}function p(n){var i=n.options,r={};if(r.options=i,n.firstTime){var o=t.expandEdgesBetweenNodes(n.nodes,i);r.edges=o.edges,r.oldEdges=o.oldEdges,r.firstTime=!1}else r.edges=n.oldEdges,r.oldEdges=n.edges,n.edges.length>0&&n.oldEdges.length>0&&(e.remove(n.edges),e.add(n.oldEdges));return r}function g(n){var i=n.options,r={};if(r.options=i,n.firstTime){var o=t.expandAllEdges(i);r.edges=o.edges,r.oldEdges=o.oldEdges,r.firstTime=!1}else r.edges=n.oldEdges,r.oldEdges=n.edges,n.edges.length>0&&n.oldEdges.length>0&&(e.remove(n.edges),e.add(n.oldEdges));return r}}},{}]},{},[7])(7)}))},92584:function(e,t,n){"use strict";n(57658),n(84633),n(1439),n(87585),n(55315),n(82801);var i=n(73738),r=n(70172),o=n(15309),a=n(39418),s=n(85736);function l(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var u=l(i),c=l(r),h=l(o),d=l(a),f=l(s);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function v(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){return x(e)||_(e,t)||w(e,t)||S()}function x(e){if(Array.isArray(e))return e}function _(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done);a=!0)if(o.push(i.value),t&&o.length===t)break}catch(l){s=!0,r=l}finally{try{a||null==n["return"]||n["return"]()}finally{if(s)throw r}}return o}}function w(e,t){if(e){if("string"===typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(e,t):void 0}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function S(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var k="undefined"===typeof window?null:window,M=k?k.navigator:null;k&&k.document;var T=p(""),E=p({}),D=p((function(){})),P="undefined"===typeof HTMLElement?"undefined":p(HTMLElement),O=function(e){return e&&e.instanceString&&A(e.instanceString)?e.instanceString():null},I=function(e){return null!=e&&p(e)==T},A=function(e){return null!=e&&p(e)===D},L=function(e){return!F(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},N=function(e){return null!=e&&p(e)===E&&!L(e)&&e.constructor===Object},R=function(e){return null!=e&&p(e)===E},z=function(e){return null!=e&&p(e)===p(1)&&!isNaN(e)},$=function(e){return z(e)&&Math.floor(e)===e},B=function(e){return"undefined"===P?void 0:null!=e&&e instanceof HTMLElement},F=function(e){return j(e)||V(e)},j=function(e){return"collection"===O(e)&&e._private.single},V=function(e){return"collection"===O(e)&&!e._private.single},H=function(e){return"core"===O(e)},W=function(e){return"stylesheet"===O(e)},G=function(e){return"event"===O(e)},q=function(e){return void 0===e||null===e||!(""!==e&&!e.match(/^\s+$/))},U=function(e){return"undefined"!==typeof HTMLElement&&e instanceof HTMLElement},Y=function(e){return N(e)&&z(e.x1)&&z(e.x2)&&z(e.y1)&&z(e.y2)},X=function(e){return R(e)&&A(e.then)},Z=function(){return M&&M.userAgent.match(/msie|trident|edge/i)},K=function(e,t){t||(t=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);return e.join("$")});var n=function n(){var i,r=this,o=arguments,a=t.apply(r,o),s=n.cache;return(i=s[a])||(i=s[a]=e.apply(r,o)),i};return n.cache={},n},Q=K((function(e){return e.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))})),J=K((function(e){return e.replace(/(-\w)/g,(function(e){return e[1].toUpperCase()}))})),ee=K((function(e,t){return e+t[0].toUpperCase()+t.substring(1)}),(function(e,t){return e+"$"+t})),te=function(e){return q(e)?e:e.charAt(0).toUpperCase()+e.substring(1)},ne="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",ie="rgb[a]?\\(("+ne+"[%]?)\\s*,\\s*("+ne+"[%]?)\\s*,\\s*("+ne+"[%]?)(?:\\s*,\\s*("+ne+"))?\\)",re="rgb[a]?\\((?:"+ne+"[%]?)\\s*,\\s*(?:"+ne+"[%]?)\\s*,\\s*(?:"+ne+"[%]?)(?:\\s*,\\s*(?:"+ne+"))?\\)",oe="hsl[a]?\\(("+ne+")\\s*,\\s*("+ne+"[%])\\s*,\\s*("+ne+"[%])(?:\\s*,\\s*("+ne+"))?\\)",ae="hsl[a]?\\((?:"+ne+")\\s*,\\s*(?:"+ne+"[%])\\s*,\\s*(?:"+ne+"[%])(?:\\s*,\\s*(?:"+ne+"))?\\)",se="\\#[0-9a-fA-F]{3}",le="\\#[0-9a-fA-F]{6}",ue=function(e,t){return e<t?-1:e>t?1:0},ce=function(e,t){return-1*ue(e,t)},he=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n<t.length;n++){var i=t[n];if(null!=i)for(var r=Object.keys(i),o=0;o<r.length;o++){var a=r[o];e[a]=i[a]}}return e},de=function(e){if((4===e.length||7===e.length)&&"#"===e[0]){var t,n,i,r=4===e.length,o=16;return r?(t=parseInt(e[1]+e[1],o),n=parseInt(e[2]+e[2],o),i=parseInt(e[3]+e[3],o)):(t=parseInt(e[1]+e[2],o),n=parseInt(e[3]+e[4],o),i=parseInt(e[5]+e[6],o)),[t,n,i]}},fe=function(e){var t,n,i,r,o,a,s,l;function u(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var c=new RegExp("^"+oe+"$").exec(e);if(c){if(n=parseInt(c[1]),n<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,i=parseFloat(c[2]),i<0||i>100)return;if(i/=100,r=parseFloat(c[3]),r<0||r>100)return;if(r/=100,o=c[4],void 0!==o&&(o=parseFloat(o),o<0||o>1))return;if(0===i)a=s=l=Math.round(255*r);else{var h=r<.5?r*(1+i):r+i-r*i,d=2*r-h;a=Math.round(255*u(d,h,n+1/3)),s=Math.round(255*u(d,h,n)),l=Math.round(255*u(d,h,n-1/3))}t=[a,s,l,o]}return t},pe=function(e){var t,n=new RegExp("^"+ie+"$").exec(e);if(n){t=[];for(var i=[],r=1;r<=3;r++){var o=n[r];if("%"===o[o.length-1]&&(i[r]=!0),o=parseFloat(o),i[r]&&(o=o/100*255),o<0||o>255)return;t.push(Math.floor(o))}var a=i[1]||i[2]||i[3],s=i[1]&&i[2]&&i[3];if(a&&!s)return;var l=n[4];if(void 0!==l){if(l=parseFloat(l),l<0||l>1)return;t.push(l)}}return t},ge=function(e){return ve[e.toLowerCase()]},me=function(e){return(L(e)?e:null)||ge(e)||de(e)||pe(e)||fe(e)},ve={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ye=function(e){for(var t=e.map,n=e.keys,i=n.length,r=0;r<i;r++){var o=n[r];if(N(o))throw Error("Tried to set map with object key");r<n.length-1?(null==t[o]&&(t[o]={}),t=t[o]):t[o]=e.value}},be=function(e){for(var t=e.map,n=e.keys,i=n.length,r=0;r<i;r++){var o=n[r];if(N(o))throw Error("Tried to get map with object key");if(t=t[o],null==t)return t}return t},xe=k?k.performance:null,_e=xe&&xe.now?function(){return xe.now()}:function(){return Date.now()},we=function(){if(k){if(k.requestAnimationFrame)return function(e){k.requestAnimationFrame(e)};if(k.mozRequestAnimationFrame)return function(e){k.mozRequestAnimationFrame(e)};if(k.webkitRequestAnimationFrame)return function(e){k.webkitRequestAnimationFrame(e)};if(k.msRequestAnimationFrame)return function(e){k.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout((function(){e(_e())}),1e3/60)}}(),Ce=function(e){return we(e)},Se=_e,ke=9261,Me=65599,Te=5381,Ee=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ke,i=n;;){if(t=e.next(),t.done)break;i=i*Me+t.value|0}return i},De=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ke;return t*Me+e|0},Pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Te;return(t<<5)+t+e|0},Oe=function(e,t){return 2097152*e+t},Ie=function(e){return 2097152*e[0]+e[1]},Ae=function(e,t){return[De(e[0],t[0]),Pe(e[1],t[1])]},Le=function(e,t){var n={value:0,done:!1},i=0,r=e.length,o={next:function(){return i<r?n.value=e[i++]:n.done=!0,n}};return Ee(o,t)},Ne=function(e,t){var n={value:0,done:!1},i=0,r=e.length,o={next:function(){return i<r?n.value=e.charCodeAt(i++):n.done=!0,n}};return Ee(o,t)},Re=function(){return ze(arguments)},ze=function(e){for(var t,n=0;n<e.length;n++){var i=e[n];t=0===n?Ne(i):Ne(i,t)}return t},$e=!0,Be=null!=console.warn,Fe=null!=console.trace,je=Number.MAX_SAFE_INTEGER||9007199254740991,Ve=function(){return!0},He=function(){return!1},We=function(){return 0},Ge=function(){},qe=function(e){throw new Error(e)},Ue=function(e){if(void 0===e)return $e;$e=!!e},Ye=function(e){Ue()&&(Be?console.warn(e):(console.log(e),Fe&&console.trace()))},Xe=function(e){return he({},e)},Ze=function(e){return null==e?e:L(e)?e.slice():N(e)?Xe(e):e},Ke=function(e){return e.slice()},Qe=function(e,t){for(t=e="";e++<36;t+=51*e&52?(15^e?8^Math.random()*(20^e?16:4):4).toString(16):"-");return t},Je={},et=function(){return Je},tt=function(e){var t=Object.keys(e);return function(n){for(var i={},r=0;r<t.length;r++){var o=t[r],a=null==n?void 0:n[o];i[o]=void 0===a?e[o]:a}return i}},nt=function(e,t,n){for(var i=e.length-1;i>=0;i--)if(e[i]===t&&(e.splice(i,1),n))break},it=function(e){e.splice(0,e.length)},rt=function(e,t){for(var n=0;n<t.length;n++){var i=t[n];e.push(i)}},ot=function(e,t,n){return n&&(t=ee(n,t)),e[t]},at=function(e,t,n,i){n&&(t=ee(n,t)),e[t]=i},st=function(){function e(){g(this,e),this._obj={}}return v(e,[{key:"set",value:function(e,t){return this._obj[e]=t,this}},{key:"delete",value:function(e){return this._obj[e]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(e){return void 0!==this._obj[e]}},{key:"get",value:function(e){return this._obj[e]}}]),e}(),lt="undefined"!==typeof Map?Map:st,ut="undefined",ct=function(){function e(t){if(g(this,e),this._obj=Object.create(null),this.size=0,null!=t){var n;n=null!=t.instanceString&&t.instanceString()===this.instanceString()?t.toArray():t;for(var i=0;i<n.length;i++)this.add(n[i])}}return v(e,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(e){var t=this._obj;1!==t[e]&&(t[e]=1,this.size++)}},{key:"delete",value:function(e){var t=this._obj;1===t[e]&&(t[e]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(e){return 1===this._obj[e]}},{key:"toArray",value:function(){var e=this;return Object.keys(this._obj).filter((function(t){return e.has(t)}))}},{key:"forEach",value:function(e,t){return this.toArray().forEach(e,t)}}]),e}(),ht=("undefined"===typeof Set?"undefined":p(Set))!==ut?Set:ct,dt=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==t&&H(e)){var i=t.group;if(null==i&&(i=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===i||"edges"===i){this.length=1,this[0]=this;var r=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:i,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===i:!!t.pannable,active:!1,classes:new ht,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==r.position.x&&(r.position.x=0),null==r.position.y&&(r.position.y=0),t.renderedPosition){var o=t.renderedPosition,a=e.pan(),s=e.zoom();r.position={x:(o.x-a.x)/s,y:(o.y-a.y)/s}}var l=[];L(t.classes)?l=t.classes:I(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;u<c;u++){var h=l[u];h&&""!==h&&r.classes.add(h)}this.createEmitter();var d=t.style||t.css;d&&(Ye("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(d)),(void 0===n||n)&&this.restore()}else qe("An element must be of type `nodes` or `edges`; you specified `"+i+"`")}else qe("An element must have a core reference and parameters set")},ft=function(e){return e={bfs:e.bfs||!e.dfs,dfs:e.dfs||!e.bfs},function(t,n,i){var r;N(t)&&!F(t)&&(r=t,t=r.roots||r.root,n=r.visit,i=r.directed),i=2!==arguments.length||A(n)?i:n,n=A(n)?n:function(){};for(var o,a=this._private.cy,s=t=I(t)?this.filter(t):t,l=[],u=[],c={},h={},d={},f=0,p=this.byGroup(),g=p.nodes,m=p.edges,v=0;v<s.length;v++){var y=s[v],b=y.id();y.isNode()&&(l.unshift(y),e.bfs&&(d[b]=!0,u.push(y)),h[b]=0)}var x=function(){var t=e.bfs?l.shift():l.pop(),r=t.id();if(e.dfs){if(d[r])return"continue";d[r]=!0,u.push(t)}var a=h[r],s=c[r],p=null!=s?s.source():null,v=null!=s?s.target():null,y=null==s?void 0:t.same(p)?v[0]:p[0],b=void 0;if(b=n(t,s,y,f++,a),!0===b)return o=t,"break";if(!1===b)return"break";for(var x=t.connectedEdges().filter((function(e){return(!i||e.source().same(t))&&m.has(e)})),_=0;_<x.length;_++){var w=x[_],C=w.connectedNodes().filter((function(e){return!e.same(t)&&g.has(e)})),S=C.id();0===C.length||d[S]||(C=C[0],l.push(C),e.bfs&&(d[S]=!0,u.push(C)),c[S]=w,h[S]=h[r]+1)}};while(0!==l.length){var _=x();if("continue"!==_&&"break"===_)break}for(var w=a.collection(),C=0;C<u.length;C++){var S=u[C],k=c[S.id()];null!=k&&w.push(k),w.push(S)}return{path:a.collection(w),found:a.collection(o)}}},pt={breadthFirstSearch:ft({bfs:!0}),depthFirstSearch:ft({dfs:!0})};pt.bfs=pt.breadthFirstSearch,pt.dfs=pt.depthFirstSearch;var gt=tt({root:null,weight:function(e){return 1},directed:!1}),mt={dijkstra:function(e){if(!N(e)){var t=arguments;e={root:t[0],weight:t[1],directed:t[2]}}var n=gt(e),i=n.root,r=n.weight,o=n.directed,a=this,s=r,l=I(i)?this.filter(i)[0]:i[0],u={},h={},d={},f=this.byGroup(),p=f.nodes,g=f.edges;g.unmergeBy((function(e){return e.isLoop()}));for(var m=function(e){return u[e.id()]},v=function(e,t){u[e.id()]=t,y.updateItem(e)},y=new c["default"]((function(e,t){return m(e)-m(t)})),b=0;b<p.length;b++){var x=p[b];u[x.id()]=x.same(l)?0:1/0,y.push(x)}var _=function(e,t){for(var n,i=(o?e.edgesTo(t):e.edgesWith(t)).intersect(g),r=1/0,a=0;a<i.length;a++){var l=i[a],u=s(l);(u<r||!n)&&(r=u,n=l)}return{edge:n,dist:r}};while(y.size()>0){var w=y.pop(),C=m(w),S=w.id();if(d[S]=C,C!==1/0)for(var k=w.neighborhood().intersect(p),M=0;M<k.length;M++){var T=k[M],E=T.id(),D=_(w,T),P=C+D.dist;P<m(T)&&(v(T,P),h[E]={node:w,edge:D.edge})}}return{distanceTo:function(e){var t=I(e)?p.filter(e)[0]:e[0];return d[t.id()]},pathTo:function(e){var t=I(e)?p.filter(e)[0]:e[0],n=[],i=t,r=i.id();if(t.length>0){n.unshift(t);while(h[r]){var o=h[r];n.unshift(o.edge),n.unshift(o.node),i=o.node,r=i.id()}}return a.spawn(n)}}}},vt={kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,i=t.edges,r=n.length,o=new Array(r),a=n,s=function(e){for(var t=0;t<o.length;t++){var n=o[t];if(n.has(e))return t}},l=0;l<r;l++)o[l]=this.spawn(n[l]);for(var u=i.sort((function(t,n){return e(t)-e(n)})),c=0;c<u.length;c++){var h=u[c],d=h.source()[0],f=h.target()[0],p=s(d),g=s(f),m=o[p],v=o[g];p!==g&&(a.merge(h),m.merge(v),o.splice(g,1))}return a}},yt=tt({root:null,goal:null,weight:function(e){return 1},heuristic:function(e){return 0},directed:!1}),bt={aStar:function(e){var t=this.cy(),n=yt(e),i=n.root,r=n.goal,o=n.heuristic,a=n.directed,s=n.weight;i=t.collection(i)[0],r=t.collection(r)[0];var l,u,h=i.id(),d=r.id(),f={},p={},g={},m=new c["default"]((function(e,t){return p[e.id()]-p[t.id()]})),v=new ht,y={},b={},x=function(e,t){m.push(e),v.add(t)},_=function(){l=m.pop(),u=l.id(),v["delete"](u)},w=function(e){return v.has(e)};x(i,h),f[h]=0,p[h]=o(i);var C=0;while(m.size()>0){if(_(),C++,u===d){for(var S=[],k=r,M=d,T=b[M];;){if(S.unshift(k),null!=T&&S.unshift(T),k=y[M],null==k)break;M=k.id(),T=b[M]}return{found:!0,distance:f[u],path:this.spawn(S),steps:C}}g[u]=!0;for(var E=l._private.edges,D=0;D<E.length;D++){var P=E[D];if(this.hasElementWithId(P.id())&&(!a||P.data("source")===u)){var O=P.source(),I=P.target(),A=O.id()!==u?O:I,L=A.id();if(this.hasElementWithId(L)&&!g[L]){var N=f[u]+s(P);w(L)?N<f[L]&&(f[L]=N,p[L]=N+o(A),y[L]=l,b[L]=P):(f[L]=N,p[L]=N+o(A),x(A,L),y[L]=l,b[L]=P)}}}}return{found:!1,distance:void 0,path:void 0,steps:C}}},xt=tt({weight:function(e){return 1},directed:!1}),_t={floydWarshall:function(e){for(var t=this.cy(),n=xt(e),i=n.weight,r=n.directed,o=i,a=this.byGroup(),s=a.nodes,l=a.edges,u=s.length,c=u*u,h=function(e){return s.indexOf(e)},d=function(e){return s[e]},f=new Array(c),p=0;p<c;p++){var g=p%u,m=(p-g)/u;f[p]=m===g?0:1/0}for(var v=new Array(c),y=new Array(c),b=0;b<l.length;b++){var x=l[b],_=x.source()[0],w=x.target()[0];if(_!==w){var C=h(_),S=h(w),k=C*u+S,M=o(x);if(f[k]>M&&(f[k]=M,v[k]=S,y[k]=x),!r){var T=S*u+C;!r&&f[T]>M&&(f[T]=M,v[T]=C,y[T]=x)}}}for(var E=0;E<u;E++)for(var D=0;D<u;D++)for(var P=D*u+E,O=0;O<u;O++){var A=D*u+O,L=E*u+O;f[P]+f[L]<f[A]&&(f[A]=f[P]+f[L],v[A]=v[P])}var N=function(e){return(I(e)?t.filter(e):e)[0]},R=function(e){return h(N(e))},z={distance:function(e,t){var n=R(e),i=R(t);return f[n*u+i]},path:function(e,n){var i=R(e),r=R(n),o=d(i);if(i===r)return o.collection();if(null==v[i*u+r])return t.collection();var a,s=t.collection(),l=i;s.merge(o);while(i!==r)l=i,i=v[i*u+r],a=y[l*u+i],s.merge(a),s.merge(d(i));return s}};return z}},wt=tt({weight:function(e){return 1},directed:!1,root:null}),Ct={bellmanFord:function(e){var t=this,n=wt(e),i=n.weight,r=n.directed,o=n.root,a=i,s=this,l=this.cy(),u=this.byGroup(),c=u.edges,h=u.nodes,d=h.length,f=new lt,p=!1,g=[];o=l.collection(o)[0],c.unmergeBy((function(e){return e.isLoop()}));for(var m=c.length,v=function(e){var t=f.get(e.id());return t||(t={},f.set(e.id(),t)),t},y=function(e){return(I(e)?l.$(e):e)[0]},b=function(e){return v(y(e)).dist},x=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,i=y(e),r=[],a=i;;){if(null==a)return t.spawn();var l=v(a),u=l.edge,c=l.pred;if(r.unshift(a[0]),a.same(n)&&r.length>0)break;null!=u&&r.unshift(u),a=c}return s.spawn(r)},_=0;_<d;_++){var w=h[_],C=v(w);w.same(o)?C.dist=0:C.dist=1/0,C.pred=null,C.edge=null}for(var S=!1,k=function(e,t,n,i,r,o){var a=i.dist+o;a<r.dist&&!n.same(i.edge)&&(r.dist=a,r.pred=e,r.edge=n,S=!0)},M=1;M<d;M++){S=!1;for(var T=0;T<m;T++){var E=c[T],D=E.source(),P=E.target(),O=a(E),A=v(D),L=v(P);k(D,P,E,A,L,O),r||k(P,D,E,L,A,O)}if(!S)break}if(S)for(var N=[],R=0;R<m;R++){var z=c[R],$=z.source(),B=z.target(),F=a(z),j=v($).dist,V=v(B).dist;if(j+F<V||!r&&V+F<j){if(p||(Ye("Graph contains a negative weight cycle for Bellman-Ford"),p=!0),!1===e.findNegativeWeightCycles)break;var H=[];j+F<V&&H.push($),!r&&V+F<j&&H.push(B);for(var W=H.length,G=0;G<W;G++){var q=H[G],U=[q];U.push(v(q).edge);var Y=v(q).pred;while(-1===U.indexOf(Y))U.push(Y),U.push(v(Y).edge),Y=v(Y).pred;U=U.slice(U.indexOf(Y));for(var X=U[0].id(),Z=0,K=2;K<U.length;K+=2)U[K].id()<X&&(X=U[K].id(),Z=K);U=U.slice(Z).concat(U.slice(0,Z)),U.push(U[0]);var Q=U.map((function(e){return e.id()})).join(",");-1===N.indexOf(Q)&&(g.push(s.spawn(U)),N.push(Q))}}}return{distanceTo:b,pathTo:x,hasNegativeWeightCycle:p,negativeWeightCycles:g}}},St=Math.sqrt(2),kt=function(e,t,n){0===n.length&&qe("Karger-Stein must be run on a connected (sub)graph");for(var i=n[e],r=i[1],o=i[2],a=t[r],s=t[o],l=n,u=l.length-1;u>=0;u--){var c=l[u],h=c[1],d=c[2];(t[h]===a&&t[d]===s||t[h]===s&&t[d]===a)&&l.splice(u,1)}for(var f=0;f<l.length;f++){var p=l[f];p[1]===s?(l[f]=p.slice(),l[f][1]=a):p[2]===s&&(l[f]=p.slice(),l[f][2]=a)}for(var g=0;g<t.length;g++)t[g]===s&&(t[g]=a);return l},Mt=function(e,t,n,i){while(n>i){var r=Math.floor(Math.random()*t.length);t=kt(r,e,t),n--}return t},Tt={kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,i=t.edges;i.unmergeBy((function(e){return e.isLoop()}));var r=n.length,o=i.length,a=Math.ceil(Math.pow(Math.log(r)/Math.LN2,2)),s=Math.floor(r/St);if(!(r<2)){for(var l=[],u=0;u<o;u++){var c=i[u];l.push([u,n.indexOf(c.source()),n.indexOf(c.target())])}for(var h=1/0,d=[],f=new Array(r),p=new Array(r),g=new Array(r),m=function(e,t){for(var n=0;n<r;n++)t[n]=e[n]},v=0;v<=a;v++){for(var y=0;y<r;y++)p[y]=y;var b=Mt(p,l.slice(),r,s),x=b.slice();m(p,g);var _=Mt(p,b,s,2),w=Mt(g,x,s,2);_.length<=w.length&&_.length<h?(h=_.length,d=_,m(p,f)):w.length<=_.length&&w.length<h&&(h=w.length,d=w,m(g,f))}for(var C=this.spawn(d.map((function(e){return i[e[0]]}))),S=this.spawn(),k=this.spawn(),M=f[0],T=0;T<f.length;T++){var E=f[T],D=n[T];E===M?S.merge(D):k.merge(D)}var P=function(t){var n=e.spawn();return t.forEach((function(t){n.merge(t),t.connectedEdges().forEach((function(t){e.contains(t)&&!C.contains(t)&&n.merge(t)}))})),n},O=[P(S),P(k)],I={cut:C,components:O,partition1:S,partition2:k};return I}qe("At least 2 nodes are required for Karger-Stein algorithm")}},Et=function(e){return{x:e.x,y:e.y}},Dt=function(e,t,n){return{x:e.x*t+n.x,y:e.y*t+n.y}},Pt=function(e,t,n){return{x:(e.x-n.x)/t,y:(e.y-n.y)/t}},Ot=function(e){return{x:e[0],y:e[1]}},It=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=1/0,r=t;r<n;r++){var o=e[r];isFinite(o)&&(i=Math.min(o,i))}return i},At=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=-1/0,r=t;r<n;r++){var o=e[r];isFinite(o)&&(i=Math.max(o,i))}return i},Lt=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=0,r=0,o=t;o<n;o++){var a=e[o];isFinite(a)&&(i+=a,r++)}return i/r},Nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];i?e=e.slice(t,n):(n<e.length&&e.splice(n,e.length-n),t>0&&e.splice(0,t));for(var a=0,s=e.length-1;s>=0;s--){var l=e[s];o?isFinite(l)||(e[s]=-1/0,a++):e.splice(s,1)}r&&e.sort((function(e,t){return e-t}));var u=e.length,c=Math.floor(u/2);return u%2!==0?e[c+1+a]:(e[c-1+a]+e[c+a])/2},Rt=function(e){return Math.PI*e/180},zt=function(e,t){return Math.atan2(t,e)-Math.PI/2},$t=Math.log2||function(e){return Math.log(e)/Math.log(2)},Bt=function(e){return e>0?1:e<0?-1:0},Ft=function(e,t){return Math.sqrt(jt(e,t))},jt=function(e,t){var n=t.x-e.x,i=t.y-e.y;return n*n+i*i},Vt=function(e){for(var t=e.length,n=0,i=0;i<t;i++)n+=e[i];for(var r=0;r<t;r++)e[r]=e[r]/n;return e},Ht=function(e,t,n,i){return(1-i)*(1-i)*e+2*(1-i)*i*t+i*i*n},Wt=function(e,t,n,i){return{x:Ht(e.x,t.x,n.x,i),y:Ht(e.y,t.y,n.y,i)}},Gt=function(e,t,n,i){var r={x:t.x-e.x,y:t.y-e.y},o=Ft(e,t),a={x:r.x/o,y:r.y/o};return n=null==n?0:n,i=null!=i?i:n*o,{x:e.x+a.x*i,y:e.y+a.y*i}},qt=function(e,t,n){return Math.max(e,Math.min(n,t))},Ut=function(e){if(null==e)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(null!=e.x1&&null!=e.y1){if(null!=e.x2&&null!=e.y2&&e.x2>=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Yt=function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},Xt=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},Zt=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},Kt=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},Qt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Jt=function(e){var t,n,i,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===o.length)t=n=i=r=o[0];else if(2===o.length)t=i=o[0],r=n=o[1];else if(4===o.length){var a=b(o,4);t=a[0],n=a[1],i=a[2],r=a[3]}return e.x1-=r,e.x2+=n,e.y1-=t,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},en=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},tn=function(e,t){return!(e.x1>t.x2)&&(!(t.x1>e.x2)&&(!(e.x2<t.x1)&&(!(t.x2<e.x1)&&(!(e.y2<t.y1)&&(!(t.y2<e.y1)&&(!(e.y1>t.y2)&&!(t.y1>e.y2)))))))},nn=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},rn=function(e,t){return nn(e,t.x,t.y)},on=function(e,t){return nn(e,t.x1,t.y1)&&nn(e,t.x2,t.y2)},an=function(e,t,n,i,r,o,a){var s,l=Dn(r,o),u=r/2,c=o/2,h=n-u+l-a,d=i-c-a,f=n+u-l+a,p=d;if(s=wn(e,t,n,i,h,d,f,p,!1),s.length>0)return s;var g=n+u+a,m=i-c+l-a,v=g,y=i+c-l+a;if(s=wn(e,t,n,i,g,m,v,y,!1),s.length>0)return s;var b=n-u+l-a,x=i+c+a,_=n+u-l+a,w=x;if(s=wn(e,t,n,i,b,x,_,w,!1),s.length>0)return s;var C,S=n-u-a,k=i-c+l-a,M=S,T=i+c-l+a;if(s=wn(e,t,n,i,S,k,M,T,!1),s.length>0)return s;var E=n-u+l,D=i-c+l;if(C=xn(e,t,n,i,E,D,l+a),C.length>0&&C[0]<=E&&C[1]<=D)return[C[0],C[1]];var P=n+u-l,O=i-c+l;if(C=xn(e,t,n,i,P,O,l+a),C.length>0&&C[0]>=P&&C[1]<=O)return[C[0],C[1]];var I=n+u-l,A=i+c-l;if(C=xn(e,t,n,i,I,A,l+a),C.length>0&&C[0]>=I&&C[1]>=A)return[C[0],C[1]];var L=n-u+l,N=i+c-l;return C=xn(e,t,n,i,L,N,l+a),C.length>0&&C[0]<=L&&C[1]>=N?[C[0],C[1]]:[]},sn=function(e,t,n,i,r,o,a){var s=a,l=Math.min(n,r),u=Math.max(n,r),c=Math.min(i,o),h=Math.max(i,o);return l-s<=e&&e<=u+s&&c-s<=t&&t<=h+s},ln=function(e,t,n,i,r,o,a,s,l){var u={x1:Math.min(n,a,r)-l,x2:Math.max(n,a,r)+l,y1:Math.min(i,s,o)-l,y2:Math.max(i,s,o)+l};return!(e<u.x1||e>u.x2||t<u.y1||t>u.y2)},un=function(e,t,n,i){n-=i;var r=t*t-4*e*n;if(r<0)return[];var o=Math.sqrt(r),a=2*e,s=(-t+o)/a,l=(-t-o)/a;return[s,l]},cn=function(e,t,n,i,r){var o,a,s,l,u,c,h,d,f=1e-5;return 0===e&&(e=f),t/=e,n/=e,i/=e,a=(3*n-t*t)/9,s=-27*i+t*(9*n-t*t*2),s/=54,o=a*a*a+s*s,r[1]=0,h=t/3,o>0?(u=s+Math.sqrt(o),u=u<0?-Math.pow(-u,1/3):Math.pow(u,1/3),c=s-Math.sqrt(o),c=c<0?-Math.pow(-c,1/3):Math.pow(c,1/3),r[0]=-h+u+c,h+=(u+c)/2,r[4]=r[2]=-h,h=Math.sqrt(3)*(-c+u)/2,r[3]=h,void(r[5]=-h)):(r[5]=r[3]=0,0===o?(d=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),r[0]=2*d-h,void(r[4]=r[2]=-(d+h))):(a=-a,l=a*a*a,l=Math.acos(s/Math.sqrt(l)),d=2*Math.sqrt(a),r[0]=-h+d*Math.cos(l/3),r[2]=-h+d*Math.cos((l+2*Math.PI)/3),void(r[4]=-h+d*Math.cos((l+4*Math.PI)/3))))},hn=function(e,t,n,i,r,o,a,s){var l=1*n*n-4*n*r+2*n*a+4*r*r-4*r*a+a*a+i*i-4*i*o+2*i*s+4*o*o-4*o*s+s*s,u=9*n*r-3*n*n-3*n*a-6*r*r+3*r*a+9*i*o-3*i*i-3*i*s-6*o*o+3*o*s,c=3*n*n-6*n*r+n*a-n*e+2*r*r+2*r*e-a*e+3*i*i-6*i*o+i*s-i*t+2*o*o+2*o*t-s*t,h=1*n*r-n*n+n*e-r*e+i*o-i*i+i*t-o*t,d=[];cn(l,u,c,h,d);for(var f=1e-7,p=[],g=0;g<6;g+=2)Math.abs(d[g+1])<f&&d[g]>=0&&d[g]<=1&&p.push(d[g]);p.push(1),p.push(0);for(var m,v,y,b=-1,x=0;x<p.length;x++)m=Math.pow(1-p[x],2)*n+2*(1-p[x])*p[x]*r+p[x]*p[x]*a,v=Math.pow(1-p[x],2)*i+2*(1-p[x])*p[x]*o+p[x]*p[x]*s,y=Math.pow(m-e,2)+Math.pow(v-t,2),b>=0?y<b&&(b=y):b=y;return b},dn=function(e,t,n,i,r,o){var a=[e-n,t-i],s=[r-n,o-i],l=s[0]*s[0]+s[1]*s[1],u=a[0]*a[0]+a[1]*a[1],c=a[0]*s[0]+a[1]*s[1],h=c*c/l;return c<0?u:h>l?(e-r)*(e-r)+(t-o)*(t-o):u-h},fn=function(e,t,n){for(var i,r,o,a,s,l=0,u=0;u<n.length/2;u++)if(i=n[2*u],r=n[2*u+1],u+1<n.length/2?(o=n[2*(u+1)],a=n[2*(u+1)+1]):(o=n[2*(u+1-n.length/2)],a=n[2*(u+1-n.length/2)+1]),i==e&&o==e);else{if(!(i>=e&&e>=o||i<=e&&e<=o))continue;s=(e-i)/(o-i)*(a-r)+r,s>t&&l++}return l%2!==0},pn=function(e,t,n,i,r,o,a,s,l){var u,c=new Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var h,d=Math.cos(-u),f=Math.sin(-u),p=0;p<c.length/2;p++)c[2*p]=o/2*(n[2*p]*d-n[2*p+1]*f),c[2*p+1]=a/2*(n[2*p+1]*d+n[2*p]*f),c[2*p]+=i,c[2*p+1]+=r;if(l>0){var g=vn(c,-l);h=mn(g)}else h=c;return fn(e,t,h)},gn=function(e,t,n,i,r,o,a){for(var s=new Array(n.length),l=o/2,u=a/2,c=Pn(o,a),h=c*c,d=0;d<n.length/4;d++){var f=void 0,p=void 0;f=0===d?n.length-2:4*d-2,p=4*d+2;var g=i+l*n[4*d],m=r+u*n[4*d+1],v=-n[f]*n[p]-n[f+1]*n[p+1],y=c/Math.tan(Math.acos(v)/2),b=g-y*n[f],x=m-y*n[f+1],_=g+y*n[p],w=m+y*n[p+1];s[4*d]=b,s[4*d+1]=x,s[4*d+2]=_,s[4*d+3]=w;var C=n[f+1],S=-n[f],k=C*n[p]+S*n[p+1];k<0&&(C*=-1,S*=-1);var M=b+C*c,T=x+S*c,E=Math.pow(M-e,2)+Math.pow(T-t,2);if(E<=h)return!0}return fn(e,t,s)},mn=function(e){for(var t,n,i,r,o,a,s,l,u=new Array(e.length/2),c=0;c<e.length/4;c++){t=e[4*c],n=e[4*c+1],i=e[4*c+2],r=e[4*c+3],c<e.length/4-1?(o=e[4*(c+1)],a=e[4*(c+1)+1],s=e[4*(c+1)+2],l=e[4*(c+1)+3]):(o=e[0],a=e[1],s=e[2],l=e[3]);var h=wn(t,n,i,r,o,a,s,l,!0);u[2*c]=h[0],u[2*c+1]=h[1]}return u},vn=function(e,t){for(var n,i,r,o,a=new Array(2*e.length),s=0;s<e.length/2;s++){n=e[2*s],i=e[2*s+1],s<e.length/2-1?(r=e[2*(s+1)],o=e[2*(s+1)+1]):(r=e[0],o=e[1]);var l=o-i,u=-(r-n),c=Math.sqrt(l*l+u*u),h=l/c,d=u/c;a[4*s]=n+h*t,a[4*s+1]=i+d*t,a[4*s+2]=r+h*t,a[4*s+3]=o+d*t}return a},yn=function(e,t,n,i,r,o){var a=n-e,s=i-t;a/=r,s/=o;var l=Math.sqrt(a*a+s*s),u=l-1;if(u<0)return[];var c=u/l;return[(n-e)*c+e,(i-t)*c+t]},bn=function(e,t,n,i,r,o,a){return e-=r,t-=o,e/=n/2+a,t/=i/2+a,e*e+t*t<=1},xn=function(e,t,n,i,r,o,a){var s=[n-e,i-t],l=[e-r,t-o],u=s[0]*s[0]+s[1]*s[1],c=2*(l[0]*s[0]+l[1]*s[1]),h=l[0]*l[0]+l[1]*l[1]-a*a,d=c*c-4*u*h;if(d<0)return[];var f=(-c+Math.sqrt(d))/(2*u),p=(-c-Math.sqrt(d))/(2*u),g=Math.min(f,p),m=Math.max(f,p),v=[];if(g>=0&&g<=1&&v.push(g),m>=0&&m<=1&&v.push(m),0===v.length)return[];var y=v[0]*s[0]+e,b=v[0]*s[1]+t;if(v.length>1){if(v[0]==v[1])return[y,b];var x=v[1]*s[0]+e,_=v[1]*s[1]+t;return[y,b,x,_]}return[y,b]},_n=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},wn=function(e,t,n,i,r,o,a,s,l){var u=e-r,c=n-e,h=a-r,d=t-o,f=i-t,p=s-o,g=h*d-p*u,m=c*d-f*u,v=p*c-h*f;if(0!==v){var y=g/v,b=m/v,x=.001,_=0-x,w=1+x;return _<=y&&y<=w&&_<=b&&b<=w||l?[e+y*c,t+y*f]:[]}return 0===g||0===m?_n(e,n,a)===a?[a,s]:_n(e,n,r)===r?[r,o]:_n(r,a,n)===n?[n,i]:[]:[]},Cn=function(e,t,n,i,r,o,a,s){var l,u,c,h,d,f,p=[],g=new Array(n.length),m=!0;if(null==o&&(m=!1),m){for(var v=0;v<g.length/2;v++)g[2*v]=n[2*v]*o+i,g[2*v+1]=n[2*v+1]*a+r;if(s>0){var y=vn(g,-s);u=mn(y)}else u=g}else u=n;for(var b=0;b<u.length/2;b++)c=u[2*b],h=u[2*b+1],b<u.length/2-1?(d=u[2*(b+1)],f=u[2*(b+1)+1]):(d=u[0],f=u[1]),l=wn(e,t,i,r,c,h,d,f),0!==l.length&&p.push(l[0],l[1]);return p},Sn=function(e,t,n,i,r,o,a,s){for(var l,u=[],c=new Array(n.length),h=o/2,d=a/2,f=Pn(o,a),p=0;p<n.length/4;p++){var g=void 0,m=void 0;g=0===p?n.length-2:4*p-2,m=4*p+2;var v=i+h*n[4*p],y=r+d*n[4*p+1],b=-n[g]*n[m]-n[g+1]*n[m+1],x=f/Math.tan(Math.acos(b)/2),_=v-x*n[g],w=y-x*n[g+1],C=v+x*n[m],S=y+x*n[m+1];0===p?(c[n.length-2]=_,c[n.length-1]=w):(c[4*p-2]=_,c[4*p-1]=w),c[4*p]=C,c[4*p+1]=S;var k=n[g+1],M=-n[g],T=k*n[m]+M*n[m+1];T<0&&(k*=-1,M*=-1);var E=_+k*f,D=w+M*f;l=xn(e,t,i,r,E,D,f),0!==l.length&&u.push(l[0],l[1])}for(var P=0;P<c.length/4;P++)l=wn(e,t,i,r,c[4*P],c[4*P+1],c[4*P+2],c[4*P+3],!1),0!==l.length&&u.push(l[0],l[1]);if(u.length>2){for(var O=[u[0],u[1]],I=Math.pow(O[0]-e,2)+Math.pow(O[1]-t,2),A=1;A<u.length/2;A++){var L=Math.pow(u[2*A]-e,2)+Math.pow(u[2*A+1]-t,2);L<=I&&(O[0]=u[2*A],O[1]=u[2*A+1],I=L)}return O}return u},kn=function(e,t,n){var i=[e[0]-t[0],e[1]-t[1]],r=Math.sqrt(i[0]*i[0]+i[1]*i[1]),o=(r-n)/r;return o<0&&(o=1e-5),[t[0]+o*i[0],t[1]+o*i[1]]},Mn=function(e,t){var n=En(e,t);return n=Tn(n),n},Tn=function(e){for(var t,n,i=e.length/2,r=1/0,o=1/0,a=-1/0,s=-1/0,l=0;l<i;l++)t=e[2*l],n=e[2*l+1],r=Math.min(r,t),a=Math.max(a,t),o=Math.min(o,n),s=Math.max(s,n);for(var u=2/(a-r),c=2/(s-o),h=0;h<i;h++)t=e[2*h]=e[2*h]*u,n=e[2*h+1]=e[2*h+1]*c,r=Math.min(r,t),a=Math.max(a,t),o=Math.min(o,n),s=Math.max(s,n);if(o<-1)for(var d=0;d<i;d++)n=e[2*d+1]=e[2*d+1]+(-1-o);return e},En=function(e,t){var n=1/e*2*Math.PI,i=e%2===0?Math.PI/2+n/2:Math.PI/2;i+=t;for(var r,o=new Array(2*e),a=0;a<e;a++)r=a*n+i,o[2*a]=Math.cos(r),o[2*a+1]=Math.sin(-r);return o},Dn=function(e,t){return Math.min(e/4,t/4,8)},Pn=function(e,t){return Math.min(e/10,t/10,8)},On=function(){return 8},In=function(e,t,n){return[e-2*t+n,2*(t-e),e]},An=function(e,t){return{heightOffset:Math.min(15,.05*t),widthOffset:Math.min(100,.25*e),ctrlPtOffsetPct:.05}},Ln=tt({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(e){return 1}}),Nn={pageRank:function(e){for(var t=Ln(e),n=t.dampingFactor,i=t.precision,r=t.iterations,o=t.weight,a=this._private.cy,s=this.byGroup(),l=s.nodes,u=s.edges,c=l.length,h=c*c,d=u.length,f=new Array(h),p=new Array(c),g=(1-n)/c,m=0;m<c;m++){for(var v=0;v<c;v++){var y=m*c+v;f[y]=0}p[m]=0}for(var b=0;b<d;b++){var x=u[b],_=x.data("source"),w=x.data("target");if(_!==w){var C=l.indexOfId(_),S=l.indexOfId(w),k=o(x),M=S*c+C;f[M]+=k,p[C]+=k}}for(var T=1/c+g,E=0;E<c;E++)if(0===p[E])for(var D=0;D<c;D++){var P=D*c+E;f[P]=T}else for(var O=0;O<c;O++){var I=O*c+E;f[I]=f[I]/p[E]+g}for(var A,L=new Array(c),N=new Array(c),R=0;R<c;R++)L[R]=1;for(var z=0;z<r;z++){for(var $=0;$<c;$++)N[$]=0;for(var B=0;B<c;B++)for(var F=0;F<c;F++){var j=B*c+F;N[B]+=f[j]*L[F]}Vt(N),A=L,L=N,N=A;for(var V=0,H=0;H<c;H++){var W=A[H]-L[H];V+=W*W}if(V<i)break}var G={rank:function(e){return e=a.collection(e)[0],L[l.indexOf(e)]}};return G}},Rn=tt({root:null,weight:function(e){return 1},directed:!1,alpha:0}),zn={degreeCentralityNormalized:function(e){e=Rn(e);var t=this.cy(),n=this.nodes(),i=n.length;if(e.directed){for(var r={},o={},a=0,s=0,l=0;l<i;l++){var u=n[l],c=u.id();e.root=u;var h=this.degreeCentrality(e);a<h.indegree&&(a=h.indegree),s<h.outdegree&&(s=h.outdegree),r[c]=h.indegree,o[c]=h.outdegree}return{indegree:function(e){return 0==a?0:(I(e)&&(e=t.filter(e)),r[e.id()]/a)},outdegree:function(e){return 0===s?0:(I(e)&&(e=t.filter(e)),o[e.id()]/s)}}}for(var d={},f=0,p=0;p<i;p++){var g=n[p];e.root=g;var m=this.degreeCentrality(e);f<m.degree&&(f=m.degree),d[g.id()]=m.degree}return{degree:function(e){return 0===f?0:(I(e)&&(e=t.filter(e)),d[e.id()]/f)}}},degreeCentrality:function(e){e=Rn(e);var t=this.cy(),n=this,i=e,r=i.root,o=i.weight,a=i.directed,s=i.alpha;if(r=t.collection(r)[0],a){for(var l=r.connectedEdges(),u=l.filter((function(e){return e.target().same(r)&&n.has(e)})),c=l.filter((function(e){return e.source().same(r)&&n.has(e)})),h=u.length,d=c.length,f=0,p=0,g=0;g<u.length;g++)f+=o(u[g]);for(var m=0;m<c.length;m++)p+=o(c[m]);return{indegree:Math.pow(h,1-s)*Math.pow(f,s),outdegree:Math.pow(d,1-s)*Math.pow(p,s)}}for(var v=r.connectedEdges().intersection(n),y=v.length,b=0,x=0;x<v.length;x++)b+=o(v[x]);return{degree:Math.pow(y,1-s)*Math.pow(b,s)}}};zn.dc=zn.degreeCentrality,zn.dcn=zn.degreeCentralityNormalised=zn.degreeCentralityNormalized;var $n=tt({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),Bn={closenessCentralityNormalized:function(e){for(var t=$n(e),n=t.harmonic,i=t.weight,r=t.directed,o=this.cy(),a={},s=0,l=this.nodes(),u=this.floydWarshall({weight:i,directed:r}),c=0;c<l.length;c++){for(var h=0,d=l[c],f=0;f<l.length;f++)if(c!==f){var p=u.distance(d,l[f]);h+=n?1/p:p}n||(h=1/h),s<h&&(s=h),a[d.id()]=h}return{closeness:function(e){return 0==s?0:(e=I(e)?o.filter(e)[0].id():e.id(),a[e]/s)}}},closenessCentrality:function(e){var t=$n(e),n=t.root,i=t.weight,r=t.directed,o=t.harmonic;n=this.filter(n)[0];for(var a=this.dijkstra({root:n,weight:i,directed:r}),s=0,l=this.nodes(),u=0;u<l.length;u++){var c=l[u];if(!c.same(n)){var h=a.distanceTo(c);s+=o?1/h:h}}return o?s:1/s}};Bn.cc=Bn.closenessCentrality,Bn.ccn=Bn.closenessCentralityNormalised=Bn.closenessCentralityNormalized;var Fn=tt({weight:null,directed:!1}),jn={betweennessCentrality:function(e){for(var t=Fn(e),n=t.directed,i=t.weight,r=null!=i,o=this.cy(),a=this.nodes(),s={},l={},u=0,h={set:function(e,t){l[e]=t,t>u&&(u=t)},get:function(e){return l[e]}},d=0;d<a.length;d++){var f=a[d],p=f.id();s[p]=n?f.outgoers().nodes():f.openNeighborhood().nodes(),h.set(p,0)}for(var g=function(e){for(var t=a[e].id(),n=[],l={},u={},d={},f=new c["default"]((function(e,t){return d[e]-d[t]})),p=0;p<a.length;p++){var g=a[p].id();l[g]=[],u[g]=0,d[g]=1/0}u[t]=1,d[t]=0,f.push(t);while(!f.empty()){var m=f.pop();if(n.push(m),r)for(var v=0;v<s[m].length;v++){var y=s[m][v],b=o.getElementById(m),x=void 0;x=b.edgesTo(y).length>0?b.edgesTo(y)[0]:y.edgesTo(b)[0];var _=i(x);y=y.id(),d[y]>d[m]+_&&(d[y]=d[m]+_,f.nodes.indexOf(y)<0?f.push(y):f.updateItem(y),u[y]=0,l[y]=[]),d[y]==d[m]+_&&(u[y]=u[y]+u[m],l[y].push(m))}else for(var w=0;w<s[m].length;w++){var C=s[m][w].id();d[C]==1/0&&(f.push(C),d[C]=d[m]+1),d[C]==d[m]+1&&(u[C]=u[C]+u[m],l[C].push(m))}}for(var S={},k=0;k<a.length;k++)S[a[k].id()]=0;while(n.length>0){for(var M=n.pop(),T=0;T<l[M].length;T++){var E=l[M][T];S[E]=S[E]+u[E]/u[M]*(1+S[M])}M!=a[e].id()&&h.set(M,h.get(M)+S[M])}},m=0;m<a.length;m++)g(m);var v={betweenness:function(e){var t=o.collection(e).id();return h.get(t)},betweennessNormalized:function(e){if(0==u)return 0;var t=o.collection(e).id();return h.get(t)/u}};return v.betweennessNormalised=v.betweennessNormalized,v}};jn.bc=jn.betweennessCentrality;var Vn=tt({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(e){return 1}]}),Hn=function(e){return Vn(e)},Wn=function(e,t){for(var n=0,i=0;i<t.length;i++)n+=t[i](e);return n},Gn=function(e,t,n){for(var i=0;i<t;i++)e[i*t+i]=n},qn=function(e,t){for(var n,i=0;i<t;i++){n=0;for(var r=0;r<t;r++)n+=e[r*t+i];for(var o=0;o<t;o++)e[o*t+i]=e[o*t+i]/n}},Un=function(e,t,n){for(var i=new Array(n*n),r=0;r<n;r++){for(var o=0;o<n;o++)i[r*n+o]=0;for(var a=0;a<n;a++)for(var s=0;s<n;s++)i[r*n+s]+=e[r*n+a]*t[a*n+s]}return i},Yn=function(e,t,n){for(var i=e.slice(0),r=1;r<n;r++)e=Un(e,i,t);return e},Xn=function(e,t,n){for(var i=new Array(t*t),r=0;r<t*t;r++)i[r]=Math.pow(e[r],n);return qn(i,t),i},Zn=function(e,t,n,i){for(var r=0;r<n;r++){var o=Math.round(e[r]*Math.pow(10,i))/Math.pow(10,i),a=Math.round(t[r]*Math.pow(10,i))/Math.pow(10,i);if(o!==a)return!1}return!0},Kn=function(e,t,n,i){for(var r=[],o=0;o<t;o++){for(var a=[],s=0;s<t;s++)Math.round(1e3*e[o*t+s])/1e3>0&&a.push(n[s]);0!==a.length&&r.push(i.collection(a))}return r},Qn=function(e,t){for(var n=0;n<e.length;n++)if(!t[n]||e[n].id()!==t[n].id())return!1;return!0},Jn=function(e){for(var t=0;t<e.length;t++)for(var n=0;n<e.length;n++)t!=n&&Qn(e[t],e[n])&&e.splice(n,1);return e},ei=function(e){for(var t=this.nodes(),n=this.edges(),i=this.cy(),r=Hn(e),o={},a=0;a<t.length;a++)o[t[a].id()]=a;for(var s,l=t.length,u=l*l,c=new Array(u),h=0;h<u;h++)c[h]=0;for(var d=0;d<n.length;d++){var f=n[d],p=o[f.source().id()],g=o[f.target().id()],m=Wn(f,r.attributes);c[p*l+g]+=m,c[g*l+p]+=m}Gn(c,l,r.multFactor),qn(c,l);var v=!0,y=0;while(v&&y<r.maxIterations)v=!1,s=Yn(c,l,r.expandFactor),c=Xn(s,l,r.inflateFactor),Zn(c,s,u,4)||(v=!0),y++;var b=Kn(c,l,t,i);return b=Jn(b),b},ti={markovClustering:ei,mcl:ei},ni=function(e){return e},ii=function(e,t){return Math.abs(t-e)},ri=function(e,t,n){return e+ii(t,n)},oi=function(e,t,n){return e+Math.pow(n-t,2)},ai=function(e){return Math.sqrt(e)},si=function(e,t,n){return Math.max(e,ii(t,n))},li=function(e,t,n,i,r){for(var o,a,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:ni,l=i,u=0;u<e;u++)o=t(u),a=n(u),l=r(l,o,a);return s(l)},ui={euclidean:function(e,t,n){return e>=2?li(e,t,n,0,oi,ai):li(e,t,n,0,ri)},squaredEuclidean:function(e,t,n){return li(e,t,n,0,oi)},manhattan:function(e,t,n){return li(e,t,n,0,ri)},max:function(e,t,n){return li(e,t,n,-1/0,si)}};function ci(e,t,n,i,r,o){var a;return a=A(e)?e:ui[e]||ui.euclidean,0===t&&A(e)?a(r,o):a(t,n,i,r,o)}ui["squared-euclidean"]=ui["squaredEuclidean"],ui["squaredeuclidean"]=ui["squaredEuclidean"];var hi=tt({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),di=function(e){return hi(e)},fi=function(e,t,n,i,r){var o="kMedoids"!==r,a=o?function(e){return n[e]}:function(e){return i[e](n)},s=function(e){return i[e](t)},l=n,u=t;return ci(e,i.length,a,s,l,u)},pi=function(e,t,n){for(var i=n.length,r=new Array(i),o=new Array(i),a=new Array(t),s=null,l=0;l<i;l++)r[l]=e.min(n[l]).value,o[l]=e.max(n[l]).value;for(var u=0;u<t;u++){s=[];for(var c=0;c<i;c++)s[c]=Math.random()*(o[c]-r[c])+r[c];a[u]=s}return a},gi=function(e,t,n,i,r){for(var o=1/0,a=0,s=0;s<t.length;s++){var l=fi(n,e,t[s],i,r);l<o&&(o=l,a=s)}return a},mi=function(e,t,n){for(var i=[],r=null,o=0;o<t.length;o++)r=t[o],n[r.id()]===e&&i.push(r);return i},vi=function(e,t,n){return Math.abs(t-e)<=n},yi=function(e,t,n){for(var i=0;i<e.length;i++)for(var r=0;r<e[i].length;r++){var o=Math.abs(e[i][r]-t[i][r]);if(o>n)return!1}return!0},bi=function(e,t,n){for(var i=0;i<n;i++)if(e===t[i])return!0;return!1},xi=function(e,t){var n=new Array(t);if(e.length<50)for(var i=0;i<t;i++){var r=e[Math.floor(Math.random()*e.length)];while(bi(r,n,i))r=e[Math.floor(Math.random()*e.length)];n[i]=r}else for(var o=0;o<t;o++)n[o]=e[Math.floor(Math.random()*e.length)];return n},_i=function(e,t,n){for(var i=0,r=0;r<t.length;r++)i+=fi("manhattan",t[r],e,n,"kMedoids");return i},wi=function(e){var t,n=this.cy(),i=this.nodes(),r=null,o=di(e),a=new Array(o.k),s={};o.testMode?"number"===typeof o.testCentroids?(o.testCentroids,t=pi(i,o.k,o.attributes)):t="object"===p(o.testCentroids)?o.testCentroids:pi(i,o.k,o.attributes):t=pi(i,o.k,o.attributes);var l=!0,u=0;while(l&&u<o.maxIterations){for(var c=0;c<i.length;c++)r=i[c],s[r.id()]=gi(r,t,o.distance,o.attributes,"kMeans");l=!1;for(var h=0;h<o.k;h++){var d=mi(h,i,s);if(0!==d.length){for(var f=o.attributes.length,g=t[h],m=new Array(f),v=new Array(f),y=0;y<f;y++){v[y]=0;for(var b=0;b<d.length;b++)r=d[b],v[y]+=o.attributes[y](r);m[y]=v[y]/d.length,vi(m[y],g[y],o.sensitivityThreshold)||(l=!0)}t[h]=m,a[h]=n.collection(d)}}u++}return a},Ci=function(e){var t,n,i=this.cy(),r=this.nodes(),o=null,a=di(e),s=new Array(a.k),l={},u=new Array(a.k);a.testMode?"number"===typeof a.testCentroids||(t="object"===p(a.testCentroids)?a.testCentroids:xi(r,a.k)):t=xi(r,a.k);var c=!0,h=0;while(c&&h<a.maxIterations){for(var d=0;d<r.length;d++)o=r[d],l[o.id()]=gi(o,t,a.distance,a.attributes,"kMedoids");c=!1;for(var f=0;f<t.length;f++){var g=mi(f,r,l);if(0!==g.length){u[f]=_i(t[f],g,a.attributes);for(var m=0;m<g.length;m++)n=_i(g[m],g,a.attributes),n<u[f]&&(u[f]=n,t[f]=g[m],c=!0);s[f]=i.collection(g)}}h++}return s},Si=function(e,t,n,i,r){for(var o,a,s=0;s<t.length;s++)for(var l=0;l<e.length;l++)i[s][l]=Math.pow(n[s][l],r.m);for(var u=0;u<e.length;u++)for(var c=0;c<r.attributes.length;c++){o=0,a=0;for(var h=0;h<t.length;h++)o+=i[h][u]*r.attributes[c](t[h]),a+=i[h][u];e[u][c]=o/a}},ki=function(e,t,n,i,r){for(var o=0;o<e.length;o++)t[o]=e[o].slice();for(var a,s,l,u=2/(r.m-1),c=0;c<n.length;c++)for(var h=0;h<i.length;h++){a=0;for(var d=0;d<n.length;d++)s=fi(r.distance,i[h],n[c],r.attributes,"cmeans"),l=fi(r.distance,i[h],n[d],r.attributes,"cmeans"),a+=Math.pow(s/l,u);e[h][c]=1/a}},Mi=function(e,t,n,i){for(var r,o,a=new Array(n.k),s=0;s<a.length;s++)a[s]=[];for(var l=0;l<t.length;l++){r=-1/0,o=-1;for(var u=0;u<t[0].length;u++)t[l][u]>r&&(r=t[l][u],o=u);a[o].push(e[l])}for(var c=0;c<a.length;c++)a[c]=i.collection(a[c]);return a},Ti=function(e){var t,n,i,r,o,a=this.cy(),s=this.nodes(),l=di(e);r=new Array(s.length);for(var u=0;u<s.length;u++)r[u]=new Array(l.k);i=new Array(s.length);for(var c=0;c<s.length;c++)i[c]=new Array(l.k);for(var h=0;h<s.length;h++){for(var d=0,f=0;f<l.k;f++)i[h][f]=Math.random(),d+=i[h][f];for(var p=0;p<l.k;p++)i[h][p]=i[h][p]/d}n=new Array(l.k);for(var g=0;g<l.k;g++)n[g]=new Array(l.attributes.length);o=new Array(s.length);for(var m=0;m<s.length;m++)o[m]=new Array(l.k);var v=!0,y=0;while(v&&y<l.maxIterations)v=!1,Si(n,s,i,o,l),ki(i,r,n,s,l),yi(i,r,l.sensitivityThreshold)||(v=!0),y++;return t=Mi(s,i,l,a),{clusters:t,degreeOfMembership:i}},Ei={kMeans:wi,kMedoids:Ci,fuzzyCMeans:Ti,fcm:Ti},Di=tt({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),Pi={single:"min",complete:"max"},Oi=function(e){var t=Di(e),n=Pi[t.linkage];return null!=n&&(t.linkage=n),t},Ii=function(e,t,n,i,r){for(var o,a=0,s=1/0,l=r.attributes,u=function(e,t){return ci(r.distance,l.length,(function(t){return l[t](e)}),(function(e){return l[e](t)}),e,t)},c=0;c<e.length;c++){var h=e[c].key,d=n[h][i[h]];d<s&&(a=h,s=d)}if("threshold"===r.mode&&s>=r.threshold||"dendrogram"===r.mode&&1===e.length)return!1;var f,p=t[a],g=t[i[a]];f="dendrogram"===r.mode?{left:p,right:g,key:p.key}:{value:p.value.concat(g.value),key:p.key},e[p.index]=f,e.splice(g.index,1),t[p.key]=f;for(var m=0;m<e.length;m++){var v=e[m];p.key===v.key?o=1/0:"min"===r.linkage?(o=n[p.key][v.key],n[p.key][v.key]>n[g.key][v.key]&&(o=n[g.key][v.key])):"max"===r.linkage?(o=n[p.key][v.key],n[p.key][v.key]<n[g.key][v.key]&&(o=n[g.key][v.key])):o="mean"===r.linkage?(n[p.key][v.key]*p.size+n[g.key][v.key]*g.size)/(p.size+g.size):"dendrogram"===r.mode?u(v.value,p.value):u(v.value[0],p.value[0]),n[p.key][v.key]=n[v.key][p.key]=o}for(var y=0;y<e.length;y++){var b=e[y].key;if(i[b]===p.key||i[b]===g.key){for(var x=b,_=0;_<e.length;_++){var w=e[_].key;n[b][w]<n[b][x]&&(x=w)}i[b]=x}e[y].index=y}return p.key=g.key=p.index=g.index=null,!0},Ai=function e(t,n,i){t&&(t.value?n.push(t.value):(t.left&&e(t.left,n),t.right&&e(t.right,n)))},Li=function e(t,n){if(!t)return"";if(t.left&&t.right){var i=e(t.left,n),r=e(t.right,n),o=n.add({group:"nodes",data:{id:i+","+r}});return n.add({group:"edges",data:{source:i,target:o.id()}}),n.add({group:"edges",data:{source:r,target:o.id()}}),o.id()}return t.value?t.value.id():void 0},Ni=function e(t,n,i){if(!t)return[];var r=[],o=[],a=[];return 0===n?(t.left&&Ai(t.left,r),t.right&&Ai(t.right,o),a=r.concat(o),[i.collection(a)]):1===n?t.value?[i.collection(t.value)]:(t.left&&Ai(t.left,r),t.right&&Ai(t.right,o),[i.collection(r),i.collection(o)]):t.value?[i.collection(t.value)]:(t.left&&(r=e(t.left,n-1,i)),t.right&&(o=e(t.right,n-1,i)),r.concat(o))},Ri=function(e){for(var t=this.cy(),n=this.nodes(),i=Oi(e),r=i.attributes,o=function(e,t){return ci(i.distance,r.length,(function(t){return r[t](e)}),(function(e){return r[e](t)}),e,t)},a=[],s=[],l=[],u=[],c=0;c<n.length;c++){var h={value:"dendrogram"===i.mode?n[c]:[n[c]],key:c,index:c};a[c]=h,u[c]=h,s[c]=[],l[c]=0}for(var d=0;d<a.length;d++)for(var f=0;f<=d;f++){var p=void 0;p="dendrogram"===i.mode?d===f?1/0:o(a[d].value,a[f].value):d===f?1/0:o(a[d].value[0],a[f].value[0]),s[d][f]=p,s[f][d]=p,p<s[d][l[d]]&&(l[d]=f)}var g,m=Ii(a,u,s,l,i);while(m)m=Ii(a,u,s,l,i);return"dendrogram"===i.mode?(g=Ni(a[0],i.dendrogramDepth,t),i.addDendrogram&&Li(a[0],t)):(g=new Array(a.length),a.forEach((function(e,n){e.key=e.index=null,g[n]=t.collection(e.value)}))),g},zi={hierarchicalClustering:Ri,hca:Ri},$i=tt({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),Bi=function(e){var t=e.damping,n=e.preference;.5<=t&&t<1||qe("Damping must range on [0.5, 1). Got: ".concat(t));var i=["median","mean","min","max"];return i.some((function(e){return e===n}))||z(n)||qe("Preference must be one of [".concat(i.map((function(e){return"'".concat(e,"'")})).join(", "),"] or a number. Got: ").concat(n)),$i(e)},Fi=function(e,t,n,i){var r=function(e,t){return i[t](e)};return-ci(e,i.length,(function(e){return r(t,e)}),(function(e){return r(n,e)}),t,n)},ji=function(e,t){var n=null;return n="median"===t?Nt(e):"mean"===t?Lt(e):"min"===t?It(e):"max"===t?At(e):t,n},Vi=function(e,t,n){for(var i=[],r=0;r<e;r++)t[r*e+r]+n[r*e+r]>0&&i.push(r);return i},Hi=function(e,t,n){for(var i=[],r=0;r<e;r++){for(var o=-1,a=-1/0,s=0;s<n.length;s++){var l=n[s];t[r*e+l]>a&&(o=l,a=t[r*e+l])}o>0&&i.push(o)}for(var u=0;u<n.length;u++)i[n[u]]=n[u];return i},Wi=function(e,t,n){for(var i=Hi(e,t,n),r=0;r<n.length;r++){for(var o=[],a=0;a<i.length;a++)i[a]===n[r]&&o.push(a);for(var s=-1,l=-1/0,u=0;u<o.length;u++){for(var c=0,h=0;h<o.length;h++)c+=t[o[h]*e+o[u]];c>l&&(s=u,l=c)}n[r]=o[s]}return i=Hi(e,t,n),i},Gi=function(e){for(var t,n,i,r,o,a,s=this.cy(),l=this.nodes(),u=Bi(e),c={},h=0;h<l.length;h++)c[l[h].id()]=h;t=l.length,n=t*t,i=new Array(n);for(var d=0;d<n;d++)i[d]=-1/0;for(var f=0;f<t;f++)for(var p=0;p<t;p++)f!==p&&(i[f*t+p]=Fi(u.distance,l[f],l[p],u.attributes));r=ji(i,u.preference);for(var g=0;g<t;g++)i[g*t+g]=r;o=new Array(n);for(var m=0;m<n;m++)o[m]=0;a=new Array(n);for(var v=0;v<n;v++)a[v]=0;for(var y=new Array(t),b=new Array(t),x=new Array(t),_=0;_<t;_++)y[_]=0,b[_]=0,x[_]=0;for(var w,C=new Array(t*u.minIterations),S=0;S<C.length;S++)C[S]=0;for(w=0;w<u.maxIterations;w++){for(var k=0;k<t;k++){for(var M=-1/0,T=-1/0,E=-1,D=0,P=0;P<t;P++)y[P]=o[k*t+P],D=a[k*t+P]+i[k*t+P],D>=M?(T=M,M=D,E=P):D>T&&(T=D);for(var O=0;O<t;O++)o[k*t+O]=(1-u.damping)*(i[k*t+O]-M)+u.damping*y[O];o[k*t+E]=(1-u.damping)*(i[k*t+E]-T)+u.damping*y[E]}for(var I=0;I<t;I++){for(var A=0,L=0;L<t;L++)y[L]=a[L*t+I],b[L]=Math.max(0,o[L*t+I]),A+=b[L];A-=b[I],b[I]=o[I*t+I],A+=b[I];for(var N=0;N<t;N++)a[N*t+I]=(1-u.damping)*Math.min(0,A-b[N])+u.damping*y[N];a[I*t+I]=(1-u.damping)*(A-b[I])+u.damping*y[I]}for(var R=0,z=0;z<t;z++){var $=a[z*t+z]+o[z*t+z]>0?1:0;C[w%u.minIterations*t+z]=$,R+=$}if(R>0&&(w>=u.minIterations-1||w==u.maxIterations-1)){for(var B=0,F=0;F<t;F++){x[F]=0;for(var j=0;j<u.minIterations;j++)x[F]+=C[j*t+F];0!==x[F]&&x[F]!==u.minIterations||B++}if(B===t)break}}for(var V=Vi(t,o,a),H=Wi(t,i,V),W={},G=0;G<V.length;G++)W[V[G]]=[];for(var q=0;q<l.length;q++){var U=c[l[q].id()],Y=H[U];null!=Y&&W[Y].push(l[q])}for(var X=new Array(V.length),Z=0;Z<V.length;Z++)X[Z]=s.collection(W[V[Z]]);return X},qi={affinityPropagation:Gi,ap:Gi},Ui=tt({root:void 0,directed:!1}),Yi={hierholzer:function(e){if(!N(e)){var t=arguments;e={root:t[0],directed:t[1]}}var n,i,r,o=Ui(e),a=o.root,s=o.directed,l=this,u=!1;a&&(r=I(a)?this.filter(a)[0].id():a[0].id());var c={},h={};s?l.forEach((function(e){var t=e.id();if(e.isNode()){var r=e.indegree(!0),o=e.outdegree(!0),a=r-o,s=o-r;1==a?n?u=!0:n=t:1==s?i?u=!0:i=t:(s>1||a>1)&&(u=!0),c[t]=[],e.outgoers().forEach((function(e){e.isEdge()&&c[t].push(e.id())}))}else h[t]=[void 0,e.target().id()]})):l.forEach((function(e){var t=e.id();if(e.isNode()){var r=e.degree(!0);r%2&&(n?i?u=!0:i=t:n=t),c[t]=[],e.connectedEdges().forEach((function(e){return c[t].push(e.id())}))}else h[t]=[e.source().id(),e.target().id()]}));var d={found:!1,trail:void 0};if(u)return d;if(i&&n)if(s){if(r&&i!=r)return d;r=i}else{if(r&&i!=r&&n!=r)return d;r||(r=i)}else r||(r=l[0].id());var f=function(e){var t,n,i,r=e,o=[e];while(c[r].length)t=c[r].shift(),n=h[t][0],i=h[t][1],r!=i?(c[i]=c[i].filter((function(e){return e!=t})),r=i):s||r==n||(c[n]=c[n].filter((function(e){return e!=t})),r=n),o.unshift(t),o.unshift(r);return o},p=[],g=[];g=f(r);while(1!=g.length)0==c[g[0]].length?(p.unshift(l.getElementById(g.shift())),p.unshift(l.getElementById(g.shift()))):g=f(g.shift()).concat(g);for(var m in p.unshift(l.getElementById(g.shift())),c)if(c[m].length)return d;return d.found=!0,d.trail=this.spawn(p,!0),d}},Xi=function(){var e=this,t={},n=0,i=0,r=[],o=[],a={},s=function(n,i){var a=o.length-1,s=[],l=e.spawn();while(o[a].x!=n||o[a].y!=i)s.push(o.pop().edge),a--;s.push(o.pop().edge),s.forEach((function(n){var i=n.connectedNodes().intersection(e);l.merge(n),i.forEach((function(n){var i=n.id(),r=n.connectedEdges().intersection(e);l.merge(n),t[i].cutVertex?l.merge(r.filter((function(e){return e.isLoop()}))):l.merge(r)}))})),r.push(l)},l=function l(u,c,h){u===h&&(i+=1),t[c]={id:n,low:n++,cutVertex:!1};var d,f,p,g,m=e.getElementById(c).connectedEdges().intersection(e);0===m.size()?r.push(e.spawn(e.getElementById(c))):m.forEach((function(e){d=e.source().id(),f=e.target().id(),p=d===c?f:d,p!==h&&(g=e.id(),a[g]||(a[g]=!0,o.push({x:c,y:p,edge:e})),p in t?t[c].low=Math.min(t[c].low,t[p].id):(l(u,p,c),t[c].low=Math.min(t[c].low,t[p].low),t[c].id<=t[p].low&&(t[c].cutVertex=!0,s(c,p))))}))};e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||(i=0,l(n,n),t[n].cutVertex=i>1)}}));var u=Object.keys(t).filter((function(e){return t[e].cutVertex})).map((function(t){return e.getElementById(t)}));return{cut:e.spawn(u),components:r}},Zi={hopcroftTarjanBiconnected:Xi,htbc:Xi,htb:Xi,hopcroftTarjanBiconnectedComponents:Xi},Ki=function(){var e=this,t={},n=0,i=[],r=[],o=e.spawn(e),a=function a(s){r.push(s),t[s]={index:n,low:n++,explored:!1};var l=e.getElementById(s).connectedEdges().intersection(e);if(l.forEach((function(e){var n=e.target().id();n!==s&&(n in t||a(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))})),t[s].index===t[s].low){for(var u=e.spawn();;){var c=r.pop();if(u.merge(e.getElementById(c)),t[c].low=t[s].index,t[c].explored=!0,c===s)break}var h=u.edgesWith(u),d=u.merge(h);i.push(d),o=o.difference(d)}};return e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||a(n)}})),{cut:o,components:i}},Qi={tarjanStronglyConnected:Ki,tsc:Ki,tscc:Ki,tarjanStronglyConnectedComponents:Ki},Ji={};[pt,mt,vt,bt,_t,Ct,Tt,Nn,zn,Bn,jn,ti,Ei,zi,qi,Yi,Zi,Qi].forEach((function(e){he(Ji,e)}));
/*!
Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable
Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com)
Licensed under The MIT License (http://opensource.org/licenses/MIT)
*/var er=0,tr=1,nr=2,ir=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=er,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"===typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};ir.prototype={fulfill:function(e){return rr(this,tr,"fulfillValue",e)},reject:function(e){return rr(this,nr,"rejectReason",e)},then:function(e,t){var n=this,i=new ir;return n.onFulfilled.push(sr(e,i,"fulfill")),n.onRejected.push(sr(t,i,"reject")),or(n),i.proxy}};var rr=function(e,t,n,i){return e.state===er&&(e.state=t,e[n]=i,or(e)),e},or=function(e){e.state===tr?ar(e,"onFulfilled",e.fulfillValue):e.state===nr&&ar(e,"onRejected",e.rejectReason)},ar=function(e,t,n){if(0!==e[t].length){var i=e[t];e[t]=[];var r=function(){for(var e=0;e<i.length;e++)i[e](n)};"function"===typeof setImmediate?setImmediate(r):setTimeout(r,0)}},sr=function(e,t,n){return function(i){if("function"!==typeof e)t[n].call(t,i);else{var r;try{r=e(i)}catch(o){return void t.reject(o)}lr(t,r)}}},lr=function e(t,n){if(t!==n&&t.proxy!==n){var i;if("object"===p(n)&&null!==n||"function"===typeof n)try{i=n.then}catch(o){return void t.reject(o)}if("function"!==typeof i)t.fulfill(n);else{var r=!1;try{i.call(n,(function(i){r||(r=!0,i===n?t.reject(new TypeError("circular thenable chain")):e(t,i))}),(function(e){r||(r=!0,t.reject(e))}))}catch(o){r||t.reject(o)}}}else t.reject(new TypeError("cannot resolve promise with itself"))};ir.all=function(e){return new ir((function(t,n){for(var i=new Array(e.length),r=0,o=function(n,o){i[n]=o,r++,r===e.length&&t(i)},a=0;a<e.length;a++)(function(t){var i=e[t],r=null!=i&&null!=i.then;if(r)i.then((function(e){o(t,e)}),(function(e){n(e)}));else{var a=i;o(t,a)}})(a)}))},ir.resolve=function(e){return new ir((function(t,n){t(e)}))},ir.reject=function(e){return new ir((function(t,n){n(e)}))};var ur="undefined"!==typeof Promise?Promise:ir,cr=function(e,t,n){var i=H(e),r=!i,o=this._private=he({duration:1e3},t,n);if(o.target=e,o.style=o.style||o.css,o.started=!1,o.playing=!1,o.hooked=!1,o.applying=!1,o.progress=0,o.completes=[],o.frames=[],o.complete&&A(o.complete)&&o.completes.push(o.complete),r){var a=e.position();o.startPosition=o.startPosition||{x:a.x,y:a.y},o.startStyle=o.startStyle||e.cy().style().getAnimationStartStyle(e,o.style)}if(i){var s=e.pan();o.startPan={x:s.x,y:s.y},o.startZoom=e.zoom()}this.length=1,this[0]=this},hr=cr.prototype;he(hr,{instanceString:function(){return"animation"},hook:function(){var e=this._private;if(!e.hooked){var t,n=e.target._private.animation;t=e.queue?n.queue:n.current,t.push(this),F(e.target)&&e.target.cy().addToAnimationPool(e.target),e.hooked=!0}return this},play:function(){var e=this._private;return 1===e.progress&&(e.progress=0),e.playing=!0,e.started=!1,e.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var e=this._private;return e.applying=!0,e.started=!1,e.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var e=this._private;return e.playing=!1,e.started=!1,this},stop:function(){var e=this._private;return e.playing=!1,e.started=!1,e.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(e){var t=this._private;return void 0===e?t.progress*t.duration:this.progress(e/t.duration)},progress:function(e){var t=this._private,n=t.playing;return void 0===e?t.progress:(n&&this.pause(),t.progress=e,t.started=!1,n&&this.play(),this)},completed:function(){return 1===this._private.progress},reverse:function(){var e=this._private,t=e.playing;t&&this.pause(),e.progress=1-e.progress,e.started=!1;var n=function(t,n){var i=e[t];null!=i&&(e[t]=e[n],e[n]=i)};if(n("zoom","startZoom"),n("pan","startPan"),n("position","startPosition"),e.style)for(var i=0;i<e.style.length;i++){var r=e.style[i],o=r.name,a=e.startStyle[o];e.startStyle[o]=r,e.style[i]=a}return t&&this.play(),this},promise:function(e){var t,n=this._private;switch(e){case"frame":t=n.frames;break;default:case"complete":case"completed":t=n.completes}return new ur((function(e,n){t.push((function(){e()}))}))}}),hr.complete=hr.completed,hr.run=hr.play,hr.running=hr.playing;var dr={animated:function(){return function(){var e=this,t=void 0!==e.length,n=t?e:[e],i=this._private.cy||this;if(!i.styleEnabled())return!1;var r=n[0];return r?r._private.animation.current.length>0:void 0}},clearQueue:function(){return function(){var e=this,t=void 0!==e.length,n=t?e:[e],i=this._private.cy||this;if(!i.styleEnabled())return this;for(var r=0;r<n.length;r++){var o=n[r];o._private.animation.queue=[]}return this}},delay:function(){return function(e,t){var n=this._private.cy||this;return n.styleEnabled()?this.animate({delay:e,duration:e,complete:t}):this}},delayAnimation:function(){return function(e,t){var n=this._private.cy||this;return n.styleEnabled()?this.animation({delay:e,duration:e,complete:t}):this}},animation:function(){return function(e,t){var n=this,i=void 0!==n.length,r=i?n:[n],o=this._private.cy||this,a=!i,s=!a;if(!o.styleEnabled())return this;var l=o.style();e=he({},e,t);var u=0===Object.keys(e).length;if(u)return new cr(r[0],e);switch(void 0===e.duration&&(e.duration=400),e.duration){case"slow":e.duration=600;break;case"fast":e.duration=200;break}if(s&&(e.style=l.getPropsList(e.style||e.css),e.css=void 0),s&&null!=e.renderedPosition){var c=e.renderedPosition,h=o.pan(),d=o.zoom();e.position=Pt(c,d,h)}if(a&&null!=e.panBy){var f=e.panBy,p=o.pan();e.pan={x:p.x+f.x,y:p.y+f.y}}var g=e.center||e.centre;if(a&&null!=g){var m=o.getCenterPan(g.eles,e.zoom);null!=m&&(e.pan=m)}if(a&&null!=e.fit){var v=e.fit,y=o.getFitViewport(v.eles||v.boundingBox,v.padding);null!=y&&(e.pan=y.pan,e.zoom=y.zoom)}if(a&&N(e.zoom)){var b=o.getZoomedViewport(e.zoom);null!=b?(b.zoomed&&(e.zoom=b.zoom),b.panned&&(e.pan=b.pan)):e.zoom=null}return new cr(r[0],e)}},animate:function(){return function(e,t){var n=this,i=void 0!==n.length,r=i?n:[n],o=this._private.cy||this;if(!o.styleEnabled())return this;t&&(e=he({},e,t));for(var a=0;a<r.length;a++){var s=r[a],l=s.animated()&&(void 0===e.queue||e.queue),u=s.animation(e,l?{queue:!0}:void 0);u.play()}return this}},stop:function(){return function(e,t){var n=this,i=void 0!==n.length,r=i?n:[n],o=this._private.cy||this;if(!o.styleEnabled())return this;for(var a=0;a<r.length;a++){for(var s=r[a],l=s._private,u=l.animation.current,c=0;c<u.length;c++){var h=u[c],d=h._private;t&&(d.duration=0)}e&&(l.animation.queue=[]),t||(l.animation.current=[])}return o.notify("draw"),this}}},fr={data:function(e){var t={field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(e){},beforeSet:function(e,t){},onSet:function(e){},canSet:function(e){return!0}};return e=he({},t,e),function(t,n){var i=e,r=this,o=void 0!==r.length,a=o?r:[r],s=o?r[0]:r;if(I(t)){var l,u=-1!==t.indexOf("."),c=u&&f["default"](t);if(i.allowGetting&&void 0===n)return s&&(i.beforeGet(s),l=c&&void 0===s._private[i.field][t]?h["default"](s._private[i.field],c):s._private[i.field][t]),l;if(i.allowSetting&&void 0!==n){var p=!i.immutableKeys[t];if(p){var g=y({},t,n);i.beforeSet(r,g);for(var m=0,v=a.length;m<v;m++){var b=a[m];i.canSet(b)&&(c&&void 0===s._private[i.field][t]?d["default"](b._private[i.field],c,n):b._private[i.field][t]=n)}i.updateStyle&&r.updateStyle(),i.onSet(r),i.settingTriggersEvent&&r[i.triggerFnName](i.settingEvent)}}}else if(i.allowSetting&&N(t)){var x,_,w=t,C=Object.keys(w);i.beforeSet(r,w);for(var S=0;S<C.length;S++){x=C[S],_=w[x];var k=!i.immutableKeys[x];if(k)for(var M=0;M<a.length;M++){var T=a[M];i.canSet(T)&&(T._private[i.field][x]=_)}}i.updateStyle&&r.updateStyle(),i.onSet(r),i.settingTriggersEvent&&r[i.triggerFnName](i.settingEvent)}else if(i.allowBinding&&A(t)){var E=t;r.on(i.bindingEvent,E)}else if(i.allowGetting&&void 0===t){var D;return s&&(i.beforeGet(s),D=s._private[i.field]),D}return r}},removeData:function(e){var t={field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}};return e=he({},t,e),function(t){var n=e,i=this,r=void 0!==i.length,o=r?i:[i];if(I(t)){for(var a=t.split(/\s+/),s=a.length,l=0;l<s;l++){var u=a[l];if(!q(u)){var c=!n.immutableKeys[u];if(c)for(var h=0,d=o.length;h<d;h++)o[h]._private[n.field][u]=void 0}}n.triggerEvent&&i[n.triggerFnName](n.event)}else if(void 0===t){for(var f=0,p=o.length;f<p;f++)for(var g=o[f]._private[n.field],m=Object.keys(g),v=0;v<m.length;v++){var y=m[v],b=!n.immutableKeys[y];b&&(g[y]=void 0)}n.triggerEvent&&i[n.triggerFnName](n.event)}return i}}},pr={eventAliasesOn:function(e){var t=e;t.addListener=t.listen=t.bind=t.on,t.unlisten=t.unbind=t.off=t.removeListener,t.trigger=t.emit,t.pon=t.promiseOn=function(e,t){var n=this,i=Array.prototype.slice.call(arguments,0);return new ur((function(e,t){var r=function(t){n.off.apply(n,a),e(t)},o=i.concat([r]),a=o.concat([]);n.on.apply(n,o)}))}}},gr={};[dr,fr,pr].forEach((function(e){he(gr,e)}));var mr={animate:gr.animate(),animation:gr.animation(),animated:gr.animated(),clearQueue:gr.clearQueue(),delay:gr.delay(),delayAnimation:gr.delayAnimation(),stop:gr.stop()},vr={classes:function(e){var t=this;if(void 0===e){var n=[];return t[0]._private.classes.forEach((function(e){return n.push(e)})),n}L(e)||(e=(e||"").match(/\S+/g)||[]);for(var i=[],r=new ht(e),o=0;o<t.length;o++){for(var a=t[o],s=a._private,l=s.classes,u=!1,c=0;c<e.length;c++){var h=e[c],d=l.has(h);if(!d){u=!0;break}}u||(u=l.size!==e.length),u&&(s.classes=r,i.push(a))}return i.length>0&&this.spawn(i).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){L(e)||(e=e.match(/\S+/g)||[]);for(var n=this,i=void 0===t,r=[],o=0,a=n.length;o<a;o++)for(var s=n[o],l=s._private.classes,u=!1,c=0;c<e.length;c++){var h=e[c],d=l.has(h),f=!1;t||i&&!d?(l.add(h),f=!0):(!t||i&&d)&&(l["delete"](h),f=!0),!u&&f&&(r.push(s),u=!0)}return r.length>0&&this.spawn(r).updateStyle().emit("class"),n},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout((function(){n.removeClass(e)}),t),n}};vr.className=vr.classNames=vr.classes;var yr={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:ne,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};yr.variable="(?:[\\w-.]|(?:\\\\"+yr.metaChar+"))+",yr.className="(?:[\\w-]|(?:\\\\"+yr.metaChar+"))+",yr.value=yr.string+"|"+yr.number,yr.id=yr.variable,function(){var e,t,n;for(e=yr.comparatorOp.split("|"),n=0;n<e.length;n++)t=e[n],yr.comparatorOp+="|@"+t;for(e=yr.comparatorOp.split("|"),n=0;n<e.length;n++)t=e[n],t.indexOf("!")>=0||"="!==t&&(yr.comparatorOp+="|\\!"+t)}();var br=function(){return{checks:[]}},xr={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},_r=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort((function(e,t){return ce(e.selector,t.selector)})),wr=function(){for(var e,t={},n=0;n<_r.length;n++)e=_r[n],t[e.selector]=e.matches;return t}(),Cr=function(e,t){return wr[e](t)},Sr="("+_r.map((function(e){return e.selector})).join("|")+")",kr=function(e){return e.replace(new RegExp("\\\\("+yr.metaChar+")","g"),(function(e,t){return t}))},Mr=function(e,t,n){e[e.length-1]=n},Tr=[{name:"group",query:!0,regex:"("+yr.group+")",populate:function(e,t,n){var i=b(n,1),r=i[0];t.checks.push({type:xr.GROUP,value:"*"===r?r:r+"s"})}},{name:"state",query:!0,regex:Sr,populate:function(e,t,n){var i=b(n,1),r=i[0];t.checks.push({type:xr.STATE,value:r})}},{name:"id",query:!0,regex:"\\#("+yr.id+")",populate:function(e,t,n){var i=b(n,1),r=i[0];t.checks.push({type:xr.ID,value:kr(r)})}},{name:"className",query:!0,regex:"\\.("+yr.className+")",populate:function(e,t,n){var i=b(n,1),r=i[0];t.checks.push({type:xr.CLASS,value:kr(r)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+yr.variable+")\\s*\\]",populate:function(e,t,n){var i=b(n,1),r=i[0];t.checks.push({type:xr.DATA_EXIST,field:kr(r)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+yr.variable+")\\s*("+yr.comparatorOp+")\\s*("+yr.value+")\\s*\\]",populate:function(e,t,n){var i=b(n,3),r=i[0],o=i[1],a=i[2],s=null!=new RegExp("^"+yr.string+"$").exec(a);a=s?a.substring(1,a.length-1):parseFloat(a),t.checks.push({type:xr.DATA_COMPARE,field:kr(r),operator:o,value:a})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+yr.boolOp+")\\s*("+yr.variable+")\\s*\\]",populate:function(e,t,n){var i=b(n,2),r=i[0],o=i[1];t.checks.push({type:xr.DATA_BOOL,field:kr(o),operator:r})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+yr.meta+")\\s*("+yr.comparatorOp+")\\s*("+yr.number+")\\s*\\]\\]",populate:function(e,t,n){var i=b(n,3),r=i[0],o=i[1],a=i[2];t.checks.push({type:xr.META_COMPARE,field:kr(r),operator:o,value:parseFloat(a)})}},{name:"nextQuery",separator:!0,regex:yr.separator,populate:function(e,t){var n=e.currentSubject,i=e.edgeCount,r=e.compoundCount,o=e[e.length-1];null!=n&&(o.subject=n,e.currentSubject=null),o.edgeCount=i,o.compoundCount=r,e.edgeCount=0,e.compoundCount=0;var a=e[e.length++]=br();return a}},{name:"directedEdge",separator:!0,regex:yr.directedEdge,populate:function(e,t){if(null==e.currentSubject){var n=br(),i=t,r=br();return n.checks.push({type:xr.DIRECTED_EDGE,source:i,target:r}),Mr(e,t,n),e.edgeCount++,r}var o=br(),a=t,s=br();return o.checks.push({type:xr.NODE_SOURCE,source:a,target:s}),Mr(e,t,o),e.edgeCount++,s}},{name:"undirectedEdge",separator:!0,regex:yr.undirectedEdge,populate:function(e,t){if(null==e.currentSubject){var n=br(),i=t,r=br();return n.checks.push({type:xr.UNDIRECTED_EDGE,nodes:[i,r]}),Mr(e,t,n),e.edgeCount++,r}var o=br(),a=t,s=br();return o.checks.push({type:xr.NODE_NEIGHBOR,node:a,neighbor:s}),Mr(e,t,o),s}},{name:"child",separator:!0,regex:yr.child,populate:function(e,t){if(null==e.currentSubject){var n=br(),i=br(),r=e[e.length-1];return n.checks.push({type:xr.CHILD,parent:r,child:i}),Mr(e,t,n),e.compoundCount++,i}if(e.currentSubject===t){var o=br(),a=e[e.length-1],s=br(),l=br(),u=br(),c=br();return o.checks.push({type:xr.COMPOUND_SPLIT,left:a,right:s,subject:l}),l.checks=t.checks,t.checks=[{type:xr.TRUE}],c.checks.push({type:xr.TRUE}),s.checks.push({type:xr.PARENT,parent:c,child:u}),Mr(e,a,o),e.currentSubject=l,e.compoundCount++,u}var h=br(),d=br(),f=[{type:xr.PARENT,parent:h,child:d}];return h.checks=t.checks,t.checks=f,e.compoundCount++,d}},{name:"descendant",separator:!0,regex:yr.descendant,populate:function(e,t){if(null==e.currentSubject){var n=br(),i=br(),r=e[e.length-1];return n.checks.push({type:xr.DESCENDANT,ancestor:r,descendant:i}),Mr(e,t,n),e.compoundCount++,i}if(e.currentSubject===t){var o=br(),a=e[e.length-1],s=br(),l=br(),u=br(),c=br();return o.checks.push({type:xr.COMPOUND_SPLIT,left:a,right:s,subject:l}),l.checks=t.checks,t.checks=[{type:xr.TRUE}],c.checks.push({type:xr.TRUE}),s.checks.push({type:xr.ANCESTOR,ancestor:c,descendant:u}),Mr(e,a,o),e.currentSubject=l,e.compoundCount++,u}var h=br(),d=br(),f=[{type:xr.ANCESTOR,ancestor:h,descendant:d}];return h.checks=t.checks,t.checks=f,e.compoundCount++,d}},{name:"subject",modifier:!0,regex:yr.subject,populate:function(e,t){if(null!=e.currentSubject&&e.currentSubject!==t)return Ye("Redefinition of subject in selector `"+e.toString()+"`"),!1;e.currentSubject=t;var n=e[e.length-1],i=n.checks[0],r=null==i?null:i.type;r===xr.DIRECTED_EDGE?i.type=xr.NODE_TARGET:r===xr.UNDIRECTED_EDGE&&(i.type=xr.NODE_NEIGHBOR,i.node=i.nodes[1],i.neighbor=i.nodes[0],i.nodes=null)}}];Tr.forEach((function(e){return e.regexObj=new RegExp("^"+e.regex)}));var Er=function(e){for(var t,n,i,r=0;r<Tr.length;r++){var o=Tr[r],a=o.name,s=e.match(o.regexObj);if(null!=s){n=s,t=o,i=a;var l=s[0];e=e.substring(l.length);break}}return{expr:t,match:n,name:i,remaining:e}},Dr=function(e){var t=e.match(/^\s+/);if(t){var n=t[0];e=e.substring(n.length)}return e},Pr=function(e){var t=this,n=t.inputText=e,i=t[0]=br();for(t.length=1,n=Dr(n);;){var r=Er(n);if(null==r.expr)return Ye("The selector `"+e+"`is invalid"),!1;var o=r.match.slice(1),a=r.expr.populate(t,i,o);if(!1===a)return!1;if(null!=a&&(i=a),n=r.remaining,n.match(/^\s*$/))break}var s=t[t.length-1];null!=t.currentSubject&&(s.subject=t.currentSubject),s.edgeCount=t.edgeCount,s.compoundCount=t.compoundCount;for(var l=0;l<t.length;l++){var u=t[l];if(u.compoundCount>0&&u.edgeCount>0)return Ye("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return Ye("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&Ye("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},Or=function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return I(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},i=function(i,o){var a=i.type,s=i.value;switch(a){case xr.GROUP:var l=e(s);return l.substring(0,l.length-1);case xr.DATA_COMPARE:var u=i.field,c=i.operator;return"["+u+n(e(c))+t(s)+"]";case xr.DATA_BOOL:var h=i.operator,d=i.field;return"["+e(h)+d+"]";case xr.DATA_EXIST:var f=i.field;return"["+f+"]";case xr.META_COMPARE:var p=i.operator,g=i.field;return"[["+g+n(e(p))+t(s)+"]]";case xr.STATE:return s;case xr.ID:return"#"+s;case xr.CLASS:return"."+s;case xr.PARENT:case xr.CHILD:return r(i.parent,o)+n(">")+r(i.child,o);case xr.ANCESTOR:case xr.DESCENDANT:return r(i.ancestor,o)+" "+r(i.descendant,o);case xr.COMPOUND_SPLIT:var m=r(i.left,o),v=r(i.subject,o),y=r(i.right,o);return m+(m.length>0?" ":"")+v+y;case xr.TRUE:return""}},r=function(e,t){return e.checks.reduce((function(n,r,o){return n+(t===e&&0===o?"$":"")+i(r,t)}),"")},o="",a=0;a<this.length;a++){var s=this[a];o+=r(s,s.subject),this.length>1&&a<this.length-1&&(o+=", ")}return this.toStringCache=o,o},Ir={parse:Pr,toString:Or},Ar=function(e,t,n){var i,r,o,a=I(e),s=z(e),l=I(n),u=!1,c=!1,h=!1;switch(t.indexOf("!")>=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(a||l||u)&&(r=a||s?""+e:"",o=""+n),u&&(e=r=r.toLowerCase(),n=o=o.toLowerCase()),t){case"*=":i=r.indexOf(o)>=0;break;case"$=":i=r.indexOf(o,r.length-o.length)>=0;break;case"^=":i=0===r.indexOf(o);break;case"=":i=e===n;break;case">":h=!0,i=e>n;break;case">=":h=!0,i=e>=n;break;case"<":h=!0,i=e<n;break;case"<=":h=!0,i=e<=n;break;default:i=!1;break}return!c||null==e&&h||(i=!i),i},Lr=function(e,t){switch(t){case"?":return!!e;case"!":return!e;case"^":return void 0===e}},Nr=function(e){return void 0!==e},Rr=function(e,t){return e.data(t)},zr=function(e,t){return e[t]()},$r=[],Br=function(e,t){return e.checks.every((function(e){return $r[e.type](e,t)}))};$r[xr.GROUP]=function(e,t){var n=e.value;return"*"===n||n===t.group()},$r[xr.STATE]=function(e,t){var n=e.value;return Cr(n,t)},$r[xr.ID]=function(e,t){var n=e.value;return t.id()===n},$r[xr.CLASS]=function(e,t){var n=e.value;return t.hasClass(n)},$r[xr.META_COMPARE]=function(e,t){var n=e.field,i=e.operator,r=e.value;return Ar(zr(t,n),i,r)},$r[xr.DATA_COMPARE]=function(e,t){var n=e.field,i=e.operator,r=e.value;return Ar(Rr(t,n),i,r)},$r[xr.DATA_BOOL]=function(e,t){var n=e.field,i=e.operator;return Lr(Rr(t,n),i)},$r[xr.DATA_EXIST]=function(e,t){var n=e.field;return e.operator,Nr(Rr(t,n))},$r[xr.UNDIRECTED_EDGE]=function(e,t){var n=e.nodes[0],i=e.nodes[1],r=t.source(),o=t.target();return Br(n,r)&&Br(i,o)||Br(i,r)&&Br(n,o)},$r[xr.NODE_NEIGHBOR]=function(e,t){return Br(e.node,t)&&t.neighborhood().some((function(t){return t.isNode()&&Br(e.neighbor,t)}))},$r[xr.DIRECTED_EDGE]=function(e,t){return Br(e.source,t.source())&&Br(e.target,t.target())},$r[xr.NODE_SOURCE]=function(e,t){return Br(e.source,t)&&t.outgoers().some((function(t){return t.isNode()&&Br(e.target,t)}))},$r[xr.NODE_TARGET]=function(e,t){return Br(e.target,t)&&t.incomers().some((function(t){return t.isNode()&&Br(e.source,t)}))},$r[xr.CHILD]=function(e,t){return Br(e.child,t)&&Br(e.parent,t.parent())},$r[xr.PARENT]=function(e,t){return Br(e.parent,t)&&t.children().some((function(t){return Br(e.child,t)}))},$r[xr.DESCENDANT]=function(e,t){return Br(e.descendant,t)&&t.ancestors().some((function(t){return Br(e.ancestor,t)}))},$r[xr.ANCESTOR]=function(e,t){return Br(e.ancestor,t)&&t.descendants().some((function(t){return Br(e.descendant,t)}))},$r[xr.COMPOUND_SPLIT]=function(e,t){return Br(e.subject,t)&&Br(e.left,t)&&Br(e.right,t)},$r[xr.TRUE]=function(){return!0},$r[xr.COLLECTION]=function(e,t){var n=e.value;return n.has(t)},$r[xr.FILTER]=function(e,t){var n=e.value;return n(t)};var Fr=function(e){var t=this;if(1===t.length&&1===t[0].checks.length&&t[0].checks[0].type===xr.ID)return e.getElementById(t[0].checks[0].value).collection();var n=function(e){for(var n=0;n<t.length;n++){var i=t[n];if(Br(i,e))return!0}return!1};return null==t.text()&&(n=function(){return!0}),e.filter(n)},jr=function(e){for(var t=this,n=0;n<t.length;n++){var i=t[n];if(Br(i,e))return!0}return!1},Vr={matches:jr,filter:Fr},Hr=function(e){this.inputText=e,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,null==e||I(e)&&e.match(/^\s*$/)||(F(e)?this.addQuery({checks:[{type:xr.COLLECTION,value:e.collection()}]}):A(e)?this.addQuery({checks:[{type:xr.FILTER,value:e}]}):I(e)?this.parse(e)||(this.invalid=!0):qe("A selector must be created from a string; found "))},Wr=Hr.prototype;[Ir,Vr].forEach((function(e){return he(Wr,e)})),Wr.text=function(){return this.inputText},Wr.size=function(){return this.length},Wr.eq=function(e){return this[e]},Wr.sameText=function(e){return!this.invalid&&!e.invalid&&this.text()===e.text()},Wr.addQuery=function(e){this[this.length++]=e},Wr.selector=Wr.toString;var Gr={allAre:function(e){var t=new Hr(e);return this.every((function(e){return t.matches(e)}))},is:function(e){var t=new Hr(e);return this.some((function(e){return t.matches(e)}))},some:function(e,t){for(var n=0;n<this.length;n++){var i=t?e.apply(t,[this[n],n,this]):e(this[n],n,this);if(i)return!0}return!1},every:function(e,t){for(var n=0;n<this.length;n++){var i=t?e.apply(t,[this[n],n,this]):e(this[n],n,this);if(!i)return!1}return!0},same:function(e){if(this===e)return!0;e=this.cy().collection(e);var t=this.length,n=e.length;return t===n&&(1===t?this[0]===e[0]:this.every((function(t){return e.hasElementWithId(t.id())})))},anySame:function(e){return e=this.cy().collection(e),this.some((function(t){return e.hasElementWithId(t.id())}))},allAreNeighbors:function(e){e=this.cy().collection(e);var t=this.neighborhood();return e.every((function(e){return t.hasElementWithId(e.id())}))},contains:function(e){e=this.cy().collection(e);var t=this;return e.every((function(e){return t.hasElementWithId(e.id())}))}};Gr.allAreNeighbours=Gr.allAreNeighbors,Gr.has=Gr.contains,Gr.equal=Gr.equals=Gr.same;var qr,Ur,Yr=function(e,t){return function(n,i,r,o){var a,s=n,l=this;if(null==s?a="":F(s)&&1===s.length&&(a=s.id()),1===l.length&&a){var u=l[0]._private,c=u.traversalCache=u.traversalCache||{},h=c[t]=c[t]||[],d=Ne(a),f=h[d];return f||(h[d]=e.call(l,n,i,r,o))}return e.call(l,n,i,r,o)}},Xr={parent:function(e){var t=[];if(1===this.length){var n=this[0]._private.parent;if(n)return n}for(var i=0;i<this.length;i++){var r=this[i],o=r._private.parent;o&&t.push(o)}return this.spawn(t,!0).filter(e)},parents:function(e){var t=[],n=this.parent();while(n.nonempty()){for(var i=0;i<n.length;i++){var r=n[i];t.push(r)}n=n.parent()}return this.spawn(t,!0).filter(e)},commonAncestors:function(e){for(var t,n=0;n<this.length;n++){var i=this[n],r=i.parents();t=t||r,t=t.intersect(r)}return t.filter(e)},orphans:function(e){return this.stdFilter((function(e){return e.isOrphan()})).filter(e)},nonorphans:function(e){return this.stdFilter((function(e){return e.isChild()})).filter(e)},children:Yr((function(e){for(var t=[],n=0;n<this.length;n++)for(var i=this[n],r=i._private.children,o=0;o<r.length;o++)t.push(r[o]);return this.spawn(t,!0).filter(e)}),"children"),siblings:function(e){return this.parent().children().not(this).filter(e)},isParent:function(){var e=this[0];if(e)return e.isNode()&&0!==e._private.children.length},isChildless:function(){var e=this[0];if(e)return e.isNode()&&0===e._private.children.length},isChild:function(){var e=this[0];if(e)return e.isNode()&&null!=e._private.parent},isOrphan:function(){var e=this[0];if(e)return e.isNode()&&null==e._private.parent},descendants:function(e){var t=[];function n(e){for(var i=0;i<e.length;i++){var r=e[i];t.push(r),r.children().nonempty()&&n(r.children())}}return n(this.children()),this.spawn(t,!0).filter(e)}};function Zr(e,t,n,i){for(var r=[],o=new ht,a=e.cy(),s=a.hasCompoundNodes(),l=0;l<e.length;l++){var u=e[l];n?r.push(u):s&&i(r,o,u)}while(r.length>0){var c=r.shift();t(c),o.add(c.id()),s&&i(r,o,c)}return e}function Kr(e,t,n){if(n.isParent())for(var i=n._private.children,r=0;r<i.length;r++){var o=i[r];t.has(o.id())||e.push(o)}}function Qr(e,t,n){if(n.isChild()){var i=n._private.parent;t.has(i.id())||e.push(i)}}function Jr(e,t,n){Qr(e,t,n),Kr(e,t,n)}Xr.forEachDown=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Zr(this,e,t,Kr)},Xr.forEachUp=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Zr(this,e,t,Qr)},Xr.forEachUpAndDown=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Zr(this,e,t,Jr)},Xr.ancestors=Xr.parents,qr=Ur={data:gr.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:gr.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:gr.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:gr.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:gr.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:gr.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}},qr.attr=qr.data,qr.removeAttr=qr.removeData;var eo,to,no=Ur,io={};function ro(e){return function(t){var n=this;if(void 0===t&&(t=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var i=0,r=n[0],o=r._private.edges,a=0;a<o.length;a++){var s=o[a];!t&&s.isLoop()||(i+=e(r,s))}return i}}}function oo(e,t){return function(n){for(var i,r=this.nodes(),o=0;o<r.length;o++){var a=r[o],s=a[e](n);void 0===s||void 0!==i&&!t(s,i)||(i=s)}return i}}he(io,{degree:ro((function(e,t){return t.source().same(t.target())?2:1})),indegree:ro((function(e,t){return t.target().same(e)?1:0})),outdegree:ro((function(e,t){return t.source().same(e)?1:0}))}),he(io,{minDegree:oo("degree",(function(e,t){return e<t})),maxDegree:oo("degree",(function(e,t){return e>t})),minIndegree:oo("indegree",(function(e,t){return e<t})),maxIndegree:oo("indegree",(function(e,t){return e>t})),minOutdegree:oo("outdegree",(function(e,t){return e<t})),maxOutdegree:oo("outdegree",(function(e,t){return e>t}))}),he(io,{totalDegree:function(e){for(var t=0,n=this.nodes(),i=0;i<n.length;i++)t+=n[i].degree(e);return t}});var ao=function(e,t,n){for(var i=0;i<e.length;i++){var r=e[i];if(!r.locked()){var o=r._private.position,a={x:null!=t.x?t.x-o.x:0,y:null!=t.y?t.y-o.y:0};!r.isParent()||0===a.x&&0===a.y||r.children().shift(a,n),r.dirtyBoundingBoxCache()}}},so={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(e){e.updateCompoundBounds()},beforeSet:function(e,t){ao(e,t,!1)},onSet:function(e){e.dirtyCompoundBoundsCache()},canSet:function(e){return!e.locked()}};eo=to={position:gr.data(so),silentPosition:gr.data(he({},so,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(e,t){ao(e,t,!0)},onSet:function(e){e.dirtyCompoundBoundsCache()}})),positions:function(e,t){if(N(e))t?this.silentPosition(e):this.position(e);else if(A(e)){var n=e,i=this.cy();i.startBatch();for(var r=0;r<this.length;r++){var o=this[r],a=void 0;(a=n(o,r))&&(t?o.silentPosition(a):o.position(a))}i.endBatch()}return this},silentPositions:function(e){return this.positions(e,!0)},shift:function(e,t,n){var i;if(N(e)?(i={x:z(e.x)?e.x:0,y:z(e.y)?e.y:0},n=t):I(e)&&z(t)&&(i={x:0,y:0},i[e]=t),null!=i){var r=this.cy();r.startBatch();for(var o=0;o<this.length;o++){var a=this[o];if(!(r.hasCompoundNodes()&&a.isChild()&&a.ancestors().anySame(this))){var s=a.position(),l={x:s.x+i.x,y:s.y+i.y};n?a.silentPosition(l):a.position(l)}}r.endBatch()}return this},silentShift:function(e,t){return N(e)?this.shift(e,!0):I(e)&&z(t)&&this.shift(e,t,!0),this},renderedPosition:function(e,t){var n=this[0],i=this.cy(),r=i.zoom(),o=i.pan(),a=N(e)?e:void 0,s=void 0!==a||void 0!==t&&I(e);if(n&&n.isNode()){if(!s){var l=n.position();return a=Dt(l,r,o),void 0===e?a:a[e]}for(var u=0;u<this.length;u++){var c=this[u];void 0!==t?c.position(e,(t-o[e])/r):void 0!==a&&c.position(Pt(a,r,o))}}else if(!s)return;return this},relativePosition:function(e,t){var n=this[0],i=this.cy(),r=N(e)?e:void 0,o=void 0!==r||void 0!==t&&I(e),a=i.hasCompoundNodes();if(n&&n.isNode()){if(!o){var s=n.position(),l=a?n.parent():null,u=l&&l.length>0,c=u;u&&(l=l[0]);var h=c?l.position():{x:0,y:0};return r={x:s.x-h.x,y:s.y-h.y},void 0===e?r:r[e]}for(var d=0;d<this.length;d++){var f=this[d],p=a?f.parent():null,g=p&&p.length>0,m=g;g&&(p=p[0]);var v=m?p.position():{x:0,y:0};void 0!==t?f.position(e,t+v[e]):void 0!==r&&f.position({x:r.x+v.x,y:r.y+v.y})}}else if(!o)return;return this}},eo.modelPosition=eo.point=eo.position,eo.modelPositions=eo.points=eo.positions,eo.renderedPoint=eo.renderedPosition,eo.relativePoint=eo.relativePosition;var lo,uo,co=to;lo=uo={},uo.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),i=n.zoom(),r=n.pan(),o=t.x1*i+r.x,a=t.x2*i+r.x,s=t.y1*i+r.y,l=t.y2*i+r.y;return{x1:o,x2:a,y1:s,y2:l,w:a-o,h:l-s}},uo.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp((function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}})),this):this},uo.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes())return this;if(!e&&t.batching())return this;function n(e){if(e.isParent()){var t=e._private,n=e.children(),i="include"===e.pstyle("compound-sizing-wrt-labels").value,r={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},o=n.boundingBox({includeLabels:i,includeOverlays:!1,useCache:!1}),a=t.position;0!==o.w&&0!==o.h||(o={w:e.pstyle("width").pfValue,h:e.pstyle("height").pfValue},o.x1=a.x-o.w/2,o.x2=a.x+o.w/2,o.y1=a.y-o.h/2,o.y2=a.y+o.h/2);var s=r.width.left.value;"px"===r.width.left.units&&r.width.val>0&&(s=100*s/r.width.val);var l=r.width.right.value;"px"===r.width.right.units&&r.width.val>0&&(l=100*l/r.width.val);var u=r.height.top.value;"px"===r.height.top.units&&r.height.val>0&&(u=100*u/r.height.val);var c=r.height.bottom.value;"px"===r.height.bottom.units&&r.height.val>0&&(c=100*c/r.height.val);var h=v(r.width.val-o.w,s,l),d=h.biasDiff,f=h.biasComplementDiff,p=v(r.height.val-o.h,u,c),g=p.biasDiff,m=p.biasComplementDiff;t.autoPadding=y(o.w,o.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(o.w,r.width.val),a.x=(-d+o.x1+o.x2+f)/2,t.autoHeight=Math.max(o.h,r.height.val),a.y=(-g+o.y1+o.y2+m)/2}function v(e,t,n){var i=0,r=0,o=t+n;return e>0&&o>0&&(i=t/o*e,r=n/o*e),{biasDiff:i,biasComplementDiff:r}}function y(e,t,n,i){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(i){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}}for(var i=0;i<this.length;i++){var r=this[i],o=r._private;o.compoundBoundsClean&&!e||(n(r),t.batching()||(o.compoundBoundsClean=!0))}return this};var ho=function(e){return e===1/0||e===-1/0?0:e},fo=function(e,t,n,i,r){i-t!==0&&r-n!==0&&null!=t&&null!=n&&null!=i&&null!=r&&(e.x1=t<e.x1?t:e.x1,e.x2=i>e.x2?i:e.x2,e.y1=n<e.y1?n:e.y1,e.y2=r>e.y2?r:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},po=function(e,t){return null==t?e:fo(e,t.x1,t.y1,t.x2,t.y2)},go=function(e,t,n){return ot(e,t,n)},mo=function(e,t,n){if(!t.cy().headless()){var i,r,o=t._private,a=o.rstyle,s=a.arrowWidth/2,l=t.pstyle(n+"-arrow-shape").value;if("none"!==l){"source"===n?(i=a.srcX,r=a.srcY):"target"===n?(i=a.tgtX,r=a.tgtY):(i=a.midX,r=a.midY);var u=o.arrowBounds=o.arrowBounds||{},c=u[n]=u[n]||{};c.x1=i-s,c.y1=r-s,c.x2=i+s,c.y2=r+s,c.w=c.x2-c.x1,c.h=c.y2-c.y1,Qt(c,1),fo(e,c.x1,c.y1,c.x2,c.y2)}}},vo=function(e,t,n){if(!t.cy().headless()){var i;i=n?n+"-":"";var r=t._private,o=r.rstyle,a=t.pstyle(i+"label").strValue;if(a){var s,l,u,c,h=t.pstyle("text-halign"),d=t.pstyle("text-valign"),f=go(o,"labelWidth",n),p=go(o,"labelHeight",n),g=go(o,"labelX",n),m=go(o,"labelY",n),v=t.pstyle(i+"text-margin-x").pfValue,y=t.pstyle(i+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle(i+"text-rotation"),_=t.pstyle("text-outline-width").pfValue,w=t.pstyle("text-border-width").pfValue,C=w/2,S=t.pstyle("text-background-padding").pfValue,k=2,M=p,T=f,E=T/2,D=M/2;if(b)s=g-E,l=g+E,u=m-D,c=m+D;else{switch(h.value){case"left":s=g-T,l=g;break;case"center":s=g-E,l=g+E;break;case"right":s=g,l=g+T;break}switch(d.value){case"top":u=m-M,c=m;break;case"center":u=m-D,c=m+D;break;case"bottom":u=m,c=m+M;break}}s+=v-Math.max(_,C)-S-k,l+=v+Math.max(_,C)+S+k,u+=y-Math.max(_,C)-S-k,c+=y+Math.max(_,C)+S+k;var P=n||"main",O=r.labelBounds,I=O[P]=O[P]||{};I.x1=s,I.y1=u,I.x2=l,I.y2=c,I.w=l-s,I.h=c-u;var A=b&&"autorotate"===x.strValue,L=null!=x.pfValue&&0!==x.pfValue;if(A||L){var N=A?go(r.rstyle,"labelAngle",n):x.pfValue,R=Math.cos(N),z=Math.sin(N),$=(s+l)/2,B=(u+c)/2;if(!b){switch(h.value){case"left":$=l;break;case"right":$=s;break}switch(d.value){case"top":B=c;break;case"bottom":B=u;break}}var F=function(e,t){return e-=$,t-=B,{x:e*R-t*z+$,y:e*z+t*R+B}},j=F(s,u),V=F(s,c),H=F(l,u),W=F(l,c);s=Math.min(j.x,V.x,H.x,W.x),l=Math.max(j.x,V.x,H.x,W.x),u=Math.min(j.y,V.y,H.y,W.y),c=Math.max(j.y,V.y,H.y,W.y)}var G=P+"Rot",q=O[G]=O[G]||{};q.x1=s,q.y1=u,q.x2=l,q.y2=c,q.w=l-s,q.h=c-u,fo(e,s,u,l,c),fo(r.labelBounds.all,s,u,l,c)}return e}},yo=function(e,t){var n,i,r,o,a,s,l=e._private.cy,u=l.styleEnabled(),c=l.headless(),h=Ut(),d=e._private,f=e.isNode(),p=e.isEdge(),g=d.rstyle,m=f&&u?e.pstyle("bounds-expansion").pfValue:[0],v=function(e){return"none"!==e.pstyle("display").value},y=!u||v(e)&&(!p||v(e.source())&&v(e.target()));if(y){var b=0,x=0;u&&t.includeOverlays&&(b=e.pstyle("overlay-opacity").value,0!==b&&(x=e.pstyle("overlay-padding").value));var _=0,w=0;u&&t.includeUnderlays&&(_=e.pstyle("underlay-opacity").value,0!==_&&(w=e.pstyle("underlay-padding").value));var C=Math.max(x,w),S=0,k=0;if(u&&(S=e.pstyle("width").pfValue,k=S/2),f&&t.includeNodes){var M=e.position();a=M.x,s=M.y;var T=e.outerWidth(),E=T/2,D=e.outerHeight(),P=D/2;n=a-E,i=a+E,r=s-P,o=s+P,fo(h,n,r,i,o)}else if(p&&t.includeEdges)if(u&&!c){var O=e.pstyle("curve-style").strValue;if(n=Math.min(g.srcX,g.midX,g.tgtX),i=Math.max(g.srcX,g.midX,g.tgtX),r=Math.min(g.srcY,g.midY,g.tgtY),o=Math.max(g.srcY,g.midY,g.tgtY),n-=k,i+=k,r-=k,o+=k,fo(h,n,r,i,o),"haystack"===O){var I=g.haystackPts;if(I&&2===I.length){if(n=I[0].x,r=I[0].y,i=I[1].x,o=I[1].y,n>i){var A=n;n=i,i=A}if(r>o){var L=r;r=o,o=L}fo(h,n-k,r-k,i+k,o+k)}}else if("bezier"===O||"unbundled-bezier"===O||"segments"===O||"taxi"===O){var N;switch(O){case"bezier":case"unbundled-bezier":N=g.bezierPts;break;case"segments":case"taxi":N=g.linePts;break}if(null!=N)for(var R=0;R<N.length;R++){var z=N[R];n=z.x-k,i=z.x+k,r=z.y-k,o=z.y+k,fo(h,n,r,i,o)}}}else{var $=e.source(),B=$.position(),F=e.target(),j=F.position();if(n=B.x,i=j.x,r=B.y,o=j.y,n>i){var V=n;n=i,i=V}if(r>o){var H=r;r=o,o=H}n-=k,i+=k,r-=k,o+=k,fo(h,n,r,i,o)}if(u&&t.includeEdges&&p&&(mo(h,e,"mid-source"),mo(h,e,"mid-target"),mo(h,e,"source"),mo(h,e,"target")),u){var W="yes"===e.pstyle("ghost").value;if(W){var G=e.pstyle("ghost-offset-x").pfValue,q=e.pstyle("ghost-offset-y").pfValue;fo(h,h.x1+G,h.y1+q,h.x2+G,h.y2+q)}}var U=d.bodyBounds=d.bodyBounds||{};en(U,h),Jt(U,m),Qt(U,1),u&&(n=h.x1,i=h.x2,r=h.y1,o=h.y2,fo(h,n-C,r-C,i+C,o+C));var Y=d.overlayBounds=d.overlayBounds||{};en(Y,h),Jt(Y,m),Qt(Y,1);var X=d.labelBounds=d.labelBounds||{};null!=X.all?Xt(X.all):X.all=Ut(),u&&t.includeLabels&&(t.includeMainLabels&&vo(h,e,null),p&&(t.includeSourceLabels&&vo(h,e,"source"),t.includeTargetLabels&&vo(h,e,"target")))}return h.x1=ho(h.x1),h.y1=ho(h.y1),h.x2=ho(h.x2),h.y2=ho(h.y2),h.w=ho(h.x2-h.x1),h.h=ho(h.y2-h.y1),h.w>0&&h.h>0&&y&&(Jt(h,m),Qt(h,1)),h},bo=function(e){var t=0,n=function(e){return(e?1:0)<<t++},i=0;return i+=n(e.incudeNodes),i+=n(e.includeEdges),i+=n(e.includeLabels),i+=n(e.includeMainLabels),i+=n(e.includeSourceLabels),i+=n(e.includeTargetLabels),i+=n(e.includeOverlays),i},xo=function(e){if(e.isEdge()){var t=e.source().position(),n=e.target().position(),i=function(e){return Math.round(e)};return Le([i(t.x),i(t.y),i(n.x),i(n.y)])}return 0},_o=function(e,t){var n,i=e._private,r=e.isEdge(),o=null==t?Co:bo(t),a=o===Co,s=xo(e),l=i.bbCachePosKey===s,u=t.useCache&&l,c=function(e){return null==e._private.bbCache||e._private.styleDirty},h=!u||c(e)||r&&c(e.source())||c(e.target());if(h?(l||e.recalculateRenderedStyle(u),n=yo(e,wo),i.bbCache=n,i.bbCachePosKey=s):n=i.bbCache,!a){var d=e.isNode();n=Ut(),(t.includeNodes&&d||t.includeEdges&&!d)&&(t.includeOverlays?po(n,i.overlayBounds):po(n,i.bodyBounds)),t.includeLabels&&(t.includeMainLabels&&(!r||t.includeSourceLabels&&t.includeTargetLabels)?po(n,i.labelBounds.all):(t.includeMainLabels&&po(n,i.labelBounds.mainRot),t.includeSourceLabels&&po(n,i.labelBounds.sourceRot),t.includeTargetLabels&&po(n,i.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},wo={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},Co=bo(wo),So=tt(wo);uo.boundingBox=function(e){var t;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==e&&void 0!==e.useCache&&!0!==e.useCache){t=Ut(),e=e||wo;var n=So(e),i=this,r=i.cy(),o=r.styleEnabled();if(o)for(var a=0;a<i.length;a++){var s=i[a],l=s._private,u=xo(s),c=l.bbCachePosKey===u,h=n.useCache&&c&&!l.styleDirty;s.recalculateRenderedStyle(h)}this.updateCompoundBounds(!e.useCache);for(var d=0;d<i.length;d++){var f=i[d];po(t,_o(f,n))}}else e=void 0===e?wo:So(e),t=_o(this[0],e);return t.x1=ho(t.x1),t.y1=ho(t.y1),t.x2=ho(t.x2),t.y2=ho(t.y2),t.w=ho(t.x2-t.x1),t.h=ho(t.y2-t.y1),t},uo.dirtyBoundingBoxCache=function(){for(var e=0;e<this.length;e++){var t=this[e]._private;t.bbCache=null,t.bbCachePosKey=null,t.bodyBounds=null,t.overlayBounds=null,t.labelBounds.all=null,t.labelBounds.source=null,t.labelBounds.target=null,t.labelBounds.main=null,t.labelBounds.sourceRot=null,t.labelBounds.targetRot=null,t.labelBounds.mainRot=null,t.arrowBounds.source=null,t.arrowBounds.target=null,t.arrowBounds["mid-source"]=null,t.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this},uo.boundingBoxAt=function(e){var t=this.nodes(),n=this.cy(),i=n.hasCompoundNodes(),r=n.collection();if(i&&(r=t.filter((function(e){return e.isParent()})),t=t.not(r)),N(e)){var o=e;e=function(){return o}}var a=function(t,n){return t._private.bbAtOldPos=e(t,n)},s=function(e){return e._private.bbAtOldPos};n.startBatch(),t.forEach(a).silentPositions(e),i&&(r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),r.updateCompoundBounds(!0));var l=Yt(this.boundingBox({useCache:!1}));return t.silentPositions(s),i&&(r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),r.updateCompoundBounds(!0)),n.endBatch(),l},lo.boundingbox=lo.bb=lo.boundingBox,lo.renderedBoundingbox=lo.renderedBoundingBox;var ko,Mo,To=uo;ko=Mo={};var Eo=function(e){e.uppercaseName=te(e.name),e.autoName="auto"+e.uppercaseName,e.labelName="label"+e.uppercaseName,e.outerName="outer"+e.uppercaseName,e.uppercaseOuterName=te(e.outerName),ko[e.name]=function(){var t=this[0],n=t._private,i=n.cy,r=i._private.styleEnabled;if(t){if(!r)return 1;if(t.isParent())return t.updateCompoundBounds(),n[e.autoName]||0;var o=t.pstyle(e.name);switch(o.strValue){case"label":return t.recalculateRenderedStyle(),n.rstyle[e.labelName]||0;default:return o.pfValue}}},ko["outer"+e.uppercaseName]=function(){var t=this[0],n=t._private,i=n.cy,r=i._private.styleEnabled;if(t){if(r){var o=t[e.name](),a=t.pstyle("border-width").pfValue,s=2*t.padding();return o+a+s}return 1}},ko["rendered"+e.uppercaseName]=function(){var t=this[0];if(t){var n=t[e.name]();return n*this.cy().zoom()}},ko["rendered"+e.uppercaseOuterName]=function(){var t=this[0];if(t){var n=t[e.outerName]();return n*this.cy().zoom()}}};Eo({name:"width"}),Eo({name:"height"}),Mo.padding=function(){var e=this[0],t=e._private;return e.isParent()?(e.updateCompoundBounds(),void 0!==t.autoPadding?t.autoPadding:e.pstyle("padding").pfValue):e.pstyle("padding").pfValue},Mo.paddedHeight=function(){var e=this[0];return e.height()+2*e.padding()},Mo.paddedWidth=function(){var e=this[0];return e.width()+2*e.padding()};var Do=Mo,Po=function(e,t){if(e.isEdge())return t(e)},Oo=function(e,t){if(e.isEdge()){var n=e.cy();return Dt(t(e),n.zoom(),n.pan())}},Io=function(e,t){if(e.isEdge()){var n=e.cy(),i=n.pan(),r=n.zoom();return t(e).map((function(e){return Dt(e,r,i)}))}},Ao=function(e){return e.renderer().getControlPoints(e)},Lo=function(e){return e.renderer().getSegmentPoints(e)},No=function(e){return e.renderer().getSourceEndpoint(e)},Ro=function(e){return e.renderer().getTargetEndpoint(e)},zo=function(e){return e.renderer().getEdgeMidpoint(e)},$o={controlPoints:{get:Ao,mult:!0},segmentPoints:{get:Lo,mult:!0},sourceEndpoint:{get:No},targetEndpoint:{get:Ro},midpoint:{get:zo}},Bo=function(e){return"rendered"+e[0].toUpperCase()+e.substr(1)},Fo=Object.keys($o).reduce((function(e,t){var n=$o[t],i=Bo(t);return e[t]=function(){return Po(this,n.get)},n.mult?e[i]=function(){return Io(this,n.get)}:e[i]=function(){return Oo(this,n.get)},e}),{}),jo=he({},co,To,Do,Fo),Vo=function(e,t){this.recycle(e,t)};function Ho(){return!1}function Wo(){return!0}Vo.prototype={instanceString:function(){return"event"},recycle:function(e,t){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=Ho,null!=e&&e.preventDefault?(this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?Wo:Ho):null!=e&&e.type?t=e:this.type=e,null!=t&&(this.originalEvent=t.originalEvent,this.type=null!=t.type?t.type:this.type,this.cy=t.cy,this.target=t.target,this.position=t.position,this.renderedPosition=t.renderedPosition,this.namespace=t.namespace,this.layout=t.layout),null!=this.cy&&null!=this.position&&null==this.renderedPosition){var n=this.position,i=this.cy.zoom(),r=this.cy.pan();this.renderedPosition={x:n.x*i+r.x,y:n.y*i+r.y}}this.timeStamp=e&&e.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=Wo;var e=this.originalEvent;e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){this.isPropagationStopped=Wo;var e=this.originalEvent;e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Wo,this.stopPropagation()},isDefaultPrevented:Ho,isPropagationStopped:Ho,isImmediatePropagationStopped:Ho};var Go=/^([^.]+)(\.(?:[^.]+))?$/,qo=".*",Uo={qualifierCompare:function(e,t){return e===t},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(e){return e},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},Yo=Object.keys(Uo),Xo={};function Zo(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xo,t=arguments.length>1?arguments[1]:void 0,n=0;n<Yo.length;n++){var i=Yo[n];this[i]=e[i]||Uo[i]}this.context=t||this.context,this.listeners=[],this.emitting=0}var Ko=Zo.prototype,Qo=function(e,t,n,i,r,o,a){A(i)&&(r=i,i=null),a&&(o=null==o?a:he({},o,a));for(var s=L(n)?n:n.split(/\s+/),l=0;l<s.length;l++){var u=s[l];if(!q(u)){var c=u.match(Go);if(c){var h=c[1],d=c[2]?c[2]:null,f=t(e,u,h,d,i,r,o);if(!1===f)break}}}},Jo=function(e,t){return e.addEventFields(e.context,t),new Vo(t.type,t)},ea=function(e,t,n){if(G(n))t(e,n);else if(N(n))t(e,Jo(e,n));else for(var i=L(n)?n:n.split(/\s+/),r=0;r<i.length;r++){var o=i[r];if(!q(o)){var a=o.match(Go);if(a){var s=a[1],l=a[2]?a[2]:null,u=Jo(e,{type:s,namespace:l,target:e.context});t(e,u)}}}};Ko.on=Ko.addListener=function(e,t,n,i,r){return Qo(this,(function(e,t,n,i,r,o,a){A(o)&&e.listeners.push({event:t,callback:o,type:n,namespace:i,qualifier:r,conf:a})}),e,t,n,i,r),this},Ko.one=function(e,t,n,i){return this.on(e,t,n,i,{one:!0})},Ko.removeListener=Ko.off=function(e,t,n,i){var r=this;0!==this.emitting&&(this.listeners=Ke(this.listeners));for(var o=this.listeners,a=function(a){var s=o[a];Qo(r,(function(t,n,i,r,l,u){if((s.type===i||"*"===e)&&(!r&&".*"!==s.namespace||s.namespace===r)&&(!l||t.qualifierCompare(s.qualifier,l))&&(!u||s.callback===u))return o.splice(a,1),!1}),e,t,n,i)},s=o.length-1;s>=0;s--)a(s);return this},Ko.removeAllListeners=function(){return this.removeListener("*")},Ko.emit=Ko.trigger=function(e,t,n){var i=this.listeners,r=i.length;return this.emitting++,L(t)||(t=[t]),ea(this,(function(e,o){null!=n&&(i=[{event:o.event,type:o.type,namespace:o.namespace,callback:n}],r=i.length);for(var a=function(n){var r=i[n];if(r.type===o.type&&(!r.namespace||r.namespace===o.namespace||r.namespace===qo)&&e.eventMatches(e.context,r,o)){var a=[o];null!=t&&rt(a,t),e.beforeEmit(e.context,r,o),r.conf&&r.conf.one&&(e.listeners=e.listeners.filter((function(e){return e!==r})));var s=e.callbackContext(e.context,r,o),l=r.callback.apply(s,a);e.afterEmit(e.context,r,o),!1===l&&(o.stopPropagation(),o.preventDefault())}},s=0;s<r;s++)a(s);e.bubble(e.context)&&!o.isPropagationStopped()&&e.parent(e.context).emit(o,t)}),e),this.emitting--,this};var ta={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var i=t.qualifier;return null==i||e!==n.target&&j(n.target)&&i.matches(n.target)},addEventFields:function(e,t){t.cy=e.cy(),t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e},beforeEmit:function(e,t){t.conf&&t.conf.once&&t.conf.onceCollection.removeListener(t.event,t.qualifier,t.callback)},bubble:function(){return!0},parent:function(e){return e.isChild()?e.parent():e.cy()}},na=function(e){return I(e)?new Hr(e):e},ia={createEmitter:function(){for(var e=0;e<this.length;e++){var t=this[e],n=t._private;n.emitter||(n.emitter=new Zo(ta,t))}return this},emitter:function(){return this._private.emitter},on:function(e,t,n){for(var i=na(t),r=0;r<this.length;r++){var o=this[r];o.emitter().on(e,i,n)}return this},removeListener:function(e,t,n){for(var i=na(t),r=0;r<this.length;r++){var o=this[r];o.emitter().removeListener(e,i,n)}return this},removeAllListeners:function(){for(var e=0;e<this.length;e++){var t=this[e];t.emitter().removeAllListeners()}return this},one:function(e,t,n){for(var i=na(t),r=0;r<this.length;r++){var o=this[r];o.emitter().one(e,i,n)}return this},once:function(e,t,n){for(var i=na(t),r=0;r<this.length;r++){var o=this[r];o.emitter().on(e,i,n,{once:!0,onceCollection:this})}},emit:function(e,t){for(var n=0;n<this.length;n++){var i=this[n];i.emitter().emit(e,t)}return this},emitAndNotify:function(e,t){if(0!==this.length)return this.cy().notify(e,this),this.emit(e,t),this}};gr.eventAliasesOn(ia);var ra={nodes:function(e){return this.filter((function(e){return e.isNode()})).filter(e)},edges:function(e){return this.filter((function(e){return e.isEdge()})).filter(e)},byGroup:function(){for(var e=this.spawn(),t=this.spawn(),n=0;n<this.length;n++){var i=this[n];i.isNode()?e.push(i):t.push(i)}return{nodes:e,edges:t}},filter:function(e,t){if(void 0===e)return this;if(I(e)||F(e))return new Hr(e).filter(this);if(A(e)){for(var n=this.spawn(),i=this,r=0;r<i.length;r++){var o=i[r],a=t?e.apply(t,[o,r,i]):e(o,r,i);a&&n.push(o)}return n}return this.spawn()},not:function(e){if(e){I(e)&&(e=this.filter(e));for(var t=this.spawn(),n=0;n<this.length;n++){var i=this[n],r=e.has(i);r||t.push(i)}return t}return this},absoluteComplement:function(){var e=this.cy();return e.mutableElements().not(this)},intersect:function(e){if(I(e)){var t=e;return this.filter(t)}for(var n=this.spawn(),i=this,r=e,o=this.length<e.length,a=o?i:r,s=o?r:i,l=0;l<a.length;l++){var u=a[l];s.has(u)&&n.push(u)}return n},xor:function(e){var t=this._private.cy;I(e)&&(e=t.$(e));var n=this.spawn(),i=this,r=e,o=function(e,t){for(var i=0;i<e.length;i++){var r=e[i],o=r._private.data.id,a=t.hasElementWithId(o);a||n.push(r)}};return o(i,r),o(r,i),n},diff:function(e){var t=this._private.cy;I(e)&&(e=t.$(e));var n=this.spawn(),i=this.spawn(),r=this.spawn(),o=this,a=e,s=function(e,t,n){for(var i=0;i<e.length;i++){var o=e[i],a=o._private.data.id,s=t.hasElementWithId(a);s?r.merge(o):n.push(o)}};return s(o,a,n),s(a,o,i),{left:n,right:i,both:r}},add:function(e){var t=this._private.cy;if(!e)return this;if(I(e)){var n=e;e=t.mutableElements().filter(n)}for(var i=this.spawnSelf(),r=0;r<e.length;r++){var o=e[r],a=!this.has(o);a&&i.push(o)}return i},merge:function(e){var t=this._private,n=t.cy;if(!e)return this;if(e&&I(e)){var i=e;e=n.mutableElements().filter(i)}for(var r=t.map,o=0;o<e.length;o++){var a=e[o],s=a._private.data.id,l=!r.has(s);if(l){var u=this.length++;this[u]=a,r.set(s,{ele:a,index:u})}}return this},unmergeAt:function(e){var t=this[e],n=t.id(),i=this._private,r=i.map;this[e]=void 0,r["delete"](n);var o=e===this.length-1;if(this.length>1&&!o){var a=this.length-1,s=this[a],l=s._private.data.id;this[a]=void 0,this[e]=s,r.set(l,{ele:s,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,i=t.map,r=i.get(n);if(!r)return this;var o=r.index;return this.unmergeAt(o),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&I(e)){var n=e;e=t.mutableElements().filter(n)}for(var i=0;i<e.length;i++)this.unmergeOne(e[i]);return this},unmergeBy:function(e){for(var t=this.length-1;t>=0;t--){var n=this[t];e(n)&&this.unmergeAt(t)}return this},map:function(e,t){for(var n=[],i=this,r=0;r<i.length;r++){var o=i[r],a=t?e.apply(t,[o,r,i]):e(o,r,i);n.push(a)}return n},reduce:function(e,t){for(var n=t,i=this,r=0;r<i.length;r++)n=e(n,i[r],r,i);return n},max:function(e,t){for(var n,i=-1/0,r=this,o=0;o<r.length;o++){var a=r[o],s=t?e.apply(t,[a,o,r]):e(a,o,r);s>i&&(i=s,n=a)}return{value:i,ele:n}},min:function(e,t){for(var n,i=1/0,r=this,o=0;o<r.length;o++){var a=r[o],s=t?e.apply(t,[a,o,r]):e(a,o,r);s<i&&(i=s,n=a)}return{value:i,ele:n}}},oa=ra;oa["u"]=oa["|"]=oa["+"]=oa.union=oa.or=oa.add,oa["\\"]=oa["!"]=oa["-"]=oa.difference=oa.relativeComplement=oa.subtract=oa.not,oa["n"]=oa["&"]=oa["."]=oa.and=oa.intersection=oa.intersect,oa["^"]=oa["(+)"]=oa["(-)"]=oa.symmetricDifference=oa.symdiff=oa.xor,oa.fnFilter=oa.filterFn=oa.stdFilter=oa.filter,oa.complement=oa.abscomp=oa.absoluteComplement;var aa={isNode:function(){return"nodes"===this.group()},isEdge:function(){return"edges"===this.group()},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var e=this[0];if(e)return e._private.group}},sa=function(e,t){var n=e.cy(),i=n.hasCompoundNodes();function r(e){var t=e.pstyle("z-compound-depth");return"auto"===t.value?i?e.zDepth():0:"bottom"===t.value?-1:"top"===t.value?je:0}var o=r(e)-r(t);if(0!==o)return o;function a(e){var t=e.pstyle("z-index-compare");return"auto"===t.value&&e.isNode()?1:0}var s=a(e)-a(t);if(0!==s)return s;var l=e.pstyle("z-index").value-t.pstyle("z-index").value;return 0!==l?l:e.poolIndex()-t.poolIndex()},la={forEach:function(e,t){if(A(e))for(var n=this.length,i=0;i<n;i++){var r=this[i],o=t?e.apply(t,[r,i,this]):e(r,i,this);if(!1===o)break}return this},toArray:function(){for(var e=[],t=0;t<this.length;t++)e.push(this[t]);return e},slice:function(e,t){var n=[],i=this.length;null==t&&(t=i),null==e&&(e=0),e<0&&(e=i+e),t<0&&(t=i+t);for(var r=e;r>=0&&r<t&&r<i;r++)n.push(this[r]);return this.spawn(n)},size:function(){return this.length},eq:function(e){return this[e]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return 0===this.length},nonempty:function(){return!this.empty()},sort:function(e){if(!A(e))return this;var t=this.toArray().sort(e);return this.spawn(t)},sortByZIndex:function(){return this.sort(sa)},zDepth:function(){var e=this[0];if(e){var t=e._private,n=t.group;if("nodes"===n){var i=t.data.parent?e.parents().size():0;return e.isParent()?i:je-1}var r=t.source,o=t.target,a=r.zDepth(),s=o.zDepth();return Math.max(a,s,0)}}};la.each=la.forEach;var ua=function(){var e="undefined",t=("undefined"===typeof Symbol?"undefined":p(Symbol))!=e&&p(Symbol.iterator)!=e;t&&(la[Symbol.iterator]=function(){var e=this,t={value:void 0,done:!1},n=0,i=this.length;return y({next:function(){return n<i?t.value=e[n++]:(t.value=void 0,t.done=!0),t}},Symbol.iterator,(function(){return this}))})};ua();var ca=tt({nodeDimensionsIncludeLabels:!1}),ha={layoutDimensions:function(e){var t;if(e=ca(e),this.takesUpSpace())if(e.nodeDimensionsIncludeLabels){var n=this.boundingBox();t={w:n.w,h:n.h}}else t={w:this.outerWidth(),h:this.outerHeight()};else t={w:0,h:0};return 0!==t.w&&0!==t.h||(t.w=t.h=1),t},layoutPositions:function(e,t,n){var i=this.nodes().filter((function(e){return!e.isParent()})),r=this.cy(),o=t.eles,a=function(e){return e.id()},s=K(n,a);e.emit({type:"layoutstart",layout:e}),e.animations=[];var l=function(e,t,n){var i={x:t.x1+t.w/2,y:t.y1+t.h/2},r={x:(n.x-i.x)*e,y:(n.y-i.y)*e};return{x:i.x+r.x,y:i.y+r.y}},u=t.spacingFactor&&1!==t.spacingFactor,c=function(){if(!u)return null;for(var e=Ut(),t=0;t<i.length;t++){var n=i[t],r=s(n,t);Kt(e,r.x,r.y)}return e},h=c(),d=K((function(e,n){var i=s(e,n);if(u){var r=Math.abs(t.spacingFactor);i=l(r,h,i)}return null!=t.transform&&(i=t.transform(e,i)),i}),a);if(t.animate){for(var f=0;f<i.length;f++){var p=i[f],g=d(p,f),m=null==t.animateFilter||t.animateFilter(p,f);if(m){var v=p.animation({position:g,duration:t.animationDuration,easing:t.animationEasing});e.animations.push(v)}else p.position(g)}if(t.fit){var y=r.animation({fit:{boundingBox:o.boundingBoxAt(d),padding:t.padding},duration:t.animationDuration,easing:t.animationEasing});e.animations.push(y)}else if(void 0!==t.zoom&&void 0!==t.pan){var b=r.animation({zoom:t.zoom,pan:t.pan,duration:t.animationDuration,easing:t.animationEasing});e.animations.push(b)}e.animations.forEach((function(e){return e.play()})),e.one("layoutready",t.ready),e.emit({type:"layoutready",layout:e}),ur.all(e.animations.map((function(e){return e.promise()}))).then((function(){e.one("layoutstop",t.stop),e.emit({type:"layoutstop",layout:e})}))}else i.positions(d),t.fit&&r.fit(t.eles,t.padding),null!=t.zoom&&r.zoom(t.zoom),t.pan&&r.pan(t.pan),e.one("layoutready",t.ready),e.emit({type:"layoutready",layout:e}),e.one("layoutstop",t.stop),e.emit({type:"layoutstop",layout:e});return this},layout:function(e){var t=this.cy();return t.makeLayout(he({},e,{eles:this}))}};function da(e,t,n){var i,r=n._private,o=r.styleCache=r.styleCache||[];return null!=(i=o[e])||(i=o[e]=t(n)),i}function fa(e,t){return e=Ne(e),function(n){return da(e,t,n)}}function pa(e,t){e=Ne(e);var n=function(e){return t.call(e)};return function(){var t=this[0];if(t)return da(e,n,t)}}ha.createLayout=ha.makeLayout=ha.layout;var ga={recalculateRenderedStyle:function(e){var t=this.cy(),n=t.renderer(),i=t.styleEnabled();return n&&i&&n.recalculateRenderedStyle(this,e),this},dirtyStyleCache:function(){var e,t=this.cy(),n=function(e){return e._private.styleCache=null};t.hasCompoundNodes()?(e=this.spawnSelf().merge(this.descendants()).merge(this.parents()),e.merge(e.connectedEdges()),e.forEach(n)):this.forEach((function(e){n(e),e.connectedEdges().forEach(n)}));return this},updateStyle:function(e){var t=this._private.cy;if(!t.styleEnabled())return this;if(t.batching()){var n=t._private.batchStyleEles;return n.merge(this),this}var i=t.hasCompoundNodes(),r=this;e=!(!e&&void 0!==e),i&&(r=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var o=r;return e?o.emitAndNotify("style"):o.emit("style"),r.forEach((function(e){return e._private.styleDirty=!0})),this},cleanStyle:function(){var e=this.cy();if(e.styleEnabled())for(var t=0;t<this.length;t++){var n=this[t];n._private.styleDirty&&(n._private.styleDirty=!1,e.style().apply(n))}},parsedStyle:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this[0],i=n.cy();if(i.styleEnabled()&&n){this.cleanStyle();var r=n._private.style[e];return null!=r?r:t?i.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var i=!1,r=n.style();if(N(e)){var o=e;r.applyBypass(this,o,i),this.emitAndNotify("style")}else if(I(e)){if(void 0===t){var a=this[0];return a?r.getStylePropertyValue(a,e):void 0}r.applyBypass(this,e,t,i),this.emitAndNotify("style")}else if(void 0===e){var s=this[0];return s?r.getRawStyle(s):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=!1,i=t.style(),r=this;if(void 0===e)for(var o=0;o<r.length;o++){var a=r[o];i.removeAllBypasses(a,n)}else{e=e.split(/\s+/);for(var s=0;s<r.length;s++){var l=r[s];i.removeBypasses(l,e,n)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var e=this.cy();if(!e.styleEnabled())return 1;var t=e.hasCompoundNodes(),n=this[0];if(n){var i=n._private,r=n.pstyle("opacity").value;if(!t)return r;var o=i.data.parent?n.parents():null;if(o)for(var a=0;a<o.length;a++){var s=o[a],l=s.pstyle("opacity").value;r*=l}return r}},transparent:function(){var e=this.cy();if(!e.styleEnabled())return!1;var t=this[0],n=t.cy().hasCompoundNodes();return t?n?0===t.effectiveOpacity():0===t.pstyle("opacity").value:void 0},backgrounding:function(){var e=this.cy();if(!e.styleEnabled())return!1;var t=this[0];return!!t._private.backgrounding}};function ma(e,t){var n=e._private,i=n.data.parent?e.parents():null;if(i)for(var r=0;r<i.length;r++){var o=i[r];if(!t(o))return!1}return!0}function va(e){var t=e.ok,n=e.edgeOkViaNode||e.ok,i=e.parentOk||e.ok;return function(){var e=this.cy();if(!e.styleEnabled())return!0;var r=this[0],o=e.hasCompoundNodes();if(r){var a=r._private;if(!t(r))return!1;if(r.isNode())return!o||ma(r,i);var s=a.source,l=a.target;return n(s)&&(!o||ma(s,n))&&(s===l||n(l)&&(!o||ma(l,n)))}}}var ya=fa("eleTakesUpSpace",(function(e){return"element"===e.pstyle("display").value&&0!==e.width()&&(!e.isNode()||0!==e.height())}));ga.takesUpSpace=pa("takesUpSpace",va({ok:ya}));var ba=fa("eleInteractive",(function(e){return"yes"===e.pstyle("events").value&&"visible"===e.pstyle("visibility").value&&ya(e)})),xa=fa("parentInteractive",(function(e){return"visible"===e.pstyle("visibility").value&&ya(e)}));ga.interactive=pa("interactive",va({ok:ba,parentOk:xa,edgeOkViaNode:ya})),ga.noninteractive=function(){var e=this[0];if(e)return!e.interactive()};var _a=fa("eleVisible",(function(e){return"visible"===e.pstyle("visibility").value&&0!==e.pstyle("opacity").pfValue&&ya(e)})),wa=ya;ga.visible=pa("visible",va({ok:_a,edgeOkViaNode:wa})),ga.hidden=function(){var e=this[0];if(e)return!e.visible()},ga.isBundledBezier=pa("isBundledBezier",(function(){return!!this.cy().styleEnabled()&&(!this.removed()&&"bezier"===this.pstyle("curve-style").value&&this.takesUpSpace())})),ga.bypass=ga.css=ga.style,ga.renderedCss=ga.renderedStyle,ga.removeBypass=ga.removeCss=ga.removeStyle,ga.pstyle=ga.parsedStyle;var Ca={};function Sa(e){return function(){var t=arguments,n=[];if(2===t.length){var i=t[0],r=t[1];this.on(e.event,i,r)}else if(1===t.length&&A(t[0])){var o=t[0];this.on(e.event,o)}else if(0===t.length||1===t.length&&L(t[0])){for(var a=1===t.length?t[0]:null,s=0;s<this.length;s++){var l=this[s],u=!e.ableField||l._private[e.ableField],c=l._private[e.field]!=e.value;if(e.overrideAble){var h=e.overrideAble(l);if(void 0!==h&&(u=h,!h))return this}u&&(l._private[e.field]=e.value,c&&n.push(l))}var d=this.spawn(n);d.updateStyle(),d.emit(e.event),a&&d.emit(a)}return this}}function ka(e){Ca[e.field]=function(){var t=this[0];if(t){if(e.overrideField){var n=e.overrideField(t);if(void 0!==n)return n}return t._private[e.field]}},Ca[e.on]=Sa({event:e.on,field:e.field,ableField:e.ableField,overrideAble:e.overrideAble,value:!0}),Ca[e.off]=Sa({event:e.off,field:e.field,ableField:e.ableField,overrideAble:e.overrideAble,value:!1})}ka({field:"locked",overrideField:function(e){return!!e.cy().autolock()||void 0},on:"lock",off:"unlock"}),ka({field:"grabbable",overrideField:function(e){return!e.cy().autoungrabify()&&!e.pannable()&&void 0},on:"grabify",off:"ungrabify"}),ka({field:"selected",ableField:"selectable",overrideAble:function(e){return!e.cy().autounselectify()&&void 0},on:"select",off:"unselect"}),ka({field:"selectable",overrideField:function(e){return!e.cy().autounselectify()&&void 0},on:"selectify",off:"unselectify"}),Ca.deselect=Ca.unselect,Ca.grabbed=function(){var e=this[0];if(e)return e._private.grabbed},ka({field:"active",on:"activate",off:"unactivate"}),ka({field:"pannable",on:"panify",off:"unpanify"}),Ca.inactive=function(){var e=this[0];if(e)return!e._private.active};var Ma={},Ta=function(e){return function(t){for(var n=this,i=[],r=0;r<n.length;r++){var o=n[r];if(o.isNode()){for(var a=!1,s=o.connectedEdges(),l=0;l<s.length;l++){var u=s[l],c=u.source(),h=u.target();if(e.noIncomingEdges&&h===o&&c!==o||e.noOutgoingEdges&&c===o&&h!==o){a=!0;break}}a||i.push(o)}}return this.spawn(i,!0).filter(t)}},Ea=function(e){return function(t){for(var n=this,i=[],r=0;r<n.length;r++){var o=n[r];if(o.isNode())for(var a=o.connectedEdges(),s=0;s<a.length;s++){var l=a[s],u=l.source(),c=l.target();e.outgoing&&u===o?(i.push(l),i.push(c)):e.incoming&&c===o&&(i.push(l),i.push(u))}}return this.spawn(i,!0).filter(t)}},Da=function(e){return function(t){for(var n=this,i=[],r={};;){var o=e.outgoing?n.outgoers():n.incomers();if(0===o.length)break;for(var a=!1,s=0;s<o.length;s++){var l=o[s],u=l.id();r[u]||(r[u]=!0,i.push(l),a=!0)}if(!a)break;n=o}return this.spawn(i,!0).filter(t)}};function Pa(e){return function(t){for(var n=[],i=0;i<this.length;i++){var r=this[i],o=r._private[e.attr];o&&n.push(o)}return this.spawn(n,!0).filter(t)}}function Oa(e){return function(t){var n=[],i=this._private.cy,r=e||{};I(t)&&(t=i.$(t));for(var o=0;o<t.length;o++)for(var a=t[o]._private.edges,s=0;s<a.length;s++){var l=a[s],u=l._private.data,c=this.hasElementWithId(u.source)&&t.hasElementWithId(u.target),h=t.hasElementWithId(u.source)&&this.hasElementWithId(u.target),d=c||h;if(d){if(r.thisIsSrc||r.thisIsTgt){if(r.thisIsSrc&&!c)continue;if(r.thisIsTgt&&!h)continue}n.push(l)}}return this.spawn(n,!0)}}function Ia(e){var t={codirected:!1};return e=he({},t,e),function(t){for(var n=[],i=this.edges(),r=e,o=0;o<i.length;o++)for(var a=i[o],s=a._private,l=s.source,u=l._private.data.id,c=s.data.target,h=l._private.edges,d=0;d<h.length;d++){var f=h[d],p=f._private.data,g=p.target,m=p.source,v=g===c&&m===u,y=u===g&&c===m;(r.codirected&&v||!r.codirected&&(v||y))&&n.push(f)}return this.spawn(n,!0).filter(t)}}Ma.clearTraversalCache=function(){for(var e=0;e<this.length;e++)this[e]._private.traversalCache=null},he(Ma,{roots:Ta({noIncomingEdges:!0}),leaves:Ta({noOutgoingEdges:!0}),outgoers:Yr(Ea({outgoing:!0}),"outgoers"),successors:Da({outgoing:!0}),incomers:Yr(Ea({incoming:!0}),"incomers"),predecessors:Da({incoming:!0})}),he(Ma,{neighborhood:Yr((function(e){for(var t=[],n=this.nodes(),i=0;i<n.length;i++)for(var r=n[i],o=r.connectedEdges(),a=0;a<o.length;a++){var s=o[a],l=s.source(),u=s.target(),c=r===l?u:l;c.length>0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)}),"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),Ma.neighbourhood=Ma.neighborhood,Ma.closedNeighbourhood=Ma.closedNeighborhood,Ma.openNeighbourhood=Ma.openNeighborhood,he(Ma,{source:Yr((function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t}),"source"),target:Yr((function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t}),"target"),sources:Pa({attr:"source"}),targets:Pa({attr:"target"})}),he(Ma,{edgesWith:Yr(Oa(),"edgesWith"),edgesTo:Yr(Oa({thisIsSrc:!0}),"edgesTo")}),he(Ma,{connectedEdges:Yr((function(e){for(var t=[],n=this,i=0;i<n.length;i++){var r=n[i];if(r.isNode())for(var o=r._private.edges,a=0;a<o.length;a++){var s=o[a];t.push(s)}}return this.spawn(t,!0).filter(e)}),"connectedEdges"),connectedNodes:Yr((function(e){for(var t=[],n=this,i=0;i<n.length;i++){var r=n[i];r.isEdge()&&(t.push(r.source()[0]),t.push(r.target()[0]))}return this.spawn(t,!0).filter(e)}),"connectedNodes"),parallelEdges:Yr(Ia(),"parallelEdges"),codirectedEdges:Yr(Ia({codirected:!0}),"codirectedEdges")}),he(Ma,{components:function(e){var t=this,n=t.cy(),i=n.collection(),r=null==e?t.nodes():e.nodes(),o=[];null!=e&&r.empty()&&(r=e.sources());var a=function(e,t){i.merge(e),r.unmerge(e),t.merge(e)};if(r.empty())return t.spawn();var s=function(){var e=n.collection();o.push(e);var i=r[0];a(i,e),t.bfs({directed:!1,roots:i,visit:function(t){return a(t,e)}}),e.forEach((function(n){n.connectedEdges().forEach((function(n){t.has(n)&&e.has(n.source())&&e.has(n.target())&&e.merge(n)}))}))};do{s()}while(r.length>0);return o},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),Ma.componentsOf=Ma.components;var Aa=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var r=new lt,o=!1;if(t){if(t.length>0&&N(t[0])&&!j(t[0])){o=!0;for(var a=[],s=new ht,l=0,u=t.length;l<u;l++){var c=t[l];null==c.data&&(c.data={});var h=c.data;if(null==h.id)h.id=Qe();else if(e.hasElementWithId(h.id)||s.has(h.id))continue;var d=new dt(e,c,!1);a.push(d),s.add(h.id)}t=a}}else t=[];this.length=0;for(var f=0,p=t.length;f<p;f++){var g=t[f][0];if(null!=g){var m=g._private.data.id;n&&r.has(m)||(n&&r.set(m,{index:this.length,ele:g}),this[this.length]=g,this.length++)}}this._private={eles:this,cy:e,get map(){return null==this.lazyMap&&this.rebuildMap(),this.lazyMap},set map(e){this.lazyMap=e},rebuildMap:function(){for(var e=this.lazyMap=new lt,t=this.eles,n=0;n<t.length;n++){var i=t[n];e.set(i.id(),{index:n,ele:i})}}},n&&(this._private.map=r),o&&!i&&this.restore()}else qe("A collection must have a reference to the core")},La=dt.prototype=Aa.prototype=Object.create(Array.prototype);La.instanceString=function(){return"collection"},La.spawn=function(e,t){return new Aa(this.cy(),e,t)},La.spawnSelf=function(){return this.spawn(this)},La.cy=function(){return this._private.cy},La.renderer=function(){return this._private.cy.renderer()},La.element=function(){return this[0]},La.collection=function(){return V(this)?this:new Aa(this._private.cy,[this])},La.unique=function(){return new Aa(this._private.cy,this,!0)},La.hasElementWithId=function(e){return e=""+e,this._private.map.has(e)},La.getElementById=function(e){e=""+e;var t=this._private.cy,n=this._private.map.get(e);return n?n.ele:new Aa(t)},La.$id=La.getElementById,La.poolIndex=function(){var e=this._private.cy,t=e._private.elements,n=this[0]._private.data.id;return t._private.map.get(n).index},La.indexOf=function(e){var t=e[0]._private.data.id;return this._private.map.get(t).index},La.indexOfId=function(e){return e=""+e,this._private.map.get(e).index},La.json=function(e){var t=this.element(),n=this.cy();if(null==t&&e)return this;if(null!=t){var i=t._private;if(N(e)){if(n.startBatch(),e.data){t.data(e.data);var r=i.data;if(t.isEdge()){var o=!1,a={},s=e.data.source,l=e.data.target;null!=s&&s!=r.source&&(a.source=""+s,o=!0),null!=l&&l!=r.target&&(a.target=""+l,o=!0),o&&(t=t.move(a))}else{var u="parent"in e.data,c=e.data.parent;!u||null==c&&null==r.parent||c==r.parent||(void 0===c&&(c=null),null!=c&&(c=""+c),t=t.move({parent:c}))}}e.position&&t.position(e.position);var h=function(n,r,o){var a=e[n];null!=a&&a!==i[n]&&(a?t[r]():t[o]())};return h("removed","remove","restore"),h("selected","select","unselect"),h("selectable","selectify","unselectify"),h("locked","lock","unlock"),h("grabbable","grabify","ungrabify"),h("pannable","panify","unpanify"),null!=e.classes&&t.classes(e.classes),n.endBatch(),this}if(void 0===e){var d={data:Ze(i.data),position:Ze(i.position),group:i.group,removed:i.removed,selected:i.selected,selectable:i.selectable,locked:i.locked,grabbable:i.grabbable,pannable:i.pannable,classes:null};d.classes="";var f=0;return i.classes.forEach((function(e){return d.classes+=0===f++?e:" "+e})),d}}},La.jsons=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t],i=n.json();e.push(i)}return e},La.clone=function(){for(var e=this.cy(),t=[],n=0;n<this.length;n++){var i=this[n],r=i.json(),o=new dt(e,r,!1);t.push(o)}return new Aa(e,t)},La.copy=La.clone,La.restore=function(){for(var e,t,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,o=r.cy(),a=o._private,s=[],l=[],u=0,c=r.length;u<c;u++){var h=r[u];i&&!h.removed()||(h.isNode()?s.push(h):l.push(h))}e=s.concat(l);var d=function(){e.splice(t,1),t--};for(t=0;t<e.length;t++){var f=e[t],p=f._private,g=p.data;if(f.clearTraversalCache(),i||p.removed)if(void 0===g.id)g.id=Qe();else if(z(g.id))g.id=""+g.id;else{if(q(g.id)||!I(g.id)){qe("Can not create element with invalid string ID `"+g.id+"`"),d();continue}if(o.hasElementWithId(g.id)){qe("Can not create second element with ID `"+g.id+"`"),d();continue}}else;var m=g.id;if(f.isNode()){var v=p.position;null==v.x&&(v.x=0),null==v.y&&(v.y=0)}if(f.isEdge()){for(var y=f,b=["source","target"],x=b.length,_=!1,w=0;w<x;w++){var C=b[w],S=g[C];z(S)&&(S=g[C]=""+g[C]),null==S||""===S?(qe("Can not create edge `"+m+"` with unspecified "+C),_=!0):o.hasElementWithId(S)||(qe("Can not create edge `"+m+"` with nonexistant "+C+" `"+S+"`"),_=!0)}if(_){d();continue}var k=o.getElementById(g.source),M=o.getElementById(g.target);k.same(M)?k._private.edges.push(y):(k._private.edges.push(y),M._private.edges.push(y)),y._private.source=k,y._private.target=M}p.map=new lt,p.map.set(m,{ele:f,index:0}),p.removed=!1,i&&o.addToPool(f)}for(var T=0;T<s.length;T++){var E=s[T],D=E._private.data;z(D.parent)&&(D.parent=""+D.parent);var P=D.parent,O=null!=P;if(O||E._private.parent){var A=E._private.parent?o.collection().merge(E._private.parent):o.getElementById(P);if(A.empty())D.parent=void 0;else if(A[0].removed())Ye("Node added with missing parent, reference to parent removed"),D.parent=void 0,E._private.parent=null;else{var L=!1,N=A;while(!N.empty()){if(E.same(N)){L=!0,D.parent=void 0;break}N=N.parent()}L||(A[0]._private.children.push(E),E._private.parent=A[0],a.hasCompoundNodes=!0)}}}if(e.length>0){for(var R,$=e.length===r.length?r:new Aa(o,e),B=0;B<$.length;B++){var F=$[B];F.isNode()||(F.parallelEdges().clearTraversalCache(),F.source().clearTraversalCache(),F.target().clearTraversalCache())}R=a.hasCompoundNodes?o.collection().merge($).merge($.connectedNodes()).merge($.parent()):$,R.dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(n),n?$.emitAndNotify("add"):i&&$.emit("add")}return r},La.removed=function(){var e=this[0];return e&&e._private.removed},La.inside=function(){var e=this[0];return e&&!e._private.removed},La.remove=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=[],r={},o=n._private.cy;function a(e){for(var t=e._private.edges,n=0;n<t.length;n++)l(t[n])}function s(e){for(var t=e._private.children,n=0;n<t.length;n++)l(t[n])}function l(e){var n=r[e.id()];t&&e.removed()||n||(r[e.id()]=!0,e.isNode()?(i.push(e),a(e),s(e)):i.unshift(e))}for(var u=0,c=n.length;u<c;u++){var h=n[u];l(h)}function d(e,t){var n=e._private.edges;nt(n,t),e.clearTraversalCache()}function f(e){e.clearTraversalCache()}var p=[];function g(e,t){t=t[0],e=e[0];var n=e._private.children,i=e.id();nt(n,t),t._private.parent=null,p.ids[i]||(p.ids[i]=!0,p.push(e))}p.ids={},n.dirtyCompoundBoundsCache(),t&&o.removeFromPool(i);for(var m=0;m<i.length;m++){var v=i[m];if(v.isEdge()){var y=v.source()[0],b=v.target()[0];d(y,v),d(b,v);for(var x=v.parallelEdges(),_=0;_<x.length;_++){var w=x[_];f(w),w.isBundledBezier()&&w.dirtyBoundingBoxCache()}}else{var C=v.parent();0!==C.length&&g(C,v)}t&&(v._private.removed=!0)}var S=o._private.elements;o._private.hasCompoundNodes=!1;for(var k=0;k<S.length;k++){var M=S[k];if(M.isParent()){o._private.hasCompoundNodes=!0;break}}var T=new Aa(this.cy(),i);T.size()>0&&(e?T.emitAndNotify("remove"):t&&T.emit("remove"));for(var E=0;E<p.length;E++){var D=p[E];t&&D.removed()||D.updateStyle()}return T},La.move=function(e){var t=this._private.cy,n=this,i=!1,r=!1,o=function(e){return null==e?e:""+e};if(void 0!==e.source||void 0!==e.target){var a=o(e.source),s=o(e.target),l=null!=a&&t.hasElementWithId(a),u=null!=s&&t.hasElementWithId(s);(l||u)&&(t.batch((function(){n.remove(i,r),n.emitAndNotify("moveout");for(var e=0;e<n.length;e++){var t=n[e],o=t._private.data;t.isEdge()&&(l&&(o.source=a),u&&(o.target=s))}n.restore(i,r)})),n.emitAndNotify("move"))}else if(void 0!==e.parent){var c=o(e.parent),h=null===c||t.hasElementWithId(c);if(h){var d=null===c?void 0:c;t.batch((function(){var e=n.remove(i,r);e.emitAndNotify("moveout");for(var t=0;t<n.length;t++){var o=n[t],a=o._private.data;o.isNode()&&(a.parent=d)}e.restore(i,r)})),n.emitAndNotify("move")}}return this},[Ji,mr,vr,Gr,Xr,no,io,jo,ia,ra,aa,la,ha,ga,Ca,Ma].forEach((function(e){he(La,e)}));var Na={add:function(e){var t,n=this;if(F(e)){var i=e;if(i._private.cy===n)t=i.restore();else{for(var r=[],o=0;o<i.length;o++){var a=i[o];r.push(a.json())}t=new Aa(n,r)}}else if(L(e)){var s=e;t=new Aa(n,s)}else if(N(e)&&(L(e.nodes)||L(e.edges))){for(var l=e,u=[],c=["nodes","edges"],h=0,d=c.length;h<d;h++){var f=c[h],p=l[f];if(L(p))for(var g=0,m=p.length;g<m;g++){var v=he({group:f},p[g]);u.push(v)}}t=new Aa(n,u)}else{var y=e;t=new dt(n,y).collection()}return t},remove:function(e){if(F(e));else if(I(e)){var t=e;e=this.$(t)}return e.remove()}};/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function Ra(e,t,n,i){var r=4,o=.001,a=1e-7,s=10,l=11,u=1/(l-1),c="undefined"!==typeof Float32Array;if(4!==arguments.length)return!1;for(var h=0;h<4;++h)if("number"!==typeof arguments[h]||isNaN(arguments[h])||!isFinite(arguments[h]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var d=c?new Float32Array(l):new Array(l);function f(e,t){return 1-3*t+3*e}function p(e,t){return 3*t-6*e}function g(e){return 3*e}function m(e,t,n){return((f(t,n)*e+p(t,n))*e+g(t))*e}function v(e,t,n){return 3*f(t,n)*e*e+2*p(t,n)*e+g(t)}function y(t,i){for(var o=0;o<r;++o){var a=v(i,e,n);if(0===a)return i;var s=m(i,e,n)-t;i-=s/a}return i}function b(){for(var t=0;t<l;++t)d[t]=m(t*u,e,n)}function x(t,i,r){var o,l,u=0;do{l=i+(r-i)/2,o=m(l,e,n)-t,o>0?r=l:i=l}while(Math.abs(o)>a&&++u<s);return l}function _(t){for(var i=0,r=1,a=l-1;r!==a&&d[r]<=t;++r)i+=u;--r;var s=(t-d[r])/(d[r+1]-d[r]),c=i+s*u,h=v(c,e,n);return h>=o?y(t,c):0===h?c:x(t,i,i+u)}var w=!1;function C(){w=!0,e===t&&n===i||b()}var S=function(r){return w||C(),e===t&&n===i?r:0===r?0:1===r?1:m(_(r),t,i)};S.getControlPoints=function(){return[{x:e,y:t},{x:n,y:i}]};var k="generateBezier("+[e,t,n,i]+")";return S.toString=function(){return k},S}/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var za=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,i){var r={x:t.x+i.dx*n,v:t.v+i.dv*n,tension:t.tension,friction:t.friction};return{dx:r.v,dv:e(r)}}function n(n,i){var r={dx:n.v,dv:e(n)},o=t(n,.5*i,r),a=t(n,.5*i,o),s=t(n,i,a),l=1/6*(r.dx+2*(o.dx+a.dx)+s.dx),u=1/6*(r.dv+2*(o.dv+a.dv)+s.dv);return n.x=n.x+l*i,n.v=n.v+u*i,n}return function e(t,i,r){var o,a,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,h=1e-4,d=.016;for(t=parseFloat(t)||500,i=parseFloat(i)||20,r=r||null,l.tension=t,l.friction=i,o=null!==r,o?(c=e(t,i),a=c/r*d):a=d;;)if(s=n(s||l,a),u.push(1+s.x),c+=16,!(Math.abs(s.x)>h&&Math.abs(s.v)>h))break;return o?function(e){return u[e*(u.length-1)|0]}:c}}(),$a=function(e,t,n,i){var r=Ra(e,t,n,i);return function(e,t,n){return e+(t-e)*r(n)}},Ba={linear:function(e,t,n){return e+(t-e)*n},ease:$a(.25,.1,.25,1),"ease-in":$a(.42,0,1,1),"ease-out":$a(0,0,.58,1),"ease-in-out":$a(.42,0,.58,1),"ease-in-sine":$a(.47,0,.745,.715),"ease-out-sine":$a(.39,.575,.565,1),"ease-in-out-sine":$a(.445,.05,.55,.95),"ease-in-quad":$a(.55,.085,.68,.53),"ease-out-quad":$a(.25,.46,.45,.94),"ease-in-out-quad":$a(.455,.03,.515,.955),"ease-in-cubic":$a(.55,.055,.675,.19),"ease-out-cubic":$a(.215,.61,.355,1),"ease-in-out-cubic":$a(.645,.045,.355,1),"ease-in-quart":$a(.895,.03,.685,.22),"ease-out-quart":$a(.165,.84,.44,1),"ease-in-out-quart":$a(.77,0,.175,1),"ease-in-quint":$a(.755,.05,.855,.06),"ease-out-quint":$a(.23,1,.32,1),"ease-in-out-quint":$a(.86,0,.07,1),"ease-in-expo":$a(.95,.05,.795,.035),"ease-out-expo":$a(.19,1,.22,1),"ease-in-out-expo":$a(1,0,0,1),"ease-in-circ":$a(.6,.04,.98,.335),"ease-out-circ":$a(.075,.82,.165,1),"ease-in-out-circ":$a(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return Ba.linear;var i=za(e,t,n);return function(e,t,n){return e+(t-e)*i(n)}},"cubic-bezier":$a};function Fa(e,t,n,i,r){if(1===i)return n;if(t===n)return n;var o=r(t,n,i);return null==e||((e.roundValue||e.color)&&(o=Math.round(o)),void 0!==e.min&&(o=Math.max(o,e.min)),void 0!==e.max&&(o=Math.min(o,e.max))),o}function ja(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}function Va(e,t,n,i,r){var o=null!=r?r.type:null;n<0?n=0:n>1&&(n=1);var a=ja(e,r),s=ja(t,r);if(z(a)&&z(s))return Fa(o,a,s,n,i);if(L(a)&&L(s)){for(var l=[],u=0;u<s.length;u++){var c=a[u],h=s[u];if(null!=c&&null!=h){var d=Fa(o,c,h,n,i);l.push(d)}else l.push(h)}return l}}function Ha(e,t,n,i){var r=!i,o=e._private,a=t._private,s=a.easing,l=a.startTime,u=i?e:e.cy(),c=u.style();if(!a.easingImpl)if(null==s)a.easingImpl=Ba["linear"];else{var h,d,f;if(I(s)){var p=c.parse("transition-timing-function",s);h=p.value}else h=s;I(h)?(d=h,f=[]):(d=h[1],f=h.slice(2).map((function(e){return+e}))),f.length>0?("spring"===d&&f.push(a.duration),a.easingImpl=Ba[d].apply(null,f)):a.easingImpl=Ba[d]}var g,m=a.easingImpl;if(g=0===a.duration?1:(n-l)/a.duration,a.applying&&(g=a.progress),g<0?g=0:g>1&&(g=1),null==a.delay){var v=a.startPosition,y=a.position;if(y&&r&&!e.locked()){var b={};Wa(v.x,y.x)&&(b.x=Va(v.x,y.x,g,m)),Wa(v.y,y.y)&&(b.y=Va(v.y,y.y,g,m)),e.position(b)}var x=a.startPan,_=a.pan,w=o.pan,C=null!=_&&i;C&&(Wa(x.x,_.x)&&(w.x=Va(x.x,_.x,g,m)),Wa(x.y,_.y)&&(w.y=Va(x.y,_.y,g,m)),e.emit("pan"));var S=a.startZoom,k=a.zoom,M=null!=k&&i;M&&(Wa(S,k)&&(o.zoom=qt(o.minZoom,Va(S,k,g,m),o.maxZoom)),e.emit("zoom")),(C||M)&&e.emit("viewport");var T=a.style;if(T&&T.length>0&&r){for(var E=0;E<T.length;E++){var D=T[E],P=D.name,O=D,A=a.startStyle[P],L=c.properties[A.name],N=Va(A,O,g,m,L);c.overrideBypass(e,P,N)}e.emit("style")}}return a.progress=g,g}function Wa(e,t){return null!=e&&null!=t&&(!(!z(e)||!z(t))||!(!e||!t))}function Ga(e,t,n,i){var r=t._private;r.started=!0,r.startTime=n-r.progress*r.duration}function qa(e,t){var n=t._private.aniEles,i=[];function r(t,n){var r=t._private,o=r.animation.current,a=r.animation.queue,s=!1;if(0===o.length){var l=a.shift();l&&o.push(l)}for(var u=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n()}e.splice(0,e.length)},c=o.length-1;c>=0;c--){var h=o[c],d=h._private;d.stopped?(o.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames)):(d.playing||d.applying)&&(d.playing&&d.applying&&(d.applying=!1),d.started||Ga(t,h,e),Ha(t,h,e,n),d.applying&&(d.applying=!1),u(d.frames),null!=d.step&&d.step(e),h.completed()&&(o.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.completes)),s=!0)}return n||0!==o.length||0!==a.length||i.push(t),s}for(var o=!1,a=0;a<n.length;a++){var s=n[a],l=r(s);o=o||l}var u=r(t,!0);(o||u)&&(n.length>0?t.notify("draw",n):t.notify("draw")),n.unmerge(i),t.emit("step")}var Ua={animate:gr.animate(),animation:gr.animation(),animated:gr.animated(),clearQueue:gr.clearQueue(),delay:gr.delay(),delayAnimation:gr.delayAnimation(),stop:gr.stop(),addToAnimationPool:function(e){var t=this;t.styleEnabled()&&t._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender((function(t,n){qa(n,e)}),t.beforeRenderPriorities.animations):n()}function n(){e._private.animationsRunning&&Ce((function(t){qa(t,e),n()}))}}},Ya={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var i=t.qualifier;return null==i||e!==n.target&&j(n.target)&&i.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},Xa=function(e){return I(e)?new Hr(e):e},Za={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new Zo(Ya,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,Xa(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,Xa(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,Xa(t),n),this},once:function(e,t,n){return this.emitter().one(e,Xa(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};gr.eventAliasesOn(Za);var Ka={png:function(e){var t=this._private.renderer;return e=e||{},t.png(e)},jpg:function(e){var t=this._private.renderer;return e=e||{},e.bg=e.bg||"#fff",t.jpg(e)}};Ka.jpeg=Ka.jpg;var Qa={layout:function(e){var t=this;if(null!=e)if(null!=e.name){var n=e.name,i=t.extension("layout",n);if(null!=i){var r;r=I(e.eles)?t.$(e.eles):null!=e.eles?e.eles:t.$();var o=new i(he({},e,{cy:t,eles:r}));return o}qe("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?")}else qe("A `name` must be specified to make a layout");else qe("Layout options must be specified to make a layout")}};Qa.createLayout=Qa.makeLayout=Qa.layout;var Ja={notify:function(e,t){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var i=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();null!=t&&i.merge(t)}else if(n.notificationsEnabled){var r=this.renderer();!this.destroyed()&&r&&r.notify(e,t)}},notifications:function(e){var t=this._private;return void 0===e?t.notificationsEnabled:(t.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach((function(n){var i=e.batchNotifications[n];i.empty()?t.notify(n):t.notify(n,i)}))}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),i=0;i<n.length;i++){var r=n[i],o=e[r],a=t.getElementById(r);a.data(o)}}))}},es=tt({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),ts={renderTo:function(e,t,n,i){var r=this._private.renderer;return r.renderTo(e,t,n,i),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(e){var t=this,n=t.extension("renderer",e.name);if(null!=n){void 0!==e.wheelSensitivity&&Ye("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var i=es(e);i.cy=t,t._private.renderer=new n(i),this.notify("init")}else qe("Can not initialise: No such renderer `".concat(e.name,"` found. Did you forget to import it and `cytoscape.use()` it?"))},destroyRenderer:function(){var e=this;e.notify("destroy");var t=e.container();if(t){t._cyreg=null;while(t.childNodes.length>0)t.removeChild(t.childNodes[0])}e._private.renderer=null,e.mutableElements().forEach((function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]}))},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};ts.invalidateDimensions=ts.resize;var ns={collection:function(e,t){return I(e)?this.$(e):F(e)?e.collection():L(e)?(t||(t={}),new Aa(this,e,t.unique,t.removed)):new Aa(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};ns.elements=ns.filter=ns.$;var is={},rs="t",os="f";is.apply=function(e){for(var t=this,n=t._private,i=n.cy,r=i.collection(),o=0;o<e.length;o++){var a=e[o],s=t.getContextMeta(a);if(!s.empty){var l=t.getContextStyle(s),u=t.applyContextStyle(s,l,a);a._private.appliedInitStyle?t.updateTransitions(a,u.diffProps):a._private.appliedInitStyle=!0;var c=t.updateStyleHints(a);c&&r.push(a)}}return r},is.getPropertiesDiff=function(e,t){var n=this,i=n._private.propDiffs=n._private.propDiffs||{},r=e+"-"+t,o=i[r];if(o)return o;for(var a=[],s={},l=0;l<n.length;l++){var u=n[l],c=e[l]===rs,h=t[l]===rs,d=c!==h,f=u.mappedProperties.length>0;if(d||h&&f){var p=void 0;d&&f||d?p=u.properties:f&&(p=u.mappedProperties);for(var g=0;g<p.length;g++){for(var m=p[g],v=m.name,y=!1,b=l+1;b<n.length;b++){var x=n[b],_=t[b]===rs;if(_&&(y=null!=x.properties[m.name],y))break}s[v]||y||(s[v]=!0,a.push(v))}}}return i[r]=a,a},is.getContextMeta=function(e){for(var t,n=this,i="",r=e._private.styleCxtKey||"",o=0;o<n.length;o++){var a=n[o],s=a.selector&&a.selector.matches(e);i+=s?rs:os}return t=n.getPropertiesDiff(r,i),e._private.styleCxtKey=i,{key:i,diffPropNames:t,empty:0===t.length}},is.getContextStyle=function(e){var t=e.key,n=this,i=this._private.contextStyles=this._private.contextStyles||{};if(i[t])return i[t];for(var r={_private:{key:t}},o=0;o<n.length;o++){var a=n[o],s=t[o]===rs;if(s)for(var l=0;l<a.properties.length;l++){var u=a.properties[l];r[u.name]=u}}return i[t]=r,r},is.applyContextStyle=function(e,t,n){for(var i=this,r=e.diffPropNames,o={},a=i.types,s=0;s<r.length;s++){var l=r[s],u=t[l],c=n.pstyle(l);if(!u){if(!c)continue;u=c.bypass?{name:l,deleteBypassed:!0}:{name:l,delete:!0}}if(c!==u){if(u.mapped===a.fn&&null!=c&&null!=c.mapping&&c.mapping.value===u.value){var h=c.mapping,d=h.fnValue=u.value(n);if(d===h.prevFnValue)continue}var f=o[l]={prev:c};i.applyParsedProperty(n,u),f.next=n.pstyle(l),f.next&&f.next.bypass&&(f.next=f.next.bypassed)}}return{diffProps:o}},is.updateStyleHints=function(e){var t=e._private,n=this,i=n.propertyGroupNames,r=n.propertyGroupKeys,o=function(e,t,i){return n.getPropertiesHash(e,t,i)},a=t.styleKey;if(e.removed())return!1;var s="nodes"===t.group,l=e._private.style;i=Object.keys(l);for(var u=0;u<r.length;u++){var c=r[u];t.styleKeys[c]=[ke,Te]}for(var h=function(e,n){return t.styleKeys[n][0]=De(e,t.styleKeys[n][0])},d=function(e,n){return t.styleKeys[n][1]=Pe(e,t.styleKeys[n][1])},f=function(e,t){h(e,t),d(e,t)},p=function(e,t){for(var n=0;n<e.length;n++){var i=e.charCodeAt(n);h(i,t),d(i,t)}},g=2e9,m=function(e){return-128<e&&e<128&&Math.floor(e)!==e?g-(1024*e|0):e},v=0;v<i.length;v++){var y=i[v],b=l[y];if(null!=b){var x=this.properties[y],_=x.type,w=x.groupKey,C=void 0;null!=x.hashOverride?C=x.hashOverride(e,b):null!=b.pfValue&&(C=b.pfValue);var S=null==x.enums?b.value:null,k=null!=C,M=null!=S,T=k||M,E=b.units;if(_.number&&T&&!_.multiple){var D=k?C:S;f(m(D),w),k||null==E||p(E,w)}else p(b.strValue,w)}}for(var P=[ke,Te],O=0;O<r.length;O++){var I=r[O],A=t.styleKeys[I];P[0]=De(A[0],P[0]),P[1]=Pe(A[1],P[1])}t.styleKey=Oe(P[0],P[1]);var L=t.styleKeys;t.labelDimsKey=Ie(L.labelDimensions);var N=o(e,["label"],L.labelDimensions);if(t.labelKey=Ie(N),t.labelStyleKey=Ie(Ae(L.commonLabel,N)),!s){var R=o(e,["source-label"],L.labelDimensions);t.sourceLabelKey=Ie(R),t.sourceLabelStyleKey=Ie(Ae(L.commonLabel,R));var z=o(e,["target-label"],L.labelDimensions);t.targetLabelKey=Ie(z),t.targetLabelStyleKey=Ie(Ae(L.commonLabel,z))}if(s){var $=t.styleKeys,B=$.nodeBody,F=$.nodeBorder,j=$.backgroundImage,V=$.compound,H=$.pie,W=[B,F,j,V,H].filter((function(e){return null!=e})).reduce(Ae,[ke,Te]);t.nodeKey=Ie(W),t.hasPie=null!=H&&H[0]!==ke&&H[1]!==Te}return a!==t.styleKey},is.clearStyleHints=function(e){var t=e._private;t.styleCxtKey="",t.styleKeys={},t.styleKey=null,t.labelKey=null,t.labelStyleKey=null,t.sourceLabelKey=null,t.sourceLabelStyleKey=null,t.targetLabelKey=null,t.targetLabelStyleKey=null,t.nodeKey=null,t.hasPie=null},is.applyParsedProperty=function(e,t){var n,i=this,r=t,o=e._private.style,a=i.types,s=i.properties[r.name].type,l=r.bypass,u=o[r.name],c=u&&u.bypass,h=e._private,d="mapping",f=function(e){return null==e?null:null!=e.pfValue?e.pfValue:e.value},p=function(){var t=f(u),n=f(r);i.checkTriggers(e,r.name,t,n)};if(r&&"pie"===r.name.substr(0,3)&&Ye("The pie style properties are deprecated. Create charts using background images instead."),"curve-style"===t.name&&e.isEdge()&&("bezier"!==t.value&&e.isLoop()||"haystack"===t.value&&(e.source().isParent()||e.target().isParent()))&&(r=t=this.parse(t.name,"bezier",l)),r["delete"])return o[r.name]=void 0,p(),!0;if(r.deleteBypassed)return u?!!u.bypass&&(u.bypassed=void 0,p(),!0):(p(),!0);if(r.deleteBypass)return u?!!u.bypass&&(o[r.name]=u.bypassed,p(),!0):(p(),!0);var g=function(){Ye("Do not assign mappings to elements without corresponding data (i.e. ele `"+e.id()+"` has no mapping for property `"+r.name+"` with data field `"+r.field+"`); try a `["+r.field+"]` selector to limit scope to elements with `"+r.field+"` defined")};switch(r.mapped){case a.mapData:for(var m,v=r.field.split("."),y=h.data,b=0;b<v.length&&y;b++){var x=v[b];y=y[x]}if(null==y)return g(),!1;if(!z(y))return Ye("Do not use continuous mappers without specifying numeric data (i.e. `"+r.field+": "+y+"` for `"+e.id()+"` is non-numeric)"),!1;var _=r.fieldMax-r.fieldMin;if(m=0===_?0:(y-r.fieldMin)/_,m<0?m=0:m>1&&(m=1),s.color){var w=r.valueMin[0],C=r.valueMax[0],S=r.valueMin[1],k=r.valueMax[1],M=r.valueMin[2],T=r.valueMax[2],E=null==r.valueMin[3]?1:r.valueMin[3],D=null==r.valueMax[3]?1:r.valueMax[3],P=[Math.round(w+(C-w)*m),Math.round(S+(k-S)*m),Math.round(M+(T-M)*m),Math.round(E+(D-E)*m)];n={bypass:r.bypass,name:r.name,value:P,strValue:"rgb("+P[0]+", "+P[1]+", "+P[2]+")"}}else{if(!s.number)return!1;var O=r.valueMin+(r.valueMax-r.valueMin)*m;n=this.parse(r.name,O,r.bypass,d)}if(!n)return g(),!1;n.mapping=r,r=n;break;case a.data:for(var I=r.field.split("."),A=h.data,L=0;L<I.length&&A;L++){var N=I[L];A=A[N]}if(null!=A&&(n=this.parse(r.name,A,r.bypass,d)),!n)return g(),!1;n.mapping=r,r=n;break;case a.fn:var R=r.value,$=null!=r.fnValue?r.fnValue:R(e);if(r.prevFnValue=$,null==$)return Ye("Custom function mappers may not return null (i.e. `"+r.name+"` for ele `"+e.id()+"` is null)"),!1;if(n=this.parse(r.name,$,r.bypass,d),!n)return Ye("Custom function mappers may not return invalid values for the property type (i.e. `"+r.name+"` for ele `"+e.id()+"` is invalid)"),!1;n.mapping=Ze(r),r=n;break;case void 0:break;default:return!1}return l?(r.bypassed=c?u.bypassed:u,o[r.name]=r):c?u.bypassed=r:o[r.name]=r,p(),!0},is.cleanElements=function(e,t){for(var n=0;n<e.length;n++){var i=e[n];if(this.clearStyleHints(i),i.dirtyCompoundBoundsCache(),i.dirtyBoundingBoxCache(),t)for(var r=i._private.style,o=Object.keys(r),a=0;a<o.length;a++){var s=o[a],l=r[s];null!=l&&(l.bypass?l.bypassed=null:r[s]=null)}else i._private.style={}}},is.update=function(){var e=this._private.cy,t=e.mutableElements();t.updateStyle()},is.updateTransitions=function(e,t){var n=this,i=e._private,r=e.pstyle("transition-property").value,o=e.pstyle("transition-duration").pfValue,a=e.pstyle("transition-delay").pfValue;if(r.length>0&&o>0){for(var s={},l=!1,u=0;u<r.length;u++){var c=r[u],h=e.pstyle(c),d=t[c];if(d){var f=d.prev,p=f,g=null!=d.next?d.next:h,m=!1,v=void 0,y=1e-6;p&&(z(p.pfValue)&&z(g.pfValue)?(m=g.pfValue-p.pfValue,v=p.pfValue+y*m):z(p.value)&&z(g.value)?(m=g.value-p.value,v=p.value+y*m):L(p.value)&&L(g.value)&&(m=p.value[0]!==g.value[0]||p.value[1]!==g.value[1]||p.value[2]!==g.value[2],v=p.strValue),m&&(s[c]=g.strValue,this.applyBypass(e,c,v),l=!0))}}if(!l)return;i.transitioning=!0,new ur((function(t){a>0?e.delayAnimation(a).play().promise().then(t):t()})).then((function(){return e.animation({style:s,duration:o,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(e,r),e.emitAndNotify("style"),i.transitioning=!1}))}else i.transitioning&&(this.removeBypasses(e,r),e.emitAndNotify("style"),i.transitioning=!1)},is.checkTrigger=function(e,t,n,i,r,o){var a=this.properties[t],s=r(a);null!=s&&s(n,i)&&o(a)},is.checkZOrderTrigger=function(e,t,n,i){var r=this;this.checkTrigger(e,t,n,i,(function(e){return e.triggersZOrder}),(function(){r._private.cy.notify("zorder",e)}))},is.checkBoundsTrigger=function(e,t,n,i){this.checkTrigger(e,t,n,i,(function(e){return e.triggersBounds}),(function(r){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),!r.triggersBoundsOfParallelBeziers||("curve-style"!==t||"bezier"!==n&&"bezier"!==i)&&("display"!==t||"none"!==n&&"none"!==i)||e.parallelEdges().forEach((function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()}))}))},is.checkTriggers=function(e,t,n,i){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,i),this.checkBoundsTrigger(e,t,n,i)};var as={applyBypass:function(e,t,n,i){var r=this,o=[],a=!0;if("*"===t||"**"===t){if(void 0!==n)for(var s=0;s<r.properties.length;s++){var l=r.properties[s],u=l.name,c=this.parse(u,n,!0);c&&o.push(c)}}else if(I(t)){var h=this.parse(t,n,!0);h&&o.push(h)}else{if(!N(t))return!1;var d=t;i=n;for(var f=Object.keys(d),p=0;p<f.length;p++){var g=f[p],m=d[g];if(void 0===m&&(m=d[J(g)]),void 0!==m){var v=this.parse(g,m,!0);v&&o.push(v)}}}if(0===o.length)return!1;for(var y=!1,b=0;b<e.length;b++){for(var x=e[b],_={},w=void 0,C=0;C<o.length;C++){var S=o[C];if(i){var k=x.pstyle(S.name);w=_[S.name]={prev:k}}y=this.applyParsedProperty(x,Ze(S))||y,i&&(w.next=x.pstyle(S.name))}y&&this.updateStyleHints(x),i&&this.updateTransitions(x,_,a)}return y},overrideBypass:function(e,t,n){t=Q(t);for(var i=0;i<e.length;i++){var r=e[i],o=r._private.style[t],a=this.properties[t].type,s=a.color,l=a.mutiple,u=o?null!=o.pfValue?o.pfValue:o.value:null;o&&o.bypass?(o.value=n,null!=o.pfValue&&(o.pfValue=n),o.strValue=s?"rgb("+n.join(",")+")":l?n.join(" "):""+n,this.updateStyleHints(r)):this.applyBypass(r,t,n),this.checkTriggers(r,t,u,n)}},removeAllBypasses:function(e,t){return this.removeBypasses(e,this.propertyNames,t)},removeBypasses:function(e,t,n){for(var i=!0,r=0;r<e.length;r++){for(var o=e[r],a={},s=0;s<t.length;s++){var l=t[s],u=this.properties[l],c=o.pstyle(u.name);if(c&&c.bypass){var h="",d=this.parse(l,h,!0),f=a[u.name]={prev:c};this.applyParsedProperty(o,d),f.next=o.pstyle(u.name)}}this.updateStyleHints(o),n&&this.updateTransitions(o,a,i)}}},ss={getEmSizeInPixels:function(){var e=this.containerCss("font-size");return null!=e?parseFloat(e):1},containerCss:function(e){var t=this._private.cy,n=t.container(),i=t.window();if(i&&n&&i.getComputedStyle)return i.getComputedStyle(n).getPropertyValue(e)}},ls={getRenderedStyle:function(e,t){return t?this.getStylePropertyValue(e,t,!0):this.getRawStyle(e,!0)},getRawStyle:function(e,t){var n=this;if(e=e[0],e){for(var i={},r=0;r<n.properties.length;r++){var o=n.properties[r],a=n.getStylePropertyValue(e,o.name,t);null!=a&&(i[o.name]=a,i[J(o.name)]=a)}return i}},getIndexedStyle:function(e,t,n,i){var r=e.pstyle(t)[n][i];return null!=r?r:e.cy().style().getDefaultProperty(t)[n][0]},getStylePropertyValue:function(e,t,n){var i=this;if(e=e[0],e){var r=i.properties[t];r.alias&&(r=r.pointsTo);var o=r.type,a=e.pstyle(r.name);if(a){var s=a.value,l=a.units,u=a.strValue;if(n&&o.number&&null!=s&&z(s)){var c=e.cy().zoom(),h=function(e){return e*c},d=function(e,t){return h(e)+t},f=L(s),p=f?l.every((function(e){return null!=e})):null!=l;return p?f?s.map((function(e,t){return d(e,l[t])})).join(" "):d(s,l):f?s.map((function(e){return I(e)?e:""+h(e)})).join(" "):""+h(s)}if(null!=u)return u}return null}},getAnimationStartStyle:function(e,t){for(var n={},i=0;i<t.length;i++){var r=t[i],o=r.name,a=e.pstyle(o);void 0!==a&&(a=N(a)?this.parse(o,a.strValue):this.parse(o,a)),a&&(n[o]=a)}return n},getPropsList:function(e){var t=this,n=[],i=e,r=t.properties;if(i)for(var o=Object.keys(i),a=0;a<o.length;a++){var s=o[a],l=i[s],u=r[s]||r[Q(s)],c=this.parse(u.name,l);c&&n.push(c)}return n},getNonDefaultPropertiesHash:function(e,t,n){var i,r,o,a,s,l,u=n.slice();for(s=0;s<t.length;s++)if(i=t[s],r=e.pstyle(i,!1),null!=r)if(null!=r.pfValue)u[0]=De(a,u[0]),u[1]=Pe(a,u[1]);else for(o=r.strValue,l=0;l<o.length;l++)a=o.charCodeAt(l),u[0]=De(a,u[0]),u[1]=Pe(a,u[1]);return u}};ls.getPropertiesHash=ls.getNonDefaultPropertiesHash;var us={appendFromJson:function(e){for(var t=this,n=0;n<e.length;n++){var i=e[n],r=i.selector,o=i.style||i.css,a=Object.keys(o);t.selector(r);for(var s=0;s<a.length;s++){var l=a[s],u=o[l];t.css(l,u)}}return t},fromJson:function(e){var t=this;return t.resetToDefault(),t.appendFromJson(e),t},json:function(){for(var e=[],t=this.defaultLength;t<this.length;t++){for(var n=this[t],i=n.selector,r=n.properties,o={},a=0;a<r.length;a++){var s=r[a];o[s.name]=s.strValue}e.push({selector:i?i.toString():"core",style:o})}return e}},cs={appendFromString:function(e){var t,n,i,r=this,o=this,a=""+e;function s(){a=a.length>t.length?a.substr(t.length):""}function l(){n=n.length>i.length?n.substr(i.length):""}for(a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");;){var u=a.match(/^\s*$/);if(u)break;var c=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!c){Ye("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}t=c[0];var h=c[1];if("core"!==h){var d=new Hr(h);if(d.invalid){Ye("Skipping parsing of block: Invalid selector found in string stylesheet: "+h),s();continue}}var f=c[2],p=!1;n=f;for(var g=[];;){var m=n.match(/^\s*$/);if(m)break;var v=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!v){Ye("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+f),p=!0;break}i=v[0];var y=v[1],b=v[2],x=r.properties[y];if(x){var _=o.parse(y,b);_?(g.push({name:y,val:b}),l()):(Ye("Skipping property: Invalid property definition in: "+i),l())}else Ye("Skipping property: Invalid property name in: "+i),l()}if(p){s();break}o.selector(h);for(var w=0;w<g.length;w++){var C=g[w];o.css(C.name,C.val)}s()}return o},fromString:function(e){var t=this;return t.resetToDefault(),t.appendFromString(e),t}},hs={};(function(){var e=ne,t=re,n=ae,i=se,r=le,o=function(e){return"^"+e+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},a=function(o){var a=e+"|\\w+|"+t+"|"+n+"|"+i+"|"+r;return"^"+o+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+e+")\\s*\\,\\s*("+e+")\\s*,\\s*("+a+")\\s*\\,\\s*("+a+")\\)$"},s=["^url\\s*\\(\\s*['\"]?(.+?)['\"]?\\s*\\)$","^(none)$","^(.+)$"];hs.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},nonNegativeNumber:{number:!0,min:0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials","null"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","right-rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:o("data")},layoutData:{mapping:!0,regex:o("layoutData")},scratch:{mapping:!0,regex:o("scratch")},mapData:{mapping:!0,regex:a("mapData")},mapLayoutData:{mapping:!0,regex:a("mapLayoutData")},mapScratch:{mapping:!0,regex:a("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:s,singleRegexMatchValue:!0},urls:{regexes:s,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position","endpoints"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(e,t){switch(e.length){case 2:return"deg"!==t[0]&&"rad"!==t[0]&&"deg"!==t[1]&&"rad"!==t[1];case 1:return I(e[0])||"deg"===t[0]||"rad"===t[0];default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+e+")\\s*,\\s*("+e+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+e+")\\s*,\\s*("+e+")\\s*,\\s*("+e+")\\s*,\\s*("+e+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(e){var t=e.length;return 1===t||2===t||4===t}}};var l={zeroNonZero:function(e,t){return(null==e||null==t)&&e!==t||(0==e&&0!=t||0!=e&&0==t)},any:function(e,t){return e!=t},emptyNonEmpty:function(e,t){var n=q(e),i=q(t);return n&&!i||!n&&i}},u=hs.types,c=[{name:"label",type:u.text,triggersBounds:l.any,triggersZOrder:l.emptyNonEmpty},{name:"text-rotation",type:u.textRotation,triggersBounds:l.any},{name:"text-margin-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"text-margin-y",type:u.bidirectionalSize,triggersBounds:l.any}],h=[{name:"source-label",type:u.text,triggersBounds:l.any},{name:"source-text-rotation",type:u.textRotation,triggersBounds:l.any},{name:"source-text-margin-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"source-text-margin-y",type:u.bidirectionalSize,triggersBounds:l.any},{name:"source-text-offset",type:u.size,triggersBounds:l.any}],d=[{name:"target-label",type:u.text,triggersBounds:l.any},{name:"target-text-rotation",type:u.textRotation,triggersBounds:l.any},{name:"target-text-margin-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"target-text-margin-y",type:u.bidirectionalSize,triggersBounds:l.any},{name:"target-text-offset",type:u.size,triggersBounds:l.any}],f=[{name:"font-family",type:u.fontFamily,triggersBounds:l.any},{name:"font-style",type:u.fontStyle,triggersBounds:l.any},{name:"font-weight",type:u.fontWeight,triggersBounds:l.any},{name:"font-size",type:u.size,triggersBounds:l.any},{name:"text-transform",type:u.textTransform,triggersBounds:l.any},{name:"text-wrap",type:u.textWrap,triggersBounds:l.any},{name:"text-overflow-wrap",type:u.textOverflowWrap,triggersBounds:l.any},{name:"text-max-width",type:u.size,triggersBounds:l.any},{name:"text-outline-width",type:u.size,triggersBounds:l.any},{name:"line-height",type:u.positiveNumber,triggersBounds:l.any}],p=[{name:"text-valign",type:u.valign,triggersBounds:l.any},{name:"text-halign",type:u.halign,triggersBounds:l.any},{name:"color",type:u.color},{name:"text-outline-color",type:u.color},{name:"text-outline-opacity",type:u.zeroOneNumber},{name:"text-background-color",type:u.color},{name:"text-background-opacity",type:u.zeroOneNumber},{name:"text-background-padding",type:u.size,triggersBounds:l.any},{name:"text-border-opacity",type:u.zeroOneNumber},{name:"text-border-color",type:u.color},{name:"text-border-width",type:u.size,triggersBounds:l.any},{name:"text-border-style",type:u.borderStyle,triggersBounds:l.any},{name:"text-background-shape",type:u.textBackgroundShape,triggersBounds:l.any},{name:"text-justification",type:u.justification}],g=[{name:"events",type:u.bool,triggersZOrder:l.any},{name:"text-events",type:u.bool,triggersZOrder:l.any}],m=[{name:"display",type:u.display,triggersZOrder:l.any,triggersBounds:l.any,triggersBoundsOfParallelBeziers:!0},{name:"visibility",type:u.visibility,triggersZOrder:l.any},{name:"opacity",type:u.zeroOneNumber,triggersZOrder:l.zeroNonZero},{name:"text-opacity",type:u.zeroOneNumber},{name:"min-zoomed-font-size",type:u.size},{name:"z-compound-depth",type:u.zCompoundDepth,triggersZOrder:l.any},{name:"z-index-compare",type:u.zIndexCompare,triggersZOrder:l.any},{name:"z-index",type:u.number,triggersZOrder:l.any}],v=[{name:"overlay-padding",type:u.size,triggersBounds:l.any},{name:"overlay-color",type:u.color},{name:"overlay-opacity",type:u.zeroOneNumber,triggersBounds:l.zeroNonZero},{name:"overlay-shape",type:u.overlayShape,triggersBounds:l.any}],y=[{name:"underlay-padding",type:u.size,triggersBounds:l.any},{name:"underlay-color",type:u.color},{name:"underlay-opacity",type:u.zeroOneNumber,triggersBounds:l.zeroNonZero},{name:"underlay-shape",type:u.overlayShape,triggersBounds:l.any}],b=[{name:"transition-property",type:u.propList},{name:"transition-duration",type:u.time},{name:"transition-delay",type:u.time},{name:"transition-timing-function",type:u.easing}],x=function(e,t){return"label"===t.value?-e.poolIndex():t.pfValue},_=[{name:"height",type:u.nodeSize,triggersBounds:l.any,hashOverride:x},{name:"width",type:u.nodeSize,triggersBounds:l.any,hashOverride:x},{name:"shape",type:u.nodeShape,triggersBounds:l.any},{name:"shape-polygon-points",type:u.polygonPointList,triggersBounds:l.any},{name:"background-color",type:u.color},{name:"background-fill",type:u.fill},{name:"background-opacity",type:u.zeroOneNumber},{name:"background-blacken",type:u.nOneOneNumber},{name:"background-gradient-stop-colors",type:u.colors},{name:"background-gradient-stop-positions",type:u.percentages},{name:"background-gradient-direction",type:u.gradientDirection},{name:"padding",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"padding-relative-to",type:u.paddingRelativeTo,triggersBounds:l.any},{name:"bounds-expansion",type:u.boundsExpansion,triggersBounds:l.any}],w=[{name:"border-color",type:u.color},{name:"border-opacity",type:u.zeroOneNumber},{name:"border-width",type:u.size,triggersBounds:l.any},{name:"border-style",type:u.borderStyle}],C=[{name:"background-image",type:u.urls},{name:"background-image-crossorigin",type:u.bgCrossOrigin},{name:"background-image-opacity",type:u.zeroOneNumbers},{name:"background-image-containment",type:u.bgContainment},{name:"background-image-smoothing",type:u.bools},{name:"background-position-x",type:u.bgPos},{name:"background-position-y",type:u.bgPos},{name:"background-width-relative-to",type:u.bgRelativeTo},{name:"background-height-relative-to",type:u.bgRelativeTo},{name:"background-repeat",type:u.bgRepeat},{name:"background-fit",type:u.bgFit},{name:"background-clip",type:u.bgClip},{name:"background-width",type:u.bgWH},{name:"background-height",type:u.bgWH},{name:"background-offset-x",type:u.bgPos},{name:"background-offset-y",type:u.bgPos}],S=[{name:"position",type:u.position,triggersBounds:l.any},{name:"compound-sizing-wrt-labels",type:u.compoundIncludeLabels,triggersBounds:l.any},{name:"min-width",type:u.size,triggersBounds:l.any},{name:"min-width-bias-left",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"min-width-bias-right",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"min-height",type:u.size,triggersBounds:l.any},{name:"min-height-bias-top",type:u.sizeMaybePercent,triggersBounds:l.any},{name:"min-height-bias-bottom",type:u.sizeMaybePercent,triggersBounds:l.any}],k=[{name:"line-style",type:u.lineStyle},{name:"line-color",type:u.color},{name:"line-fill",type:u.fill},{name:"line-cap",type:u.lineCap},{name:"line-opacity",type:u.zeroOneNumber},{name:"line-dash-pattern",type:u.numbers},{name:"line-dash-offset",type:u.number},{name:"line-gradient-stop-colors",type:u.colors},{name:"line-gradient-stop-positions",type:u.percentages},{name:"curve-style",type:u.curveStyle,triggersBounds:l.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:u.zeroOneNumber,triggersBounds:l.any},{name:"source-endpoint",type:u.edgeEndpoint,triggersBounds:l.any},{name:"target-endpoint",type:u.edgeEndpoint,triggersBounds:l.any},{name:"control-point-step-size",type:u.size,triggersBounds:l.any},{name:"control-point-distances",type:u.bidirectionalSizes,triggersBounds:l.any},{name:"control-point-weights",type:u.numbers,triggersBounds:l.any},{name:"segment-distances",type:u.bidirectionalSizes,triggersBounds:l.any},{name:"segment-weights",type:u.numbers,triggersBounds:l.any},{name:"taxi-turn",type:u.bidirectionalSizeMaybePercent,triggersBounds:l.any},{name:"taxi-turn-min-distance",type:u.size,triggersBounds:l.any},{name:"taxi-direction",type:u.axisDirection,triggersBounds:l.any},{name:"edge-distances",type:u.edgeDistances,triggersBounds:l.any},{name:"arrow-scale",type:u.positiveNumber,triggersBounds:l.any},{name:"loop-direction",type:u.angle,triggersBounds:l.any},{name:"loop-sweep",type:u.angle,triggersBounds:l.any},{name:"source-distance-from-node",type:u.size,triggersBounds:l.any},{name:"target-distance-from-node",type:u.size,triggersBounds:l.any}],M=[{name:"ghost",type:u.bool,triggersBounds:l.any},{name:"ghost-offset-x",type:u.bidirectionalSize,triggersBounds:l.any},{name:"ghost-offset-y",type:u.bidirectionalSize,triggersBounds:l.any},{name:"ghost-opacity",type:u.zeroOneNumber}],T=[{name:"selection-box-color",type:u.color},{name:"selection-box-opacity",type:u.zeroOneNumber},{name:"selection-box-border-color",type:u.color},{name:"selection-box-border-width",type:u.size},{name:"active-bg-color",type:u.color},{name:"active-bg-opacity",type:u.zeroOneNumber},{name:"active-bg-size",type:u.size},{name:"outside-texture-bg-color",type:u.color},{name:"outside-texture-bg-opacity",type:u.zeroOneNumber}],E=[];hs.pieBackgroundN=16,E.push({name:"pie-size",type:u.sizeMaybePercent});for(var D=1;D<=hs.pieBackgroundN;D++)E.push({name:"pie-"+D+"-background-color",type:u.color}),E.push({name:"pie-"+D+"-background-size",type:u.percent}),E.push({name:"pie-"+D+"-background-opacity",type:u.zeroOneNumber});var P=[],O=hs.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:u.arrowShape,triggersBounds:l.any},{name:"arrow-color",type:u.color},{name:"arrow-fill",type:u.arrowFill}].forEach((function(e){O.forEach((function(t){var n=t+"-"+e.name,i=e.type,r=e.triggersBounds;P.push({name:n,type:i,triggersBounds:r})}))}),{});var A=hs.properties=[].concat(g,b,m,v,y,M,p,f,c,h,d,_,w,C,E,S,k,P,T),L=hs.propertyGroups={behavior:g,transition:b,visibility:m,overlay:v,underlay:y,ghost:M,commonLabel:p,labelDimensions:f,mainLabel:c,sourceLabel:h,targetLabel:d,nodeBody:_,nodeBorder:w,backgroundImage:C,pie:E,compound:S,edgeLine:k,edgeArrow:P,core:T},N=hs.propertyGroupNames={},R=hs.propertyGroupKeys=Object.keys(L);R.forEach((function(e){N[e]=L[e].map((function(e){return e.name})),L[e].forEach((function(t){return t.groupKey=e}))}));var z=hs.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];hs.propertyNames=A.map((function(e){return e.name}));for(var $=0;$<A.length;$++){var B=A[$];A[B.name]=B}for(var F=0;F<z.length;F++){var j=z[F],V=A[j.pointsTo],H={name:j.name,alias:!0,pointsTo:V};A.push(H),A[j.name]=H}})(),hs.getDefaultProperty=function(e){return this.getDefaultProperties()[e]},hs.getDefaultProperties=function(){var e=this._private;if(null!=e.defaultProperties)return e.defaultProperties;for(var t=he({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce((function(e,t){for(var n=1;n<=hs.pieBackgroundN;n++){var i=t.name.replace("{{i}}",n),r=t.value;e[i]=r}return e}),{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce((function(e,t){return hs.arrowPrefixes.forEach((function(n){var i=n+"-"+t.name,r=t.value;e[i]=r})),e}),{})),n={},i=0;i<this.properties.length;i++){var r=this.properties[i];if(!r.pointsTo){var o=r.name,a=t[o],s=this.parse(o,a);n[o]=s}}return e.defaultProperties=n,e.defaultProperties},hs.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var ds={parse:function(e,t,n,i){var r=this;if(A(t))return r.parseImplWarn(e,t,n,i);var o,a="mapping"===i||!0===i||!1===i||null==i?"dontcare":i,s=n?"t":"f",l=""+t,u=Re(e,l,s,a),c=r.propCache=r.propCache||[];return(o=c[u])||(o=c[u]=r.parseImplWarn(e,t,n,i)),(n||"mapping"===i)&&(o=Ze(o),o&&(o.value=Ze(o.value))),o},parseImplWarn:function(e,t,n,i){var r=this.parseImpl(e,t,n,i);return r||null==t||Ye("The style property `".concat(e,": ").concat(t,"` is invalid")),!r||"width"!==r.name&&"height"!==r.name||"label"!==t||Ye("The style value of `label` is deprecated for `"+r.name+"`"),r},parseImpl:function(e,t,n,i){var r=this;e=Q(e);var o=r.properties[e],a=t,s=r.types;if(!o)return null;if(void 0===t)return null;o.alias&&(o=o.pointsTo,e=o.name);var l=I(t);l&&(t=t.trim());var u,c,h=o.type;if(!h)return null;if(n&&(""===t||null===t))return{name:e,value:t,bypass:!0,deleteBypass:!0};if(A(t))return{name:e,value:t,strValue:"fn",mapped:s.fn,bypass:n};if(!l||i||t.length<7||"a"!==t[1]);else{if(t.length>=7&&"d"===t[0]&&(u=new RegExp(s.data.regex).exec(t))){if(n)return!1;var d=s.data;return{name:e,value:u,strValue:""+t,mapped:d,field:u[1],bypass:n}}if(t.length>=10&&"m"===t[0]&&(c=new RegExp(s.mapData.regex).exec(t))){if(n)return!1;if(h.multiple)return!1;var f=s.mapData;if(!h.color&&!h.number)return!1;var p=this.parse(e,c[4]);if(!p||p.mapped)return!1;var g=this.parse(e,c[5]);if(!g||g.mapped)return!1;if(p.pfValue===g.pfValue||p.strValue===g.strValue)return Ye("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+p.strValue+"`"),this.parse(e,p.strValue);if(h.color){var m=p.value,v=g.value,y=m[0]===v[0]&&m[1]===v[1]&&m[2]===v[2]&&(m[3]===v[3]||(null==m[3]||1===m[3])&&(null==v[3]||1===v[3]));if(y)return!1}return{name:e,value:c,strValue:""+t,mapped:f,field:c[1],fieldMin:parseFloat(c[2]),fieldMax:parseFloat(c[3]),valueMin:p.value,valueMax:g.value,bypass:n}}}if(h.multiple&&"multiple"!==i){var b;if(b=l?t.split(/\s+/):L(t)?t:[t],h.evenMultiple&&b.length%2!==0)return null;for(var x=[],_=[],w=[],C="",S=!1,k=0;k<b.length;k++){var M=r.parse(e,b[k],n,"multiple");S=S||I(M.value),x.push(M.value),w.push(null!=M.pfValue?M.pfValue:M.value),_.push(M.units),C+=(k>0?" ":"")+M.strValue}return h.validate&&!h.validate(x,_)?null:h.singleEnum&&S?1===x.length&&I(x[0])?{name:e,value:x[0],strValue:x[0],bypass:n}:null:{name:e,value:x,pfValue:w,strValue:C,bypass:n,units:_}}var T=function(){for(var i=0;i<h.enums.length;i++){var r=h.enums[i];if(r===t)return{name:e,value:t,strValue:""+t,bypass:n}}return null};if(h.number){var E,D="px";if(h.units&&(E=h.units),h.implicitUnits&&(D=h.implicitUnits),!h.unitless)if(l){var P="px|em"+(h.allowPercent?"|\\%":"");E&&(P=E);var O=t.match("^("+ne+")("+P+")?$");O&&(t=O[1],E=O[2]||D)}else E&&!h.implicitUnits||(E=D);if(t=parseFloat(t),isNaN(t)&&void 0===h.enums)return null;if(isNaN(t)&&void 0!==h.enums)return t=a,T();if(h.integer&&!$(t))return null;if(void 0!==h.min&&(t<h.min||h.strictMin&&t===h.min)||void 0!==h.max&&(t>h.max||h.strictMax&&t===h.max))return null;var N={name:e,value:t,strValue:""+t+(E||""),units:E,bypass:n};return h.unitless||"px"!==E&&"em"!==E?N.pfValue=t:N.pfValue="px"!==E&&E?this.getEmSizeInPixels()*t:t,"ms"!==E&&"s"!==E||(N.pfValue="ms"===E?t:1e3*t),"deg"!==E&&"rad"!==E||(N.pfValue="rad"===E?t:Rt(t)),"%"===E&&(N.pfValue=t/100),N}if(h.propList){var R=[],z=""+t;if("none"===z);else{for(var B=z.split(/\s*,\s*|\s+/),F=0;F<B.length;F++){var j=B[F].trim();r.properties[j]?R.push(j):Ye("`"+j+"` is not a valid property name")}if(0===R.length)return null}return{name:e,value:R,strValue:0===R.length?"none":R.join(" "),bypass:n}}if(h.color){var V=me(t);return V?{name:e,value:V,pfValue:V,strValue:"rgb("+V[0]+","+V[1]+","+V[2]+")",bypass:n}:null}if(h.regex||h.regexes){if(h.enums){var H=T();if(H)return H}for(var W=h.regexes?h.regexes:[h.regex],G=0;G<W.length;G++){var q=new RegExp(W[G]),U=q.exec(t);if(U)return{name:e,value:h.singleRegexMatchValue?U[1]:U,strValue:""+t,bypass:n}}return null}return h.string?{name:e,value:""+t,strValue:""+t,bypass:n}:h.enums?T():null}},fs=function e(t){if(!(this instanceof e))return new e(t);H(t)?(this._private={cy:t,coreStyle:{}},this.length=0,this.resetToDefault()):qe("A style must have a core reference")},ps=fs.prototype;ps.instanceString=function(){return"style"},ps.clear=function(){for(var e=this._private,t=e.cy,n=t.elements(),i=0;i<this.length;i++)this[i]=void 0;return this.length=0,e.contextStyles={},e.propDiffs={},this.cleanElements(n,!0),n.forEach((function(e){var t=e[0]._private;t.styleDirty=!0,t.appliedInitStyle=!1})),this},ps.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},ps.core=function(e){return this._private.coreStyle[e]||this.getDefaultProperty(e)},ps.selector=function(e){var t="core"===e?null:new Hr(e),n=this.length++;return this[n]={selector:t,properties:[],mappedProperties:[],index:n},this},ps.css=function(){var e=this,t=arguments;if(1===t.length)for(var n=t[0],i=0;i<e.properties.length;i++){var r=e.properties[i],o=n[r.name];void 0===o&&(o=n[J(r.name)]),void 0!==o&&this.cssRule(r.name,o)}else 2===t.length&&this.cssRule(t[0],t[1]);return this},ps.style=ps.css,ps.cssRule=function(e,t){var n=this.parse(e,t);if(n){var i=this.length-1;this[i].properties.push(n),this[i].properties[n.name]=n,n.name.match(/pie-(\d+)-background-size/)&&n.value&&(this._private.hasPie=!0),n.mapped&&this[i].mappedProperties.push(n);var r=!this[i].selector;r&&(this._private.coreStyle[n.name]=n)}return this},ps.append=function(e){return W(e)?e.appendToStyle(this):L(e)?this.appendFromJson(e):I(e)&&this.appendFromString(e),this},fs.fromJson=function(e,t){var n=new fs(e);return n.fromJson(t),n},fs.fromString=function(e,t){return new fs(e).fromString(t)},[is,as,ss,ls,us,cs,hs,ds].forEach((function(e){he(ps,e)})),fs.types=ps.types,fs.properties=ps.properties,fs.propertyGroups=ps.propertyGroups,fs.propertyGroupNames=ps.propertyGroupNames,fs.propertyGroupKeys=ps.propertyGroupKeys;var gs={style:function(e){if(e){var t=this.setStyle(e);t.update()}return this._private.style},setStyle:function(e){var t=this._private;return W(e)?t.style=e.generateStyle(this):L(e)?t.style=fs.fromJson(this,e):I(e)?t.style=fs.fromString(this,e):t.style=fs(this),t.style},updateStyle:function(){this.mutableElements().updateStyle()}},ms="single",vs={autolock:function(e){return void 0===e?this._private.autolock:(this._private.autolock=!!e,this)},autoungrabify:function(e){return void 0===e?this._private.autoungrabify:(this._private.autoungrabify=!!e,this)},autounselectify:function(e){return void 0===e?this._private.autounselectify:(this._private.autounselectify=!!e,this)},selectionType:function(e){var t=this._private;return null==t.selectionType&&(t.selectionType=ms),void 0===e?t.selectionType:("additive"!==e&&"single"!==e||(t.selectionType=e),this)},panningEnabled:function(e){return void 0===e?this._private.panningEnabled:(this._private.panningEnabled=!!e,this)},userPanningEnabled:function(e){return void 0===e?this._private.userPanningEnabled:(this._private.userPanningEnabled=!!e,this)},zoomingEnabled:function(e){return void 0===e?this._private.zoomingEnabled:(this._private.zoomingEnabled=!!e,this)},userZoomingEnabled:function(e){return void 0===e?this._private.userZoomingEnabled:(this._private.userZoomingEnabled=!!e,this)},boxSelectionEnabled:function(e){return void 0===e?this._private.boxSelectionEnabled:(this._private.boxSelectionEnabled=!!e,this)},pan:function(){var e,t,n,i,r,o=arguments,a=this._private.pan;switch(o.length){case 0:return a;case 1:if(I(o[0]))return e=o[0],a[e];if(N(o[0])){if(!this._private.panningEnabled)return this;n=o[0],i=n.x,r=n.y,z(i)&&(a.x=i),z(r)&&(a.y=r),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;e=o[0],t=o[1],"x"!==e&&"y"!==e||!z(t)||(a[e]=t),this.emit("pan viewport");break}return this.notify("viewport"),this},panBy:function(e,t){var n,i,r,o,a,s=arguments,l=this._private.pan;if(!this._private.panningEnabled)return this;switch(s.length){case 1:N(e)&&(r=s[0],o=r.x,a=r.y,z(o)&&(l.x+=o),z(a)&&(l.y+=a),this.emit("pan viewport"));break;case 2:n=e,i=t,"x"!==n&&"y"!==n||!z(i)||(l[n]+=i),this.emit("pan viewport");break}return this.notify("viewport"),this},fit:function(e,t){var n=this.getFitViewport(e,t);if(n){var i=this._private;i.zoom=n.zoom,i.pan=n.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(e,t){if(z(e)&&void 0===t&&(t=e,e=void 0),this._private.panningEnabled&&this._private.zoomingEnabled){var n;if(I(e)){var i=e;e=this.$(i)}else if(Y(e)){var r=e;n={x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2},n.w=n.x2-n.x1,n.h=n.y2-n.y1}else F(e)||(e=this.mutableElements());if(!F(e)||!e.empty()){n=n||e.boundingBox();var o,a=this.width(),s=this.height();if(t=z(t)?t:0,!isNaN(a)&&!isNaN(s)&&a>0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0){o=Math.min((a-2*t)/n.w,(s-2*t)/n.h),o=o>this._private.maxZoom?this._private.maxZoom:o,o=o<this._private.minZoom?this._private.minZoom:o;var l={x:(a-o*(n.x1+n.x2))/2,y:(s-o*(n.y1+n.y2))/2};return{zoom:o,pan:l}}}}},zoomRange:function(e,t){var n=this._private;if(null==t){var i=e;e=i.min,t=i.max}return z(e)&&z(t)&&e<=t?(n.minZoom=e,n.maxZoom=t):z(e)&&void 0===t&&e<=n.maxZoom?n.minZoom=e:z(t)&&void 0===e&&t>=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,i=this._private,r=i.pan,o=i.zoom,a=!1;if(i.zoomingEnabled||(a=!0),z(e)?n=e:N(e)&&(n=e.level,null!=e.position?t=Dt(e.position,o,r):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||i.panningEnabled||(a=!0)),n=n>i.maxZoom?i.maxZoom:n,n=n<i.minZoom?i.minZoom:n,a||!z(n)||n===o||null!=t&&(!z(t.x)||!z(t.y)))return null;if(null!=t){var s=r,l=o,u=n,c={x:-u/l*(t.x-s.x)+t.x,y:-u/l*(t.y-s.y)+t.y};return{zoomed:!0,panned:!0,zoom:u,pan:c}}return{zoomed:!0,panned:!1,zoom:n,pan:r}},zoom:function(e){if(void 0===e)return this._private.zoom;var t=this.getZoomedViewport(e),n=this._private;return null!=t&&t.zoomed?(n.zoom=t.zoom,t.panned&&(n.pan.x=t.pan.x,n.pan.y=t.pan.y),this.emit("zoom"+(t.panned?" pan":"")+" viewport"),this.notify("viewport"),this):this},viewport:function(e){var t=this._private,n=!0,i=!0,r=[],o=!1,a=!1;if(!e)return this;if(z(e.zoom)||(n=!1),N(e.pan)||(i=!1),!n&&!i)return this;if(n){var s=e.zoom;s<t.minZoom||s>t.maxZoom||!t.zoomingEnabled?o=!0:(t.zoom=s,r.push("zoom"))}if(i&&(!o||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;z(l.x)&&(t.pan.x=l.x,a=!1),z(l.y)&&(t.pan.y=l.y,a=!1),a||r.push("pan")}return r.length>0&&(r.push("viewport"),this.emit(r.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(I(e)){var n=e;e=this.mutableElements().filter(n)}else F(e)||(e=this.mutableElements());if(0!==e.length){var i=e.boundingBox(),r=this.width(),o=this.height();t=void 0===t?this._private.zoom:t;var a={x:(r-t*(i.x1+i.x2))/2,y:(o-t*(i.y1+i.y2))/2};return a}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e=this._private,t=e.container,n=this;return e.sizeCache=e.sizeCache||(t?function(){var e=n.window().getComputedStyle(t),i=function(t){return parseFloat(e.getPropertyValue(t))};return{width:t.clientWidth-i("padding-left")-i("padding-right"),height:t.clientHeight-i("padding-top")-i("padding-bottom")}}():{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),i={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return i.w=i.x2-i.x1,i.h=i.y2-i.y1,i},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};vs.centre=vs.center,vs.autolockNodes=vs.autolock,vs.autoungrabifyNodes=vs.autoungrabify;var ys={data:gr.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:gr.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:gr.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:gr.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};ys.attr=ys.data,ys.removeAttr=ys.removeData;var bs=function(e){var t=this;e=he({},e);var n=e.container;n&&!B(n)&&B(n[0])&&(n=n[0]);var i=n?n._cyreg:null;i=i||{},i&&i.cy&&(i.cy.destroy(),i={});var r=i.readies=i.readies||[];n&&(n._cyreg=i),i.cy=t;var o=void 0!==k&&void 0!==n&&!e.headless,a=e;a.layout=he({name:o?"grid":"null"},a.layout),a.renderer=he({name:o?"canvas":"null"},a.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n,ready:!1,options:a,elements:new Aa(this),listeners:[],aniEles:new Aa(this),data:a.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,a.zoomingEnabled),userZoomingEnabled:s(!0,a.userZoomingEnabled),panningEnabled:s(!0,a.panningEnabled),userPanningEnabled:s(!0,a.userPanningEnabled),boxSelectionEnabled:s(!0,a.boxSelectionEnabled),autolock:s(!1,a.autolock,a.autolockNodes),autoungrabify:s(!1,a.autoungrabify,a.autoungrabifyNodes),autounselectify:s(!1,a.autounselectify),styleEnabled:void 0===a.styleEnabled?o:a.styleEnabled,zoom:z(a.zoom)?a.zoom:1,pan:{x:N(a.pan)&&z(a.pan.x)?a.pan.x:0,y:N(a.pan)&&z(a.pan.y)?a.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,a.multiClickDebounceTime)};this.createEmitter(),this.selectionType(a.selectionType),this.zoomRange({min:a.minZoom,max:a.maxZoom});var u=function(e,t){var n=e.some(X);if(n)return ur.all(e).then(t);t(e)};l.styleEnabled&&t.setStyle([]);var c=he({},a,a.renderer);t.initRenderer(c);var h=function(e,n,i){t.notifications(!1);var r=t.mutableElements();r.length>0&&r.remove(),null!=e&&(N(e)||L(e))&&t.add(e),t.one("layoutready",(function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")})).one("layoutstop",(function(){t.one("done",i),t.emit("done")}));var o=he({},t._private.options.layout);o.eles=t.elements(),t.layout(o).run()};u([a.style,a.elements],(function(e){var n=e[0],o=e[1];l.styleEnabled&&t.style().append(n),h(o,(function(){t.startAnimationLoop(),l.ready=!0,A(a.ready)&&t.on("ready",a.ready);for(var e=0;e<r.length;e++){var n=r[e];t.on("ready",n)}i&&(i.readies=[]),t.emit("ready")}),a.done)}))},xs=bs.prototype;he(xs,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(e){return this.isReady()?this.emitter().emit("ready",[],e):this.on("ready",e),this},destroy:function(){var e=this;if(!e.destroyed())return e.stopAnimationLoop(),e.destroyRenderer(),this.emit("destroy"),e._private.destroyed=!0,e},hasElementWithId:function(e){return this._private.elements.hasElementWithId(e)},getElementById:function(e){return this._private.elements.getElementById(e)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(e){return this._private.elements.merge(e),this},removeFromPool:function(e){return this._private.elements.unmerge(e),this},container:function(){return this._private.container||null},window:function(){var e=this._private.container;if(null==e)return k;var t=this._private.container.ownerDocument;return void 0===t||null==t?k:t.defaultView||k},mount:function(e){if(null!=e){var t=this,n=t._private,i=n.options;return!B(e)&&B(e[0])&&(e=e[0]),t.stopAnimationLoop(),t.destroyRenderer(),n.container=e,n.styleEnabled=!0,t.invalidateSize(),t.initRenderer(he({},i,i.renderer,{name:"null"===i.renderer.name?"canvas":i.renderer.name})),t.startAnimationLoop(),t.style(i.style),t.emit("mount"),t}},unmount:function(){var e=this;return e.stopAnimationLoop(),e.destroyRenderer(),e.initRenderer({name:"null"}),e.emit("unmount"),e},options:function(){return Ze(this._private.options)},json:function(e){var t=this,n=t._private,i=t.mutableElements(),r=function(e){return t.getElementById(e.id())};if(N(e)){if(t.startBatch(),e.elements){var o={},a=function(e,n){for(var i=[],r=[],a=0;a<e.length;a++){var s=e[a];if(s.data.id){var l=""+s.data.id,u=t.getElementById(l);o[l]=!0,0!==u.length?r.push({ele:u,json:s}):n?(s.group=n,i.push(s)):i.push(s)}else Ye("cy.json() cannot handle elements without an ID attribute")}t.add(i);for(var c=0;c<r.length;c++){var h=r[c],d=h.ele,f=h.json;d.json(f)}};if(L(e.elements))a(e.elements);else for(var s=["nodes","edges"],l=0;l<s.length;l++){var u=s[l],c=e.elements[u];L(c)&&a(c,u)}var h=t.collection();i.filter((function(e){return!o[e.id()]})).forEach((function(e){e.isParent()?h.merge(e):e.remove()})),h.forEach((function(e){return e.children().move({parent:null})})),h.forEach((function(e){return r(e).remove()}))}e.style&&t.style(e.style),null!=e.zoom&&e.zoom!==n.zoom&&t.zoom(e.zoom),e.pan&&(e.pan.x===n.pan.x&&e.pan.y===n.pan.y||t.pan(e.pan)),e.data&&t.data(e.data);for(var d=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],f=0;f<d.length;f++){var p=d[f];null!=e[p]&&t[p](e[p])}return t.endBatch(),this}var g=!!e,m={};g?m.elements=this.elements().map((function(e){return e.json()})):(m.elements={},i.forEach((function(e){var t=e.group();m.elements[t]||(m.elements[t]=[]),m.elements[t].push(e.json())}))),this._private.styleEnabled&&(m.style=t.style().json()),m.data=Ze(t.data());var v=n.options;return m.zoomingEnabled=n.zoomingEnabled,m.userZoomingEnabled=n.userZoomingEnabled,m.zoom=n.zoom,m.minZoom=n.minZoom,m.maxZoom=n.maxZoom,m.panningEnabled=n.panningEnabled,m.userPanningEnabled=n.userPanningEnabled,m.pan=Ze(n.pan),m.boxSelectionEnabled=n.boxSelectionEnabled,m.renderer=Ze(v.renderer),m.hideEdgesOnViewport=v.hideEdgesOnViewport,m.textureOnViewport=v.textureOnViewport,m.wheelSensitivity=v.wheelSensitivity,m.motionBlur=v.motionBlur,m.multiClickDebounceTime=v.multiClickDebounceTime,m}}),xs.$id=xs.getElementById,[Na,Ua,Za,Ka,Qa,Ja,ts,ns,gs,vs,ys].forEach((function(e){he(xs,e)}));var _s={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}},ws={maximal:!1,acyclic:!1},Cs=function(e){return e.scratch("breadthfirst")},Ss=function(e,t){return e.scratch("breadthfirst",t)};function ks(e){this.options=he({},_s,ws,e)}ks.prototype.run=function(){var e,t=this.options,n=t,i=t.cy,r=n.eles,o=r.nodes().filter((function(e){return!e.isParent()})),a=r,s=n.directed,l=n.acyclic||n.maximal||n.maximalAdjustments>0,u=Ut(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()});if(F(n.roots))e=n.roots;else if(L(n.roots)){for(var c=[],h=0;h<n.roots.length;h++){var d=n.roots[h],f=i.getElementById(d);c.push(f)}e=i.collection(c)}else if(I(n.roots))e=i.$(n.roots);else if(s)e=o.roots();else{var p=r.components();e=i.collection();for(var g=function(t){var n=p[t],i=n.maxDegree(!1),r=n.filter((function(e){return e.degree(!1)===i}));e=e.add(r)},m=0;m<p.length;m++)g(m)}var v=[],y={},b=function(e,t){null==v[t]&&(v[t]=[]);var n=v[t].length;v[t].push(e),Ss(e,{index:n,depth:t})},x=function(e,t){var n=Cs(e),i=n.depth,r=n.index;v[i][r]=null,b(e,t)};a.bfs({roots:e,directed:n.directed,visit:function(e,t,n,i,r){var o=e[0],a=o.id();b(o,r),y[a]=!0}});for(var _=[],w=0;w<o.length;w++){var C=o[w];y[C.id()]||_.push(C)}var S=function(e){for(var t=v[e],n=0;n<t.length;n++){var i=t[n];null!=i?Ss(i,{depth:e,index:n}):(t.splice(n,1),n--)}},k=function(){for(var e=0;e<v.length;e++)S(e)},M=function(e,t){for(var i=Cs(e),o=e.incomers().filter((function(e){return e.isNode()&&r.has(e)})),a=-1,s=e.id(),l=0;l<o.length;l++){var u=o[l],c=Cs(u);a=Math.max(a,c.depth)}if(i.depth<=a){if(!n.acyclic&&t[s])return null;var h=a+1;return x(e,h),t[s]=h,!0}return!1};if(s&&l){var T=[],E={},D=function(e){return T.push(e)},P=function(){return T.shift()};o.forEach((function(e){return T.push(e)}));while(T.length>0){var O=P(),A=M(O,E);if(A)O.outgoers().filter((function(e){return e.isNode()&&r.has(e)})).forEach(D);else if(null===A){Ye("Detected double maximal shift for node `"+O.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}k();var N=0;if(n.avoidOverlap)for(var R=0;R<o.length;R++){var z=o[R],$=z.layoutDimensions(n),B=$.w,j=$.h;N=Math.max(N,B,j)}var V={},H=function(e){if(V[e.id()])return V[e.id()];for(var t=Cs(e).depth,n=e.neighborhood(),i=0,r=0,a=0;a<n.length;a++){var s=n[a];if(!s.isEdge()&&!s.isParent()&&o.has(s)){var l=Cs(s);if(null!=l){var u=l.index,c=l.depth;if(null!=u&&null!=c){var h=v[c].length;c<t&&(i+=u/h,r++)}}}}return r=Math.max(1,r),i/=r,0===r&&(i=0),V[e.id()]=i,i},W=function(e,t){var n=H(e),i=H(t),r=n-i;return 0===r?ue(e.id(),t.id()):r};void 0!==n.depthSort&&(W=n.depthSort);for(var G=0;G<v.length;G++)v[G].sort(W),S(G);for(var q=[],U=0;U<_.length;U++)q.push(_[U]);v.unshift(q),k();for(var Y=0,X=0;X<v.length;X++)Y=Math.max(v[X].length,Y);var Z={x:u.x1+u.w/2,y:u.x1+u.h/2},K=v.reduce((function(e,t){return Math.max(e,t.length)}),0),Q=function(e){var t=Cs(e),i=t.depth,r=t.index,o=v[i].length,a=Math.max(u.w/((n.grid?K:o)+1),N),s=Math.max(u.h/(v.length+1),N),l=Math.min(u.w/2/v.length,u.h/2/v.length);if(l=Math.max(l,N),n.circle){var c=l*i+l-(v.length>0&&v[0].length<=3?l/2:0),h=2*Math.PI/v[i].length*r;return 0===i&&1===v[0].length&&(c=1),{x:Z.x+c*Math.cos(h),y:Z.y+c*Math.sin(h)}}var d={x:Z.x+(r+1-(o+1)/2)*a,y:(i+1)*s};return d};return r.nodes().layoutPositions(this,n,Q),this};var Ms={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function Ts(e){this.options=he({},Ms,e)}Ts.prototype.run=function(){var e=this.options,t=e,n=e.cy,i=t.eles,r=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,o=i.nodes().not(":parent");t.sort&&(o=o.sort(t.sort));for(var a,s=Ut(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l={x:s.x1+s.w/2,y:s.y1+s.h/2},u=void 0===t.sweep?2*Math.PI-2*Math.PI/o.length:t.sweep,c=u/Math.max(1,o.length-1),h=0,d=0;d<o.length;d++){var f=o[d],p=f.layoutDimensions(t),g=p.w,m=p.h;h=Math.max(h,g,m)}if(a=z(t.radius)?t.radius:o.length<=1?0:Math.min(s.h,s.w)/2-h,o.length>1&&t.avoidOverlap){h*=1.75;var v=Math.cos(c)-Math.cos(0),y=Math.sin(c)-Math.sin(0),b=Math.sqrt(h*h/(v*v+y*y));a=Math.max(b,a)}var x=function(e,n){var i=t.startAngle+n*c*(r?1:-1),o=a*Math.cos(i),s=a*Math.sin(i),u={x:l.x+o,y:l.y+s};return u};return i.nodes().layoutPositions(this,t,x),this};var Es,Ds={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function Ps(e){this.options=he({},Ds,e)}Ps.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,i=e.cy,r=t.eles,o=r.nodes().not(":parent"),a=Ut(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()}),s={x:a.x1+a.w/2,y:a.y1+a.h/2},l=[],u=0,c=0;c<o.length;c++){var h=o[c],d=void 0;d=t.concentric(h),l.push({value:d,node:h}),h._private.scratch.concentric=d}o.updateStyle();for(var f=0;f<o.length;f++){var p=o[f],g=p.layoutDimensions(t);u=Math.max(u,g.w,g.h)}l.sort((function(e,t){return t.value-e.value}));for(var m=t.levelWidth(o),v=[[]],y=v[0],b=0;b<l.length;b++){var x=l[b];if(y.length>0){var _=Math.abs(y[0].value-x.value);_>=m&&(y=[],v.push(y))}y.push(x)}var w=u+t.minNodeSpacing;if(!t.avoidOverlap){var C=v.length>0&&v[0].length>1,S=Math.min(a.w,a.h)/2-w,k=S/(v.length+C?1:0);w=Math.min(w,k)}for(var M=0,T=0;T<v.length;T++){var E=v[T],D=void 0===t.sweep?2*Math.PI-2*Math.PI/E.length:t.sweep,P=E.dTheta=D/Math.max(1,E.length-1);if(E.length>1&&t.avoidOverlap){var O=Math.cos(P)-Math.cos(0),I=Math.sin(P)-Math.sin(0),A=Math.sqrt(w*w/(O*O+I*I));M=Math.max(A,M)}E.r=M,M+=w}if(t.equidistant){for(var L=0,N=0,R=0;R<v.length;R++){var z=v[R],$=z.r-N;L=Math.max(L,$)}N=0;for(var B=0;B<v.length;B++){var F=v[B];0===B&&(N=F.r),F.r=N,N+=L}}for(var j={},V=0;V<v.length;V++)for(var H=v[V],W=H.dTheta,G=H.r,q=0;q<H.length;q++){var U=H[q],Y=t.startAngle+(n?1:-1)*W*q,X={x:s.x+G*Math.cos(Y),y:s.y+G*Math.sin(Y)};j[U.node.id()]=X}return r.nodes().layoutPositions(this,t,(function(e){var t=e.id();return j[t]})),this};var Os={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(e,t){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(e){return 2048},nodeOverlap:4,idealEdgeLength:function(e){return 32},edgeElasticity:function(e){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function Is(e){this.options=he({},Os,e),this.options.layout=this;var t=this.options.eles.nodes(),n=this.options.eles.edges(),i=n.filter((function(e){var n=e.source().data("id"),i=e.target().data("id"),r=t.some((function(e){return e.data("id")===n})),o=t.some((function(e){return e.data("id")===i}));return!r||!o}));this.options.eles=this.options.eles.not(i)}Is.prototype.run=function(){var e=this.options,t=e.cy,n=this;n.stopped=!1,!0!==e.animate&&!1!==e.animate||n.emit({type:"layoutstart",layout:n}),Es=!0===e.debug;var i=Ls(t,n,e);Es&&As(i),e.randomize&&zs(i);var r=Se(),o=function(){Bs(i,t,e),!0===e.fit&&t.fit(e.padding)},a=function(t){return!(n.stopped||t>=e.numIter)&&(Fs(i,e),i.temperature=i.temperature*e.coolingFactor,!(i.temperature<e.minTemp))},s=function(){if(!0===e.animate||!1===e.animate)o(),n.one("layoutstop",e.stop),n.emit({type:"layoutstop",layout:n});else{var t=e.eles.nodes(),r=$s(i,e,t);t.layoutPositions(n,e,r)}},l=0,u=!0;if(!0===e.animate){var c=function t(){var n=0;while(u&&n<e.refresh)u=a(l),l++,n++;if(u){var c=Se();c-r>=e.animationThreshold&&o(),Ce(t)}else Qs(i,e),s()};c()}else{while(u)u=a(l),l++;Qs(i,e),s()}return this},Is.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},Is.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var As,Ls=function(e,t,n){for(var i=n.eles.edges(),r=n.eles.nodes(),o=Ut(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),a={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:r.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:i.size(),temperature:n.initialTemp,clientWidth:o.w,clientHeight:o.h,boundingBox:o},s=n.eles.components(),l={},u=0;u<s.length;u++)for(var c=s[u],h=0;h<c.length;h++){var d=c[h];l[d.id()]=u}for(u=0;u<a.nodeSize;u++){var f=r[u],p=f.layoutDimensions(n),g={};g.isLocked=f.locked(),g.id=f.data("id"),g.parentId=f.data("parent"),g.cmptId=l[f.id()],g.children=[],g.positionX=f.position("x"),g.positionY=f.position("y"),g.offsetX=0,g.offsetY=0,g.height=p.w,g.width=p.h,g.maxX=g.positionX+g.width/2,g.minX=g.positionX-g.width/2,g.maxY=g.positionY+g.height/2,g.minY=g.positionY-g.height/2,g.padLeft=parseFloat(f.style("padding")),g.padRight=parseFloat(f.style("padding")),g.padTop=parseFloat(f.style("padding")),g.padBottom=parseFloat(f.style("padding")),g.nodeRepulsion=A(n.nodeRepulsion)?n.nodeRepulsion(f):n.nodeRepulsion,a.layoutNodes.push(g),a.idToIndex[g.id]=u}var m=[],v=0,y=-1,b=[];for(u=0;u<a.nodeSize;u++){f=a.layoutNodes[u];var x=f.parentId;null!=x?a.layoutNodes[a.idToIndex[x]].children.push(f.id):(m[++y]=f.id,b.push(f.id))}a.graphSet.push(b);while(v<=y){var _=m[v++],w=a.idToIndex[_],C=(d=a.layoutNodes[w],d.children);if(C.length>0){a.graphSet.push(C);for(u=0;u<C.length;u++)m[++y]=C[u]}}for(u=0;u<a.graphSet.length;u++){var S=a.graphSet[u];for(h=0;h<S.length;h++){var k=a.idToIndex[S[h]];a.indexToGraph[k]=u}}for(u=0;u<a.edgeSize;u++){var M=i[u],T={};T.id=M.data("id"),T.sourceId=M.data("source"),T.targetId=M.data("target");var E=A(n.idealEdgeLength)?n.idealEdgeLength(M):n.idealEdgeLength,D=A(n.edgeElasticity)?n.edgeElasticity(M):n.edgeElasticity,P=a.idToIndex[T.sourceId],O=a.idToIndex[T.targetId],I=a.indexToGraph[P],L=a.indexToGraph[O];if(I!=L){var N=Ns(T.sourceId,T.targetId,a),R=a.graphSet[N],z=0;g=a.layoutNodes[P];while(-1===R.indexOf(g.id))g=a.layoutNodes[a.idToIndex[g.parentId]],z++;g=a.layoutNodes[O];while(-1===R.indexOf(g.id))g=a.layoutNodes[a.idToIndex[g.parentId]],z++;E*=z*n.nestingFactor}T.idealLength=E,T.elasticity=D,a.layoutEdges.push(T)}return a},Ns=function(e,t,n){var i=Rs(e,t,0,n);return 2>i.count?0:i.graph},Rs=function e(t,n,i,r){var o=r.graphSet[i];if(-1<o.indexOf(t)&&-1<o.indexOf(n))return{count:2,graph:i};for(var a=0,s=0;s<o.length;s++){var l=o[s],u=r.idToIndex[l],c=r.layoutNodes[u].children;if(0!==c.length){var h=r.indexToGraph[r.idToIndex[c[0]]],d=e(t,n,h,r);if(0!==d.count){if(1!==d.count)return d;if(a++,2===a)break}}}return{count:a,graph:i}},zs=function(e,t){for(var n=e.clientWidth,i=e.clientHeight,r=0;r<e.nodeSize;r++){var o=e.layoutNodes[r];0!==o.children.length||o.isLocked||(o.positionX=Math.random()*n,o.positionY=Math.random()*i)}},$s=function(e,t,n){var i=e.boundingBox,r={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return t.boundingBox&&(n.forEach((function(t){var n=e.layoutNodes[e.idToIndex[t.data("id")]];r.x1=Math.min(r.x1,n.positionX),r.x2=Math.max(r.x2,n.positionX),r.y1=Math.min(r.y1,n.positionY),r.y2=Math.max(r.y2,n.positionY)})),r.w=r.x2-r.x1,r.h=r.y2-r.y1),function(n,o){var a=e.layoutNodes[e.idToIndex[n.data("id")]];if(t.boundingBox){var s=(a.positionX-r.x1)/r.w,l=(a.positionY-r.y1)/r.h;return{x:i.x1+s*i.w,y:i.y1+l*i.h}}return{x:a.positionX,y:a.positionY}}},Bs=function(e,t,n){var i=n.layout,r=n.eles.nodes(),o=$s(e,n,r);r.positions(o),!0!==e.ready&&(e.ready=!0,i.one("layoutready",n.ready),i.emit({type:"layoutready",layout:this}))},Fs=function(e,t,n){js(e,t),qs(e),Us(e,t),Ys(e),Xs(e)},js=function(e,t){for(var n=0;n<e.graphSet.length;n++)for(var i=e.graphSet[n],r=i.length,o=0;o<r;o++)for(var a=e.layoutNodes[e.idToIndex[i[o]]],s=o+1;s<r;s++){var l=e.layoutNodes[e.idToIndex[i[s]]];Hs(a,l,e,t)}},Vs=function(e){return-e+2*e*Math.random()},Hs=function(e,t,n,i){var r=e.cmptId,o=t.cmptId;if(r===o||n.isCompound){var a=t.positionX-e.positionX,s=t.positionY-e.positionY,l=1;0===a&&0===s&&(a=Vs(l),s=Vs(l));var u=Ws(e,t,a,s);if(u>0)var c=i.nodeOverlap*u,h=Math.sqrt(a*a+s*s),d=c*a/h,f=c*s/h;else{var p=Gs(e,a,s),g=Gs(t,-1*a,-1*s),m=g.x-p.x,v=g.y-p.y,y=m*m+v*v;h=Math.sqrt(y),c=(e.nodeRepulsion+t.nodeRepulsion)/y,d=c*m/h,f=c*v/h}e.isLocked||(e.offsetX-=d,e.offsetY-=f),t.isLocked||(t.offsetX+=d,t.offsetY+=f)}},Ws=function(e,t,n,i){if(n>0)var r=e.maxX-t.minX;else r=t.maxX-e.minX;if(i>0)var o=e.maxY-t.minY;else o=t.maxY-e.minY;return r>=0&&o>=0?Math.sqrt(r*r+o*o):0},Gs=function(e,t,n){var i=e.positionX,r=e.positionY,o=e.height||1,a=e.width||1,s=n/t,l=o/a,u={};return 0===t&&0<n||0===t&&0>n?(u.x=i,u.y=r+o/2,u):0<t&&-1*l<=s&&s<=l?(u.x=i+a/2,u.y=r+a*n/2/t,u):0>t&&-1*l<=s&&s<=l?(u.x=i-a/2,u.y=r-a*n/2/t,u):0<n&&(s<=-1*l||s>=l)?(u.x=i+o*t/2/n,u.y=r+o/2,u):0>n&&(s<=-1*l||s>=l)?(u.x=i-o*t/2/n,u.y=r-o/2,u):u},qs=function(e,t){for(var n=0;n<e.edgeSize;n++){var i=e.layoutEdges[n],r=e.idToIndex[i.sourceId],o=e.layoutNodes[r],a=e.idToIndex[i.targetId],s=e.layoutNodes[a],l=s.positionX-o.positionX,u=s.positionY-o.positionY;if(0!==l||0!==u){var c=Gs(o,l,u),h=Gs(s,-1*l,-1*u),d=h.x-c.x,f=h.y-c.y,p=Math.sqrt(d*d+f*f),g=Math.pow(i.idealLength-p,2)/i.elasticity;if(0!==p)var m=g*d/p,v=g*f/p;else m=0,v=0;o.isLocked||(o.offsetX+=m,o.offsetY+=v),s.isLocked||(s.offsetX-=m,s.offsetY-=v)}}},Us=function(e,t){if(0!==t.gravity)for(var n=1,i=0;i<e.graphSet.length;i++){var r=e.graphSet[i],o=r.length;if(0===i)var a=e.clientHeight/2,s=e.clientWidth/2;else{var l=e.layoutNodes[e.idToIndex[r[0]]],u=e.layoutNodes[e.idToIndex[l.parentId]];a=u.positionX,s=u.positionY}for(var c=0;c<o;c++){var h=e.layoutNodes[e.idToIndex[r[c]]];if(!h.isLocked){var d=a-h.positionX,f=s-h.positionY,p=Math.sqrt(d*d+f*f);if(p>n){var g=t.gravity*d/p,m=t.gravity*f/p;h.offsetX+=g,h.offsetY+=m}}}}},Ys=function(e,t){var n=[],i=0,r=-1;n.push.apply(n,e.graphSet[0]),r+=e.graphSet[0].length;while(i<=r){var o=n[i++],a=e.idToIndex[o],s=e.layoutNodes[a],l=s.children;if(0<l.length&&!s.isLocked){for(var u=s.offsetX,c=s.offsetY,h=0;h<l.length;h++){var d=e.layoutNodes[e.idToIndex[l[h]]];d.offsetX+=u,d.offsetY+=c,n[++r]=l[h]}s.offsetX=0,s.offsetY=0}}},Xs=function(e,t){for(var n=0;n<e.nodeSize;n++){var i=e.layoutNodes[n];0<i.children.length&&(i.maxX=void 0,i.minX=void 0,i.maxY=void 0,i.minY=void 0)}for(n=0;n<e.nodeSize;n++){i=e.layoutNodes[n];if(!(0<i.children.length||i.isLocked)){var r=Zs(i.offsetX,i.offsetY,e.temperature);i.positionX+=r.x,i.positionY+=r.y,i.offsetX=0,i.offsetY=0,i.minX=i.positionX-i.width,i.maxX=i.positionX+i.width,i.minY=i.positionY-i.height,i.maxY=i.positionY+i.height,Ks(i,e)}}for(n=0;n<e.nodeSize;n++){i=e.layoutNodes[n];0<i.children.length&&!i.isLocked&&(i.positionX=(i.maxX+i.minX)/2,i.positionY=(i.maxY+i.minY)/2,i.width=i.maxX-i.minX,i.height=i.maxY-i.minY)}},Zs=function(e,t,n){var i=Math.sqrt(e*e+t*t);if(i>n)var r={x:n*e/i,y:n*t/i};else r={x:e,y:t};return r},Ks=function e(t,n){var i=t.parentId;if(null!=i){var r=n.layoutNodes[n.idToIndex[i]],o=!1;return(null==r.maxX||t.maxX+r.padRight>r.maxX)&&(r.maxX=t.maxX+r.padRight,o=!0),(null==r.minX||t.minX-r.padLeft<r.minX)&&(r.minX=t.minX-r.padLeft,o=!0),(null==r.maxY||t.maxY+r.padBottom>r.maxY)&&(r.maxY=t.maxY+r.padBottom,o=!0),(null==r.minY||t.minY-r.padTop<r.minY)&&(r.minY=t.minY-r.padTop,o=!0),o?e(r,n):void 0}},Qs=function(e,t){for(var n=e.layoutNodes,i=[],r=0;r<n.length;r++){var o=n[r],a=o.cmptId,s=i[a]=i[a]||[];s.push(o)}var l=0;for(r=0;r<i.length;r++){var u=i[r];if(u){u.x1=1/0,u.x2=-1/0,u.y1=1/0,u.y2=-1/0;for(var c=0;c<u.length;c++){var h=u[c];u.x1=Math.min(u.x1,h.positionX-h.width/2),u.x2=Math.max(u.x2,h.positionX+h.width/2),u.y1=Math.min(u.y1,h.positionY-h.height/2),u.y2=Math.max(u.y2,h.positionY+h.height/2)}u.w=u.x2-u.x1,u.h=u.y2-u.y1,l+=u.w*u.h}}i.sort((function(e,t){return t.w*t.h-e.w*e.h}));var d=0,f=0,p=0,g=0,m=Math.sqrt(l)*e.clientWidth/e.clientHeight;for(r=0;r<i.length;r++){u=i[r];if(u){for(c=0;c<u.length;c++){h=u[c];h.isLocked||(h.positionX+=d-u.x1,h.positionY+=f-u.y1)}d+=u.w+t.componentSpacing,p+=u.w+t.componentSpacing,g=Math.max(g,u.h),p>m&&(f+=g+t.componentSpacing,d=0,p=0,g=0)}}},Js={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function el(e){this.options=he({},Js,e)}el.prototype.run=function(){var e=this.options,t=e,n=e.cy,i=t.eles,r=i.nodes().not(":parent");t.sort&&(r=r.sort(t.sort));var o=Ut(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===o.h||0===o.w)i.nodes().layoutPositions(this,t,(function(e){return{x:o.x1,y:o.y1}}));else{var a=r.size(),s=Math.sqrt(a*o.h/o.w),l=Math.round(s),u=Math.round(o.w/o.h*s),c=function(e){if(null==e)return Math.min(l,u);var t=Math.min(l,u);t==l?l=e:u=e},h=function(e){if(null==e)return Math.max(l,u);var t=Math.max(l,u);t==l?l=e:u=e},d=t.rows,f=null!=t.cols?t.cols:t.columns;if(null!=d&&null!=f)l=d,u=f;else if(null!=d&&null==f)l=d,u=Math.ceil(a/l);else if(null==d&&null!=f)u=f,l=Math.ceil(a/u);else if(u*l>a){var p=c(),g=h();(p-1)*g>=a?c(p-1):(g-1)*p>=a&&h(g-1)}else while(u*l<a){var m=c(),v=h();(v+1)*m>=a?h(v+1):c(m+1)}var y=o.w/u,b=o.h/l;if(t.condense&&(y=0,b=0),t.avoidOverlap)for(var x=0;x<r.length;x++){var _=r[x],w=_._private.position;null!=w.x&&null!=w.y||(w.x=0,w.y=0);var C=_.layoutDimensions(t),S=t.avoidOverlapPadding,k=C.w+S,M=C.h+S;y=Math.max(y,k),b=Math.max(b,M)}for(var T={},E=function(e,t){return!!T["c-"+e+"-"+t]},D=function(e,t){T["c-"+e+"-"+t]=!0},P=0,O=0,I=function(){O++,O>=u&&(O=0,P++)},A={},L=0;L<r.length;L++){var N=r[L],R=t.position(N);if(R&&(void 0!==R.row||void 0!==R.col)){var z={row:R.row,col:R.col};if(void 0===z.col){z.col=0;while(E(z.row,z.col))z.col++}else if(void 0===z.row){z.row=0;while(E(z.row,z.col))z.row++}A[N.id()]=z,D(z.row,z.col)}}var $=function(e,t){var n,i;if(e.locked()||e.isParent())return!1;var r=A[e.id()];if(r)n=r.col*y+y/2+o.x1,i=r.row*b+b/2+o.y1;else{while(E(P,O))I();n=O*y+y/2+o.x1,i=P*b+b/2+o.y1,D(P,O),I()}return{x:n,y:i}};r.layoutPositions(this,t,$)}return this};var tl={ready:function(){},stop:function(){}};function nl(e){this.options=he({},tl,e)}nl.prototype.run=function(){var e=this.options,t=e.eles,n=this;return e.cy,n.emit("layoutstart"),t.nodes().positions((function(){return{x:0,y:0}})),n.one("layoutready",e.ready),n.emit("layoutready"),n.one("layoutstop",e.stop),n.emit("layoutstop"),this},nl.prototype.stop=function(){return this};var il={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,spacingFactor:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function rl(e){this.options=he({},il,e)}rl.prototype.run=function(){var e=this.options,t=e.eles,n=t.nodes(),i=A(e.positions);function r(t){if(null==e.positions)return Et(t.position());if(i)return e.positions(t);var n=e.positions[t._private.data.id];return null==n?null:n}return n.layoutPositions(this,e,(function(e,t){var n=r(e);return!e.locked()&&null!=n&&n})),this};var ol={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function al(e){this.options=he({},ol,e)}al.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,i=Ut(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()}),r=function(e,t){return{x:i.x1+Math.round(Math.random()*i.w),y:i.y1+Math.round(Math.random()*i.h)}};return n.nodes().layoutPositions(this,e,r),this};var sl=[{name:"breadthfirst",impl:ks},{name:"circle",impl:Ts},{name:"concentric",impl:Ps},{name:"cose",impl:Is},{name:"grid",impl:el},{name:"null",impl:nl},{name:"preset",impl:rl},{name:"random",impl:al}];function ll(e){this.options=e,this.notifications=0}var ul=function(){},cl=function(){throw new Error("A headless instance can not render images")};ll.prototype={recalculateRenderedStyle:ul,notify:function(){this.notifications++},init:ul,isHeadless:function(){return!0},png:cl,jpg:cl};var hl={arrowShapeWidth:.3,registerArrowShapes:function(){var e=this.arrowShapes={},t=this,n=function(e,t,n,i,r,o,a){var s=r.x-n/2-a,l=r.x+n/2+a,u=r.y-n/2-a,c=r.y+n/2+a,h=s<=e&&e<=l&&u<=t&&t<=c;return h},i=function(e,t,n,i,r){var o=e*Math.cos(i)-t*Math.sin(i),a=e*Math.sin(i)+t*Math.cos(i),s=o*n,l=a*n,u=s+r.x,c=l+r.y;return{x:u,y:c}},r=function(e,t,n,r){for(var o=[],a=0;a<e.length;a+=2){var s=e[a],l=e[a+1];o.push(i(s,l,t,n,r))}return o},o=function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];t.push(i.x,i.y)}return t},a=function(e){return e.pstyle("width").pfValue*e.pstyle("arrow-scale").pfValue*2},s=function(i,s){I(s)&&(s=e[s]),e[i]=he({name:i,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(e,t,n,i,a,s){var l=o(r(this.points,n+2*s,i,a)),u=fn(e,t,l);return u},roughCollide:n,draw:function(e,n,i,o){var a=r(this.points,n,i,o);t.arrowShapeImpl("polygon")(e,a)},spacing:function(e){return 0},gap:a},s)};s("none",{collide:He,roughCollide:He,draw:Ge,spacing:We,gap:We}),s("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),s("arrow","triangle"),s("triangle-backcurve",{points:e["triangle"].points,controlPoint:[0,-.15],roughCollide:n,draw:function(e,n,o,a,s){var l=r(this.points,n,o,a),u=this.controlPoint,c=i(u[0],u[1],n,o,a);t.arrowShapeImpl(this.name)(e,l,c)},gap:function(e){return.8*a(e)}}),s("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(e,t,n,i,a,s,l){var u=o(r(this.points,n+2*l,i,a)),c=o(r(this.pointsTee,n+2*l,i,a)),h=fn(e,t,u)||fn(e,t,c);return h},draw:function(e,n,i,o,a){var s=r(this.points,n,i,o),l=r(this.pointsTee,n,i,o);t.arrowShapeImpl(this.name)(e,s,l)}}),s("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(e,t,n,i,a,s,l){var u=a,c=Math.pow(u.x-e,2)+Math.pow(u.y-t,2)<=Math.pow((n+2*l)*this.radius,2),h=o(r(this.points,n+2*l,i,a));return fn(e,t,h)||c},draw:function(e,n,i,o,a){var s=r(this.pointsTr,n,i,o);t.arrowShapeImpl(this.name)(e,s,o.x,o.y,this.radius*n)},spacing:function(e){return t.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.radius}}),s("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(e,t){var n=this.baseCrossLinePts.slice(),i=t/e,r=3,o=5;return n[r]=n[r]-i,n[o]=n[o]-i,n},collide:function(e,t,n,i,a,s,l){var u=o(r(this.points,n+2*l,i,a)),c=o(r(this.crossLinePts(n,s),n+2*l,i,a)),h=fn(e,t,u)||fn(e,t,c);return h},draw:function(e,n,i,o,a){var s=r(this.points,n,i,o),l=r(this.crossLinePts(n,a),n,i,o);t.arrowShapeImpl(this.name)(e,s,l)}}),s("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(e){return.525*a(e)}}),s("circle",{radius:.15,collide:function(e,t,n,i,r,o,a){var s=r,l=Math.pow(s.x-e,2)+Math.pow(s.y-t,2)<=Math.pow((n+2*a)*this.radius,2);return l},draw:function(e,n,i,r,o){t.arrowShapeImpl(this.name)(e,r.x,r.y,this.radius*n)},spacing:function(e){return t.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.radius}}),s("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(e){return 1},gap:function(e){return 1}}),s("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),s("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(e){return e.pstyle("width").pfValue*e.pstyle("arrow-scale").value}}),s("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(e){return.95*e.pstyle("width").pfValue*e.pstyle("arrow-scale").value}})}},dl={projectIntoViewport:function(e,t){var n=this.cy,i=this.findContainerClientCoords(),r=i[0],o=i[1],a=i[4],s=n.pan(),l=n.zoom(),u=((e-r)/a-s.x)/l,c=((t-o)/a-s.y)/l;return[u,c]},findContainerClientCoords:function(){if(this.containerBB)return this.containerBB;var e=this.container,t=e.getBoundingClientRect(),n=this.cy.window().getComputedStyle(e),i=function(e){return parseFloat(n.getPropertyValue(e))},r={left:i("padding-left"),right:i("padding-right"),top:i("padding-top"),bottom:i("padding-bottom")},o={left:i("border-left-width"),right:i("border-right-width"),top:i("border-top-width"),bottom:i("border-bottom-width")},a=e.clientWidth,s=e.clientHeight,l=r.left+r.right,u=r.top+r.bottom,c=o.left+o.right,h=t.width/(a+c),d=a-l,f=s-u,p=t.left+r.left+o.left,g=t.top+r.top+o.top;return this.containerBB=[p,g,d,f,h]},invalidateContainerClientCoordsCache:function(){this.containerBB=null},findNearestElement:function(e,t,n,i){return this.findNearestElements(e,t,n,i)[0]},findNearestElements:function(e,t,n,i){var r,o,a=this,s=this,l=s.getCachedZSortedEles(),u=[],c=s.cy.zoom(),h=s.cy.hasCompoundNodes(),d=(i?24:8)/c,f=(i?8:2)/c,p=(i?8:2)/c,g=1/0;function m(e,t){if(e.isNode()){if(o)return;o=e,u.push(e)}if(e.isEdge()&&(null==t||t<g))if(r){if(r.pstyle("z-compound-depth").value===e.pstyle("z-compound-depth").value&&r.pstyle("z-compound-depth").value===e.pstyle("z-compound-depth").value)for(var n=0;n<u.length;n++)if(u[n].isEdge()){u[n]=e,r=e,g=null!=t?t:g;break}}else u.push(e),r=e,g=null!=t?t:g}function v(n){var i=n.outerWidth()+2*f,r=n.outerHeight()+2*f,o=i/2,l=r/2,u=n.position();if(u.x-o<=e&&e<=u.x+o&&u.y-l<=t&&t<=u.y+l){var c=s.nodeShapes[a.getNodeShape(n)];if(c.checkPoint(e,t,0,i,r,u.x,u.y))return m(n,0),!0}}function y(n){var i,r=n._private,o=r.rscratch,l=n.pstyle("width").pfValue,c=n.pstyle("arrow-scale").value,f=l/2+d,p=f*f,g=2*f,y=r.source,b=r.target;if("segments"===o.edgeType||"straight"===o.edgeType||"haystack"===o.edgeType){for(var x=o.allpts,_=0;_+3<x.length;_+=2)if(sn(e,t,x[_],x[_+1],x[_+2],x[_+3],g)&&p>(i=dn(e,t,x[_],x[_+1],x[_+2],x[_+3])))return m(n,i),!0}else if("bezier"===o.edgeType||"multibezier"===o.edgeType||"self"===o.edgeType||"compound"===o.edgeType)for(x=o.allpts,_=0;_+5<o.allpts.length;_+=4)if(ln(e,t,x[_],x[_+1],x[_+2],x[_+3],x[_+4],x[_+5],g)&&p>(i=hn(e,t,x[_],x[_+1],x[_+2],x[_+3],x[_+4],x[_+5])))return m(n,i),!0;y=y||r.source,b=b||r.target;var w=a.getArrowWidth(l,c),C=[{name:"source",x:o.arrowStartX,y:o.arrowStartY,angle:o.srcArrowAngle},{name:"target",x:o.arrowEndX,y:o.arrowEndY,angle:o.tgtArrowAngle},{name:"mid-source",x:o.midX,y:o.midY,angle:o.midsrcArrowAngle},{name:"mid-target",x:o.midX,y:o.midY,angle:o.midtgtArrowAngle}];for(_=0;_<C.length;_++){var S=C[_],k=s.arrowShapes[n.pstyle(S.name+"-arrow-shape").value],M=n.pstyle("width").pfValue;if(k.roughCollide(e,t,w,S.angle,{x:S.x,y:S.y},M,d)&&k.collide(e,t,w,S.angle,{x:S.x,y:S.y},M,d))return m(n),!0}h&&u.length>0&&(v(y),v(b))}function b(e,t,n){return ot(e,t,n)}function x(n,i){var r,o=n._private,a=p;r=i?i+"-":"",n.boundingBox();var s=o.labelBounds[i||"main"],l=n.pstyle(r+"label").value,u="yes"===n.pstyle("text-events").strValue;if(u&&l){var c=b(o.rscratch,"labelX",i),h=b(o.rscratch,"labelY",i),d=b(o.rscratch,"labelAngle",i),f=n.pstyle(r+"text-margin-x").pfValue,g=n.pstyle(r+"text-margin-y").pfValue,v=s.x1-a-f,y=s.x2+a-f,x=s.y1-a-g,_=s.y2+a-g;if(d){var w=Math.cos(d),C=Math.sin(d),S=function(e,t){return e-=c,t-=h,{x:e*w-t*C+c,y:e*C+t*w+h}},k=S(v,x),M=S(v,_),T=S(y,x),E=S(y,_),D=[k.x+f,k.y+g,T.x+f,T.y+g,E.x+f,E.y+g,M.x+f,M.y+g];if(fn(e,t,D))return m(n),!0}else if(nn(s,e,t))return m(n),!0}}n&&(l=l.interactive);for(var _=l.length-1;_>=0;_--){var w=l[_];w.isNode()?v(w)||x(w):y(w)||x(w)||x(w,"source")||x(w,"target")}return u},getAllInBox:function(e,t,n,i){var r=this.getCachedZSortedEles().interactive,o=[],a=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,i),u=Math.max(t,i);e=a,n=s,t=l,i=u;for(var c=Ut({x1:e,y1:t,x2:n,y2:i}),h=0;h<r.length;h++){var d=r[h];if(d.isNode()){var f=d,p=f.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});tn(c,p)&&!on(p,c)&&o.push(f)}else{var g=d,m=g._private,v=m.rscratch;if(null!=v.startX&&null!=v.startY&&!nn(c,v.startX,v.startY))continue;if(null!=v.endX&&null!=v.endY&&!nn(c,v.endX,v.endY))continue;if("bezier"===v.edgeType||"multibezier"===v.edgeType||"self"===v.edgeType||"compound"===v.edgeType||"segments"===v.edgeType||"haystack"===v.edgeType){for(var y=m.rstyle.bezierPts||m.rstyle.linePts||m.rstyle.haystackPts,b=!0,x=0;x<y.length;x++)if(!rn(c,y[x])){b=!1;break}b&&o.push(g)}else"haystack"!==v.edgeType&&"straight"!==v.edgeType||o.push(g)}}return o}},fl={calculateArrowAngles:function(e){var t,n,i,r,o,a,s=e._private.rscratch,l="haystack"===s.edgeType,u="bezier"===s.edgeType,c="multibezier"===s.edgeType,h="segments"===s.edgeType,d="compound"===s.edgeType,f="self"===s.edgeType;if(l?(i=s.haystackPts[0],r=s.haystackPts[1],o=s.haystackPts[2],a=s.haystackPts[3]):(i=s.arrowStartX,r=s.arrowStartY,o=s.arrowEndX,a=s.arrowEndY),v=s.midX,y=s.midY,h)t=i-s.segpts[0],n=r-s.segpts[1];else if(c||d||f||u){var p=s.allpts,g=Ht(p[0],p[2],p[4],.1),m=Ht(p[1],p[3],p[5],.1);t=i-g,n=r-m}else t=i-v,n=r-y;s.srcArrowAngle=zt(t,n);var v=s.midX,y=s.midY;if(l&&(v=(i+o)/2,y=(r+a)/2),t=o-i,n=a-r,h){p=s.allpts;if(p.length/2%2===0){var b=p.length/2,x=b-2;t=p[b]-p[x],n=p[b+1]-p[x+1]}else{b=p.length/2-1,x=b-2;var _=b+2;t=p[b]-p[x],n=p[b+1]-p[x+1]}}else if(c||d||f){p=s.allpts;var w,C,S,k,M=s.ctrlpts;if(M.length/2%2===0){var T=p.length/2-1,E=T+2,D=E+2;w=Ht(p[T],p[E],p[D],0),C=Ht(p[T+1],p[E+1],p[D+1],0),S=Ht(p[T],p[E],p[D],1e-4),k=Ht(p[T+1],p[E+1],p[D+1],1e-4)}else{E=p.length/2-1,T=E-2,D=E+2;w=Ht(p[T],p[E],p[D],.4999),C=Ht(p[T+1],p[E+1],p[D+1],.4999),S=Ht(p[T],p[E],p[D],.5),k=Ht(p[T+1],p[E+1],p[D+1],.5)}t=S-w,n=k-C}if(s.midtgtArrowAngle=zt(t,n),s.midDispX=t,s.midDispY=n,t*=-1,n*=-1,h){p=s.allpts;if(p.length/2%2===0);else{b=p.length/2-1,_=b+2;t=-(p[_]-p[b]),n=-(p[_+1]-p[b+1])}}if(s.midsrcArrowAngle=zt(t,n),h)t=o-s.segpts[s.segpts.length-2],n=a-s.segpts[s.segpts.length-1];else if(c||d||f||u){p=s.allpts;var P=p.length;g=Ht(p[P-6],p[P-4],p[P-2],.9),m=Ht(p[P-5],p[P-3],p[P-1],.9);t=o-g,n=a-m}else t=o-v,n=a-y;s.tgtArrowAngle=zt(t,n)}};fl.getArrowWidth=fl.getArrowHeight=function(e,t){var n=this.arrowWidthCache=this.arrowWidthCache||{},i=n[e+", "+t];return i||(i=Math.max(Math.pow(13.37*e,.9),29)*t,n[e+", "+t]=i,i)};var pl={};function gl(e){var t=[];if(null!=e){for(var n=0;n<e.length;n+=2){var i=e[n],r=e[n+1];t.push({x:i,y:r})}return t}}pl.findMidptPtsEtc=function(e,t){var n,i=t.posPts,r=t.intersectionPts,o=t.vectorNormInverse,a=e.pstyle("source-endpoint"),s=e.pstyle("target-endpoint"),l=null!=a.units&&null!=s.units,u=function(e,t,n,i){var r=i-t,o=n-e,a=Math.sqrt(o*o+r*r);return{x:-r/a,y:o/a}},c=e.pstyle("edge-distances").value;switch(c){case"node-position":n=i;break;case"intersection":n=r;break;case"endpoints":if(l){var h=this.manualEndptToPx(e.source()[0],a),d=b(h,2),f=d[0],p=d[1],g=this.manualEndptToPx(e.target()[0],s),m=b(g,2),v=m[0],y=m[1],x={x1:f,y1:p,x2:v,y2:y};o=u(f,p,v,y),n=x}else Ye("Edge ".concat(e.id()," has edge-distances:endpoints specified without manual endpoints specified via source-endpoint and target-endpoint. Falling back on edge-distances:intersection (default).")),n=r;break}return{midptPts:n,vectorNormInverse:o}},pl.findHaystackPoints=function(e){for(var t=0;t<e.length;t++){var n=e[t],i=n._private,r=i.rscratch;if(!r.haystack){var o=2*Math.random()*Math.PI;r.source={x:Math.cos(o),y:Math.sin(o)},o=2*Math.random()*Math.PI,r.target={x:Math.cos(o),y:Math.sin(o)}}var a=i.source,s=i.target,l=a.position(),u=s.position(),c=a.width(),h=s.width(),d=a.height(),f=s.height(),p=n.pstyle("haystack-radius").value,g=p/2;r.haystackPts=r.allpts=[r.source.x*c*g+l.x,r.source.y*d*g+l.y,r.target.x*h*g+u.x,r.target.y*f*g+u.y],r.midX=(r.allpts[0]+r.allpts[2])/2,r.midY=(r.allpts[1]+r.allpts[3])/2,r.edgeType="haystack",r.haystack=!0,this.storeEdgeProjections(n),this.calculateArrowAngles(n),this.recalculateEdgeLabelProjections(n),this.calculateLabelAngles(n)}},pl.findSegmentsPoints=function(e,t){var n=e._private.rscratch,i=e.pstyle("segment-weights"),r=e.pstyle("segment-distances"),o=Math.min(i.pfValue.length,r.pfValue.length);n.edgeType="segments",n.segpts=[];for(var a=0;a<o;a++){var s=i.pfValue[a],l=r.pfValue[a],u=1-s,c=s,h=this.findMidptPtsEtc(e,t),d=h.midptPts,f=h.vectorNormInverse,p={x:d.x1*u+d.x2*c,y:d.y1*u+d.y2*c};n.segpts.push(p.x+f.x*l,p.y+f.y*l)}},pl.findLoopPoints=function(e,t,n,i){var r=e._private.rscratch,o=t.dirCounts,a=t.srcPos,s=e.pstyle("control-point-distances"),l=s?s.pfValue[0]:void 0,u=e.pstyle("loop-direction").pfValue,c=e.pstyle("loop-sweep").pfValue,h=e.pstyle("control-point-step-size").pfValue;r.edgeType="self";var d=n,f=h;i&&(d=0,f=l);var p=u-Math.PI/2,g=p-c/2,m=p+c/2,v=String(u+"_"+c);d=void 0===o[v]?o[v]=0:++o[v],r.ctrlpts=[a.x+1.4*Math.cos(g)*f*(d/3+1),a.y+1.4*Math.sin(g)*f*(d/3+1),a.x+1.4*Math.cos(m)*f*(d/3+1),a.y+1.4*Math.sin(m)*f*(d/3+1)]},pl.findCompoundLoopPoints=function(e,t,n,i){var r=e._private.rscratch;r.edgeType="compound";var o=t.srcPos,a=t.tgtPos,s=t.srcW,l=t.srcH,u=t.tgtW,c=t.tgtH,h=e.pstyle("control-point-step-size").pfValue,d=e.pstyle("control-point-distances"),f=d?d.pfValue[0]:void 0,p=n,g=h;i&&(p=0,g=f);var m=50,v={x:o.x-s/2,y:o.y-l/2},y={x:a.x-u/2,y:a.y-c/2},b={x:Math.min(v.x,y.x),y:Math.min(v.y,y.y)},x=.5,_=Math.max(x,Math.log(.01*s)),w=Math.max(x,Math.log(.01*u));r.ctrlpts=[b.x,b.y-(1+Math.pow(m,1.12)/100)*g*(p/3+1)*_,b.x-(1+Math.pow(m,1.12)/100)*g*(p/3+1)*w,b.y]},pl.findStraightEdgePoints=function(e){e._private.rscratch.edgeType="straight"},pl.findBezierPoints=function(e,t,n,i,r){var o=e._private.rscratch,a=e.pstyle("control-point-step-size").pfValue,s=e.pstyle("control-point-distances"),l=e.pstyle("control-point-weights"),u=s&&l?Math.min(s.value.length,l.value.length):1,c=s?s.pfValue[0]:void 0,h=l.value[0],d=i;o.edgeType=d?"multibezier":"bezier",o.ctrlpts=[];for(var f=0;f<u;f++){var p=(.5-t.eles.length/2+n)*a*(r?-1:1),g=void 0,m=Bt(p);d&&(c=s?s.pfValue[f]:a,h=l.value[f]),g=i?c:void 0!==c?m*c:void 0;var v=void 0!==g?g:p,y=1-h,b=h,x=this.findMidptPtsEtc(e,t),_=x.midptPts,w=x.vectorNormInverse,C={x:_.x1*y+_.x2*b,y:_.y1*y+_.y2*b};o.ctrlpts.push(C.x+w.x*v,C.y+w.y*v)}},pl.findTaxiPoints=function(e,t){var n=e._private.rscratch;n.edgeType="segments";var i="vertical",r="horizontal",o="leftward",a="rightward",s="downward",l="upward",u="auto",c=t.posPts,h=t.srcW,d=t.srcH,f=t.tgtW,p=t.tgtH,g=e.pstyle("edge-distances").value,m="node-position"!==g,v=e.pstyle("taxi-direction").value,y=v,b=e.pstyle("taxi-turn"),x="%"===b.units,_=b.pfValue,w=_<0,C=e.pstyle("taxi-turn-min-distance").pfValue,S=m?(h+f)/2:0,k=m?(d+p)/2:0,M=c.x2-c.x1,T=c.y2-c.y1,E=function(e,t){return e>0?Math.max(e-t,0):Math.min(e+t,0)},D=E(M,S),P=E(T,k),O=!1;y===u?v=Math.abs(D)>Math.abs(P)?r:i:y===l||y===s?(v=i,O=!0):y!==o&&y!==a||(v=r,O=!0);var I,A=v===i,L=A?P:D,N=A?T:M,R=Bt(N),z=!1;if(O&&(x||w)||!(y===s&&N<0||y===l&&N>0||y===o&&N>0||y===a&&N<0)||(R*=-1,L=R*Math.abs(L),z=!0),x){var $=_<0?1+_:_;I=$*L}else{var B=_<0?L:0;I=B+_*R}var F=function(e){return Math.abs(e)<C||Math.abs(e)>=Math.abs(L)},j=F(I),V=F(Math.abs(L)-Math.abs(I)),H=j||V;if(H&&!z)if(A){var W=Math.abs(N)<=d/2,G=Math.abs(M)<=f/2;if(W){var q=(c.x1+c.x2)/2,U=c.y1,Y=c.y2;n.segpts=[q,U,q,Y]}else if(G){var X=(c.y1+c.y2)/2,Z=c.x1,K=c.x2;n.segpts=[Z,X,K,X]}else n.segpts=[c.x1,c.y2]}else{var Q=Math.abs(N)<=h/2,J=Math.abs(T)<=p/2;if(Q){var ee=(c.y1+c.y2)/2,te=c.x1,ne=c.x2;n.segpts=[te,ee,ne,ee]}else if(J){var ie=(c.x1+c.x2)/2,re=c.y1,oe=c.y2;n.segpts=[ie,re,ie,oe]}else n.segpts=[c.x2,c.y1]}else if(A){var ae=c.y1+I+(m?d/2*R:0),se=c.x1,le=c.x2;n.segpts=[se,ae,le,ae]}else{var ue=c.x1+I+(m?h/2*R:0),ce=c.y1,he=c.y2;n.segpts=[ue,ce,ue,he]}},pl.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var i=t.srcPos,r=t.tgtPos,o=t.srcW,a=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=!z(n.startX)||!z(n.startY),d=!z(n.arrowStartX)||!z(n.arrowStartY),f=!z(n.endX)||!z(n.endY),p=!z(n.arrowEndX)||!z(n.arrowEndY),g=3,m=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth,v=g*m,y=Ft({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),b=y<v,x=Ft({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.endX,y:n.endY}),_=x<v,w=!1;if(h||d||b){w=!0;var C={x:n.ctrlpts[0]-i.x,y:n.ctrlpts[1]-i.y},S=Math.sqrt(C.x*C.x+C.y*C.y),k={x:C.x/S,y:C.y/S},M=Math.max(o,a),T={x:n.ctrlpts[0]+2*k.x*M,y:n.ctrlpts[1]+2*k.y*M},E=u.intersectLine(i.x,i.y,o,a,T.x,T.y,0);b?(n.ctrlpts[0]=n.ctrlpts[0]+k.x*(v-y),n.ctrlpts[1]=n.ctrlpts[1]+k.y*(v-y)):(n.ctrlpts[0]=E[0]+k.x*v,n.ctrlpts[1]=E[1]+k.y*v)}if(f||p||_){w=!0;var D={x:n.ctrlpts[0]-r.x,y:n.ctrlpts[1]-r.y},P=Math.sqrt(D.x*D.x+D.y*D.y),O={x:D.x/P,y:D.y/P},I=Math.max(o,a),A={x:n.ctrlpts[0]+2*O.x*I,y:n.ctrlpts[1]+2*O.y*I},L=c.intersectLine(r.x,r.y,s,l,A.x,A.y,0);_?(n.ctrlpts[0]=n.ctrlpts[0]+O.x*(v-x),n.ctrlpts[1]=n.ctrlpts[1]+O.y*(v-x)):(n.ctrlpts[0]=L[0]+O.x*v,n.ctrlpts[1]=L[1]+O.y*v)}w&&this.findEndpoints(e)}},pl.storeAllpts=function(e){var t=e._private.rscratch;if("multibezier"===t.edgeType||"bezier"===t.edgeType||"self"===t.edgeType||"compound"===t.edgeType){t.allpts=[],t.allpts.push(t.startX,t.startY);for(var n=0;n+1<t.ctrlpts.length;n+=2)t.allpts.push(t.ctrlpts[n],t.ctrlpts[n+1]),n+3<t.ctrlpts.length&&t.allpts.push((t.ctrlpts[n]+t.ctrlpts[n+2])/2,(t.ctrlpts[n+1]+t.ctrlpts[n+3])/2);var i,r;t.allpts.push(t.endX,t.endY),t.ctrlpts.length/2%2===0?(i=t.allpts.length/2-1,t.midX=t.allpts[i],t.midY=t.allpts[i+1]):(i=t.allpts.length/2-3,r=.5,t.midX=Ht(t.allpts[i],t.allpts[i+2],t.allpts[i+4],r),t.midY=Ht(t.allpts[i+1],t.allpts[i+3],t.allpts[i+5],r))}else if("straight"===t.edgeType)t.allpts=[t.startX,t.startY,t.endX,t.endY],t.midX=(t.startX+t.endX+t.arrowStartX+t.arrowEndX)/4,t.midY=(t.startY+t.endY+t.arrowStartY+t.arrowEndY)/4;else if("segments"===t.edgeType)if(t.allpts=[],t.allpts.push(t.startX,t.startY),t.allpts.push.apply(t.allpts,t.segpts),t.allpts.push(t.endX,t.endY),t.segpts.length%4===0){var o=t.segpts.length/2,a=o-2;t.midX=(t.segpts[a]+t.segpts[o])/2,t.midY=(t.segpts[a+1]+t.segpts[o+1])/2}else{var s=t.segpts.length/2-1;t.midX=t.segpts[s],t.midY=t.segpts[s+1]}},pl.checkForInvalidEdgeWarning=function(e){var t=e[0]._private.rscratch;t.nodesOverlap||z(t.startX)&&z(t.startY)&&z(t.endX)&&z(t.endY)?t.loggedErr=!1:t.loggedErr||(t.loggedErr=!0,Ye("Edge `"+e.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},pl.findEdgeControlPoints=function(e){var t=this;if(e&&0!==e.length){for(var n=this,i=n.cy,r=i.hasCompoundNodes(),o={map:new lt,get:function(e){var t=this.map.get(e[0]);return null!=t?t.get(e[1]):null},set:function(e,t){var n=this.map.get(e[0]);null==n&&(n=new lt,this.map.set(e[0],n)),n.set(e[1],t)}},a=[],s=[],l=0;l<e.length;l++){var u=e[l],c=u._private,h=u.pstyle("curve-style").value;if(!u.removed()&&u.takesUpSpace())if("haystack"!==h){var d="unbundled-bezier"===h||"segments"===h||"straight"===h||"straight-triangle"===h||"taxi"===h,f="unbundled-bezier"===h||"bezier"===h,p=c.source,g=c.target,m=p.poolIndex(),v=g.poolIndex(),y=[m,v].sort(),b=o.get(y);null==b&&(b={eles:[]},o.set(y,b),a.push(y)),b.eles.push(u),d&&(b.hasUnbundled=!0),f&&(b.hasBezier=!0)}else s.push(u)}for(var x=function(e){var i=a[e],s=o.get(i),l=void 0;if(!s.hasUnbundled){var u=s.eles[0].parallelEdges().filter((function(e){return e.isBundledBezier()}));it(s.eles),u.forEach((function(e){return s.eles.push(e)})),s.eles.sort((function(e,t){return e.poolIndex()-t.poolIndex()}))}var c=s.eles[0],h=c.source(),d=c.target();if(h.poolIndex()>d.poolIndex()){var f=h;h=d,d=f}var p=s.srcPos=h.position(),g=s.tgtPos=d.position(),m=s.srcW=h.outerWidth(),v=s.srcH=h.outerHeight(),y=s.tgtW=d.outerWidth(),b=s.tgtH=d.outerHeight(),x=s.srcShape=n.nodeShapes[t.getNodeShape(h)],_=s.tgtShape=n.nodeShapes[t.getNodeShape(d)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var w=0;w<s.eles.length;w++){var C=s.eles[w],S=C[0]._private.rscratch,k=C.pstyle("curve-style").value,M="unbundled-bezier"===k||"segments"===k||"taxi"===k,T=!h.same(C.source());if(!s.calculatedIntersection&&h!==d&&(s.hasBezier||s.hasUnbundled)){s.calculatedIntersection=!0;var E=x.intersectLine(p.x,p.y,m,v,g.x,g.y,0),D=s.srcIntn=E,P=_.intersectLine(g.x,g.y,y,b,p.x,p.y,0),O=s.tgtIntn=P,I=s.intersectionPts={x1:E[0],x2:P[0],y1:E[1],y2:P[1]},A=s.posPts={x1:p.x,x2:g.x,y1:p.y,y2:g.y},L=P[1]-E[1],N=P[0]-E[0],R=Math.sqrt(N*N+L*L),$=s.vector={x:N,y:L},B=s.vectorNorm={x:$.x/R,y:$.y/R},F={x:-B.y,y:B.x};s.nodesOverlap=!z(R)||_.checkPoint(E[0],E[1],0,y,b,g.x,g.y)||x.checkPoint(P[0],P[1],0,m,v,p.x,p.y),s.vectorNormInverse=F,l={nodesOverlap:s.nodesOverlap,dirCounts:s.dirCounts,calculatedIntersection:!0,hasBezier:s.hasBezier,hasUnbundled:s.hasUnbundled,eles:s.eles,srcPos:g,tgtPos:p,srcW:y,srcH:b,tgtW:m,tgtH:v,srcIntn:O,tgtIntn:D,srcShape:_,tgtShape:x,posPts:{x1:A.x2,y1:A.y2,x2:A.x1,y2:A.y1},intersectionPts:{x1:I.x2,y1:I.y2,x2:I.x1,y2:I.y1},vector:{x:-$.x,y:-$.y},vectorNorm:{x:-B.x,y:-B.y},vectorNormInverse:{x:-F.x,y:-F.y}}}var j=T?l:s;S.nodesOverlap=j.nodesOverlap,S.srcIntn=j.srcIntn,S.tgtIntn=j.tgtIntn,r&&(h.isParent()||h.isChild()||d.isParent()||d.isChild())&&(h.parents().anySame(d)||d.parents().anySame(h)||h.same(d)&&h.isParent())?t.findCompoundLoopPoints(C,j,w,M):h===d?t.findLoopPoints(C,j,w,M):"segments"===k?t.findSegmentsPoints(C,j):"taxi"===k?t.findTaxiPoints(C,j):"straight"===k||!M&&s.eles.length%2===1&&w===Math.floor(s.eles.length/2)?t.findStraightEdgePoints(C):t.findBezierPoints(C,j,w,M,T),t.findEndpoints(C),t.tryToCorrectInvalidPoints(C,j),t.checkForInvalidEdgeWarning(C),t.storeAllpts(C),t.storeEdgeProjections(C),t.calculateArrowAngles(C),t.recalculateEdgeLabelProjections(C),t.calculateLabelAngles(C)}},_=0;_<a.length;_++)x(_);this.findHaystackPoints(s)}},pl.getSegmentPoints=function(e){var t=e[0]._private.rscratch,n=t.edgeType;if("segments"===n)return this.recalculateRenderedStyle(e),gl(t.segpts)},pl.getControlPoints=function(e){var t=e[0]._private.rscratch,n=t.edgeType;if("bezier"===n||"multibezier"===n||"self"===n||"compound"===n)return this.recalculateRenderedStyle(e),gl(t.ctrlpts)},pl.getEdgeMidpoint=function(e){var t=e[0]._private.rscratch;return this.recalculateRenderedStyle(e),{x:t.midX,y:t.midY}};var ml={manualEndptToPx:function(e,t){var n=this,i=e.position(),r=e.outerWidth(),o=e.outerHeight();if(2===t.value.length){var a=[t.pfValue[0],t.pfValue[1]];return"%"===t.units[0]&&(a[0]=a[0]*r),"%"===t.units[1]&&(a[1]=a[1]*o),a[0]+=i.x,a[1]+=i.y,a}var s=t.pfValue[0];s=-Math.PI/2+s;var l=2*Math.max(r,o),u=[i.x+Math.cos(s)*l,i.y+Math.sin(s)*l];return n.nodeShapes[this.getNodeShape(e)].intersectLine(i.x,i.y,r,o,u[0],u[1],0)},findEndpoints:function(e){var t,n,i,r,o,a=this,s=e.source()[0],l=e.target()[0],u=s.position(),c=l.position(),h=e.pstyle("target-arrow-shape").value,d=e.pstyle("source-arrow-shape").value,f=e.pstyle("target-distance-from-node").pfValue,p=e.pstyle("source-distance-from-node").pfValue,g=e.pstyle("curve-style").value,m=e._private.rscratch,v=m.edgeType,y="taxi"===g,b="self"===v||"compound"===v,x="bezier"===v||"multibezier"===v||b,_="bezier"!==v,w="straight"===v||"segments"===v,C="segments"===v,S=x||_||w,k=b||y,M=e.pstyle("source-endpoint"),T=k?"outside-to-node":M.value,E=e.pstyle("target-endpoint"),D=k?"outside-to-node":E.value;if(m.srcManEndpt=M,m.tgtManEndpt=E,x){var P=[m.ctrlpts[0],m.ctrlpts[1]],O=_?[m.ctrlpts[m.ctrlpts.length-2],m.ctrlpts[m.ctrlpts.length-1]]:P;n=O,i=P}else if(w){var I=C?m.segpts.slice(0,2):[c.x,c.y],A=C?m.segpts.slice(m.segpts.length-2):[u.x,u.y];n=A,i=I}if("inside-to-node"===D)t=[c.x,c.y];else if(E.units)t=this.manualEndptToPx(l,E);else if("outside-to-line"===D)t=m.tgtIntn;else if("outside-to-node"===D||"outside-to-node-or-label"===D?r=n:"outside-to-line"!==D&&"outside-to-line-or-label"!==D||(r=[u.x,u.y]),t=a.nodeShapes[this.getNodeShape(l)].intersectLine(c.x,c.y,l.outerWidth(),l.outerHeight(),r[0],r[1],0),"outside-to-node-or-label"===D||"outside-to-line-or-label"===D){var L=l._private.rscratch,N=L.labelWidth,R=L.labelHeight,$=L.labelX,B=L.labelY,F=N/2,j=R/2,V=l.pstyle("text-valign").value;"top"===V?B-=j:"bottom"===V&&(B+=j);var H=l.pstyle("text-halign").value;"left"===H?$-=F:"right"===H&&($+=F);var W=Cn(r[0],r[1],[$-F,B-j,$+F,B-j,$+F,B+j,$-F,B+j],c.x,c.y);if(W.length>0){var G=u,q=jt(G,Ot(t)),U=jt(G,Ot(W)),Y=q;if(U<q&&(t=W,Y=U),W.length>2){var X=jt(G,{x:W[2],y:W[3]});X<Y&&(t=[W[2],W[3]])}}}var Z=kn(t,n,a.arrowShapes[h].spacing(e)+f),K=kn(t,n,a.arrowShapes[h].gap(e)+f);if(m.endX=K[0],m.endY=K[1],m.arrowEndX=Z[0],m.arrowEndY=Z[1],"inside-to-node"===T)t=[u.x,u.y];else if(M.units)t=this.manualEndptToPx(s,M);else if("outside-to-line"===T)t=m.srcIntn;else if("outside-to-node"===T||"outside-to-node-or-label"===T?o=i:"outside-to-line"!==T&&"outside-to-line-or-label"!==T||(o=[c.x,c.y]),t=a.nodeShapes[this.getNodeShape(s)].intersectLine(u.x,u.y,s.outerWidth(),s.outerHeight(),o[0],o[1],0),"outside-to-node-or-label"===T||"outside-to-line-or-label"===T){var Q=s._private.rscratch,J=Q.labelWidth,ee=Q.labelHeight,te=Q.labelX,ne=Q.labelY,ie=J/2,re=ee/2,oe=s.pstyle("text-valign").value;"top"===oe?ne-=re:"bottom"===oe&&(ne+=re);var ae=s.pstyle("text-halign").value;"left"===ae?te-=ie:"right"===ae&&(te+=ie);var se=Cn(o[0],o[1],[te-ie,ne-re,te+ie,ne-re,te+ie,ne+re,te-ie,ne+re],u.x,u.y);if(se.length>0){var le=c,ue=jt(le,Ot(t)),ce=jt(le,Ot(se)),he=ue;if(ce<ue&&(t=[se[0],se[1]],he=ce),se.length>2){var de=jt(le,{x:se[2],y:se[3]});de<he&&(t=[se[2],se[3]])}}}var fe=kn(t,i,a.arrowShapes[d].spacing(e)+p),pe=kn(t,i,a.arrowShapes[d].gap(e)+p);m.startX=pe[0],m.startY=pe[1],m.arrowStartX=fe[0],m.arrowStartY=fe[1],S&&(z(m.startX)&&z(m.startY)&&z(m.endX)&&z(m.endY)?m.badLine=!1:m.badLine=!0)},getSourceEndpoint:function(e){var t=e[0]._private.rscratch;switch(this.recalculateRenderedStyle(e),t.edgeType){case"haystack":return{x:t.haystackPts[0],y:t.haystackPts[1]};default:return{x:t.arrowStartX,y:t.arrowStartY}}},getTargetEndpoint:function(e){var t=e[0]._private.rscratch;switch(this.recalculateRenderedStyle(e),t.edgeType){case"haystack":return{x:t.haystackPts[2],y:t.haystackPts[3]};default:return{x:t.arrowEndX,y:t.arrowEndY}}}},vl={};function yl(e,t,n){for(var i=function(e,t,n,i){return Ht(e,t,n,i)},r=t._private,o=r.rstyle.bezierPts,a=0;a<e.bezierProjPcts.length;a++){var s=e.bezierProjPcts[a];o.push({x:i(n[0],n[2],n[4],s),y:i(n[1],n[3],n[5],s)})}}vl.storeEdgeProjections=function(e){var t=e._private,n=t.rscratch,i=n.edgeType;if(t.rstyle.bezierPts=null,t.rstyle.linePts=null,t.rstyle.haystackPts=null,"multibezier"===i||"bezier"===i||"self"===i||"compound"===i){t.rstyle.bezierPts=[];for(var r=0;r+5<n.allpts.length;r+=4)yl(this,e,n.allpts.slice(r,r+6))}else if("segments"===i){var o=t.rstyle.linePts=[];for(r=0;r+1<n.allpts.length;r+=2)o.push({x:n.allpts[r],y:n.allpts[r+1]})}else if("haystack"===i){var a=n.haystackPts;t.rstyle.haystackPts=[{x:a[0],y:a[1]},{x:a[2],y:a[3]}]}t.rstyle.arrowWidth=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth},vl.recalculateEdgeProjections=function(e){this.findEdgeControlPoints(e)};var bl={recalculateNodeLabelProjection:function(e){var t=e.pstyle("label").strValue;if(!q(t)){var n,i,r=e._private,o=e.width(),a=e.height(),s=e.padding(),l=e.position(),u=e.pstyle("text-halign").strValue,c=e.pstyle("text-valign").strValue,h=r.rscratch,d=r.rstyle;switch(u){case"left":n=l.x-o/2-s;break;case"right":n=l.x+o/2+s;break;default:n=l.x}switch(c){case"top":i=l.y-a/2-s;break;case"bottom":i=l.y+a/2+s;break;default:i=l.y}h.labelX=n,h.labelY=i,d.labelX=n,d.labelY=i,this.calculateLabelAngles(e),this.applyLabelDimensions(e)}}},xl=function(e,t){var n=Math.atan(t/e);return 0===e&&n<0&&(n*=-1),n},_l=function(e,t){var n=t.x-e.x,i=t.y-e.y;return xl(n,i)},wl=function(e,t,n,i){var r=qt(0,i-.001,1),o=qt(0,i+.001,1),a=Wt(e,t,n,r),s=Wt(e,t,n,o);return _l(a,s)};bl.recalculateEdgeLabelProjections=function(e){var t,n=e._private,i=n.rscratch,r=this,o={mid:e.pstyle("label").strValue,source:e.pstyle("source-label").strValue,target:e.pstyle("target-label").strValue};if(o.mid||o.source||o.target){t={x:i.midX,y:i.midY};var a=function(e,t,i){at(n.rscratch,e,t,i),at(n.rstyle,e,t,i)};a("labelX",null,t.x),a("labelY",null,t.y);var s=xl(i.midDispX,i.midDispY);a("labelAutoAngle",null,s);var l=function e(){if(e.cache)return e.cache;for(var t=[],o=0;o+5<i.allpts.length;o+=4){var a={x:i.allpts[o],y:i.allpts[o+1]},s={x:i.allpts[o+2],y:i.allpts[o+3]},l={x:i.allpts[o+4],y:i.allpts[o+5]};t.push({p0:a,p1:s,p2:l,startDist:0,length:0,segments:[]})}var u=n.rstyle.bezierPts,c=r.bezierProjPcts.length;function h(e,t,n,i,r){var o=Ft(t,n),a=e.segments[e.segments.length-1],s={p0:t,p1:n,t0:i,t1:r,startDist:a?a.startDist+a.length:0,length:o};e.segments.push(s),e.length+=o}for(var d=0;d<t.length;d++){var f=t[d],p=t[d-1];p&&(f.startDist=p.startDist+p.length),h(f,f.p0,u[d*c],0,r.bezierProjPcts[0]);for(var g=0;g<c-1;g++)h(f,u[d*c+g],u[d*c+g+1],r.bezierProjPcts[g],r.bezierProjPcts[g+1]);h(f,u[d*c+c-1],f.p2,r.bezierProjPcts[c-1],1)}return e.cache=t},u=function(n){var r,s="source"===n;if(o[n]){var u=e.pstyle(n+"-text-offset").pfValue;switch(i.edgeType){case"self":case"compound":case"bezier":case"multibezier":for(var c,h=l(),d=0,f=0,p=0;p<h.length;p++){for(var g=h[s?p:h.length-1-p],m=0;m<g.segments.length;m++){var v=g.segments[s?m:g.segments.length-1-m],y=p===h.length-1&&m===g.segments.length-1;if(d=f,f+=v.length,f>=u||y){c={cp:g,segment:v};break}}if(c)break}var b=c.cp,x=c.segment,_=(u-d)/x.length,w=x.t1-x.t0,C=s?x.t0+w*_:x.t1-w*_;C=qt(0,C,1),t=Wt(b.p0,b.p1,b.p2,C),r=wl(b.p0,b.p1,b.p2,C);break;case"straight":case"segments":case"haystack":for(var S,k,M,T,E=0,D=i.allpts.length,P=0;P+3<D;P+=2)if(s?(M={x:i.allpts[P],y:i.allpts[P+1]},T={x:i.allpts[P+2],y:i.allpts[P+3]}):(M={x:i.allpts[D-2-P],y:i.allpts[D-1-P]},T={x:i.allpts[D-4-P],y:i.allpts[D-3-P]}),S=Ft(M,T),k=E,E+=S,E>=u)break;var O=u-k,I=O/S;I=qt(0,I,1),t=Gt(M,T,I),r=_l(M,T);break}a("labelX",n,t.x),a("labelY",n,t.y),a("labelAutoAngle",n,r)}};u("source"),u("target"),this.applyLabelDimensions(e)}},bl.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},bl.applyPrefixedLabelDimensions=function(e,t){var n=e._private,i=this.getLabelText(e,t),r=this.calculateLabelDimensions(e,i),o=e.pstyle("line-height").pfValue,a=e.pstyle("text-wrap").strValue,s=ot(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==a?1:Math.max(s.length,1),u=r.height/l,c=u*o,h=r.width,d=r.height+(l-1)*(o-1)*u;at(n.rstyle,"labelWidth",t,h),at(n.rscratch,"labelWidth",t,h),at(n.rstyle,"labelHeight",t,d),at(n.rscratch,"labelHeight",t,d),at(n.rscratch,"labelLineHeight",t,c)},bl.getLabelText=function(e,t){var n=e._private,i=t?t+"-":"",r=e.pstyle(i+"label").strValue,o=e.pstyle("text-transform").value,a=function(e,i){return i?(at(n.rscratch,e,t,i),i):ot(n.rscratch,e,t)};if(!r)return"";"none"==o||("uppercase"==o?r=r.toUpperCase():"lowercase"==o&&(r=r.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=a("labelKey");if(null!=l&&a("labelWrapKey")===l)return a("labelWrapCachedText");for(var u="",c=r.split("\n"),h=e.pstyle("text-max-width").pfValue,d=e.pstyle("text-overflow-wrap").value,f="anywhere"===d,p=[],g=/[\s\u200b]+/,m=f?"":" ",v=0;v<c.length;v++){var y=c[v],b=this.calculateLabelDimensions(e,y),x=b.width;if(f){var _=y.split("").join(u);y=_}if(x>h){for(var w=y.split(g),C="",S=0;S<w.length;S++){var k=w[S],M=0===C.length?k:C+m+k,T=this.calculateLabelDimensions(e,M),E=T.width;E<=h?C+=k+m:(C&&p.push(C),C=k+m)}C.match(/^[\s\u200b]+$/)||p.push(C)}else p.push(y)}a("labelWrapCachedLines",p),r=a("labelWrapCachedText",p.join("\n")),a("labelWrapKey",l)}else if("ellipsis"===s){var D=e.pstyle("text-max-width").pfValue,P="",O="…",I=!1;if(this.calculateLabelDimensions(e,r).width<D)return r;for(var A=0;A<r.length;A++){var L=this.calculateLabelDimensions(e,P+r[A]+O).width;if(L>D)break;P+=r[A],A===r.length-1&&(I=!0)}return I||(P+=O),P}return r},bl.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},bl.calculateLabelDimensions=function(e,t){var n=this,i=Ne(t,e._private.labelDimsKey),r=n.labelDimCache||(n.labelDimCache=[]),o=r[i];if(null!=o)return o;var a=0,s=e.pstyle("font-style").strValue,l=e.pstyle("font-size").pfValue,u=e.pstyle("font-family").strValue,c=e.pstyle("font-weight").strValue,h=this.labelCalcCanvas,d=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=document.createElement("canvas"),d=this.labelCalcCanvasContext=h.getContext("2d");var f=h.style;f.position="absolute",f.left="-9999px",f.top="-9999px",f.zIndex="-1",f.visibility="hidden",f.pointerEvents="none"}d.font="".concat(s," ").concat(c," ").concat(l,"px ").concat(u);for(var p=0,g=0,m=t.split("\n"),v=0;v<m.length;v++){var y=m[v],b=d.measureText(y),x=Math.ceil(b.width),_=l;p=Math.max(x,p),g+=_}return p+=a,g+=a,r[i]={width:p,height:g}},bl.calculateLabelAngle=function(e,t){var n=e._private,i=n.rscratch,r=e.isEdge(),o=t?t+"-":"",a=e.pstyle(o+"text-rotation"),s=a.strValue;return"none"===s?0:r&&"autorotate"===s?i.labelAutoAngle:"autorotate"===s?0:a.pfValue},bl.calculateLabelAngles=function(e){var t=this,n=e.isEdge(),i=e._private,r=i.rscratch;r.labelAngle=t.calculateLabelAngle(e),n&&(r.sourceLabelAngle=t.calculateLabelAngle(e,"source"),r.targetLabelAngle=t.calculateLabelAngle(e,"target"))};var Cl={},Sl=28,kl=!1;Cl.getNodeShape=function(e){var t=this,n=e.pstyle("shape").value;if("cutrectangle"===n&&(e.width()<Sl||e.height()<Sl))return kl||(Ye("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),kl=!0),"rectangle";if(e.isParent())return"rectangle"===n||"roundrectangle"===n||"round-rectangle"===n||"cutrectangle"===n||"cut-rectangle"===n||"barrel"===n?n:"rectangle";if("polygon"===n){var i=e.pstyle("shape-polygon-points").value;return t.nodeShapes.makePolygon(i).name}return n};var Ml={registerCalculationListeners:function(){var e=this.cy,t=e.collection(),n=this,i=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.merge(e),n)for(var i=0;i<e.length;i++){var r=e[i],o=r._private,a=o.rstyle;a.clean=!1,a.cleanConnected=!1}};n.binder(e).on("bounds.* dirty.*",(function(e){var t=e.target;i(t)})).on("style.* background.*",(function(e){var t=e.target;i(t,!1)}));var r=function(r){if(r){var o=n.onUpdateEleCalcsFns;t.cleanStyle();for(var a=0;a<t.length;a++){var s=t[a],l=s._private.rstyle;s.isNode()&&!l.cleanConnected&&(i(s.connectedEdges()),l.cleanConnected=!0)}if(o)for(var u=0;u<o.length;u++){var c=o[u];c(r,t)}n.recalculateRenderedStyle(t),t=e.collection()}};n.flushRenderedStyleQueue=function(){r(!0)},n.beforeRender(r,n.beforeRenderPriorities.eleCalcs)},onUpdateEleCalcs:function(e){var t=this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[];t.push(e)},recalculateRenderedStyle:function(e,t){var n=function(e){return e._private.rstyle.cleanConnected},i=[],r=[];if(!this.destroyed){void 0===t&&(t=!0);for(var o=0;o<e.length;o++){var a=e[o],s=a._private,l=s.rstyle;!a.isEdge()||n(a.source())&&n(a.target())||(l.clean=!1),t&&l.clean||a.removed()||"none"!==a.pstyle("display").value&&("nodes"===s.group?r.push(a):i.push(a),l.clean=!0)}for(var u=0;u<r.length;u++){var c=r[u],h=c._private,d=h.rstyle,f=c.position();this.recalculateNodeLabelProjection(c),d.nodeX=f.x,d.nodeY=f.y,d.nodeW=c.pstyle("width").pfValue,d.nodeH=c.pstyle("height").pfValue}this.recalculateEdgeProjections(i);for(var p=0;p<i.length;p++){var g=i[p],m=g._private,v=m.rstyle,y=m.rscratch;v.srcX=y.arrowStartX,v.srcY=y.arrowStartY,v.tgtX=y.arrowEndX,v.tgtY=y.arrowEndY,v.midX=y.midX,v.midY=y.midY,v.labelAngle=y.labelAngle,v.sourceLabelAngle=y.sourceLabelAngle,v.targetLabelAngle=y.targetLabelAngle}}}},Tl={updateCachedGrabbedEles:function(){var e=this.cachedZSortedEles;if(e){e.drag=[],e.nondrag=[];for(var t=[],n=0;n<e.length;n++){var i=e[n],r=i._private.rscratch;i.grabbed()&&!i.isParent()?t.push(i):r.inDragLayer?e.drag.push(i):e.nondrag.push(i)}for(n=0;n<t.length;n++){i=t[n];e.drag.push(i)}}},invalidateCachedZSortedEles:function(){this.cachedZSortedEles=null},getCachedZSortedEles:function(e){if(e||!this.cachedZSortedEles){var t=this.cy.mutableElements().toArray();t.sort(sa),t.interactive=t.filter((function(e){return e.interactive()})),this.cachedZSortedEles=t,this.updateCachedGrabbedEles()}else t=this.cachedZSortedEles;return t}},El={};[dl,fl,pl,ml,vl,bl,Cl,Ml,Tl].forEach((function(e){he(El,e)}));var Dl={getCachedImage:function(e,t,n){var i=this,r=i.imageCache=i.imageCache||{},o=r[e];if(o)return o.image.complete||o.image.addEventListener("load",n),o.image;o=r[e]=r[e]||{};var a=o.image=new Image;a.addEventListener("load",n),a.addEventListener("error",(function(){a.error=!0}));var s="data:",l=e.substring(0,s.length).toLowerCase()===s;return l||(t="null"===t?null:t,a.crossOrigin=t),a.src=e,a}},Pl={registerBinding:function(e,t,n,i){var r=Array.prototype.slice.apply(arguments,[1]),o=this.binder(e);return o.on.apply(o,r)},binder:function(e){var t=this,n=t.cy.window(),i=e===n||e===n.document||e===n.document.body||U(e);if(null==t.supportsPassiveEvents){var r=!1;try{var o=Object.defineProperty({},"passive",{get:function(){return r=!0,!0}});n.addEventListener("test",null,o)}catch(s){}t.supportsPassiveEvents=r}var a=function(n,r,o){var a=Array.prototype.slice.call(arguments);return i&&t.supportsPassiveEvents&&(a[2]={capture:null!=o&&o,passive:!1,once:!1}),t.bindings.push({target:e,args:a}),(e.addEventListener||e.on).apply(e,a),this};return{on:a,addEventListener:a,addListener:a,bind:a}},nodeIsDraggable:function(e){return e&&e.isNode()&&!e.locked()&&e.grabbable()},nodeIsGrabbable:function(e){return this.nodeIsDraggable(e)&&e.interactive()},load:function(){var e=this,t=e.cy.window(),n=function(e){return e.selected()},i=function(t,n,i,r){null==t&&(t=e.cy);for(var o=0;o<n.length;o++){var a=n[o];t.emit({originalEvent:i,type:a,position:r})}},r=function(e){return e.shiftKey||e.metaKey||e.ctrlKey},o=function(t,n){var i=!0;if(e.cy.hasCompoundNodes()&&t&&t.pannable())for(var r=0;n&&r<n.length;r++){t=n[r];if(t.isNode()&&t.isParent()&&!t.pannable()){i=!1;break}}else i=!0;return i},a=function(e){e[0]._private.grabbed=!0},s=function(e){e[0]._private.grabbed=!1},l=function(e){e[0]._private.rscratch.inDragLayer=!0},c=function(e){e[0]._private.rscratch.inDragLayer=!1},h=function(e){e[0]._private.rscratch.isGrabTarget=!0},d=function(e){e[0]._private.rscratch.isGrabTarget=!1},f=function(e,t){var n=t.addToList,i=n.has(e);i||!e.grabbable()||e.locked()||(n.merge(e),a(e))},p=function(e,t){if(e.cy().hasCompoundNodes()&&(null!=t.inDragLayer||null!=t.addToList)){var n=e.descendants();t.inDragLayer&&(n.forEach(l),n.connectedEdges().forEach(l)),t.addToList&&f(n,t)}},g=function(t,n){n=n||{};var i=t.cy().hasCompoundNodes();n.inDragLayer&&(t.forEach(l),t.neighborhood().stdFilter((function(e){return!i||e.isEdge()})).forEach(l)),n.addToList&&t.forEach((function(e){f(e,n)})),p(t,n),y(t,{inDragLayer:n.inDragLayer}),e.updateCachedGrabbedEles()},m=g,v=function(t){t&&(e.getCachedZSortedEles().forEach((function(e){s(e),c(e),d(e)})),e.updateCachedGrabbedEles())},y=function(e,t){if((null!=t.inDragLayer||null!=t.addToList)&&e.cy().hasCompoundNodes()){var n=e.ancestors().orphans();if(!n.same(e)){var i=n.descendants().spawnSelf().merge(n).unmerge(e).unmerge(e.descendants()),r=i.connectedEdges();t.inDragLayer&&(r.forEach(l),i.forEach(l)),t.addToList&&i.forEach((function(e){f(e,t)}))}}},b=function(){null!=document.activeElement&&null!=document.activeElement.blur&&document.activeElement.blur()},x="undefined"!==typeof MutationObserver,_="undefined"!==typeof ResizeObserver;x?(e.removeObserver=new MutationObserver((function(t){for(var n=0;n<t.length;n++){var i=t[n],r=i.removedNodes;if(r)for(var o=0;o<r.length;o++){var a=r[o];if(a===e.container){e.destroy();break}}}})),e.container.parentNode&&e.removeObserver.observe(e.container.parentNode,{childList:!0})):e.registerBinding(e.container,"DOMNodeRemoved",(function(t){e.destroy()}));var w=u["default"]((function(){e.cy.resize()}),100);x&&(e.styleObserver=new MutationObserver(w),e.styleObserver.observe(e.container,{attributes:!0})),e.registerBinding(t,"resize",w),_&&(e.resizeObserver=new ResizeObserver(w),e.resizeObserver.observe(e.container));var C=function(e,t){while(null!=e)t(e),e=e.parentNode},S=function(){e.invalidateContainerClientCoordsCache()};C(e.container,(function(t){e.registerBinding(t,"transitionend",S),e.registerBinding(t,"animationend",S),e.registerBinding(t,"scroll",S)})),e.registerBinding(e.container,"contextmenu",(function(e){e.preventDefault()}));var k,M,T,E=function(){return 0!==e.selection[4]},D=function(t){for(var n=e.findContainerClientCoords(),i=n[0],r=n[1],o=n[2],a=n[3],s=t.touches?t.touches:[t],l=!1,u=0;u<s.length;u++){var c=s[u];if(i<=c.clientX&&c.clientX<=i+o&&r<=c.clientY&&c.clientY<=r+a){l=!0;break}}if(!l)return!1;var h=e.container,d=t.target,f=d.parentNode,p=!1;while(f){if(f===h){p=!0;break}f=f.parentNode}return!!p};e.registerBinding(e.container,"mousedown",(function(t){if(D(t)){t.preventDefault(),b(),e.hoverData.capture=!0,e.hoverData.which=t.which;var n=e.cy,r=[t.clientX,t.clientY],o=e.projectIntoViewport(r[0],r[1]),a=e.selection,s=e.findNearestElements(o[0],o[1],!0,!1),l=s[0],u=e.dragData.possibleDragElements;e.hoverData.mdownPos=o,e.hoverData.mdownGPos=r;var c=function(){e.hoverData.tapholdCancelled=!1,clearTimeout(e.hoverData.tapholdTimeout),e.hoverData.tapholdTimeout=setTimeout((function(){if(!e.hoverData.tapholdCancelled){var i=e.hoverData.down;i?i.emit({originalEvent:t,type:"taphold",position:{x:o[0],y:o[1]}}):n.emit({originalEvent:t,type:"taphold",position:{x:o[0],y:o[1]}})}}),e.tapholdDuration)};if(3==t.which){e.hoverData.cxtStarted=!0;var d={originalEvent:t,type:"cxttapstart",position:{x:o[0],y:o[1]}};l?(l.activate(),l.emit(d),e.hoverData.down=l):n.emit(d),e.hoverData.downTime=(new Date).getTime(),e.hoverData.cxtDragged=!1}else if(1==t.which){if(l&&l.activate(),null!=l&&e.nodeIsGrabbable(l)){var f=function(e){return{originalEvent:t,type:e,position:{x:o[0],y:o[1]}}},p=function(e){e.emit(f("grab"))};if(h(l),l.selected()){u=e.dragData.possibleDragElements=n.collection();var v=n.$((function(t){return t.isNode()&&t.selected()&&e.nodeIsGrabbable(t)}));g(v,{addToList:u}),l.emit(f("grabon")),v.forEach(p)}else u=e.dragData.possibleDragElements=n.collection(),m(l,{addToList:u}),l.emit(f("grabon")).emit(f("grab"));e.redrawHint("eles",!0),e.redrawHint("drag",!0)}e.hoverData.down=l,e.hoverData.downs=s,e.hoverData.downTime=(new Date).getTime(),i(l,["mousedown","tapstart","vmousedown"],t,{x:o[0],y:o[1]}),null==l?(a[4]=1,e.data.bgActivePosistion={x:o[0],y:o[1]},e.redrawHint("select",!0),e.redraw()):l.pannable()&&(a[4]=1),c()}a[0]=a[2]=o[0],a[1]=a[3]=o[1]}}),!1),e.registerBinding(t,"mousemove",(function(t){var n=e.hoverData.capture;if(n||D(t)){var a=!1,s=e.cy,l=s.zoom(),u=[t.clientX,t.clientY],c=e.projectIntoViewport(u[0],u[1]),h=e.hoverData.mdownPos,d=e.hoverData.mdownGPos,f=e.selection,p=null;e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.selecting||(p=e.findNearestElement(c[0],c[1],!0,!1));var m,y=e.hoverData.last,b=e.hoverData.down,x=[c[0]-f[2],c[1]-f[3]],_=e.dragData.possibleDragElements;if(d){var w=u[0]-d[0],C=w*w,S=u[1]-d[1],k=S*S,M=C+k;e.hoverData.isOverThresholdDrag=m=M>=e.desktopTapThreshold2}var T=r(t);m&&(e.hoverData.tapholdCancelled=!0);var E=function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(x[0]),t.push(x[1])):(t[0]+=x[0],t[1]+=x[1])};a=!0,i(p,["mousemove","vmousemove","tapdrag"],t,{x:c[0],y:c[1]});var P=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||s.emit({originalEvent:t,type:"boxstart",position:{x:c[0],y:c[1]}}),f[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(m){var O={originalEvent:t,type:"cxtdrag",position:{x:c[0],y:c[1]}};b?b.emit(O):s.emit(O),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&p===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:c[0],y:c[1]}}),e.hoverData.cxtOver=p,p&&p.emit({originalEvent:t,type:"cxtdragover",position:{x:c[0],y:c[1]}}))}}else if(e.hoverData.dragging){if(a=!0,s.panningEnabled()&&s.userPanningEnabled()){var I;if(e.hoverData.justStartedPan){var A=e.hoverData.mdownPos;I={x:(c[0]-A[0])*l,y:(c[1]-A[1])*l},e.hoverData.justStartedPan=!1}else I={x:x[0]*l,y:x[1]*l};s.panBy(I),s.emit("dragpan"),e.hoverData.dragged=!0}c=e.projectIntoViewport(t.clientX,t.clientY)}else if(1!=f[4]||null!=b&&!b.pannable()){if(b&&b.pannable()&&b.active()&&b.unactivate(),b&&b.grabbed()||p==y||(y&&i(y,["mouseout","tapdragout"],t,{x:c[0],y:c[1]}),p&&i(p,["mouseover","tapdragover"],t,{x:c[0],y:c[1]}),e.hoverData.last=p),b)if(m){if(s.boxSelectionEnabled()&&T)b&&b.grabbed()&&(v(_),b.emit("freeon"),_.emit("free"),e.dragData.didDrag&&(b.emit("dragfreeon"),_.emit("dragfree"))),P();else if(b&&b.grabbed()&&e.nodeIsDraggable(b)){var L=!e.dragData.didDrag;L&&e.redrawHint("eles",!0),e.dragData.didDrag=!0,e.hoverData.draggingEles||g(_,{inDragLayer:!0});var N={x:0,y:0};if(z(x[0])&&z(x[1])&&(N.x+=x[0],N.y+=x[1],L)){var R=e.hoverData.dragDelta;R&&z(R[0])&&z(R[1])&&(N.x+=R[0],N.y+=R[1])}e.hoverData.draggingEles=!0,_.silentShift(N).emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else E();a=!0}else if(m){if(e.hoverData.dragging||!s.boxSelectionEnabled()||!T&&s.panningEnabled()&&s.userPanningEnabled()){if(!e.hoverData.selecting&&s.panningEnabled()&&s.userPanningEnabled()){var $=o(b,e.hoverData.downs);$&&(e.hoverData.dragging=!0,e.hoverData.justStartedPan=!0,f[4]=0,e.data.bgActivePosistion=Ot(h),e.redrawHint("select",!0),e.redraw())}}else P();b&&b.pannable()&&b.active()&&b.unactivate()}return f[2]=c[0],f[3]=c[1],a?(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),!1):void 0}}),!1),e.registerBinding(t,"mouseup",(function(t){var o=e.hoverData.capture;if(o){e.hoverData.capture=!1;var a=e.cy,s=e.projectIntoViewport(t.clientX,t.clientY),l=e.selection,u=e.findNearestElement(s[0],s[1],!0,!1),c=e.dragData.possibleDragElements,h=e.hoverData.down,d=r(t);if(e.data.bgActivePosistion&&(e.redrawHint("select",!0),e.redraw()),e.hoverData.tapholdCancelled=!0,e.data.bgActivePosistion=void 0,h&&h.unactivate(),3===e.hoverData.which){var f={originalEvent:t,type:"cxttapend",position:{x:s[0],y:s[1]}};if(h?h.emit(f):a.emit(f),!e.hoverData.cxtDragged){var p={originalEvent:t,type:"cxttap",position:{x:s[0],y:s[1]}};h?h.emit(p):a.emit(p)}e.hoverData.cxtDragged=!1,e.hoverData.which=null}else if(1===e.hoverData.which){if(i(u,["mouseup","tapend","vmouseup"],t,{x:s[0],y:s[1]}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||(i(h,["click","tap","vclick"],t,{x:s[0],y:s[1]}),M=!1,t.timeStamp-T<=a.multiClickDebounceTime()?(k&&clearTimeout(k),M=!0,T=null,i(h,["dblclick","dbltap","vdblclick"],t,{x:s[0],y:s[1]})):(k=setTimeout((function(){M||i(h,["oneclick","onetap","voneclick"],t,{x:s[0],y:s[1]})}),a.multiClickDebounceTime()),T=t.timeStamp)),null!=h||e.dragData.didDrag||e.hoverData.selecting||e.hoverData.dragged||r(t)||(a.$(n).unselect(["tapunselect"]),c.length>0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=c=a.collection()),u!=h||e.dragData.didDrag||e.hoverData.selecting||null!=u&&u._private.selectable&&(e.hoverData.dragging||("additive"===a.selectionType()||d?u.selected()?u.unselect(["tapunselect"]):u.select(["tapselect"]):d||(a.$(n).unmerge(u).unselect(["tapunselect"]),u.select(["tapselect"]))),e.redrawHint("eles",!0)),e.hoverData.selecting){var g=a.collection(e.getAllInBox(l[0],l[1],l[2],l[3]));e.redrawHint("select",!0),g.length>0&&e.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:t,position:{x:s[0],y:s[1]}});var m=function(e){return e.selectable()&&!e.selected()};"additive"===a.selectionType()||d||a.$(n).unmerge(g).unselect(),g.emit("box").stdFilter(m).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!l[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var y=h&&h.grabbed();v(c),y&&(h.emit("freeon"),c.emit("free"),e.dragData.didDrag&&(h.emit("dragfreeon"),c.emit("dragfree")))}}l[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}}),!1);var P,O,I,A,L,N,R,$,B,F,j,V,H,W=function(t){if(!e.scrollingPage){var n=e.cy,i=n.zoom(),r=n.pan(),o=e.projectIntoViewport(t.clientX,t.clientY),a=[o[0]*i+r.x,o[1]*i+r.y];if(e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||E())t.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),s=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,s*=e.wheelSensitivity;var l=1===t.deltaMode;l&&(s*=33);var u=n.zoom()*Math.pow(10,s);"gesturechange"===t.type&&(u=e.gestureStartZoom*t.scale),n.zoom({level:u,renderedPosition:{x:a[0],y:a[1]}}),n.emit("gesturechange"===t.type?"pinchzoom":"scrollzoom")}}};e.registerBinding(e.container,"wheel",W,!0),e.registerBinding(t,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"gesturestart",(function(t){e.gestureStartZoom=e.cy.zoom(),e.hasTouchStarted||t.preventDefault()}),!0),e.registerBinding(e.container,"gesturechange",(function(t){e.hasTouchStarted||W(t)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var G,q,U,Y,X,Z,K,Q=function(e,t,n,i){return Math.sqrt((n-e)*(n-e)+(i-t)*(i-t))},J=function(e,t,n,i){return(n-e)*(n-e)+(i-t)*(i-t)};if(e.registerBinding(e.container,"touchstart",G=function(t){if(e.hasTouchStarted=!0,D(t)){b(),e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var n=e.cy,r=e.touchData.now,o=e.touchData.earlier;if(t.touches[0]){var a=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);r[0]=a[0],r[1]=a[1]}if(t.touches[1]){a=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY);r[2]=a[0],r[3]=a[1]}if(t.touches[2]){a=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY);r[4]=a[0],r[5]=a[1]}if(t.touches[1]){e.touchData.singleTouchMoved=!0,v(e.dragData.touchDragEles);var s=e.findContainerClientCoords();B=s[0],F=s[1],j=s[2],V=s[3],P=t.touches[0].clientX-B,O=t.touches[0].clientY-F,I=t.touches[1].clientX-B,A=t.touches[1].clientY-F,H=0<=P&&P<=j&&0<=I&&I<=j&&0<=O&&O<=V&&0<=A&&A<=V;var l=n.pan(),u=n.zoom();L=Q(P,O,I,A),N=J(P,O,I,A),R=[(P+I)/2,(O+A)/2],$=[(R[0]-l.x)/u,(R[1]-l.y)/u];var c=200,d=c*c;if(N<d&&!t.touches[2]){var f=e.findNearestElement(r[0],r[1],!0,!0),p=e.findNearestElement(r[2],r[3],!0,!0);return f&&f.isNode()?(f.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:r[0],y:r[1]}}),e.touchData.start=f):p&&p.isNode()?(p.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:r[0],y:r[1]}}),e.touchData.start=p):n.emit({originalEvent:t,type:"cxttapstart",position:{x:r[0],y:r[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(t.touches[2])n.boxSelectionEnabled()&&t.preventDefault();else if(t.touches[1]);else if(t.touches[0]){var y=e.findNearestElements(r[0],r[1],!0,!0),x=y[0];if(null!=x&&(x.activate(),e.touchData.start=x,e.touchData.starts=y,e.nodeIsGrabbable(x))){var _=e.dragData.touchDragEles=n.collection(),w=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),x.selected()?(w=n.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),g(w,{addToList:_})):m(x,{addToList:_}),h(x);var C=function(e){return{originalEvent:t,type:e,position:{x:r[0],y:r[1]}}};x.emit(C("grabon")),w?w.forEach((function(e){e.emit(C("grab"))})):x.emit(C("grab"))}i(x,["touchstart","tapstart","vmousedown"],t,{x:r[0],y:r[1]}),null==x&&(e.data.bgActivePosistion={x:a[0],y:a[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||i(e.touchData.start,["taphold"],t,{x:r[0],y:r[1]})}),e.tapholdDuration)}if(t.touches.length>=1){for(var S=e.touchData.startPosition=[null,null,null,null,null,null],k=0;k<r.length;k++)S[k]=o[k]=r[k];var M=t.touches[0];e.touchData.startGPosition=[M.clientX,M.clientY]}}},!1),e.registerBinding(window,"touchmove",q=function(t){var n=e.touchData.capture;if(n||D(t)){var r=e.selection,a=e.cy,s=e.touchData.now,l=e.touchData.earlier,u=a.zoom();if(t.touches[0]){var c=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);s[0]=c[0],s[1]=c[1]}if(t.touches[1]){c=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY);s[2]=c[0],s[3]=c[1]}if(t.touches[2]){c=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY);s[4]=c[0],s[5]=c[1]}var h,d=e.touchData.startGPosition;if(n&&t.touches[0]&&d){for(var f=[],p=0;p<s.length;p++)f[p]=s[p]-l[p];var m=t.touches[0].clientX-d[0],y=m*m,b=t.touches[0].clientY-d[1],x=b*b,_=y+x;h=_>=e.touchTapThreshold2}if(n&&e.touchData.cxt){t.preventDefault();var w=t.touches[0].clientX-B,C=t.touches[0].clientY-F,S=t.touches[1].clientX-B,k=t.touches[1].clientY-F,M=J(w,C,S,k),T=M/N,E=150,R=E*E,j=1.5,V=j*j;if(T>=V||M>=R){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var W={originalEvent:t,type:"cxttapend",position:{x:s[0],y:s[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(W),e.touchData.start=null):a.emit(W)}}if(n&&e.touchData.cxt){W={originalEvent:t,type:"cxtdrag",position:{x:s[0],y:s[1]}};e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(W):a.emit(W),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var G=e.findNearestElement(s[0],s[1],!0,!0);e.touchData.cxtOver&&G===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:s[0],y:s[1]}}),e.touchData.cxtOver=G,G&&G.emit({originalEvent:t,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(n&&t.touches[2]&&a.boxSelectionEnabled())t.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||a.emit({originalEvent:t,type:"boxstart",position:{x:s[0],y:s[1]}}),e.touchData.selecting=!0,e.touchData.didSelect=!0,r[4]=1,r&&0!==r.length&&void 0!==r[0]?(r[2]=(s[0]+s[2]+s[4])/3,r[3]=(s[1]+s[3]+s[5])/3):(r[0]=(s[0]+s[2]+s[4])/3,r[1]=(s[1]+s[3]+s[5])/3,r[2]=(s[0]+s[2]+s[4])/3+1,r[3]=(s[1]+s[3]+s[5])/3+1),e.redrawHint("select",!0),e.redraw();else if(n&&t.touches[1]&&!e.touchData.didSelect&&a.zoomingEnabled()&&a.panningEnabled()&&a.userZoomingEnabled()&&a.userPanningEnabled()){t.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var q=e.dragData.touchDragEles;if(q){e.redrawHint("drag",!0);for(var U=0;U<q.length;U++){var Y=q[U]._private;Y.grabbed=!1,Y.rscratch.inDragLayer=!1}}var X=e.touchData.start,Z=(w=t.touches[0].clientX-B,C=t.touches[0].clientY-F,S=t.touches[1].clientX-B,k=t.touches[1].clientY-F,Q(w,C,S,k)),K=Z/L;if(H){var ee=w-P,te=C-O,ne=S-I,ie=k-A,re=(ee+ne)/2,oe=(te+ie)/2,ae=a.zoom(),se=ae*K,le=a.pan(),ue=$[0]*ae+le.x,ce=$[1]*ae+le.y,he={x:-se/ae*(ue-le.x-re)+ue,y:-se/ae*(ce-le.y-oe)+ce};if(X&&X.active()){q=e.dragData.touchDragEles;v(q),e.redrawHint("drag",!0),e.redrawHint("eles",!0),X.unactivate().emit("freeon"),q.emit("free"),e.dragData.didDrag&&(X.emit("dragfreeon"),q.emit("dragfree"))}a.viewport({zoom:se,pan:he,cancelOnFailedZoom:!0}),a.emit("pinchzoom"),L=Z,P=w,O=C,I=S,A=k,e.pinching=!0}if(t.touches[0]){c=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);s[0]=c[0],s[1]=c[1]}if(t.touches[1]){c=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY);s[2]=c[0],s[3]=c[1]}if(t.touches[2]){c=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY);s[4]=c[0],s[5]=c[1]}}else if(t.touches[0]&&!e.touchData.didSelect){var de=e.touchData.start,fe=e.touchData.last;if(e.hoverData.draggingEles||e.swipePanning||(G=e.findNearestElement(s[0],s[1],!0,!0)),n&&null!=de&&t.preventDefault(),n&&null!=de&&e.nodeIsDraggable(de))if(h){q=e.dragData.touchDragEles;var pe=!e.dragData.didDrag;pe&&g(q,{inDragLayer:!0}),e.dragData.didDrag=!0;var ge={x:0,y:0};if(z(f[0])&&z(f[1])&&(ge.x+=f[0],ge.y+=f[1],pe)){e.redrawHint("eles",!0);var me=e.touchData.dragDelta;me&&z(me[0])&&z(me[1])&&(ge.x+=me[0],ge.y+=me[1])}e.hoverData.draggingEles=!0,q.silentShift(ge).emit("position drag"),e.redrawHint("drag",!0),e.touchData.startPosition[0]==l[0]&&e.touchData.startPosition[1]==l[1]&&e.redrawHint("eles",!0),e.redraw()}else{me=e.touchData.dragDelta=e.touchData.dragDelta||[];0===me.length?(me.push(f[0]),me.push(f[1])):(me[0]+=f[0],me[1]+=f[1])}if(i(de||G,["touchmove","tapdrag","vmousemove"],t,{x:s[0],y:s[1]}),de&&de.grabbed()||G==fe||(fe&&fe.emit({originalEvent:t,type:"tapdragout",position:{x:s[0],y:s[1]}}),G&&G.emit({originalEvent:t,type:"tapdragover",position:{x:s[0],y:s[1]}})),e.touchData.last=G,n)for(U=0;U<s.length;U++)s[U]&&e.touchData.startPosition[U]&&h&&(e.touchData.singleTouchMoved=!0);if(n&&(null==de||de.pannable())&&a.panningEnabled()&&a.userPanningEnabled()){var ve=o(de,e.touchData.starts);ve&&(t.preventDefault(),e.data.bgActivePosistion||(e.data.bgActivePosistion=Ot(e.touchData.startPosition)),e.swipePanning?(a.panBy({x:f[0]*u,y:f[1]*u}),a.emit("dragpan")):h&&(e.swipePanning=!0,a.panBy({x:m*u,y:b*u}),a.emit("dragpan"),de&&(de.unactivate(),e.redrawHint("select",!0),e.touchData.start=null)));c=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);s[0]=c[0],s[1]=c[1]}}for(p=0;p<s.length;p++)l[p]=s[p];n&&t.touches.length>0&&!e.hoverData.draggingEles&&!e.swipePanning&&null!=e.data.bgActivePosistion&&(e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.redraw())}},!1),e.registerBinding(t,"touchcancel",U=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(t,"touchend",Y=function(t){var r=e.touchData.start,o=e.touchData.capture;if(o){0===t.touches.length&&(e.touchData.capture=!1),t.preventDefault();var a=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var s,l=e.cy,u=l.zoom(),c=e.touchData.now,h=e.touchData.earlier;if(t.touches[0]){var d=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);c[0]=d[0],c[1]=d[1]}if(t.touches[1]){d=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY);c[2]=d[0],c[3]=d[1]}if(t.touches[2]){d=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY);c[4]=d[0],c[5]=d[1]}if(r&&r.unactivate(),e.touchData.cxt){if(s={originalEvent:t,type:"cxttapend",position:{x:c[0],y:c[1]}},r?r.emit(s):l.emit(s),!e.touchData.cxtDragged){var f={originalEvent:t,type:"cxttap",position:{x:c[0],y:c[1]}};r?r.emit(f):l.emit(f)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!t.touches[2]&&l.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var p=l.collection(e.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,e.redrawHint("select",!0),l.emit({type:"boxend",originalEvent:t,position:{x:c[0],y:c[1]}});var g=function(e){return e.selectable()&&!e.selected()};p.emit("box").stdFilter(g).select().emit("boxselect"),p.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=r&&r.unactivate(),t.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(t.touches[1]);else if(t.touches[0]);else if(!t.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var m=e.dragData.touchDragEles;if(null!=r){var y=r._private.grabbed;v(m),e.redrawHint("drag",!0),e.redrawHint("eles",!0),y&&(r.emit("freeon"),m.emit("free"),e.dragData.didDrag&&(r.emit("dragfreeon"),m.emit("dragfree"))),i(r,["touchend","tapend","vmouseup","tapdragout"],t,{x:c[0],y:c[1]}),r.unactivate(),e.touchData.start=null}else{var b=e.findNearestElement(c[0],c[1],!0,!0);i(b,["touchend","tapend","vmouseup","tapdragout"],t,{x:c[0],y:c[1]})}var x=e.touchData.startPosition[0]-c[0],_=x*x,w=e.touchData.startPosition[1]-c[1],C=w*w,S=_+C,k=S*u*u;e.touchData.singleTouchMoved||(r||l.$(":selected").unselect(["tapunselect"]),i(r,["tap","vclick"],t,{x:c[0],y:c[1]}),X=!1,t.timeStamp-K<=l.multiClickDebounceTime()?(Z&&clearTimeout(Z),X=!0,K=null,i(r,["dbltap","vdblclick"],t,{x:c[0],y:c[1]})):(Z=setTimeout((function(){X||i(r,["onetap","voneclick"],t,{x:c[0],y:c[1]})}),l.multiClickDebounceTime()),K=t.timeStamp)),null!=r&&!e.dragData.didDrag&&r._private.selectable&&k<e.touchTapThreshold2&&!e.pinching&&("single"===l.selectionType()?(l.$(n).unmerge(r).unselect(["tapunselect"]),r.select(["tapselect"])):r.selected()?r.unselect(["tapunselect"]):r.select(["tapselect"]),e.redrawHint("eles",!0)),e.touchData.singleTouchMoved=!0}for(var M=0;M<c.length;M++)h[M]=c[M];e.dragData.didDrag=!1,0===t.touches.length&&(e.touchData.dragDelta=[],e.touchData.startPosition=[null,null,null,null,null,null],e.touchData.startGPosition=null,e.touchData.didSelect=!1),t.touches.length<2&&(1===t.touches.length&&(e.touchData.startGPosition=[t.touches[0].clientX,t.touches[0].clientY]),e.pinching=!1,e.redrawHint("eles",!0),e.redraw())}},!1),"undefined"===typeof TouchEvent){var ee=[],te=function(e){return{clientX:e.clientX,clientY:e.clientY,force:1,identifier:e.pointerId,pageX:e.pageX,pageY:e.pageY,radiusX:e.width/2,radiusY:e.height/2,screenX:e.screenX,screenY:e.screenY,target:e.target}},ne=function(e){return{event:e,touch:te(e)}},ie=function(e){ee.push(ne(e))},re=function(e){for(var t=0;t<ee.length;t++){var n=ee[t];if(n.event.pointerId===e.pointerId)return void ee.splice(t,1)}},oe=function(e){var t=ee.filter((function(t){return t.event.pointerId===e.pointerId}))[0];t.event=e,t.touch=te(e)},ae=function(e){e.touches=ee.map((function(e){return e.touch}))},se=function(e){return"mouse"===e.pointerType||4===e.pointerType};e.registerBinding(e.container,"pointerdown",(function(e){se(e)||(e.preventDefault(),ie(e),ae(e),G(e))})),e.registerBinding(e.container,"pointerup",(function(e){se(e)||(re(e),ae(e),Y(e))})),e.registerBinding(e.container,"pointercancel",(function(e){se(e)||(re(e),ae(e),U(e))})),e.registerBinding(e.container,"pointermove",(function(e){se(e)||(e.preventDefault(),oe(e),ae(e),q(e))}))}}},Ol={generatePolygon:function(e,t){return this.nodeShapes[e]={renderer:this,name:e,points:t,draw:function(e,t,n,i,r){this.renderer.nodeShapeImpl("polygon",e,t,n,i,r,this.points)},intersectLine:function(e,t,n,i,r,o,a){return Cn(r,o,this.points,e,t,n/2,i/2,a)},checkPoint:function(e,t,n,i,r,o,a){return pn(e,t,this.points,o,a,i,r,[0,-1],n)}}},generateEllipse:function(){return this.nodeShapes["ellipse"]={renderer:this,name:"ellipse",draw:function(e,t,n,i,r){this.renderer.nodeShapeImpl(this.name,e,t,n,i,r)},intersectLine:function(e,t,n,i,r,o,a){return yn(r,o,e,t,n/2+a,i/2+a)},checkPoint:function(e,t,n,i,r,o,a){return bn(e,t,i,r,o,a,n)}}},generateRoundPolygon:function(e,t){for(var n=new Array(2*t.length),i=0;i<t.length/2;i++){var r=2*i,o=void 0;o=i<t.length/2-1?2*(i+1):0,n[4*i]=t[r],n[4*i+1]=t[r+1];var a=t[o]-t[r],s=t[o+1]-t[r+1],l=Math.sqrt(a*a+s*s);n[4*i+2]=a/l,n[4*i+3]=s/l}return this.nodeShapes[e]={renderer:this,name:e,points:n,draw:function(e,t,n,i,r){this.renderer.nodeShapeImpl("round-polygon",e,t,n,i,r,this.points)},intersectLine:function(e,t,n,i,r,o,a){return Sn(r,o,this.points,e,t,n,i)},checkPoint:function(e,t,n,i,r,o,a){return gn(e,t,this.points,o,a,i,r)}}},generateRoundRectangle:function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes["roundrectangle"]={renderer:this,name:"round-rectangle",points:Mn(4,0),draw:function(e,t,n,i,r){this.renderer.nodeShapeImpl(this.name,e,t,n,i,r)},intersectLine:function(e,t,n,i,r,o,a){return an(r,o,e,t,n,i,a)},checkPoint:function(e,t,n,i,r,o,a){var s=Dn(i,r),l=2*s;return!!pn(e,t,this.points,o,a,i,r-l,[0,-1],n)||(!!pn(e,t,this.points,o,a,i-l,r,[0,-1],n)||(!!bn(e,t,l,l,o-i/2+s,a-r/2+s,n)||(!!bn(e,t,l,l,o+i/2-s,a-r/2+s,n)||(!!bn(e,t,l,l,o+i/2-s,a+r/2-s,n)||!!bn(e,t,l,l,o-i/2+s,a+r/2-s,n)))))}}},generateCutRectangle:function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes["cutrectangle"]={renderer:this,name:"cut-rectangle",cornerLength:On(),points:Mn(4,0),draw:function(e,t,n,i,r){this.renderer.nodeShapeImpl(this.name,e,t,n,i,r)},generateCutTrianglePts:function(e,t,n,i){var r=this.cornerLength,o=t/2,a=e/2,s=n-a,l=n+a,u=i-o,c=i+o;return{topLeft:[s,u+r,s+r,u,s+r,u+r],topRight:[l-r,u,l,u+r,l-r,u+r],bottomRight:[l,c-r,l-r,c,l-r,c-r],bottomLeft:[s+r,c,s,c-r,s+r,c-r]}},intersectLine:function(e,t,n,i,r,o,a){var s=this.generateCutTrianglePts(n+2*a,i+2*a,e,t),l=[].concat.apply([],[s.topLeft.splice(0,4),s.topRight.splice(0,4),s.bottomRight.splice(0,4),s.bottomLeft.splice(0,4)]);return Cn(r,o,l,e,t)},checkPoint:function(e,t,n,i,r,o,a){if(pn(e,t,this.points,o,a,i,r-2*this.cornerLength,[0,-1],n))return!0;if(pn(e,t,this.points,o,a,i-2*this.cornerLength,r,[0,-1],n))return!0;var s=this.generateCutTrianglePts(i,r,o,a);return fn(e,t,s.topLeft)||fn(e,t,s.topRight)||fn(e,t,s.bottomRight)||fn(e,t,s.bottomLeft)}}},generateBarrel:function(){return this.nodeShapes["barrel"]={renderer:this,name:"barrel",points:Mn(4,0),draw:function(e,t,n,i,r){this.renderer.nodeShapeImpl(this.name,e,t,n,i,r)},intersectLine:function(e,t,n,i,r,o,a){var s=.15,l=.5,u=.85,c=this.generateBarrelBezierPts(n+2*a,i+2*a,e,t),h=function(e){var t=Wt({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},s),n=Wt({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},l),i=Wt({x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},u);return[e[0],e[1],t.x,t.y,n.x,n.y,i.x,i.y,e[4],e[5]]},d=[].concat(h(c.topLeft),h(c.topRight),h(c.bottomRight),h(c.bottomLeft));return Cn(r,o,d,e,t)},generateBarrelBezierPts:function(e,t,n,i){var r=t/2,o=e/2,a=n-o,s=n+o,l=i-r,u=i+r,c=An(e,t),h=c.heightOffset,d=c.widthOffset,f=c.ctrlPtOffsetPct*e,p={topLeft:[a,l+h,a+f,l,a+d,l],topRight:[s-d,l,s-f,l,s,l+h],bottomRight:[s,u-h,s-f,u,s-d,u],bottomLeft:[a+d,u,a+f,u,a,u-h]};return p.topLeft.isTop=!0,p.topRight.isTop=!0,p.bottomLeft.isBottom=!0,p.bottomRight.isBottom=!0,p},checkPoint:function(e,t,n,i,r,o,a){var s=An(i,r),l=s.heightOffset,u=s.widthOffset;if(pn(e,t,this.points,o,a,i,r-2*l,[0,-1],n))return!0;if(pn(e,t,this.points,o,a,i-2*u,r,[0,-1],n))return!0;for(var c=this.generateBarrelBezierPts(i,r,o,a),h=function(e,t,n){var i=n[4],r=n[2],o=n[0],a=n[5],s=n[1],l=Math.min(i,o),u=Math.max(i,o),c=Math.min(a,s),h=Math.max(a,s);if(l<=e&&e<=u&&c<=t&&t<=h){var d=In(i,r,o),f=un(d[0],d[1],d[2],e),p=f.filter((function(e){return 0<=e&&e<=1}));if(p.length>0)return p[0]}return null},d=Object.keys(c),f=0;f<d.length;f++){var p=d[f],g=c[p],m=h(e,t,g);if(null!=m){var v=g[5],y=g[3],b=g[1],x=Ht(v,y,b,m);if(g.isTop&&x<=t)return!0;if(g.isBottom&&t<=x)return!0}}return!1}}},generateBottomRoundrectangle:function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes["bottomroundrectangle"]={renderer:this,name:"bottom-round-rectangle",points:Mn(4,0),draw:function(e,t,n,i,r){this.renderer.nodeShapeImpl(this.name,e,t,n,i,r)},intersectLine:function(e,t,n,i,r,o,a){var s=e-(n/2+a),l=t-(i/2+a),u=l,c=e+(n/2+a),h=wn(r,o,e,t,s,l,c,u,!1);return h.length>0?h:an(r,o,e,t,n,i,a)},checkPoint:function(e,t,n,i,r,o,a){var s=Dn(i,r),l=2*s;if(pn(e,t,this.points,o,a,i,r-l,[0,-1],n))return!0;if(pn(e,t,this.points,o,a,i-l,r,[0,-1],n))return!0;var u=i/2+2*n,c=r/2+2*n,h=[o-u,a-c,o-u,a,o+u,a,o+u,a-c];return!!fn(e,t,h)||(!!bn(e,t,l,l,o+i/2-s,a+r/2-s,n)||!!bn(e,t,l,l,o-i/2+s,a+r/2-s,n))}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",Mn(3,0)),this.generateRoundPolygon("round-triangle",Mn(3,0)),this.generatePolygon("rectangle",Mn(4,0)),e["square"]=e["rectangle"],this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",Mn(5,0)),this.generateRoundPolygon("round-pentagon",Mn(5,0)),this.generatePolygon("hexagon",Mn(6,0)),this.generateRoundPolygon("round-hexagon",Mn(6,0)),this.generatePolygon("heptagon",Mn(7,0)),this.generateRoundPolygon("round-heptagon",Mn(7,0)),this.generatePolygon("octagon",Mn(8,0)),this.generateRoundPolygon("round-octagon",Mn(8,0));var i=new Array(20),r=En(5,0),o=En(5,Math.PI/5),a=.5*(3-Math.sqrt(5));a*=1.57;for(var s=0;s<o.length/2;s++)o[2*s]*=a,o[2*s+1]*=a;for(s=0;s<5;s++)i[4*s]=r[2*s],i[4*s+1]=r[2*s+1],i[4*s+2]=o[2*s],i[4*s+3]=o[2*s+1];i=Tn(i),this.generatePolygon("star",i),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.generatePolygon("right-rhomboid",[-.333,-1,1,-1,.333,1,-1,1]),this.nodeShapes["concavehexagon"]=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);var l=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",l),this.generateRoundPolygon("round-tag",l),e.makePolygon=function(e){var n,i=e.join("$"),r="polygon-"+i;return(n=this[r])?n:t.generatePolygon(r,e)}}},Il={timeToRender:function(){return this.redrawTotalTime/this.redrawCount},redraw:function(e){e=e||et();var t=this;void 0===t.averageRedrawTime&&(t.averageRedrawTime=0),void 0===t.lastRedrawTime&&(t.lastRedrawTime=0),void 0===t.lastDrawTime&&(t.lastDrawTime=0),t.requestedFrame=!0,t.renderOptions=e},beforeRender:function(e,t){if(!this.destroyed){null==t&&qe("Priority is not optional for beforeRender");var n=this.beforeRenderCallbacks;n.push({fn:e,priority:t}),n.sort((function(e,t){return t.priority-e.priority}))}}},Al=function(e,t,n){for(var i=e.beforeRenderCallbacks,r=0;r<i.length;r++)i[r].fn(t,n)};Il.startRenderLoop=function(){var e=this,t=e.cy;if(!e.renderLoopStarted){e.renderLoopStarted=!0;var n=function n(i){if(!e.destroyed){if(t.batching());else if(e.requestedFrame&&!e.skipFrame){Al(e,!0,i);var r=Se();e.render(e.renderOptions);var o=e.lastDrawTime=Se();void 0===e.averageRedrawTime&&(e.averageRedrawTime=o-r),void 0===e.redrawCount&&(e.redrawCount=0),e.redrawCount++,void 0===e.redrawTotalTime&&(e.redrawTotalTime=0);var a=o-r;e.redrawTotalTime+=a,e.lastRedrawTime=a,e.averageRedrawTime=e.averageRedrawTime/2+a/2,e.requestedFrame=!1}else Al(e,!1,i);e.skipFrame=!1,Ce(n)}};Ce(n)}};var Ll=function(e){this.init(e)},Nl=Ll,Rl=Nl.prototype;Rl.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],Rl.init=function(e){var t=this;t.options=e,t.cy=e.cy;var n=t.container=e.cy.container(),i=t.cy.window();if(i){var r=i.document,o=r.head,a="__________cytoscape_stylesheet",s="__________cytoscape_container",l=null!=r.getElementById(a);if(n.className.indexOf(s)<0&&(n.className=(n.className||"")+" "+s),!l){var u=r.createElement("style");u.id=a,u.textContent="."+s+" { position: relative; }",o.insertBefore(u,o.children[0])}var c=i.getComputedStyle(n),h=c.getPropertyValue("position");"static"===h&&Ye("A Cytoscape container has style position:static and so can not use UI extensions properly")}t.selection=[void 0,void 0,void 0,void 0,0],t.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],t.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},t.dragData={possibleDragElements:[]},t.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},t.redraws=0,t.showFps=e.showFps,t.debug=e.debug,t.hideEdgesOnViewport=e.hideEdgesOnViewport,t.textureOnViewport=e.textureOnViewport,t.wheelSensitivity=e.wheelSensitivity,t.motionBlurEnabled=e.motionBlur,t.forcedPixelRatio=z(e.pixelRatio)?e.pixelRatio:null,t.motionBlur=e.motionBlur,t.motionBlurOpacity=e.motionBlurOpacity,t.motionBlurTransparency=1-t.motionBlurOpacity,t.motionBlurPxRatio=1,t.mbPxRBlurry=1,t.minMbLowQualFrames=4,t.fullQualityMb=!1,t.clearedForMotionBlur=[],t.desktopTapThreshold=e.desktopTapThreshold,t.desktopTapThreshold2=e.desktopTapThreshold*e.desktopTapThreshold,t.touchTapThreshold=e.touchTapThreshold,t.touchTapThreshold2=e.touchTapThreshold*e.touchTapThreshold,t.tapholdDuration=500,t.bindings=[],t.beforeRenderCallbacks=[],t.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},t.registerNodeShapes(),t.registerArrowShapes(),t.registerCalculationListeners()},Rl.notify=function(e,t){var n=this,i=n.cy;this.destroyed||("init"!==e?"destroy"!==e?(("add"===e||"remove"===e||"move"===e&&i.hasCompoundNodes()||"load"===e||"zorder"===e||"mount"===e)&&n.invalidateCachedZSortedEles(),"viewport"===e&&n.redrawHint("select",!0),"load"!==e&&"resize"!==e&&"mount"!==e||(n.invalidateContainerClientCoordsCache(),n.matchCanvasSize(n.container)),n.redrawHint("eles",!0),n.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()):n.destroy():n.load())},Rl.destroy=function(){var e=this;e.destroyed=!0,e.cy.stopAnimationLoop();for(var t=0;t<e.bindings.length;t++){var n=e.bindings[t],i=n,r=i.target;(r.off||r.removeEventListener).apply(r,i.args)}if(e.bindings=[],e.beforeRenderCallbacks=[],e.onUpdateEleCalcsFns=[],e.removeObserver&&e.removeObserver.disconnect(),e.styleObserver&&e.styleObserver.disconnect(),e.resizeObserver&&e.resizeObserver.disconnect(),e.labelCalcDiv)try{document.body.removeChild(e.labelCalcDiv)}catch(o){}},Rl.isHeadless=function(){return!1},[hl,El,Dl,Pl,Ol,Il].forEach((function(e){he(Rl,e)}));var zl=1e3/60,$l={setupDequeueing:function(e){return function(){var t=this,n=this.renderer;if(!t.dequeueingSetup){t.dequeueingSetup=!0;var i=u["default"]((function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw()}),e.deqRedrawThreshold),r=function(r,o){var a=Se(),s=n.averageRedrawTime,l=n.lastRedrawTime,u=[],c=n.cy.extent(),h=n.getPixelRatio();r||n.flushRenderedStyleQueue();while(1){var d=Se(),f=d-a,p=d-o;if(l<zl){var g=zl-(r?s:0);if(p>=e.deqFastCost*g)break}else if(r){if(f>=e.deqCost*l||f>=e.deqAvgCost*s)break}else if(p>=e.deqNoDrawCost*zl)break;var m=e.deq(t,h,c);if(!(m.length>0))break;for(var v=0;v<m.length;v++)u.push(m[v])}u.length>0&&(e.onDeqd(t,u),!r&&e.shouldRedraw(t,u,h,c)&&i())},o=e.priority||Ge;n.beforeRender(r,o(t))}}}},Bl=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:He;g(this,e),this.idsByKey=new lt,this.keyForId=new lt,this.cachesByLvl=new lt,this.lvls=[],this.getKey=t,this.doesEleInvalidateKey=n}return v(e,[{key:"getIdsFor",value:function(e){null==e&&qe("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new ht,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e)["delete"](t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),i=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(i,t),this.keyForId.set(t,i)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId["delete"](t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),i=this.getKey(e);return n!==i}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,i=t.get(e);return i||(i=new lt,t.set(e,i),n.push(e)),i}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),i=this.getCache(n,t);return null!=i&&this.updateKeyMappingFor(e),i}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id()),i=this.getCache(n,t);return i}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var i=this.getKey(e);this.setCache(i,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t)["delete"](e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach((function(n){return t.deleteCache(e,n)}))}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var i=this.doesEleInvalidateKey(e);return i&&this.invalidateKey(n),i||0===this.getNumberOfIdsForKey(n)}}]),e}(),Fl=25,jl=50,Vl=-4,Hl=3,Wl=7.99,Gl=8,ql=1024,Ul=1024,Yl=1024,Xl=.2,Zl=.8,Kl=10,Ql=.15,Jl=.1,eu=.9,tu=.9,nu=100,iu=1,ru={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},ou=tt({getKey:null,doesEleInvalidateKey:He,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:Ve,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),au=function(e,t){var n=this;n.renderer=e,n.onDequeues=[];var i=ou(t);he(n,i),n.lookup=new Bl(i.getKey,i.doesEleInvalidateKey),n.setupDequeueing()},su=au.prototype;su.reasons=ru,su.getTextureQueue=function(e){var t=this;return t.eleImgCaches=t.eleImgCaches||{},t.eleImgCaches[e]=t.eleImgCaches[e]||[]},su.getRetiredTextureQueue=function(e){var t=this,n=t.eleImgCaches.retired=t.eleImgCaches.retired||{},i=n[e]=n[e]||[];return i},su.getElementQueue=function(){var e=this,t=e.eleCacheQueue=e.eleCacheQueue||new c["default"]((function(e,t){return t.reqs-e.reqs}));return t},su.getElementKeyToQueue=function(){var e=this,t=e.eleKeyToCacheQueue=e.eleKeyToCacheQueue||{};return t},su.getElement=function(e,t,n,i,r){var o=this,a=this.renderer,s=a.cy.zoom(),l=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed())return null;if(!o.allowEdgeTxrCaching&&e.isEdge()||!o.allowParentTxrCaching&&e.isParent())return null;if(null==i&&(i=Math.ceil($t(s*n))),i<Vl)i=Vl;else if(s>=Wl||i>Hl)return null;var u=Math.pow(2,i),c=t.h*u,h=t.w*u,d=a.eleTextBiggerThanMin(e,u);if(!this.isVisible(e,d))return null;var f,p=l.get(e,i);if(p&&p.invalidated&&(p.invalidated=!1,p.texture.invalidatedWidth-=p.width),p)return p;if(f=c<=Fl?Fl:c<=jl?jl:Math.ceil(c/jl)*jl,c>Yl||h>Ul)return null;var g=o.getTextureQueue(f),m=g[g.length-2],v=function(){return o.recycleTexture(f,h)||o.addTexture(f,h)};m||(m=g[g.length-1]),m||(m=v()),m.width-m.usedWidth<h&&(m=v());for(var y,b=function(e){return e&&e.scaledLabelShown===d},x=r&&r===ru.dequeue,_=r&&r===ru.highQuality,w=r&&r===ru.downscale,C=i+1;C<=Hl;C++){var S=l.get(e,C);if(S){y=S;break}}var k=y&&y.level===i+1?y:null,M=function(){m.context.drawImage(k.texture.canvas,k.x,0,k.width,k.height,m.usedWidth,0,h,c)};if(m.context.setTransform(1,0,0,1,0,0),m.context.clearRect(m.usedWidth,0,h,f),b(k))M();else if(b(y)){if(!_)return o.queueElement(e,y.level-1),y;for(var T=y.level;T>i;T--)k=o.getElement(e,t,n,T,ru.downscale);M()}else{var E;if(!x&&!_&&!w)for(var D=i-1;D>=Vl;D--){var P=l.get(e,D);if(P){E=P;break}}if(b(E))return o.queueElement(e,i),E;m.context.translate(m.usedWidth,0),m.context.scale(u,u),this.drawElement(m.context,e,t,d,!1),m.context.scale(1/u,1/u),m.context.translate(-m.usedWidth,0)}return p={x:m.usedWidth,texture:m,level:i,scale:u,width:h,height:c,scaledLabelShown:d},m.usedWidth+=Math.ceil(h+Gl),m.eleCaches.push(p),l.set(e,i,p),o.checkTextureFullness(m),p},su.invalidateElements=function(e){for(var t=0;t<e.length;t++)this.invalidateElement(e[t])},su.invalidateElement=function(e){var t=this,n=t.lookup,i=[],r=n.isInvalid(e);if(r){for(var o=Vl;o<=Hl;o++){var a=n.getForCachedKey(e,o);a&&i.push(a)}var s=n.invalidate(e);if(s)for(var l=0;l<i.length;l++){var u=i[l],c=u.texture;c.invalidatedWidth+=u.width,u.invalidated=!0,t.checkTextureUtility(c)}t.removeFromQueue(e)}},su.checkTextureUtility=function(e){e.invalidatedWidth>=Xl*e.width&&this.retireTexture(e)},su.checkTextureFullness=function(e){var t=this,n=t.getTextureQueue(e.height);e.usedWidth/e.width>Zl&&e.fullnessChecks>=Kl?nt(n,e):e.fullnessChecks++},su.retireTexture=function(e){var t=this,n=e.height,i=t.getTextureQueue(n),r=this.lookup;nt(i,e),e.retired=!0;for(var o=e.eleCaches,a=0;a<o.length;a++){var s=o[a];r.deleteCache(s.key,s.level)}it(o);var l=t.getRetiredTextureQueue(n);l.push(e)},su.addTexture=function(e,t){var n=this,i=n.getTextureQueue(e),r={};return i.push(r),r.eleCaches=[],r.height=e,r.width=Math.max(ql,t),r.usedWidth=0,r.invalidatedWidth=0,r.fullnessChecks=0,r.canvas=n.renderer.makeOffscreenCanvas(r.width,r.height),r.context=r.canvas.getContext("2d"),r},su.recycleTexture=function(e,t){for(var n=this,i=n.getTextureQueue(e),r=n.getRetiredTextureQueue(e),o=0;o<r.length;o++){var a=r[o];if(a.width>=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,it(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),nt(r,a),i.push(a),a}},su.queueElement=function(e,t){var n=this,i=n.getElementQueue(),r=n.getElementKeyToQueue(),o=this.getKey(e),a=r[o];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,i.updateItem(a);else{var s={eles:e.spawn().merge(e),level:t,reqs:1,key:o};i.push(s),r[o]=s}},su.dequeue=function(e){for(var t=this,n=t.getElementQueue(),i=t.getElementKeyToQueue(),r=[],o=t.lookup,a=0;a<iu;a++){if(!(n.size()>0))break;var s=n.pop(),l=s.key,u=s.eles[0],c=o.hasCache(u,s.level);if(i[l]=null,!c){r.push(s);var h=t.getBoundingBox(u);t.getElement(u,h,e,s.level,ru.dequeue)}}return r},su.removeFromQueue=function(e){var t=this,n=t.getElementQueue(),i=t.getElementKeyToQueue(),r=this.getKey(e),o=i[r];null!=o&&(1===o.eles.length?(o.reqs=je,n.updateItem(o),n.pop(),i[r]=null):o.eles.unmerge(e))},su.onDequeue=function(e){this.onDequeues.push(e)},su.offDequeue=function(e){nt(this.onDequeues,e)},su.setupDequeueing=$l.setupDequeueing({deqRedrawThreshold:nu,deqCost:Ql,deqAvgCost:Jl,deqNoDrawCost:eu,deqFastCost:tu,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n<e.onDequeues.length;n++){var i=e.onDequeues[n];i(t)}},shouldRedraw:function(e,t,n,i){for(var r=0;r<t.length;r++)for(var o=t[r].eles,a=0;a<o.length;a++){var s=o[a].boundingBox();if(tn(s,i))return!0}return!1},priority:function(e){return e.renderer.beforeRenderPriorities.eleTxrDeq}});var lu=1,uu=-4,cu=2,hu=3.99,du=50,fu=50,pu=.15,gu=.1,mu=.9,vu=.9,yu=1,bu=250,xu=16e6,_u=!0,wu=function(e){var t=this,n=t.renderer=e,i=n.cy;t.layersByLevel={},t.firstGet=!0,t.lastInvalidationTime=Se()-2*bu,t.skipping=!1,t.eleTxrDeqs=i.collection(),t.scheduleElementRefinement=u["default"]((function(){t.refineElementTextures(t.eleTxrDeqs),t.eleTxrDeqs.unmerge(t.eleTxrDeqs)}),fu),n.beforeRender((function(e,n){n-t.lastInvalidationTime<=bu?t.skipping=!0:t.skipping=!1}),n.beforeRenderPriorities.lyrTxrSkip);var r=function(e,t){return t.reqs-e.reqs};t.layersQueue=new c["default"](r),t.setupDequeueing()},Cu=wu.prototype,Su=0,ku=Math.pow(2,53)-1;Cu.makeLayer=function(e,t){var n=Math.pow(2,t),i=Math.ceil(e.w*n),r=Math.ceil(e.h*n),o=this.renderer.makeOffscreenCanvas(i,r),a={id:Su=++Su%ku,bb:e,level:t,width:i,height:r,canvas:o,context:o.getContext("2d"),eles:[],elesQueue:[],reqs:0},s=a.context,l=-a.bb.x1,u=-a.bb.y1;return s.scale(n,n),s.translate(l,u),a},Cu.getLayers=function(e,t,n){var i=this,r=i.renderer,o=r.cy,a=o.zoom(),s=i.firstGet;if(i.firstGet=!1,null==n)if(n=Math.ceil($t(a*t)),n<uu)n=uu;else if(a>=hu||n>cu)return null;i.validateLayersElesOrdering(n,e);var l,u,c=i.layersByLevel,h=Math.pow(2,n),d=c[n]=c[n]||[],f=i.levelIsComplete(n,e),p=function(){var t=function(t){if(i.validateLayersElesOrdering(t,e),i.levelIsComplete(t,e))return u=c[t],!0},r=function(e){if(!u)for(var i=n+e;uu<=i&&i<=cu;i+=e)if(t(i))break};r(1),r(-1);for(var o=d.length-1;o>=0;o--){var a=d[o];a.invalid&&nt(d,a)}};if(f)return d;p();var g=function(){if(!l){l=Ut();for(var t=0;t<e.length;t++)Zt(l,e[t].boundingBox())}return l},m=function(e){e=e||{};var t=e.after;g();var r=l.w*h*(l.h*h);if(r>xu)return null;var o=i.makeLayer(l,n);if(null!=t){var a=d.indexOf(t)+1;d.splice(a,0,o)}else(void 0===e.insert||e.insert)&&d.unshift(o);return o};if(i.skipping&&!s)return null;for(var v=null,y=e.length/lu,b=!s,x=0;x<e.length;x++){var _=e[x],w=_._private.rscratch,C=w.imgLayerCaches=w.imgLayerCaches||{},S=C[n];if(S)v=S;else{if((!v||v.eles.length>=y||!on(v.bb,_.boundingBox()))&&(v=m({insert:!0,after:v}),!v))return null;u||b?i.queueLayer(v,_):i.drawEleInLayer(v,_,n,t),v.eles.push(_),C[n]=v}}return u||(b?null:d)},Cu.getEleLevelForLayerLevel=function(e,t){return e},Cu.drawEleInLayer=function(e,t,n,i){var r=this,o=this.renderer,a=e.context,s=t.boundingBox();0!==s.w&&0!==s.h&&t.visible()&&(n=r.getEleLevelForLayerLevel(n,i),o.setImgSmoothing(a,!1),o.drawCachedElement(a,t,null,null,n,_u),o.setImgSmoothing(a,!0))},Cu.levelIsComplete=function(e,t){var n=this,i=n.layersByLevel[e];if(!i||0===i.length)return!1;for(var r=0,o=0;o<i.length;o++){var a=i[o];if(a.reqs>0)return!1;if(a.invalid)return!1;r+=a.eles.length}return r===t.length},Cu.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var i=0;i<n.length;i++){for(var r=n[i],o=-1,a=0;a<t.length;a++)if(r.eles[0]===t[a]){o=a;break}if(o<0)this.invalidateLayer(r);else{var s=o;for(a=0;a<r.eles.length;a++)if(r.eles[a]!==t[s+a]){this.invalidateLayer(r);break}}}},Cu.updateElementsInLayers=function(e,t){for(var n=this,i=j(e[0]),r=0;r<e.length;r++)for(var o=i?null:e[r],a=i?e[r]:e[r].ele,s=a._private.rscratch,l=s.imgLayerCaches=s.imgLayerCaches||{},u=uu;u<=cu;u++){var c=l[u];c&&(o&&n.getEleLevelForLayerLevel(c.level)!==o.level||t(c,a,o))}},Cu.haveLayers=function(){for(var e=this,t=!1,n=uu;n<=cu;n++){var i=e.layersByLevel[n];if(i&&i.length>0){t=!0;break}}return t},Cu.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=Se(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,i){t.invalidateLayer(e)})))},Cu.invalidateLayer=function(e){if(this.lastInvalidationTime=Se(),!e.invalid){var t=e.level,n=e.eles,i=this.layersByLevel[t];nt(i,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var r=0;r<n.length;r++){var o=n[r]._private.rscratch.imgLayerCaches;o&&(o[t]=null)}}},Cu.refineElementTextures=function(e){var t=this;t.updateElementsInLayers(e,(function(e,n,i){var r=e.replacement;if(r||(r=e.replacement=t.makeLayer(e.bb,e.level),r.replaces=e,r.eles=e.eles),!r.reqs)for(var o=0;o<r.eles.length;o++)t.queueLayer(r,r.eles[o])}))},Cu.enqueueElementRefinement=function(e){this.eleTxrDeqs.merge(e),this.scheduleElementRefinement()},Cu.queueLayer=function(e,t){var n=this,i=n.layersQueue,r=e.elesQueue,o=r.hasId=r.hasId||{};if(!e.replacement){if(t){if(o[t.id()])return;r.push(t),o[t.id()]=!0}e.reqs?(e.reqs++,i.updateItem(e)):(e.reqs=1,i.push(e))}},Cu.dequeue=function(e){var t=this,n=t.layersQueue,i=[],r=0;while(r<yu){if(0===n.size())break;var o=n.peek();if(o.replacement)n.pop();else if(o.replaces&&o!==o.replaces.replacement)n.pop();else if(o.invalid)n.pop();else{var a=o.elesQueue.shift();a&&(t.drawEleInLayer(o,a,o.level,e),r++),0===i.length&&i.push(!0),0===o.elesQueue.length&&(n.pop(),o.reqs=0,o.replaces&&t.applyLayerReplacement(o),t.requestRedraw())}}return i},Cu.applyLayerReplacement=function(e){var t=this,n=t.layersByLevel[e.level],i=e.replaces,r=n.indexOf(i);if(!(r<0||i.invalid)){n[r]=e;for(var o=0;o<e.eles.length;o++){var a=e.eles[o]._private,s=a.imgLayerCaches=a.imgLayerCaches||{};s&&(s[e.level]=e)}t.requestRedraw()}},Cu.requestRedraw=u["default"]((function(){var e=this.renderer;e.redrawHint("eles",!0),e.redrawHint("drag",!0),e.redraw()}),100),Cu.setupDequeueing=$l.setupDequeueing({deqRedrawThreshold:du,deqCost:pu,deqAvgCost:gu,deqNoDrawCost:mu,deqFastCost:vu,deq:function(e,t){return e.dequeue(t)},onDeqd:Ge,shouldRedraw:Ve,priority:function(e){return e.renderer.beforeRenderPriorities.lyrTxrDeq}});var Mu,Tu={};function Eu(e,t){for(var n=0;n<t.length;n++){var i=t[n];e.lineTo(i.x,i.y)}}function Du(e,t,n){for(var i,r=0;r<t.length;r++){var o=t[r];0===r&&(i=o),e.lineTo(o.x,o.y)}e.quadraticCurveTo(n.x,n.y,i.x,i.y)}function Pu(e,t,n){e.beginPath&&e.beginPath();for(var i=t,r=0;r<i.length;r++){var o=i[r];e.lineTo(o.x,o.y)}var a=n,s=n[0];e.moveTo(s.x,s.y);for(r=1;r<a.length;r++){o=a[r];e.lineTo(o.x,o.y)}e.closePath&&e.closePath()}function Ou(e,t,n,i,r){e.beginPath&&e.beginPath(),e.arc(n,i,r,0,2*Math.PI,!1);var o=t,a=o[0];e.moveTo(a.x,a.y);for(var s=0;s<o.length;s++){var l=o[s];e.lineTo(l.x,l.y)}e.closePath&&e.closePath()}function Iu(e,t,n,i){e.arc(t,n,i,0,2*Math.PI,!1)}Tu.arrowShapeImpl=function(e){return(Mu||(Mu={polygon:Eu,"triangle-backcurve":Du,"triangle-tee":Pu,"circle-triangle":Ou,"triangle-cross":Pu,circle:Iu}))[e]};var Au={drawElement:function(e,t,n,i,r,o){var a=this;t.isNode()?a.drawNode(e,t,n,i,r,o):a.drawEdge(e,t,n,i,r,o)},drawElementOverlay:function(e,t){var n=this;t.isNode()?n.drawNodeOverlay(e,t):n.drawEdgeOverlay(e,t)},drawElementUnderlay:function(e,t){var n=this;t.isNode()?n.drawNodeUnderlay(e,t):n.drawEdgeUnderlay(e,t)},drawCachedElementPortion:function(e,t,n,i,r,o,a,s){var l=this,u=n.getBoundingBox(t);if(0!==u.w&&0!==u.h){var c=n.getElement(t,u,i,r,o);if(null!=c){var h=s(l,t);if(0===h)return;var d,f,p,g,m,v,y=a(l,t),b=u.x1,x=u.y1,_=u.w,w=u.h;if(0!==y){var C=n.getRotationPoint(t);p=C.x,g=C.y,e.translate(p,g),e.rotate(y),m=l.getImgSmoothing(e),m||l.setImgSmoothing(e,!0);var S=n.getRotationOffset(t);d=S.x,f=S.y}else d=b,f=x;1!==h&&(v=e.globalAlpha,e.globalAlpha=v*h),e.drawImage(c.texture.canvas,c.x,0,c.width,c.height,d,f,_,w),1!==h&&(e.globalAlpha=v),0!==y&&(e.rotate(-y),e.translate(-p,-g),m||l.setImgSmoothing(e,!1))}else n.drawElement(e,t)}}},Lu=function(){return 0},Nu=function(e,t){return e.getTextAngle(t,null)},Ru=function(e,t){return e.getTextAngle(t,"source")},zu=function(e,t){return e.getTextAngle(t,"target")},$u=function(e,t){return t.effectiveOpacity()},Bu=function(e,t){return t.pstyle("text-opacity").pfValue*t.effectiveOpacity()};Au.drawCachedElement=function(e,t,n,i,r,o){var a=this,s=a.data,l=s.eleTxrCache,u=s.lblTxrCache,c=s.slbTxrCache,h=s.tlbTxrCache,d=t.boundingBox(),f=!0===o?l.reasons.highQuality:null;if(0!==d.w&&0!==d.h&&t.visible()&&(!i||tn(d,i))){var p=t.isEdge(),g=t.element()._private.rscratch.badLine;a.drawElementUnderlay(e,t),a.drawCachedElementPortion(e,t,l,n,r,f,Lu,$u),p&&g||a.drawCachedElementPortion(e,t,u,n,r,f,Nu,Bu),p&&!g&&(a.drawCachedElementPortion(e,t,c,n,r,f,Ru,Bu),a.drawCachedElementPortion(e,t,h,n,r,f,zu,Bu)),a.drawElementOverlay(e,t)}},Au.drawElements=function(e,t){for(var n=this,i=0;i<t.length;i++){var r=t[i];n.drawElement(e,r)}},Au.drawCachedElements=function(e,t,n,i){for(var r=this,o=0;o<t.length;o++){var a=t[o];r.drawCachedElement(e,a,n,i)}},Au.drawCachedNodes=function(e,t,n,i){for(var r=this,o=0;o<t.length;o++){var a=t[o];a.isNode()&&r.drawCachedElement(e,a,n,i)}},Au.drawLayeredElements=function(e,t,n,i){var r=this,o=r.data.lyrTxrCache.getLayers(t,n);if(o)for(var a=0;a<o.length;a++){var s=o[a],l=s.bb;0!==l.w&&0!==l.h&&e.drawImage(s.canvas,l.x1,l.y1,l.w,l.h)}else r.drawCachedElements(e,t,n,i)};var Fu={drawEdge:function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],a=this,s=t._private.rscratch;if((!o||t.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var l;n&&(l=n,e.translate(-l.x1,-l.y1));var u=o?t.pstyle("opacity").value:1,c=o?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,f=t.pstyle("width").pfValue,p=t.pstyle("line-cap").value,g=u*c,m=u*c,v=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;"straight-triangle"===h?(a.eleStrokeStyle(e,t,n),a.drawEdgeTrianglePath(t,e,s.allpts)):(e.lineWidth=f,e.lineCap=p,a.eleStrokeStyle(e,t,n),a.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt")},y=function(){r&&a.drawEdgeOverlay(e,t)},b=function(){r&&a.drawEdgeUnderlay(e,t)},x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m;a.drawArrowheads(e,t,n)},_=function(){a.drawElementText(e,t,null,i)};e.lineJoin="round";var w="yes"===t.pstyle("ghost").value;if(w){var C=t.pstyle("ghost-offset-x").pfValue,S=t.pstyle("ghost-offset-y").pfValue,k=t.pstyle("ghost-opacity").value,M=g*k;e.translate(C,S),v(M),x(M),e.translate(-C,-S)}b(),v(),x(),y(),_(),n&&e.translate(l.x1,l.y1)}}},ju=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n){if(n.visible()){var i=n.pstyle("".concat(e,"-opacity")).value;if(0!==i){var r=this,o=r.usePaths(),a=n._private.rscratch,s=n.pstyle("".concat(e,"-padding")).pfValue,l=2*s,u=n.pstyle("".concat(e,"-color")).value;t.lineWidth=l,"self"!==a.edgeType||o?t.lineCap="round":t.lineCap="butt",r.colorStrokeStyle(t,u[0],u[1],u[2],i),r.drawEdgePath(n,t,a.allpts,"solid")}}}};Fu.drawEdgeOverlay=ju("overlay"),Fu.drawEdgeUnderlay=ju("underlay"),Fu.drawEdgePath=function(e,t,n,i){var r,o=e._private.rscratch,a=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var h=n.join("$"),d=o.pathCacheKey&&o.pathCacheKey===h;d?(r=t=o.pathCache,s=!0):(r=t=new Path2D,o.pathCacheKey=h,o.pathCache=r)}if(a.setLineDash)switch(i){case"dotted":a.setLineDash([1,1]);break;case"dashed":a.setLineDash(u),a.lineDashOffset=c;break;case"solid":a.setLineDash([]);break}if(!s&&!o.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),o.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var f=2;f+3<n.length;f+=4)t.quadraticCurveTo(n[f],n[f+1],n[f+2],n[f+3]);break;case"straight":case"segments":case"haystack":for(var p=2;p+1<n.length;p+=2)t.lineTo(n[p],n[p+1]);break}t=a,l?t.stroke(r):t.stroke(),t.setLineDash&&t.setLineDash([])},Fu.drawEdgeTrianglePath=function(e,t,n){t.fillStyle=t.strokeStyle;for(var i=e.pstyle("width").pfValue,r=0;r+1<n.length;r+=2){var o=[n[r+2]-n[r],n[r+3]-n[r+1]],a=Math.sqrt(o[0]*o[0]+o[1]*o[1]),s=[o[1]/a,-o[0]/a],l=[s[0]*i/2,s[1]*i/2];t.beginPath(),t.moveTo(n[r]-l[0],n[r+1]-l[1]),t.lineTo(n[r]+l[0],n[r+1]+l[1]),t.lineTo(n[r+2],n[r+3]),t.closePath(),t.fill()}},Fu.drawArrowheads=function(e,t,n){var i=t._private.rscratch,r="haystack"===i.edgeType;r||this.drawArrowhead(e,t,"source",i.arrowStartX,i.arrowStartY,i.srcArrowAngle,n),this.drawArrowhead(e,t,"mid-target",i.midX,i.midY,i.midtgtArrowAngle,n),this.drawArrowhead(e,t,"mid-source",i.midX,i.midY,i.midsrcArrowAngle,n),r||this.drawArrowhead(e,t,"target",i.arrowEndX,i.arrowEndY,i.tgtArrowAngle,n)},Fu.drawArrowhead=function(e,t,n,i,r,o,a){if(!(isNaN(i)||null==i||isNaN(r)||null==r||isNaN(o)||null==o)){var s=this,l=t.pstyle(n+"-arrow-shape").value;if("none"!==l){var u="hollow"===t.pstyle(n+"-arrow-fill").value?"both":"filled",c=t.pstyle(n+"-arrow-fill").value,h=t.pstyle("width").pfValue,d=t.pstyle("opacity").value;void 0===a&&(a=d);var f=e.globalCompositeOperation;1===a&&"hollow"!==c||(e.globalCompositeOperation="destination-out",s.colorFillStyle(e,255,255,255,1),s.colorStrokeStyle(e,255,255,255,1),s.drawArrowShape(t,e,u,h,l,i,r,o),e.globalCompositeOperation=f);var p=t.pstyle(n+"-arrow-color").value;s.colorFillStyle(e,p[0],p[1],p[2],a),s.colorStrokeStyle(e,p[0],p[1],p[2],a),s.drawArrowShape(t,e,c,h,l,i,r,o)}}},Fu.drawArrowShape=function(e,t,n,i,r,o,a,s){var l,u=this,c=this.usePaths()&&"triangle-cross"!==r,h=!1,d=t,f={x:o,y:a},p=e.pstyle("arrow-scale").value,g=this.getArrowWidth(i,p),m=u.arrowShapes[r];if(c){var v=u.arrowPathCache=u.arrowPathCache||[],y=Ne(r),b=v[y];null!=b?(l=t=b,h=!0):(l=t=new Path2D,v[y]=l)}h||(t.beginPath&&t.beginPath(),c?m.draw(t,1,0,{x:0,y:0},1):m.draw(t,g,s,f,i),t.closePath&&t.closePath()),t=d,c&&(t.translate(o,a),t.rotate(s),t.scale(g,g)),"filled"!==n&&"both"!==n||(c?t.fill(l):t.fill()),"hollow"!==n&&"both"!==n||(t.lineWidth=(m.matchEdgeWidth?i:1)/(c?g:1),t.lineJoin="miter",c?t.stroke(l):t.stroke()),c&&(t.scale(1/g,1/g),t.rotate(-s),t.translate(-o,-a))};var Vu={safeDrawImage:function(e,t,n,i,r,o,a,s,l,u){if(!(r<=0||o<=0||l<=0||u<=0))try{e.drawImage(t,n,i,r,o,a,s,l,u)}catch(c){Ye(c)}},drawInscribedImage:function(e,t,n,i,r){var o=this,a=n.position(),s=a.x,l=a.y,u=n.cy().style(),c=u.getIndexedStyle.bind(u),h=c(n,"background-fit","value",i),d=c(n,"background-repeat","value",i),f=n.width(),p=n.height(),g=2*n.padding(),m=f+("inner"===c(n,"background-width-relative-to","value",i)?0:g),v=p+("inner"===c(n,"background-height-relative-to","value",i)?0:g),y=n._private.rscratch,b=c(n,"background-clip","value",i),x="node"===b,_=c(n,"background-image-opacity","value",i)*r,w=c(n,"background-image-smoothing","value",i),C=t.width||t.cachedW,S=t.height||t.cachedH;null!=C&&null!=S||(document.body.appendChild(t),C=t.cachedW=t.width||t.offsetWidth,S=t.cachedH=t.height||t.offsetHeight,document.body.removeChild(t));var k=C,M=S;if("auto"!==c(n,"background-width","value",i)&&(k="%"===c(n,"background-width","units",i)?c(n,"background-width","pfValue",i)*m:c(n,"background-width","pfValue",i)),"auto"!==c(n,"background-height","value",i)&&(M="%"===c(n,"background-height","units",i)?c(n,"background-height","pfValue",i)*v:c(n,"background-height","pfValue",i)),0!==k&&0!==M){if("contain"===h){var T=Math.min(m/k,v/M);k*=T,M*=T}else if("cover"===h){T=Math.max(m/k,v/M);k*=T,M*=T}var E=s-m/2,D=c(n,"background-position-x","units",i),P=c(n,"background-position-x","pfValue",i);E+="%"===D?(m-k)*P:P;var O=c(n,"background-offset-x","units",i),I=c(n,"background-offset-x","pfValue",i);E+="%"===O?(m-k)*I:I;var A=l-v/2,L=c(n,"background-position-y","units",i),N=c(n,"background-position-y","pfValue",i);A+="%"===L?(v-M)*N:N;var R=c(n,"background-offset-y","units",i),z=c(n,"background-offset-y","pfValue",i);A+="%"===R?(v-M)*z:z,y.pathCache&&(E-=s,A-=l,s=0,l=0);var $=e.globalAlpha;e.globalAlpha=_;var B=o.getImgSmoothing(e),F=!1;if("no"===w&&B?(o.setImgSmoothing(e,!1),F=!0):"yes"!==w||B||(o.setImgSmoothing(e,!0),F=!0),"no-repeat"===d)x&&(e.save(),y.pathCache?e.clip(y.pathCache):(o.nodeShapes[o.getNodeShape(n)].draw(e,s,l,m,v),e.clip())),o.safeDrawImage(e,t,0,0,C,S,E,A,k,M),x&&e.restore();else{var j=e.createPattern(t,d);e.fillStyle=j,o.nodeShapes[o.getNodeShape(n)].draw(e,s,l,m,v),e.translate(E,A),e.fill(),e.translate(-E,-A)}e.globalAlpha=$,F&&o.setImgSmoothing(e,B)}}},Hu={};function Wu(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;e.beginPath(),e.moveTo(t+o,n),e.lineTo(t+i-o,n),e.quadraticCurveTo(t+i,n,t+i,n+o),e.lineTo(t+i,n+r-o),e.quadraticCurveTo(t+i,n+r,t+i-o,n+r),e.lineTo(t+o,n+r),e.quadraticCurveTo(t,n+r,t,n+r-o),e.lineTo(t,n+o),e.quadraticCurveTo(t,n,t+o,n),e.closePath(),e.fill()}Hu.eleTextBiggerThanMin=function(e,t){if(!t){var n=e.cy().zoom(),i=this.getPixelRatio(),r=Math.ceil($t(n*i));t=Math.pow(2,r)}var o=e.pstyle("font-size").pfValue*t,a=e.pstyle("min-zoomed-font-size").pfValue;return!(o<a)},Hu.drawElementText=function(e,t,n,i,r){var o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],a=this;if(null==i){if(o&&!a.eleTextBiggerThanMin(t))return}else if(!1===i)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=a.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var f,p=!n;n&&(f=n,e.translate(-f.x1,-f.y1)),null==r?(a.drawText(e,t,null,p,o),t.isEdge()&&(a.drawText(e,t,"source",p,o),a.drawText(e,t,"target",p,o))):a.drawText(e,t,r,p,o),n&&e.translate(f.x1,f.y1)},Hu.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n<this.fontCaches.length;n++)if(t=this.fontCaches[n],t.context===e)return t;return t={context:e},this.fontCaches.push(t),t},Hu.setupTextStyle=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=t.pstyle("font-style").strValue,r=t.pstyle("font-size").pfValue+"px",o=t.pstyle("font-family").strValue,a=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=i+" "+a+" "+r+" "+o,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},Hu.getTextAngle=function(e,t){var n,i=e._private,r=i.rscratch,o=t?t+"-":"",a=e.pstyle(o+"text-rotation"),s=ot(r,"labelAngle",t);return n="autorotate"===a.strValue?e.isEdge()?s:0:"none"===a.strValue?0:a.pfValue,n},Hu.drawText=function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=t._private,a=o.rscratch,s=r?t.effectiveOpacity():1;if(!r||0!==s&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var l,u,c=ot(a,"labelX",n),h=ot(a,"labelY",n),d=this.getLabelText(t,n);if(null!=d&&""!==d&&!isNaN(c)&&!isNaN(h)){this.setupTextStyle(e,t,r);var f,p=n?n+"-":"",g=ot(a,"labelWidth",n),m=ot(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle("text-halign").value,_=t.pstyle("text-valign").value;switch(b&&(x="center",_="center"),c+=v,h+=y,f=i?this.getTextAngle(t,n):0,0!==f&&(l=c,u=h,e.translate(l,u),e.rotate(f),c=0,h=0),_){case"top":break;case"center":h+=m/2;break;case"bottom":h+=m;break}var w=t.pstyle("text-background-opacity").value,C=t.pstyle("text-border-opacity").value,S=t.pstyle("text-border-width").pfValue,k=t.pstyle("text-background-padding").pfValue;if(w>0||S>0&&C>0){var M=c-k;switch(x){case"left":M-=g;break;case"center":M-=g/2;break}var T=h-m-k,E=g+2*k,D=m+2*k;if(w>0){var P=e.fillStyle,O=t.pstyle("text-background-color").value;e.fillStyle="rgba("+O[0]+","+O[1]+","+O[2]+","+w*s+")";var I=t.pstyle("text-background-shape").strValue;0===I.indexOf("round")?Wu(e,M,T,E,D,2):e.fillRect(M,T,E,D),e.fillStyle=P}if(S>0&&C>0){var A=e.strokeStyle,L=e.lineWidth,N=t.pstyle("text-border-color").value,R=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+N[0]+","+N[1]+","+N[2]+","+C*s+")",e.lineWidth=S,e.setLineDash)switch(R){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=S/4,e.setLineDash([]);break;case"solid":e.setLineDash([]);break}if(e.strokeRect(M,T,E,D),"double"===R){var z=S/2;e.strokeRect(M+z,T+z,E-2*z,D-2*z)}e.setLineDash&&e.setLineDash([]),e.lineWidth=L,e.strokeStyle=A}}var $=2*t.pstyle("text-outline-width").pfValue;if($>0&&(e.lineWidth=$),"wrap"===t.pstyle("text-wrap").value){var B=ot(a,"labelWrapCachedLines",n),F=ot(a,"labelLineHeight",n),j=g/2,V=this.getLabelJustification(t);switch("auto"===V||("left"===x?"left"===V?c+=-g:"center"===V&&(c+=-j):"center"===x?"left"===V?c+=-j:"right"===V&&(c+=j):"right"===x&&("center"===V?c+=j:"right"===V&&(c+=g))),_){case"top":h-=(B.length-1)*F;break;case"center":case"bottom":h-=(B.length-1)*F;break}for(var H=0;H<B.length;H++)$>0&&e.strokeText(B[H],c,h),e.fillText(B[H],c,h),h+=F}else $>0&&e.strokeText(d,c,h),e.fillText(d,c,h);0!==f&&(e.rotate(-f),e.translate(-l,-u))}}};var Gu={drawNode:function(e,t,n){var i,r,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=this,u=t._private,c=u.rscratch,h=t.position();if(z(h.x)&&z(h.y)&&(!s||t.visible())){var d,f,p=s?t.effectiveOpacity():1,g=l.usePaths(),m=!1,v=t.padding();i=t.width()+2*v,r=t.height()+2*v,n&&(f=n,e.translate(-f.x1,-f.y1));for(var y=t.pstyle("background-image"),b=y.value,x=new Array(b.length),_=new Array(b.length),w=0,C=0;C<b.length;C++){var S=b[C],k=x[C]=null!=S&&"none"!==S;if(k){var M=t.cy().style().getIndexedStyle(t,"background-image-crossorigin","value",C);w++,_[C]=l.getCachedImage(S,M,(function(){u.backgroundTimestamp=Date.now(),t.emitAndNotify("background")}))}}var T=t.pstyle("background-blacken").value,E=t.pstyle("border-width").pfValue,D=t.pstyle("background-opacity").value*p,P=t.pstyle("border-color").value,O=t.pstyle("border-style").value,I=t.pstyle("border-opacity").value*p;e.lineJoin="miter";var A=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D;l.eleFillStyle(e,t,n)},L=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;l.colorStrokeStyle(e,P[0],P[1],P[2],t)},N=t.pstyle("shape").strValue,R=t.pstyle("shape-polygon-points").pfValue;if(g){e.translate(h.x,h.y);var $=l.nodePathCache=l.nodePathCache||[],B=Re("polygon"===N?N+","+R.join(","):N,""+r,""+i),F=$[B];null!=F?(d=F,m=!0,c.pathCache=d):(d=new Path2D,$[B]=c.pathCache=d)}var j=function(){if(!m){var n=h;g&&(n={x:0,y:0}),l.nodeShapes[l.getNodeShape(t)].draw(d||e,n.x,n.y,i,r)}g?e.fill(d):e.fill()},V=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.backgrounding,o=0,a=0;a<_.length;a++){var s=t.cy().style().getIndexedStyle(t,"background-image-containment","value",a);i&&"over"===s||!i&&"inside"===s?o++:x[a]&&_[a].complete&&!_[a].error&&(o++,l.drawInscribedImage(e,_[a],t,a,n))}u.backgrounding=!(o===w),r!==u.backgrounding&&t.updateStyle(!1)},H=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p;l.hasPie(t)&&(l.drawPie(e,t,o),n&&(g||l.nodeShapes[l.getNodeShape(t)].draw(e,h.x,h.y,i,r)))},W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,n=(T>0?T:-T)*t,i=T>0?0:255;0!==T&&(l.colorFillStyle(e,i,i,i,n),g?e.fill(d):e.fill())},G=function(){if(E>0){if(e.lineWidth=E,e.lineCap="butt",e.setLineDash)switch(O){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([]);break}if(g?e.stroke(d):e.stroke(),"double"===O){e.lineWidth=E/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",g?e.stroke(d):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}},q=function(){a&&l.drawNodeOverlay(e,t,h,i,r)},U=function(){a&&l.drawNodeUnderlay(e,t,h,i,r)},Y=function(){l.drawElementText(e,t,null,o)},X="yes"===t.pstyle("ghost").value;if(X){var Z=t.pstyle("ghost-offset-x").pfValue,K=t.pstyle("ghost-offset-y").pfValue,Q=t.pstyle("ghost-opacity").value,J=Q*p;e.translate(Z,K),A(Q*D),j(),V(J,!0),L(Q*I),G(),H(0!==T||0!==E),V(J,!1),W(J),e.translate(-Z,-K)}g&&e.translate(-h.x,-h.y),U(),g&&e.translate(h.x,h.y),A(),j(),V(p,!0),L(),G(),H(0!==T||0!==E),V(p,!1),W(),g&&e.translate(-h.x,-h.y),Y(),q(),n&&e.translate(f.x1,f.y1)}}},qu=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n,i,r,o){var a=this;if(n.visible()){var s=n.pstyle("".concat(e,"-padding")).pfValue,l=n.pstyle("".concat(e,"-opacity")).value,u=n.pstyle("".concat(e,"-color")).value,c=n.pstyle("".concat(e,"-shape")).value;if(l>0){if(i=i||n.position(),null==r||null==o){var h=n.padding();r=n.width()+2*h,o=n.height()+2*h}a.colorFillStyle(t,u[0],u[1],u[2],l),a.nodeShapes[c].draw(t,i.x,i.y,r+2*s,o+2*s),t.fill()}}}};Gu.drawNodeOverlay=qu("overlay"),Gu.drawNodeUnderlay=qu("underlay"),Gu.hasPie=function(e){return e=e[0],e._private.hasPie},Gu.drawPie=function(e,t,n,i){t=t[0],i=i||t.position();var r=t.cy().style(),o=t.pstyle("pie-size"),a=i.x,s=i.y,l=t.width(),u=t.height(),c=Math.min(l,u)/2,h=0,d=this.usePaths();d&&(a=0,s=0),"%"===o.units?c*=o.pfValue:void 0!==o.pfValue&&(c=o.pfValue/2);for(var f=1;f<=r.pieBackgroundN;f++){var p=t.pstyle("pie-"+f+"-background-size").value,g=t.pstyle("pie-"+f+"-background-color").value,m=t.pstyle("pie-"+f+"-background-opacity").value*n,v=p/100;v+h>1&&(v=1-h);var y=1.5*Math.PI+2*Math.PI*h,b=2*Math.PI*v,x=y+b;0===p||h>=1||h+v>1||(e.beginPath(),e.moveTo(a,s),e.arc(a,s,c,y,x),e.closePath(),this.colorFillStyle(e,g[0],g[1],g[2],m),e.fill(),h+=v)}};var Uu={},Yu=100;Uu.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},Uu.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],i=!0,r=0;r<n.length;r++)if(t=n[r],t.context===e){i=!1;break}return i&&(t={context:e},n.push(t)),t},Uu.createGradientStyleFor=function(e,t,n,i,r){var o,a=this.usePaths(),s=n.pstyle(t+"-gradient-stop-colors").value,l=n.pstyle(t+"-gradient-stop-positions").pfValue;if("radial-gradient"===i)if(n.isEdge()){var u=n.sourceEndpoint(),c=n.targetEndpoint(),h=n.midpoint(),d=Ft(u,h),f=Ft(c,h);o=e.createRadialGradient(h.x,h.y,0,h.x,h.y,Math.max(d,f))}else{var p=a?{x:0,y:0}:n.position(),g=n.paddedWidth(),m=n.paddedHeight();o=e.createRadialGradient(p.x,p.y,0,p.x,p.y,Math.max(g,m))}else if(n.isEdge()){var v=n.sourceEndpoint(),y=n.targetEndpoint();o=e.createLinearGradient(v.x,v.y,y.x,y.y)}else{var b=a?{x:0,y:0}:n.position(),x=n.paddedWidth(),_=n.paddedHeight(),w=x/2,C=_/2,S=n.pstyle("background-gradient-direction").value;switch(S){case"to-bottom":o=e.createLinearGradient(b.x,b.y-C,b.x,b.y+C);break;case"to-top":o=e.createLinearGradient(b.x,b.y+C,b.x,b.y-C);break;case"to-left":o=e.createLinearGradient(b.x+w,b.y,b.x-w,b.y);break;case"to-right":o=e.createLinearGradient(b.x-w,b.y,b.x+w,b.y);break;case"to-bottom-right":case"to-right-bottom":o=e.createLinearGradient(b.x-w,b.y-C,b.x+w,b.y+C);break;case"to-top-right":case"to-right-top":o=e.createLinearGradient(b.x-w,b.y+C,b.x+w,b.y-C);break;case"to-bottom-left":case"to-left-bottom":o=e.createLinearGradient(b.x+w,b.y-C,b.x-w,b.y+C);break;case"to-top-left":case"to-left-top":o=e.createLinearGradient(b.x+w,b.y+C,b.x-w,b.y-C);break}}if(!o)return null;for(var k=l.length===s.length,M=s.length,T=0;T<M;T++)o.addColorStop(k?l[T]:T/(M-1),"rgba("+s[T][0]+","+s[T][1]+","+s[T][2]+","+r+")");return o},Uu.gradientFillStyle=function(e,t,n,i){var r=this.createGradientStyleFor(e,"background",t,n,i);if(!r)return null;e.fillStyle=r},Uu.colorFillStyle=function(e,t,n,i,r){e.fillStyle="rgba("+t+","+n+","+i+","+r+")"},Uu.eleFillStyle=function(e,t,n){var i=t.pstyle("background-fill").value;if("linear-gradient"===i||"radial-gradient"===i)this.gradientFillStyle(e,t,i,n);else{var r=t.pstyle("background-color").value;this.colorFillStyle(e,r[0],r[1],r[2],n)}},Uu.gradientStrokeStyle=function(e,t,n,i){var r=this.createGradientStyleFor(e,"line",t,n,i);if(!r)return null;e.strokeStyle=r},Uu.colorStrokeStyle=function(e,t,n,i,r){e.strokeStyle="rgba("+t+","+n+","+i+","+r+")"},Uu.eleStrokeStyle=function(e,t,n){var i=t.pstyle("line-fill").value;if("linear-gradient"===i||"radial-gradient"===i)this.gradientStrokeStyle(e,t,i,n);else{var r=t.pstyle("line-color").value;this.colorStrokeStyle(e,r[0],r[1],r[2],n)}},Uu.matchCanvasSize=function(e){var t=this,n=t.data,i=t.findContainerClientCoords(),r=i[2],o=i[3],a=t.getPixelRatio(),s=t.motionBlurPxRatio;e!==t.data.bufferCanvases[t.MOTIONBLUR_BUFFER_NODE]&&e!==t.data.bufferCanvases[t.MOTIONBLUR_BUFFER_DRAG]||(a=s);var l,u=r*a,c=o*a;if(u!==t.canvasWidth||c!==t.canvasHeight){t.fontCaches=null;var h=n.canvasContainer;h.style.width=r+"px",h.style.height=o+"px";for(var d=0;d<t.CANVAS_LAYERS;d++)l=n.canvases[d],l.width=u,l.height=c,l.style.width=r+"px",l.style.height=o+"px";for(d=0;d<t.BUFFER_COUNT;d++)l=n.bufferCanvases[d],l.width=u,l.height=c,l.style.width=r+"px",l.style.height=o+"px";t.textureMult=1,a<=1&&(l=n.bufferCanvases[t.TEXTURE_BUFFER],t.textureMult=2,l.width=u*t.textureMult,l.height=c*t.textureMult),t.canvasWidth=u,t.canvasHeight=c}},Uu.renderTo=function(e,t,n,i){this.render({forcedContext:e,forcedZoom:t,forcedPan:n,drawAllLayers:!0,forcedPxRatio:i})},Uu.render=function(e){e=e||et();var t=e.forcedContext,n=e.drawAllLayers,i=e.drawOnlyNodeLayer,r=e.forcedZoom,o=e.forcedPan,a=this,s=void 0===e.forcedPxRatio?this.getPixelRatio():e.forcedPxRatio,l=a.cy,u=a.data,c=u.canvasNeedsRedraw,h=a.textureOnViewport&&!t&&(a.pinching||a.hoverData.dragging||a.swipePanning||a.data.wheelZooming),d=void 0!==e.motionBlur?e.motionBlur:a.motionBlur,f=a.motionBlurPxRatio,p=l.hasCompoundNodes(),g=a.hoverData.draggingEles,m=!(!a.hoverData.selecting&&!a.touchData.selecting);d=d&&!t&&a.motionBlurEnabled&&!m;var v=d;t||(a.prevPxRatio!==s&&(a.invalidateContainerClientCoordsCache(),a.matchCanvasSize(a.container),a.redrawHint("eles",!0),a.redrawHint("drag",!0)),a.prevPxRatio=s),!t&&a.motionBlurTimeout&&clearTimeout(a.motionBlurTimeout),d&&(null==a.mbFrames&&(a.mbFrames=0),a.mbFrames++,a.mbFrames<3&&(v=!1),a.mbFrames>a.minMbLowQualFrames&&(a.motionBlurPxRatio=a.mbPxRBlurry)),a.clearingMotionBlur&&(a.motionBlurPxRatio=1),a.textureDrawLastFrame&&!h&&(c[a.NODE]=!0,c[a.SELECT_BOX]=!0);var y=l.style(),b=l.zoom(),x=void 0!==r?r:b,_=l.pan(),w={x:_.x,y:_.y},C={zoom:b,pan:{x:_.x,y:_.y}},S=a.prevViewport,k=void 0===S||C.zoom!==S.zoom||C.pan.x!==S.pan.x||C.pan.y!==S.pan.y;k||g&&!p||(a.motionBlurPxRatio=1),o&&(w=o),x*=s,w.x*=s,w.y*=s;var M=a.getCachedZSortedEles();function T(e,t,n,i,r){var o=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",a.colorFillStyle(e,255,255,255,a.motionBlurTransparency),e.fillRect(t,n,i,r),e.globalCompositeOperation=o}function E(e,i){var s,l,c,h;a.clearingMotionBlur||e!==u.bufferContexts[a.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[a.MOTIONBLUR_BUFFER_DRAG]?(s=w,l=x,c=a.canvasWidth,h=a.canvasHeight):(s={x:_.x*f,y:_.y*f},l=b*f,c=a.canvasWidth*f,h=a.canvasHeight*f),e.setTransform(1,0,0,1,0,0),"motionBlur"===i?T(e,0,0,c,h):t||void 0!==i&&!i||e.clearRect(0,0,c,h),n||(e.translate(s.x,s.y),e.scale(l,l)),o&&e.translate(o.x,o.y),r&&e.scale(r,r)}if(h||(a.textureDrawLastFrame=!1),h){if(a.textureDrawLastFrame=!0,!a.textureCache){a.textureCache={},a.textureCache.bb=l.mutableElements().boundingBox(),a.textureCache.texture=a.data.bufferCanvases[a.TEXTURE_BUFFER];var D=a.data.bufferContexts[a.TEXTURE_BUFFER];D.setTransform(1,0,0,1,0,0),D.clearRect(0,0,a.canvasWidth*a.textureMult,a.canvasHeight*a.textureMult),a.render({forcedContext:D,drawOnlyNodeLayer:!0,forcedPxRatio:s*a.textureMult});C=a.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:a.canvasWidth,height:a.canvasHeight};C.mpan={x:(0-C.pan.x)/C.zoom,y:(0-C.pan.y)/C.zoom}}c[a.DRAG]=!1,c[a.NODE]=!1;var P=u.contexts[a.NODE],O=a.textureCache.texture;C=a.textureCache.viewport;P.setTransform(1,0,0,1,0,0),d?T(P,0,0,C.width,C.height):P.clearRect(0,0,C.width,C.height);var I=y.core("outside-texture-bg-color").value,A=y.core("outside-texture-bg-opacity").value;a.colorFillStyle(P,I[0],I[1],I[2],A),P.fillRect(0,0,C.width,C.height);b=l.zoom();E(P,!1),P.clearRect(C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s),P.drawImage(O,C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s)}else a.textureOnViewport&&!t&&(a.textureCache=null);var L=l.extent(),N=a.pinching||a.hoverData.dragging||a.swipePanning||a.data.wheelZooming||a.hoverData.draggingEles||a.cy.animated(),R=a.hideEdgesOnViewport&&N,z=[];if(z[a.NODE]=!c[a.NODE]&&d&&!a.clearedForMotionBlur[a.NODE]||a.clearingMotionBlur,z[a.NODE]&&(a.clearedForMotionBlur[a.NODE]=!0),z[a.DRAG]=!c[a.DRAG]&&d&&!a.clearedForMotionBlur[a.DRAG]||a.clearingMotionBlur,z[a.DRAG]&&(a.clearedForMotionBlur[a.DRAG]=!0),c[a.NODE]||n||i||z[a.NODE]){var $=d&&!z[a.NODE]&&1!==f,B=(P=t||($?a.data.bufferContexts[a.MOTIONBLUR_BUFFER_NODE]:u.contexts[a.NODE]),d&&!$?"motionBlur":void 0);E(P,B),R?a.drawCachedNodes(P,M.nondrag,s,L):a.drawLayeredElements(P,M.nondrag,s,L),a.debug&&a.drawDebugPoints(P,M.nondrag),n||d||(c[a.NODE]=!1)}if(!i&&(c[a.DRAG]||n||z[a.DRAG])){$=d&&!z[a.DRAG]&&1!==f,P=t||($?a.data.bufferContexts[a.MOTIONBLUR_BUFFER_DRAG]:u.contexts[a.DRAG]);E(P,d&&!$?"motionBlur":void 0),R?a.drawCachedNodes(P,M.drag,s,L):a.drawCachedElements(P,M.drag,s,L),a.debug&&a.drawDebugPoints(P,M.drag),n||d||(c[a.DRAG]=!1)}if(a.showFps||!i&&c[a.SELECT_BOX]&&!n){P=t||u.contexts[a.SELECT_BOX];if(E(P),1==a.selection[4]&&(a.hoverData.selecting||a.touchData.selecting)){b=a.cy.zoom();var F=y.core("selection-box-border-width").value/b;P.lineWidth=F,P.fillStyle="rgba("+y.core("selection-box-color").value[0]+","+y.core("selection-box-color").value[1]+","+y.core("selection-box-color").value[2]+","+y.core("selection-box-opacity").value+")",P.fillRect(a.selection[0],a.selection[1],a.selection[2]-a.selection[0],a.selection[3]-a.selection[1]),F>0&&(P.strokeStyle="rgba("+y.core("selection-box-border-color").value[0]+","+y.core("selection-box-border-color").value[1]+","+y.core("selection-box-border-color").value[2]+","+y.core("selection-box-opacity").value+")",P.strokeRect(a.selection[0],a.selection[1],a.selection[2]-a.selection[0],a.selection[3]-a.selection[1]))}if(u.bgActivePosistion&&!a.hoverData.selecting){b=a.cy.zoom();var j=u.bgActivePosistion;P.fillStyle="rgba("+y.core("active-bg-color").value[0]+","+y.core("active-bg-color").value[1]+","+y.core("active-bg-color").value[2]+","+y.core("active-bg-opacity").value+")",P.beginPath(),P.arc(j.x,j.y,y.core("active-bg-size").pfValue/b,0,2*Math.PI),P.fill()}var V=a.lastRedrawTime;if(a.showFps&&V){V=Math.round(V);var H=Math.round(1e3/V);P.setTransform(1,0,0,1,0,0),P.fillStyle="rgba(255, 0, 0, 0.75)",P.strokeStyle="rgba(255, 0, 0, 0.75)",P.lineWidth=1,P.fillText("1 frame = "+V+" ms = "+H+" fps",0,20);var W=60;P.strokeRect(0,30,250,20),P.fillRect(0,30,250*Math.min(H/W,1),20)}n||(c[a.SELECT_BOX]=!1)}if(d&&1!==f){var G=u.contexts[a.NODE],q=a.data.bufferCanvases[a.MOTIONBLUR_BUFFER_NODE],U=u.contexts[a.DRAG],Y=a.data.bufferCanvases[a.MOTIONBLUR_BUFFER_DRAG],X=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!v?e.clearRect(0,0,a.canvasWidth,a.canvasHeight):T(e,0,0,a.canvasWidth,a.canvasHeight);var i=f;e.drawImage(t,0,0,a.canvasWidth*i,a.canvasHeight*i,0,0,a.canvasWidth,a.canvasHeight)};(c[a.NODE]||z[a.NODE])&&(X(G,q,z[a.NODE]),c[a.NODE]=!1),(c[a.DRAG]||z[a.DRAG])&&(X(U,Y,z[a.DRAG]),c[a.DRAG]=!1)}a.prevViewport=C,a.clearingMotionBlur&&(a.clearingMotionBlur=!1,a.motionBlurCleared=!0,a.motionBlur=!0),d&&(a.motionBlurTimeout=setTimeout((function(){a.motionBlurTimeout=null,a.clearedForMotionBlur[a.NODE]=!1,a.clearedForMotionBlur[a.DRAG]=!1,a.motionBlur=!1,a.clearingMotionBlur=!h,a.mbFrames=0,c[a.NODE]=!0,c[a.DRAG]=!0,a.redraw()}),Yu)),t||l.emit("render")};for(var Xu={drawPolygonPath:function(e,t,n,i,r,o){var a=i/2,s=r/2;e.beginPath&&e.beginPath(),e.moveTo(t+a*o[0],n+s*o[1]);for(var l=1;l<o.length/2;l++)e.lineTo(t+a*o[2*l],n+s*o[2*l+1]);e.closePath()},drawRoundPolygonPath:function(e,t,n,i,r,o){var a=i/2,s=r/2,l=Pn(i,r);e.beginPath&&e.beginPath();for(var u=0;u<o.length/4;u++){var c=void 0,h=void 0;c=0===u?o.length-2:4*u-2,h=4*u+2;var d=t+a*o[4*u],f=n+s*o[4*u+1],p=-o[c]*o[h]-o[c+1]*o[h+1],g=l/Math.tan(Math.acos(p)/2),m=d-g*o[c],v=f-g*o[c+1],y=d+g*o[h],b=f+g*o[h+1];0===u?e.moveTo(m,v):e.lineTo(m,v),e.arcTo(d,f,y,b,l)}e.closePath()},drawRoundRectanglePath:function(e,t,n,i,r){var o=i/2,a=r/2,s=Dn(i,r);e.beginPath&&e.beginPath(),e.moveTo(t,n-a),e.arcTo(t+o,n-a,t+o,n,s),e.arcTo(t+o,n+a,t,n+a,s),e.arcTo(t-o,n+a,t-o,n,s),e.arcTo(t-o,n-a,t,n-a,s),e.lineTo(t,n-a),e.closePath()},drawBottomRoundRectanglePath:function(e,t,n,i,r){var o=i/2,a=r/2,s=Dn(i,r);e.beginPath&&e.beginPath(),e.moveTo(t,n-a),e.lineTo(t+o,n-a),e.lineTo(t+o,n),e.arcTo(t+o,n+a,t,n+a,s),e.arcTo(t-o,n+a,t-o,n,s),e.lineTo(t-o,n-a),e.lineTo(t,n-a),e.closePath()},drawCutRectanglePath:function(e,t,n,i,r){var o=i/2,a=r/2,s=On();e.beginPath&&e.beginPath(),e.moveTo(t-o+s,n-a),e.lineTo(t+o-s,n-a),e.lineTo(t+o,n-a+s),e.lineTo(t+o,n+a-s),e.lineTo(t+o-s,n+a),e.lineTo(t-o+s,n+a),e.lineTo(t-o,n+a-s),e.lineTo(t-o,n-a+s),e.closePath()},drawBarrelPath:function(e,t,n,i,r){var o=i/2,a=r/2,s=t-o,l=t+o,u=n-a,c=n+a,h=An(i,r),d=h.widthOffset,f=h.heightOffset,p=h.ctrlPtOffsetPct*d;e.beginPath&&e.beginPath(),e.moveTo(s,u+f),e.lineTo(s,c-f),e.quadraticCurveTo(s+p,c,s+d,c),e.lineTo(l-d,c),e.quadraticCurveTo(l-p,c,l,c-f),e.lineTo(l,u+f),e.quadraticCurveTo(l-p,u,l-d,u),e.lineTo(s+d,u),e.quadraticCurveTo(s+p,u,s,u+f),e.closePath()}},Zu=Math.sin(0),Ku=Math.cos(0),Qu={},Ju={},ec=Math.PI/40,tc=0*Math.PI;tc<2*Math.PI;tc+=ec)Qu[tc]=Math.sin(tc),Ju[tc]=Math.cos(tc);Xu.drawEllipsePath=function(e,t,n,i,r){if(e.beginPath&&e.beginPath(),e.ellipse)e.ellipse(t,n,i/2,r/2,0,0,2*Math.PI);else for(var o,a,s=i/2,l=r/2,u=0*Math.PI;u<2*Math.PI;u+=ec)o=t-s*Qu[u]*Zu+s*Ju[u]*Ku,a=n+l*Ju[u]*Zu+l*Qu[u]*Ku,0===u?e.moveTo(o,a):e.lineTo(o,a);e.closePath()};var nc={};function ic(e,t){for(var n=atob(e),i=new ArrayBuffer(n.length),r=new Uint8Array(i),o=0;o<n.length;o++)r[o]=n.charCodeAt(o);return new Blob([i],{type:t})}function rc(e){var t=e.indexOf(",");return e.substr(t+1)}function oc(e,t,n){var i=function(){return t.toDataURL(n,e.quality)};switch(e.output){case"blob-promise":return new ur((function(i,r){try{t.toBlob((function(e){null!=e?i(e):r(new Error("`canvas.toBlob()` sent a null value in its callback"))}),n,e.quality)}catch(o){r(o)}}));case"blob":return ic(rc(i()),n);case"base64":return rc(i());case"base64uri":default:return i()}}nc.createBuffer=function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,[n,n.getContext("2d")]},nc.bufferCanvasImage=function(e){var t=this.cy,n=t.mutableElements(),i=n.boundingBox(),r=this.findContainerClientCoords(),o=e.full?Math.ceil(i.w):r[2],a=e.full?Math.ceil(i.h):r[3],s=z(e.maxWidth)||z(e.maxHeight),l=this.getPixelRatio(),u=1;if(void 0!==e.scale)o*=e.scale,a*=e.scale,u=e.scale;else if(s){var c=1/0,h=1/0;z(e.maxWidth)&&(c=u*e.maxWidth/o),z(e.maxHeight)&&(h=u*e.maxHeight/a),u=Math.min(c,h),o*=u,a*=u}s||(o*=l,a*=l,u*=l);var d=document.createElement("canvas");d.width=o,d.height=a,d.style.width=o+"px",d.style.height=a+"px";var f=d.getContext("2d");if(o>0&&a>0){f.clearRect(0,0,o,a),f.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)f.translate(-i.x1*u,-i.y1*u),f.scale(u,u),this.drawElements(f,p),f.scale(1/u,1/u),f.translate(i.x1*u,i.y1*u);else{var g=t.pan(),m={x:g.x*u,y:g.y*u};u*=t.zoom(),f.translate(m.x,m.y),f.scale(u,u),this.drawElements(f,p),f.scale(1/u,1/u),f.translate(-m.x,-m.y)}e.bg&&(f.globalCompositeOperation="destination-over",f.fillStyle=e.bg,f.rect(0,0,o,a),f.fill())}return d},nc.png=function(e){return oc(e,this.bufferCanvasImage(e),"image/png")},nc.jpg=function(e){return oc(e,this.bufferCanvasImage(e),"image/jpeg")};var ac={nodeShapeImpl:function(e,t,n,i,r,o,a){switch(e){case"ellipse":return this.drawEllipsePath(t,n,i,r,o);case"polygon":return this.drawPolygonPath(t,n,i,r,o,a);case"round-polygon":return this.drawRoundPolygonPath(t,n,i,r,o,a);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(t,n,i,r,o);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(t,n,i,r,o);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(t,n,i,r,o);case"barrel":return this.drawBarrelPath(t,n,i,r,o)}}},sc=uc,lc=uc.prototype;function uc(e){var t=this;t.data={canvases:new Array(lc.CANVAS_LAYERS),contexts:new Array(lc.CANVAS_LAYERS),canvasNeedsRedraw:new Array(lc.CANVAS_LAYERS),bufferCanvases:new Array(lc.BUFFER_COUNT),bufferContexts:new Array(lc.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";t.data.canvasContainer=document.createElement("div");var r=t.data.canvasContainer.style;t.data.canvasContainer.style[n]=i,r.position="relative",r.zIndex="0",r.overflow="hidden";var o=e.cy.container();o.appendChild(t.data.canvasContainer),o.style[n]=i;var a={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};Z()&&(a["-ms-touch-action"]="none",a["touch-action"]="none");for(var s=0;s<lc.CANVAS_LAYERS;s++){var l=t.data.canvases[s]=document.createElement("canvas");t.data.contexts[s]=l.getContext("2d"),Object.keys(a).forEach((function(e){l.style[e]=a[e]})),l.style.position="absolute",l.setAttribute("data-id","layer"+s),l.style.zIndex=String(lc.CANVAS_LAYERS-s),t.data.canvasContainer.appendChild(l),t.data.canvasNeedsRedraw[s]=!1}t.data.topCanvas=t.data.canvases[0],t.data.canvases[lc.NODE].setAttribute("data-id","layer"+lc.NODE+"-node"),t.data.canvases[lc.SELECT_BOX].setAttribute("data-id","layer"+lc.SELECT_BOX+"-selectbox"),t.data.canvases[lc.DRAG].setAttribute("data-id","layer"+lc.DRAG+"-drag");for(s=0;s<lc.BUFFER_COUNT;s++)t.data.bufferCanvases[s]=document.createElement("canvas"),t.data.bufferContexts[s]=t.data.bufferCanvases[s].getContext("2d"),t.data.bufferCanvases[s].style.position="absolute",t.data.bufferCanvases[s].setAttribute("data-id","buffer"+s),t.data.bufferCanvases[s].style.zIndex=String(-s-1),t.data.bufferCanvases[s].style.visibility="hidden";t.pathsEnabled=!0;var u=Ut(),c=function(e){return{x:(e.x1+e.x2)/2,y:(e.y1+e.y2)/2}},h=function(e){return{x:-e.w/2,y:-e.h/2}},d=function(e){var t=e[0]._private,n=t.oldBackgroundTimestamp===t.backgroundTimestamp;return!n},f=function(e){return e[0]._private.nodeKey},p=function(e){return e[0]._private.labelStyleKey},g=function(e){return e[0]._private.sourceLabelStyleKey},m=function(e){return e[0]._private.targetLabelStyleKey},v=function(e,n,i,r,o){return t.drawElement(e,n,i,!1,!1,o)},y=function(e,n,i,r,o){return t.drawElementText(e,n,i,r,"main",o)},b=function(e,n,i,r,o){return t.drawElementText(e,n,i,r,"source",o)},x=function(e,n,i,r,o){return t.drawElementText(e,n,i,r,"target",o)},_=function(e){return e.boundingBox(),e[0]._private.bodyBounds},w=function(e){return e.boundingBox(),e[0]._private.labelBounds.main||u},C=function(e){return e.boundingBox(),e[0]._private.labelBounds.source||u},S=function(e){return e.boundingBox(),e[0]._private.labelBounds.target||u},k=function(e,t){return t},M=function(e){return c(_(e))},T=function(e,t,n){var i=e?e+"-":"";return{x:t.x+n.pstyle(i+"text-margin-x").pfValue,y:t.y+n.pstyle(i+"text-margin-y").pfValue}},E=function(e,t,n){var i=e[0]._private.rscratch;return{x:i[t],y:i[n]}},D=function(e){return T("",E(e,"labelX","labelY"),e)},P=function(e){return T("source",E(e,"sourceLabelX","sourceLabelY"),e)},O=function(e){return T("target",E(e,"targetLabelX","targetLabelY"),e)},I=function(e){return h(_(e))},A=function(e){return h(C(e))},L=function(e){return h(S(e))},N=function(e){var t=w(e),n=h(w(e));if(e.isNode()){switch(e.pstyle("text-halign").value){case"left":n.x=-t.w;break;case"right":n.x=0;break}switch(e.pstyle("text-valign").value){case"top":n.y=-t.h;break;case"bottom":n.y=0;break}}return n},R=t.data.eleTxrCache=new au(t,{getKey:f,doesEleInvalidateKey:d,drawElement:v,getBoundingBox:_,getRotationPoint:M,getRotationOffset:I,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),z=t.data.lblTxrCache=new au(t,{getKey:p,drawElement:y,getBoundingBox:w,getRotationPoint:D,getRotationOffset:N,isVisible:k}),$=t.data.slbTxrCache=new au(t,{getKey:g,drawElement:b,getBoundingBox:C,getRotationPoint:P,getRotationOffset:A,isVisible:k}),B=t.data.tlbTxrCache=new au(t,{getKey:m,drawElement:x,getBoundingBox:S,getRotationPoint:O,getRotationOffset:L,isVisible:k}),F=t.data.lyrTxrCache=new wu(t);t.onUpdateEleCalcs((function(e,t){R.invalidateElements(t),z.invalidateElements(t),$.invalidateElements(t),B.invalidateElements(t),F.invalidateElements(t);for(var n=0;n<t.length;n++){var i=t[n]._private;i.oldBackgroundTimestamp=i.backgroundTimestamp}}));var j=function(e){for(var t=0;t<e.length;t++)F.enqueueElementRefinement(e[t].ele)};R.onDequeue(j),z.onDequeue(j),$.onDequeue(j),B.onDequeue(j)}lc.CANVAS_LAYERS=3,lc.SELECT_BOX=0,lc.DRAG=1,lc.NODE=2,lc.BUFFER_COUNT=3,lc.TEXTURE_BUFFER=0,lc.MOTIONBLUR_BUFFER_NODE=1,lc.MOTIONBLUR_BUFFER_DRAG=2,lc.redrawHint=function(e,t){var n=this;switch(e){case"eles":n.data.canvasNeedsRedraw[lc.NODE]=t;break;case"drag":n.data.canvasNeedsRedraw[lc.DRAG]=t;break;case"select":n.data.canvasNeedsRedraw[lc.SELECT_BOX]=t;break}};var cc="undefined"!==typeof Path2D;lc.path2dEnabled=function(e){if(void 0===e)return this.pathsEnabled;this.pathsEnabled=!!e},lc.usePaths=function(){return cc&&this.pathsEnabled},lc.setImgSmoothing=function(e,t){null!=e.imageSmoothingEnabled?e.imageSmoothingEnabled=t:(e.webkitImageSmoothingEnabled=t,e.mozImageSmoothingEnabled=t,e.msImageSmoothingEnabled=t)},lc.getImgSmoothing=function(e){return null!=e.imageSmoothingEnabled?e.imageSmoothingEnabled:e.webkitImageSmoothingEnabled||e.mozImageSmoothingEnabled||e.msImageSmoothingEnabled},lc.makeOffscreenCanvas=function(e,t){var n;return"undefined"!==("undefined"===typeof OffscreenCanvas?"undefined":p(OffscreenCanvas))?n=new OffscreenCanvas(e,t):(n=document.createElement("canvas"),n.width=e,n.height=t),n},[Tu,Au,Fu,Vu,Hu,Gu,Uu,Xu,nc,ac].forEach((function(e){he(lc,e)}));var hc=[{name:"null",impl:ll},{name:"base",impl:Nl},{name:"canvas",impl:sc}],dc=[{type:"layout",extensions:sl},{type:"renderer",extensions:hc}],fc={},pc={};function gc(e,t,n){var i=n,r=function(n){Ye("Can not register `"+t+"` for `"+e+"` since `"+n+"` already exists in the prototype and can not be overridden")};if("core"===e){if(bs.prototype[t])return r(t);bs.prototype[t]=n}else if("collection"===e){if(Aa.prototype[t])return r(t);Aa.prototype[t]=n}else if("layout"===e){for(var o=function(e){this.options=e,n.call(this,e),N(this._private)||(this._private={}),this._private.cy=e.cy,this._private.listeners=[],this.createEmitter()},a=o.prototype=Object.create(n.prototype),s=[],l=0;l<s.length;l++){var u=s[l];a[u]=a[u]||function(){return this}}a.start&&!a.run?a.run=function(){return this.start(),this}:!a.start&&a.run&&(a.start=function(){return this.run(),this});var c=n.prototype.stop;a.stop=function(){var e=this.options;if(e&&e.animate){var t=this.animations;if(t)for(var n=0;n<t.length;n++)t[n].stop()}return c?c.call(this):this.emit("layoutstop"),this},a.destroy||(a.destroy=function(){return this}),a.cy=function(){return this._private.cy};var h=function(e){return e._private.cy},d={addEventFields:function(e,t){t.layout=e,t.cy=h(e),t.target=e},bubble:function(){return!0},parent:function(e){return h(e)}};he(a,{createEmitter:function(){return this._private.emitter=new Zo(d,this),this},emitter:function(){return this._private.emitter},on:function(e,t){return this.emitter().on(e,t),this},one:function(e,t){return this.emitter().one(e,t),this},once:function(e,t){return this.emitter().one(e,t),this},removeListener:function(e,t){return this.emitter().removeListener(e,t),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(e,t){return this.emitter().emit(e,t),this}}),gr.eventAliasesOn(a),i=o}else if("renderer"===e&&"null"!==t&&"base"!==t){var f=mc("renderer","base"),p=f.prototype,g=n,m=n.prototype,v=function(){f.apply(this,arguments),g.apply(this,arguments)},y=v.prototype;for(var b in p){var x=p[b],_=null!=m[b];if(_)return r(b);y[b]=x}for(var w in m)y[w]=m[w];p.clientFunctions.forEach((function(e){y[e]=y[e]||function(){qe("Renderer does not implement `renderer."+e+"()` on its prototype")}})),i=v}else if("__proto__"===e||"constructor"===e||"prototype"===e)return qe(e+" is an illegal type to be registered, possibly lead to prototype pollutions");return ye({map:fc,keys:[e,t],value:i})}function mc(e,t){return be({map:fc,keys:[e,t]})}function vc(e,t,n,i,r){return ye({map:pc,keys:[e,t,n,i],value:r})}function yc(e,t,n,i){return be({map:pc,keys:[e,t,n,i]})}var bc=function(){return 2===arguments.length?mc.apply(null,arguments):3===arguments.length?gc.apply(null,arguments):4===arguments.length?yc.apply(null,arguments):5===arguments.length?vc.apply(null,arguments):void qe("Invalid extension access syntax")};bs.prototype.extension=bc,dc.forEach((function(e){e.extensions.forEach((function(t){gc(e.type,t.name,t.impl)}))}));var xc=function e(){if(!(this instanceof e))return new e;this.length=0},_c=xc.prototype;_c.instanceString=function(){return"stylesheet"},_c.selector=function(e){var t=this.length++;return this[t]={selector:e,properties:[]},this},_c.css=function(e,t){var n=this.length-1;if(I(e))this[n].properties.push({name:e,value:t});else if(N(e))for(var i=e,r=Object.keys(i),o=0;o<r.length;o++){var a=r[o],s=i[a];if(null!=s){var l=fs.properties[a]||fs.properties[J(a)];if(null!=l){var u=l.name,c=s;this[n].properties.push({name:u,value:c})}}}return this},_c.style=_c.css,_c.generateStyle=function(e){var t=new fs(e);return this.appendToStyle(t)},_c.appendToStyle=function(e){for(var t=0;t<this.length;t++){var n=this[t],i=n.selector,r=n.properties;e.selector(i);for(var o=0;o<r.length;o++){var a=r[o];e.css(a.name,a.value)}}return e};var wc="3.27.0",Cc=function(e){return void 0===e&&(e={}),N(e)?new bs(e):I(e)?bc.apply(bc,arguments):void 0};Cc.use=function(e){var t=Array.prototype.slice.call(arguments,1);return t.unshift(Cc),e.apply(null,t),this},Cc.warnings=function(e){return Ue(e)},Cc.version=wc,Cc.stylesheet=Cc.Stylesheet=xc,e.exports=Cc},7669:function(e,t,n){"use strict";n(57658);var i=function(e){return r(e)&&!o(e)};function r(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function u(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&i(e)?f(u(e),e,t):e}function h(e,t,n){var r=e.slice();return t.forEach((function(t,o){"undefined"===typeof r[o]?r[o]=c(t,n):i(t)?r[o]=f(e[o],t,n):-1===e.indexOf(t)&&r.push(c(t,n))})),r}function d(e,t,n){var r={};return i(e)&&Object.keys(e).forEach((function(t){r[t]=c(e[t],n)})),Object.keys(t).forEach((function(o){i(t[o])&&e[o]?r[o]=f(e[o],t[o],n):r[o]=c(t[o],n)})),r}function f(e,t,n){var i=Array.isArray(t),r=Array.isArray(e),o=n||{arrayMerge:h},a=i===r;if(a){if(i){var s=o.arrayMerge||h;return s(e,t,n)}return d(e,t,n)}return c(t,n)}f.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return f(e,n,t)}))};var p=f;e.exports=p},1708:function(e,t,n){var i=n(39405);(function(){for(var e in i){if(null==i||!i.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=i[e]}})();var r=n(28981);(function(){for(var e in r){if(null==r||!r.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=r[e]}})(),n(42942),n(44440),n(19467),n(89174),n(46413),n(76515),n(77763),n(12107),n(85924),n(92085),n(81627),n(42011),n(30011),n(60011),n(66912),n(59011),n(5610),n(60919),n(25716),n(46928),n(13096),n(31487),n(89424),n(2941),n(75213),n(64750),n(17139),n(96117),n(38225),n(87802),n(9623),n(63604),n(47545),n(97346),n(239),n(6788),n(87647),n(23357),n(44939),n(80373),n(4358),n(26423),n(96453),n(36785),n(890),n(58588),n(7164),n(39607),n(30681)},99966:function(e,t,n){var i=n(63122),r={};function o(){this._coordinateSystems=[]}o.prototype={constructor:o,create:function(e,t){var n=[];i.each(r,(function(i,r){var o=i.create(e,t);n=n.concat(o||[])})),this._coordinateSystems=n},update:function(e,t){i.each(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},o.register=function(e,t){r[e]=t},o.get=function(e){return r[e]};var a=o;e.exports=a},40213:function(e,t,n){var i=n(63122),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function o(e){i.each(r,(function(t){this[t]=i.bind(e[t],e)}),this)}var a=o;e.exports=a},62002:function(e,t,n){var i=n(39405),r=n(63122);function o(e,t){r.each(t,(function(t){t.update="updateView",i.registerAction(t,(function(n,i){var r={};return i.eachComponent({mainType:"series",subType:e,query:n},(function(e){e[t.method]&&e[t.method](n.name,n.dataIndex);var i=e.getData();i.each((function(t){var n=i.getName(t);r[n]=e.isSelected(n)||!1}))})),{name:n.name,selected:r,seriesId:n.seriesId}}))}))}e.exports=o},78902:function(e,t,n){var i=n(39405),r=n(63122),o=n(42303),a=o.updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=a(i,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===n&&r.each(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))},42303:function(e,t){function n(e,t,n){var i=e.getZoom(),r=e.getCenter(),o=t.zoom,a=e.dataToPoint(r);if(null!=t.dx&&null!=t.dy){a[0]-=t.dx,a[1]-=t.dy;r=e.pointToData(a);e.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}e.scale[0]*=o,e.scale[1]*=o;var u=e.position,c=(t.originX-u[0])*(o-1),h=(t.originY-u[1])*(o-1);u[0]-=c,u[1]-=h,e.updateTransform();r=e.pointToData(a);e.setCenter(r),e.setZoom(o*i)}return{center:e.getCenter(),zoom:e.getZoom()}}t.updateCenterAndZoom=n},19467:function(e,t,n){var i=n(39405),r=n(63122),o=n(72812),a=o.layout,s=o.largeLayout;n(15187),n(33255),n(62755),n(62093),i.registerLayout(i.PRIORITY.VISUAL.LAYOUT,r.curry(a,"bar")),i.registerLayout(i.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),i.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},33255:function(e,t,n){var i=n(18183),r=i.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});e.exports=r},62755:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(39405)),o=n(63122),a=n(20594),s=n(42395),l=s.setLabel,u=n(90350),c=n(99698),h=n(73477),d=n(79116),f=n(14243),p=f.throttle,g=n(44617),m=g.createClipPath,v=n(78173),y=["itemStyle","barBorderWidth"],b=[0,0];function x(e,t){var n=e.getArea&&e.getArea();if("cartesian2d"===e.type){var i=e.getBaseAxis();if("category"!==i.type||!i.onBand){var r=t.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}o.extend(u.prototype,c);var _=r.extendChartView({type:"bar",render:function(e,t,n){this._updateDrawMode(e);var i=e.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n)),this.group},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,i){this._incrementalRenderLarge(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e,t,n){var i,r=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,h=e.get("clip",!0),f=x(l,o);r.removeClipPath();var p=e.get("roundCap",!0),g=e.get("showBackground",!0),m=e.getModel("backgroundStyle"),v=m.get("barBorderRadius")||0,y=[],b=this._backgroundEls||[],_=function(e){var t=E[l.type](o,e),n=B(l,i,t);return n.useStyle(m.getBarItemStyle()),"cartesian2d"===l.type&&n.setShape("r",v),y[e]=n,n};o.diff(s).add((function(t){var n=o.getItemModel(t),a=E[l.type](o,t,n);if(g&&_(t),o.hasValue(t)){if(h){var s=S[l.type](f,a);if(s)return void r.remove(u)}var u=k[l.type](t,a,i,c,!1,p);o.setItemGraphicEl(t,u),r.add(u),P(u,o,t,n,a,e,i,"polar"===l.type)}})).update((function(t,n){var u=o.getItemModel(t),d=E[l.type](o,t,u);if(g){var x;0===b.length?x=_(n):(x=b[n],x.useStyle(m.getBarItemStyle()),"cartesian2d"===l.type&&x.setShape("r",v),y[t]=x);var w=E[l.type](o,t),C=$(i,w,l);a.updateProps(x,{shape:C},c,t)}var M=s.getItemGraphicEl(n);if(o.hasValue(t)){if(h){var T=S[l.type](f,d);if(T)return void r.remove(M)}M?a.updateProps(M,{shape:d},c,t):M=k[l.type](t,d,i,c,!0,p),o.setItemGraphicEl(t,M),r.add(M),P(M,o,t,u,d,e,i,"polar"===l.type)}else r.remove(M)})).remove((function(e){var t=s.getItemGraphicEl(e);"cartesian2d"===l.type?t&&M(e,c,t):t&&T(e,c,t)})).execute();var w=this._backgroundGroup||(this._backgroundGroup=new d);w.removeAll();for(var C=0;C<y.length;++C)w.add(y[C]);r.add(w),this._backgroundEls=y,this._data=o},_renderLarge:function(e,t,n){this._clear(),A(e,this.group);var i=e.get("clip",!0)?m(e.coordinateSystem,!1,e):null;i?this.group.setClipPath(i):this.group.removeClipPath()},_incrementalRenderLarge:function(e,t){this._removeBackground(),A(t,this.group,!0)},dispose:o.noop,remove:function(e){this._clear(e)},_clear:function(e){var t=this.group,n=this._data;e&&e.get("animation")&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(t){"sector"===t.type?T(t.dataIndex,e,t):M(t.dataIndex,e,t)}))):t.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),w=Math.max,C=Math.min,S={cartesian2d:function(e,t){var n=t.width<0?-1:1,i=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),i<0&&(t.y+=t.height,t.height=-t.height);var r=w(t.x,e.x),o=C(t.x+t.width,e.x+e.width),a=w(t.y,e.y),s=C(t.y+t.height,e.y+e.height);t.x=r,t.y=a,t.width=o-r,t.height=s-a;var l=t.width<0||t.height<0;return n<0&&(t.x+=t.width,t.width=-t.width),i<0&&(t.y+=t.height,t.height=-t.height),l},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var i=t.r;t.r=t.r0,t.r0=i}i=C(t.r,e.r);var r=w(t.r0,e.r0);t.r=i,t.r0=r;var o=i-r<0;if(n<0){i=t.r;t.r=t.r0,t.r0=i}return o}},k={cartesian2d:function(e,t,n,i,r){var s=new a.Rect({shape:o.extend({},t),z2:1});if(s.name="item",i){var l=s.shape,u=n?"height":"width",c={};l[u]=0,c[u]=t[u],a[r?"updateProps":"initProps"](s,{shape:c},i,e)}return s},polar:function(e,t,n,i,r,s){var l=t.startAngle<t.endAngle,u=!n&&s?v:a.Sector,c=new u({shape:o.defaults({clockwise:l},t),z2:1});if(c.name="item",i){var h=c.shape,d=n?"r":"endAngle",f={};h[d]=n?0:t.startAngle,f[d]=t[d],a[r?"updateProps":"initProps"](c,{shape:f},i,e)}return c}};function M(e,t,n){n.style.text=null,a.updateProps(n,{shape:{width:0}},t,e,(function(){n.parent&&n.parent.remove(n)}))}function T(e,t,n){n.style.text=null,a.updateProps(n,{shape:{r:n.shape.r0}},t,e,(function(){n.parent&&n.parent.remove(n)}))}var E={cartesian2d:function(e,t,n){var i=e.getItemLayout(t),r=n?O(n,i):0,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}},polar:function(e,t,n){var i=e.getItemLayout(t);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function D(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function P(e,t,n,i,r,s,u,c){var h=t.getItemVisual(n,"color"),d=t.getItemVisual(n,"opacity"),f=t.getVisual("borderColor"),p=i.getModel("itemStyle"),g=i.getModel("emphasis.itemStyle").getBarItemStyle();c||e.setShape("r",p.get("barBorderRadius")||0),e.useStyle(o.defaults({stroke:D(r)?"none":f,fill:D(r)?"none":h,opacity:d},p.getBarItemStyle()));var m=i.getShallow("cursor");m&&e.attr("cursor",m);var v=u?r.height>0?"bottom":"top":r.width>0?"left":"right";c||l(e.style,g,i,h,s,n,v),D(r)&&(g.fill=g.stroke="none"),a.setHoverStyle(e,g)}function O(e,t){var n=e.get(y)||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),r=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,i,r)}var I=h.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var n=t.points,i=this.__startPoint,r=this.__baseDimIdx,o=0;o<n.length;o+=2)i[r]=n[o+r],e.moveTo(i[0],i[1]),e.lineTo(n[o],n[o+1])}});function A(e,t,n){var i=e.getData(),r=[],o=i.getLayout("valueAxisHorizontal")?1:0;r[1-o]=i.getLayout("valueAxisStart");var a=i.getLayout("largeDataIndices"),s=i.getLayout("barWidth"),l=e.getModel("backgroundStyle"),u=e.get("showBackground",!0);if(u){var c=i.getLayout("largeBackgroundPoints"),h=[];h[1-o]=i.getLayout("backgroundStart");var d=new I({shape:{points:c},incremental:!!n,__startPoint:h,__baseDimIdx:o,__largeDataIndices:a,__barWidth:s,silent:!0,z2:0});z(d,l,i),t.add(d)}var f=new I({shape:{points:i.getLayout("largePoints")},incremental:!!n,__startPoint:r,__baseDimIdx:o,__largeDataIndices:a,__barWidth:s});t.add(f),R(f,e,i),f.seriesIndex=e.seriesIndex,e.get("silent")||(f.on("mousedown",L),f.on("mousemove",L))}var L=p((function(e){var t=this,n=N(t,e.offsetX,e.offsetY);t.dataIndex=n>=0?n:null}),30,!1);function N(e,t,n){var i=e.__baseDimIdx,r=1-i,o=e.shape.points,a=e.__largeDataIndices,s=Math.abs(e.__barWidth/2),l=e.__startPoint[r];b[0]=t,b[1]=n;for(var u=b[i],c=b[1-i],h=u-s,d=u+s,f=0,p=o.length/2;f<p;f++){var g=2*f,m=o[g+i],v=o[g+r];if(m>=h&&m<=d&&(l<=v?c>=l&&c<=v:c>=v&&c<=l))return a[f]}return-1}function R(e,t,n){var i=n.getVisual("borderColor")||n.getVisual("color"),r=t.getModel("itemStyle").getItemStyle(["color","borderColor"]);e.useStyle(r),e.style.fill=null,e.style.stroke=i,e.style.lineWidth=n.getLayout("barWidth")}function z(e,t,n){var i=t.get("borderColor")||t.get("color"),r=t.getItemStyle(["color","borderColor"]);e.useStyle(r),e.style.fill=null,e.style.stroke=i,e.style.lineWidth=n.getLayout("barWidth")}function $(e,t,n){var i,r="polar"===n.type;return i=r?n.getArea():n.grid.getRect(),r?{cx:i.cx,cy:i.cy,r0:e?i.r0:t.r0,r:e?i.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}:{x:e?t.x:i.x,y:e?i.y:t.y,width:e?t.width:i.width,height:e?i.height:t.height}}function B(e,t,n){var i="polar"===e.type?a.Sector:a.Rect;return new i({shape:$(t,n,e),silent:!0,z2:0})}e.exports=_},18183:function(e,t,n){var i=n(48154),r=n(10140),o=i.extend({type:"series.__base_bar__",getInitialData:function(e,t){return r(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(e){var t=this.coordinateSystem;if(t){var n=t.dataToPoint(t.clampData(e)),i=this.getData(),r=i.getLayout("offset"),o=i.getLayout("size"),a=t.getBaseAxis().isHorizontal()?0:1;return n[a]+=r+o/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});e.exports=o},43050:function(e,t,n){var i=n(18183),r=i.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(e){return e.stack=null,r.superApply(this,"getInitialData",arguments)}}),o=r;e.exports=o},58506:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(20594),a=n(84682),s=a.createSymbol,l=n(43789),u=l.parsePercent,c=l.isNumeric,h=n(42395),d=h.setLabel,f=["itemStyle","borderWidth"],p=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],g=new o.Circle,m=i.extendChartView({type:"pictorialBar",render:function(e,t,n){var i=this.group,r=e.getData(),o=this._data,a=e.coordinateSystem,s=a.getBaseAxis(),l=!!s.isHorizontal(),u=a.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:p[+l],categoryDim:p[1-l]};return r.diff(o).add((function(e){if(r.hasValue(e)){var t=E(r,e),n=v(r,e,t,c),o=I(r,c,n);r.setItemGraphicEl(e,o),i.add(o),$(o,c,n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(r.hasValue(e)){var a=E(r,e),s=v(r,e,a,c),l=N(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(e,null),n=null),n?A(n,c,s):n=I(r,c,s,!0),r.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,i.add(n),$(n,c,s)}else i.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&L(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute(),this._data=r,this.group},dispose:r.noop,remove:function(e,t){var n=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl((function(t){L(i,t.dataIndex,e,t)})):n.removeAll()}});function v(e,t,n,i){var o=e.getItemLayout(t),a=n.get("symbolRepeat"),s=n.get("symbolClip"),l=n.get("symbolPosition")||"start",c=n.get("symbolRotate"),h=(c||0)*Math.PI/180||0,d=n.get("symbolPatternSize")||2,f=n.isAnimationEnabled(),p={dataIndex:t,layout:o,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:s,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:d,rotation:h,animationModel:f?n:null,hoverAnimation:f&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};y(n,a,o,i,p),x(e,t,o,a,s,p.boundingLength,p.pxSign,d,i,p),_(n,p.symbolScale,h,i,p);var g=p.symbolSize,m=n.get("symbolOffset");return r.isArray(m)&&(m=[u(m[0],g[0]),u(m[1],g[1])]),w(n,g,o,a,s,m,l,p.valueLineWidth,p.boundingLength,p.repeatCutLength,i,p),p}function y(e,t,n,i,o){var a,s=i.valueDim,l=e.get("symbolBoundingData"),u=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),h=1-+(n[s.wh]<=0);if(r.isArray(l)){var d=[b(u,l[0])-c,b(u,l[1])-c];d[1]<d[0]&&d.reverse(),a=d[h]}else a=null!=l?b(u,l)-c:t?i.coordSysExtent[s.index][h]-c:n[s.wh];o.boundingLength=a,t&&(o.repeatCutLength=n[s.wh]),o.pxSign=a>0?1:a<0?-1:0}function b(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function x(e,t,n,i,o,a,s,l,c,h){var d=c.valueDim,f=c.categoryDim,p=Math.abs(n[f.wh]),g=e.getItemVisual(t,"symbolSize");r.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[f.index]=u(g[f.index],p),g[d.index]=u(g[d.index],i?p:Math.abs(a)),h.symbolSize=g;var m=h.symbolScale=[g[0]/l,g[1]/l];m[d.index]*=(c.isHorizontal?-1:1)*s}function _(e,t,n,i,r){var o=e.get(f)||0;o&&(g.attr({scale:t.slice(),rotation:n}),g.updateTransform(),o/=g.getLineScale(),o*=t[i.valueDim.index]),r.valueLineWidth=o}function w(e,t,n,i,o,a,s,l,h,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(t[m.index]+l,0),b=y;if(i){var x=Math.abs(h),_=r.retrieve(e.get("symbolMargin"),"15%")+"",w=!1;_.lastIndexOf("!")===_.length-1&&(w=!0,_=_.slice(0,_.length-1)),_=u(_,t[m.index]);var C=Math.max(y+2*_,0),S=w?0:2*_,k=c(i),M=k?i:B((x+S)/C),T=x-M*y;_=T/2/(w?M:M-1),C=y+2*_,S=w?0:2*_,k||"fixed"===i||(M=d?B((Math.abs(d)+S)/C):0),b=M*C-S,p.repeatTimes=M,p.symbolMargin=_}var E=v*(b/2),D=p.pathPosition=[];D[g.index]=n[g.wh]/2,D[m.index]="start"===s?E:"end"===s?h-E:h/2,a&&(D[0]+=a[0],D[1]+=a[1]);var P=p.bundlePosition=[];P[g.index]=n[g.xy],P[m.index]=n[m.xy];var O=p.barRectShape=r.extend({},n);O[m.wh]=v*Math.max(Math.abs(n[m.wh]),Math.abs(D[m.index]+E)),O[g.wh]=n[g.wh];var I=p.clipShape={};I[g.xy]=-n[g.xy],I[g.wh]=f.ecSize[g.wh],I[m.xy]=0,I[m.wh]=n[m.wh]}function C(e){var t=e.symbolPatternSize,n=s(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function S(e,t,n,i){var r=e.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,h=o[t.valueDim.index]+a+2*n.symbolMargin;for(R(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c<u?z(e,null,p(c),n,i):z(e,null,{scale:[0,0]},n,i,(function(){r.remove(e)})),O(e,n),c++}));c<u;c++){var d=C(n);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,r.add(d);var f=p(c);z(d,{position:f.position,scale:[0,0]},{scale:f.scale,rotation:f.rotation},n,i),d.on("mouseover",g).on("mouseout",m),O(d,n)}function p(e){var t=s.slice(),i=n.pxSign,r=e;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=u-1-e),t[l.index]=h*(r-u/2+.5)+s[l.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){R(e,(function(e){e.trigger("emphasis")}))}function m(){R(e,(function(e){e.trigger("normal")}))}}function k(e,t,n,i){var r=e.__pictorialBundle,o=e.__pictorialMainPath;function a(){this.trigger("emphasis")}function s(){this.trigger("normal")}o?z(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(o=e.__pictorialMainPath=C(n),r.add(o),z(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),o.on("mouseover",a).on("mouseout",s)),O(o,n)}function M(e,t,n){var i=r.extend({},t.barRectShape),a=e.__pictorialBarRect;a?z(a,null,{shape:i},t,n):(a=e.__pictorialBarRect=new o.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(a))}function T(e,t,n,i){if(n.symbolClip){var a=e.__pictorialClipPath,s=r.extend({},n.clipShape),l=t.valueDim,u=n.animationModel,c=n.dataIndex;if(a)o.updateProps(a,{shape:s},u,c);else{s[l.wh]=0,a=new o.Rect({shape:s}),e.__pictorialBundle.setClipPath(a),e.__pictorialClipPath=a;var h={};h[l.wh]=n.clipShape[l.wh],o[i?"updateProps":"initProps"](a,{shape:h},u,c)}}}function E(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=D,n.isAnimationEnabled=P,n}function D(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function P(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function O(e,t){e.off("emphasis").off("normal");var n=t.symbolScale.slice();t.hoverAnimation&&e.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 I(e,t,n,i){var r=new o.Group,a=new o.Group;return r.add(a),r.__pictorialBundle=a,a.attr("position",n.bundlePosition.slice()),n.symbolRepeat?S(r,t,n):k(r,t,n),M(r,n,i),T(r,t,n,i),r.__pictorialShapeStr=N(e,n),r.__pictorialSymbolMeta=n,r}function A(e,t,n){var i=n.animationModel,r=n.dataIndex,a=e.__pictorialBundle;o.updateProps(a,{position:n.bundlePosition.slice()},i,r),n.symbolRepeat?S(e,t,n,!0):k(e,t,n,!0),M(e,n,!0),T(e,t,n,!0)}function L(e,t,n,i){var a=i.__pictorialBarRect;a&&(a.style.text=null);var s=[];R(i,(function(e){s.push(e)})),i.__pictorialMainPath&&s.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),r.each(s,(function(e){o.updateProps(e,{scale:[0,0]},n,t,(function(){i.parent&&i.parent.remove(i)}))})),e.setItemGraphicEl(t,null)}function N(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function R(e,t,n){r.each(e.__pictorialBundle.children(),(function(i){i!==e.__pictorialBarRect&&t.call(n,i)}))}function z(e,t,n,i,r,a){t&&e.attr(t),i.symbolClip&&!r?n&&e.attr(n):n&&o[r?"updateProps":"initProps"](e,n,i.animationModel,i.dataIndex,a)}function $(e,t,n){var i=n.color,a=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");R(e,(function(e){e.setColor(i),e.setStyle(r.defaults({fill:i,opacity:n.opacity},l)),o.setHoverStyle(e,u),c&&(e.cursor=c),e.z2=n.z2}));var h={},f=t.valueDim.posDesc[+(n.boundingLength>0)],p=e.__pictorialBarRect;d(p.style,h,s,i,t.seriesModel,a,f),o.setHoverStyle(p,h)}function B(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var F=m;e.exports=F},99698:function(e,t,n){var i=n(33555),r=i([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getBarItemStyle:function(e){var t=r(this,e);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(t.lineDash=n)}return t}};e.exports=o},42395:function(e,t,n){var i=n(20594),r=n(95860),o=r.getDefaultLabel;function a(e,t,n,r,a,l,u){var c=n.getModel("label"),h=n.getModel("emphasis.label");i.setLabelStyle(e,t,c,h,{labelFetcher:a,labelDataIndex:l,defaultText:o(a.getData(),l),isRectText:!0,autoColor:r}),s(e),s(t)}function s(e,t){"outside"===e.textPosition&&(e.textPosition=t)}t.setLabel=a},66912:function(e,t,n){var i=n(39405);n(46591),n(12971);var r=n(91473),o=n(53056);i.registerVisual(r),i.registerLayout(o)},46591:function(e,t,n){var i=n(63122),r=n(48154),o=n(49416),a=o.seriesModelMixin,s=r.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(s,a,!0);var l=s;e.exports=l},12971:function(e,t,n){var i=n(63122),r=n(65120),o=n(20594),a=n(73477),s=["itemStyle"],l=["emphasis","itemStyle"],u=r.extend({type:"boxplot",render:function(e,t,n){var i=e.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===e.get("layout")?1:0;i.diff(o).add((function(e){if(i.hasValue(e)){var t=i.getItemLayout(e),n=h(t,i,e,a,!0);i.setItemGraphicEl(e,n),r.add(n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(i.hasValue(e)){var s=i.getItemLayout(e);n?d(s,n,i,e):n=h(s,i,e,a),r.add(n),i.setItemGraphicEl(e,n)}else r.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=i},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:i.noop}),c=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,i=0;for(e.moveTo(n[i][0],n[i][1]),i++;i<4;i++)e.lineTo(n[i][0],n[i][1]);for(e.closePath();i<n.length;i++)e.moveTo(n[i][0],n[i][1]),i++,e.lineTo(n[i][0],n[i][1])}});function h(e,t,n,i,r){var o=e.ends,a=new c({shape:{points:r?f(o,i,e):o}});return d(e,a,t,n,r),a}function d(e,t,n,i,r){var a=n.hostModel,u=o[r?"initProps":"updateProps"];u(t,{shape:{points:e.ends}},a,i);var c=n.getItemModel(i),h=c.getModel(s),d=n.getItemVisual(i,"color"),f=h.getItemStyle(["borderColor"]);f.stroke=d,f.strokeNoScale=!0,t.useStyle(f),t.z2=100;var p=c.getModel(l).getItemStyle();o.setHoverStyle(t,p)}function f(e,t,n){return i.map(e,(function(e){return e=e.slice(),e[t]=n.initBaseline,e}))}var p=u;e.exports=p},53056:function(e,t,n){n(57658);var i=n(63122),r=n(43789),o=r.parsePercent,a=i.each;function s(e){var t=l(e);a(t,(function(e){var t=e.seriesModels;t.length&&(u(e),a(t,(function(t,n){c(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}function l(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var r=e.getBaseAxis(),o=i.indexOf(n,r);o<0&&(o=n.length,n[o]=r,t[o]={axis:r,seriesModels:[]}),t[o].seriesModels.push(e)})),t}function u(e){var t,n,r=e.axis,s=e.seriesModels,l=s.length,u=e.boxWidthList=[],c=e.boxOffsetList=[],h=[];if("category"===r.type)n=r.getBandWidth();else{var d=0;a(s,(function(e){d=Math.max(d,e.getData().count())})),t=r.getExtent(),Math.abs(t[1]-t[0])}a(s,(function(e){var t=e.get("boxWidth");i.isArray(t)||(t=[t,t]),h.push([o(t[0],n)||0,o(t[1],n)||0])}));var f=.8*n-2,p=f/l*.3,g=(f-p*(l-1))/l,m=g/2-f/2;a(s,(function(e,t){c.push(m),m+=p+g,u.push(Math.min(Math.max(g,h[t][0]),h[t][1]))}))}function c(e,t,n){var i=e.coordinateSystem,r=e.getData(),o=n/2,a="horizontal"===e.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),c=r.mapDimension(l[s],!0);if(!(null==u||c.length<5))for(var h=0;h<r.count();h++){var d=r.get(u,h),f=b(d,c[2],h),p=b(d,c[0],h),g=b(d,c[1],h),m=b(d,c[3],h),v=b(d,c[4],h),y=[];x(y,g,0),x(y,m,1),y.push(p,g,v,m),_(y,p),_(y,v),_(y,f),r.setItemLayout(h,{initBaseline:f[s],ends:y})}function b(e,n,o){var l,u=r.get(n,o),c=[];return c[a]=e,c[s]=u,isNaN(e)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c),l[a]+=t),l}function x(e,t,n){var i=t.slice(),r=t.slice();i[a]+=o,r[a]-=o,n?e.push(i,r):e.push(r,i)}function _(e,t){var n=t.slice(),i=t.slice();n[a]-=o,i[a]+=o,e.push(n,i)}}e.exports=s},91473:function(e){var t=["itemStyle","borderColor"];function n(e,n){var i=e.get("color");e.eachRawSeriesByType("boxplot",(function(n){var r=i[n.seriesIndex%i.length],o=n.getData();o.setVisual({legendSymbol:"roundRect",color:n.get(t)||r}),e.isSeriesFiltered(n)||o.each((function(e){var n=o.getItemModel(e);o.setItemVisual(e,{color:n.get(t,!0)})}))}))}e.exports=n},59011:function(e,t,n){var i=n(39405);n(58860),n(38049);var r=n(98985),o=n(53637),a=n(27603);i.registerPreprocessor(r),i.registerVisual(o),i.registerLayout(a)},58860:function(e,t,n){var i=n(63122),r=n(48154),o=n(49416),a=o.seriesModelMixin,s=r.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(e,t,n){var i=t.getItemLayout(e);return i&&n.rect(i.brushRect)}});i.mixin(s,a,!0);var l=s;e.exports=l},38049:function(e,t,n){var i=n(63122),r=n(65120),o=n(20594),a=n(73477),s=n(44617),l=s.createClipPath,u=["itemStyle"],c=["emphasis","itemStyle"],h=["color","color0","borderColor","borderColor0"],d=r.extend({type:"candlestick",render:function(e,t,n){this.group.removeClipPath(),this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,i){this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e){var t=e.getData(),n=this._data,i=this.group,r=t.getLayout("isSimpleBox"),a=e.get("clip",!0),s=e.coordinateSystem,l=s.getArea&&s.getArea();this._data||i.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var s,u=t.getItemLayout(n);if(a&&g(l,u))return;s=p(u,n,!0),o.initProps(s,{shape:{points:u.ends}},e,n),m(s,t,n,r),i.add(s),t.setItemGraphicEl(n,s)}})).update((function(s,u){var c=n.getItemGraphicEl(u);if(t.hasValue(s)){var h=t.getItemLayout(s);a&&g(l,h)?i.remove(c):(c?o.updateProps(c,{shape:{points:h.ends}},e,s):c=p(h,s),m(c,t,s,r),i.add(c),t.setItemGraphicEl(s,c))}else i.remove(c)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=t},_renderLarge:function(e){this._clear(),b(e,this.group);var t=e.get("clip",!0)?l(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderNormal:function(e,t){var n,i=t.getData(),r=i.getLayout("isSimpleBox");while(null!=(n=e.next())){var o,a=i.getItemLayout(n);o=p(a,n),m(o,i,n,r),o.incremental=!0,this.group.add(o)}},_incrementalRenderLarge:function(e,t){b(t,this.group,!0)},remove:function(e){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:i.noop}),f=a.extend({type:"normalCandlestickBox",shape:{},buildPath:function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))}});function p(e,t,n){var i=e.ends;return new f({shape:{points:n?v(i,e):i},z2:100})}function g(e,t){for(var n=!0,i=0;i<t.ends.length;i++)if(e.contain(t.ends[i][0],t.ends[i][1])){n=!1;break}return n}function m(e,t,n,i){var r=t.getItemModel(n),a=r.getModel(u),s=t.getItemVisual(n,"color"),l=t.getItemVisual(n,"borderColor")||s,d=a.getItemStyle(h);e.useStyle(d),e.style.strokeNoScale=!0,e.style.fill=s,e.style.stroke=l,e.__simpleBox=i;var f=r.getModel(c).getItemStyle();o.setHoverStyle(e,f)}function v(e,t){return i.map(e,(function(e){return e=e.slice(),e[1]=t.initBaseline,e}))}var y=a.extend({type:"largeCandlestickBox",shape:{},buildPath:function(e,t){for(var n=t.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];e.moveTo(r,n[i++]),e.lineTo(r,n[i++])}else i+=3}});function b(e,t,n){var i=e.getData(),r=i.getLayout("largePoints"),o=new y({shape:{points:r},__sign:1});t.add(o);var a=new y({shape:{points:r},__sign:-1});t.add(a),x(1,o,e,i),x(-1,a,e,i),n&&(o.incremental=!0,a.incremental=!0)}function x(e,t,n,i){var r=e>0?"P":"N",o=i.getVisual("borderColor"+r)||i.getVisual("color"+r),a=n.getModel(u).getItemStyle(h);t.useStyle(a),t.style.fill=null,t.style.stroke=o}var _=d;e.exports=_},27603:function(e,t,n){n(1439),n(87585),n(55315),n(57658);var i=n(20594),r=i.subPixelOptimize,o=n(5491),a=n(43789),s=a.parsePercent,l=n(63122),u=l.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,h={seriesType:"candlestick",plan:o(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),i=f(e,n),o=0,a=1,s=["x","y"],l=n.mapDimension(s[o]),u=n.mapDimension(s[a],!0),h=u[0],p=u[1],g=u[2],m=u[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(null==l||u.length<4))return{progress:e.pipelineContext.large?y:v};function v(e,n){var s;while(null!=(s=e.next())){var u=n.get(l,s),c=n.get(h,s),f=n.get(p,s),v=n.get(g,s),y=n.get(m,s),b=Math.min(c,f),x=Math.max(c,f),_=M(b,u),w=M(x,u),C=M(v,u),S=M(y,u),k=[];T(k,w,0),T(k,_,1),k.push(D(S),D(w),D(C),D(_)),n.setItemLayout(s,{sign:d(n,s,c,f,p),initBaseline:c>f?w[a]:_[a],ends:k,brushRect:E(v,y,u)})}function M(e,n){var i=[];return i[o]=n,i[a]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function T(e,t,n){var a=t.slice(),s=t.slice();a[o]=r(a[o]+i/2,1,!1),s[o]=r(s[o]-i/2,1,!0),n?e.push(a,s):e.push(s,a)}function E(e,t,n){var r=M(e,n),s=M(t,n);return r[o]-=i/2,s[o]-=i/2,{x:r[0],y:r[1],width:a?i:s[0]-r[0],height:a?s[1]-r[1]:i}}function D(e){return e[o]=r(e[o],1),e}}function y(e,n){var i,r,s=new c(4*e.count),u=0,f=[],v=[];while(null!=(r=e.next())){var y=n.get(l,r),b=n.get(h,r),x=n.get(p,r),_=n.get(g,r),w=n.get(m,r);isNaN(y)||isNaN(_)||isNaN(w)?(s[u++]=NaN,u+=3):(s[u++]=d(n,r,b,x,p),f[o]=y,f[a]=_,i=t.dataToPoint(f,null,v),s[u++]=i?i[0]:NaN,s[u++]=i?i[1]:NaN,f[a]=w,i=t.dataToPoint(f,null,v),s[u++]=i?i[1]:NaN)}n.setLayout("largePoints",s)}}};function d(e,t,n,i,r){var o;return o=n>i?-1:n<i?1:t>0?e.get(r,t-1)<=i?1:-1:1,o}function f(e,t){var n,i=e.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/t.count()),o=s(u(e.get("barMaxWidth"),r),r),a=s(u(e.get("barMinWidth"),1),r),l=e.get("barWidth");return null!=l?s(l,r):Math.max(Math.min(r/2,o),a)}e.exports=h},53637:function(e,t,n){var i=n(5491),r=["itemStyle","borderColor"],o=["itemStyle","borderColor0"],a=["itemStyle","color"],s=["itemStyle","color0"],l={seriesType:"candlestick",plan:i(),performRawSeries:!0,reset:function(e,t){var n=e.getData();if(n.setVisual({legendSymbol:"roundRect",colorP:u(1,e),colorN:u(-1,e),borderColorP:c(1,e),borderColorN:c(-1,e)}),!t.isSeriesFiltered(e)){var i=e.pipelineContext.large;return!i&&{progress:l}}function l(e,t){var n;while(null!=(n=e.next())){var i=t.getItemModel(n),r=t.getItemLayout(n).sign;t.setItemVisual(n,{color:u(r,i),borderColor:c(r,i)})}}function u(e,t){return t.get(e>0?a:s)}function c(e,t){return t.get(e>0?r:o)}}};e.exports=l},98985:function(e,t,n){var i=n(63122);function r(e){e&&i.isArray(e.series)&&i.each(e.series,(function(e){i.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}e.exports=r},89424:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(63122)),o=n(20594),a=n(95860),s=a.getDefaultLabel,l=n(10140),u=n(72812),c=u.getLayoutOnAxis,h=n(85098),d=n(48154),f=n(90350),p=n(65120),g=n(44617),m=g.createClipPath,v=n(99352),y=n(39426),b=n(68827),x=n(42076),_=n(15683),w=o.CACHED_LABEL_STYLE_PROPERTIES,C=["itemStyle"],S=["emphasis","itemStyle"],k=["label"],M=["emphasis","label"],T="e\0\0",E={cartesian2d:v,geo:y,singleAxis:b,polar:x,calendar:_};function D(e){var t,n=e.type;if("path"===n){var i=e.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,a=H(i);t=o.makePath(a,null,r,i.layout||"center"),t.__customPathData=a}else if("image"===n)t=new o.Image({}),t.__customImagePath=e.style.image;else if("text"===n)t=new o.Text({}),t.__customText=e.style.text;else if("group"===n)t=new o.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var s=o.getShapeClass(n);t=new s}return t.__customGraphicType=n,t.name=e.name,t}function P(e,t,n,i,a,s,l){var u={},c=n.style||{};if(n.shape&&(u.shape=r.clone(n.shape)),n.position&&(u.position=n.position.slice()),n.scale&&(u.scale=n.scale.slice()),n.origin&&(u.origin=n.origin.slice()),n.rotation&&(u.rotation=n.rotation),"image"===e.type&&n.style){var h=u.style={};r.each(["x","y","width","height"],(function(t){O(t,h,c,e.style,s)}))}if("text"===e.type&&n.style){h=u.style={};r.each(["x","y"],(function(t){O(t,h,c,e.style,s)})),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke)}if("group"!==e.type&&(e.useStyle(c),s)){e.style.opacity=0;var d=c.opacity;null==d&&(d=1),o.initProps(e,{style:{opacity:d}},i,t)}s?e.attr(u):o.updateProps(e,u,i,t),n.hasOwnProperty("z2")&&e.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&e.attr("silent",n.silent),n.hasOwnProperty("invisible")&&e.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&e.attr("ignore",n.ignore),n.hasOwnProperty("info")&&e.attr("info",n.info);var f=n.styleEmphasis;o.setElementHoverStyle(e,f),l&&o.setAsHighDownDispatcher(e,!1!==f)}function O(e,t,n,i,r){null==n[e]||r||(t[e]=n[e],n[e]=i[e])}function I(e,t,n,i){var a=e.get("renderItem"),l=e.coordinateSystem,u={};l&&(u=l.prepareCustoms?l.prepareCustoms():E[l.type](l));var h,d,f,p,g,m=r.defaults({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:x,style:_,styleEmphasis:w,visual:T,barLayout:D,currentSeriesIndices:P,font:O},u.api||{}),v={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:u.coordSys,dataInsideLength:t.count(),encode:A(e.getData())},y=!0;return function(e,n){return h=e,y=!0,a&&a(r.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},v),m)};function b(e){null==e&&(e=h),y&&(d=t.getItemModel(e),f=d.getModel(k),p=d.getModel(M),g=t.getItemVisual(e,"color"),y=!1)}function x(e,n){return null==n&&(n=h),t.get(t.getDimension(e||0),n)}function _(n,i){null==i&&(i=h),b(i);var a=d.getModel(C).getItemStyle();null!=g&&(a.fill=g);var l=t.getItemVisual(i,"opacity");null!=l&&(a.opacity=l);var u=n?F(n,f):f;return o.setTextStyle(a,u,null,{autoColor:g,isRectText:!0}),a.text=u.getShallow("show")?r.retrieve2(e.getFormattedLabel(i,"normal"),s(t,i)):null,n&&j(a,n),a}function w(n,i){null==i&&(i=h),b(i);var a=d.getModel(S).getItemStyle(),l=n?F(n,p):p;return o.setTextStyle(a,l,null,{isRectText:!0},!0),a.text=l.getShallow("show")?r.retrieve3(e.getFormattedLabel(i,"emphasis"),e.getFormattedLabel(i,"normal"),s(t,i)):null,n&&j(a,n),a}function T(e,n){return null==n&&(n=h),t.getItemVisual(n,e)}function D(e){if(l.getBaseAxis){var t=l.getBaseAxis();return c(r.defaults({axis:t},e),i)}}function P(){return n.getCurrentSeriesIndices()}function O(e){return o.getFont(e,n)}}function A(e){var t={};return r.each(e.dimensions,(function(n,i){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var o=r.coordDim,a=t[o]=t[o]||[];a[r.coordDimIndex]=i}})),t}function L(e,t,n,i,r,o){return e=N(e,t,n,i,r,o,!0),e&&o.setItemGraphicEl(t,e),e}function N(e,t,n,i,r,o,a){var s=!n;n=n||{};var l=n.type,u=n.shape,c=n.style;if(e&&(s||null!=l&&l!==e.__customGraphicType||"path"===l&&W(u)&&H(u)!==e.__customPathData||"image"===l&&G(c,"image")&&c.image!==e.__customImagePath||"text"===l&&G(u,"text")&&c.text!==e.__customText)&&(r.remove(e),e=null),!s){var h=!e;return!e&&(e=D(n)),P(e,t,n,i,o,h,a),"group"===l&&R(e,t,n,i,o),r.add(e),e}}function R(e,t,n,i,r){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(a||l||u)if(l)z({oldChildren:e.children()||[],newChildren:o||[],dataIndex:t,animatableModel:i,group:e,data:r});else{u&&e.removeAll();for(var c=0;c<a;c++)o[c]&&N(e.childAt(c),t,o[c],i,e,r)}}function z(e){new h(e.oldChildren,e.newChildren,$,$,e).add(B).update(B).remove(V).execute()}function $(e,t){var n=e&&e.name;return null!=n?n:T+t}function B(e,t){var n=this.context,i=null!=e?n.newChildren[e]:null,r=null!=t?n.oldChildren[t]:null;N(r,n.dataIndex,i,n.animatableModel,n.group,n.data)}function F(e,t){var n=new f({},t);return r.each(w,(function(t,i){e.hasOwnProperty(t)&&(n.option[i]=e[t])})),n}function j(e,t){for(var n in t)!t.hasOwnProperty(n)&&w.hasOwnProperty(n)||(e[n]=t[n])}function V(e){var t=this.context,n=t.oldChildren[e];n&&t.group.remove(n)}function H(e){return e&&(e.pathData||e.d)}function W(e){return e&&(e.hasOwnProperty("pathData")||e.hasOwnProperty("d"))}function G(e,t){return e&&e.hasOwnProperty(t)}d.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(e,t){return l(this.getSource(),this)},getDataParams:function(e,t,n){var i=d.prototype.getDataParams.apply(this,arguments);return n&&(i.info=n.info),i}}),p.extend({type:"custom",_data:null,render:function(e,t,n,i){var r=this._data,o=e.getData(),a=this.group,s=I(e,o,t,n);o.diff(r).add((function(t){L(null,t,s(t,i),e,a,o)})).update((function(t,n){var l=r.getItemGraphicEl(n);L(l,t,s(t,i),e,a,o)})).remove((function(e){var t=r.getItemGraphicEl(e);t&&a.remove(t)})).execute();var l=e.get("clip",!0)?m(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},incrementalPrepareRender:function(e,t,n){this.group.removeAll(),this._data=null},incrementalRender:function(e,t,n,i,r){var o=t.getData(),a=I(t,o,n,i);function s(e){e.isGroup||(e.incremental=!0,e.useHoverLayer=!0)}for(var l=e.start;l<e.end;l++){var u=L(null,l,a(l,r),t,this.group,o);u.traverse(s)}},dispose:r.noop,filterForExposedEvent:function(e,t,n,i){var r=t.element;if(null==r||n.name===r)return!0;while((n=n.parent)&&n!==this.group)if(n.name===r)return!0;return!1}})},5610:function(e,t,n){var i=n(39405);n(33507),n(96558);var r=n(74186),o=n(83960);i.registerVisual(r("effectScatter","circle")),i.registerLayout(o("effectScatter"))},33507:function(e,t,n){var i=n(10140),r=n(48154),o=r.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});e.exports=o},96558:function(e,t,n){var i=n(39405),r=n(91151),o=n(13261),a=n(97333),s=n(83960),l=i.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new r(o)},render:function(e,t,n){var i=e.getData(),r=this._symbolDraw;r.updateData(i),this.group.add(r.group)},updateTransform:function(e,t,n){var i=e.getData();this.group.dirty();var r=s().reset(e);r.progress&&r.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=a.clone(t.getRoamTransform()),this.group.decomposeTransform())},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t)},dispose:function(){}});e.exports=l},42011:function(e,t,n){var i=n(39405);n(52936),n(35894);var r=n(62120),o=n(20296),a=n(59176);i.registerVisual(r("funnel")),i.registerLayout(o),i.registerProcessor(a("funnel"))},52936:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(94033),a=n(46458),s=a.defaultEmphasis,l=n(2240),u=l.makeSeriesEncodeForNameBased,c=n(48079),h=i.extendSeriesModel({type:"series.funnel",init:function(e){h.superApply(this,"init",arguments),this.legendVisualProvider=new c(r.bind(this.getData,this),r.bind(this.getRawData,this)),this._defaultLabelLine(e)},getInitialData:function(e,t){return o(this,{coordDimensions:["value"],encodeDefaulter:r.curry(u,this)})},_defaultLabelLine:function(e){s(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},getDataParams:function(e){var t=this.getData(),n=h.superCall(this,"getDataParams",e),i=t.mapDimension("value"),r=t.getSum(i);return n.percent=r?+(t.get(i,e)/r*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),d=h;e.exports=d},35894:function(e,t,n){var i=n(20594),r=n(63122),o=n(65120);function a(e,t){i.Group.call(this);var n=new i.Polygon,r=new i.Polyline,o=new i.Text;this.add(n),this.add(r),this.add(o),this.highDownOnUpdate=function(e,t){"emphasis"===t?(r.ignore=r.hoverIgnore,o.ignore=o.hoverIgnore):(r.ignore=r.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(e,t,!0)}var s=a.prototype,l=["itemStyle","opacity"];s.updateData=function(e,t,n){var o=this.childAt(0),a=e.hostModel,s=e.getItemModel(t),u=e.getItemLayout(t),c=e.getItemModel(t).get(l);c=null==c?1:c,o.useStyle({}),n?(o.setShape({points:u.points}),o.setStyle({opacity:0}),i.initProps(o,{style:{opacity:c}},a,t)):i.updateProps(o,{style:{opacity:c},shape:{points:u.points}},a,t);var h=s.getModel("itemStyle"),d=e.getItemVisual(t,"color");o.setStyle(r.defaults({lineJoin:"round",fill:d},h.getItemStyle(["opacity"]))),o.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),i.setHoverStyle(this)},s._updateLabel=function(e,t){var n=this.childAt(1),r=this.childAt(2),o=e.hostModel,a=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"color");i.updateProps(n,{shape:{points:l.linePoints||l.linePoints}},o,t),i.updateProps(r,{style:{x:l.x,y:l.y}},o,t),r.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=a.getModel("label"),h=a.getModel("emphasis.label"),d=a.getModel("labelLine"),f=a.getModel("emphasis.labelLine");u=e.getItemVisual(t,"color");i.setLabelStyle(r.style,r.hoverStyle={},c,h,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),r.ignore=r.normalIgnore=!c.get("show"),r.hoverIgnore=!h.get("show"),n.ignore=n.normalIgnore=!d.get("show"),n.hoverIgnore=!f.get("show"),n.setStyle({stroke:u}),n.setStyle(d.getModel("lineStyle").getLineStyle()),n.hoverStyle=f.getModel("lineStyle").getLineStyle()},r.inherits(a,i.Group);var u=o.extend({type:"funnel",render:function(e,t,n){var i=e.getData(),r=this._data,o=this.group;i.diff(r).add((function(e){var t=new a(i,e);i.setItemGraphicEl(e,t),o.add(t)})).update((function(e,t){var n=r.getItemGraphicEl(t);n.updateData(i,e),o.add(n),i.setItemGraphicEl(e,n)})).remove((function(e){var t=r.getItemGraphicEl(e);o.remove(t)})).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=u;e.exports=c},20296:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(7928)),o=n(43789),a=o.parsePercent,s=o.linearMap;function l(e,t){return r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function u(e,t){for(var n=e.mapDimension("value"),i=e.mapArray(n,(function(e){return e})),r=[],o="ascending"===t,a=0,s=e.count();a<s;a++)r[a]=a;return"function"===typeof t?r.sort(t):"none"!==t&&r.sort((function(e,t){return o?i[e]-i[t]:i[t]-i[e]})),r}function c(e){e.each((function(t){var n,i,r,o,a=e.getItemModel(t),s=a.getModel("label"),l=s.get("position"),u=a.get("orient"),c=a.getModel("labelLine"),h=e.getItemLayout(t),d=h.points,f="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(f)"insideLeft"===l?(i=(d[0][0]+d[3][0])/2+5,r=(d[0][1]+d[3][1])/2,n="left"):"insideRight"===l?(i=(d[1][0]+d[2][0])/2-5,r=(d[1][1]+d[2][1])/2,n="right"):(i=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,r=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,n="center"),o=[[i,r],[i,r]];else{var p,g,m,v,y=c.get("length");"left"===l?(p=(d[3][0]+d[0][0])/2,g=(d[3][1]+d[0][1])/2,m=p-y,i=m-5,n="right"):"right"===l?(p=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,m=p+y,i=m+5,n="left"):"top"===l?(p=(d[3][0]+d[0][0])/2,g=(d[3][1]+d[0][1])/2,v=g-y,r=v-5,n="center"):"bottom"===l?(p=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,v=g+y,r=v+5,n="center"):"rightTop"===l?(p="horizontal"===u?d[3][0]:d[1][0],g="horizontal"===u?d[3][1]:d[1][1],"horizontal"===u?(v=g-y,r=v-5,n="center"):(m=p+y,i=m+5,n="top")):"rightBottom"===l?(p=d[2][0],g=d[2][1],"horizontal"===u?(v=g+y,r=v+5,n="center"):(m=p+y,i=m+5,n="bottom")):"leftTop"===l?(p=d[0][0],g="horizontal"===u?d[0][1]:d[1][1],"horizontal"===u?(v=g-y,r=v-5,n="center"):(m=p-y,i=m-5,n="right")):"leftBottom"===l?(p="horizontal"===u?d[1][0]:d[3][0],g="horizontal"===u?d[1][1]:d[2][1],"horizontal"===u?(v=g+y,r=v+5,n="center"):(m=p-y,i=m-5,n="right")):(p=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,"horizontal"===u?(v=g+y,r=v+5,n="center"):(m=p+y,i=m+5,n="left")),"horizontal"===u?(m=p,i=m):(v=g,r=v),o=[[p,g],[m,v]]}h.label={linePoints:o,x:i,y:r,verticalAlign:"middle",textAlign:n,inside:f}}))}function h(e,t,n){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),i=n.mapDimension("value"),r=e.get("sort"),o=l(e,t),h=u(n,r),d=e.get("orient"),f=o.width,p=o.height,g=o.x,m=o.y,v="horizontal"===d?[a(e.get("minSize"),p),a(e.get("maxSize"),p)]:[a(e.get("minSize"),f),a(e.get("maxSize"),f)],y=n.getDataExtent(i),b=e.get("min"),x=e.get("max");null==b&&(b=Math.min(y[0],0)),null==x&&(x=y[1]);var _=e.get("funnelAlign"),w=e.get("gap"),C="horizontal"===d?f:p,S=(C-w*(n.count()-1))/n.count(),k=function(e,t){if("horizontal"===d){var r,o=n.get(i,e)||0,a=s(o,[b,x],v,!0);switch(_){case"top":r=m;break;case"center":r=m+(p-a)/2;break;case"bottom":r=m+(p-a);break}return[[t,r],[t,r+a]]}o=n.get(i,e)||0;var l,u=s(o,[b,x],v,!0);switch(_){case"left":l=g;break;case"center":l=g+(f-u)/2;break;case"right":l=g+f-u;break}return[[l,t],[l+u,t]]};"ascending"===r&&(S=-S,w=-w,"horizontal"===d?g+=f:m+=p,h=h.reverse());for(var M=0;M<h.length;M++){var T=h[M],E=h[M+1],D=n.getItemModel(T);if("horizontal"===d){var P=D.get("itemStyle.width");null==P?P=S:(P=a(P,f),"ascending"===r&&(P=-P));var O=k(T,g),I=k(E,g+P);g+=P+w,n.setItemLayout(T,{points:O.concat(I.slice().reverse())})}else{var A=D.get("itemStyle.height");null==A?A=S:(A=a(A,p),"ascending"===r&&(A=-A));O=k(T,"horizontal"===d?g:m),I=k(E,"horizontal"===d?g+P:m+A);m+=A+w,n.setItemLayout(T,{points:O.concat(I.slice().reverse())})}}c(n)}))}e.exports=h},81627:function(e,t,n){n(75961),n(75785)},75961:function(e,t,n){var i=n(94033),r=n(48154),o=r.extend({type:"series.gauge",getInitialData:function(e,t){return i(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),a=o;e.exports=a},75785:function(e,t,n){var i=n(28736),r=n(20594),o=n(65120),a=n(43789),s=a.parsePercent,l=a.round,u=a.linearMap;function c(e,t){var n=e.get("center"),i=t.getWidth(),r=t.getHeight(),o=Math.min(i,r),a=s(n[0],t.getWidth()),l=s(n[1],t.getHeight()),u=s(e.get("radius"),o/2);return{cx:a,cy:l,r:u}}function h(e,t){return t&&("string"===typeof t?e=t.replace("{value}",null!=e?e:""):"function"===typeof t&&(e=t(e))),e}var d=2*Math.PI,f=o.extend({type:"gauge",render:function(e,t,n){this.group.removeAll();var i=e.get("axisLine.lineStyle.color"),r=c(e,n);this._renderMain(e,t,n,i,r)},dispose:function(){},_renderMain:function(e,t,n,i,o){for(var a=this.group,s=e.getModel("axisLine"),l=s.getModel("lineStyle"),u=e.get("clockwise"),c=-e.get("startAngle")/180*Math.PI,h=-e.get("endAngle")/180*Math.PI,f=(h-c)%d,p=c,g=l.get("width"),m=s.get("show"),v=0;m&&v<i.length;v++){var y=Math.min(Math.max(i[v][0],0),1),b=(h=c+f*y,new r.Sector({shape:{startAngle:p,endAngle:h,cx:o.cx,cy:o.cy,clockwise:u,r0:o.r-g,r:o.r},silent:!0}));b.setStyle({fill:i[v][1]}),b.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),a.add(b),p=h}var x=function(e){if(e<=0)return i[0][1];for(var t=0;t<i.length;t++)if(i[t][0]>=e&&(0===t?0:i[t-1][0])<e)return i[t][1];return i[t-1][1]};if(!u){var _=c;c=h,h=_}this._renderTicks(e,t,n,x,o,c,h,u),this._renderPointer(e,t,n,x,o,c,h,u),this._renderTitle(e,t,n,x,o),this._renderDetail(e,t,n,x,o)},_renderTicks:function(e,t,n,i,o,a,u,c){for(var d=this.group,f=o.cx,p=o.cy,g=o.r,m=+e.get("min"),v=+e.get("max"),y=e.getModel("splitLine"),b=e.getModel("axisTick"),x=e.getModel("axisLabel"),_=e.get("splitNumber"),w=b.get("splitNumber"),C=s(y.get("length"),g),S=s(b.get("length"),g),k=a,M=(u-a)/_,T=M/w,E=y.getModel("lineStyle").getLineStyle(),D=b.getModel("lineStyle").getLineStyle(),P=0;P<=_;P++){var O=Math.cos(k),I=Math.sin(k);if(y.get("show")){var A=new r.Line({shape:{x1:O*g+f,y1:I*g+p,x2:O*(g-C)+f,y2:I*(g-C)+p},style:E,silent:!0});"auto"===E.stroke&&A.setStyle({stroke:i(P/_)}),d.add(A)}if(x.get("show")){var L=h(l(P/_*(v-m)+m),x.get("formatter")),N=x.get("distance"),R=i(P/_);d.add(new r.Text({style:r.setTextStyle({},x,{text:L,x:O*(g-C-N)+f,y:I*(g-C-N)+p,textVerticalAlign:I<-.4?"top":I>.4?"bottom":"middle",textAlign:O<-.4?"left":O>.4?"right":"center"},{autoColor:R}),silent:!0}))}if(b.get("show")&&P!==_){for(var z=0;z<=w;z++){O=Math.cos(k),I=Math.sin(k);var $=new r.Line({shape:{x1:O*g+f,y1:I*g+p,x2:O*(g-S)+f,y2:I*(g-S)+p},silent:!0,style:D});"auto"===D.stroke&&$.setStyle({stroke:i((P+z/w)/_)}),d.add($),k+=T}k-=T}else k+=M}},_renderPointer:function(e,t,n,o,a,l,c,h){var d=this.group,f=this._data;if(e.get("pointer.show")){var p=[+e.get("min"),+e.get("max")],g=[l,c],m=e.getData(),v=m.mapDimension("value");m.diff(f).add((function(t){var n=new i({shape:{angle:l}});r.initProps(n,{shape:{angle:u(m.get(v,t),p,g,!0)}},e),d.add(n),m.setItemGraphicEl(t,n)})).update((function(t,n){var i=f.getItemGraphicEl(n);r.updateProps(i,{shape:{angle:u(m.get(v,t),p,g,!0)}},e),d.add(i),m.setItemGraphicEl(t,i)})).remove((function(e){var t=f.getItemGraphicEl(e);d.remove(t)})).execute(),m.eachItemGraphicEl((function(e,t){var n=m.getItemModel(t),i=n.getModel("pointer");e.setShape({x:a.cx,y:a.cy,width:s(i.get("width"),a.r),r:s(i.get("length"),a.r)}),e.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",o(u(m.get(v,t),p,[0,1],!0))),r.setHoverStyle(e,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else f&&f.eachItemGraphicEl((function(e){d.remove(e)}))},_renderTitle:function(e,t,n,i,o){var a=e.getData(),l=a.mapDimension("value"),c=e.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),d=o.cx+s(h[0],o.r),f=o.cy+s(h[1],o.r),p=+e.get("min"),g=+e.get("max"),m=e.getData().get(l,0),v=i(u(m,[p,g],[0,1],!0));this.group.add(new r.Text({silent:!0,style:r.setTextStyle({},c,{x:d,y:f,text:a.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(e,t,n,i,o){var a=e.getModel("detail"),l=+e.get("min"),c=+e.get("max");if(a.get("show")){var d=a.get("offsetCenter"),f=o.cx+s(d[0],o.r),p=o.cy+s(d[1],o.r),g=s(a.get("width"),o.r),m=s(a.get("height"),o.r),v=e.getData(),y=v.get(v.mapDimension("value"),0),b=i(u(y,[l,c],[0,1],!0));this.group.add(new r.Text({silent:!0,style:r.setTextStyle({},a,{x:f,y:p,text:h(y,a.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:b,forceRich:!0})}))}}}),p=f;e.exports=p},28736:function(e,t,n){var i=n(73477),r=i.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var n=Math.cos,i=Math.sin,r=t.r,o=t.width,a=t.angle,s=t.x-n(a)*o*(o>=r/3?1:2),l=t.y-i(a)*o*(o>=r/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(a)*o,t.y+i(a)*o),e.lineTo(t.x+n(t.angle)*r,t.y+i(t.angle)*r),e.lineTo(t.x-n(a)*o,t.y-i(a)*o),e.lineTo(s,l)}});e.exports=r},92085:function(e,t,n){var i=n(39405);n(44471),n(82131),n(49477);var r=n(68273),o=n(74186),a=n(47320),s=n(88739),l=n(74057),u=n(75618),c=n(21995),h=n(22597);i.registerProcessor(r),i.registerVisual(o("graph","circle",null)),i.registerVisual(a),i.registerVisual(s),i.registerLayout(l),i.registerLayout(i.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:h})},44471:function(e,t,n){n(57658);var i=n(39405),r=n(56669),o=n(63122),a=n(46458),s=a.defaultEmphasis,l=n(90350),u=n(18906),c=u.encodeHTML,h=n(66733),d=n(48079),f=n(57496),p=f.initCurvenessList,g=f.createEdgeMapForCurveness,m=i.extendSeriesModel({type:"series.graph",init:function(e){m.superApply(this,"init",arguments);var t=this;function n(){return t._categoriesData}this.legendVisualProvider=new d(n,n),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){m.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){m.superApply(this,"mergeDefaultAndTheme",arguments),s(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var n=e.edges||e.links||[],i=e.data||e.nodes||[],r=this;if(i&&n){p(this);var a=h(i,n,this,!0,s);return o.each(a.edges,(function(e){g(e.node1,e.node2,this,e.dataIndex)}),this),a.data}function s(e,n){e.wrapMethod("getItemModel",(function(e){var t=r._categoriesModels,n=e.getShallow("category"),i=t[n];return i&&(i.parentModel=e.parentModel,e.parentModel=i),e}));var i=r.getModel("edgeLabel"),o=new l({label:i.option},i.parentModel,t),a=r.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:a.option}},a.parentModel,t);function u(e){return e=this.parsePath(e),e&&"label"===e[0]?o:e&&"emphasis"===e[0]&&"label"===e[1]?s:this.parentModel}n.wrapMethod("getItemModel",(function(e){return e.customizeGetParent(u),e}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(e,n),o=i.graph.getEdgeByIndex(e),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),l=c(l.join(" > ")),r.value&&(l+=" : "+c(r.value)),l}return m.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=o.map(this.option.categories||[],(function(e){return null!=e.value?e:o.extend({value:0},e)})),t=new r(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return m.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),v=m;e.exports=v},82131:function(e,t,n){var i=n(39405),r=n(63122),o=n(91151),a=n(85803),s=n(56738),l=n(59716),u=n(23668),c=u.onIrrelevantElement,h=n(20594),d=n(50570),f=n(95925),p=f.getNodeGlobalScale,g="__focusNodeAdjacency",m="__unfocusNodeAdjacency",v=["itemStyle","opacity"],y=["lineStyle","opacity"];function b(e,t){var n=e.getVisual("opacity");return null!=n?n:e.getModel().get(t)}function x(e,t,n){var i=e.getGraphicEl(),r=b(e,t);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(e){if(!e.isGroup){var t=e.lineLabelOriginalOpacity;null!=t&&null==n||(t=r),e.setStyle("opacity",t)}}))}function _(e,t){var n=b(e,t),i=e.getGraphicEl();i.traverse((function(e){!e.isGroup&&e.setStyle("opacity",n)})),i.highlight&&i.highlight()}var w=i.extendChartView({type:"graph",init:function(e,t){var n=new o,i=new a,r=this.group;this._controller=new s(t.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(e,t,n){var i=this,r=e.coordinateSystem;this._model=e;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if("view"===r.type){var l={position:r.position,scale:r.scale};this._firstRender?s.attr(l):h.updateProps(s,l,e)}d(e.getGraph(),p(e));var u=e.getData();o.updateData(u);var c=e.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var f=e.forceLayout,v=e.get("force.layoutAnimation");f&&this._startForceLayoutIteration(f,v),u.eachItemGraphicEl((function(t,r){var o=u.getItemModel(r);t.off("drag").off("dragend");var a=o.get("draggable");a&&t.on("drag",(function(){f&&(f.warmUp(),!this._layouting&&this._startForceLayoutIteration(f,v),f.setFixed(r),u.setItemLayout(r,t.position))}),this).on("dragend",(function(){f&&f.setUnfixed(r)}),this),t.setDraggable(a&&f),t[g]&&t.off("mouseover",t[g]),t[m]&&t.off("mouseout",t[m]),o.get("focusNodeAdjacency")&&(t.on("mouseover",t[g]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t[m]=function(){i._dispatchUnfocus(n)}))}),this),u.graph.eachEdge((function(t){var r=t.getGraphicEl();r[g]&&r.off("mouseover",r[g]),r[m]&&r.off("mouseout",r[m]),t.getModel().get("focusNodeAdjacency")&&(r.on("mouseover",r[g]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),r.on("mouseout",r[m]=function(){i._dispatchUnfocus(n)}))}));var y="circular"===e.get("layout")&&e.get("circular.rotateLabel"),b=u.getLayout("cx"),x=u.getLayout("cy");u.eachItemGraphicEl((function(e,t){var n=u.getItemModel(t),i=n.get("label.rotate")||0,r=e.getSymbolPath();if(y){var o=u.getItemLayout(t),a=Math.atan2(o[1]-x,o[0]-b);a<0&&(a=2*Math.PI+a);var s=o[0]<b;s&&(a-=Math.PI);var l=s?"left":"right";h.modifyLabelStyle(r,{textRotation:-a,textPosition:l,textOrigin:"center"},{textPosition:l})}else h.modifyLabelStyle(r,{textRotation:i*=Math.PI/180})})),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(e,t){var n=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){n._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:n._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,n,i){var o=e.getData(),a=o.graph,s=i.dataIndex,l=i.edgeDataIndex,u=a.getNodeByIndex(s),c=a.getEdgeByIndex(l);(u||c)&&(a.eachNode((function(e){x(e,v,.1)})),a.eachEdge((function(e){x(e,y,.1)})),u&&(_(u,v),r.each(u.edges,(function(e){e.dataIndex<0||(_(e,y),_(e.node1,v),_(e.node2,v))}))),c&&(_(c,y),_(c.node1,v),_(c.node2,v)))},unfocusNodeAdjacency:function(e,t,n,i){var r=e.getData().graph;r.eachNode((function(e){x(e,v)})),r.eachEdge((function(e){x(e,y)}))},_startForceLayoutIteration:function(e,t){var n=this;(function i(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(i,16):i())}))})()},_updateController:function(e,t,n){var i=this._controller,r=this._controllerHost,o=this.group;i.setPointerChecker((function(t,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!c(t,n,e)})),"view"===e.coordinateSystem.type?(i.enable(e.get("roam")),r.zoomLimit=e.get("scaleLimit"),r.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){l.updateViewOnPan(r,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){l.updateViewOnZoom(r,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(),d(e.getGraph(),p(e)),this._lineDraw.updateLayout()}),this)):i.disable()},_updateNodeAndLinkScale:function(){var e=this._model,t=e.getData(),n=p(e),i=[n,n];t.eachItemGraphicEl((function(e,t){e.attr("scale",i)}))},updateLayout:function(e){d(e.getGraph(),p(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});e.exports=w},50570:function(e,t,n){n(57658);var i=n(85723),r=n(78244),o=n(95925),a=o.getSymbolSize,s=[],l=[],u=[],c=i.quadraticAt,h=r.distSquare,d=Math.abs;function f(e,t,n){for(var i,r=e[0],o=e[1],a=e[2],f=1/0,p=n*n,g=.1,m=.1;m<=.9;m+=.1){s[0]=c(r[0],o[0],a[0],m),s[1]=c(r[1],o[1],a[1],m);var v=d(h(s,t)-p);v<f&&(f=v,i=m)}for(var y=0;y<32;y++){var b=i+g;l[0]=c(r[0],o[0],a[0],i),l[1]=c(r[1],o[1],a[1],i),u[0]=c(r[0],o[0],a[0],b),u[1]=c(r[1],o[1],a[1],b);v=h(l,t)-p;if(d(v)<.01)break;var x=h(u,t)-p;g/=2,v<0?x>=0?i+=g:i-=g:x>=0?i-=g:i+=g}return i}function p(e,t){var n=[],o=i.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];t/=2,e.eachEdge((function(e,i){var c=e.getLayout(),h=e.getVisual("fromSymbol"),d=e.getVisual("toSymbol");c.__original||(c.__original=[r.clone(c[0]),r.clone(c[1])],c[2]&&c.__original.push(r.clone(c[2])));var p=c.__original;if(null!=c[2]){if(r.copy(s[0],p[0]),r.copy(s[1],p[2]),r.copy(s[2],p[1]),h&&"none"!==h){var g=a(e.node1),m=f(s,p[0],g*t);o(s[0][0],s[1][0],s[2][0],m,n),s[0][0]=n[3],s[1][0]=n[4],o(s[0][1],s[1][1],s[2][1],m,n),s[0][1]=n[3],s[1][1]=n[4]}if(d&&"none"!==d){g=a(e.node2),m=f(s,p[1],g*t);o(s[0][0],s[1][0],s[2][0],m,n),s[1][0]=n[1],s[2][0]=n[2],o(s[0][1],s[1][1],s[2][1],m,n),s[1][1]=n[1],s[2][1]=n[2]}r.copy(c[0],s[0]),r.copy(c[1],s[2]),r.copy(c[2],s[1])}else{if(r.copy(l[0],p[0]),r.copy(l[1],p[1]),r.sub(u,l[1],l[0]),r.normalize(u,u),h&&"none"!==h){g=a(e.node1);r.scaleAndAdd(l[0],l[0],u,g*t)}if(d&&"none"!==d){g=a(e.node2);r.scaleAndAdd(l[1],l[1],u,-g*t)}r.copy(c[0],l[0]),r.copy(c[1],l[1])}}))}e.exports=p},68273:function(e){function t(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),i=e.getGraph(),r=i.data,o=n.mapArray(n.getName);r.filterSelf((function(e){var n=r.getItemModel(e),i=n.getShallow("category");if(null!=i){"number"===typeof i&&(i=o[i]);for(var a=0;a<t.length;a++)if(!t[a].isSelected(i))return!1}return!0}))}),this)}e.exports=t},47320:function(e){function t(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),i=e.getData(),r={};n.each((function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.get("itemStyle.color")||e.getColorFromPalette(o,t);n.setItemVisual(i,"color",s);for(var l=["opacity","symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(e){var t=i.getItemModel(e),o=t.getShallow("category");if(null!=o){"string"===typeof o&&(o=r["ec-"+o]);for(var a=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)null==i.getItemVisual(e,a[s],!0)&&i.setItemVisual(e,a[s],n.getItemVisual(o,a[s]))}}))}))}e.exports=t},75618:function(e,t,n){var i=n(97890),r=i.circularLayout;function o(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&r(e,"symbolSize")}))}e.exports=o},97890:function(e,t,n){var i=n(78244),r=n(95925),o=r.getSymbolSize,a=r.getNodeGlobalScale,s=n(63122),l=n(57496),u=l.getCurvenessForEdge,c=Math.PI,h=[];function d(e,t){var n=e.coordinateSystem;if(!n||"view"===n.type){var r=n.getBoundingRect(),o=e.getData(),a=o.graph,l=r.width/2+r.x,c=r.height/2+r.y,h=Math.min(r.width,r.height)/2,d=o.count();o.setLayout({cx:l,cy:c}),d&&(f[t](e,n,a,o,h,l,c,d),a.eachEdge((function(t,n){var r,o=s.retrieve3(t.getModel().get("lineStyle.curveness"),u(t,e,n),0),a=i.clone(t.node1.getLayout()),h=i.clone(t.node2.getLayout()),d=(a[0]+h[0])/2,f=(a[1]+h[1])/2;+o&&(o*=3,r=[l*o+d*(1-o),c*o+f*(1-o)]),t.setLayout([a,h,r])})))}}var f={value:function(e,t,n,i,r,o,a,s){var l=0,u=i.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(e){var t=e.getValue("value"),n=c*(u?t:1)/2;l+=n,e.setLayout([r*Math.cos(l)+o,r*Math.sin(l)+a]),l+=n}))},symbolSize:function(e,t,n,i,r,s,l,u){var d=0;h.length=u;var f=a(e);n.eachNode((function(e){var t=o(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=f;var n=Math.asin(t/2/r);isNaN(n)&&(n=c/2),h[e.dataIndex]=n,d+=2*n}));var p=(2*c-d)/u/2,g=0;n.eachNode((function(e){var t=p+h[e.dataIndex];g+=t,e.setLayout([r*Math.cos(g)+s,r*Math.sin(g)+l]),g+=t}))}};t.circularLayout=d},22597:function(e,t,n){n(57658);var i=n(51014),r=n(7928),o=r.getLayoutRect,a=n(9787);function s(e,t,n){var i=e.getBoxLayoutParams();return i.aspect=n,o(i,{width:t.getWidth(),height:t.getHeight()})}function l(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var r=e.get("coordinateSystem");if(!r||"view"===r){var o=e.getData(),l=o.mapArray((function(e){var t=o.getItemModel(e);return[+t.get("x"),+t.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]),d=s(e,t,h);isNaN(h)&&(u=[d.x,d.y],c=[d.x+d.width,d.y+d.height]);var f=c[0]-u[0],p=c[1]-u[1],g=d.width,m=d.height,v=e.coordinateSystem=new i;v.zoomLimit=e.get("scaleLimit"),v.setBoundingRect(u[0],u[1],f,p),v.setViewRect(d.x,d.y,g,m),v.setCenter(e.get("center")),v.setZoom(e.get("zoom")),n.push(v)}})),n}e.exports=l},88739:function(e){function t(e){return e instanceof Array||(e=[e,e]),e}function n(e){e.eachSeriesByType("graph",(function(e){var n=e.getGraph(),i=e.getEdgeData(),r=t(e.get("edgeSymbol")),o=t(e.get("edgeSymbolSize")),a="lineStyle.color".split("."),s="lineStyle.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",e.get(a)),i.setVisual("opacity",e.get(s)),i.each((function(e){var r=i.getItemModel(e),o=n.getEdgeByIndex(e),l=t(r.getShallow("symbol",!0)),u=t(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");break}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)}))}))}e.exports=n},67904:function(e,t,n){var i=n(78244),r=i.scaleAndAdd;function o(e,t,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<e.length;c++){var h=e[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 d=null==n.friction?.6:n.friction,f=d;return{warmUp:function(){f=.8*d},setFixed:function(t){e[t].fixed=!0},setUnfixed:function(t){e[t].fixed=!1},step:function(n){for(var o=[],a=e.length,s=0;s<t.length;s++){var c=t[s];if(!c.ignoreForceLayout){var 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);isNaN(g)&&(g=0),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(s=0;s<a;s++){var m=e[s];m.fixed||(i.sub(o,l,m.p),r(m.p,m.p,o,u*f))}for(s=0;s<a;s++){h=e[s];for(var v=s+1;v<a;v++){d=e[v];i.sub(o,d.p,h.p);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)}}var b=[];for(s=0;s<a;s++){m=e[s];m.fixed||(i.sub(b,m.p,m.pp),r(m.p,m.p,b,f),i.copy(m.pp,m.p))}f*=.992,n&&n(e,t,f<.01)}}}t.forceLayout=o},21995:function(e,t,n){var i=n(67904),r=i.forceLayout,o=n(43413),a=o.simpleLayout,s=n(97890),l=s.circularLayout,u=n(43789),c=u.linearMap,h=n(78244),d=n(63122),f=n(57496),p=f.getCurvenessForEdge;function g(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},i=e.getGraph(),o=i.data,s=i.edgeData,u=e.getModel("force"),f=u.get("initLayout");e.preservedPoints?o.each((function(e){var t=o.getId(e);o.setItemLayout(e,n[t]||[NaN,NaN])})):f&&"none"!==f?"circular"===f&&l(e,"value"):a(e);var g=o.getDataExtent("value"),m=s.getDataExtent("value"),v=u.get("repulsion"),y=u.get("edgeLength");d.isArray(v)||(v=[v,v]),d.isArray(y)||(y=[y,y]),y=[y[1],y[0]];var b=o.mapArray("value",(function(e,t){var n=o.getItemLayout(t),i=c(e,g,v);return isNaN(i)&&(i=(v[0]+v[1])/2),{w:i,rep:i,fixed:o.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),x=s.mapArray("value",(function(t,n){var r=i.getEdgeByIndex(n),o=c(t,m,y);isNaN(o)&&(o=(y[0]+y[1])/2);var a=r.getModel(),s=d.retrieve3(a.get("lineStyle.curveness"),-p(r,e,n,!0),0);return{n1:b[r.node1.dataIndex],n2:b[r.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),_=(t=e.coordinateSystem,t.getBoundingRect()),w=r(b,x,{rect:_,gravity:u.get("gravity"),friction:u.get("friction")}),C=w.step;w.step=function(e){for(var t=0,r=b.length;t<r;t++)b[t].fixed&&h.copy(b[t].p,i.getNodeByIndex(t).getLayout());C((function(t,r,a){for(var s=0,l=t.length;s<l;s++)t[s].fixed||i.getNodeByIndex(s).setLayout(t[s].p),n[o.getId(s)]=t[s].p;for(s=0,l=r.length;s<l;s++){var u=r[s],c=i.getEdgeByIndex(s),d=u.n1.p,f=u.n2.p,p=c.getLayout();p=p?p.slice():[],p[0]=p[0]||[],p[1]=p[1]||[],h.copy(p[0],d),h.copy(p[1],f),+u.curveness&&(p[2]=[(d[0]+f[0])/2-(d[1]-f[1])*u.curveness,(d[1]+f[1])/2-(f[0]-d[0])*u.curveness]),c.setLayout(p)}e&&e(a)}))},e.forceLayout=w,e.preservedPoints=n,w.step()}else e.forceLayout=null}))}e.exports=g},49477:function(e,t,n){var i=n(39405),r=n(42303),o=r.updateCenterAndZoom;n(10080);var a={type:"graphRoam",event:"graphRoam",update:"none"};i.registerAction(a,(function(e,t){t.eachComponent({mainType:"series",query:e},(function(t){var n=t.coordinateSystem,i=o(n,e);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))},95925:function(e,t){function n(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,i=t.scale,r=i&&i[0]||1,o=t.getZoom(),a=(o-1)*n+1;return a/r}function i(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}t.getNodeGlobalScale=n,t.getSymbolSize=i},74057:function(e,t,n){n(57658);var i=n(63122),r=i.each,o=n(43413),a=o.simpleLayout,s=o.simpleLayoutEdge;function l(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var i=e.getData(),o=[];r(n.dimensions,(function(e){o=o.concat(i.mapDimension(e,!0))}));for(var l=0;l<i.count();l++){for(var u=[],c=!1,h=0;h<o.length;h++){var d=i.get(o[h],l);isNaN(d)||(c=!0),u.push(d)}c?i.setItemLayout(l,n.dataToPoint(u)):i.setItemLayout(l,[NaN,NaN])}s(i.graph,e)}else t&&"none"!==t||a(e)}))}e.exports=l},43413:function(e,t,n){n(57658);var i=n(78244),r=n(63122),o=n(57496),a=o.getCurvenessForEdge;function s(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),l(n,e)}}function l(e,t){e.eachEdge((function(e,n){var o=r.retrieve3(e.getModel().get("lineStyle.curveness"),-a(e,t,n,!0),0),s=i.clone(e.node1.getLayout()),l=i.clone(e.node2.getLayout()),u=[s,l];+o&&u.push([(s[0]+l[0])/2-(s[1]-l[1])*o,(s[1]+l[1])/2-(l[0]-s[0])*o]),e.setLayout(u)}))}t.simpleLayout=s,t.simpleLayoutEdge=l},25716:function(e,t,n){n(40959),n(31311)},4020:function(e,t,n){n(1439),n(87585),n(55315);var i=n(63122),r=256;function o(){var e=i.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}o.prototype={update:function(e,t,n,i,o,a){var s=this._getBrush(),l=this._getGradient(e,o,"inRange"),u=this._getGradient(e,o,"outOfRange"),c=this.pointSize+this.blurSize,h=this.canvas,d=h.getContext("2d"),f=e.length;h.width=t,h.height=n;for(var p=0;p<f;++p){var g=e[p],m=g[0],v=g[1],y=g[2],b=i(y);d.globalAlpha=b,d.drawImage(s,m-c,v-c)}if(!h.width||!h.height)return h;var x=d.getImageData(0,0,h.width,h.height),_=x.data,w=0,C=_.length,S=this.minOpacity,k=this.maxOpacity,M=k-S;while(w<C){b=_[w+3]/256;var T=4*Math.floor(b*(r-1));if(b>0){var E=a(b)?l:u;b>0&&(b=b*M+S),_[w++]=E[T],_[w++]=E[T+1],_[w++]=E[T+2],_[w++]=E[T+3]*b*256}else w+=4}return d.putImageData(x,0,0),h},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=i.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var r=e.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},_getGradient:function(e,t,n){for(var i=this._gradientPixels,r=i[n]||(i[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)t[n](s/255,!0,o),r[a++]=o[0],r[a++]=o[1],r[a++]=o[2],r[a++]=o[3];return r}};var a=o;e.exports=a},40959:function(e,t,n){var i=n(48154),r=n(10140),o=n(99966),a=i.extend({type:"series.heatmap",getInitialData:function(e,t){return r(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var e=o.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});e.exports=a},31311:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(39405)),o=n(20594),a=n(4020),s=n(63122);function l(e,t,n){var i=e[1]-e[0];t=s.map(t,(function(t){return{interval:[(t.interval[0]-e[0])/i,(t.interval[1]-e[0])/i]}}));var r=t.length,o=0;return function(e){for(var i=o;i<r;i++){var a=t[i].interval;if(a[0]<=e&&e<=a[1]){o=i;break}}if(i===r)for(i=o-1;i>=0;i--){a=t[i].interval;if(a[0]<=e&&e<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}function u(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}function c(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var h=r.extendChartView({type:"heatmap",render:function(e,t,n){var i;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(i=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=e.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):c(r)&&this._renderOnGeo(r,e,i,n)},incrementalPrepareRender:function(e,t,n){this.group.removeAll()},incrementalRender:function(e,t,n,i){var r=t.coordinateSystem;r&&this._renderOnCartesianAndCalendar(t,i,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,n,i,r){var a,l,u=e.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),h=u.getAxis("y");a=c.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,f=e.getData(),p="itemStyle",g="emphasis.itemStyle",m="label",v="emphasis.label",y=e.getModel(p).getItemStyle(["color"]),b=e.getModel(g).getItemStyle(),x=e.getModel(m),_=e.getModel(v),w=u.type,C="cartesian2d"===w?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],S=n;S<i;S++){var k;if("cartesian2d"===w){if(isNaN(f.get(C[2],S)))continue;var M=u.dataToPoint([f.get(C[0],S),f.get(C[1],S)]);k=new o.Rect({shape:{x:Math.floor(Math.round(M[0])-a/2),y:Math.floor(Math.round(M[1])-l/2),width:Math.ceil(a),height:Math.ceil(l)},style:{fill:f.getItemVisual(S,"color"),opacity:f.getItemVisual(S,"opacity")}})}else{if(isNaN(f.get(C[1],S)))continue;k=new o.Rect({z2:1,shape:u.dataToRect([f.get(C[0],S)]).contentShape,style:{fill:f.getItemVisual(S,"color"),opacity:f.getItemVisual(S,"opacity")}})}var T=f.getItemModel(S);f.hasItemOption&&(y=T.getModel(p).getItemStyle(["color"]),b=T.getModel(g).getItemStyle(),x=T.getModel(m),_=T.getModel(v));var E=e.getRawValue(S),D="-";E&&null!=E[2]&&(D=E[2]),o.setLabelStyle(y,b,x,_,{labelFetcher:e,labelDataIndex:S,defaultText:D,isRectText:!0}),k.setStyle(y),o.setHoverStyle(k,f.hasItemOption?b:s.extend({},b)),k.incremental=r,r&&(k.useHoverLayer=!0),d.add(k),f.setItemGraphicEl(S,k)}},_renderOnGeo:function(e,t,n,i){var r=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,c=t.getData(),h=this._hmLayer||this._hmLayer||new a;h.blurSize=t.get("blurSize"),h.pointSize=t.get("pointSize"),h.minOpacity=t.get("minOpacity"),h.maxOpacity=t.get("maxOpacity");var d=e.getViewRect().clone(),f=e.getRoamTransform();d.applyTransform(f);var p=Math.max(d.x,0),g=Math.max(d.y,0),m=Math.min(d.width+d.x,i.getWidth()),v=Math.min(d.height+d.y,i.getHeight()),y=m-p,b=v-g,x=[c.mapDimension("lng"),c.mapDimension("lat"),c.mapDimension("value")],_=c.mapArray(x,(function(t,n,i){var r=e.dataToPoint([t,n]);return r[0]-=p,r[1]-=g,r.push(i),r})),w=n.getExtent(),C="visualMap.continuous"===n.type?u(w,n.option.range):l(w,n.getPieceList(),n.option.selected);h.update(_,y,b,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:s.color.getColorMapper()},C);var S=new o.Image({style:{width:y,height:b,x:p,y:g,image:h.canvas},silent:!0});this.group.add(S)},dispose:function(){}});e.exports=h},9010:function(e,t,n){var i=n(20594),r=n(35007),o=n(63122),a=n(84682),s=a.createSymbol,l=n(78244),u=n(85723);function c(e,t,n){i.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var h=c.prototype;h.createLine=function(e,t,n){return new r(e,t,n)},h._updateEffectSymbol=function(e,t){var n=e.getItemModel(t),i=n.getModel("effect"),r=i.get("symbolSize"),a=i.get("symbol");o.isArray(r)||(r=[r,r]);var l=i.get("color")||e.getItemVisual(t,"color"),u=this.childAt(1);this._symbolType!==a&&(this.remove(u),u=s(a,-.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=a,this._symbolScale=r,this._updateEffectAnimation(e,i,t))},h._updateEffectAnimation=function(e,t,n){var i=this.childAt(1);if(i){var r=this,a=e.getItemLayout(n),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=o.retrieve(t.get("delay"),(function(t){return t/e.count()*s/3})),h="function"===typeof c;if(i.ignore=!0,this.updateAnimationPoints(i,a),u>0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var d=c;h&&(d=c(n)),i.__t>0&&(d=-s*i.__t),i.__t=0;var f=i.animate("",l).when(s,{__t:1}).delay(d).during((function(){r.updateSymbolPosition(i)}));l||f.done((function(){r.remove(i)})),f.start()}this._period=s,this._loop=l}},h.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},h.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},h.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},h.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,i=e.__cp1,r=e.__t,o=e.position,a=[o[0],o[1]],s=u.quadraticAt,c=u.quadraticDerivativeAt;o[0]=s(t[0],i[0],n[0],r),o[1]=s(t[1],i[1],n[1],r);var h=c(t[0],i[0],n[0],r),d=c(t[1],i[1],n[1],r);if(e.rotation=-Math.atan2(d,h)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==e.__lastT&&e.__lastT<e.__t){var f=1.05*l.dist(a,o);e.attr("scale",[e.scale[0],f]),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)}else if(1===e.__lastT){f=2*l.dist(t,o);e.attr("scale",[e.scale[0],f])}else e.attr("scale",this._symbolScale);e.__lastT=e.__t,e.ignore=!1},h.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},o.inherits(c,i.Group);var d=c;e.exports=d},56193:function(e,t,n){n(57658);var i=n(7446),r=n(63122),o=n(9010),a=n(78244);function s(e,t,n){o.call(this,e,t,n),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(e,t,n){return new i(e,t,n)},l.updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],i=0,r=1;r<t.length;r++){var o=t[r-1],s=t[r];i+=a.dist(o,s),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}},l.getLineLength=function(e){return this._length},l.updateSymbolPosition=function(e){var t=e.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o=this._lastFrame;if(t<this._lastFramePercent){var s=Math.min(o+1,r-1);for(l=s;l>=0;l--)if(i[l]<=t)break;l=Math.min(l,r-2)}else{for(var l=o;l<r;l++)if(i[l]>t)break;l=Math.min(l-1,r-2)}a.lerp(e.position,n[l],n[l+1],(t-i[l])/(i[l+1]-i[l]));var u=n[l+1][0]-n[l][0],c=n[l+1][1]-n[l][1];e.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=t,e.ignore=!1}},r.inherits(s,o);var u=s;e.exports=u},13261:function(e,t,n){var i=n(63122),r=n(84682),o=r.createSymbol,a=n(20594),s=a.Group,l=n(43789),u=l.parsePercent,c=n(1223),h=3;function d(e){return i.isArray(e)||(e=[+e,+e]),e}function f(e,t){var n=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})}))}function p(e,t){s.call(this);var n=new c(e,t),i=new s;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(e,t)}var g=p.prototype;g.stopEffectAnimation=function(){this.childAt(1).removeAll()},g.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,i=this.childAt(1),r=0;r<h;r++){var a=o(t,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-r/h*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(s).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),i.add(a)}f(i,e)},g.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],r=0;r<i.length;r++){var o=i[r];if(t[o]!==e[o])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}f(n,e)},g.highlight=function(){this.trigger("emphasis")},g.downplay=function(){this.trigger("normal")},g.updateData=function(e,t){var n=e.hostModel;this.childAt(0).updateData(e,t);var i=this.childAt(1),r=e.getItemModel(t),o=e.getItemVisual(t,"symbol"),a=d(e.getItemVisual(t,"symbolSize")),s=e.getItemVisual(t,"color");i.attr("scale",a),i.traverse((function(e){e.attr({fill:s})}));var l=r.getShallow("symbolOffset");if(l){var c=i.position;c[0]=u(l[0],a[0]),c[1]=u(l[1],a[1])}var h=e.getItemVisual(t,"symbolRotate");i.rotation=(h||0)*Math.PI/180||0;var f={};if(f.showEffectOn=n.get("showEffectOn"),f.rippleScale=r.get("rippleEffect.scale"),f.brushType=r.get("rippleEffect.brushType"),f.period=1e3*r.get("rippleEffect.period"),f.effectOffset=t/e.count(),f.z=r.getShallow("z")||0,f.zlevel=r.getShallow("zlevel")||0,f.symbolType=o,f.color=s,f.rippleEffectColor=r.get("rippleEffect.color"),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 p=this.childAt(0),g=function(){p.highlight(),"render"!==f.showEffectOn&&this.startEffectAnimation(f)},m=function(){p.downplay(),"render"!==f.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",g,this).on("mouseout",m,this).on("emphasis",g,this).on("normal",m,this)}this._effectCfg=f},g.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},i.inherits(p,s);var m=p;e.exports=m},50505:function(e,t,n){var i=n(20594),r=n(36418),o=n(79537),a=n(88337),s=i.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(e,t){var n=t.segs,i=t.curveness;if(t.polyline)for(var r=0;r<n.length;){var o=n[r++];if(o>0){e.moveTo(n[r++],n[r++]);for(var a=1;a<o;a++)e.lineTo(n[r++],n[r++])}}else for(r=0;r<n.length;){var s=n[r++],l=n[r++],u=n[r++],c=n[r++];if(e.moveTo(s,l),i>0){var h=(s+u)/2-(l-c)*i,d=(l+c)/2-(u-s)*i;e.quadraticCurveTo(h,d,u,c)}else e.lineTo(u,c)}},findDataIndex:function(e,t){var n=this.shape,i=n.segs,r=n.curveness;if(n.polyline)for(var s=0,l=0;l<i.length;){var u=i[l++];if(u>0)for(var c=i[l++],h=i[l++],d=1;d<u;d++){var f=i[l++],p=i[l++];if(o.containStroke(c,h,f,p))return s}s++}else for(s=0,l=0;l<i.length;){c=i[l++],h=i[l++],f=i[l++],p=i[l++];if(r>0){var g=(c+f)/2-(h-p)*r,m=(h+p)/2-(f-c)*r;if(a.containStroke(c,h,g,m,f,p))return s}else if(o.containStroke(c,h,f,p))return s;s++}return-1}});function l(){this.group=new i.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e){this.group.removeAll();var t=new s({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t){var n=new s;n.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(n,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=e.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(e,t,n){var i=t.hostModel;e.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),e.useStyle(i.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var r=t.getVisual("color");r&&e.setStyle("stroke",r),e.setStyle("fill"),n||(e.seriesIndex=i.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n+e.__startIndex)})))},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var c=l;e.exports=c},43184:function(e,t,n){n(1439),n(87585),n(55315);var i=n(20594),r=n(84682),o=r.createSymbol,a=n(36418),s=4,l=i.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(e,t){var n=t.points,i=t.size,r=this.symbolProxy,o=r.shape,a=e.getContext?e.getContext():e,l=a&&i[0]<s;if(!l)for(var u=0;u<n.length;){var c=n[u++],h=n[u++];isNaN(c)||isNaN(h)||(this.softClipShape&&!this.softClipShape.contain(c,h)||(o.x=c-i[0]/2,o.y=h-i[1]/2,o.width=i[0],o.height=i[1],r.buildPath(e,o,!0)))}},afterBrush:function(e){var t=this.shape,n=t.points,i=t.size,r=i[0]<s;if(r){this.setTransform(e);for(var o=0;o<n.length;){var a=n[o++],l=n[o++];isNaN(a)||isNaN(l)||(this.softClipShape&&!this.softClipShape.contain(a,l)||e.fillRect(a-i[0]/2,l-i[1]/2,i[0],i[1]))}this.restoreTransform(e)}},findDataIndex:function(e,t){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(e>=u&&t>=c&&e<=u+o&&t<=c+a)return s}return-1}});function u(){this.group=new i.Group}var c=u.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(e,t){this.group.removeAll();var n=new l({rectHover:!0,cursor:"default"});n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!1,t),this.group.add(n),this._incremental=null},c.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),i=4*e.startIndex*2;t=new Float32Array(t.buffer,i,n)}e.setShape("points",t)}))}},c.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(e,t,n){var i;this._incremental?(i=new l,this._incremental.addDisplayable(i,!0)):(i=new l({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(i,t,!!this._incremental,n)},c._setCommon=function(e,t,n,i){var r=t.hostModel;i=i||{};var a=t.getVisual("symbolSize");e.setShape("size",a instanceof Array?a:[a,a]),e.softClipShape=i.clipShape||null,e.symbolProxy=o(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var l=e.shape.size[0]<s;e.useStyle(r.getModel("itemStyle").getItemStyle(l?["color","shadowBlur","shadowColor"]:["color"]));var u=t.getVisual("color");u&&e.setColor(u),n||(e.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>=0&&(e.dataIndex=n+(e.startIndex||0))})))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var h=u;e.exports=h},35007:function(e,t,n){var i=n(63122),r=n(78244),o=n(84682),a=n(43511),s=n(20594),l=n(43789),u=l.round,c=["fromSymbol","toSymbol"];function h(e){return"_"+e+"Type"}function d(e,t,n){var r=t.getItemVisual(n,e);if(r&&"none"!==r){var a=t.getItemVisual(n,"color"),s=t.getItemVisual(n,e+"Size"),l=t.getItemVisual(n,e+"Rotate");i.isArray(s)||(s=[s,s]);var u=o.createSymbol(r,-s[0]/2,-s[1]/2,s[0],s[1],a);return u.__specifiedRotation=null==l||isNaN(l)?void 0:+l*Math.PI/180||0,u.name=e,u}}function f(e){var t=new a({name:"line",subPixelOptimize:!0});return p(t.shape,e),t}function p(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}function g(){var e=this,t=e.childOfName("fromSymbol"),n=e.childOfName("toSymbol"),i=e.childOfName("label");if(t||n||!i.ignore){var o=1,a=this.parent;while(a)a.scale&&(o/=a.scale[0]),a=a.parent;var s=e.childOfName("line");if(this.__dirty||s.__dirty){var l=s.shape.percent,u=s.pointAt(0),c=s.pointAt(l),h=r.sub([],c,u);if(r.normalize(h,h),t){t.attr("position",u);var d=t.__specifiedRotation;if(null==d){var f=s.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(f[1],f[0]))}else t.attr("rotation",d);t.attr("scale",[o*l,o*l])}if(n){n.attr("position",c);d=n.__specifiedRotation;if(null==d){f=s.tangentAt(1);n.attr("rotation",-Math.PI/2-Math.atan2(f[1],f[0]))}else n.attr("rotation",d);n.attr("scale",[o*l,o*l])}if(!i.ignore){var p,g,m,v;i.attr("position",c);var y=i.__labelDistance,b=y[0]*o,x=y[1]*o,_=l/2,w=(f=s.tangentAt(_),[f[1],-f[0]]),C=s.pointAt(_);w[1]>0&&(w[0]=-w[0],w[1]=-w[1]);var S,k=f[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var M=-Math.atan2(f[1],f[0]);c[0]<u[0]&&(M=Math.PI+M),i.attr("rotation",M)}switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":S=-x,m="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":S=x,m="top";break;default:S=0,m="middle"}switch(i.__position){case"end":p=[h[0]*b+c[0],h[1]*x+c[1]],g=h[0]>.8?"left":h[0]<-.8?"right":"center",m=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":p=[-h[0]*b+u[0],-h[1]*x+u[1]],g=h[0]>.8?"right":h[0]<-.8?"left":"center",m=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p=[b*k+u[0],u[1]+S],g=f[0]<0?"right":"left",v=[-b*k,-S];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p=[C[0],C[1]+S],g="center",v=[0,-S];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p=[-b*k+c[0],c[1]+S],g=f[0]>=0?"right":"left",v=[b*k,-S];break}i.attr({style:{textVerticalAlign:i.__verticalAlign||m,textAlign:i.__textAlign||g},position:p,scale:[o,o],origin:v})}}}}function m(e,t,n){s.Group.call(this),this._createLine(e,t,n)}var v=m.prototype;v.beforeUpdate=g,v._createLine=function(e,t,n){var r=e.hostModel,o=e.getItemLayout(t),a=f(o);a.shape.percent=0,s.initProps(a,{shape:{percent:1}},r,t),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),i.each(c,(function(n){var i=d(n,e,t);this.add(i),this[h(n)]=e.getItemVisual(t,n)}),this),this._updateCommonStl(e,t,n)},v.updateData=function(e,t,n){var r=e.hostModel,o=this.childOfName("line"),a=e.getItemLayout(t),l={shape:{}};p(l.shape,a),s.updateProps(o,l,r,t),i.each(c,(function(n){var i=e.getItemVisual(t,n),r=h(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=d(n,e,t);this.add(o)}this[r]=i}),this),this._updateCommonStl(e,t,n)},v._updateCommonStl=function(e,t,n){var r=e.hostModel,o=this.childOfName("line"),a=n&&n.lineStyle,l=n&&n.hoverLineStyle,h=n&&n.labelModel,d=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var f=e.getItemModel(t);a=f.getModel("lineStyle").getLineStyle(),l=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=e.getItemVisual(t,"color"),g=i.retrieve3(e.getItemVisual(t,"opacity"),a.opacity,1);o.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},a)),o.hoverStyle=l,i.each(c,(function(e){var t=this.childOfName(e);t&&(t.setColor(p),t.setStyle({opacity:g}))}),this);var m,v,y=h.getShallow("show"),b=d.getShallow("show"),x=this.childOfName("label");if((y||b)&&(m=p||"#000",v=r.getFormattedLabel(t,"normal",e.dataType),null==v)){var _=r.getRawValue(t);v=null==_?e.getName(t):isFinite(_)?u(_):_}var w=y?v:null,C=b?i.retrieve2(r.getFormattedLabel(t,"emphasis",e.dataType),v):null,S=x.style;if(null!=w||null!=C){s.setTextStyle(x.style,h,{text:w},{autoColor:m}),x.__textAlign=S.textAlign,x.__verticalAlign=S.textVerticalAlign,x.__position=h.get("position")||"middle";var k=h.get("distance");i.isArray(k)||(k=[k,k]),x.__labelDistance=k}x.hoverStyle=null!=C?{text:C,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},x.ignore=!y&&!b,s.setHoverStyle(this)},v.highlight=function(){this.trigger("emphasis")},v.downplay=function(){this.trigger("normal")},v.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},v.setLinePoints=function(e){var t=this.childOfName("line");p(t.shape,e),t.dirty()},i.inherits(m,s.Group);var y=m;e.exports=y},85803:function(e,t,n){var i=n(20594),r=n(35007);function o(e){this._ctor=e||r,this.group=new i.Group}var a=o.prototype;function s(e,t,n,i){var r=t.getItemLayout(n);if(d(r)){var o=new e._ctor(t,n,i);t.setItemGraphicEl(n,o),e.group.add(o)}}function l(e,t,n,i,r,o){var a=t.getItemGraphicEl(i);d(n.getItemLayout(r))?(a?a.updateData(n,r,o):a=new e._ctor(n,r,o),n.setItemGraphicEl(r,a),e.group.add(a)):e.group.remove(a)}function u(e){return e.animators&&e.animators.length>0}function c(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function h(e){return isNaN(e[0])||isNaN(e[1])}function d(e){return!h(e[0])&&!h(e[1])}a.isPersistent=function(){return!0},a.updateData=function(e){var t=this,n=t.group,i=t._lineData;t._lineData=e,i||n.removeAll();var r=c(e);e.diff(i).add((function(n){s(t,e,n,r)})).update((function(n,o){l(t,i,e,o,n,r)})).remove((function(e){n.remove(i.getItemGraphicEl(e))})).execute()},a.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},a.incrementalPrepareUpdate=function(e){this._seriesScope=c(e),this._lineData=null,this.group.removeAll()},a.incrementalUpdate=function(e,t){function n(e){e.isGroup||u(e)||(e.incremental=e.useHoverLayer=!0)}for(var i=e.start;i<e.end;i++){var r=t.getItemLayout(i);if(d(r)){var o=new this._ctor(t,i,this._seriesScope);o.traverse(n),this.group.add(o),t.setItemGraphicEl(i,o)}}},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var f=o;e.exports=f},43511:function(e,t,n){var i=n(20594),r=n(78244),o=i.Line.prototype,a=i.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=i.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){this[s(t)?"_buildPathLine":"_buildPathCurve"](e,t)},_buildPathLine:o.buildPath,_buildPathCurve:a.buildPath,pointAt:function(e){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](e)},_pointAtLine:o.pointAt,_pointAtCurve:a.pointAt,tangentAt:function(e){var t=this.shape,n=s(t)?[t.x2-t.x1,t.y2-t.y1]:this._tangentAtCurve(e);return r.normalize(n,n)},_tangentAtCurve:a.tangentAt});e.exports=l},7446:function(e,t,n){var i=n(20594),r=n(63122);function o(e,t,n){i.Group.call(this),this._createPolyline(e,t,n)}var a=o.prototype;a._createPolyline=function(e,t,n){var r=e.getItemLayout(t),o=new i.Polyline({shape:{points:r}});this.add(o),this._updateCommonStl(e,t,n)},a.updateData=function(e,t,n){var r=e.hostModel,o=this.childAt(0),a={shape:{points:e.getItemLayout(t)}};i.updateProps(o,a,r,t),this._updateCommonStl(e,t,n)},a._updateCommonStl=function(e,t,n){var o=this.childAt(0),a=e.getItemModel(t),s=e.getItemVisual(t,"color"),l=n&&n.lineStyle,u=n&&n.hoverLineStyle;n&&!e.hasItemOption||(l=a.getModel("lineStyle").getLineStyle(),u=a.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),o.hoverStyle=u,i.setHoverStyle(this)},a.updateLayout=function(e,t){var n=this.childAt(0);n.setShape("points",e.getItemLayout(t))},r.inherits(o,i.Group);var s=o;e.exports=s},1223:function(e,t,n){var i=n(63122),r=n(84682),o=r.createSymbol,a=n(20594),s=n(43789),l=s.parsePercent,u=n(95860),c=u.getDefaultLabel;function h(e,t,n){a.Group.call(this),this.updateData(e,t,n)}var d=h.prototype,f=h.getSymbolSize=function(e,t){var n=e.getItemVisual(t,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function p(e){return[e[0]/2,e[1]/2]}function g(e,t){this.parent.drift(e,t)}d._createSymbol=function(e,t,n,i,r){this.removeAll();var a=t.getItemVisual(n,"color"),s=o(e,-1,-1,2,2,a,r);s.attr({z2:100,culling:!0,scale:p(i)}),s.drift=g,this._symbolType=e,this.add(s)},d.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},d.getSymbolPath=function(){return this.childAt(0)},d.getScale=function(){return this.childAt(0).scale},d.highlight=function(){this.childAt(0).trigger("emphasis")},d.downplay=function(){this.childAt(0).trigger("normal")},d.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},d.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":t.cursor},d.updateData=function(e,t,n){this.silent=!1;var i=e.getItemVisual(t,"symbol")||"circle",r=e.hostModel,o=f(e,t),s=i!==this._symbolType;if(s){var l=e.getItemVisual(t,"symbolKeepAspect");this._createSymbol(i,e,t,o,l)}else{var u=this.childAt(0);u.silent=!1,a.updateProps(u,{scale:p(o)},r,t)}if(this._updateCommon(e,t,o,n),s){u=this.childAt(0);var c=n&&n.fadeIn,h={scale:u.scale.slice()};c&&(h.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),a.initProps(u,h,r,t)}this._seriesModel=r};var m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],b=["emphasis","label"];function x(e,t){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===t){var n=this.__symbolOriginalScale,i=n[1]/n[0],r={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*i)]};this.animateTo(r,400,"elasticOut")}else"normal"===t&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}d._updateCommon=function(e,t,n,r){var o=this.childAt(0),s=e.hostModel,u=e.getItemVisual(t,"color");"image"!==o.type?o.useStyle({strokeNoScale:!0}):o.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var h=r&&r.itemStyle,d=r&&r.hoverItemStyle,f=r&&r.symbolOffset,g=r&&r.labelModel,_=r&&r.hoverLabelModel,w=r&&r.hoverAnimation,C=r&&r.cursorStyle;if(!r||e.hasItemOption){var S=r&&r.itemModel?r.itemModel:e.getItemModel(t);h=S.getModel(m).getItemStyle(["color"]),d=S.getModel(v).getItemStyle(),f=S.getShallow("symbolOffset"),g=S.getModel(y),_=S.getModel(b),w=S.getShallow("hoverAnimation"),C=S.getShallow("cursor")}else d=i.extend({},d);var k=o.style,M=e.getItemVisual(t,"symbolRotate");o.attr("rotation",(M||0)*Math.PI/180||0),f&&o.attr("position",[l(f[0],n[0]),l(f[1],n[1])]),C&&o.attr("cursor",C),o.setColor(u,r&&r.symbolInnerColor),o.setStyle(h);var T=e.getItemVisual(t,"opacity");null!=T&&(k.opacity=T);var E=e.getItemVisual(t,"liftZ"),D=o.__z2Origin;null!=E?null==D&&(o.__z2Origin=o.z2,o.z2+=E):null!=D&&(o.z2=D,o.__z2Origin=null);var P=r&&r.useNameLabel;function O(t,n){return P?e.getName(t):c(e,t)}a.setLabelStyle(k,d,g,_,{labelFetcher:s,labelDataIndex:t,defaultText:O,isRectText:!0,autoColor:u}),o.__symbolOriginalScale=p(n),o.hoverStyle=d,o.highDownOnUpdate=w&&s.isAnimationEnabled()?x:null,a.setHoverStyle(o)},d.fadeOut=function(e,t){var n=this.childAt(0);this.silent=n.silent=!0,(!t||!t.keepLabel)&&(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,e)},i.inherits(h,a.Group);var _=h;e.exports=_},91151:function(e,t,n){var i=n(20594),r=n(1223),o=n(63122),a=o.isObject;function s(e){this.group=new i.Group,this._symbolCtor=e||r}var l=s.prototype;function u(e,t,n,i){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function c(e){return null==e||a(e)||(e={isIgnore:e}),e||{}}function h(e){var t=e.hostModel;return{itemStyle:t.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:t.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label"),cursorStyle:t.get("cursor")}}l.updateData=function(e,t){t=c(t);var n=this.group,r=e.hostModel,o=this._data,a=this._symbolCtor,s=h(e);o||n.removeAll(),e.diff(o).add((function(i){var r=e.getItemLayout(i);if(u(e,r,i,t)){var o=new a(e,i,s);o.attr("position",r),e.setItemGraphicEl(i,o),n.add(o)}})).update((function(l,c){var h=o.getItemGraphicEl(c),d=e.getItemLayout(l);u(e,d,l,t)?(h?(h.updateData(e,l,s),i.updateProps(h,{position:d},r)):(h=new a(e,l),h.attr("position",d)),n.add(h),e.setItemGraphicEl(l,h)):n.remove(h)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}))})).execute(),this._data=e},l.isPersistent=function(){return!0},l.updateLayout=function(){var e=this._data;e&&e.eachItemGraphicEl((function(t,n){var i=e.getItemLayout(n);t.attr("position",i)}))},l.incrementalPrepareUpdate=function(e){this._seriesScope=h(e),this._data=null,this.group.removeAll()},l.incrementalUpdate=function(e,t,n){function i(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}n=c(n);for(var r=e.start;r<e.end;r++){var o=t.getItemLayout(r);if(u(t,o,r,n)){var a=new this._symbolCtor(t,r,this._seriesScope);a.traverse(i),a.attr("position",o),this.group.add(a),t.setItemGraphicEl(r,a)}}},l.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}))})):t.removeAll()};var d=s;e.exports=d},44617:function(e,t,n){var i=n(20594),r=n(43789),o=r.round;function a(e,t,n){var r=e.getArea(),o=e.getBaseAxis().isHorizontal(),a=r.x,s=r.y,l=r.width,u=r.height,c=n.get("lineStyle.width")||2;a-=c/2,s-=c/2,l+=c,u+=c,a=Math.floor(a),l=Math.round(l);var h=new i.Rect({shape:{x:a,y:s,width:l,height:u}});return t&&(h.shape[o?"width":"height"]=0,i.initProps(h,{shape:{width:l,height:u}},n)),h}function s(e,t,n){var r=e.getArea(),a=new i.Sector({shape:{cx:o(e.cx,1),cy:o(e.cy,1),r0:o(r.r0,1),r:o(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return t&&(a.shape.endAngle=r.startAngle,i.initProps(a,{shape:{endAngle:r.endAngle}},n)),a}function l(e,t,n){return e?"polar"===e.type?s(e,t,n):"cartesian2d"===e.type?a(e,t,n):null:null}t.createGridClipPath=a,t.createPolarClipPath=s,t.createClipPath=l},66733:function(e,t,n){n(57658);var i=n(63122),r=n(56669),o=n(575),a=n(4229),s=n(44048),l=n(99966),u=n(10140);function c(e,t,n,c,h){for(var d=new o(c),f=0;f<e.length;f++)d.addNode(i.retrieve(e[f].id,e[f].name,f),f);var p=[],g=[],m=0;for(f=0;f<t.length;f++){var v=t[f],y=v.source,b=v.target;d.addEdge(y,b,m)&&(g.push(v),p.push(i.retrieve(v.id,y+" > "+b)),m++)}var x,_=n.get("coordinateSystem");if("cartesian2d"===_||"polar"===_)x=u(e,n);else{var w=l.get(_),C=w&&"view"!==w.type&&w.dimensions||[];i.indexOf(C,"value")<0&&C.concat(["value"]);var S=s(e,{coordDimensions:C});x=new r(S,n),x.initData(e)}var k=new r(["value"],n);return k.initData(g,p),h&&h(x,k),a({mainData:x,struct:d,structAttr:"graph",datas:{node:x,edge:k},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}e.exports=c},10140:function(e,t,n){var i=n(63122),r=n(56669),o=n(44048),a=n(28103),s=a.SOURCE_FORMAT_ORIGINAL,l=n(73678),u=l.getDimensionTypeByAxis,c=n(46458),h=c.getDataItemValue,d=n(99966),f=n(89577),p=f.getCoordSysInfoBySeries,g=n(27036),m=n(60291),v=m.enableDataStack,y=n(2240),b=y.makeSeriesEncodeForAxisCoordSys;function x(e,t,n){n=n||{},g.isInstance(e)||(e=g.seriesDataToSource(e));var a,s=t.get("coordinateSystem"),l=d.get(s),c=p(t);c&&(a=i.map(c.coordSysDims,(function(e){var t={name:e},n=c.axisMap.get(e);if(n){var i=n.get("type");t.type=u(i)}return t}))),a||(a=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var h,f,m=o(e,{coordDimensions:a,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?i.curry(b,a,t):null});c&&i.each(m,(function(e,t){var n=e.coordDim,i=c.categoryAxisMap.get(n);i&&(null==h&&(h=t),e.ordinalMeta=i.getOrdinalMeta()),null!=e.otherDims.itemName&&(f=!0)})),f||null==h||(m[h].otherDims.itemName=0);var y=v(t,m),x=new r(m,t);x.setCalculationInfo(y);var w=null!=h&&_(e)?function(e,t,n,i){return i===h?n:this.defaultDimValueGetter(e,t,n,i)}:null;return x.hasItemOption=!1,x.initData(e,null,w),x}function _(e){if(e.sourceFormat===s){var t=w(e.data||[]);return null!=t&&!i.isArray(h(t))}}function w(e){var t=0;while(t<e.length&&null==e[t])t++;return e[t]}var C=x;e.exports=C},94033:function(e,t,n){var i=n(44048),r=n(56669),o=n(63122),a=o.extend,s=o.isArray;function l(e,t,n){t=s(t)&&{coordDimensions:t}||a({},t);var o=e.getSource(),l=i(o,t),u=new r(l,e);return u.initData(o,n),u}e.exports=l},5491:function(e,t,n){var i=n(46458),r=i.makeInner;function o(){var e=r();return function(t){var n=e(t),i=t.pipelineContext,r=n.large,o=n.progressiveRender,a=n.large=i&&i.large,s=n.progressiveRender=i&&i.progressiveRender;return!!(r^a||o^s)&&"reset"}}e.exports=o},10080:function(e,t,n){var i=n(39405);i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},95860:function(e,t,n){n(57658);var i=n(55213),r=i.retrieveRawValue;function o(e,t){var n=e.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return r(e,t,n[0]);if(i){for(var o=[],a=0;a<n.length;a++){var s=r(e,t,n[a]);o.push(s)}return o.join(" ")}}t.getDefaultLabel=o},57496:function(e,t,n){n(57658);var i=n(63122),r="--\x3e",o=function(e){return e.get("autoCurveness")||null},a=function(e,t){var n=o(e),r=20,a=[];if("number"===typeof n)r=n;else if(i.isArray(n))return void(e.__curvenessList=n);t>r&&(r=t);var s=r%2?r+2:r+3;a=[];for(var l=0;l<s;l++)a.push((l%2?l+1:l)/10*(l%2?-1:1));e.__curvenessList=a},s=function(e,t,n){var i=[e.id,e.dataIndex].join("."),o=[t.id,t.dataIndex].join(".");return[n.uid,i,o].join(r)},l=function(e){var t=e.split(r);return[t[0],t[2],t[1]].join(r)},u=function(e,t){var n=s(e.node1,e.node2,t);return t.__edgeMap[n]},c=function(e,t){var n=h(s(e.node1,e.node2,t),t),i=h(s(e.node2,e.node1,t),t);return n+i},h=function(e,t){var n=t.__edgeMap;return n[e]?n[e].length:0};function d(e){o(e)&&(e.__curvenessList=[],e.__edgeMap={},a(e))}function f(e,t,n,i){if(o(n)){var r=s(e,t,n),a=n.__edgeMap,u=a[l(r)];a[r]&&!u?a[r].isForward=!0:u&&a[r]&&(u.isForward=!0,a[r].isForward=!1),a[r]=a[r]||[],a[r].push(i)}}function p(e,t,n,r){var d=o(t),f=i.isArray(d);if(!d)return null;var p=u(e,t);if(!p)return null;for(var g=-1,m=0;m<p.length;m++)if(p[m]===n){g=m;break}var v=c(e,t);a(t,v),e.lineStyle=e.lineStyle||{};var y=s(e.node1,e.node2,t),b=t.__curvenessList,x=f||v%2?0:1;if(p.isForward)return b[x+g];var _=l(y),w=h(_,t),C=b[g+w+x];return r?f?d&&0===d[0]?(w+x)%2?C:-C:((w%2?0:1)+x)%2?C:-C:(w+x)%2?C:-C:b[g+w+x]}t.initCurvenessList=d,t.createEdgeMapForCurveness=f,t.getCurvenessForEdge=p},45536:function(e,t,n){n(57658);var i=n(63122);function r(e,t,n){if(e&&i.indexOf(t,e.type)>=0){var r=n.getData().tree.root,o=e.targetNode;if("string"===typeof o&&(o=r.getNodeById(o)),o&&r.contains(o))return{node:o};var a=e.targetNodeId;if(null!=a&&(o=r.getNodeById(a)))return{node:o}}}function o(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function a(e,t){var n=o(e);return i.indexOf(n,t)>=0}function s(e,t){var n=[];while(e){var i=e.dataIndex;n.push({name:e.name,dataIndex:i,value:t.getRawValue(i)}),e=e.parentNode}return n.reverse(),n}t.retrieveTargetInfo=r,t.getPathToRoot=o,t.aboveViewRoot=a,t.wrapTreePathInfo=s},49416:function(e,t,n){n(57658);var i=n(94033),r=n(63122),o=n(73678),a=o.getDimensionTypeByAxis,s=n(2240),l=s.makeSeriesEncodeForAxisCoordSys,u={_baseAxisDim:null,getInitialData:function(e,t){var n,o,s=t.getComponent("xAxis",this.get("xAxisIndex")),u=t.getComponent("yAxis",this.get("yAxisIndex")),c=s.get("type"),h=u.get("type");"category"===c?(e.layout="horizontal",n=s.getOrdinalMeta(),o=!0):"category"===h?(e.layout="vertical",n=u.getOrdinalMeta(),o=!0):e.layout=e.layout||"horizontal";var d=["x","y"],f="horizontal"===e.layout?0:1,p=this._baseAxisDim=d[f],g=d[1-f],m=[s,u],v=m[f].get("type"),y=m[1-f].get("type"),b=e.data;if(b&&o){var x=[];r.each(b,(function(e,t){var n;e.value&&r.isArray(e.value)?(n=e.value.slice(),e.value.unshift(t)):r.isArray(e)?(n=e.slice(),e.unshift(t)):n=e,x.push(n)})),e.data=x}var _=this.defaultValueDimensions,w=[{name:p,type:a(v),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:a(y),dimsDef:_.slice()}];return i(this,{coordDimensions:w,dimensionsCount:_.length+1,encodeDefaulter:r.curry(l,w,this)})},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}};t.seriesModelMixin=u},44440:function(e,t,n){var i=n(39405);n(97772),n(17124);var r=n(74186),o=n(83960),a=n(74089);n(62093),i.registerVisual(r("line","circle","line")),i.registerLayout(o("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,a("line"))},97772:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(10140)),o=n(48154),a=o.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return r(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});e.exports=a},17124:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=n(9787),a=o.fromPoints,s=n(91151),l=n(1223),u=n(12369),c=n(20594),h=n(46458),d=n(8433),f=d.Polyline,p=d.Polygon,g=n(65120),m=n(62580),v=m.prepareDataCoordInfo,y=m.getStackedOnPoint,b=n(44617),x=b.createGridClipPath,_=b.createPolarClipPath;function w(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++){var i=e[n],r=t[n];if(i[0]!==r[0]||i[1]!==r[1])return}return!0}}function C(e,t){var n=[],i=[],r=[],o=[];return a(e,n,i),a(t,r,o),Math.max(Math.abs(n[0]-r[0]),Math.abs(n[1]-r[1]),Math.abs(i[0]-o[0]),Math.abs(i[1]-o[1]))}function S(e){return"number"===typeof e?e:e?.5:0}function k(e,t,n){if(!n.valueDim)return[];for(var i=[],r=0,o=t.count();r<o;r++)i.push(y(n,e,t,r));return i}function M(e,t,n){for(var i=t.getBaseAxis(),r="x"===i.dim||"radius"===i.dim?0:1,o=[],a=0;a<e.length-1;a++){var s=e[a+1],l=e[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 e[a]&&o.push(e[a]),o}function T(e,t){var n=e.getVisual("visualMeta");if(n&&n.length&&e.count()&&"cartesian2d"===t.type){for(var i,o,a=n.length-1;a>=0;a--){var s=n[a].dimension,l=e.dimensions[s],u=e.getDimensionInfo(l);if(i=u&&u.coordDim,"x"===i||"y"===i){o=n[a];break}}if(o){var h=t.getAxis(i),d=r.map(o.stops,(function(e){return{coord:h.toGlobalCoord(h.dataToCoord(e.value)),color:e.color}})),f=d.length,p=o.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=10,m=d[0].coord-g,v=d[f-1].coord+g,y=v-m;if(y<.001)return"transparent";r.each(d,(function(e){e.offset=(e.coord-m)/y})),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var b=new c.LinearGradient(0,0,0,0,d,!0);return b[i]=m,b[i+"2"]=v,b}}}function E(e,t,n){var i=e.get("showAllSymbol"),o="auto"===i;if(!i||o){var a=n.getAxesByScale("ordinal")[0];if(a&&(!o||!D(a,t))){var s=t.mapDimension(a.dim),l={};return r.each(a.getViewLabels(),(function(e){l[e.tickValue]=1})),function(e){return!l.hasOwnProperty(t.get(s,e))}}}}function D(e,t){var n=e.getExtent(),i=Math.abs(n[1]-n[0])/e.scale.count();isNaN(i)&&(i=0);for(var r=t.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*l.getSymbolSize(t,a)[e.isHorizontal()?1:0]>i)return!1;return!0}function P(e,t,n){if("cartesian2d"===e.type){var i=e.getBaseAxis().isHorizontal(),r=x(e,t,n);if(!n.get("clip",!0)){var o=r.shape,a=Math.max(o.width,o.height);i?(o.y-=a,o.height+=2*a):(o.x-=a,o.width+=2*a)}return r}return _(e,t,n)}var O=g.extend({type:"line",init:function(){var e=new c.Group,t=new s;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var i=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),u=a.mapArray(a.getItemLayout),c="polar"===i.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,m=e.get("animation"),y=!l.isEmpty(),b=l.get("origin"),x=v(i,a,b),_=k(i,a,x),C=e.get("showSymbol"),D=C&&!c&&E(e,a,i),O=this._data;O&&O.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),O.setItemGraphicEl(t,null))})),C||d.remove(),o.add(g);var I,A=!c&&e.get("step");i&&i.getArea&&e.get("clip",!0)&&(I=i.getArea(),null!=I.width?(I.x-=.1,I.y-=.1,I.width+=.2,I.height+=.2):I.r0&&(I.r0-=.5,I.r1+=.5)),this._clipShapeForSymbol=I,f&&h.type===i.type&&A===this._step?(y&&!p?p=this._newPolygon(u,_,i,m):p&&!y&&(g.remove(p),p=this._polygon=null),g.setClipPath(P(i,!1,e)),C&&d.updateData(a,{isIgnore:D,clipShape:I}),a.eachItemGraphicEl((function(e){e.stopAnimation(!0)})),w(this._stackedOnPoints,_)&&w(this._points,u)||(m?this._updateAnimation(a,_,i,n,A,b):(A&&(u=M(u,i,A),_=M(_,i,A)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:_})))):(C&&d.updateData(a,{isIgnore:D,clipShape:I}),A&&(u=M(u,i,A),_=M(_,i,A)),f=this._newPolyline(u,i,m),y&&(p=this._newPolygon(u,_,i,m)),g.setClipPath(P(i,!0,e)));var L=T(a,i)||a.getVisual("color");f.useStyle(r.defaults(s.getLineStyle(),{fill:"none",stroke:L,lineJoin:"bevel"}));var N=e.get("smooth");if(N=S(e.get("smooth")),f.setShape({smooth:N,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),p){var R=a.getCalculationInfo("stackedOnSeries"),z=0;p.useStyle(r.defaults(l.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel"})),R&&(z=S(R.get("smooth"))),p.setShape({smooth:N,stackedOnSmooth:z,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=a,this._coordSys=i,this._stackedOnPoints=_,this._points=u,this._step=A,this._valueOrigin=b},dispose:function(){},highlight:function(e,t,n,i){var r=e.getData(),o=h.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;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;a=new l(r,o),a.position=s,a.setZ(e.get("zlevel"),e.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 g.prototype.highlight.call(this,e,t,n,i)},downplay:function(e,t,n,i){var r=e.getData(),o=h.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 g.prototype.downplay.call(this,e,t,n,i)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new f({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new p({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(e,t,n,i,r,o){var a=this._polyline,s=this._polygon,l=e.hostModel,h=u(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,o),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;if(r&&(d=M(h.current,n,r),f=M(h.stackedOnCurrent,n,r),p=M(h.next,n,r),g=M(h.stackedOnNext,n,r)),C(d,p)>3e3||s&&C(f,g)>3e3)return a.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:g}));a.shape.__points=h.current,a.shape.points=d,c.updateProps(a,{shape:{points:p}},l),s&&(s.setShape({points:d,stackedOnPoints:f}),c.updateProps(s,{shape:{points:p,stackedOnPoints:g}},l));for(var m=[],v=h.status,y=0;y<v.length;y++){var b=v[y].cmd;if("="===b){var x=e.getItemGraphicEl(v[y].idx1);x&&m.push({el:x,ptIdx:y})}}a.animators&&a.animators.length&&a.animators[0].during((function(){for(var e=0;e<m.length;e++){var t=m[e].el;t.attr("position",a.shape.__points[m[e].ptIdx])}}))},remove:function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,i){e.__temp&&(t.remove(e),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});e.exports=O},62580:function(e,t,n){var i=n(60291),r=i.isDimensionStacked,o=n(63122),a=o.map;function s(e,t,n){var i,o=e.getBaseAxis(),s=e.getOtherAxis(o),u=l(s,n),c=o.dim,h=s.dim,d=t.mapDimension(h),f=t.mapDimension(c),p="x"===h||"radius"===h?1:0,g=a(e.dimensions,(function(e){return t.mapDimension(e)})),m=t.getCalculationInfo("stackResultDimension");return(i|=r(t,g[0]))&&(g[0]=m),(i|=r(t,g[1]))&&(g[1]=m),{dataDimsForPoint:g,valueStart:u,valueAxisDim:h,baseAxisDim:c,stacked:!!i,valueDim:d,baseDim:f,baseDataOffset:p,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function l(e,t){var n=0,i=e.scale.getExtent();return"start"===t?n=i[0]:"end"===t?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}function u(e,t,n,i){var r=NaN;e.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,i),a[1-o]=r,t.dataToPoint(a)}t.prepareDataCoordInfo=s,t.getStackedOnPoint=u},12369:function(e,t,n){n(57658);var i=n(62580),r=i.prepareDataCoordInfo,o=i.getStackedOnPoint;function a(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}function s(e,t,n,i,s,l,u,c){for(var h=a(e,t),d=[],f=[],p=[],g=[],m=[],v=[],y=[],b=r(s,t,u),x=r(l,e,c),_=0;_<h.length;_++){var w=h[_],C=!0;switch(w.cmd){case"=":var S=e.getItemLayout(w.idx),k=t.getItemLayout(w.idx1);(isNaN(S[0])||isNaN(S[1]))&&(S=k.slice()),d.push(S),f.push(k),p.push(n[w.idx]),g.push(i[w.idx1]),y.push(t.getRawIndex(w.idx1));break;case"+":var M=w.idx;d.push(s.dataToPoint([t.get(b.dataDimsForPoint[0],M),t.get(b.dataDimsForPoint[1],M)])),f.push(t.getItemLayout(M).slice()),p.push(o(b,s,t,M)),g.push(i[M]),y.push(t.getRawIndex(M));break;case"-":M=w.idx;var T=e.getRawIndex(M);T!==M?(d.push(e.getItemLayout(M)),f.push(l.dataToPoint([e.get(x.dataDimsForPoint[0],M),e.get(x.dataDimsForPoint[1],M)])),p.push(n[M]),g.push(o(x,l,e,M)),y.push(T)):C=!1}C&&(m.push(w),v.push(v.length))}v.sort((function(e,t){return y[e]-y[t]}));var E=[],D=[],P=[],O=[],I=[];for(_=0;_<v.length;_++){M=v[_];E[_]=d[M],D[_]=f[M],P[_]=p[M],O[_]=g[M],I[_]=m[M]}return{current:E,next:D,stackedOnCurrent:P,stackedOnNext:O,status:I}}e.exports=s},8433:function(e,t,n){var i=n(73477),r=n(78244),o=n(73515),a=r.min,s=r.max,l=r.scaleAndAdd,u=r.copy,c=[],h=[],d=[];function f(e){return isNaN(e[0])||isNaN(e[1])}function p(e,t,n,i,r,o,a,s,l,u,c){return"none"!==u&&u?g.apply(this,arguments):m.apply(this,arguments)}function g(e,t,n,i,r,o,a,s,l,c,p){for(var g=0,m=n,v=0;v<i;v++){var y=t[m];if(m>=r||m<0)break;if(f(y)){if(p){m+=o;continue}break}if(m===n)e[o>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var b=t[g],x="y"===c?1:0,_=(y[x]-b[x])*l;u(h,b),h[x]=b[x]+_,u(d,y),d[x]=y[x]-_,e.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else e.lineTo(y[0],y[1]);g=m,m+=o}return v}function m(e,t,n,i,o,p,g,m,v,y,b){for(var x=0,_=n,w=0;w<i;w++){var C=t[_];if(_>=o||_<0)break;if(f(C)){if(b){_+=p;continue}break}if(_===n)e[p>0?"moveTo":"lineTo"](C[0],C[1]),u(h,C);else if(v>0){var S=_+p,k=t[S];if(b)while(k&&f(t[S]))S+=p,k=t[S];var M=.5,T=t[x];k=t[S];if(!k||f(k))u(d,C);else{var E,D;if(f(k)&&!b&&(k=C),r.sub(c,k,T),"x"===y||"y"===y){var P="x"===y?0:1;E=Math.abs(C[P]-T[P]),D=Math.abs(C[P]-k[P])}else E=r.dist(C,T),D=r.dist(C,k);M=D/(D+E),l(d,C,c,-v*(1-M))}a(h,h,m),s(h,h,g),a(d,d,m),s(d,d,g),e.bezierCurveTo(h[0],h[1],d[0],d[1],C[0],C[1]),l(h,C,c,v*M)}else e.lineTo(C[0],C[1]);x=_,_+=p}return w}function v(e,t){var n=[1/0,1/0],i=[-1/0,-1/0];if(t)for(var r=0;r<e.length;r++){var o=e[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:t?n:i,max:t?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(i.prototype.brush),buildPath:function(e,t){var n=t.points,i=0,r=n.length,o=v(n,t.smoothConstraint);if(t.connectNulls){for(;r>0;r--)if(!f(n[r-1]))break;for(;i<r;i++)if(!f(n[i]))break}while(i<r)i+=p(e,n,i,r,r,1,o.min,o.max,t.smooth,t.smoothMonotone,t.connectNulls)+1}}),b=i.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:o(i.prototype.brush),buildPath:function(e,t){var n=t.points,i=t.stackedOnPoints,r=0,o=n.length,a=t.smoothMonotone,s=v(n,t.smoothConstraint),l=v(i,t.smoothConstraint);if(t.connectNulls){for(;o>0;o--)if(!f(n[o-1]))break;for(;r<o;r++)if(!f(n[r]))break}while(r<o){var u=p(e,n,r,o,o,1,s.min,s.max,t.smooth,a,t.connectNulls);p(e,i,r+u-1,u,o,-1,l.min,l.max,t.stackedOnSmooth,a,t.connectNulls),r+=u+1,e.closePath()}}});t.Polyline=y,t.Polygon=b},60919:function(e,t,n){var i=n(39405);n(17445),n(8941);var r=n(46634),o=n(84699);i.registerLayout(r),i.registerVisual(o)},17445:function(e,t,n){n(1439),n(87585),n(55315),n(57658);var i=n(49648),r=(i.__DEV__,n(48154)),o=n(56669),a=n(63122),s=a.concatArray,l=a.mergeAll,u=a.map,c=n(18906),h=c.encodeHTML,d=(n(99966),"undefined"===typeof Uint32Array?Array:Uint32Array),f="undefined"===typeof Float64Array?Array:Float64Array;function p(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=u(t,(function(e){var t=[e[0].coord,e[1].coord],n={coords:t};return e[0].name&&(n.fromName=e[0].name),e[1].name&&(n.toName=e[1].name),l([n,e[0],e[1]])})))}var g=r.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(e){e.data=e.data||[],p(e);var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),g.superApply(this,"init",arguments)},mergeOption:function(e){if(p(e),e.data){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count))}g.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,t.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e),n=t.option instanceof Array?t.option:t.getShallow("coords");return n},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],i=this._flatCoordsOffset[2*e+1],r=0;r<i;r++)t[r]=t[r]||[],t[r][0]=this._flatCoords[n+2*r],t[r][1]=this._flatCoords[n+2*r+1];return i}var o=this._getCoordsFromItemModel(e);for(r=0;r<o.length;r++)t[r]=t[r]||[],t[r][0]=o[r][0],t[r][1]=o[r][1];return o.length},_processFlatCoordsArray:function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),"number"===typeof e[0]){for(var n=e.length,i=new d(n),r=new f(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=e[l++];i[a++]=o+t,i[a++]=u;for(var c=0;c<u;c++){var h=e[l++],p=e[l++];r[o++]=h,r[o++]=p}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},getInitialData:function(e,t){var n=new o(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,i,r){if(e instanceof Array)return NaN;n.hasItemOption=!0;var o=e.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},formatTooltip:function(e){var t=this.getData(),n=t.getItemModel(e),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),h(a.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),m=g;e.exports=m},8941:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(39405)),o=n(85803),a=n(9010),s=n(35007),l=n(7446),u=n(56193),c=n(50505),h=n(46634),d=n(44617),f=d.createClipPath,p=r.extendChartView({type:"lines",init:function(){},render:function(e,t,n){var i=e.getData(),r=this._updateLineDraw(i,e),o=e.get("zlevel"),a=e.get("effect.trailLength"),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=e.get("clip",!0)&&f(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(e,t,n){var i=e.getData(),r=this._updateLineDraw(i,e);r.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var i=e.getData(),r=e.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=h.reset(e);o.progress&&o.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(e,t){var n=this._lineDraw,i=this._showEffect(t),r=!!t.get("polyline"),h=t.pipelineContext,d=h.large;return n&&i===this._hasEffet&&r===this._isPolyline&&d===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=d?new c:new o(r?i?u:l:i?a:s),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=d,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(e){return!!e.get("effect.show")},_clearLayer:function(e){var t=e.getZr(),n="svg"===t.painter.getType();n||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});e.exports=p},46634:function(e,t,n){n(1439),n(87585),n(55315),n(57658);var i=n(5491),r={seriesType:"lines",plan:i(),reset:function(e){var t=e.coordinateSystem,n=e.get("polyline"),i=e.pipelineContext.large;function r(r,o){var a=[];if(i){var s,l=r.end-r.start;if(n){for(var u=0,c=r.start;c<r.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,d=[];for(c=r.start;c<r.end;c++){var f=e.getLineCoords(c,a);n&&(s[h++]=f);for(var p=0;p<f;p++)d=t.dataToPoint(a[p],!1,d),s[h++]=d[0],s[h++]=d[1]}o.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var g=o.getItemModel(c),m=(f=e.getLineCoords(c,a),[]);if(n)for(var v=0;v<f;v++)m.push(t.dataToPoint(a[v]));else{m[0]=t.dataToPoint(a[0]),m[1]=t.dataToPoint(a[1]);var y=g.get("lineStyle.curveness");+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}o.setItemLayout(c,m)}}return{progress:r}}};e.exports=r},84699:function(e){function t(e){return e instanceof Array||(e=[e,e]),e}var n="lineStyle.opacity".split("."),i={seriesType:"lines",reset:function(e,i,r){var o=t(e.get("symbol")),a=t(e.get("symbolSize")),s=e.getData();function l(e,i){var r=e.getItemModel(i),o=t(r.getShallow("symbol",!0)),a=t(r.getShallow("symbolSize",!0)),s=r.get(n);o[0]&&e.setItemVisual(i,"fromSymbol",o[0]),o[1]&&e.setItemVisual(i,"toSymbol",o[1]),a[0]&&e.setItemVisual(i,"fromSymbolSize",a[0]),a[1]&&e.setItemVisual(i,"toSymbolSize",a[1]),e.setItemVisual(i,"opacity",s)}return s.setVisual("fromSymbol",o&&o[0]),s.setVisual("toSymbol",o&&o[1]),s.setVisual("fromSymbolSize",a&&a[0]),s.setVisual("toSymbolSize",a&&a[1]),s.setVisual("opacity",e.get(n)),{dataEach:s.hasItemOption?l:null}}};e.exports=i},77763:function(e,t,n){var i=n(39405);n(84626),n(15276),n(78902),n(19033);var r=n(41461),o=n(73242),a=n(76934),s=n(46351),l=n(62002);i.registerLayout(r),i.registerVisual(o),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,a),i.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},84626:function(e,t,n){n(57658);var i=n(63122),r=n(94033),o=n(48154),a=n(18906),s=a.encodeHTML,l=a.addCommas,u=n(22717),c=n(55213),h=c.retrieveRawAttr,d=n(82038),f=n(2240),p=f.makeSeriesEncodeForNameBased,g=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=r(this,{coordDimensions:["value"],encodeDefaulter:i.curry(p,this)}),n=t.mapDimension("value"),o=i.createHashMap(),a=[],s=[],l=0,u=t.count();l<u;l++){var c=t.getName(l);o.set(c,!0),a.push({name:c,value:t.get(n,l),selected:h(t,l,"selected")})}var f=d.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return i.each(f.regions,(function(e){var t=e.name;o.get(t)||(a.push({name:t}),s.push(t))})),this.updateSelectedMap(a),t.appendValues([],s),t},getHostGeoModel:function(){var e=this.option.geoIndex;return null!=e?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},getRegionModel:function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},formatTooltip:function(e,t,n,i){for(var r=this.getData(),o=l(this.getRawValue(e)),a=r.getName(e),u=this.seriesGroup,c=[],h=0;h<u.length;h++){var d=u[h].originalData.indexOfName(a),f=r.mapDimension("value");isNaN(u[h].originalData.get(f,d))||c.push(s(u[h].name))}var p="html"===i?"<br/>":"\n";return c.join(", ")+p+s(a+" : "+o)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,i=n.getRegion(t);return i&&n.dataToPoint(i.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});i.mixin(g,u);var m=g;e.exports=m},15276:function(e,t,n){var i=n(39405),r=n(63122),o=n(20594),a=n(39482),s="__seriesMapHighDown",l="__seriesMapCallKey",u=i.extendChartView({type:"map",render:function(e,t,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!e.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===e.id){o=this._mapDraw;o&&r.add(o.group)}else if(e.needsDrawMap){var o=this._mapDraw||new a(n,!0);r.add(o.group),o.draw(e,t,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,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(e,t,n){var i=e.originalData,a=this.group;i.each(i.mapDimension("value"),(function(t,n){if(!isNaN(t)){var u=i.getItemLayout(n);if(u&&u.point){var d=u.point,f=u.offset,p=new o.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:d[0]+9*f,cy:d[1],r:3},silent:!0,z2:8+(f?0:o.Z2_EMPHASIS_LIFT+1)});if(!f){var g=e.mainSeries.getData(),m=i.getName(n),v=g.indexOfName(m),y=i.getItemModel(n),b=y.getModel("label"),x=y.getModel("emphasis.label"),_=g.getItemGraphicEl(v),w=r.retrieve2(e.getFormattedLabel(v,"normal"),m),C=r.retrieve2(e.getFormattedLabel(v,"emphasis"),w),S=_[s],k=Math.random();if(!S){S=_[s]={};var M=r.curry(c,!0),T=r.curry(c,!1);_.on("mouseover",M).on("mouseout",T).on("emphasis",M).on("normal",T)}_[l]=k,r.extend(S,{recordVersion:k,circle:p,labelModel:b,hoverLabelModel:x,emphasisText:C,normalText:w}),h(S,!1)}a.add(p)}}}))}});function c(e){var t=this[s];t&&t.recordVersion===this[l]&&h(t,e)}function h(e,t){var n=e.circle,i=e.labelModel,r=e.hoverLabelModel,a=e.emphasisText,s=e.normalText;t?(n.style.extendFrom(o.setTextStyle({},r,{text:r.get("show")?a:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=o.Z2_EMPHASIS_LIFT):(o.setTextStyle(n.style,i,{text:i.get("show")?s:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}e.exports=u},46351:function(e,t,n){n(57658);var i=n(63122);function r(e){var t=[];i.each(e.series,(function(e){e&&"map"===e.type&&(t.push(e),e.map=e.map||e.mapType,i.defaults(e,e.mapLocation))}))}e.exports=r},76934:function(e,t,n){n(57658);var i=n(63122);function r(e,t){var n={};return i.each(e,(function(e){e.each(e.mapDimension("value"),(function(t,i){var r="ec-"+e.getName(i);n[r]=n[r]||[],isNaN(t)||n[r].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(i,r){for(var o,a="ec-"+e[0].getName(r),s=0,l=1/0,u=-1/0,c=n[a].length,h=0;h<c;h++)l=Math.min(l,n[a][h]),u=Math.max(u,n[a][h]),s+=n[a][h];return o="min"===t?l:"max"===t?u:"average"===t?s/c:s,0===c?NaN:o}))}function o(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),i=n?"o"+n.id:"i"+e.getMapType();(t[i]=t[i]||[]).push(e)})),i.each(t,(function(e,t){for(var n=r(i.map(e,(function(e){return e.getData()})),e[0].get("mapValueCalculation")),o=0;o<e.length;o++)e[o].originalData=e[o].getData();for(o=0;o<e.length;o++)e[o].seriesGroup=e,e[o].needsDrawMap=0===o&&!e[o].getHostGeoModel(),e[o].setData(n.cloneShallow()),e[o].mainSeries=e[0]}))}e.exports=o},41461:function(e,t,n){var i=n(63122);function r(e){var t={};e.eachSeriesByType("map",(function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!t[r]){var o={};i.each(n.seriesGroup,(function(t){var n=t.coordinateSystem,i=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&i.each(i.mapDimension("value"),(function(e,t){var r=i.getName(t),a=n.getRegion(r);if(a&&!isNaN(e)){var s=o[r]||0,l=n.dataToPoint(a.center);o[r]=s+1,i.setItemLayout(t,{point:l,offset:s})}}))}));var a=n.getData();a.each((function(e){var t=a.getName(e),n=a.getItemLayout(e)||{};n.showLabel=!o[t],a.setItemLayout(e,n)})),t[r]=!0}}))}e.exports=r},73242:function(e){function t(e){e.eachSeriesByType("map",(function(e){var t=e.get("color"),n=e.getModel("itemStyle"),i=n.get("areaColor"),r=n.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:i,color:r})}))}e.exports=t},30011:function(e,t,n){var i=n(39405);n(96117),n(21831),n(52070);var r=n(13554);i.registerVisual(r)},21831:function(e,t,n){n(57658);var i=n(63122),r=i.each,o=i.createHashMap,a=n(48154),s=n(10140),l=a.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(e,t){var n=this.getSource();return u(n,this),s(n,this)},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,n=this.getData(),i=[];return t.eachActiveState(n,(function(t,r){e===t&&i.push(n.getRawIndex(r))})),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function u(e,t){if(!e.encodeDefine){var n=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(n){var i=e.encodeDefine=o();r(n.dimensions,(function(e){var t=c(e);i.set(e,t)}))}}}function c(e){return+e.replace("dim","")}e.exports=l},52070:function(e,t,n){n(57658);var i=n(20594),r=n(65120),o=.3,a=r.extend({type:"parallel",init:function(){this._dataGroup=new i.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,t,n,r){var o=this._dataGroup,a=e.getData(),d=this._data,f=e.coordinateSystem,p=f.dimensions,g=c(e);function m(e){var t=u(a,o,e,p,f);h(t,a,e,g)}function v(t,n){var o=d.getItemGraphicEl(n),s=l(a,t,p,f);a.setItemGraphicEl(t,o);var u=r&&!1===r.animation?null:e;i.updateProps(o,{shape:{points:s}},u,t),h(o,a,t,g)}function y(e){var t=d.getItemGraphicEl(e);o.remove(t)}if(a.diff(d).add(m).update(v).remove(y).execute(),!this._initialized){this._initialized=!0;var b=s(f,e,(function(){setTimeout((function(){o.removeClipPath()}))}));o.setClipPath(b)}this._data=a},incrementalPrepareRender:function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(e,t,n){for(var i=t.getData(),r=t.coordinateSystem,o=r.dimensions,a=c(t),s=e.start;s<e.end;s++){var l=u(i,this._dataGroup,s,o,r);l.incremental=!0,h(l,i,s,a)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function s(e,t,n){var r=e.model,o=e.getRect(),a=new i.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),s="horizontal"===r.get("layout")?"width":"height";return a.setShape(s,0),i.initProps(a,{shape:{width:o.width,height:o.height}},t,n),a}function l(e,t,n,i){for(var r=[],o=0;o<n.length;o++){var a=n[o],s=e.get(e.mapDimension(a),t);d(s,i.getAxis(a).type)||r.push(i.dataToPoint(s,a))}return r}function u(e,t,n,r,o){var a=l(e,n,r,o),s=new i.Polyline({shape:{points:a},silent:!0,z2:10});return t.add(s),e.setItemGraphicEl(n,s),s}function c(e){var t=e.get("smooth",!0);return!0===t&&(t=o),{lineStyle:e.getModel("lineStyle").getLineStyle(),smooth:null!=t?t:o}}function h(e,t,n,i){var r=i.lineStyle;if(t.hasItemOption){var o=t.getItemModel(n).getModel("lineStyle");r=o.getLineStyle()}e.useStyle(r);var a=e.style;a.fill=null,a.stroke=t.getItemVisual(n,"color"),a.opacity=t.getItemVisual(n,"opacity"),i.smooth&&(e.shape.smooth=i.smooth)}function d(e,t){return"category"===t?null==e:null==e||isNaN(e)}var f=a;e.exports=f},13554:function(e){var t=["lineStyle","normal","opacity"],n={seriesType:"parallel",reset:function(e,n,i){var r=e.getModel("itemStyle"),o=e.getModel("lineStyle"),a=n.get("color"),s=o.get("color")||r.get("color")||a[e.seriesIndex%a.length],l=e.get("inactiveOpacity"),u=e.get("activeOpacity"),c=e.getModel("lineStyle").getLineStyle(),h=e.coordinateSystem,d=e.getData(),f={normal:c.opacity,active:u,inactive:l};function p(e,n){h.eachActiveState(n,(function(e,i){var r=f[e];if("normal"===e&&n.hasItemOption){var o=n.getItemModel(i).get(t,!0);null!=o&&(r=o)}n.setItemVisual(i,"opacity",r)}),e.start,e.end)}return d.setVisual("color",s),{progress:p}}};e.exports=n},46928:function(e,t,n){var i=n(39405),r=n(63122);n(15187),n(43050),n(58506);var o=n(72812),a=o.layout,s=n(74186);n(62093),i.registerLayout(r.curry(a,"pictorialBar")),i.registerVisual(s("pictorialBar","roundRect"))},89174:function(e,t,n){var i=n(39405),r=n(63122);n(18721),n(66146);var o=n(62002),a=n(62120),s=n(7957),l=n(59176);o("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),i.registerVisual(a("pie")),i.registerLayout(r.curry(s,"pie")),i.registerProcessor(l("pie"))},18721:function(e,t,n){n(57658);var i=n(39405),r=n(94033),o=n(63122),a=n(46458),s=n(43789),l=s.getPercentWithPrecision,u=n(22717),c=n(55213),h=c.retrieveRawAttr,d=n(2240),f=d.makeSeriesEncodeForNameBased,p=n(48079),g=i.extendSeriesModel({type:"series.pie",init:function(e){g.superApply(this,"init",arguments),this.legendVisualProvider=new p(o.bind(this.getData,this),o.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){g.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,t){return r(this,{coordDimensions:["value"],encodeDefaulter:o.curry(f,this)})},_createSelectableList:function(){for(var e=this.getRawData(),t=e.mapDimension("value"),n=[],i=0,r=e.count();i<r;i++)n.push({name:e.getName(i),value:e.get(t,i),selected:h(e,i,"selected")});return n},getDataParams:function(e){var t=this.getData(),n=g.superCall(this,"getDataParams",e),i=[];return t.each(t.mapDimension("value"),(function(e){i.push(e)})),n.percent=l(i,e,t.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(e){a.defaultEmphasis(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});o.mixin(g,u);var m=g;e.exports=m},66146:function(e,t,n){var i=n(63122),r=n(20594),o=n(65120);function a(e,t,n,i){var r=t.getData(),o=this.dataIndex,a=r.getName(o),l=t.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:e,name:a,seriesId:t.id}),r.each((function(e){s(r.getItemGraphicEl(e),r.getItemLayout(e),t.isSelected(r.getName(e)),l,n)}))}function s(e,t,n,i,r){var o=(t.startAngle+t.endAngle)/2,a=Math.cos(o),s=Math.sin(o),l=n?i:0,u=[a*l,s*l];r?e.animate().when(200,{position:u}).start("bounceOut"):e.attr("position",u)}function l(e,t){r.Group.call(this);var n=new r.Sector({z2:2}),i=new r.Polyline,o=new r.Text;this.add(n),this.add(i),this.add(o),this.updateData(e,t,!0)}var u=l.prototype;u.updateData=function(e,t,n){var o=this.childAt(0),a=this.childAt(1),l=this.childAt(2),u=e.hostModel,c=e.getItemModel(t),h=e.getItemLayout(t),d=i.extend({},h);d.label=null;var f=u.getShallow("animationTypeUpdate");if(n){o.setShape(d);var p=u.getShallow("animationType");"scale"===p?(o.shape.r=h.r0,r.initProps(o,{shape:{r:h.r}},u,t)):(o.shape.endAngle=h.startAngle,r.updateProps(o,{shape:{endAngle:h.endAngle}},u,t))}else"expansion"===f?o.setShape(d):r.updateProps(o,{shape:d},u,t);var g=e.getItemVisual(t,"color");o.useStyle(i.defaults({lineJoin:"bevel",fill:g},c.getModel("itemStyle").getItemStyle())),o.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var m=c.getShallow("cursor");m&&o.attr("cursor",m),s(this,e.getItemLayout(t),u.isSelected(e.getName(t)),u.get("selectedOffset"),u.get("animation"));var v=!n&&"transition"===f;this._updateLabel(e,t,v),this.highDownOnUpdate=u.get("silent")?null:function(e,t){var n=u.isAnimationEnabled()&&c.get("hoverAnimation");"emphasis"===t?(a.ignore=a.hoverIgnore,l.ignore=l.hoverIgnore,n&&(o.stopAnimation(!0),o.animateTo({shape:{r:h.r+u.get("hoverOffset")}},300,"elasticOut"))):(a.ignore=a.normalIgnore,l.ignore=l.normalIgnore,n&&(o.stopAnimation(!0),o.animateTo({shape:{r:h.r}},300,"elasticOut")))},r.setHoverStyle(this)},u._updateLabel=function(e,t,n){var i=this.childAt(1),o=this.childAt(2),a=e.hostModel,s=e.getItemModel(t),l=e.getItemLayout(t),u=l.label,c=e.getItemVisual(t,"color");if(!u||isNaN(u.x)||isNaN(u.y))o.ignore=o.normalIgnore=o.hoverIgnore=i.ignore=i.normalIgnore=i.hoverIgnore=!0;else{var h={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},d={x:u.x,y:u.y};n?(r.updateProps(i,{shape:h},a,t),r.updateProps(o,{style:d},a,t)):(i.attr({shape:h}),o.attr({style:d})),o.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var f=s.getModel("label"),p=s.getModel("emphasis.label"),g=s.getModel("labelLine"),m=s.getModel("emphasis.labelLine");c=e.getItemVisual(t,"color");r.setLabelStyle(o.style,o.hoverStyle={},f,p,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:u.text,autoColor:c,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:e.getItemVisual(t,"opacity")}),o.ignore=o.normalIgnore=!f.get("show"),o.hoverIgnore=!p.get("show"),i.ignore=i.normalIgnore=!g.get("show"),i.hoverIgnore=!m.get("show"),i.setStyle({stroke:c,opacity:e.getItemVisual(t,"opacity")}),i.setStyle(g.getModel("lineStyle").getLineStyle()),i.hoverStyle=m.getModel("lineStyle").getLineStyle();var v=g.get("smooth");v&&!0===v&&(v=.4),i.setShape({smooth:v})}},i.inherits(l,r.Group);var c=o.extend({type:"pie",init:function(){var e=new r.Group;this._sectorGroup=e},render:function(e,t,n,r){if(!r||r.from!==this.uid){var o=e.getData(),s=this._data,u=this.group,c=t.get("animation"),h=!s,d=e.get("animationType"),f=e.get("animationTypeUpdate"),p=i.curry(a,this.uid,e,c,n),g=e.get("selectedMode");if(o.diff(s).add((function(e){var t=new l(o,e);h&&"scale"!==d&&t.eachChild((function(e){e.stopAnimation(!0)})),g&&t.on("click",p),o.setItemGraphicEl(e,t),u.add(t)})).update((function(e,t){var n=s.getItemGraphicEl(t);h||"transition"===f||n.eachChild((function(e){e.stopAnimation(!0)})),n.updateData(o,e),n.off("click"),g&&n.on("click",p),u.add(n),o.setItemGraphicEl(e,n)})).remove((function(e){var t=s.getItemGraphicEl(e);u.remove(t)})).execute(),c&&o.count()>0&&(h?"scale"!==d:"transition"!==f)){for(var m=o.getItemLayout(0),v=1;isNaN(m.startAngle)&&v<o.count();++v)m=o.getItemLayout(v);var y=Math.max(n.getWidth(),n.getHeight())/2,b=i.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(m.cx,m.cy,y,m.startAngle,m.clockwise,b,e,h))}else u.removeClipPath();this._data=o}},dispose:function(){},_createClipPath:function(e,t,n,i,o,a,s,l){var u=new r.Sector({shape:{cx:e,cy:t,r0:0,r:n,startAngle:i,endAngle:i,clockwise:o}}),c=l?r.initProps:r.updateProps;return c(u,{shape:{endAngle:i+(o?1:-1)*Math.PI*2}},s,a),u},containPoint:function(e,t){var n=t.getData(),i=n.getItemLayout(0);if(i){var r=e[0]-i.cx,o=e[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}}}),h=c;e.exports=h},70443:function(e,t,n){n(57658);var i=n(2278),r=n(43789),o=r.parsePercent,a=Math.PI/180;function s(e,t,n,i,r,o,a,s,l,u){function c(t,n,i,r){for(var o=t;o<n;o++){if(e[o].y+i>l+a)break;if(e[o].y+=i,o>t&&o+1<n&&e[o+1].y>e[o].y+e[o].height)return void h(o,i/2)}h(n-1,i/2)}function h(t,n){for(var i=t;i>=0;i--){if(e[i].y-n<l)break;if(e[i].y-=n,i>0&&e[i].y>e[i-1].y+e[i-1].height)break}}function d(e,t,n,i,r,o){for(var a=t?Number.MAX_VALUE:0,s=0,l=e.length;s<l;s++)if("none"===e[s].labelAlignTo){var u=Math.abs(e[s].y-i),c=e[s].len,h=e[s].len2,d=u<r+c?Math.sqrt((r+c+h)*(r+c+h)-u*u):Math.abs(e[s].x-n);t&&d>=a&&(d=a-10),!t&&d<=a&&(d=a+10),e[s].x=n+d*o,a=d}}e.sort((function(e,t){return e.y-t.y}));for(var f,p=0,g=e.length,m=[],v=[],y=0;y<g;y++){if("outer"===e[y].position&&"labelLine"===e[y].labelAlignTo){var b=e[y].x-u;e[y].linePoints[1][0]+=b,e[y].x=u}f=e[y].y-p,f<0&&c(y,g,-f,r),p=e[y].y+e[y].height}a-p<0&&h(g-1,p-a);for(y=0;y<g;y++)e[y].y>=n?v.push(e[y]):m.push(e[y]);d(m,!1,t,n,i,r),d(v,!0,t,n,i,r)}function l(e,t,n,r,o,a,l,c){for(var h=[],d=[],f=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g<e.length;g++)u(e[g])||(e[g].x<t?(f=Math.min(f,e[g].x),h.push(e[g])):(p=Math.max(p,e[g].x),d.push(e[g])));s(d,t,n,r,1,o,a,l,c,p),s(h,t,n,r,-1,o,a,l,c,f);for(g=0;g<e.length;g++){var m=e[g];if(!u(m)){var v=m.linePoints;if(v){var y,b="edge"===m.labelAlignTo,x=m.textRect.width;y=b?m.x<t?v[2][0]-m.labelDistance-l-m.labelMargin:l+o-m.labelMargin-v[2][0]-m.labelDistance:m.x<t?m.x-l-m.bleedMargin:l+o-m.x-m.bleedMargin,y<m.textRect.width&&(m.text=i.truncateText(m.text,y,m.font),"edge"===m.labelAlignTo&&(x=i.getWidth(m.text,m.font)));var _=v[1][0]-v[2][0];b?m.x<t?v[2][0]=l+m.labelMargin+x+m.labelDistance:v[2][0]=l+o-m.labelMargin-x-m.labelDistance:(m.x<t?v[2][0]=m.x+m.labelDistance:v[2][0]=m.x-m.labelDistance,v[1][0]=v[2][0]+_),v[1][1]=v[2][1]=m.y}}}}function u(e){return"center"===e.position}function c(e,t,n,r,s,u){var c,h,d=e.getData(),f=[],p=!1,g=(e.get("minShowLabelAngle")||0)*a;d.each((function(r){var a=d.getItemLayout(r),l=d.getItemModel(r),u=l.getModel("label"),m=u.get("position")||l.get("emphasis.label.position"),v=u.get("distanceToLabelLine"),y=u.get("alignTo"),b=o(u.get("margin"),n),x=u.get("bleedMargin"),_=u.getFont(),w=l.getModel("labelLine"),C=w.get("length");C=o(C,n);var S=w.get("length2");if(S=o(S,n),!(a.angle<g)){var k,M,T,E,D=(a.startAngle+a.endAngle)/2,P=Math.cos(D),O=Math.sin(D);c=a.cx,h=a.cy;var I,A=e.getFormattedLabel(r,"normal")||d.getName(r),L=i.getBoundingRect(A,_,E,"top"),N="inside"===m||"inner"===m;if("center"===m)k=a.cx,M=a.cy,E="center";else{var R=(N?(a.r+a.r0)/2*P:a.r*P)+c,z=(N?(a.r+a.r0)/2*O:a.r*O)+h;if(k=R+3*P,M=z+3*O,!N){var $=R+P*(C+t-a.r),B=z+O*(C+t-a.r),F=$+(P<0?-1:1)*S,j=B;k="edge"===y?P<0?s+b:s+n-b:F+(P<0?-v:v),M=j,T=[[R,z],[$,B],[F,j]]}E=N?"center":"edge"===y?P>0?"right":"left":P>0?"left":"right"}var V=u.get("rotate");I="number"===typeof V?V*(Math.PI/180):V?P<0?-D+Math.PI:-D:0,p=!!I,a.label={x:k,y:M,position:m,height:L.height,len:C,len2:S,linePoints:T,textAlign:E,verticalAlign:"middle",rotation:I,inside:N,labelDistance:v,labelAlignTo:y,labelMargin:b,bleedMargin:x,textRect:L,text:A,font:_},N||f.push(a.label)}})),!p&&e.get("avoidLabelOverlap")&&l(f,c,h,t,n,r,s,u)}e.exports=c},7957:function(e,t,n){var i=n(43789),r=i.parsePercent,o=i.linearMap,a=n(7928),s=n(70443),l=n(63122),u=2*Math.PI,c=Math.PI/180;function h(e,t){return a.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function d(e,t,n,i){t.eachSeriesByType(e,(function(e){var t=e.getData(),i=t.mapDimension("value"),a=h(e,n),d=e.get("center"),f=e.get("radius");l.isArray(f)||(f=[0,f]),l.isArray(d)||(d=[d,d]);var p=r(a.width,n.getWidth()),g=r(a.height,n.getHeight()),m=Math.min(p,g),v=r(d[0],p)+a.x,y=r(d[1],g)+a.y,b=r(f[0],m/2),x=r(f[1],m/2),_=-e.get("startAngle")*c,w=e.get("minAngle")*c,C=0;t.each(i,(function(e){!isNaN(e)&&C++}));var S=t.getSum(i),k=Math.PI/(S||C)*2,M=e.get("clockwise"),T=e.get("roseType"),E=e.get("stillShowZeroSum"),D=t.getDataExtent(i);D[0]=0;var P=u,O=0,I=_,A=M?1:-1;if(t.each(i,(function(e,n){var i;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:v,cy:y,r0:b,r:T?NaN:x,viewRect:a});else{i="area"!==T?0===S&&E?k:e*k:u/C,i<w?(i=w,P-=w):O+=e;var r=I+A*i;t.setItemLayout(n,{angle:i,startAngle:I,endAngle:r,clockwise:M,cx:v,cy:y,r0:b,r:T?o(e,D,[b,x]):x,viewRect:a}),I=r}})),P<u&&C)if(P<=.001){var L=u/C;t.each(i,(function(e,n){if(!isNaN(e)){var i=t.getItemLayout(n);i.angle=L,i.startAngle=_+A*n*L,i.endAngle=_+A*(n+1)*L}}))}else k=P/O,I=_,t.each(i,(function(e,n){if(!isNaN(e)){var i=t.getItemLayout(n),r=i.angle===w?w:e*k;i.startAngle=I,i.endAngle=I+A*r,I+=A*r}}));s(e,x,a.width,a.height,a.x,a.y)}))}e.exports=d},76515:function(e,t,n){var i=n(39405);n(93080),n(54919),n(67097);var r=n(62120),o=n(74186),a=n(2221),s=n(59176),l=n(8866);i.registerVisual(r("radar")),i.registerVisual(o("radar","circle")),i.registerLayout(a),i.registerProcessor(s("radar")),i.registerPreprocessor(l)},54919:function(e,t,n){var i=n(48154),r=n(94033),o=n(63122),a=n(18906),s=a.encodeHTML,l=n(48079),u=i.extend({type:"series.radar",dependencies:["radar"],init:function(e){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(o.bind(this.getData,this),o.bind(this.getRawData,this))},getInitialData:function(e,t){return r(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(e,t,n,i){var r=this.getData(),a=this.coordinateSystem,l=a.getIndicatorAxes(),u=this.getData().getName(e),c="html"===i?"<br/>":"\n";return s(""===u?this.name:u)+c+o.map(l,(function(t,n){var i=r.get(r.mapDimension(t.dim),e);return s(t.name+" : "+i)})).join(c)},getTooltipPosition:function(e){if(null!=e)for(var t=this.getData(),n=this.coordinateSystem,i=t.getValues(o.map(n.dimensions,(function(e){return t.mapDimension(e)})),e,!0),r=0,a=i.length;r<a;r++)if(!isNaN(i[r])){var s=n.getIndicatorAxes();return n.coordToPoint(s[r].dataToCoord(i[r]),r)}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),c=u;e.exports=c},67097:function(e,t,n){var i=n(39405),r=n(20594),o=n(63122),a=n(84682);function s(e){return o.isArray(e)||(e=[+e,+e]),e}var l=i.extendChartView({type:"radar",render:function(e,t,n){var i=e.coordinateSystem,l=this.group,u=e.getData(),c=this._data;function h(e,t){var n=e.getItemVisual(t,"symbol")||"circle",i=e.getItemVisual(t,"color");if("none"!==n){var r=s(e.getItemVisual(t,"symbolSize")),o=a.createSymbol(n,-1,-1,2,2,i),l=e.getItemVisual(t,"symbolRotate")||0;return o.attr({style:{strokeNoScale:!0},z2:100,scale:[r[0]/2,r[1]/2],rotation:l*Math.PI/180||0}),o}}function d(t,n,i,o,a,s){i.removeAll();for(var l=0;l<n.length-1;l++){var u=h(o,a);u&&(u.__dimIdx=l,t[l]?(u.attr("position",t[l]),r[s?"initProps":"updateProps"](u,{position:n[l]},e,a)):u.attr("position",n[l]),i.add(u))}}function f(e){return o.map(e,(function(e){return[i.cx,i.cy]}))}u.diff(c).add((function(t){var n=u.getItemLayout(t);if(n){var i=new r.Polygon,o=new r.Polyline,a={shape:{points:n}};i.shape.points=f(n),o.shape.points=f(n),r.initProps(i,a,e,t),r.initProps(o,a,e,t);var s=new r.Group,l=new r.Group;s.add(o),s.add(i),s.add(l),d(o.shape.points,n,l,u,t,!0),u.setItemGraphicEl(t,s)}})).update((function(t,n){var i=c.getItemGraphicEl(n),o=i.childAt(0),a=i.childAt(1),s=i.childAt(2),l={shape:{points:u.getItemLayout(t)}};l.shape.points&&(d(o.shape.points,l.shape.points,s,u,t,!1),r.updateProps(o,l,e),r.updateProps(a,l,e),u.setItemGraphicEl(t,i))})).remove((function(e){l.remove(c.getItemGraphicEl(e))})).execute(),u.eachItemGraphicEl((function(e,t){var n=u.getItemModel(t),i=e.childAt(0),a=e.childAt(1),s=e.childAt(2),c=u.getItemVisual(t,"color");l.add(e),i.useStyle(o.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),i.hoverStyle=n.getModel("emphasis.lineStyle").getLineStyle();var h=n.getModel("areaStyle"),d=n.getModel("emphasis.areaStyle"),f=h.isEmpty()&&h.parentModel.isEmpty(),p=d.isEmpty()&&d.parentModel.isEmpty();p=p&&f,a.ignore=f,a.useStyle(o.defaults(h.getAreaStyle(),{fill:c,opacity:.7})),a.hoverStyle=d.getAreaStyle();var g=n.getModel("itemStyle").getItemStyle(["color"]),m=n.getModel("emphasis.itemStyle").getItemStyle(),v=n.getModel("label"),y=n.getModel("emphasis.label");s.eachChild((function(e){e.setStyle(g),e.hoverStyle=o.clone(m);var n=u.get(u.dimensions[e.__dimIdx],t);(null==n||isNaN(n))&&(n=""),r.setLabelStyle(e.style,e.hoverStyle,v,y,{labelFetcher:u.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:n,autoColor:c,isRectText:!0})})),e.highDownOnUpdate=function(e,t){a.attr("ignore","emphasis"===t?p:f)},r.setHoverStyle(e)})),this._data=u},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=l},8866:function(e,t,n){n(57658);var i=n(63122);function r(e){var t=e.polar;if(t){i.isArray(t)||(t=[t]);var n=[];i.each(t,(function(t,r){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],i.isArray(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}i.each(e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}e.exports=r},2221:function(e,t,n){n(57658);var i=n(63122);function r(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],r=e.coordinateSystem;if(r){var s=r.getIndicatorAxes();i.each(s,(function(e,i){t.each(t.mapDimension(s[i].dim),(function(e,t){n[t]=n[t]||[];var s=r.dataToPoint(e,i);n[t][i]=o(s)?s:a(r)}))})),t.each((function(e){var s=i.find(n[e],(function(e){return o(e)}))||a(r);n[e].push(s.slice()),t.setItemLayout(e,n[e])}))}}))}function o(e){return!isNaN(e[0])&&!isNaN(e[1])}function a(e){return[e.cx,e.cy]}e.exports=r},60011:function(e,t,n){var i=n(39405);n(88689),n(98876),n(76190);var r=n(53397),o=n(39679);i.registerLayout(r),i.registerVisual(o)},88689:function(e,t,n){var i=n(48154),r=n(66733),o=n(18906),a=o.encodeHTML,s=n(90350),l=n(49648),u=(l.__DEV__,i.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(e,t){for(var n=e.edges||e.links,i=e.data||e.nodes,o=e.levels,a=this.levelModels={},l=0;l<o.length;l++)null!=o[l].depth&&o[l].depth>=0&&(a[o[l].depth]=new s(o[l],this,t));if(i&&n){var u=r(i,n,this,!0,c);return u.data}function c(e,t){e.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,i=n.getData().getItemLayout(t).depth,r=n.levelModels[i];return r||this.parentModel})),e})),t.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(t),r=i.node1.getLayout().depth,o=n.levelModels[r];return o||this.parentModel})),e}))}},setNodePosition:function(e,t){var n=this.option.data[e];n.localX=t[0],n.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,n){if("edge"===n){var i=this.getDataParams(e,n),r=i.data,o=r.source+" -- "+r.target;return i.value&&(o+=" : "+i.value),a(o)}if("node"===n){var s=this.getGraph().getNodeByIndex(e),l=s.getLayout().value,c=this.getDataParams(e,n).data.name;if(l)o=c+" : "+l;return a(o)}return u.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,t){var n=u.superCall(this,"getDataParams",e,t);if(null==n.value&&"node"===t){var i=this.getGraph().getNodeByIndex(e),r=i.getLayout().value;n.value=r}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),c=u;e.exports=c},98876:function(e,t,n){var i=n(20594),r=n(39405),o=n(63122),a=["itemStyle","opacity"],s=["emphasis","itemStyle","opacity"],l=["lineStyle","opacity"],u=["emphasis","lineStyle","opacity"];function c(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function h(e,t,n){var i=e.getGraphicEl(),r=c(e,t);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",r)}))}function d(e,t){var n=c(e,t),i=e.getGraphicEl();i.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",n)})),i.highlight&&i.highlight()}var f=i.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),p=r.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,t,n){var r=this,o=e.getGraph(),a=this.group,s=e.layoutInfo,l=s.width,u=s.height,c=e.getData(),h=e.getData("edge"),d=e.get("orient");this._model=e,a.removeAll(),a.attr("position",[s.x,s.y]),o.eachEdge((function(t){var n=new f;n.dataIndex=t.dataIndex,n.seriesIndex=e.seriesIndex,n.dataType="edge";var r,o,s,c,p,g,m,v,y=t.getModel("lineStyle"),b=y.get("curveness"),x=t.node1.getLayout(),_=t.node1.getModel(),w=_.get("localX"),C=_.get("localY"),S=t.node2.getLayout(),k=t.node2.getModel(),M=k.get("localX"),T=k.get("localY"),E=t.getLayout();switch(n.shape.extent=Math.max(1,E.dy),n.shape.orient=d,"vertical"===d?(r=(null!=w?w*l:x.x)+E.sy,o=(null!=C?C*u:x.y)+x.dy,s=(null!=M?M*l:S.x)+E.ty,c=null!=T?T*u:S.y,p=r,g=o*(1-b)+c*b,m=s,v=o*b+c*(1-b)):(r=(null!=w?w*l:x.x)+x.dx,o=(null!=C?C*u:x.y)+E.sy,s=null!=M?M*l:S.x,c=(null!=T?T*u:S.y)+E.ty,p=r*(1-b)+s*b,g=o,m=r*b+s*(1-b),v=c),n.setShape({x1:r,y1:o,x2:s,y2:c,cpx1:p,cpy1:g,cpx2:m,cpy2:v}),n.setStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=t.node1.getVisual("color");break;case"target":n.style.fill=t.node2.getVisual("color");break}i.setHoverStyle(n,t.getModel("emphasis.lineStyle").getItemStyle()),a.add(n),h.setItemGraphicEl(t.dataIndex,n)})),o.eachNode((function(t){var n=t.getLayout(),r=t.getModel(),o=r.get("localX"),s=r.get("localY"),h=r.getModel("label"),d=r.getModel("emphasis.label"),f=new i.Rect({shape:{x:null!=o?o*l:n.x,y:null!=s?s*u:n.y,width:n.dx,height:n.dy},style:r.getModel("itemStyle").getItemStyle()}),p=t.getModel("emphasis.itemStyle").getItemStyle();i.setLabelStyle(f.style,p,h,d,{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),f.setStyle("fill",t.getVisual("color")),i.setHoverStyle(f,p),a.add(f),c.setItemGraphicEl(t.dataIndex,f),f.dataType="node"})),c.eachItemGraphicEl((function(t,i){var o=c.getItemModel(i);o.get("draggable")&&(t.drift=function(t,o){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/l,localY:this.shape.y/u})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(n)}))})),h.eachItemGraphicEl((function(t,i){var o=h.getItemModel(i);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(n)}))})),!this._data&&e.get("animation")&&a.setClipPath(g(a.getBoundingRect(),e,(function(){a.removeClipPath()}))),this._data=e.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(e){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){t._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,n,i){var r=e.getData(),c=r.graph,f=i.dataIndex,p=r.getItemModel(f),g=i.edgeDataIndex;if(null!=f||null!=g){var m=c.getNodeByIndex(f),v=c.getEdgeByIndex(g);if(c.eachNode((function(e){h(e,a,.1)})),c.eachEdge((function(e){h(e,l,.1)})),m){d(m,s);var y=p.get("focusNodeAdjacency");"outEdges"===y?o.each(m.outEdges,(function(e){e.dataIndex<0||(d(e,u),d(e.node2,s))})):"inEdges"===y?o.each(m.inEdges,(function(e){e.dataIndex<0||(d(e,u),d(e.node1,s))})):"allEdges"===y&&o.each(m.edges,(function(e){e.dataIndex<0||(d(e,u),e.node1!==m&&d(e.node1,s),e.node2!==m&&d(e.node2,s))}))}v&&(d(v,u),d(v.node1,s),d(v.node2,s))}},unfocusNodeAdjacency:function(e,t,n,i){var r=e.getGraph();r.eachNode((function(e){h(e,a)})),r.eachEdge((function(e){h(e,l)}))}});function g(e,t,n){var r=new i.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return i.initProps(r,{shape:{width:e.width+20}},t,n),r}e.exports=p},76190:function(e,t,n){var i=n(39405);n(10080),i.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},53397:function(e,t,n){n(57658);var i=n(7928),r=n(63122),o=n(46458),a=o.groupData;function s(e,t,n){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),i=e.get("nodeGap"),o=l(e,t);e.layoutInfo=o;var a=o.width,s=o.height,h=e.getGraph(),d=h.nodes,f=h.edges;c(d);var p=r.filter(d,(function(e){return 0===e.getLayout().value})),g=0!==p.length?0:e.get("layoutIterations"),m=e.get("orient"),v=e.get("nodeAlign");u(d,f,n,i,a,s,g,m,v)}))}function l(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function u(e,t,n,i,r,o,a,s,l){h(e,t,n,r,o,s,l),m(e,t,o,r,i,a,s),D(e,s)}function c(e){r.each(e,(function(e){var t=T(e.outEdges,M),n=T(e.inEdges,M),i=e.getValue()||0,r=Math.max(t,n,i);e.setLayout({value:r},!0)}))}function h(e,t,n,i,r,o,a){for(var s=[],l=[],u=[],c=[],h=0,d=0,p=0;p<t.length;p++)s[p]=1;for(p=0;p<e.length;p++)l[p]=e[p].inEdges.length,0===l[p]&&u.push(e[p]);var m=-1;while(u.length){for(var v=0;v<u.length;v++){var y=u[v],b=y.hostGraph.data.getRawDataItem(y.dataIndex),x=null!=b.depth&&b.depth>=0;x&&b.depth>m&&(m=b.depth),y.setLayout({depth:x?b.depth:h},!0),"vertical"===o?y.setLayout({dy:n},!0):y.setLayout({dx:n},!0);for(var _=0;_<y.outEdges.length;_++){var w=y.outEdges[_],C=t.indexOf(w);s[C]=0;var S=w.node2,k=e.indexOf(S);0===--l[k]&&c.indexOf(S)<0&&c.push(S)}}++h,u=c,c=[]}for(p=0;p<s.length;p++)if(1===s[p])throw new Error("Sankey is a DAG, the original data has cycle!");var M=m>h-1?m:h-1;a&&"left"!==a&&f(e,a,o,M);d="vertical"===o?(r-n)/M:(i-n)/M;g(e,d,o)}function d(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function f(e,t,n,i){if("right"===t){var o=[],a=e,s=0;while(a.length){for(var l=0;l<a.length;l++){var u=a[l];u.setLayout({skNodeHeight:s},!0);for(var c=0;c<u.inEdges.length;c++){var h=u.inEdges[c];o.indexOf(h.node1)<0&&o.push(h.node1)}}a=o,o=[],++s}r.each(e,(function(e){d(e)||e.setLayout({depth:Math.max(0,i-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&p(e,i)}function p(e,t){r.each(e,(function(e){d(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}function g(e,t,n){r.each(e,(function(e){var i=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:i},!0):e.setLayout({x:i},!0)}))}function m(e,t,n,i,r,o,a){var s=v(e,a);y(s,t,n,i,r,a),b(s,r,n,i,a);for(var l=1;o>0;o--)l*=.99,x(s,l,a),b(s,r,n,i,a),E(s,l,a),b(s,r,n,i,a)}function v(e,t){var n=[],i="vertical"===t?"y":"x",o=a(e,(function(e){return e.getLayout()[i]}));return o.keys.sort((function(e,t){return e-t})),r.each(o.keys,(function(e){n.push(o.buckets.get(e))})),n}function y(e,t,n,i,o,a){var s=1/0;r.each(e,(function(e){var t=e.length,l=0;r.each(e,(function(e){l+=e.getLayout().value}));var u="vertical"===a?(i-(t-1)*o)/l:(n-(t-1)*o)/l;u<s&&(s=u)})),r.each(e,(function(e){r.each(e,(function(e,t){var n=e.getLayout().value*s;"vertical"===a?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),r.each(t,(function(e){var t=+e.getValue()*s;e.setLayout({dy:t},!0)}))}function b(e,t,n,i,o){var a="vertical"===o?"x":"y";r.each(e,(function(e){var r,s,l;e.sort((function(e,t){return e.getLayout()[a]-t.getLayout()[a]}));for(var u=0,c=e.length,h="vertical"===o?"dx":"dy",d=0;d<c;d++)s=e[d],l=u-s.getLayout()[a],l>0&&(r=s.getLayout()[a]+l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0)),u=s.getLayout()[a]+s.getLayout()[h]+t;var f="vertical"===o?i:n;if(l=u-t-f,l>0)for(r=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0),u=r,d=c-2;d>=0;--d)s=e[d],l=s.getLayout()[a]+s.getLayout()[h]+t-u,l>0&&(r=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:r},!0):s.setLayout({y:r},!0)),u=s.getLayout()[a]}))}function x(e,t,n){r.each(e.slice().reverse(),(function(e){r.each(e,(function(e){if(e.outEdges.length){var i=T(e.outEdges,_,n)/T(e.outEdges,M,n);if(isNaN(i)){var r=e.outEdges.length;i=r?T(e.outEdges,w,n)/r:0}if("vertical"===n){var o=e.getLayout().x+(i-k(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(i-k(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function _(e,t){return k(e.node2,t)*e.getValue()}function w(e,t){return k(e.node2,t)}function C(e,t){return k(e.node1,t)*e.getValue()}function S(e,t){return k(e.node1,t)}function k(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function M(e){return e.getValue()}function T(e,t,n){var i=0,r=e.length,o=-1;while(++o<r){var a=+t.call(e,e[o],n);isNaN(a)||(i+=a)}return i}function E(e,t,n){r.each(e,(function(e){r.each(e,(function(e){if(e.inEdges.length){var i=T(e.inEdges,C,n)/T(e.inEdges,M,n);if(isNaN(i)){var r=e.inEdges.length;i=r?T(e.inEdges,S,n)/r:0}if("vertical"===n){var o=e.getLayout().x+(i-k(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(i-k(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function D(e,t){var n="vertical"===t?"x":"y";r.each(e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),r.each(e,(function(e){var t=0,n=0;r.each(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),r.each(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}e.exports=s},39679:function(e,t,n){var i=n(81313),r=n(63122);function o(e,t){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes;if(n.length){var o=1/0,a=-1/0;r.each(n,(function(e){var t=e.getLayout().value;t<o&&(o=t),t>a&&(a=t)})),r.each(n,(function(t){var n=new i({type:"color",mappingMethod:"linear",dataExtent:[o,a],visual:e.get("color")}),r=n.mapValueToVisual(t.getLayout().value),s=t.getModel().get("itemStyle.color");null!=s?t.setVisual("color",s):t.setVisual("color",r)}))}}))}e.exports=o},46413:function(e,t,n){var i=n(39405);n(15106),n(20280);var r=n(74186),o=n(83960);n(62093),i.registerVisual(r("scatter","circle")),i.registerLayout(o("scatter"))},15106:function(e,t,n){var i=n(10140),r=n(48154),o=r.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});e.exports=o},20280:function(e,t,n){var i=n(39405),r=n(91151),o=n(43184),a=n(83960);i.extendChartView({type:"scatter",render:function(e,t,n){var i=e.getData(),r=this._updateSymbolDraw(i,e);r.updateData(i,{clipShape:this._getClipShape(e)}),this._finished=!0},incrementalPrepareRender:function(e,t,n){var i=e.getData(),r=this._updateSymbolDraw(i,e);r.incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=a().reset(e);r.progress&&r.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},_updateSymbolDraw:function(e,t){var n=this._symbolDraw,i=t.pipelineContext,a=i.large;return n&&a===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=a?new o:new r,this._isLargeDraw=a,this.group.removeAll()),this.group.add(n.group),n},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},31487:function(e,t,n){var i=n(39405),r=n(63122);n(1774),n(13152),n(85348);var o=n(62120),a=n(39811),s=n(59176);i.registerVisual(r.curry(o,"sunburst")),i.registerLayout(r.curry(a,"sunburst")),i.registerProcessor(r.curry(s,"sunburst"))},2558:function(e,t,n){var i=n(63122),r=n(20594),o={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},a=2,s=4;function l(e,t,n){r.Group.call(this);var i=new r.Sector({z2:a});i.seriesIndex=t.seriesIndex;var o=new r.Text({z2:s,silent:e.getModel("label").get("silent")});function l(){o.ignore=o.hoverIgnore}function u(){o.ignore=o.normalIgnore}this.add(i),this.add(o),this.updateData(!0,e,"normal",t,n),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(e,t,n,o,a){this.node=t,t.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),u=t.getLayout(),c=i.extend({},u);c.label=null;var d=h(t,o,a);p(t,o,d);var f,g=l.getModel("itemStyle").getItemStyle();if("normal"===n)f=g;else{var m=l.getModel(n+".itemStyle").getItemStyle();f=i.merge(m,g)}f=i.defaults({lineJoin:"bevel",fill:f.fill||d},f),e?(s.setShape(c),s.shape.r=u.r0,r.updateProps(s,{shape:{r:u.r}},o,t.dataIndex),s.useStyle(f)):"object"===typeof f.fill&&f.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(r.updateProps(s,{shape:c},o),s.useStyle(f)):r.updateProps(s,{shape:c,style:f},o),this._updateLabel(o,d,n);var v=l.getShallow("cursor");if(v&&s.attr("cursor",v),e){var y=o.getShallow("highlightPolicy");this._initEvents(s,t,o,y)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel,r.setHoverStyle(this)},u.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(n){n.piece&&(t.node===n?n.piece.updateData(!1,n,"emphasis"):f(n,t.node,e)?n.piece.childAt(0).trigger("highlight"):e!==o.NONE&&n.piece.childAt(0).trigger("downplay"))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(e){e.piece&&e.piece.updateData(!1,e,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(e,t,n){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===n||"emphasis"===n?a:o.getModel(n+".label"),l=o.getModel("emphasis.label"),u=s.get("formatter"),c=u?n:"normal",h=i.retrieve(e.getFormattedLabel(this.node.dataIndex,c,null,null,"label"),this.node.name);!1===T("show")&&(h="");var d=this.node.getLayout(),f=s.get("minAngle");null==f&&(f=a.get("minAngle")),f=f/180*Math.PI;var p=d.endAngle-d.startAngle;null!=f&&Math.abs(p)<f&&(h="");var g=this.childAt(1);r.setLabelStyle(g.style,g.hoverStyle||{},a,l,{defaultText:s.getShallow("show")?h:null,autoColor:t,useInsideStyle:!0});var m,v=(d.startAngle+d.endAngle)/2,y=Math.cos(v),b=Math.sin(v),x=T("position"),_=T("distance")||0,w=T("align");"outside"===x?(m=d.r+_,w=v>Math.PI/2?"right":"left"):w&&"center"!==w?"left"===w?(m=d.r0+_,v>Math.PI/2&&(w="right")):"right"===w&&(m=d.r-_,v>Math.PI/2&&(w="left")):(m=(d.r+d.r0)/2,w="center"),g.attr("style",{text:h,textAlign:w,textVerticalAlign:T("verticalAlign")||"middle",opacity:T("opacity")});var C=m*y+d.cx,S=m*b+d.cy;g.attr("position",[C,S]);var k=T("rotate"),M=0;function T(e){var t=s.get(e);return null==t?a.get(e):t}"radial"===k?(M=-v,M<-Math.PI/2&&(M+=Math.PI)):"tangential"===k?(M=Math.PI/2-v,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):"number"===typeof k&&(M=k*Math.PI/180),g.attr("rotation",M)},u._initEvents=function(e,t,n,i){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this,o=function(){r.onEmphasis(i)},a=function(){r.onNormal()},s=function(){r.onDownplay()},l=function(){r.onHighlight()};n.isAnimationEnabled()&&e.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",s).on("highlight",l)},i.inherits(l,r.Group);var c=l;function h(e,t,n){var i=e.getVisual("color"),r=e.getVisual("visualMeta");r&&0!==r.length||(i=null);var o=e.getModel("itemStyle").get("color");if(o)return o;if(i)return i;if(0===e.depth)return n.option.color[0];var a=n.option.color.length;return o=n.option.color[d(e)%a],o}function d(e){var t=e;while(t.depth>1)t=t.parentNode;var n=e.getAncestors()[0];return i.indexOf(n.children,t)}function f(e,t,n){return n!==o.NONE&&(n===o.SELF?e===t:n===o.ANCESTOR?e===t||e.isAncestorOf(t):e===t||e.isDescendantOf(t))}function p(e,t,n){var i=t.getData();i.setItemVisual(e.dataIndex,"color",n)}e.exports=c},1774:function(e,t,n){var i=n(63122),r=n(48154),o=n(67535),a=n(90350),s=n(45536),l=s.wrapTreePathInfo,u=r.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var n={name:e.name,children:e.data};c(n);var r=i.map(e.levels||[],(function(e){return new a(e,this,t)}),this),s=o.createTree(n,this,l);function l(e){e.wrapMethod("getItemModel",(function(e,t){var n=s.getNodeByDataIndex(t),i=r[n.depth];return i&&(e.parentModel=i),e}))}return s.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=l(n,this),t},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function c(e){var t=0;i.each(e.children,(function(e){c(e);var n=e.value;i.isArray(n)&&(n=n[0]),t+=n}));var n=e.value;i.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),i.isArray(e.value)?e.value[0]=n:e.value=n}e.exports=u},13152:function(e,t,n){n(57658);var i=n(63122),r=n(65120),o=n(2558),a=n(85098),s=n(18906),l=s.windowOpen,u="sunburstRootToNode",c=r.extend({type:"sunburst",init:function(){},render:function(e,t,n,r){var s=this;this.seriesModel=e,this.api=n,this.ecModel=t;var l=e.getData(),u=l.tree.root,c=e.getViewRoot(),h=this.group,d=e.get("renderLabelForZeroData"),f=[];c.eachNode((function(e){f.push(e)}));var p=this._oldChildren||[];if(v(f,p),x(u,c),r&&r.highlight&&r.highlight.piece){var g=e.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(g)}else if(r&&r.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}function v(e,t){function n(e){return e.getId()}function r(n,i){var r=null==n?null:e[n],o=null==i?null:t[i];y(r,o)}0===e.length&&0===t.length||new a(t,e,n,n).add(r).update(r).remove(i.curry(r,null)).execute()}function y(n,i){if(d||!n||n.getValue()||(n=null),n!==u&&i!==u)if(i&&i.piece)n?(i.piece.updateData(!1,n,"normal",e,t),l.setItemGraphicEl(n.dataIndex,i.piece)):b(i);else if(n){var r=new o(n,e,t);h.add(r),l.setItemGraphicEl(n.dataIndex,r)}}function b(e){e&&e.piece&&(h.remove(e.piece),e.piece=null)}function x(n,i){if(i.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",e,t):(s.virtualPiece=new o(n,e,t),h.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var r=function(e){s._rootToNode(i.parentNode)};i.piece._onclickEvent=r,s.virtualPiece.on("click",r)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var n=!1,i=e.seriesModel.getViewRoot();i.eachNode((function(i){if(!n&&i.piece&&i.piece.childAt(0)===t.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)e._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";l(a,s)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:u,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var n=t.getData(),i=n.getItemLayout(0);if(i){var r=e[0]-i.cx,o=e[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}}}),h=c;e.exports=h},85348:function(e,t,n){var i=n(39405),r=n(45536),o="sunburstRootToNode";i.registerAction({type:o,update:"updateView"},(function(e,t){function n(t,n){var i=r.retrieveTargetInfo(e,[o],t);if(i){var a=t.getViewRoot();a&&(e.direction=r.aboveViewRoot(a,i.node)?"rollUp":"drillDown"),t.resetViewRoot(i.node)}}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}));var a="sunburstHighlight";i.registerAction({type:a,update:"updateView"},(function(e,t){function n(t,n){var i=r.retrieveTargetInfo(e,[a],t);i&&(e.highlight=i.node)}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}));var s="sunburstUnhighlight";i.registerAction({type:s,update:"updateView"},(function(e,t){function n(t,n){e.unhighlight=!0}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}))},39811:function(e,t,n){var i=n(43789),r=i.parsePercent,o=n(63122),a=Math.PI/180;function s(e,t,n,i){t.eachSeriesByType(e,(function(e){var t=e.get("center"),i=e.get("radius");o.isArray(i)||(i=[0,i]),o.isArray(t)||(t=[t,t]);var s=n.getWidth(),u=n.getHeight(),c=Math.min(s,u),h=r(t[0],s),d=r(t[1],u),f=r(i[0],c/2),p=r(i[1],c/2),g=-e.get("startAngle")*a,m=e.get("minAngle")*a,v=e.getData().tree.root,y=e.getViewRoot(),b=y.depth,x=e.get("sort");null!=x&&l(y,x);var _=0;o.each(y.children,(function(e){!isNaN(e.getValue())&&_++}));var w=y.getValue(),C=Math.PI/(w||_)*2,S=y.depth>0,k=y.height-(S?-1:1),M=(p-f)/(k||1),T=e.get("clockwise"),E=e.get("stillShowZeroSum"),D=T?1:-1,P=function(e,t){if(e){var n=t;if(e!==v){var i=e.getValue(),a=0===w&&E?C:i*C;a<m&&(a=m),n=t+D*a;var s=e.depth-b-(S?-1:1),l=f+M*s,u=f+M*(s+1),p=e.getModel();null!=p.get("r0")&&(l=r(p.get("r0"),c/2)),null!=p.get("r")&&(u=r(p.get("r"),c/2)),e.setLayout({angle:a,startAngle:t,endAngle:n,clockwise:T,cx:h,cy:d,r0:l,r:u})}if(e.children&&e.children.length){var g=0;o.each(e.children,(function(e){g+=P(e,t+g)}))}return n-t}};if(S){var O=f,I=f+M,A=2*Math.PI;v.setLayout({angle:A,startAngle:g,endAngle:g+A,clockwise:T,cx:h,cy:d,r0:O,r:I})}P(y,g)}))}function l(e,t){var n=e.children||[];e.children=u(n,t),n.length&&o.each(e.children,(function(e){l(e,t)}))}function u(e,t){if("function"===typeof t)return e.sort(t);var n="asc"===t;return e.sort((function(e,t){var i=(e.getValue()-t.getValue())*(n?1:-1);return 0===i?(e.dataIndex-t.dataIndex)*(n?-1:1):i}))}e.exports=s},13096:function(e,t,n){var i=n(39405);n(17139),n(25285),n(33697);var r=n(10232),o=n(13764),a=n(59176);i.registerLayout(r),i.registerVisual(o),i.registerProcessor(a("themeRiver"))},25285:function(e,t,n){n(57658);var i=n(48154),r=n(44048),o=n(73678),a=o.getDimensionTypeByAxis,s=n(56669),l=n(63122),u=n(46458),c=u.groupData,h=n(18906),d=h.encodeHTML,f=n(48079),p=2,g=i.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){g.superApply(this,"init",arguments),this.legendVisualProvider=new f(l.bind(this.getData,this),l.bind(this.getRawData,this))},fixData:function(e){var t=e.length,n={},i=c(e,(function(e){return n.hasOwnProperty(e[0])||(n[e[0]]=-1),e[2]})),r=[];i.buckets.each((function(e,t){r.push({name:t,dataList:e})}));for(var o=r.length,a=0;a<o;++a){for(var s=r[a].name,l=0;l<r[a].dataList.length;++l){var u=r[a].dataList[l][0];n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,e[t]=[],e[t][0]=u,e[t][1]=0,e[t][2]=s,t++)}return e},getInitialData:function(e,t){for(var n=t.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],i=n.get("type"),o=l.filter(e.data,(function(e){return void 0!==e[2]})),u=this.fixData(o||[]),c=[],h=this.nameMap=l.createHashMap(),d=0,f=0;f<u.length;++f)c.push(u[f][p]),h.get(u[f][p])||(h.set(u[f][p],d),d++);var g=r(u,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:a(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),m=new s(g,this);return m.initData(u),m},getLayerSeries:function(){for(var e=this.getData(),t=e.count(),n=[],i=0;i<t;++i)n[i]=i;var r=e.mapDimension("single"),o=c(n,(function(t){return e.get("name",t)})),a=[];return o.buckets.each((function(t,n){t.sort((function(t,n){return e.get(r,t)-e.get(r,n)})),a.push({name:n,indices:t})})),a},getAxisTooltipData:function(e,t,n){l.isArray(e)||(e=e?[e]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,u=0;u<s;++u){for(var c=Number.MAX_VALUE,h=-1,d=o[u].indices.length,f=0;f<d;++f){var p=r.get(e[0],o[u].indices[f]),g=Math.abs(p-t);g<=c&&(i=p,c=g,h=o[u].indices[f])}a.push(h)}return{dataIndices:a,nestestValue:i}},formatTooltip:function(e){var t=this.getData(),n=t.getName(e),i=t.get(t.mapDimension("value"),e);return(isNaN(i)||null==i)&&(i="-"),d(n+" : "+i)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),m=g;e.exports=m},33697:function(e,t,n){n(57658);var i=n(39405),r=n(8433),o=r.Polygon,a=n(20594),s=n(63122),l=s.bind,u=s.extend,c=n(85098),h=i.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(e,t,n){var i=e.getData(),r=this.group,s=e.getLayerSeries(),h=i.getLayout("layoutInfo"),f=h.rect,p=h.boundaryGap;function g(e){return e.name}r.attr("position",[0,f.y+p[0]]);var m=new c(this._layersSeries||[],s,g,g),v={};function y(t,n,l){var c=this._layers;if("remove"!==t){for(var h,f,p,g=[],m=[],y=s[n].indices,b=0;b<y.length;b++){var x=i.getItemLayout(y[b]),_=x.x,w=x.y0,C=x.y;g.push([_,w]),m.push([_,w+C]),h=i.getItemVisual(y[b],"color")}var S=i.getItemLayout(y[0]),k=i.getItemModel(y[b-1]),M=k.getModel("label"),T=M.get("margin");if("add"===t){var E=v[n]=new a.Group;f=new o({shape:{points:g,stackedOnPoints:m,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),p=new a.Text({style:{x:S.x-T,y:S.y0+S.y/2}}),E.add(f),E.add(p),r.add(E),f.setClipPath(d(f.getBoundingRect(),e,(function(){f.removeClipPath()})))}else{E=c[l];f=E.childAt(0),p=E.childAt(1),r.add(E),v[n]=E,a.updateProps(f,{shape:{points:g,stackedOnPoints:m}},e),a.updateProps(p,{style:{x:S.x-T,y:S.y0+S.y/2}},e)}var D=k.getModel("emphasis.itemStyle"),P=k.getModel("itemStyle");a.setTextStyle(p.style,M,{text:M.get("show")?e.getFormattedLabel(y[b-1],"normal")||i.getName(y[b-1]):null,textVerticalAlign:"middle"}),f.setStyle(u({fill:h},P.getItemStyle(["color"]))),a.setHoverStyle(f,D.getItemStyle())}else r.remove(c[n])}m.add(l(y,this,"add")).update(l(y,this,"update")).remove(l(y,this,"remove")).execute(),this._layersSeries=s,this._layers=v},dispose:function(){}});function d(e,t,n){var i=new a.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return a.initProps(i,{shape:{width:e.width+20,height:e.height+20}},t,n),i}e.exports=h},10232:function(e,t,n){n(57658);var i=n(63122),r=n(43789);function o(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,i={},o=n.getRect();i.rect=o;var s=e.get("boundaryGap"),l=n.getAxis();if(i.boundaryGap=s,"horizontal"===l.orient){s[0]=r.parsePercent(s[0],o.height),s[1]=r.parsePercent(s[1],o.height);var u=o.height-s[0]-s[1];a(t,e,u)}else{s[0]=r.parsePercent(s[0],o.width),s[1]=r.parsePercent(s[1],o.width);var c=o.width-s[0]-s[1];a(t,e,c)}t.setLayout("layoutInfo",i)}))}function a(e,t,n){if(e.count())for(var r,o=t.coordinateSystem,a=t.getLayerSeries(),l=e.mapDimension("single"),u=e.mapDimension("value"),c=i.map(a,(function(t){return i.map(t.indices,(function(t){var n=o.dataToPoint(e.get(l,t));return n[1]=e.get(u,t),n}))})),h=s(c),d=h.y0,f=n/h.max,p=a.length,g=a[0].indices.length,m=0;m<g;++m){r=d[m]*f,e.setItemLayout(a[0].indices[m],{layerIndex:0,x:c[0][m][0],y0:r,y:c[0][m][1]*f});for(var v=1;v<p;++v)r+=c[v-1][m][1]*f,e.setItemLayout(a[v].indices[m],{layerIndex:v,x:c[v][m][0],y0:r,y:c[v][m][1]*f})}}function s(e){for(var t=e.length,n=e[0].length,i=[],r=[],o=0,a={},s=0;s<n;++s){for(var l=0,u=0;l<t;++l)u+=e[l][s][1];u>o&&(o=u),i.push(u)}for(var c=0;c<n;++c)r[c]=(o-i[c])/2;o=0;for(var h=0;h<n;++h){var d=i[h]+r[h];d>o&&(o=d)}return a.y0=r,a.max=o,a}e.exports=o},13764:function(e,t,n){var i=n(63122),r=i.createHashMap;function o(e){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.getRawData(),i=e.get("color"),o=r();t.each((function(e){o.set(t.getRawIndex(e),e)})),n.each((function(r){var a=n.getName(r),s=i[(e.nameMap.get(a)-1)%i.length];n.setItemVisual(r,"color",s);var l=o.get(r);null!=l&&t.setItemVisual(l,"color",s)}))}))}e.exports=o},12107:function(e,t,n){var i=n(39405);n(17610),n(64983),n(21744);var r=n(74186),o=n(50924);i.registerVisual(r("tree","circle")),i.registerLayout(o)},17610:function(e,t,n){var i=n(48154),r=n(67535),o=n(18906),a=o.encodeHTML,s=n(90350),l=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},n=e.leaves||{},i=new s(n,this,this.ecModel),o=r.createTree(t,this,a);function a(e){e.wrapMethod("getItemModel",(function(e,t){var n=o.getNodeByDataIndex(t);return n.children.length&&n.isExpand||(e.parentModel=i),e}))}var l=0;o.eachNode("preorder",(function(e){e.depth>l&&(l=e.depth)}));var u=e.expandAndCollapse,c=u&&e.initialTreeDepth>=0?e.initialTreeDepth:l;return o.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=c})),o.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){var t=this.getData().tree,n=t.root.children[0],i=t.getNodeByDataIndex(e),r=i.getValue(),o=i.name;while(i&&i!==n)o=i.parentNode.name+"."+o,i=i.parentNode;return a(o+(isNaN(r)||null==r?"":" : "+r))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});e.exports=l},64983:function(e,t,n){n(57658);var i=n(63122),r=n(20594),o=n(1223),a=n(17481),s=a.radialCoordinate,l=n(39405),u=n(9787),c=n(51014),h=n(59716),d=n(56738),f=n(23668),p=f.onIrrelevantElement,g=n(49648),m=(g.__DEV__,n(43789)),v=m.parsePercent,y=r.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.childPoints,i=n.length,r=t.parentPoint,o=n[0],a=n[i-1];if(1===i)return e.moveTo(r[0],r[1]),void e.lineTo(o[0],o[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=v(t.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(a[u]-r[u])*c,e.moveTo(r[0],r[1]),e.lineTo(h[0],h[1]),e.moveTo(o[0],o[1]),h[l]=o[l],e.lineTo(h[0],h[1]),h[l]=a[l],e.lineTo(h[0],h[1]),e.lineTo(a[0],a[1]);for(var d=1;d<i-1;d++){var f=n[d];e.moveTo(f[0],f[1]),h[l]=f[l],e.lineTo(h[0],h[1])}}}),b=l.extendChartView({type:"tree",init:function(e,t){this._oldTree,this._mainGroup=new r.Group,this._controller=new d(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(e,t,n,i){var r=e.getData(),o=e.layoutInfo,a=this._mainGroup,s=e.get("layout");"radial"===s?a.attr("position",[o.x+o.width/2,o.y+o.height/2]):a.attr("position",[o.x,o.y]),this._updateViewCoordSys(e,o,s),this._updateController(e,t,n);var l=this._data,u={expandAndCollapse:e.get("expandAndCollapse"),layout:s,edgeShape:e.get("edgeShape"),edgeForkPosition:e.get("edgeForkPosition"),orient:e.getOrient(),curvature:e.get("lineStyle.curveness"),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};r.diff(l).add((function(t){x(r,t)&&w(r,t,null,a,e,u)})).update((function(t,n){var i=l.getItemGraphicEl(n);x(r,t)?w(r,t,i,a,e,u):i&&S(l,n,i,a,e,u)})).remove((function(t){var n=l.getItemGraphicEl(t);n&&S(l,t,n,a,e,u)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===u.expandAndCollapse&&r.eachItemGraphicEl((function(t,i){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:i})}))})),this._data=r},_updateViewCoordSys:function(e){var t=e.getData(),n=[];t.each((function(e){var i=t.getItemLayout(e);!i||isNaN(i.x)||isNaN(i.y)||n.push([+i.x,+i.y])}));var i=[],r=[];u.fromPoints(n,i,r);var o=this._min,a=this._max;r[0]-i[0]===0&&(i[0]=o?o[0]:i[0]-1,r[0]=a?a[0]:r[0]+1),r[1]-i[1]===0&&(i[1]=o?o[1]:i[1]-1,r[1]=a?a[1]:r[1]+1);var s=e.coordinateSystem=new c;s.zoomLimit=e.get("scaleLimit"),s.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1]),s.setCenter(e.get("center")),s.setZoom(e.get("zoom")),this.group.attr({position:s.position,scale:s.scale}),this._viewCoordSys=s,this._min=i,this._max=r},_updateController:function(e,t,n){var i=this._controller,r=this._controllerHost,o=this.group;i.setPointerChecker((function(t,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!p(t,n,e)})),i.enable(e.get("roam")),r.zoomLimit=e.get("scaleLimit"),r.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(t){h.updateViewOnPan(r,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})}),this).on("zoom",(function(t){h.updateViewOnZoom(r,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(e)}),this)},_updateNodeAndLinkScale:function(e){var t=e.getData(),n=this._getNodeGlobalScale(e),i=[n,n];t.eachItemGraphicEl((function(e,t){e.attr("scale",i)}))},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,i=t.scale,r=i&&i[0]||1,o=t.getZoom(),a=(o-1)*n+1;return a/r},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function x(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==e.getItemVisual(t,"symbol")}function _(e,t,n){return n.itemModel=t,n.itemStyle=t.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=t.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=t.getModel("lineStyle").getLineStyle(),n.labelModel=t.getModel("label"),n.hoverLabelModel=t.getModel("emphasis.label"),!1===e.isExpand&&0!==e.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function w(e,t,n,i,a,s){var l=!n,u=e.tree.getNodeByDataIndex(t),c=u.getModel(),h=(s=_(u,c,s),e.tree.root),d=u.parentNode===h?u:u.parentNode||u,f=e.getItemGraphicEl(d.dataIndex),p=d.getLayout(),g=f?{x:f.position[0],y:f.position[1],rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:p,m=u.getLayout();l?(n=new o(e,t,s),n.attr("position",[g.x,g.y])):n.updateData(e,t,s),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=m.rawX,n.__radialRawY=m.rawY,i.add(n),e.setItemGraphicEl(t,n),r.updateProps(n,{position:[m.x,m.y]},a);var v=n.getSymbolPath();if("radial"===s.layout){var y,b,x=h.children[0],w=x.getLayout(),S=x.children.length;if(m.x===w.x&&!0===u.isExpand){var k={};k.x=(x.children[0].getLayout().x+x.children[S-1].getLayout().x)/2,k.y=(x.children[0].getLayout().y+x.children[S-1].getLayout().y)/2,y=Math.atan2(k.y-w.y,k.x-w.x),y<0&&(y=2*Math.PI+y),b=k.x<w.x,b&&(y-=Math.PI)}else y=Math.atan2(m.y-w.y,m.x-w.x),y<0&&(y=2*Math.PI+y),0===u.children.length||0!==u.children.length&&!1===u.isExpand?(b=m.x<w.x,b&&(y-=Math.PI)):(b=m.x>w.x,b||(y-=Math.PI));var M=b?"left":"right",T=s.labelModel.get("rotate"),E=T*(Math.PI/180);v.setStyle({textPosition:s.labelModel.get("position")||M,textRotation:null==T?-y:E,textOrigin:"center",verticalAlign:"middle"})}C(a,u,h,n,g,p,m,i,s)}function C(e,t,n,o,a,s,l,u,c){var h=c.edgeShape,d=o.__edge;if("curve"===h)t.parentNode&&t.parentNode!==n&&(d||(d=o.__edge=new r.BezierCurve({shape:k(c,a,a),style:i.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),r.updateProps(d,{shape:k(c,s,l),style:i.defaults({opacity:1},c.lineStyle)},e));else if("polyline"===h&&"orthogonal"===c.layout&&t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var f=t.children,p=[],g=0;g<f.length;g++){var m=f[g].getLayout();p.push([m.x,m.y])}d||(d=o.__edge=new y({shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]],orient:c.orient,forkPosition:c.edgeForkPosition},style:i.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),r.updateProps(d,{shape:{parentPoint:[l.x,l.y],childPoints:p},style:i.defaults({opacity:1},c.lineStyle)},e)}u.add(d)}function S(e,t,n,i,o,a){var s,l=e.tree.getNodeByDataIndex(t),u=e.tree.root,c=l.getModel(),h=(a=_(l,c,a),l.parentNode===u?l:l.parentNode||l),d=a.edgeShape;while(s=h.getLayout(),null==s)h=h.parentNode===u?h:h.parentNode||h;r.updateProps(n,{position:[s.x+1,s.y+1]},o,(function(){i.remove(n),e.setItemGraphicEl(t,null)})),n.fadeOut(null,{keepLabel:!0});var f=e.getItemGraphicEl(h.dataIndex),p=f.__edge,g=n.__edge||(!1===h.isExpand||1===h.children.length?p:void 0);d=a.edgeShape;g&&("curve"===d?r.updateProps(g,{shape:k(a,s,s),style:{opacity:0}},o,(function(){i.remove(g)})):"polyline"===d&&"orthogonal"===a.layout&&r.updateProps(g,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},o,(function(){i.remove(g)})))}function k(e,t,n){var i,r,o,a,l,u,c,h,d=e.orient;if("radial"===e.layout){l=t.rawX,c=t.rawY,u=n.rawX,h=n.rawY;var f=s(l,c),p=s(l,c+(h-c)*e.curvature),g=s(u,h+(c-h)*e.curvature),m=s(u,h);return{x1:f.x,y1:f.y,x2:m.x,y2:m.y,cpx1:p.x,cpy1:p.y,cpx2:g.x,cpy2:g.y}}return l=t.x,c=t.y,u=n.x,h=n.y,"LR"!==d&&"RL"!==d||(i=l+(u-l)*e.curvature,r=c,o=u+(l-u)*e.curvature,a=h),"TB"!==d&&"BT"!==d||(i=l,r=c+(h-c)*e.curvature,o=u,a=h+(c-h)*e.curvature),{x1:l,y1:c,x2:u,y2:h,cpx1:i,cpy1:r,cpx2:o,cpy2:a}}e.exports=b},17481:function(e,t,n){n(57658);var i=n(7928);function r(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var t,n,i=[e];while(t=i.pop())if(n=t.children,t.isExpand&&n.length)for(var r=n.length,o=r-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}}function o(e,t){var n=e.isExpand?e.children:[],i=e.parentNode.children,r=e.hierNode.i?i[e.hierNode.i-1]:null;if(n.length){c(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(e.hierNode.prelim=r.hierNode.prelim+t(e,r),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else r&&(e.hierNode.prelim=r.hierNode.prelim+t(e,r));e.parentNode.hierNode.defaultAncestor=h(e,r,e.parentNode.hierNode.defaultAncestor||i[0],t)}function a(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function s(e){return arguments.length?e:m}function l(e,t){var n={};return e-=Math.PI/2,n.x=t*Math.cos(e),n.y=t*Math.sin(e),n}function u(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e){var t=e.children,n=t.length,i=0,r=0;while(--n>=0){var o=t[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}function h(e,t,n,i){if(t){var r=e,o=e,a=o.parentNode.children[0],s=t,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,h=s.hierNode.modifier;while(s=d(s),o=f(o),s&&o){r=d(r),a=f(a),r.hierNode.ancestor=e;var m=s.hierNode.prelim+h-o.hierNode.prelim-u+i(s,o);m>0&&(g(p(s,e,n),e,m),u+=m,l+=m),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!d(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!f(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=e)}return n}function d(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function f(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function p(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function g(e,t,n){var i=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=i,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=i}function m(e,t){return e.parentNode===t.parentNode?1:2}t.init=r,t.firstWalk=o,t.secondWalk=a,t.separation=s,t.radialCoordinate=l,t.getViewRect=u},71122:function(e,t,n){function i(e,t,n){var i,r=[e],o=[];while(i=r.pop())if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}while(i=o.pop())t(i,n)}function r(e,t){var n,i=[e];while(n=i.pop())if(t(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}n(57658),t.eachAfter=i,t.eachBefore=r},21744:function(e,t,n){var i=n(39405),r=n(42303),o=r.updateCenterAndZoom;i.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=e.dataIndex,i=t.getData().tree,r=i.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),i.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=t.coordinateSystem,i=o(n,e);t.setCenter&&t.setCenter(i.center),t.setZoom&&t.setZoom(i.zoom)}))}))},50924:function(e,t,n){var i=n(71122),r=i.eachAfter,o=i.eachBefore,a=n(17481),s=a.init,l=a.firstWalk,u=a.secondWalk,c=a.separation,h=a.radialCoordinate,d=a.getViewRect;function f(e,t){e.eachSeriesByType("tree",(function(e){p(e,t)}))}function p(e,t){var n=d(e,t);e.layoutInfo=n;var i=e.get("layout"),a=0,f=0,p=null;"radial"===i?(a=2*Math.PI,f=Math.min(n.height,n.width)/2,p=c((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(a=n.width,f=n.height,p=c());var g=e.getData().tree.root,m=g.children[0];if(m){s(g),r(m,l,p),g.hierNode.modifier=-m.hierNode.prelim,o(m,u);var v=m,y=m,b=m;o(m,(function(e){var t=e.getLayout().x;t<v.getLayout().x&&(v=e),t>y.getLayout().x&&(y=e),e.depth>b.depth&&(b=e)}));var x=v===y?1:p(v,y)/2,_=x-v.getLayout().x,w=0,C=0,S=0,k=0;if("radial"===i)w=a/(y.getLayout().x+x+_),C=f/(b.depth-1||1),o(m,(function(e){S=(e.getLayout().x+_)*w,k=(e.depth-1)*C;var t=h(S,k);e.setLayout({x:t.x,y:t.y,rawX:S,rawY:k},!0)}));else{var M=e.getOrient();"RL"===M||"LR"===M?(C=f/(y.getLayout().x+x+_),w=a/(b.depth-1||1),o(m,(function(e){k=(e.getLayout().x+_)*C,S="LR"===M?(e.depth-1)*w:a-(e.depth-1)*w,e.setLayout({x:S,y:k},!0)}))):"TB"!==M&&"BT"!==M||(w=a/(y.getLayout().x+x+_),C=f/(b.depth-1||1),o(m,(function(e){S=(e.getLayout().x+_)*w,k="TB"===M?(e.depth-1)*C:f-(e.depth-1)*C,e.setLayout({x:S,y:k},!0)})))}}}e.exports=f},85924:function(e,t,n){var i=n(39405);n(70818),n(91897),n(64769);var r=n(76329),o=n(68766);i.registerVisual(r),i.registerLayout(o)},68061:function(e,t,n){n(57658);var i=n(20594),r=n(7928),o=n(63122),a=n(45536),s=a.wrapTreePathInfo,l=8,u=8,c=5;function h(e){this.group=new i.Group,e.add(this.group)}function d(e,t,n,i,r,o){var a=[[r?e:e-c,t],[e+n,t],[e+n,t+i],[r?e:e-c,t+i]];return!o&&a.splice(2,0,[e+n+c,t+i/2]),!r&&a.push([e,t+i/2]),a}function f(e,t,n){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&s(n,t)}}h.prototype={constructor:h,render:function(e,t,n,i){var o=e.getModel("breadcrumb"),a=this.group;if(a.removeAll(),o.get("show")&&n){var s=o.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(e,u,s,l,i),r.positionElement(a,u.pos,u.box)}},_prepare:function(e,t,n){for(var i=e;i;i=i.parentNode){var r=i.getModel().get("name"),o=n.getTextRect(r),a=Math.max(o.width+2*l,t.emptyItemWidth);t.totalWidth+=a+u,t.renderList.push({node:i,text:r,width:a})}},_renderContent:function(e,t,n,a,s){for(var l=0,c=t.emptyItemWidth,h=e.get("breadcrumb.height"),p=r.getAvailableSize(t.pos,t.box),g=t.totalWidth,m=t.renderList,v=m.length-1;v>=0;v--){var y=m[v],b=y.node,x=y.width,_=y.text;g>p.width&&(g-=x-c,x=c,_=null);var w=new i.Polygon({shape:{points:d(l,0,x,h,v===m.length-1,0===v)},style:o.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:o.curry(s,b)});this.group.add(w),f(w,e,b),l+=x+u}},remove:function(){this.group.removeAll()}};var p=h;e.exports=p},70818:function(e,t,n){var i=n(63122),r=n(48154),o=n(67535),a=n(90350),s=n(18906),l=s.encodeHTML,u=s.addCommas,c=n(45536),h=c.wrapTreePathInfo,d=r.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,t){var n={name:e.name,children:e.data};f(n);var r=e.levels||[],s=this.designatedVisualItemStyle={},l=new a({itemStyle:s},this,t);r=e.levels=p(r,t);var u=i.map(r||[],(function(e){return new a(e,l,t)}),this),c=o.createTree(n,this,h);function h(e){e.wrapMethod("getItemModel",(function(e,t){var n=c.getNodeByDataIndex(t),i=u[n.depth];return e.parentModel=i||l,e}))}return c.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),r=i.isArray(n)?u(n[0]):u(n),o=t.getName(e);return l(o+": "+r)},getDataParams:function(e){var t=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=h(n,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function f(e){var t=0;i.each(e.children,(function(e){f(e);var n=e.value;i.isArray(n)&&(n=n[0]),t+=n}));var n=e.value;i.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),i.isArray(e.value)?e.value[0]=n:e.value=n}function p(e,t){var n=t.get("color");if(n){var r;if(e=e||[],i.each(e,(function(e){var t=new a(e),n=t.get("color");(t.get("itemStyle.color")||n&&"none"!==n)&&(r=!0)})),!r){var o=e[0]||(e[0]={});o.color=n.slice()}return e}}e.exports=d},91897:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(20594),a=n(85098),s=n(45536),l=n(68061),u=n(56738),c=n(46630),h=n(97333),d=n(89760),f=n(33555),p=n(18906),g=p.windowOpen,m=r.bind,v=o.Group,y=o.Rect,b=r.each,x=3,_=["label"],w=["emphasis","label"],C=["upperLabel"],S=["emphasis","upperLabel"],k=10,M=1,T=2,E=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),D=function(e){var t=E(e);return t.stroke=t.fill=t.lineWidth=null,t},P=i.extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=O(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(e,t,n,i){var o=t.findComponents({mainType:"series",subType:"treemap",query:i});if(!(r.indexOf(o,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var a=["treemapZoomToNode","treemapRootToNode"],l=s.retrieveTargetInfo(i,a,e),u=i&&i.type,c=e.layoutInfo,h=!this._oldTree,d=this._storage,f="treemapRootToNode"===u&&l&&d?{rootNodeGroup:d.nodeGroup[l.node.getRawIndex()],direction:i.direction}:null,p=this._giveContainerGroup(c),g=this._doRender(p,e,f);h||u&&"treemapZoomToNode"!==u&&"treemapRootToNode"!==u?g.renderFinally():this._doAnimation(p,g,e,f),this._resetController(n),this._renderBreadcrumb(e,n,l)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new v,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,n){var i=t.getData().tree,o=this._oldTree,s=O(),l=O(),u=this._storage,c=[],h=r.curry(I,t,l,u,n,s,c);f(i.root?[i.root]:[],o&&o.root?[o.root]:[],e,i===o||!o,0);var d=p(u);return this._oldTree=i,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:g};function f(e,t,n,i,o){function s(e){return e.getId()}function l(r,a){var s=null!=r?e[r]:null,l=null!=a?t[a]:null,u=h(s,l,n,o);u&&f(s&&s.viewChildren||[],l&&l.viewChildren||[],u,i,o+1)}i?(t=e,b(e,(function(e,t){!e.isRemoved()&&l(t,t)}))):new a(t,e,s,s).add(l).update(l).remove(r.curry(l,null)).execute()}function p(e){var t=O();return e&&b(e,(function(e,n){var i=t[n];b(e,(function(e){e&&(i.push(e),e.__tmWillDelete=1)}))})),t}function g(){b(d,(function(e){b(e,(function(e){e.parent&&e.parent.remove(e)}))})),b(c,(function(e){e.invisible=!0,e.dirty()}))}},_doAnimation:function(e,t,n,i){if(n.get("animation")){var o=n.get("animationDurationUpdate"),a=n.get("animationEasing"),s=d.createWrap();b(t.willDeleteEls,(function(e,t){b(e,(function(e,n){if(!e.invisible){var r,l=e.parent;if(i&&"drillDown"===i.direction)r=l===i.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),r="nodeGroup"===t?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}r&&s.add(e,r,o,a)}}))})),b(this._storage,(function(e,n){b(e,(function(e,i){var l=t.lastsForAnimation[n][i],u={};l&&("nodeGroup"===n?l.old&&(u.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(u.shape=r.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),u.style={opacity:1}):1!==e.style.opacity&&(u.style={opacity:1})),s.add(e,u,o,a))}))}),this),this._state="animating",s.done(m((function(){this._state="ready",t.renderFinally()}),this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new u(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",m(this._onPan,this)),t.on("zoom",m(this._onZoom,this)));var n=new c(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,i){return n.contain(t,i)}))},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e){if("animating"!==this._state&&(Math.abs(e.dx)>x||Math.abs(e.dy)>x)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},_onZoom:function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new c(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;t-=a.x,n-=a.y;var s=h.create();h.translate(s,s,[-t,-n]),h.scale(s,s,[e.scale,e.scale]),h.translate(s,s,[t,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(e){e.on("click",(function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var n=this.findTarget(e.offsetX,e.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===t)this._zoomToNode(n);else if("link"===t){var r=i.hostTree.data.getItemModel(i.dataIndex),o=r.get("link",!0),a=r.get("target",!0)||"blank";o&&g(o,a)}}}}}),this)},_renderBreadcrumb:function(e,t,n){function i(t){"animating"!==this._state&&(s.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),n||(n={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,n.node,m(i,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=O(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(e,t),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 O(){return{nodeGroup:[],background:[],content:[]}}function I(e,t,n,i,a,s,l,u,c,h){if(l){var d=l.getLayout(),f=e.getData();if(f.setItemGraphicEl(l.dataIndex,null),d&&d.isInView){var p=d.width,g=d.height,m=d.borderWidth,b=d.invisible,x=l.getRawIndex(),k=u&&u.getRawIndex(),P=l.viewChildren,O=d.upperHeight,I=P&&P.length,L=l.getModel("itemStyle"),N=l.getModel("emphasis.itemStyle"),R=G("nodeGroup",v);if(R){if(c.add(R),R.attr("position",[d.x||0,d.y||0]),R.__tmNodeWidth=p,R.__tmNodeHeight=g,d.isAboveViewRoot)return R;var z=l.getModel(),$=G("background",y,h,M);if($&&F(R,$,I&&d.upperLabelHeight),I)o.isHighDownDispatcher(R)&&o.setAsHighDownDispatcher(R,!1),$&&(o.setAsHighDownDispatcher($,!0),f.setItemGraphicEl(l.dataIndex,$));else{var B=G("content",y,h,T);B&&j(R,B),$&&o.isHighDownDispatcher($)&&o.setAsHighDownDispatcher($,!1),o.setAsHighDownDispatcher(R,!0),f.setItemGraphicEl(l.dataIndex,R)}return R}}}function F(t,n,i){if(n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:p,height:g}),b)V(n);else{n.invisible=!1;var r=l.getVisual("borderColor",!0),a=N.get("borderColor"),s=D(L);s.fill=r;var u=E(N);if(u.fill=a,i){var c=p-2*m;H(s,u,r,c,O,{x:m,y:0,width:c,height:O})}else s.text=u.text=null;n.setStyle(s),o.setElementHoverStyle(n,u)}t.add(n)}function j(t,n){n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex;var i=Math.max(p-2*m,0),r=Math.max(g-2*m,0);if(n.culling=!0,n.setShape({x:m,y:m,width:i,height:r}),b)V(n);else{n.invisible=!1;var a=l.getVisual("color",!0),s=D(L);s.fill=a;var u=E(N);H(s,u,a,i,r),n.setStyle(s),o.setElementHoverStyle(n,u)}t.add(n)}function V(e){!e.invisible&&s.push(e)}function H(t,n,i,a,s,u){var c=z.get("name"),h=z.getModel(u?C:_),f=z.getModel(u?S:w),p=h.getShallow("show");o.setLabelStyle(t,n,h,f,{defaultText:p?c:null,autoColor:i,isRectText:!0,labelFetcher:e,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),W(t,u,d),W(n,u,d),u&&(t.textRect=r.clone(u)),t.truncate=p&&h.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function W(t,n,i){var r=t.text;if(!n&&i.isLeafRoot&&null!=r){var o=e.get("drillDownIcon",!0);t.text=o?o+" "+r:r}}function G(e,i,r,o){var s=null!=k&&n[e][k],l=a[e];return s?(n[e][k]=null,q(l,s,e)):b||(s=new i({z:A(r,o)}),s.__tmDepth=r,s.__tmStorageName=e,U(l,s,e)),t[e][x]=s}function q(e,t,n){var i=e[x]={};i.old="nodeGroup"===n?t.position.slice():r.extend({},t.shape)}function U(e,t,n){var r=e[x]={},o=l.parentNode;if(o&&(!i||"drillDown"===i.direction)){var s=0,u=0,c=a.background[o.getRawIndex()];!i&&c&&c.old&&(s=c.old.width,u=c.old.height),r.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}r.fadein="nodeGroup"!==n}}function A(e,t){var n=e*k+t;return(n-1)/n}e.exports=P},64769:function(e,t,n){for(var i=n(39405),r=n(45536),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(e,t){function n(t,n){var i=["treemapZoomToNode","treemapRootToNode"],o=r.retrieveTargetInfo(e,i,t);if(o){var a=t.getViewRoot();a&&(e.direction=r.aboveViewRoot(a,o.node)?"rollUp":"drillDown"),t.resetViewRoot(o.node)}}t.eachComponent({mainType:"series",subType:"treemap",query:e},n)}))},68766:function(e,t,n){n(57658);var i=n(63122),r=n(46630),o=n(43789),a=o.parsePercent,s=o.MAX_SAFE_INTEGER,l=n(7928),u=n(45536),c=Math.max,h=Math.min,d=i.retrieve,f=i.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(e,t,n,o){var s=n.getWidth(),c=n.getHeight(),h=e.option,p=l.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),g=h.size||[],m=a(d(p.width,g[0]),s),v=a(d(p.height,g[1]),c),y=o&&o.type,x=["treemapZoomToNode","treemapRootToNode"],_=u.retrieveTargetInfo(o,x,e),w="treemapRender"===y||"treemapMove"===y?o.rootRect:null,C=e.getViewRoot(),S=u.getPathToRoot(C);if("treemapMove"!==y){var k="treemapZoomToNode"===y?M(e,_,C,m,v):w?[w.width,w.height]:[m,v],D=h.sort;D&&"asc"!==D&&"desc"!==D&&(D="desc");var P={squareRatio:h.squareRatio,sort:D,leafDepth:h.leafDepth};C.hostTree.clearLayouts();var O={x:0,y:0,width:k[0],height:k[1],area:k[0]*k[1]};C.setLayout(O),b(C,P,!1,0);O=C.getLayout();f(S,(function(e,t){var n=(S[t+1]||C).getValue();e.setLayout(i.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},O))}))}var I=e.getData().tree.root;I.setLayout(T(p,w,_),!0),e.setLayoutInfo(p),E(I,new r(-p.x,-p.y,s,c),S,C,0)}};function b(e,t,n,i){var r,o;if(!e.isRemoved()){var a=e.getLayout();r=a.width,o=a.height;var s=e.getModel(),l=s.get(p),u=s.get(g)/2,d=D(s),f=Math.max(l,d),m=l-u,v=f-u;s=e.getModel();e.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:d},!0),r=c(r-2*m,0),o=c(o-m-v,0);var y=r*o,_=x(e,s,y,t,n,i);if(_.length){var w={x:m,y:v,width:r,height:o},C=h(r,o),M=1/0,T=[];T.area=0;for(var E=0,P=_.length;E<P;){var O=_[E];T.push(O),T.area+=O.getLayout().area;var I=S(T,C,t.squareRatio);I<=M?(E++,M=I):(T.area-=T.pop().getLayout().area,k(T,C,w,u,!1),C=h(w.width,w.height),T.length=T.area=0,M=1/0)}if(T.length&&k(T,C,w,u,!0),!n){var A=s.get("childrenVisibleMin");null!=A&&y<A&&(n=!0)}for(E=0,P=_.length;E<P;E++)b(_[E],t,n,i+1)}}}function x(e,t,n,r,o,a){var s=e.children||[],l=r.sort;"asc"!==l&&"desc"!==l&&(l=null);var u=null!=r.leafDepth&&r.leafDepth<=a;if(o&&!u)return e.viewChildren=[];s=i.filter(s,(function(e){return!e.isRemoved()})),w(s,l);var c=C(t,s,l);if(0===c.sum)return e.viewChildren=[];if(c.sum=_(t,n,c.sum,l,s),0===c.sum)return e.viewChildren=[];for(var h=0,d=s.length;h<d;h++){var f=s[h].getValue()/c.sum*n;s[h].setLayout({area:f})}return u&&(s.length&&e.setLayout({isLeafRoot:!0},!0),s.length=0),e.viewChildren=s,e.setLayout({dataExtent:c.dataExtent},!0),s}function _(e,t,n,i,r){if(!i)return n;for(var o=e.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*t<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}function w(e,t){return t&&e.sort((function(e,n){var i="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===i?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:i})),e}function C(e,t,n){for(var i=0,r=0,o=t.length;r<o;r++)i+=t[r].getValue();var a=e.get("visualDimension");if(t&&t.length)if("value"===a&&n)s=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&s.reverse();else{var s=[1/0,-1/0];f(t,(function(e){var t=e.getValue(a);t<s[0]&&(s[0]=t),t>s[1]&&(s[1]=t)}))}else s=[NaN,NaN];return{sum:i,dataExtent:s}}function S(e,t,n){for(var i,r=0,o=1/0,a=0,s=e.length;a<s;a++)i=e[a].getLayout().area,i&&(i<o&&(o=i),i>r&&(r=i));var l=e.area*e.area,u=t*t*n;return l?c(u*r/l,l/(u*o)):1/0}function k(e,t,n,i,r){var o=t===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],d=t?e.area/t:0;(r||d>n[l[a]])&&(d=n[l[a]]);for(var f=0,p=e.length;f<p;f++){var g=e[f],m={},v=d?g.getLayout().area/d:0,y=m[l[a]]=c(d-2*i,0),b=n[s[o]]+n[l[o]]-u,x=f===p-1||b<v?b:v,_=m[l[o]]=c(x-2*i,0);m[s[a]]=n[s[a]]+h(i,y/2),m[s[o]]=u+h(i,_/2),u+=x,g.setLayout(m,!0)}n[s[a]]+=d,n[l[a]]-=d}function M(e,t,n,i,r){var o,a=(t||{}).node,l=[i,r];if(!a||a===n)return l;var u=i*r,c=u*e.option.zoomToNodeRatio;while(o=a.parentNode){for(var h=0,d=o.children,f=0,g=d.length;f<g;f++)h+=d[f].getValue();var m=a.getValue();if(0===m)return l;c*=h/m;var v=o.getModel(),y=v.get(p),b=Math.max(y,D(v,y));c+=4*y*y+(3*y+b)*Math.pow(c,.5),c>s&&(c=s),a=o}c<u&&(c=u);var x=Math.pow(c/u,.5);return[i*x,r*x]}function T(e,t,n){if(t)return{x:t.x,y:t.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;var a=[o.width/2,o.height/2],s=r;while(s){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}function E(e,t,n,i,o){var a=e.getLayout(),s=n[o],l=s&&s===e;if(!(s&&!l||o===n.length&&e!==i)){e.setLayout({isInView:!0,invisible:!l&&!t.intersect(a),isAboveViewRoot:l},!0);var u=new r(t.x-a.x,t.y-a.y,t.width,t.height);f(e.viewChildren||[],(function(e){E(e,u,n,i,o+1)}))}}function D(e){return e.get(m)?e.get(v):0}e.exports=y},76329:function(e,t,n){var i=n(81313),r=n(7471),o=n(63122),a=o.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(e,t,n,i){var r=e.getData().tree,o=r.root;o.isRemoved()||u(o,{},e.getViewRoot().getAncestors(),e)}};function u(e,t,n,i){var r=e.getModel(),a=e.getLayout();if(a&&!a.invisible&&a.isInView){var l,f=e.getModel(s),g=c(f,t,i),v=f.get("borderColor"),y=f.get("borderColorSaturation");null!=y&&(l=h(g,e),v=d(y,l)),e.setVisual("borderColor",v);var b=e.viewChildren;if(b&&b.length){var x=p(e,r,a,f,g,b);o.each(b,(function(e,t){if(e.depth>=n.length||e===n[e.depth]){var o=m(r,g,e,t,x,i);u(e,o,n,i)}}))}else l=h(g,e),e.setVisual("color",l)}}function c(e,t,n){var i=o.extend({},t),r=n.designatedVisualItemStyle;return o.each(["color","colorAlpha","colorSaturation"],(function(n){r[n]=t[n];var o=e.get(n);r[n]=null,null!=o&&(i[n]=o)})),i}function h(e){var t=f(e,"color");if(t){var n=f(e,"colorAlpha"),i=f(e,"colorSaturation");return i&&(t=r.modifyHSL(t,null,null,i)),n&&(t=r.modifyAlpha(t,n)),t}}function d(e,t){return null!=t?r.modifyHSL(t,null,null,e):null}function f(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function p(e,t,n,r,o,a){if(a&&a.length){var s=g(t,"color")||null!=o.color&&"none"!==o.color&&(g(t,"colorAlpha")||g(t,"colorSaturation"));if(s){var l=t.get("visualMin"),u=t.get("visualMax"),c=n.dataExtent.slice();null!=l&&l<c[0]&&(c[0]=l),null!=u&&u>c[1]&&(c[1]=u);var h=t.get("colorMappingBy"),d={type:s.name,dataExtent:c,visual:s.range};"color"!==d.type||"index"!==h&&"id"!==h?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var f=new i(d);return f.__drColorMappingBy=h,f}}}function g(e,t){var n=e.get(t);return a(n)&&n.length?{name:t,range:n}:null}function m(e,t,n,i,r,a){var s=o.extend({},t);if(r){var l=r.type,u="color"===l&&r.__drColorMappingBy,c="index"===u?i:"id"===u?a.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));s[l]=r.mapValueToVisual(c)}return s}e.exports=l},78009:function(e,t,n){n(98070),n(72771)},18652:function(e,t,n){n(29320),n(12340)},47545:function(e,t,n){var i=n(39405),r=n(63122),o=n(35314),a=n(76268);n(32493),n(19559),n(65881),i.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!r.isArray(t)&&(e.axisPointer.link=[t])}})),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=o.collect(e,t)})),i.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},a)},32493:function(e,t,n){var i=n(39405),r=i.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),o=r;e.exports=o},19559:function(e,t,n){var i=n(39405),r=n(54454),o=i.extendComponentView({type:"axisPointer",render:function(e,t,n){var i=t.getComponent("tooltip"),o=e.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";r.register("axisPointer",n,(function(e,t,n){"none"!==o&&("leave"===e||o.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},remove:function(e,t){r.unregister(t.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(e,t){r.unregister("axisPointer",t),o.superApply(this._model,"dispose",arguments)}}),a=o;e.exports=a},75120:function(e,t,n){var i=n(63122),r=n(9040),o=n(20594),a=n(35314),s=n(13199),l=n(14243),u=n(46458),c=u.makeInner,h=c(),d=i.clone,f=i.bind;function p(){}function g(e,t,n,i){m(h(n).lastProp,i)||(h(n).lastProp=i,t?o.updateProps(n,i,e):(n.stopAnimation(),n.attr(i)))}function m(e,t){if(i.isObject(e)&&i.isObject(t)){var n=!0;return i.each(t,(function(t,i){n=n&&m(e[i],t)})),!!n}return e===t}function v(e,t){e[t.get("label.show")?"show":"hide"]()}function y(e){return{position:e.position.slice(),rotation:e.rotation||0}}function b(e,t,n){var i=t.get("z"),r=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=i&&(e.z=i),null!=r&&(e.zlevel=r),e.silent=n)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,n,r){var a=t.get("value"),s=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,r||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,a,e,t,n);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(e,t);if(l){var f=i.curry(g,t,d);this.updatePointerEl(l,c,f,t),this.updateLabelEl(l,c,f,t)}else l=this._group=new o.Group,this.createPointerEl(l,c,e,t),this.createLabelEl(l,c,e,t),n.getZr().add(l);b(l,t,!0),this._renderHandle(a)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var n=t.get("animation"),i=e.axis,r="category"===i.type,o=t.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(r&&i.getBandWidth()>s)return!0;if(o){var l=a.getAxisInfo(e).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(e,t,n,i,r){},createPointerEl:function(e,t,n,i){var r=t.pointer;if(r){var a=h(e).pointerEl=new o[r.type](d(t.pointer));e.add(a)}},createLabelEl:function(e,t,n,i){if(t.label){var r=h(e).labelEl=new o.Rect(d(t.label));e.add(r),v(r,i)}},updatePointerEl:function(e,t,n){var i=h(e).pointerEl;i&&t.pointer&&(i.setStyle(t.pointer.style),n(i,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,n,i){var r=h(e).labelEl;r&&(r.setStyle(t.label.style),n(r,{shape:t.label.shape,position:t.label.position}),v(r,i))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,u=n.getModel("handle"),c=n.get("status");if(!u.get("show")||!c||"hide"===c)return a&&r.remove(a),void(this._handle=null);this._handle||(t=!0,a=this._handle=o.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){s.stop(e.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),r.add(a)),b(a,n,!1);var h=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];a.setStyle(u.getItemStyle(null,h));var d=u.get("size");i.isArray(d)||(d=[d,d]),a.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){g(this._axisPointerModel,!t&&this._moveAnimation,this._handle,y(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(y(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(y(i)),h(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var e=this._handle;if(e){var t=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},_onHandleDragEnd:function(e){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,i=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),i&&t.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}},p.prototype.constructor=p,r.enableClassExtend(p);var x=p;e.exports=x},65881:function(e,t,n){var i=n(75120),r=n(9432),o=n(99722),a=n(99524),s=i.extend({makeElOption:function(e,t,n,i,a){var s=n.axis,c=s.grid,h=i.get("type"),d=l(c,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(t,!0));if(h&&"none"!==h){var p=r.buildElStyle(i),g=u[h](s,f,d);g.style=p,e.graphicKey=g.type,e.pointer=g}var m=o.layout(c.model,n);r.buildCartesianSingleLabelElOption(t,e,m,n,i,a)},getHandleTransform:function(e,t,n){var i=o.layout(t.axis.grid.model,t,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(t.axis,e,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=l(o,r).getOtherAxis(r).getGlobalExtent(),u="x"===r.dim?0:1,c=e.position;c[u]+=t[u],c[u]=Math.min(a[1],c[u]),c[u]=Math.max(a[0],c[u]);var h=(s[1]+s[0])/2,d=[h,h];d[u]=c[u];var f=[{verticalAlign:"middle"},{align:"center"}];return{position:c,rotation:e.rotation,cursorPoint:d,tooltipOption:f[u]}}});function l(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var u={line:function(e,t,n){var i=r.makeLineShape([t,n[0]],[t,n[1]],c(e));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(e,t,n){var i=Math.max(1,e.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:r.makeRectShape([t-i/2,n[0]],[i,o],c(e))}}};function c(e){return"x"===e.dim?0:1}a.registerAxisPointerClass("CartesianAxisPointer",s);var h=s;e.exports=h},94388:function(e,t,n){var i=n(18906),r=n(75120),o=n(20594),a=n(9432),s=n(97333),l=n(71704),u=n(99524),c=r.extend({makeElOption:function(e,t,n,r,o){var s=n.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,u=s.polar,c=u.getOtherAxis(s),f=c.getExtent();l=s["dataTo"+i.capitalFirst(s.dim)](t);var p=r.get("type");if(p&&"none"!==p){var g=a.buildElStyle(r),m=d[p](s,u,l,f,g);m.style=g,e.graphicKey=m.type,e.pointer=m}var v=r.get("label.margin"),y=h(t,n,r,u,v);a.buildLabelElOption(e,n,r,o,y)}});function h(e,t,n,i,r){var a=t.axis,u=a.dataToCoord(e),c=i.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var h,d,f,p=i.getRadiusAxis().getExtent();if("radius"===a.dim){var g=s.create();s.rotate(g,g,c),s.translate(g,g,[i.cx,i.cy]),h=o.applyTransform([u,-r],g);var m=t.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(c,m*Math.PI/180,-1);d=v.textAlign,f=v.textVerticalAlign}else{var y=p[1];h=i.coordToPoint([y+r,u]);var b=i.cx,x=i.cy;d=Math.abs(h[0]-b)/y<.3?"center":h[0]>b?"left":"right",f=Math.abs(h[1]-x)/y<.3?"middle":h[1]>x?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}var d={line:function(e,t,n,i,r){return"angle"===e.dim?{type:"Line",shape:a.makeLineShape(t.coordToPoint([i[0],n]),t.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,i,r){var o=Math.max(1,e.getBandWidth()),s=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:a.makeSectorShape(t.cx,t.cy,i[0],i[1],(-n-o/2)*s,(o/2-n)*s)}:{type:"Sector",shape:a.makeSectorShape(t.cx,t.cy,n-o/2,n+o/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var f=c;e.exports=f},94142:function(e,t,n){var i=n(75120),r=n(9432),o=n(63954),a=n(99524),s=["x","y"],l=["width","height"],u=i.extend({makeElOption:function(e,t,n,i,a){var s=n.axis,l=s.coordinateSystem,u=d(l,1-h(s)),f=l.dataToPoint(t)[0],p=i.get("type");if(p&&"none"!==p){var g=r.buildElStyle(i),m=c[p](s,f,u);m.style=g,e.graphicKey=m.type,e.pointer=m}var v=o.layout(n);r.buildCartesianSingleLabelElOption(t,e,v,n,i,a)},getHandleTransform:function(e,t,n){var i=o.layout(t,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(t.axis,e,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,i){var r=n.axis,o=r.coordinateSystem,a=h(r),s=d(o,a),l=e.position;l[a]+=t[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=d(o,1-a),c=(u[1]+u[0])/2,f=[c,c];return f[a]=l[a],{position:l,rotation:e.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(e,t,n){var i=r.makeLineShape([t,n[0]],[t,n[1]],h(e));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(e,t,n){var i=e.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:r.makeRectShape([t-i/2,n[0]],[i,o],h(e))}}};function h(e){return e.isHorizontal()?0:1}function d(e,t){var n=e.getRect();return[n[s[t]],n[s[t]]+n[l[t]]]}a.registerAxisPointerClass("SingleAxisPointer",u);var f=u;e.exports=f},76268:function(e,t,n){n(57658);var i=n(63122),r=n(46458),o=r.makeInner,a=n(35314),s=n(46043),l=i.each,u=i.curry,c=o();function h(e,t,n){var r=e.currTrigger,o=[e.x,e.y],a=e,c=e.dispatchAction||i.bind(n.dispatchAction,n),h=t.getComponent("axisPointer").coordSysAxesInfo;if(h){_(o)&&(o=s({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var f=_(o),w=a.axesInfo,C=h.axesInfo,S="leave"===r||_(o),k={},M={},T={list:[],map:{}},E={showPointer:u(p,M),showTooltip:u(g,T)};l(h.coordSysMap,(function(e,t){var n=f||e.containPoint(o);l(h.coordSysAxesInfo[t],(function(e,t){var i=e.axis,r=b(w,e);if(!S&&n&&(!w||r)){var a=r&&r.value;null!=a||f||(a=i.pointToData(o)),null!=a&&d(e,a,E,!1,k)}}))}));var D={};return l(C,(function(e,t){var n=e.linkGroup;n&&!M[t]&&l(n.axesInfo,(function(t,i){var r=M[i];if(t!==e&&r){var o=r.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,x(t),x(e)))),D[e.key]=o}}))})),l(D,(function(e,t){d(C[t],e,E,!0,k)})),m(M,C,k),v(T,o,e,c),y(C,c,n),k}}function d(e,t,n,r,o){var a=e.axis;if(!a.scale.isBlank()&&a.containData(t))if(e.involveSeries){var s=f(t,e),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==o.seriesIndex&&i.extend(o,l[0]),!r&&e.snap&&a.containData(u)&&null!=u&&(t=u),n.showPointer(e,t,l,o),n.showTooltip(e,s,u)}else n.showPointer(e,t)}function f(e,t){var n=t.axis,i=n.dim,r=e,o=[],a=Number.MAX_VALUE,s=-1;return l(t.seriesModels,(function(t,u){var c,h,d=t.getData().mapDimension(i,!0);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(d,e,n);h=f.dataIndices,c=f.nestestValue}else{if(h=t.getData().indicesOfNearest(d[0],e,"category"===n.type?.5:null),!h.length)return;c=t.getData().get(d[0],h[0])}if(null!=c&&isFinite(c)){var p=e-c,g=Math.abs(p);g<=a&&((g<a||p>=0&&s<0)&&(a=g,s=p,r=c,o.length=0),l(h,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:r}}function p(e,t,n,i){e[t.key]={value:n,payloadBatch:i}}function g(e,t,n,i){var r=n.payloadBatch,o=t.axis,s=o.model,l=t.axisPointerModel;if(t.triggerTooltip&&r.length){var u=t.coordSys.model,c=a.makeKey(u),h=e.map[c];h||(h=e.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},e.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:i,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:r.slice()})}}function m(e,t,n){var i=n.axesInfo=[];l(t,(function(t,n){var r=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:r.value})}))}function v(e,t,n,i){if(!_(t)&&e.list.length){var r=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:e.list})}else i({type:"hideTip"})}function y(e,t,n){var r=n.getZr(),o="axisPointerLastHighlights",a=c(r)[o]||{},s=c(r)[o]={};l(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&l(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;s[t]=e}))}));var u=[],h=[];i.each(a,(function(e,t){!s[t]&&h.push(e)})),i.each(s,(function(e,t){!a[t]&&u.push(e)})),h.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),u.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function b(e,t){for(var n=0;n<(e||[]).length;n++){var i=e[n];if(t.axis.dim===i.axisDim&&t.axis.model.componentIndex===i.axisIndex)return i}}function x(e){var t=e.axis.model,n={},i=n.axisDim=e.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=t.componentIndex,n.axisName=n[i+"AxisName"]=t.name,n.axisId=n[i+"AxisId"]=t.id,n}function _(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}e.exports=h},46043:function(e,t,n){var i=n(63122),r=n(46458);function o(e,t){var n,o=[],a=e.seriesIndex;if(null==a||!(n=t.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.queryDataIndex(s,e);if(null==l||l<0||i.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)o=c.dataToPoint(s.getValues(i.map(c.dimensions,(function(e){return s.mapDimension(e)})),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),o=[h.x+h.width/2,h.y+h.height/2]}return{point:o,el:u}}e.exports=o},54454:function(e,t,n){n(57658);var i=n(63122),r=n(95160),o=n(46458),a=o.makeInner,s=a(),l=i.each;function u(e,t,n){if(!r.node){var i=t.getZr();s(i).records||(s(i).records={}),c(i,t);var o=s(i).records[e]||(s(i).records[e]={});o.handler=n}}function c(e,t){function n(n,i){e.on(n,(function(n){var r=p(t);l(s(e).records,(function(e){e&&i(e,n,r.dispatchAction)})),h(r.pendings,t)}))}s(e).initialized||(s(e).initialized=!0,n("click",i.curry(f,"click")),n("mousemove",i.curry(f,"mousemove")),n("globalout",d))}function h(e,t){var n,i=e.showTip.length,r=e.hideTip.length;i?n=e.showTip[i-1]:r&&(n=e.hideTip[r-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function d(e,t,n){e.handler("leave",null,n)}function f(e,t,n,i){t.handler(e,n,i)}function p(e){var t={showTip:[],hideTip:[]},n=function(i){var r=t[i.type];r?r.push(i):(i.dispatchAction=n,e.dispatchAction(i))};return{dispatchAction:n,pendings:t}}function g(e,t){if(!r.node){var n=t.getZr(),i=(s(n).records||{})[e];i&&(s(n).records[e]=null)}}t.register=u,t.unregister=g},35314:function(e,t,n){n(57658);var i=n(63122),r=n(90350),o=i.each,a=i.curry;function s(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(n,e,t),n.seriesInvolved&&c(n,e),n}function l(e,t,n){var i=t.getComponent("tooltip"),r=t.getComponent("axisPointer"),s=r.get("link",!0)||[],l=[];o(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var c=v(n.model),d=e.coordSysAxesInfo[c]={};e.coordSysMap[c]=n;var f=n.model,p=f.getModel("tooltip",i);if(o(n.getAxes(),a(x,!1,null)),n.getTooltipAxes&&i&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),b=n.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&o(b.baseAxes,a(x,!y||"cross",g)),y&&o(b.otherAxes,a(x,"cross",!1))}}function x(i,o,a){var c=a.model.getModel("axisPointer",r),f=c.get("show");if(f&&("auto"!==f||i||m(c))){null==o&&(o=c.get("triggerTooltip")),c=i?u(a,p,r,t,i,o):c;var g=c.get("snap"),y=v(a.model),b=o||g||"category"===a.type,x=e.axesInfo[y]={key:y,axis:a,coordSys:n,axisPointerModel:c,triggerTooltip:o,involveSeries:b,snap:g,useHandle:m(c),seriesModels:[]};d[y]=x,e.seriesInvolved|=b;var _=h(s,a);if(null!=_){var w=l[_]||(l[_]={axesInfo:{}});w.axesInfo[y]=x,w.mapper=s[_].mapper,x.linkGroup=w}}}}))}function u(e,t,n,a,s,l){var u=t.getModel("axisPointer"),c={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){c[e]=i.clone(u.get(e))})),c.snap="category"!==e.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=u.get("label.show");if(h.show=null==d||d,!l){var f=c.lineStyle=u.get("crossStyle");f&&i.defaults(h,f.textStyle)}}return e.model.getModel("axisPointer",new r(c,n,a))}function c(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,i=t.get("tooltip.trigger",!0),r=t.get("tooltip.show",!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==t.get("axisPointer.show",!0)&&o(e.coordSysAxesInfo[v(n.model)],(function(e){var i=e.axis;n.getAxis(i.dim)===i&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}),this)}function h(e,t){for(var n=t.model,i=t.dim,r=0;r<e.length;r++){var o=e[r]||{};if(d(o[i+"AxisId"],n.id)||d(o[i+"AxisIndex"],n.componentIndex)||d(o[i+"AxisName"],n.name))return r}}function d(e,t){return"all"===e||i.isArray(e)&&i.indexOf(e,t)>=0||e===t}function f(e){var t=p(e);if(t){var n=t.axisPointerModel,i=t.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=m(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=t.axis.scale.isBlank()?"hide":"show")}}function p(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[v(e)]}function g(e){var t=p(e);return t&&t.axisPointerModel}function m(e){return!!e.get("handle.show")}function v(e){return e.type+"||"+e.id}t.collect=s,t.fixValue=f,t.getAxisInfo=p,t.getAxisPointerModel=g,t.makeKey=v},9432:function(e,t,n){n(57658);var i=n(63122),r=n(20594),o=n(2278),a=n(18906),s=n(97333),l=n(3019),u=n(71704);function c(e){var t,n=e.get("type"),i=e.getModel(n+"Style");return"line"===n?(t=i.getLineStyle(),t.fill=null):"shadow"===n&&(t=i.getAreaStyle(),t.stroke=null),t}function h(e,t,n,i,r){var s=n.get("value"),l=f(s,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),u=n.getModel("label"),c=a.normalizeCssArray(u.get("padding")||0),h=u.getFont(),p=o.getBoundingRect(l,h),g=r.position,m=p.width+c[1]+c[3],v=p.height+c[0]+c[2],y=r.align;"right"===y&&(g[0]-=m),"center"===y&&(g[0]-=m/2);var b=r.verticalAlign;"bottom"===b&&(g[1]-=v),"middle"===b&&(g[1]-=v/2),d(g,m,v,i);var x=u.get("backgroundColor");x&&"auto"!==x||(x=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:m,height:v,r:u.get("borderRadius")},position:g.slice(),style:{text:l,textFont:h,textFill:u.getTextColor(),textPosition:"inside",textPadding:c,fill:x,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")},z2:10}}function d(e,t,n,i){var r=i.getWidth(),o=i.getHeight();e[0]=Math.min(e[0]+t,r)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function f(e,t,n,r,o){e=t.scale.parse(e);var a=t.scale.getLabel(e,{precision:o.precision}),s=o.formatter;if(s){var u={value:l.getAxisRawValue(t,e),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};i.each(r,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),i=e.dataIndexInside,r=t&&t.getDataParams(i);r&&u.seriesData.push(r)})),i.isString(s)?a=s.replace("{value}",a):i.isFunction(s)&&(a=s(u))}return a}function p(e,t,n){var i=s.create();return s.rotate(i,i,n.rotation),s.translate(i,i,n.position),r.applyTransform([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function g(e,t,n,i,r,o){var a=u.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get("label.margin"),h(t,i,r,o,{position:p(i.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function m(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function v(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function y(e,t,n,i,r,o){return{cx:e,cy:t,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}t.buildElStyle=c,t.buildLabelElOption=h,t.getValueLabel=f,t.getTransformedPosition=p,t.buildCartesianSingleLabelElOption=g,t.makeLineShape=m,t.makeRectShape=v,t.makeSectorShape=y},72771:function(e,t,n){n(57658);var i=n(63122),r=n(20594),o=n(90350),a=n(99524),s=n(71704),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var i=e.coordToPoint([t[0],n]),r=e.coordToPoint([t[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function c(e){var t=e.getRadiusAxis();return t.inverse?0:1}function h(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var d=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,o=r.getRadiusAxis().getExtent(),a=n.getTicksCoords(),s=n.getMinorTicksCoords(),u=i.map(n.getViewLabels(),(function(e){e=i.clone(e);return e.coord=n.dataToCoord(e.tickValue),e}));h(u),h(a),i.each(l,(function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,r,a,s,o,u)}),this)}},_axisLine:function(e,t,n,i,o){var a,s=e.getModel("axisLine.lineStyle"),l=c(t),u=l?0:1;a=0===o[u]?new r.Circle({shape:{cx:t.cx,cy:t.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new r.Ring({shape:{cx:t.cx,cy:t.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,this.group.add(a)},_axisTick:function(e,t,n,o,a){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=a[c(t)],d=i.map(n,(function(e){return new r.Line({shape:u(t,[h,h+l],e.coord)})}));this.group.add(r.mergePath(d,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_minorTick:function(e,t,n,o,a){if(o.length){for(var s=e.getModel("axisTick"),l=e.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=a[c(t)],f=[],p=0;p<o.length;p++)for(var g=0;g<o[p].length;g++)f.push(new r.Line({shape:u(t,[d,d+h],o[p][g].coord)}));this.group.add(r.mergePath(f,{style:i.defaults(l.getModel("lineStyle").getLineStyle(),i.defaults(s.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}))}))}},_axisLabel:function(e,t,n,a,l,u){var h=e.getCategories(!0),d=e.getModel("axisLabel"),f=d.get("margin"),p=e.get("triggerEvent");i.each(u,(function(n,i){var a=d,u=n.tickValue,g=l[c(t)],m=t.coordToPoint([g+f,n.coord]),v=t.cx,y=t.cy,b=Math.abs(m[0]-v)/g<.3?"center":m[0]>v?"left":"right",x=Math.abs(m[1]-y)/g<.3?"middle":m[1]>y?"top":"bottom";h&&h[u]&&h[u].textStyle&&(a=new o(h[u].textStyle,d,d.ecModel));var _=new r.Text({silent:s.isLabelSilent(e)});this.group.add(_),r.setTextStyle(_.style,a,{x:m[0],y:m[1],textFill:a.getTextColor()||e.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:b,textVerticalAlign:x}),p&&(_.eventData=s.makeAxisEventDataBase(e),_.eventData.targetType="axisLabel",_.eventData.value=n.rawLabel)}),this)},_splitLine:function(e,t,n,o,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),h=0;c=c instanceof Array?c:[c];for(var d=[],f=0;f<n.length;f++){var p=h++%c.length;d[p]=d[p]||[],d[p].push(new r.Line({shape:u(t,a,n[f].coord)}))}for(f=0;f<d.length;f++)this.group.add(r.mergePath(d[f],{style:i.defaults({stroke:c[f%c.length]},l.getLineStyle()),silent:!0,z:e.get("z")}))},_minorSplitLine:function(e,t,n,i,o){if(i.length){for(var a=e.getModel("minorSplitLine"),s=a.getModel("lineStyle"),l=[],c=0;c<i.length;c++)for(var h=0;h<i[c].length;h++)l.push(new r.Line({shape:u(t,o,i[c][h].coord)}));this.group.add(r.mergePath(l,{style:s.getLineStyle(),silent:!0,z:e.get("z")}))}},_splitArea:function(e,t,n,o,a){if(n.length){var s=e.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=Math.PI/180,f=-n[0].coord*d,p=Math.min(a[0],a[1]),g=Math.max(a[0],a[1]),m=e.get("clockwise"),v=1;v<n.length;v++){var y=c++%u.length;h[y]=h[y]||[],h[y].push(new r.Sector({shape:{cx:t.cx,cy:t.cy,r0:p,r:g,startAngle:f,endAngle:-n[v].coord*d,clockwise:m},silent:!0})),f=-n[v].coord*d}for(v=0;v<h.length;v++)this.group.add(r.mergePath(h[v],{style:i.defaults({fill:u[v%u.length]},l.getAreaStyle()),silent:!0}))}}});e.exports=d},71704:function(e,t,n){n(57658);var i=n(63122),r=i.retrieve,o=i.defaults,a=i.extend,s=i.each,l=n(18906),u=n(20594),c=n(90350),h=n(43789),d=h.isRadianAroundZero,f=h.remRadian,p=n(84682),g=p.createSymbol,m=n(97333),v=n(78244),y=v.applyTransform,b=n(3019),x=b.shouldShowAllLabels,_=Math.PI,w=function(e,t){this.opt=t,this.axisModel=e,o(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var n=new u.Group({position:t.position.slice(),rotation:t.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};w.prototype={constructor:w,hasBuilder:function(e){return!!C[e]},add:function(e){C[e].call(this)},getGroup:function(){return this.group}};var C={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,r=[n[0],0],o=[n[1],0];i&&(y(r,r,i),y(o,o,i));var l=a({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:r[0],y1:r[1],x2:o[0],y2:o[1]},style:l,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1}));var c=t.get("axisLine.symbol"),h=t.get("axisLine.symbolSize"),d=t.get("axisLine.symbolOffset")||0;if("number"===typeof d&&(d=[d,d]),null!=c){"string"===typeof c&&(c=[c,c]),"string"!==typeof h&&"number"!==typeof h||(h=[h,h]);var f=h[0],p=h[1];s([{rotate:e.rotation+Math.PI/2,offset:d[0],r:0},{rotate:e.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((r[0]-o[0])*(r[0]-o[0])+(r[1]-o[1])*(r[1]-o[1]))}],(function(t,n){if("none"!==c[n]&&null!=c[n]){var i=g(c[n],-f/2,-p/2,f,p,l.stroke,!0),o=t.r+t.offset,a=[r[0]+o*Math.cos(e.rotation),r[1]-o*Math.sin(e.rotation)];i.attr({rotation:t.rotate,position:a,silent:!0,z2:11}),this.group.add(i)}}),this)}}},axisTickLabel:function(){var e=this.axisModel,t=this.opt,n=A(this,e,t),i=N(this,e,t);E(e,i,n),L(this,e,t)},axisName:function(){var e=this.opt,t=this.axisModel,n=r(e.axisName,t.get("name"));if(n){var i,o,s=t.get("nameLocation"),c=e.nameDirection,h=t.getModel("nameTextStyle"),d=t.get("nameGap")||0,f=this.axisModel.axis.getExtent(),p=f[0]>f[1]?-1:1,g=["start"===s?f[0]-p*d:"end"===s?f[1]+p*d:(f[0]+f[1])/2,O(s)?e.labelOffset+c*d:0],m=t.get("nameRotate");null!=m&&(m=m*_/180),O(s)?i=k(e.rotation,null!=m?m:e.rotation,c):(i=M(e,s,m||0,f),o=e.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(i.rotation)),!isFinite(o)&&(o=null)));var v=h.getFont(),y=t.get("nameTruncate",!0)||{},b=y.ellipsis,x=r(e.nameTruncateMaxWidth,y.maxWidth,o),w=null!=b&&null!=x?l.truncateText(n,x,v,b,{minChar:2,placeholder:y.placeholder}):n,C=t.get("tooltip",!0),E=t.mainType,D={componentType:E,name:n,$vars:["name"]};D[E+"Index"]=t.componentIndex;var P=new u.Text({anid:"name",__fullText:n,__truncatedText:w,position:g,rotation:i.rotation,silent:T(t),z2:1,tooltip:C&&C.show?a({content:n,formatter:function(){return n},formatterParams:D},C):null});u.setTextStyle(P.style,h,{text:w,textFont:v,textFill:h.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:h.get("align")||i.textAlign,textVerticalAlign:h.get("verticalAlign")||i.textVerticalAlign}),t.get("triggerEvent")&&(P.eventData=S(t),P.eventData.targetType="axisName",P.eventData.name=n),this._dumbGroup.add(P),P.updateTransform(),this.group.add(P),P.decomposeTransform()}}},S=w.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},k=w.innerTextLayout=function(e,t,n){var i,r,o=f(t-e);return d(o)?(r=n>0?"top":"bottom",i="center"):d(o-_)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<_?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}};function M(e,t,n,i){var r,o,a=f(n-e.rotation),s=i[0]>i[1],l="start"===t&&!s||"start"!==t&&s;return d(a-_/2)?(o=l?"bottom":"top",r="center"):d(a-1.5*_)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*_&&a>_/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}var T=w.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)};function E(e,t,n){if(!x(e.axis)){var i=e.get("axisLabel.showMinLabel"),r=e.get("axisLabel.showMaxLabel");t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(D(o),D(u)):P(o,a)&&(i?(D(a),D(c)):(D(o),D(u))),!1===r?(D(s),D(h)):P(l,s)&&(r?(D(l),D(d)):(D(s),D(h)))}}function D(e){e&&(e.ignore=!0)}function P(e,t,n){var i=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(i&&r){var o=m.identity([]);return m.rotate(o,o,-e.rotation),i.applyTransform(m.mul([],o,e.getLocalTransform())),r.applyTransform(m.mul([],o,t.getLocalTransform())),i.intersect(r)}}function O(e){return"middle"===e||"center"===e}function I(e,t,n,i,r){for(var o=[],a=[],s=[],l=0;l<e.length;l++){var c=e[l].coord;a[0]=c,a[1]=0,s[0]=c,s[1]=n,t&&(y(a,a,t),y(s,s,t));var h=new u.Line({anid:r+"_"+e[l].tickValue,subPixelOptimize:!0,shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,silent:!0});o.push(h)}return o}function A(e,t,n){var i=t.axis,r=t.getModel("axisTick");if(r.get("show")&&!i.scale.isBlank()){for(var a=r.getModel("lineStyle"),s=n.tickDirection*r.get("length"),l=i.getTicksCoords(),u=I(l,e._transform,s,o(a.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}),"ticks"),c=0;c<u.length;c++)e.group.add(u[c]);return u}}function L(e,t,n){var i=t.axis,r=t.getModel("minorTick");if(r.get("show")&&!i.scale.isBlank()){var a=i.getMinorTicksCoords();if(a.length)for(var s=r.getModel("lineStyle"),l=n.tickDirection*r.get("length"),u=o(s.getLineStyle(),o(t.getModel("axisTick").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})),c=0;c<a.length;c++)for(var h=I(a[c],e._transform,l,u,"minorticks_"+c),d=0;d<h.length;d++)e.group.add(h[d])}}function N(e,t,n){var i=t.axis,o=r(n.axisLabelShow,t.get("axisLabel.show"));if(o&&!i.scale.isBlank()){var a=t.getModel("axisLabel"),l=a.get("margin"),h=i.getViewLabels(),d=(r(n.labelRotate,a.get("rotate"))||0)*_/180,f=k(n.rotation,d,n.labelDirection),p=t.getCategories&&t.getCategories(!0),g=[],m=T(t),v=t.get("triggerEvent");return s(h,(function(r,o){var s=r.tickValue,h=r.formattedLabel,d=r.rawLabel,y=a;p&&p[s]&&p[s].textStyle&&(y=new c(p[s].textStyle,a,t.ecModel));var b=y.getTextColor()||t.get("axisLine.lineStyle.color"),x=i.dataToCoord(s),_=[x,n.labelOffset+n.labelDirection*l],w=new u.Text({anid:"label_"+s,position:_,rotation:f.rotation,silent:m,z2:10});u.setTextStyle(w.style,y,{text:h,textAlign:y.getShallow("align",!0)||f.textAlign,textVerticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||f.textVerticalAlign,textFill:"function"===typeof b?b("category"===i.type?d:"value"===i.type?s+"":s,o):b}),v&&(w.eventData=S(t),w.eventData.targetType="axisLabel",w.eventData.value=d),e._dumbGroup.add(w),w.updateTransform(),g.push(w),e.group.add(w),w.decomposeTransform()})),g}}var R=w;e.exports=R},99524:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(39405)),o=n(35314),a=r.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,n,i){this.axisPointerClass&&o.fixValue(e),a.superApply(this,"render",arguments),s(this,e,t,n,i,!0)},updateAxisPointer:function(e,t,n,i,r){s(this,e,t,n,i,!1)},remove:function(e,t){var n=this._axisPointer;n&&n.remove(t),a.superApply(this,"remove",arguments)},dispose:function(e,t){l(this,t),a.superApply(this,"dispose",arguments)}});function s(e,t,n,i,r,s){var u=a.getAxisPointerClass(e.axisPointerClass);if(u){var c=o.getAxisPointerModel(t);c?(e._axisPointer||(e._axisPointer=new u)).render(t,c,i,s):l(e,i)}}function l(e,t,n){var i=e._axisPointer;i&&i.dispose(t,n),e._axisPointer=null}var u=[];a.registerAxisPointerClass=function(e,t){u[e]=t},a.getAxisPointerClass=function(e){return e&&u[e]};var c=a;e.exports=c},12340:function(e,t,n){var i=n(63122),r=n(20594),o=n(71704),a=n(99524),s=n(99722),l=n(6503),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],d=["splitArea","splitLine","minorSplitLine"],f=a.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,a){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new r.Group,this.group.add(this._axisGroup),e.get("show")){var u=e.getCoordSysModel(),c=s.layout(u,e),p=new o(e,c);i.each(h,p.add,p),this._axisGroup.add(p.getGroup()),i.each(d,(function(t){e.get(t+".show")&&this["_"+t](e,u)}),this),r.groupTransition(l,this._axisGroup,e),f.superCall(this,"render",e,t,n,a)}},remove:function(){c(this)},_splitLine:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var o=e.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=i.isArray(s)?s:[s];for(var l=t.coordinateSystem.getRect(),u=n.isHorizontal(),c=0,h=n.getTicksCoords({tickModel:o}),d=[],f=[],p=a.getLineStyle(),g=0;g<h.length;g++){var m=n.toGlobalCoord(h[g].coord);u?(d[0]=m,d[1]=l.y,f[0]=m,f[1]=l.y+l.height):(d[0]=l.x,d[1]=m,f[0]=l.x+l.width,f[1]=m);var v=c++%s.length,y=h[g].tickValue;this._axisGroup.add(new r.Line({anid:null!=y?"line_"+h[g].tickValue:null,subPixelOptimize:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:i.defaults({stroke:s[v]},p),silent:!0}))}}},_minorSplitLine:function(e,t){var n=e.axis,i=e.getModel("minorSplitLine"),o=i.getModel("lineStyle"),a=t.coordinateSystem.getRect(),s=n.isHorizontal(),l=n.getMinorTicksCoords();if(l.length)for(var u=[],c=[],h=o.getLineStyle(),d=0;d<l.length;d++)for(var f=0;f<l[d].length;f++){var p=n.toGlobalCoord(l[d][f].coord);s?(u[0]=p,u[1]=a.y,c[0]=p,c[1]=a.y+a.height):(u[0]=a.x,u[1]=p,c[0]=a.x+a.width,c[1]=p),this._axisGroup.add(new r.Line({anid:"minor_line_"+l[d][f].tickValue,subPixelOptimize:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:h,silent:!0}))}},_splitArea:function(e,t){u(this,this._axisGroup,e,t)}});f.extend({type:"xAxis"}),f.extend({type:"yAxis"})},49560:function(e,t,n){var i=n(39405),r=n(63122),o=n(71704),a=n(27635),s=n(39233),l=n(20594),u=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"parallelAxis",init:function(e,t){c.superApply(this,"init",arguments),(this._brushController=new a(t.getZr())).on("brush",r.bind(this._onBrush,this))},render:function(e,t,n,i){if(!h(e,t,i)){this.axisModel=e,this.api=n,this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),e.get("show")){var s=f(e,t),c=s.coordinateSystem,d=e.getAreaSelectStyle(),p=d.width,g=e.axis.dim,m=c.getAxisLayout(g),v=r.extend({strokeContainThreshold:p},m),y=new o(e,v);r.each(u,y.add,y),this._axisGroup.add(y.getGroup()),this._refreshBrushController(v,d,e,s,p,n);var b=i&&!1===i.animation?null:e;l.groupTransition(a,this._axisGroup,b)}}},_refreshBrushController:function(e,t,n,i,r,o){var a=n.axis.getExtent(),u=a[1]-a[0],c=Math.min(30,.1*Math.abs(u)),h=l.BoundingRect.create({x:a[0],y:-r/2,width:u,height:r});h.x-=c,h.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(h),isTargetByCursor:s.makeRectIsTargetByCursor(h,o,i),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(h,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(d(n))},_onBrush:function(e,t){var n=this.axisModel,i=n.axis,o=r.map(e,(function(e){return[i.coordToData(e.range[0],!0),i.coordToData(e.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},dispose:function(){this._brushController.dispose()}});function h(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function d(e){var t=e.axis;return r.map(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function f(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var p=c;e.exports=p},14056:function(e,t,n){n(57658);var i=n(63122),r=n(20594),o=n(71704),a=n(99524),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],u=a.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,a=r.getAngleAxis(),u=n.getTicksCoords(),h=n.getMinorTicksCoords(),d=a.getExtent()[0],f=n.getExtent(),p=c(r,e,d),g=new o(e,p);i.each(s,g.add,g),this.group.add(g.getGroup()),i.each(l,(function(t){e.get(t+".show")&&!n.scale.isBlank()&&this["_"+t](e,r,d,f,u,h)}),this)}},_splitLine:function(e,t,n,o,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;d<a.length;d++){var f=c++%u.length;h[f]=h[f]||[],h[f].push(new r.Circle({shape:{cx:t.cx,cy:t.cy,r:a[d].coord}}))}for(d=0;d<h.length;d++)this.group.add(r.mergePath(h[d],{style:i.defaults({stroke:u[d%u.length],fill:null},l.getLineStyle()),silent:!0}))},_minorSplitLine:function(e,t,n,o,a,s){if(s.length){for(var l=e.getModel("minorSplitLine"),u=l.getModel("lineStyle"),c=[],h=0;h<s.length;h++)for(var d=0;d<s[h].length;d++)c.push(new r.Circle({shape:{cx:t.cx,cy:t.cy,r:s[h][d].coord}}));this.group.add(r.mergePath(c,{style:i.defaults({fill:null},u.getLineStyle()),silent:!0}))}},_splitArea:function(e,t,n,o,a){if(a.length){var s=e.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=a[0].coord,f=1;f<a.length;f++){var p=c++%u.length;h[p]=h[p]||[],h[p].push(new r.Sector({shape:{cx:t.cx,cy:t.cy,r0:d,r:a[f].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),d=a[f].coord}for(f=0;f<h.length;f++)this.group.add(r.mergePath(h[f],{style:i.defaults({fill:u[f%u.length]},l.getAreaStyle()),silent:!0}))}}});function c(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}e.exports=u},87121:function(e,t,n){n(57658);var i=n(63122),r=n(71704),o=n(20594),a=n(63954),s=n(99524),l=n(6503),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],d=["splitArea","splitLine"],f=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new o.Group;var c=a.layout(e),p=new r(e,c);i.each(h,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),i.each(d,(function(t){e.get(t+".show")&&this["_"+t](e)}),this),o.groupTransition(u,this._axisGroup,e),f.superCall(this,"render",e,t,n,s)},remove:function(){c(this)},_splitLine:function(e){var t=e.axis;if(!t.scale.isBlank()){var n=e.getModel("splitLine"),i=n.getModel("lineStyle"),r=i.get("width"),a=i.get("color");a=a instanceof Array?a:[a];for(var s=e.coordinateSystem.getRect(),l=t.isHorizontal(),u=[],c=0,h=t.getTicksCoords({tickModel:n}),d=[],f=[],p=0;p<h.length;++p){var g=t.toGlobalCoord(h[p].coord);l?(d[0]=g,d[1]=s.y,f[0]=g,f[1]=s.y+s.height):(d[0]=s.x,d[1]=g,f[0]=s.x+s.width,f[1]=g);var m=c++%a.length;u[m]=u[m]||[],u[m].push(new o.Line({subPixelOptimize:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:{lineWidth:r},silent:!0}))}for(p=0;p<u.length;++p)this.group.add(o.mergePath(u[p],{style:{stroke:a[p%a.length],lineDash:i.getLineDash(r),lineWidth:r},silent:!0}))}},_splitArea:function(e){u(this,this._axisGroup,e,e)}}),p=f;e.exports=p},6503:function(e,t,n){var i=n(63122),r=n(20594);function o(e,t,n,o){var a=n.axis;if(!a.scale.isBlank()){var s=n.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=o.coordinateSystem.getRect(),h=a.getTicksCoords({tickModel:s,clamp:!0});if(h.length){var d=u.length,f=e.__splitAreaColors,p=i.createHashMap(),g=0;if(f)for(var m=0;m<h.length;m++){var v=f.get(h[m].tickValue);if(null!=v){g=(v+(d-1)*m)%d;break}}var y=a.toGlobalCoord(h[0].coord),b=l.getAreaStyle();u=i.isArray(u)?u:[u];for(m=1;m<h.length;m++){var x,_,w,C,S=a.toGlobalCoord(h[m].coord);a.isHorizontal()?(x=y,_=c.y,w=S-x,C=c.height,y=x+w):(x=c.x,_=y,w=c.width,C=S-_,y=_+C);var k=h[m-1].tickValue;null!=k&&p.set(k,g),t.add(new r.Rect({anid:null!=k?"area_"+k:null,shape:{x:x,y:_,width:w,height:C},style:i.defaults({fill:u[g]},b),silent:!0})),g=(g+1)%d}e.__splitAreaColors=p}}}function a(e){e.__splitAreaColors=null}t.rectCoordAxisBuildSplitArea=o,t.rectCoordAxisHandleRemove=a},18131:function(e,t,n){var i=n(39405),r={type:"axisAreaSelect",event:"axisAreaSelected"};i.registerAction(r,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),i.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))},97346:function(e,t,n){var i=n(39405),r=n(279);n(90565),n(14884),n(60443),n(20281),n(96147),i.registerPreprocessor(r)},14884:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(39405)),o=n(63122),a=n(24466),s=n(90350),l=["#ddd"],u=r.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var n=this.option;!t&&a.replaceVisualOption(n,e,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:l},i.hasOwnProperty("liftZ")||(i.liftZ=5)},setAreas:function(e){e&&(this.areas=o.map(e,(function(e){return c(this.option,e)}),this))},setBrushOption:function(e){this.brushOption=c(this.option,e),this.brushType=this.brushOption.brushType}});function c(e,t){return o.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new s(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var h=u;e.exports=h},60443:function(e,t,n){var i=n(39405),r=n(63122),o=n(27635),a=n(90565),s=a.layoutCovers,l=i.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new o(t.getZr())).on("brush",r.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,u.apply(this,arguments)},updateTransform:function(e,t){return s(t),u.apply(this,arguments)},updateView:u,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:r.clone(e),$from:n}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:r.clone(e),$from:n})}});function u(e,t,n,i){(!i||i.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}e.exports=l},20281:function(e,t,n){var i=n(39405);i.registerAction({type:"brush",event:"brush"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),i.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),i.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))},279:function(e,t,n){n(57658);var i=n(63122),r=["rect","polygon","keep","clear"];function o(e,t){var n=e&&e.brush;if(i.isArray(n)||(n=n?[n]:[]),n.length){var o=[];i.each(n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(o=o.concat(t))}));var s=e&&e.toolbox;i.isArray(s)&&(s=s[0]),s||(s={feature:{}},e.toolbox=[s]);var l=s.feature||(s.feature={}),u=l.brush||(l.brush={}),c=u.type||(u.type=[]);c.push.apply(c,o),a(c),t&&!c.length&&c.push.apply(c,r)}}function a(e){var t={};i.each(e,(function(e){t[e]=1})),e.length=0,i.each(t,(function(t,n){e.push(n)}))}e.exports=o},93759:function(e,t,n){var i=n(33),r=n(46630),o=n(20594),a=o.linePolygonIntersect,s={lineX:l(0),lineY:l(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&i.contain(n.range,e[0],e[1])},rect:function(e,t,n){var o=n.range;if(!e||o.length<=1)return!1;var s=e.x,l=e.y,u=e.width,c=e.height,h=o[0];return!!(i.contain(o,s,l)||i.contain(o,s+u,l)||i.contain(o,s,l+c)||i.contain(o,s+u,l+c)||r.create(e).contain(h[0],h[1])||a(s,l,s+u,l,o)||a(s,l,s,l+c,o)||a(s+u,l,s+u,l+c,o)||a(s,l+c,s+u,l+c,o))||void 0}}};function l(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,i){if(t){var r=i.range,o=t[e];return u(o,r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[t[e]],i[t[e]]+i[n[e]]];return s[1]<s[0]&&s.reverse(),u(s[0],a)||u(s[1],a)||u(a[0],s)||u(a[1],s)}}}}function u(e,t){return t[0]<=e&&e<=t[1]}var c=s;e.exports=c},90565:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(46630),a=n(24466),s=n(93759),l=n(14243),u=n(22266),c=["inBrush","outOfBrush"],h="__ecBrushSelect",d="__ecInBrushSelectEvent",f=i.PRIORITY.VISUAL.BRUSH;function p(e){e.eachComponent({mainType:"brush"},(function(t){var n=t.brushTargetManager=new u(t.option,e);n.setInputRanges(t.areas,e)}))}function g(e,t,n,i,r){if(r){var o=e.getZr();if(!o[d]){o[h]||(o[h]=m);var a=l.createOrUpdate(o,h,n,t);a(e,i)}}}function m(e,t){if(!e.isDisposed()){var n=e.getZr();n[d]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[d]=!1}}function v(e,t,n,i){for(var r=0,o=t.length;r<o;r++){var a=t[r];if(e[a.brushType](i,n,a.selectors,a))return!0}}function y(e){var t=e.brushSelector;if(r.isString(t)){var n=[];return r.each(s,(function(e,i){n[i]=function(n,i,r,o){var a=i.getItemLayout(n);return e[t](a,r,o)}})),n}if(r.isFunction(t)){var i={};return r.each(s,(function(e,n){i[n]=t})),i}return t}function b(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(r.isArray(n)?r.indexOf(n,t)<0:t!==n)}function x(e){var t=e.selectors={};return r.each(s[e.brushType],(function(n,i){t[i]=function(i){return n(i,t,e)}})),e}i.registerLayout(f,(function(e,t,n){e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),p(e)})),i.registerVisual(f,(function(e,t,n){var i,o,s=[];e.eachComponent({mainType:"brush"},(function(t,n){var l={brushId:t.id,brushIndex:n,brushName:t.name,areas:r.clone(t.areas),selected:[]};s.push(l);var u=t.option,h=u.brushLink,d=[],f=[],p=[],g=0;n||(i=u.throttleType,o=u.throttleDelay);var m=r.map(t.areas,(function(e){return x(r.defaults({boundingRect:_[e.brushType](e)},e))})),w=a.createVisualMappings(t.option,c,(function(e){e.mappingMethod="fixed"}));function C(e){return"all"===h||d[e]}function S(e){return!!e.length}function k(e,t){var n=e.coordinateSystem;g|=n.hasAxisBrushed(),C(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(f[t]=1)}))}function M(n,i,o){var a=y(n);if(a&&!b(t,i)&&(r.each(m,(function(i){a[i.brushType]&&t.brushTargetManager.controlSeries(i,n,e)&&o.push(i),g|=S(o)})),C(i)&&S(o))){var s=n.getData();s.each((function(e){v(a,o,s,e)&&(f[e]=1)}))}}r.isArray(h)&&r.each(h,(function(e){d[e]=1})),e.eachSeries((function(e,t){var n=p[t]=[];"parallel"===e.subType?k(e,t,n):M(e,t,n)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};l.selected.push(n);var i=y(e),r=p[t],o=e.getData(),s=C(t)?function(e){return f[e]?(n.dataIndex.push(o.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(e){return v(i,r,o,e)?(n.dataIndex.push(o.getRawIndex(e)),"inBrush"):"outOfBrush"};(C(t)?g:S(r))&&a.applyVisual(c,w,o,s)}))})),g(t,i,o,s,n)}));var _={lineX:r.noop,lineY:r.noop,rect:function(e){return w(e.range)},polygon:function(e){for(var t,n=e.range,i=0,r=n.length;i<r;i++){t=t||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];o[0]<t[0][0]&&(t[0][0]=o[0]),o[0]>t[0][1]&&(t[0][1]=o[0]),o[1]<t[1][0]&&(t[1][0]=o[1]),o[1]>t[1][1]&&(t[1][1]=o[1])}return t&&w(t)}};function w(e){return new o(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}t.layoutCovers=p},38225:function(e,t,n){n(42232),n(48469),n(54181)},54181:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(20594),a=n(18906),s=n(43789),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},c=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var i=this.group;i.removeAll();var r=e.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient();this._renderDayRect(e,o,i),this._renderLines(e,o,a,i),this._renderYearText(e,o,a,i),this._renderMonthText(e,a,i),this._renderWeekText(e,o,a,i)},_renderDayRect:function(e,t,n){for(var i=e.coordinateSystem,r=e.getModel("itemStyle").getItemStyle(),a=i.getCellWidth(),s=i.getCellHeight(),l=t.start.time;l<=t.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl,c=new o.Rect({shape:{x:u[0],y:u[1],width:a,height:s},cursor:"default",style:r});n.add(c)}},_renderLines:function(e,t,n,i){var r=this,o=e.coordinateSystem,a=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){d(u.formatedDate),0===c&&(u=o.getDateInfo(t.start.y+"-"+t.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function d(t){r._firstDayOfMonth.push(o.getDateInfo(t)),r._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=r._getLinePointsOfOneWeek(e,t,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},_getEdgesPoints:function(e,t,n){var i=[e[0].slice(),e[e.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-t/2,i[1][r]=i[1][r]+t/2,i},_drawSplitline:function(e,t,n){var i=new o.Polyline({z2:20,shape:{points:e},style:t});n.add(i)},_getLinePointsOfOneWeek:function(e,t,n){var i=e.coordinateSystem;t=i.getDateInfo(t);for(var r=[],o=0;o<7;o++){var a=i.getNextNDay(t.time,o),s=i.dataToRect([a.time],!1);r[2*a.day]=s.tl,r[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return r},_formatterLabel:function(e,t){return"string"===typeof e&&e?a.formatTplSimple(e,t):"function"===typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,i,r){t=t.slice();var o=["center","bottom"];"bottom"===i?(t[1]+=r,o=["center","top"]):"left"===i?t[0]-=r:"right"===i?(t[0]+=r,o=["center","top"]):t[1]-=r;var a=0;return"left"!==i&&"right"!==i||(a=Math.PI/2),{rotation:a,position:t,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(e,t,n,i){var r=e.getModel("yearLabel");if(r.get("show")){var a=r.get("margin"),s=r.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,h="horizontal"===n?0:1,d={top:[u,l[h][1]],bottom:[u,l[1-h][1]],left:[l[1-h][0],c],right:[l[h][0],c]},f=t.start.y;+t.end.y>+t.start.y&&(f=f+"-"+t.end.y);var p=r.get("formatter"),g={start:t.start.y,end:t.end.y,nameMap:f},m=this._formatterLabel(p,g),v=new o.Text({z2:30});o.setTextStyle(v.style,r,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],n,s,a)),i.add(v)}},_monthTextPositionControl:function(e,t,n,i,r){var o="left",a="top",s=e[0],l=e[1];return"horizontal"===n?(l+=r,t&&(o="center"),"start"===i&&(a="bottom")):(s+=r,t&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(e,t,n){var i=e.getModel("monthLabel");if(i.get("show")){var a=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=i.get("align"),h=[this._tlpoints,this._blpoints];r.isString(a)&&(a=l[a.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===t?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g<h[d].length-1;g++){var m=h[d][g].slice(),v=this._firstDayOfMonth[g];if(p){var y=this._firstDayPoints[g];m[f]=(y[f]+h[0][g+1][f])/2}var b=i.get("formatter"),x=a[+v.m-1],_={yyyy:v.y,yy:(v.y+"").slice(2),MM:v.m,M:+v.m,nameMap:x},w=this._formatterLabel(b,_),C=new o.Text({z2:30});r.extend(o.setTextStyle(C.style,i,{text:w}),this._monthTextPositionControl(m,p,t,u,s)),n.add(C)}}},_weekTextPositionControl:function(e,t,n,i,r){var o="center",a="middle",s=e[0],l=e[1],u="start"===n;return"horizontal"===t?(s=s+i+(u?1:-1)*r[0]/2,o=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,a=u?"bottom":"top"),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderWeekText:function(e,t,n,i){var a=e.getModel("dayLabel");if(a.get("show")){var l=e.coordinateSystem,c=a.get("position"),h=a.get("nameMap"),d=a.get("margin"),f=l.getFirstDayOfWeek();r.isString(h)&&(h=u[h.toUpperCase()]||[]);var p=l.getNextNDay(t.end.time,7-t.lweek).time,g=[l.getCellWidth(),l.getCellHeight()];d=s.parsePercent(d,g["horizontal"===n?0:1]),"start"===c&&(p=l.getNextNDay(t.start.time,-(7+t.fweek)).time,d=-d);for(var m=0;m<7;m++){var v=l.getNextNDay(p,m),y=l.dataToRect([v.time],!1).center,b=m;b=Math.abs((m+f)%7);var x=new o.Text({z2:30});r.extend(o.setTextStyle(x.style,a,{text:h[b]}),this._weekTextPositionControl(y,n,c,d,g)),i.add(x)}}}});e.exports=c},26423:function(e,t,n){n(36785),n(96453)},96453:function(e,t,n){n(25301),n(83897),n(57577),n(17950),n(27325),n(71384),n(27766)},8465:function(e,t,n){n(25301),n(83897),n(57577),n(45141),n(21494),n(71384),n(27766)},36785:function(e,t,n){n(25301),n(83897),n(57577),n(88322),n(80698),n(71384),n(27766)},30945:function(e,t,n){n(57658);var i=n(63122),r=n(43789),o=n(2708),a=n(48693),s=i.each,l=r.asc,u=function(e,t,n,i){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function c(e,t,n){var i=[1/0,-1/0];return s(n,(function(e){var n=e.getData();n&&s(n.mapDimension(t,!0),(function(e){var t=n.getApproximateExtent(e);t[0]<i[0]&&(i[0]=t[0]),t[1]>i[1]&&(i[1]=t[1])}))})),i[1]<i[0]&&(i=[NaN,NaN]),h(e,i),i}function h(e,t){var n=e.getAxisModel(),i=n.getMin(!0),r="category"===n.get("type"),o=r&&n.getCategories().length;null!=i&&"dataMin"!==i&&"function"!==typeof i?t[0]=i:r&&(t[0]=o>0?0:NaN);var a=n.getMax(!0);return null!=a&&"dataMax"!==a&&"function"!==typeof a?t[1]=a:r&&(t[1]=o>0?o-1:NaN),n.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function d(e,t){var n=e.getAxisModel(),i=e._percentWindow,o=e._valueWindow;if(i){var a=r.getPixelPrecision(o,[0,500]);a=Math.min(a,20);var s=t||0===i[0]&&100===i[1];n.setRange(s?null:+o[0].toFixed(a),s?null:+o[1].toFixed(a))}}function f(e){var t=e._minMaxSpan={},n=e._dataZoomModel,i=e._dataExtent;s(["min","max"],(function(o){var a=n.get(o+"Span"),s=n.get(o+"ValueSpan");null!=s&&(s=e.getAxisModel().axis.scale.parse(s)),null!=s?a=r.linearMap(i[0]+s,i,[0,100],!0):null!=a&&(s=r.linearMap(a,[0,100],i,!0)-i[0]),t[o+"Span"]=a,t[o+"ValueSpan"]=s}))}u.prototype={constructor:u,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries((function(n){if(o.isCoordSupported(n.get("coordinateSystem"))){var i=this._dimName,r=t.queryComponents({mainType:i+"Axis",index:n.get(i+"AxisIndex"),id:n.get(i+"AxisId")})[0];this._axisIndex===(r&&r.componentIndex)&&e.push(n)}}),this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,n,i=this._dimName,r=this.ecModel,o=this.getAxisModel(),a="x"===i||"y"===i;return a?(t="gridIndex",e="x"===i?"y":"x"):(t="polarIndex",e="angle"===i?"radius":"angle"),r.eachComponent(e+"Axis",(function(e){(e.get(t)||0)===(o.get(t)||0)&&(n=e)})),n},getMinMaxSpan:function(){return i.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t,n=this._dataExtent,i=this.getAxisModel(),o=i.axis.scale,u=this._dataZoomModel.getRangePropMode(),c=[0,100],h=[],d=[];s(["start","end"],(function(i,a){var s=e[i],l=e[i+"Value"];"percent"===u[a]?(null==s&&(s=c[a]),l=o.parse(r.linearMap(s,c,n))):(t=!0,l=null==l?n[a]:o.parse(l),s=r.linearMap(l,n,c)),d[a]=l,h[a]=s})),l(d),l(h);var f=this._minMaxSpan;function p(e,t,n,i,s){var l=s?"Span":"ValueSpan";a(0,e,n,"all",f["min"+l],f["max"+l]);for(var u=0;u<2;u++)t[u]=r.linearMap(e[u],n,i,!0),s&&(t[u]=o.parse(t[u]))}return t?p(d,h,n,c,!1):p(h,d,c,n,!0),{valueWindow:d,percentWindow:h}},reset:function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,t),f(this);var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,d(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,d(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=e.get("filterMode"),o=this._valueWindow;"none"!==r&&s(i,(function(e){var t=e.getData(),i=t.mapDimension(n,!0);i.length&&("weakFilter"===r?t.filterSelf((function(e){for(var n,r,a,s=0;s<i.length;s++){var l=t.get(i[s],e),u=!isNaN(l),c=l<o[0],h=l>o[1];if(u&&!c&&!h)return!0;u&&(a=!0),c&&(n=!0),h&&(r=!0)}return a&&n&&r})):s(i,(function(n){if("empty"===r)e.setData(t=t.map(n,(function(e){return a(e)?e:NaN})));else{var i={};i[n]=o,t.selectRange(i)}})),s(i,(function(e){t.setApproximateExtent(o,e)})))}))}function a(e){return e>=o[0]&&e<=o[1]}}};var p=u;e.exports=p},83897:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(39405)),o=n(63122),a=n(95160),s=n(46458),l=n(2708),u=n(30945),c=o.each,h=l.eachAxisDim,d=r.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=f(e);this.settledOption=i,this.mergeDefaultAndTheme(e,n),this.doInit(i)},mergeOption:function(e){var t=f(e);o.merge(this.option,e,!0),o.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;a.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),p(this,e);var n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(e,i){"value"===this._rangePropMode[i]&&(t[e[0]]=n[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,n,i,r){var o=this.dependentModels[t.axis][n],a=o.__dzAxisProxy||(o.__dzAxisProxy=new u(t.name,n,this,r));e[t.name+"_"+n]=a}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();h((function(t){var n=t.axisIndex;e[n]=s.normalizeToArray(e[n])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;h((function(n){null!=e[n.axisIndex]&&(t=!0)}),this);var n=e.orient;return null==n&&t?"orient":t?void 0:(null==n&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),n=this.option,i=this.dependentModels;if(e){var r="vertical"===t?"y":"x";i[r+"Axis"].length?(n[r+"AxisIndex"]=[0],e=!1):c(i.singleAxis,(function(i){e&&i.get("orient",!0)===t&&(n.singleAxisIndex=[i.componentIndex],e=!1)}))}e&&h((function(t){if(e){var i=[],r=this.dependentModels[t.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[t.axisIndex]=i,i.length&&(e=!1)}}),this),e&&this.ecModel.eachSeries((function(e){this._isSeriesHasAllAxesTypeOf(e,"value")&&h((function(t){var i=n[t.axisIndex],r=e.get(t.axisIndex),a=e.get(t.axisId),s=e.ecModel.queryComponents({mainType:t.axis,index:r,id:a})[0];r=s.componentIndex,o.indexOf(i,r)<0&&i.push(r)}))}),this)},_autoSetOrient:function(){var e;this.eachTargetAxis((function(t){!e&&(e=t.name)}),this),this.option.orient="y"===e?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,t){var n=!0;return h((function(i){var r=e.get(i.axisIndex),o=this.dependentModels[i.axis][r];o&&o.get("type")===t||(n=!1)}),this),n},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return h((function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}}),this),e},eachTargetAxis:function(e,t){var n=this.ecModel;h((function(i){c(this.get(i.axisIndex),(function(r){e.call(t,i,r,this,n)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e){var t=this.option,n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(i){null==e[i[0]]&&null==e[i[1]]||(t[i[0]]=n[i[0]]=e[i[0]],t[i[1]]=n[i[1]]=e[i[1]])}),this),p(this,e)},setCalculatedRange:function(e){var t=this.option;c(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(e){var t={};return c(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function p(e,t){var n=e._rangePropMode,i=e.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(e,r){var o=null!=t[e[0]],a=null!=t[e[1]];o&&!a?n[r]="percent":!o&&a?n[r]="value":i?n[r]=i[r]:o&&(n[r]="percent")}))}var g=d;e.exports=g},57577:function(e,t,n){n(57658);var i=n(55155),r=i.extend({type:"dataZoom",render:function(e,t,n,i){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,n={};function i(e,t,n,i){for(var r,o=0;o<n.length;o++)if(n[o].model===e){r=n[o];break}r||n.push(r={model:e,axisModels:[],coordIndex:i}),r.axisModels.push(t)}return e.eachTargetAxis((function(e,r){var o=t.getComponent(e.axis,r);if(o){var a=o.getCoordSysModel();a&&i(a,o,n[a.mainType]||(n[a.mainType]=[]),a.componentIndex)}}),this),n}});e.exports=r},17950:function(e,t,n){var i=n(83897),r=i.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});e.exports=r},27325:function(e,t,n){var i=n(63122),r=n(57577),o=n(48693),a=n(45609),s=i.bind,l=r.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,n,r){l.superApply(this,"render",arguments),this._range=e.getPercentRange(),i.each(this.getTargetCoordInfo(),(function(t,r){var o=i.map(t,(function(e){return a.generateCoordId(e.model)}));i.each(t,(function(t){var l=t.model,c={};i.each(["pan","zoom","scrollMove"],(function(e){c[e]=s(u[e],this,t,r)}),this),a.register(n,{coordId:a.generateCoordId(l),allCoordIds:o,containsPoint:function(e,t,n){return l.coordinateSystem.containPoint([t,n])},dataZoomId:e.id,dataZoomModel:e,getRange:c})}),this)}),this)},dispose:function(){a.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(e,t,n,i){var r=this._range,a=r.slice(),s=e.axisModels[0];if(s){var l=h[t](null,[i.originX,i.originY],s,n,e),u=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/i.scale,0);a[0]=(a[0]-u)*c+u,a[1]=(a[1]-u)*c+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,a,[0,100],0,d.minSpan,d.maxSpan),this._range=a,r[0]!==a[0]||r[1]!==a[1]?a:void 0}},pan:c((function(e,t,n,i,r,o){var a=h[i]([o.oldX,o.oldY],[o.newX,o.newY],t,r,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:c((function(e,t,n,i,r,o){var a=h[i]([0,0],[o.scrollDelta,o.scrollDelta],t,r,n);return a.signal*(e[1]-e[0])*o.scrollDelta}))};function c(e){return function(t,n,i,r){var a=this._range,s=a.slice(),l=t.axisModels[0];if(l){var u=e(s,l,t,n,i,r);return o(u,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}}}var h={grid:function(e,t,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},d=l;e.exports=d},45141:function(e,t,n){var i=n(83897),r=i.extend({type:"dataZoom.select"});e.exports=r},21494:function(e,t,n){var i=n(57577),r=i.extend({type:"dataZoom.select"});e.exports=r},88322:function(e,t,n){var i=n(83897),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"}}}),o=r;e.exports=o},80698:function(e,t,n){n(57658);var i=n(63122),r=n(13199),o=n(20594),a=n(14243),s=n(57577),l=n(43789),u=n(7928),c=n(48693),h=o.Rect,d=l.linearMap,f=l.asc,p=i.bind,g=i.each,m=7,v=1,y=30,b="horizontal",x="vertical",_=5,w=["line","bar","candlestick","scatter"],C=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,n,i){C.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){C.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){C.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,n=this._findCoordRect(),r={width:t.getWidth(),height:t.getHeight()},o=this._orient===b?{right:r.width-n.x-n.width,top:r.height-y-m,width:n.width,height:y}:{right:m,top:n.y,width:y,height:n.height},a=u.getLayoutParams(e.option);i.each(["right","top","width","height"],(function(e){"ph"===a[e]&&(a[e]=o[e])}));var s=u.getLayoutRect(a,r,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===x&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=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!==b||r?n===b&&r?{scale:a?[-1,1]:[-1,-1]}:n!==x||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=e.getBoundingRect([o]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.barGroup;n.add(new h({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),n.add(new h({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:i.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,n=e.series,r=n.getRawData(),a=n.getShadowDim?n.getShadowDim():e.otherDim;if(null!=a){var s=r.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,t[1]],h=[0,t[0]],f=[[t[0],0],[0,0]],p=[],g=h[1]/(r.count()-1),m=0,v=Math.round(r.count()/t[0]);r.each([a],(function(e,t){if(v>0&&t%v)m+=g;else{var n=null==e||isNaN(e)||""===e,i=n?0:d(e,s,c,!0);n&&!u&&t?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,i]),p.push([m,i]),m+=g,u=n}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:f},style:i.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,r=this.ecModel;return e.eachTargetAxis((function(o,a){var s=e.getAxisProxy(o.name,a).getTargetSeriesModels();i.each(s,(function(e){if(!n&&!(!0!==t&&i.indexOf(w,e.get("type"))<0)){var s,l=r.getComponent(o.axis,a).axis,u=S(o.name),c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=e.getData().mapDimension(u),n={thisAxis:l,series:e,thisDim:o.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],i=this._displayables.barGroup,r=this._size,a=this.dataZoomModel;i.add(e.filler=new h({draggable:!0,cursor:k(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),i.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:v,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(e){var r=o.createIcon(a.get("handleIcon"),{cursor:k(this._orient),draggable:!0,drift:p(this._onDragMove,this,e),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=r.getBoundingRect();this._handleHeight=l.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,r.setStyle(a.getModel("handleStyle").getItemStyle());var u=a.get("handleColor");null!=u&&(r.style.fill=u),i.add(t[e]=r);var c=a.textStyleModel;this.group.add(n[e]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[d(e[0],[0,100],t,!0),d(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];c(t,i,r,n.get("zoomLock")?"all":e,null!=o.minSpan?d(o.minSpan,a,r,!0):null,null!=o.maxSpan?d(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=f([d(i[0],r,a,!0),d(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,n=this._handleEnds,i=f(n.slice()),r=this._size;g([0,1],(function(e){var i=t.handles[e],o=this._handleHeight;i.attr({scale:[o/2,o/2],position:[n[e],r[1]/2-o/2]})}),this),t.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,a=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=e?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=f(this._handleEnds.slice());function d(e){var t=o.getTransform(n.handles[e].parent,this.group),s=o.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+_,u=o.applyTransform([h[e]+(0===e?-l:l),this._size[1]/2],t);i[e].setStyle({x:u[0],y:u[1],textVerticalAlign:r===b?"middle":s,textAlign:r===b?s:"center",text:a[e]})}d.call(this,0),d.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,r=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=t.getPixelPrecision());var a=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(o,20));return i.isFunction(r)?r(e,a):i.isString(r)?r.replace("{value}",a):a},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n,i){this._dragging=!0,r.stop(i.event);var a=this._displayables.barGroup.getLocalTransform(),s=o.applyTransform([t,n],a,!0),l=this._updateInterval(e,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,n=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(g(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}})),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});function S(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function k(e){return"vertical"===e?"ns-resize":"ew-resize"}var M=C;e.exports=M},27766:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(2708);i.registerAction("dataZoom",(function(e,t){var n=o.createLinkedNodesFinder(r.bind(t.eachComponent,t,"dataZoom"),o.eachAxisDim,(function(e,t){return e.get(t.axisIndex)})),i=[];t.eachComponent({mainType:"dataZoom",query:e},(function(e,t){i.push.apply(i,n(e).nodes)})),r.each(i,(function(t,n){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))},71384:function(e,t,n){var i=n(39405),r=n(63122),o=r.createHashMap,a=r.each;i.registerProcessor({getTargetSeries:function(e){var t=o();return e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,i){var r=i.getAxisProxy(e.name,n);a(r.getTargetSeriesModels(),(function(e){t.set(e.uid,e)}))}))})),t},modifyOutputEnd:!0,overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,i){i.getAxisProxy(e.name,n).reset(i,t)})),e.eachTargetAxis((function(e,n,i){i.getAxisProxy(e.name,n).filterData(i,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy(),n=t.getDataPercentWindow(),i=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}))}})},2708:function(e,t,n){n(57658);var i=n(63122),r=n(18906),o=["x","y","z","radius","angle","single"],a=["cartesian2d","polar","singleAxis"];function s(e){return i.indexOf(a,e)>=0}function l(e,t){e=e.slice();var n=i.map(e,r.capitalFirst);t=(t||[]).slice();var o=i.map(t,r.capitalFirst);return function(r,a){i.each(e,(function(e,i){for(var s={name:e,capital:n[i]},l=0;l<t.length;l++)s[t[l]]=e+o[l];r.call(a,s)}))}}var u=l(o,["axisIndex","axis","index","id"]);function c(e,t,n){return function(n){var i,s={nodes:[],records:{}};if(t((function(e){s.records[e.name]={}})),!n)return s;a(n,s);do{i=!1,e(l)}while(i);function l(e){!r(e,s)&&o(e,s)&&(a(e,s),i=!0)}return s};function r(e,t){return i.indexOf(t.nodes,e)>=0}function o(e,r){var o=!1;return t((function(t){i.each(n(e,t)||[],(function(e){r.records[t.name][e]&&(o=!0)}))})),o}function a(e,r){r.nodes.push(e),t((function(t){i.each(n(e,t)||[],(function(e){r.records[t.name][e]=!0}))}))}}t.isCoordSupported=s,t.createNameEach=l,t.eachAxisDim=u,t.createLinkedNodesFinder=c},20603:function(e,t,n){n(57658);var i=n(63122),r=i.each,o="\0_ec_hist_store";function a(e,t){var n=c(e);r(t,(function(t,i){for(var r=n.length-1;r>=0;r--){var o=n[r];if(o[i])break}if(r<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var s=a.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}})),n.push(t)}function s(e){var t=c(e),n=t[t.length-1];t.length>1&&t.pop();var i={};return r(n,(function(e,n){for(var r=t.length-1;r>=0;r--){e=t[r][n];if(e){i[n]=e;break}}})),i}function l(e){e[o]=null}function u(e){return c(e).length}function c(e){var t=e[o];return t||(t=e[o]=[{}]),t}t.push=a,t.pop=s,t.clear=l,t.count=u},45609:function(e,t,n){n(57658);var i=n(63122),r=n(56738),o=n(14243),a="\0_ec_dataZoom_roams";function s(e,t){var n=c(e),r=t.dataZoomId,a=t.coordId;i.each(n,(function(e,n){var o=e.dataZoomInfos;o[r]&&i.indexOf(t.allCoordIds,a)<0&&(delete o[r],e.count--)})),d(n);var s=n[a];s||(s=n[a]={coordId:a,dataZoomInfos:{},count:0},s.controller=h(e,s),s.dispatchAction=i.curry(f,e)),!s.dataZoomInfos[r]&&s.count++,s.dataZoomInfos[r]=t;var l=p(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(t.containsPoint),o.createOrUpdate(s,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")}function l(e,t){var n=c(e);i.each(n,(function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)})),d(n)}function u(e){return e.type+"\0_"+e.id}function c(e){var t=e.getZr();return t[a]||(t[a]={})}function h(e,t){var n=new r(e.getZr());return i.each(["pan","zoom","scrollMove"],(function(e){n.on(e,(function(n){var r=[];i.each(t.dataZoomInfos,(function(i){if(n.isAvailableBehavior(i.dataZoomModel.option)){var o=(i.getRange||{})[e],a=o&&o(t.controller,n);!i.dataZoomModel.get("disabled",!0)&&a&&r.push({dataZoomId:i.dataZoomId,start:a[0],end:a[1]})}})),r.length&&t.dispatchAction(r)}))})),n}function d(e){i.each(e,(function(t,n){t.count||(t.controller.dispose(),delete e[n])}))}function f(e,t){e.dispatchAction({type:"dataZoom",batch:t})}function p(e){var t,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return i.each(e,(function(e){var i=e.dataZoomModel,a=!i.get("disabled",!0)&&(!i.get("zoomLock",!0)||"move");r[n+a]>r[n+t]&&(t=a),o&=i.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}t.register=s,t.unregister=l,t.generateCoordId=u},25301:function(e,t,n){var i=n(93141);i.registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},42942:function(e,t,n){var i=n(93141),r=n(55155),o=n(2240),a=o.detectSourceFormat,s=n(28103),l=s.SERIES_LAYOUT_BY_COLUMN;i.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){a(this)}}),r.extend({type:"dataset"})},64750:function(e,t,n){var i=n(39405),r=n(63122);function o(e,t){t.update="updateView",i.registerAction(t,(function(t,n){var i={};return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name);var o=n.coordinateSystem;r.each(o.regions,(function(e){i[e.name]=n.isSelected(e.name)||!1}))})),{selected:i,name:t.name}}))}n(27758),n(19033),n(38906),n(78902),o("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),o("select",{type:"geoSelect",event:"geoselected"}),o("unSelect",{type:"geoUnSelect",event:"geounselected"})},38906:function(e,t,n){var i=n(39482),r=n(39405),o=r.extendComponentView({type:"geo",init:function(e,t){var n=new i(t,!0);this._mapDraw=n,this.group.add(n.group)},render:function(e,t,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var r=this._mapDraw;e.get("show")?r.draw(e,t,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});e.exports=o},87802:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(39405)),o=n(63122),a=n(46458),s=n(20594),l=n(7928),u=n(43789),c=u.parsePercent,h={path:null,compoundPath:null,group:s.Group,image:s.Image,text:s.Text};r.registerPreprocessor((function(e){var t=e.graphic;o.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}));var d=r.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,d.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var n=this.option,i=(t?n:e).elements,r=n.elements=t?[]:n.elements,s=[];this._flatten(i,s);var l=a.mappingToExists(r,s);a.makeIdAndName(l);var u=this._elOptionsToUpdate=[];o.each(l,(function(e,t){var n=e.option;n&&(u.push(n),v(e,n),y(r,t,n),b(r[t],n))}),this);for(var c=r.length-1;c>=0;c--)null==r[c]?r.splice(c,1):delete r[c].$action},_flatten:function(e,t,n){o.each(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var i=e.children;"group"===e.type&&i&&this._flatten(i,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function f(e,t,n,i){var r=n.type,o=h.hasOwnProperty(r)?h[r]:s.getShapeClass(r),a=new o(n);t.add(a),i.set(e,a),a.__ecGraphicId=e}function p(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse((function(e){p(e,t)})),t.removeKey(e.__ecGraphicId),n.remove(e))}function g(e){return e=o.extend({},e),o.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(t){delete e[t]})),e}function m(e,t){var n;return o.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}function v(e,t){var n=e.exist;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var i=t.parentOption;i?t.parentId=i.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function y(e,t,n){var i=o.extend({},n),r=e[t],a=n.$action||"merge";"merge"===a?r?(o.merge(r,i,!0),l.mergeLayoutParam(r,i,{ignoreSize:!0}),l.copyLayoutParams(n,r)):e[t]=i:"replace"===a?e[t]=i:"remove"===a&&r&&(e[t]=null)}function b(e,t){e&&(e.hv=t.hv=[m(t,["left","right"]),m(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}function x(e,t,n){var i=e.eventData;e.silent||e.ignore||i||(i=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),i&&(i.info=e.info)}r.extendComponentView({type:"graphic",init:function(e,t){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,i=this.group;o.each(t,(function(t){var r=t.$action,o=t.id,a=n.get(o),s=t.parentId,l=null!=s?n.get(s):i,u=t.style;"text"===t.type&&u&&(t.hv&&t.hv[1]&&(u.textVerticalAlign=u.textBaseline=null),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));var c=g(t);r&&"merge"!==r?"replace"===r?(p(a,n),f(o,l,c,n)):"remove"===r&&p(a,n):a?a.attr(c):f(o,l,c,n);var h=n.get(o);h&&(h.__ecGraphicWidthOption=t.width,h.__ecGraphicHeightOption=t.height,x(h,e,t))}))}},_relocate:function(e,t){for(var n=e.option.elements,i=this.group,r=this._elMap,o=t.getWidth(),a=t.getHeight(),s=0;s<n.length;s++){var u=n[s],h=r.get(u.id);if(h&&h.isGroup){var d=h.parent,f=d===i;h.__ecGraphicWidth=c(h.__ecGraphicWidthOption,f?o:d.__ecGraphicWidth)||0,h.__ecGraphicHeight=c(h.__ecGraphicHeightOption,f?a:d.__ecGraphicHeight)||0}}for(s=n.length-1;s>=0;s--){u=n[s],h=r.get(u.id);if(h){d=h.parent;var p=d===i?{width:o,height:a}:{width:d.__ecGraphicWidth,height:d.__ecGraphicHeight};l.positionElement(h,u,p,null,{hv:u.hv,boundingMode:u.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){p(t,e)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},2941:function(e,t,n){n(62093),n(65881),n(47545)},62093:function(e,t,n){var i=n(39405),r=n(63122),o=n(20594);n(15187),n(18652),i.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new o.Rect({shape:e.coordinateSystem.getRect(),style:r.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))},27635:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=n(65836),a=n(20594),s=n(1597),l=n(85098),u=r.curry,c=r.each,h=r.map,d=Math.min,f=Math.max,p=Math.pow,g=1e4,m=6,v=6,y="globalPan",b={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},x={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},_={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},w=0;function C(e){o.call(this),this._zr=e,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+w++,this._handlers={},c(re,(function(e,t){this._handlers[t]=r.bind(e,this)}),this)}function S(e,t){var n=e._zr;e._enableGlobalPan||s.take(n,y,e._uid),M(n,e._handlers),e._brushType=t.brushType,e._brushOption=r.merge(r.clone(_),t,!0)}function k(e){var t=e._zr;s.release(t,y,e._uid),T(t,e._handlers),e._brushType=e._brushOption=null}function M(e,t){c(t,(function(t,n){e.on(n,t)}))}function T(e,t){c(t,(function(t,n){e.off(n,t)}))}function E(e,t){var n=se[t.brushType].createCover(e,t);return n.__brushOption=t,O(n,t),e.group.add(n),n}function D(e,t){var n=A(t);return n.endCreating&&(n.endCreating(e,t),O(t,t.__brushOption)),t}function P(e,t){var n=t.__brushOption;A(t).updateCoverShape(e,t,n.range,n)}function O(e,t){var n=t.z;null==n&&(n=g),e.traverse((function(e){e.z=n,e.z2=n}))}function I(e,t){A(t).updateCommon(e,t),P(e,t)}function A(e){return se[e.__brushOption.brushType]}function L(e,t,n){var i,r=e._panels;if(!r)return!0;var o=e._transform;return c(r,(function(e){e.isTargetByCursor(t,n,o)&&(i=e)})),i}function N(e,t){var n=e._panels;if(!n)return!0;var i=t.__brushOption.panelId;return null==i||n[i]}function R(e){var t=e._covers,n=t.length;return c(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function z(e,t){var n=h(e._covers,(function(e){var t=e.__brushOption,n=r.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",n,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function $(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],i=t[0],r=n[0]-i[0],o=n[1]-i[1],a=p(r*r+o*o,.5);return a>m}function B(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function F(e,t,n,i){var r=new a.Group;return r.add(new a.Rect({name:"main",style:W(n),silent:!0,draggable:!0,cursor:"move",drift:u(e,t,r,"nswe"),ondragend:u(z,t,{isEnd:!0})})),c(i,(function(n){r.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u(e,t,r,n),ondragend:u(z,t,{isEnd:!0})}))})),r}function j(e,t,n,i){var r=i.brushStyle.lineWidth||0,o=f(r,v),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],d=c-o+r/2,p=h-o+r/2,g=c-a,m=h-s,y=g+r,b=m+r;H(e,t,"main",a,s,g,m),i.transformable&&(H(e,t,"w",l,u,o,b),H(e,t,"e",d,u,o,b),H(e,t,"n",l,u,y,o),H(e,t,"s",l,p,y,o),H(e,t,"nw",l,u,o,o),H(e,t,"ne",d,u,o,o),H(e,t,"sw",l,p,o,o),H(e,t,"se",d,p,o,o))}function V(e,t){var n=t.__brushOption,i=n.transformable,r=t.childAt(0);r.useStyle(W(n)),r.attr({silent:!i,cursor:i?"move":"default"}),c(["w","e","n","s","se","sw","ne","nw"],(function(n){var r=t.childOfName(n),o=U(e,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?x[o]+"-resize":null})}))}function H(e,t,n,i,r,o,a){var s=t.childOfName(n);s&&s.setShape(Q(K(e,t,[[i,r],[i+o,r+a]])))}function W(e){return r.defaults({strokeNoScale:!0},e.brushStyle)}function G(e,t,n,i){var r=[d(e,n),d(t,i)],o=[f(e,n),f(t,i)];return[[r[0],o[0]],[r[1],o[1]]]}function q(e){return a.getTransform(e.group)}function U(e,t){if(t.length>1){t=t.split("");var n=[U(e,t[0]),U(e,t[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=a.transformDirection(i[t],q(e));return r[n]}function Y(e,t,n,i,r,o,a,s){var l=i.__brushOption,u=e(l.range),h=Z(n,o,a);c(r.split(""),(function(e){var t=b[e];u[t[0]][t[1]]+=h[t[0]]})),l.range=t(G(u[0][0],u[1][0],u[0][1],u[1][1])),I(n,i),z(n,{isEnd:!1})}function X(e,t,n,i,r){var o=t.__brushOption.range,a=Z(e,n,i);c(o,(function(e){e[0]+=a[0],e[1]+=a[1]})),I(e,t),z(e,{isEnd:!1})}function Z(e,t,n){var i=e.group,r=i.transformCoordToLocal(t,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function K(e,t,n){var i=N(e,t);return i&&!0!==i?i.clipPath(n,e._transform):r.clone(n)}function Q(e){var t=d(e[0][0],e[1][0]),n=d(e[0][1],e[1][1]),i=f(e[0][0],e[1][0]),r=f(e[0][1],e[1][1]);return{x:t,y:n,width:i-t,height:r-n}}function J(e,t,n){if(e._brushType&&!ae(e,t)){var i=e._zr,r=e._covers,o=L(e,t,n);if(!e._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(!0===o||s.panelId===o.panelId)&&se[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}function ee(e){var t=e.event;t.preventDefault&&t.preventDefault()}function te(e,t,n){return e.childOfName("main").contain(t,n)}function ne(e,t,n,i){var o,a=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),$(e)||a){if(s&&!a){"single"===l.brushMode&&R(e);var u=r.clone(l);u.brushType=ie(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=e._creatingCover=E(e,u),e._covers.push(a)}if(a){var c=se[ie(e._brushType,s)],h=a.__brushOption;h.range=c.getCreatingRange(K(e,a,e._track)),i&&(D(e,a),c.updateCommon(e,a)),P(e,a),o={isEnd:i}}}else i&&"single"===l.brushMode&&l.removeOnClick&&L(e,t,n)&&R(e)&&(o={isEnd:i,removeOnClick:!0});return o}function ie(e,t){return"auto"===e?t.defaultBrushType:e}C.prototype={constructor:C,enableBrush:function(e){return this._brushType&&k(this),e.brushType&&S(this,e),this},setPanels:function(e){if(e&&e.length){var t=this._panels={};r.each(e,(function(e){t[e.panelId]=r.clone(e)}))}else this._panels=null;return this},mount:function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({position:e.position||[0,0],rotation:e.rotation||0,scale:e.scale||[1,1]}),this._transform=t.getLocalTransform(),this},eachCover:function(e,t){c(this._covers,e,t)},updateCovers:function(e){e=r.map(e,(function(e){return r.merge(r.clone(_),e,!0)}));var t="\0-brush-index-",n=this._covers,i=this._covers=[],o=this,a=this._creatingCover;return new l(n,e,u,s).add(c).update(c).remove(h).execute(),this;function s(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function u(e,t){return s(e.__brushOption,t)}function c(t,r){var s=e[t];if(null!=r&&n[r]===a)i[t]=n[r];else{var l=i[t]=null!=r?(n[r].__brushOption=s,n[r]):D(o,E(o,s));I(o,l)}}function h(e){n[e]!==a&&o.group.remove(n[e])}},unmount:function(){return this.enableBrush(!1),R(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},r.mixin(C,o);var re={mousedown:function(e){if(this._dragging)oe(this,e);else if(!e.target||!e.target.draggable){ee(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var n=this._creatingPanel=L(this,e,t);n&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,i=this.group.transformCoordToLocal(t,n);if(J(this,e,i),this._dragging){ee(e);var r=ne(this,e,i,!1);r&&z(this,r)}},mouseup:function(e){oe(this,e)}};function oe(e,t){if(e._dragging){ee(t);var n=t.offsetX,i=t.offsetY,r=e.group.transformCoordToLocal(n,i),o=ne(e,t,r,!0);e._dragging=!1,e._track=[],e._creatingCover=null,o&&z(e,o)}}function ae(e,t,n){var i=e._zr;return t<0||t>i.getWidth()||n<0||n>i.getHeight()}var se={lineX:le(0),lineY:le(1),rect:{createCover:function(e,t){return F(u(Y,(function(e){return e}),(function(e){return e})),e,t,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(e){var t=B(e);return G(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,i){j(e,t,n,i)},updateCommon:V,contain:te},polygon:{createCover:function(e,t){var n=new a.Group;return n.add(new a.Polyline({name:"main",style:W(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new a.Polygon({name:"main",draggable:!0,drift:u(X,e,t),ondragend:u(z,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,i){t.childAt(0).setShape({points:K(e,t,n)})},updateCommon:V,contain:te}};function le(e){return{createCover:function(t,n){return F(u(Y,(function(t){var n=[t,[0,100]];return e&&n.reverse(),n}),(function(t){return t[e]})),t,n,[["w","e"],["n","s"]][e])},getCreatingRange:function(t){var n=B(t),i=d(n[0][e],n[1][e]),r=f(n[0][e],n[1][e]);return[i,r]},updateCoverShape:function(t,n,i,r){var o,a=N(t,n);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e,t._transform);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[i,o];e&&l.reverse(),j(t,n,l,r)},updateCommon:V,contain:te}}var ue=C;e.exports=ue},22266:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=n(20594),a=n(46458),s=n(39233),l=r.each,u=r.indexOf,c=r.curry,h=["dataToPoint","pointToData"],d=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function f(e,t,n){var i=this._targetInfoList=[],r={},o=m(t,e);l(v,(function(e,t){(!n||!n.include||u(n.include,t)>=0)&&e(o,i,r)}))}var p=f.prototype;function g(e){return e[0]>e[1]&&e.reverse(),e}function m(e,t){return a.parseFinder(e,t,{includeMainTypes:d})}p.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var i=x[e.brushType](0,n,t);e.__rangeOffset={offset:w[e.brushType](i.values,e.range,[1,1]),xyMinMax:i.xyMinMax}}}))},p.matchOutputRanges=function(e,t,n){l(e,(function(e){var i=this.findTargetInfo(e,t);i&&!0!==i&&r.each(i.coordSyses,(function(i){var r=x[e.brushType](1,i,e.range);n(e,r.values,i,t)}))}),this)},p.setInputRanges=function(e,t){l(e,(function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var i=x[e.brushType](0,n.coordSys,e.coordRange),r=e.__rangeOffset;e.range=r?w[e.brushType](i.values,r.offset,S(i.xyMinMax,r.xyMinMax)):i.values}}),this)},p.makePanelOpts=function(e,t){return r.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:s.makeRectPanelClipPath(i),isTargetByCursor:s.makeRectIsTargetByCursor(i,e,n.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(i)}}))},p.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&u(i.coordSyses,t.coordinateSystem)>=0},p.findTargetInfo=function(e,t){for(var n=this._targetInfoList,i=m(t,e),r=0;r<n.length;r++){var o=n[r],a=e.panelId;if(a){if(o.panelId===a)return o}else for(r=0;r<y.length;r++)if(y[r](i,o))return o}return!0};var v={grid:function(e,t){var n=e.xAxisModels,i=e.yAxisModels,o=e.gridModels,a=r.createHashMap(),s={},c={};(n||i||o)&&(l(n,(function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0})),l(i,(function(e){var t=e.axis.grid.model;a.set(t.id,t),c[t.id]=!0})),l(o,(function(e){a.set(e.id,e),s[e.id]=!0,c[e.id]=!0})),a.each((function(e){var r=e.coordinateSystem,o=[];l(r.getCartesians(),(function(e,t){(u(n,e.getAxis("x").model)>=0||u(i,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:b.grid,xAxisDeclared:s[e.id],yAxisDeclared:c[e.id]})})))},geo:function(e,t){l(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:b.geo})}))}},y=[function(e,t){var n=e.xAxisModel,i=e.yAxisModel,r=e.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],b={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(o.getTransform(e)),t}},x={lineX:c(_,0),lineY:c(_,1),rect:function(e,t,n){var i=t[h[e]]([n[0][0],n[1][0]]),r=t[h[e]]([n[0][1],n[1][1]]),o=[g([i[0],r[0]]),g([i[1],r[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n){var i=[[1/0,-1/0],[1/0,-1/0]],o=r.map(n,(function(n){var r=t[h[e]](n);return i[0][0]=Math.min(i[0][0],r[0]),i[1][0]=Math.min(i[1][0],r[1]),i[0][1]=Math.max(i[0][1],r[0]),i[1][1]=Math.max(i[1][1],r[1]),r}));return{values:o,xyMinMax:i}}};function _(e,t,n,i){var o=n.getAxis(["x","y"][e]),a=g(r.map([0,1],(function(e){return t?o.coordToData(o.toLocalCoord(i[e])):o.toGlobalCoord(o.dataToCoord(i[e]))}))),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var w={lineX:c(C,0),lineY:c(C,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return r.map(e,(function(e,i){return[e[0]-n[0]*t[i][0],e[1]-n[1]*t[i][1]]}))}};function C(e,t,n,i){return[t[0]-i[e]*n[0],t[1]-i[e]*n[1]]}function S(e,t){var n=k(e),i=k(t),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function k(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var M=f;e.exports=M},39482:function(e,t,n){n(57658);var i=n(63122),r=n(56738),o=n(59716),a=n(23668),s=a.onIrrelevantElement,l=n(20594),u=n(82038),c=n(6106),h=c.getUID,d=n(71082);function f(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function p(e,t,n,r,o){n.off("click"),n.off("mousedown"),t.get("selectedMode")&&(n.on("mousedown",(function(){e._mouseDownFlag=!0})),n.on("click",(function(a){if(e._mouseDownFlag){e._mouseDownFlag=!1;var s=a.target;while(!s.__regions)s=s.parent;if(s){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:i.map(s.__regions,(function(e){return{name:e.name,from:o.uid}}))};l[t.mainType+"Id"]=t.id,r.dispatchAction(l),g(t,n)}}})))}function g(e,t){t.eachChild((function(t){i.each(t.__regions,(function(n){t.trigger(e.isSelected(n.name)?"emphasis":"normal")}))}))}function m(e,t){var n=new l.Group;this.uid=h("ec_map_draw"),this._controller=new r(e.getZr()),this._controllerHost={target:t?n:null},this.group=n,this._updateGroup=t,this._mouseDownFlag,this._mapName,this._initialized,n.add(this._regionsGroup=new l.Group),n.add(this._backgroundGroup=new l.Group)}m.prototype={constructor:m,draw:function(e,t,n,r,o){var a="geo"===e.mainType,s=e.getData&&e.getData();a&&t.eachComponent({mainType:"series",subType:"map"},(function(t){s||t.getHostGeoModel()!==e||(s=t.getData())}));var u=e.coordinateSystem;this._updateBackground(u);var c,h=this._regionsGroup,m=this.group,v=u.getTransformInfo(),y=!h.childAt(0)||o;if(y)m.transform=v.roamTransform,m.decomposeTransform(),m.dirty();else{var b=new d;b.transform=v.roamTransform,b.decomposeTransform();var x={scale:b.scale,position:b.position};c=b.scale,l.updateProps(m,x,e)}var _=v.rawScale,w=v.rawPosition;h.removeAll();var C=["itemStyle"],S=["emphasis","itemStyle"],k=["label"],M=["emphasis","label"],T=i.createHashMap();i.each(u.regions,(function(t){var n=T.get(t.name)||T.set(t.name,new l.Group),r=new l.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});n.add(r);var o,u=e.getRegionModel(t.name)||e,d=u.getModel(C),p=u.getModel(S),g=f(d),v=f(p),b=u.getModel(k),x=u.getModel(M);if(s){o=s.indexOfName(t.name);var E=s.getItemVisual(o,"color",!0);E&&(g.fill=E)}var D=function(e){return[e[0]*_[0]+w[0],e[1]*_[1]+w[1]]};i.each(t.geometries,(function(e){if("polygon"===e.type){for(var t=[],n=0;n<e.exterior.length;++n)t.push(D(e.exterior[n]));r.shape.paths.push(new l.Polygon({segmentIgnoreThreshold:1,shape:{points:t}}));for(n=0;n<(e.interiors?e.interiors.length:0);++n){for(var i=e.interiors[n],o=(t=[],0);o<i.length;++o)t.push(D(i[o]));r.shape.paths.push(new l.Polygon({segmentIgnoreThreshold:1,shape:{points:t}}))}}})),r.setStyle(g),r.style.strokeNoScale=!0,r.culling=!0;var P=b.get("show"),O=x.get("show"),I=s&&isNaN(s.get(s.mapDimension("value"),o)),A=s&&s.getItemLayout(o);if(a||I&&(P||O)||A&&A.showLabel){var L,N=a?t.name:o;(!s||o>=0)&&(L=e);var R=new l.Text({position:D(t.center.slice()),scale:[1/m.scale[0],1/m.scale[1]],z2:10,silent:!0});if(l.setLabelStyle(R.style,R.hoverStyle={},b,x,{labelFetcher:L,labelDataIndex:N,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!y){var z=[1/c[0],1/c[1]];l.updateProps(R,{scale:z},e)}n.add(R)}if(s)s.setItemGraphicEl(o,n);else{u=e.getRegionModel(t.name);r.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:u&&u.option||{}}}var $=n.__regions||(n.__regions=[]);$.push(t),n.highDownSilentOnTouch=!!e.get("selectedMode"),l.setHoverStyle(n,v),h.add(n)})),this._updateController(e,t,n),p(this,e,h,n,r),g(e,h)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&i.each(u.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,n){var r=e.coordinateSystem,a=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=r.getZoom(),a.enable(e.get("roam")||!1);var u=e.mainType;function c(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}a.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,o.updateViewOnPan(l,e.dx,e.dy),n.dispatchAction(i.extend(c(),{dx:e.dx,dy:e.dy}))}),this),a.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,e.scale,e.originX,e.originY),n.dispatchAction(i.extend(c(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),a.setPointerChecker((function(t,i,o){return r.getViewRectAfterRoam().contain(i,o)&&!s(t,n,e)}))}};var v=m;e.exports=v},56738:function(e,t,n){var i=n(63122),r=n(65836),o=n(13199),a=n(1597);function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=i.bind,n=t(l,this),o=t(u,this),a=t(c,this),s=t(h,this),f=t(d,this);r.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,r){this.disable(),this._opt=i.defaults(i.clone(r)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",o),e.on("mouseup",a)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",f))},this.disable=function(){e.off("mousedown",n),e.off("mousemove",o),e.off("mouseup",a),e.off("mousewheel",s),e.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(o.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,n)&&(this._x=t,this._y=n,this._dragging=!0)}}function u(e){if(this._dragging&&g("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!a.isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,i=this._x,r=this._y,s=t-i,l=n-r;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&o.stop(e.event),p(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:i,oldY:r,newX:t,newY:n})}}function c(e){o.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function h(e){var t=g("zoomOnMouseWheel",e,this._opt),n=g("moveOnMouseWheel",e,this._opt),i=e.wheelDelta,r=Math.abs(i),o=e.offsetX,a=e.offsetY;if(0!==i&&(t||n)){if(t){var s=r>3?1.4:r>1?1.2:1.1,l=i>0?s:1/s;f(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:o,originY:a})}if(n){var u=Math.abs(i),c=(i>0?1:-1)*(u>3?.4:u>1?.15:.05);f(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:o,originY:a})}}}function d(e){if(!a.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;f(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY})}}function f(e,t,n,i,r){e.pointerChecker&&e.pointerChecker(i,r.originX,r.originY)&&(o.stop(i.event),p(e,t,n,i,r))}function p(e,t,n,r,o){o.isAvailableBehavior=i.bind(g,null,n,r),e.trigger(t,o)}function g(e,t,n){var r=n[e];return!e||r&&(!i.isString(r)||t.event[r+"Key"])}i.mixin(s,r);var m=s;e.exports=m},39233:function(e,t,n){var i=n(46630),r=n(23668),o=r.onIrrelevantElement,a=n(20594);function s(e){return e=c(e),function(t,n){return a.clipPointsByRect(t,e)}}function l(e,t){return e=c(e),function(n){var i=null!=t?t:n,r=i?e.width:e.height,o=i?e.x:e.y;return[o,o+(r||0)]}}function u(e,t,n){return e=c(e),function(i,r,a){return e.contain(r[0],r[1])&&!o(i,t,n)}}function c(e){return i.create(e)}t.makeRectPanelClipPath=s,t.makeLinearBrushOtherExtent=l,t.makeRectIsTargetByCursor=u},23668:function(e,t){var n={axisPointer:1,tooltip:1,brush:1};function i(e,t,i){var r=t.getComponentByElement(e.topTarget),o=r&&r.coordinateSystem;return r&&r!==i&&!n[r.mainType]&&o&&o.model!==i}t.onIrrelevantElement=i},1597:function(e,t,n){var i=n(39405),r="\0_ec_interaction_mutex";function o(e,t,n){var i=l(e);i[t]=n}function a(e,t,n){var i=l(e),r=i[t];r===n&&(i[t]=null)}function s(e,t){return!!l(e)[t]}function l(e){return e[r]||(e[r]={})}i.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=o,t.release=a,t.isTaken=s},96009:function(e,t,n){var i=n(7928),r=i.getLayoutRect,o=i.box,a=i.positionElement,s=n(18906),l=n(20594);function u(e,t,n){var i=t.getBoxLayoutParams(),s=t.get("padding"),l={width:n.getWidth(),height:n.getHeight()},u=r(i,l,s);o(t.get("orient"),e,t.get("itemGap"),u.width,u.height),a(e,i,l,s)}function c(e,t){var n=s.normalizeCssArray(t.get("padding")),i=t.getItemStyle(["color","opacity"]);i.fill=t.get("backgroundColor");e=new l.Rect({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:i,silent:!0,z2:-1});return e}t.layout=u,t.makeBackground=c},59716:function(e,t){function n(e,t,n){var i=e.target,r=i.position;r[0]+=t,r[1]+=n,i.dirty()}function i(e,t,n,i){var r=e.target,o=e.zoomLimit,a=r.position,s=r.scale,l=e.zoom=e.zoom||1;if(l*=t,o){var u=o.min||0,c=o.max||1/0;l=Math.max(Math.min(c,l),u)}var h=l/e.zoom;e.zoom=l,a[0]-=(n-a[0])*(h-1),a[1]-=(i-a[1])*(h-1),s[0]*=h,s[1]*=h,r.dirty()}t.updateViewOnPan=n,t.updateViewOnZoom=i},22717:function(e,t,n){var i=n(63122),r={updateSelectedMap:function(e){this._targetList=i.isArray(e)?e.slice():[],this._selectTargetMap=i.reduce(e||[],(function(e,t){return e.set(t.name,t),e}),i.createHashMap())},select:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e),i=this.get("selectedMode");"single"===i&&this._selectTargetMap.each((function(e){e.selected=!1})),n&&(n.selected=!0)},unSelect:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);n&&(n.selected=!1)},toggleSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);if(null!=n)return this[n.selected?"unSelect":"select"](e,t),n.selected},isSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);return n&&n.selected}};e.exports=r},48693:function(e){function t(e,t,r,o,a,s){e=e||0;var l=r[1]-r[0];if(null!=a&&(a=i(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===o){var u=Math.abs(t[1]-t[0]);u=i(u,[0,l]),a=s=i(u,[a,s]),o=0}t[0]=i(t[0],r),t[1]=i(t[1],r);var c=n(t,o);t[o]+=e;var h=a||0,d=r.slice();c.sign<0?d[0]+=h:d[1]-=h,t[o]=i(t[o],d);var f=n(t,o);null!=a&&(f.sign!==c.sign||f.span<a)&&(t[1-o]=t[o]+c.sign*a);f=n(t,o);return null!=s&&f.span>s&&(t[1-o]=t[o]+f.sign*s),t}function n(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function i(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=t},4358:function(e,t,n){var i=n(39405);n(12855),n(12966),n(19122);var r=n(9367),o=n(93141);i.registerProcessor(i.PRIORITY.PROCESSOR.SERIES_FILTER,r),o.registerSubTypeDefaulter("legend",(function(){return"plain"}))},80373:function(e,t,n){n(4358),n(85610),n(35022),n(93516)},12855:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(90350),a=n(46458),s=a.isNameSpecified,l=n(79143),u=l.legend.selector,c={all:{type:"all",title:r.clone(u.all)},inverse:{type:"inverse",title:r.clone(u.inverse)}},h=i.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},mergeOption:function(e){h.superCall(this,"mergeOption",e),this._updateSelector(e)},_updateSelector:function(e){var t=e.selector;!0===t&&(t=e.selector=["all","inverse"]),r.isArray(t)&&r.each(t,(function(e,n){r.isString(e)&&(e={type:e}),t[n]=r.merge(e,c[e.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var i=e[n].get("name");if(this.isSelected(i)){this.select(i),t=!0;break}}!t&&this.select(e[0].get("name"))}},_updateData:function(e){var t=[],n=[];e.eachRawSeries((function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider,l=a.getAllNames();e.isSeriesFiltered(i)||(n=n.concat(l)),l.length?t=t.concat(l):r=!0}else r=!0;r&&s(i)&&t.push(i.name)})),this._availableNames=n;var i=this.get("data")||t,a=r.map(i,(function(e){return"string"!==typeof e&&"number"!==typeof e||(e={name:e}),new o(e,this,this.ecModel)}),this);this._data=a},getData:function(){return this._data},select:function(e){var t=this.option.selected,n=this.get("selectedMode");if("single"===n){var i=this._data;r.each(i,(function(e){t[e.get("name")]=!1}))}t[e]=!0},unSelect:function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},toggleSelected:function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},allSelect:function(){var e=this._data,t=this.option.selected;r.each(e,(function(e){t[e.get("name",!0)]=!0}))},inverseSelect:function(){var e=this._data,t=this.option.selected;r.each(e,(function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]}))},isSelected:function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&r.indexOf(this._availableNames,e)>=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),d=h;e.exports=d},19122:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(39405)),o=n(63122),a=n(84682),s=a.createSymbol,l=n(20594),u=n(96009),c=u.makeBackground,h=n(7928),d=o.curry,f=o.each,p=l.Group,g=r.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new p),this._backgroundEl,this.group.add(this._selectorGroup=new p),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(e,t,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var r=e.get("align"),a=e.get("orient");r&&"auto"!==r||(r="right"===e.get("left")&&"vertical"===a?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(r,e,t,n,s,a,l);var u=e.getBoxLayoutParams(),d={width:n.getWidth(),height:n.getHeight()},f=e.get("padding"),p=h.getLayoutRect(u,d,f),g=this.layoutInner(e,r,p,i,s,l),m=h.getLayoutRect(o.defaults({width:g.width,height:g.height},u),d,f);this.group.attr("position",[m.x-g.x,m.y-g.y]),this.group.add(this._backgroundEl=c(g,e))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(e,t,n,i,r,a,s){var l=this.getContentGroup(),u=o.createHashMap(),c=t.get("selectedMode"),h=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&h.push(e.id)})),f(t.getData(),(function(r,o){var a=r.get("name");if(this.newlineDisabled||""!==a&&"\n"!==a){var s=n.getSeriesByName(a)[0];if(!u.get(a))if(s){var f=s.getData(),g=f.getVisual("color"),m=f.getVisual("borderColor");"function"===typeof g&&(g=g(s.getDataParams(0))),"function"===typeof m&&(m=m(s.getDataParams(0)));var x=f.getVisual("legendSymbol")||"roundRect",_=f.getVisual("symbol"),w=this._createItem(a,o,r,t,x,_,e,g,m,c);w.on("click",d(v,a,null,i,h)).on("mouseover",d(y,s.name,null,i,h)).on("mouseout",d(b,s.name,null,i,h)),u.set(a,!0)}else n.eachRawSeries((function(n){if(!u.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var l=s.indexOfName(a),f=s.getItemVisual(l,"color"),p=s.getItemVisual(l,"borderColor"),g="roundRect",m=this._createItem(a,o,r,t,g,null,e,f,p,c);m.on("click",d(v,null,a,i,h)).on("mouseover",d(y,null,a,i,h)).on("mouseout",d(b,null,a,i,h)),u.set(a,!0)}}),this)}else l.add(new p({newline:!0}))}),this),r&&this._createSelector(r,t,i,a,s)},_createSelector:function(e,t,n,i,r){var o=this.getSelectorGroup();function a(e){var i=e.type,r=new l.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=t.getModel("selectorLabel"),s=t.getModel("emphasis.selectorLabel");l.setLabelStyle(r.style,r.hoverStyle={},a,s,{defaultText:e.title,isRectText:!1}),l.setHoverStyle(r)}f(e,(function(e){a(e)}))},_createItem:function(e,t,n,i,r,a,u,c,h,d){var f=i.get("itemWidth"),g=i.get("itemHeight"),v=i.get("inactiveColor"),y=i.get("inactiveBorderColor"),b=i.get("symbolKeepAspect"),x=i.getModel("itemStyle"),_=i.isSelected(e),w=new p,C=n.getModel("textStyle"),S=n.get("icon"),k=n.getModel("tooltip"),M=k.parentModel;r=S||r;var T=s(r,0,0,f,g,_?c:v,null==b||b);if(w.add(m(T,r,x,h,y,_)),!S&&a&&(a!==r||"none"===a)){var E=.8*g;"none"===a&&(a="circle");var D=s(a,(f-E)/2,(g-E)/2,E,E,_?c:v,null==b||b);w.add(m(D,a,x,h,y,_))}var P="left"===u?f+5:-5,O=u,I=i.get("formatter"),A=e;"string"===typeof I&&I?A=I.replace("{name}",null!=e?e:""):"function"===typeof I&&(A=I(e)),w.add(new l.Text({style:l.setTextStyle({},C,{text:A,x:P,y:g/2,textFill:_?C.getTextColor():v,textAlign:O,textVerticalAlign:"middle"})}));var L=new l.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:k.get("show")?o.extend({content:e,formatter:M.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:e,$vars:["name"]}},k.option):null});return w.add(L),w.eachChild((function(e){e.silent=!0})),L.silent=!d,this.getContentGroup().add(w),l.setHoverStyle(w),w.__legendDataIndex=t,w},layoutInner:function(e,t,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();h.box(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(r){h.box("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],f=e.get("selectorButtonGap",!0),p=e.getOrient().index,g=0===p?"width":"height",m=0===p?"height":"width",v=0===p?"y":"x";"end"===o?d[p]+=l[g]+f:u[p]+=c[g]+f,d[1-p]+=l[m]/2-c[m]/2,s.attr("position",d),a.attr("position",u);var y={x:0,y:0};return y[g]=l[g]+f+c[g],y[m]=Math.max(l[m],c[m]),y[v]=Math.min(0,c[v]+d[1-p]),y}return a.attr("position",u),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function m(e,t,n,i,r,o){var a;return"line"!==t&&t.indexOf("empty")<0?(a=n.getItemStyle(),e.style.stroke=i,o||(a.stroke=r)):a=n.getItemStyle(["borderWidth","borderColor"]),e.setStyle(a)}function v(e,t,n,i){b(e,t,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),y(e,t,n,i)}function y(e,t,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:i})}function b(e,t,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:i})}e.exports=g},85610:function(e,t,n){var i=n(12855),r=n(7928),o=r.mergeLayoutParam,a=r.getLayoutParams,s=i.extend({type:"legend.scroll",setScrollDataIndex:function(e){this.option.scrollDataIndex=e},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(e,t,n,i){var r=a(e);s.superCall(this,"init",e,t,n,i),l(this,e,r)},mergeOption:function(e,t){s.superCall(this,"mergeOption",e,t),l(this,this.option,e)}});function l(e,t,n){var i=e.getOrient(),r=[1,1];r[i.index]=0,o(t,n,{type:"box",ignoreSize:r})}var u=s;e.exports=u},35022:function(e,t,n){var i=n(63122),r=n(20594),o=n(7928),a=n(19122),s=r.Group,l=["width","height"],u=["x","y"],c=a.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,n,o,a,s,l){var u=this;c.superCall(this,"renderInner",e,t,n,o,a,s,l);var h=this._controllerGroup,d=t.get("pageIconSize",!0);i.isArray(d)||(d=[d,d]),p("pagePrev",0);var f=t.getModel("pageTextStyle");function p(e,n){var a=e+"DataIndex",s=r.createIcon(t.get("pageIcons",!0)[t.getOrient().name][n],{onclick:i.bind(u._pageGo,u,a,t,o)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});s.name=e,h.add(s)}h.add(new r.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(e,t,n,r,a,s){var c=this.getSelectorGroup(),h=e.getOrient().index,d=l[h],f=u[h],p=l[1-h],g=u[1-h];a&&o.box("horizontal",c,e.get("selectorItemGap",!0));var m=e.get("selectorButtonGap",!0),v=c.getBoundingRect(),y=[-v.x,-v.y],b=i.clone(n);a&&(b[d]=n[d]-v[d]-m);var x=this._layoutContentAndController(e,r,b,h,d,p,g);if(a){if("end"===s)y[h]+=x[d]+m;else{var _=v[d]+m;y[h]-=_,x[f]-=_}x[d]+=v[d]+m,y[1-h]+=x[g]+x[p]/2-v[p]/2,x[p]=Math.max(x[p],v[p]),x[g]=Math.min(x[g],v[g]+y[1-h]),c.attr("position",y)}return x},_layoutContentAndController:function(e,t,n,a,s,l,u){var c=this.getContentGroup(),h=this._containerGroup,d=this._controllerGroup;o.box(e.get("orient"),c,e.get("itemGap"),a?n.width:null,a?null:n.height),o.box("horizontal",d,e.get("pageButtonItemGap",!0));var f=c.getBoundingRect(),p=d.getBoundingRect(),g=this._showController=f[s]>n[s],m=[-f.x,-f.y];t||(m[a]=c.position[a]);var v=[0,0],y=[-p.x,-p.y],b=i.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(g){var x=e.get("pageButtonPosition",!0);"end"===x?y[a]+=n[s]-p[s]:v[a]+=p[s]+b}y[1-a]+=f[l]/2-p[l]/2,c.attr("position",m),h.attr("position",v),d.attr("position",y);var _={x:0,y:0};if(_[s]=g?n[s]:f[s],_[l]=Math.max(f[l],p[l]),_[u]=Math.min(0,p[u]+y[1-a]),h.__rectSize=n[s],g){var w={x:0,y:0};w[s]=Math.max(n[s]-p[s]-b,0),w[l]=_[l],h.setClipPath(new r.Rect({shape:w})),h.__rectSize=w[s]}else d.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var C=this._getPageInfo(e);return null!=C.pageIndex&&r.updateProps(c,{position:C.contentPosition},!!g&&e),this._updatePageInfoView(e,C),_},_pageGo:function(e,t,n){var i=this._getPageInfo(t)[e];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:t.id})},_updatePageInfoView:function(e,t){var n=this._controllerGroup;i.each(["pagePrev","pageNext"],(function(i){var r=null!=t[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var r=n.childOfName("pageText"),o=e.get("pageFormatter"),a=t.pageIndex,s=null!=a?a+1:0,l=t.pageCount;r&&o&&r.setStyle("text",i.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=e.getOrient().index,o=l[r],a=u[r],s=this._findTargetItemIndex(t),c=n.children(),h=c[s],d=c.length,f=d?1:0,p={contentPosition:n.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=x(h);p.contentPosition[r]=-g.s;for(var m=s+1,v=g,y=g,b=null;m<=d;++m)b=x(c[m]),(!b&&y.e>v.s+i||b&&!_(b,v.s))&&(v=y.i>v.i?y:b,v&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=v.i),++p.pageCount)),y=b;for(m=s-1,v=g,y=g,b=null;m>=-1;--m)b=x(c[m]),b&&_(y,b.s)||!(v.i<y.i)||(y=v,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=v.i),++p.pageCount,++p.pageIndex),v=b;return p;function x(e){if(e){var t=e.getBoundingRect(),n=t[a]+e.position[r];return{s:n,e:n+t[o],i:e.__legendDataIndex}}}function _(e,t){return e.e>=t&&e.s<=t+i}},_findTargetItemIndex:function(e){if(!this._showController)return 0;var t,n,i=this.getContentGroup();return i.eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===e&&(t=r)})),null!=t?t:n}}),h=c;e.exports=h},12966:function(e,t,n){var i=n(39405),r=n(63122);function o(e,t,n){var i,o={},a="toggleSelected"===e;return n.eachComponent("legend",(function(n){a&&null!=i?n[i?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](t.name),i=n.isSelected(t.name));var s=n.getData();r.each(s,(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var i=n.isSelected(t);o.hasOwnProperty(t)?o[t]=o[t]&&i:o[t]=i}}))})),"allSelect"===e||"inverseSelect"===e?{selected:o}:{name:t.name,selected:o}}i.registerAction("legendToggleSelect","legendselectchanged",r.curry(o,"toggleSelected")),i.registerAction("legendAllSelect","legendselectall",r.curry(o,"allSelect")),i.registerAction("legendInverseSelect","legendinverseselect",r.curry(o,"inverseSelect")),i.registerAction("legendSelect","legendselected",r.curry(o,"select")),i.registerAction("legendUnSelect","legendunselected",r.curry(o,"unSelect"))},9367:function(e){function t(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0}))}e.exports=t},93516:function(e,t,n){var i=n(39405);i.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))},44939:function(e,t,n){var i=n(39405);n(81516),n(73237),i.registerPreprocessor((function(e){e.markArea=e.markArea||{}}))},23357:function(e,t,n){var i=n(39405);n(52416),n(14684),i.registerPreprocessor((function(e){e.markLine=e.markLine||{}}))},87647:function(e,t,n){var i=n(39405);n(39293),n(28628),i.registerPreprocessor((function(e){e.markPoint=e.markPoint||{}}))},81516:function(e,t,n){var i=n(82874),r=i.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});e.exports=r},73237:function(e,t,n){var i=n(63122),r=n(7471),o=n(56669),a=n(43789),s=n(20594),l=n(82986),u=n(69812),c=function(e,t,n,r){var o=l.dataTransform(e,r[0]),a=l.dataTransform(e,r[1]),s=i.retrieve,u=o.coord,c=a.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var h=i.mergeAll([{},o,a]);return h.coord=[o.coord,a.coord],h.x0=o.x,h.y0=o.y,h.x1=a.x,h.y1=a.y,h};function h(e){return!isNaN(e)&&!isFinite(e)}function d(e,t,n,i){var r=1-e;return h(t[r])&&h(n[r])}function f(e,t){var n=t.coord[0],i=t.coord[1];return!("cartesian2d"!==e.type||!n||!i||!d(1,n,i,e)&&!d(0,n,i,e))||(l.dataFilter(e,{coord:n,x:t.x0,y:t.y0})||l.dataFilter(e,{coord:i,x:t.x1,y:t.y1}))}function p(e,t,n,i,r){var o,s=i.coordinateSystem,l=e.getItemModel(t),u=a.parsePercent(l.get(n[0]),r.getWidth()),c=a.parsePercent(l.get(n[1]),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)o=i.getMarkerPosition(e.getValues(n,t));else{var d=e.get(n[0],t),f=e.get(n[1],t),p=[d,f];s.clampData&&s.clampData(p,p),o=s.dataToPoint(p,!0)}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=e.get(n[0],t),f=e.get(n[1],t);h(d)?o[0]=g.toGlobalCoord(g.getExtent()["x0"===n[0]?0:1]):h(f)&&(o[1]=m.toGlobalCoord(m.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];return o}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function m(e,t,n){var r,a,s=["x0","y0","x1","y1"];e?(r=i.map(e&&e.dimensions,(function(e){var n=t.getData(),r=n.getDimensionInfo(n.mapDimension(e))||{};return i.defaults({name:e},r)})),a=new o(i.map(s,(function(e,t){return{name:e,type:r[t%2].type}})),n)):(r=[{name:"value",type:"float"}],a=new o(r,n));var l=i.map(n.get("data"),i.curry(c,t,e,n));e&&(l=i.filter(l,i.curry(f,e)));var u=e?function(e,t,n,i){return e.coord[Math.floor(i/2)][i%2]}:function(e){return e.value};return a.initData(l,null,u),a.hasItemOption=!0,a}u.extend({type:"markArea",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markAreaModel;if(t){var r=t.getData();r.each((function(t){var o=i.map(g,(function(i){return p(r,t,i,e,n)}));r.setItemLayout(t,o);var a=r.getItemGraphicEl(t);a.setShape("points",o)}))}}),this)},renderSeries:function(e,t,n,o){var a=e.coordinateSystem,l=e.id,u=e.getData(),c=this.markerGroupMap,d=c.get(l)||c.set(l,{group:new s.Group});this.group.add(d.group),d.__keep=!0;var f=m(a,e,t);t.setData(f),f.each((function(t){var n=i.map(g,(function(n){return p(f,t,n,e,o)})),r=!0;i.each(g,(function(e){if(r){var n=f.get(e[0],t),i=f.get(e[1],t);(h(n)||a.getAxis("x").containData(n))&&(h(i)||a.getAxis("y").containData(i))&&(r=!1)}})),f.setItemLayout(t,{points:n,allClipped:r}),f.setItemVisual(t,{color:u.getVisual("color")})})),f.diff(d.__data).add((function(e){var t=f.getItemLayout(e);if(!t.allClipped){var n=new s.Polygon({shape:{points:t.points}});f.setItemGraphicEl(e,n),d.group.add(n)}})).update((function(e,n){var i=d.__data.getItemGraphicEl(n),r=f.getItemLayout(e);r.allClipped?i&&d.group.remove(i):(i?s.updateProps(i,{shape:{points:r.points}},t,e):i=new s.Polygon({shape:{points:r.points}}),f.setItemGraphicEl(e,i),d.group.add(i))})).remove((function(e){var t=d.__data.getItemGraphicEl(e);d.group.remove(t)})).execute(),f.eachItemGraphicEl((function(e,n){var o=f.getItemModel(n),a=o.getModel("label"),l=o.getModel("emphasis.label"),u=f.getItemVisual(n,"color");e.useStyle(i.defaults(o.getModel("itemStyle").getItemStyle(),{fill:r.modifyAlpha(u,.4),stroke:u})),e.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(e.style,e.hoverStyle,a,l,{labelFetcher:t,labelDataIndex:n,defaultText:f.getName(n)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(e,{}),e.dataModel=t})),d.__data=f,d.group.silent=t.get("silent")||e.get("silent")}})},52416:function(e,t,n){var i=n(82874),r=i.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});e.exports=r},14684:function(e,t,n){var i=n(63122),r=n(56669),o=n(43789),a=n(82986),s=n(85803),l=n(69812),u=n(60291),c=u.getStackedDimension,h=function(e,t,n,r){var o=e.getData(),s=r.type;if(!i.isArray(r)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=r.xAxis||null!=r.yAxis)){var l,u;if(null!=r.yAxis||null!=r.xAxis)l=t.getAxis(null!=r.yAxis?"y":"x"),u=i.retrieve(r.yAxis,r.xAxis);else{var h=a.getAxisInfo(r,o,t,e);l=h.valueAxis;var d=c(o,h.valueDataDim);u=a.numCalculate(o,d,s)}var f="x"===l.dim?0:1,p=1-f,g=i.clone(r),m={};g.type=null,g.coord=[],m.coord=[],g.coord[p]=-1/0,m.coord[p]=1/0;var v=n.get("precision");v>=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(v,20))),g.coord[f]=m.coord[f]=u,r=[g,m,{type:s,valueIndex:r.valueIndex,value:u}]}return r=[a.dataTransform(e,r[0]),a.dataTransform(e,r[1]),i.extend({},r[2])],r[2].type=r[2].type||"",i.merge(r[2],r[0]),i.merge(r[2],r[1]),r};function d(e){return!isNaN(e)&&!isFinite(e)}function f(e,t,n,i){var r=1-e,o=i.dimensions[e];return d(t[r])&&d(n[r])&&t[e]===n[e]&&i.getAxis(o).containData(t[e])}function p(e,t){if("cartesian2d"===e.type){var n=t[0].coord,i=t[1].coord;if(n&&i&&(f(1,n,i,e)||f(0,n,i,e)))return!0}return a.dataFilter(e,t[0])&&a.dataFilter(e,t[1])}function g(e,t,n,i,r){var a,s=i.coordinateSystem,l=e.getItemModel(t),u=o.parsePercent(l.get("x"),r.getWidth()),c=o.parsePercent(l.get("y"),r.getHeight());if(isNaN(u)||isNaN(c)){if(i.getMarkerPosition)a=i.getMarkerPosition(e.getValues(e.dimensions,t));else{var h=s.dimensions,f=e.get(h[0],t),p=e.get(h[1],t);a=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");h=s.dimensions;d(e.get(h[0],t))?a[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):d(e.get(h[1],t))&&(a[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];e.setItemLayout(t,a)}var m=l.extend({type:"markLine",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markLineModel;if(t){var i=t.getData(),r=t.__from,o=t.__to;r.each((function(t){g(r,t,!0,e,n),g(o,t,!1,e,n)})),i.each((function(e){i.setItemLayout(e,[r.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,n,r){var o=e.coordinateSystem,a=e.id,l=e.getData(),u=this.markerGroupMap,c=u.get(a)||u.set(a,new s);this.group.add(c.group);var h=v(o,e,t),d=h.from,f=h.to,p=h.line;t.__from=d,t.__to=f,t.setData(p);var m=t.get("symbol"),y=t.get("symbolSize");function b(t,n,i){var o=t.getItemModel(n);g(t,n,i,e,r),t.setItemVisual(n,{symbolRotate:o.get("symbolRotate"),symbolSize:o.get("symbolSize")||y[i?0:1],symbol:o.get("symbol",!0)||m[i?0:1],color:o.get("itemStyle.color")||l.getVisual("color")})}i.isArray(m)||(m=[m,m]),"number"===typeof y&&(y=[y,y]),h.from.each((function(e){b(d,e,!0),b(f,e,!1)})),p.each((function(e){var t=p.getItemModel(e).get("lineStyle.color");p.setItemVisual(e,{color:t||d.getItemVisual(e,"color")}),p.setItemLayout(e,[d.getItemLayout(e),f.getItemLayout(e)]),p.setItemVisual(e,{fromSymbolRotate:d.getItemVisual(e,"symbolRotate"),fromSymbolSize:d.getItemVisual(e,"symbolSize"),fromSymbol:d.getItemVisual(e,"symbol"),toSymbolRotate:f.getItemVisual(e,"symbolRotate"),toSymbolSize:f.getItemVisual(e,"symbolSize"),toSymbol:f.getItemVisual(e,"symbol")})})),c.updateData(p),h.line.eachItemGraphicEl((function(e,n){e.traverse((function(e){e.dataModel=t}))})),c.__keep=!0,c.group.silent=t.get("silent")||e.get("silent")}});function v(e,t,n){var o;o=e?i.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return i.defaults({name:e},n)})):[{name:"value",type:"float"}];var s=new r(o,n),l=new r(o,n),u=new r([],n),c=i.map(n.get("data"),i.curry(h,t,e,n));e&&(c=i.filter(c,i.curry(p,e)));var d=e?a.dimValueGetter:function(e){return e.value};return s.initData(i.map(c,(function(e){return e[0]})),null,d),l.initData(i.map(c,(function(e){return e[1]})),null,d),u.initData(i.map(c,(function(e){return e[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}e.exports=m},39293:function(e,t,n){var i=n(82874),r=i.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});e.exports=r},28628:function(e,t,n){var i=n(63122),r=n(91151),o=n(43789),a=n(56669),s=n(82986),l=n(69812);function u(e,t,n){var i=t.coordinateSystem;e.each((function(r){var a,s=e.getItemModel(r),l=o.parsePercent(s.get("x"),n.getWidth()),u=o.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(t.getMarkerPosition)a=t.getMarkerPosition(e.getValues(e.dimensions,r));else if(i){var c=e.get(i.dimensions[0],r),h=e.get(i.dimensions[1],r);a=i.dataToPoint([c,h])}}else a=[l,u];isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u),e.setItemLayout(r,a)}))}var c=l.extend({type:"markPoint",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markPointModel;t&&(u(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout(t))}),this)},renderSeries:function(e,t,n,o){var a=e.coordinateSystem,s=e.id,l=e.getData(),c=this.markerGroupMap,d=c.get(s)||c.set(s,new r),f=h(a,e,t);t.setData(f),u(t.getData(),e,o),f.each((function(e){var n=f.getItemModel(e),r=n.getShallow("symbol"),o=n.getShallow("symbolSize"),a=n.getShallow("symbolRotate"),s=i.isFunction(r),u=i.isFunction(o),c=i.isFunction(a);if(s||u||c){var h=t.getRawValue(e),d=t.getDataParams(e);s&&(r=r(h,d)),u&&(o=o(h,d)),c&&(a=a(h,d))}f.setItemVisual(e,{symbol:r,symbolSize:o,symbolRotate:a,color:n.get("itemStyle.color")||l.getVisual("color")})})),d.updateData(f),this.group.add(d.group),f.eachItemGraphicEl((function(e){e.traverse((function(e){e.dataModel=t}))})),d.__keep=!0,d.group.silent=t.get("silent")||e.get("silent")}});function h(e,t,n){var r;r=e?i.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return i.defaults({name:e},n)})):[{name:"value",type:"float"}];var o=new a(r,n),l=i.map(n.get("data"),i.curry(s.dataTransform,t));return e&&(l=i.filter(l,i.curry(s.dataFilter,e))),o.initData(l,null,e?s.dimValueGetter:function(e){return e.value}),o}e.exports=c},82874:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(39405)),o=n(63122),a=n(95160),s=n(46458),l=n(18906),u=n(56498),c=l.addCommas,h=l.encodeHTML;function d(e){s.defaultEmphasis(e,"label",["show"])}var f=r.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},isAnimationEnabled:function(){if(a.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t){this._mergeOption(e,t,!1,!1)},_mergeOption:function(e,t,n,i){var r=this.constructor,a=this.mainType+"Model";n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),s=e[a];n&&n.data?(s?s._mergeOption(n,t,!0):(i&&d(n),o.each(n.data,(function(e){e instanceof Array?(d(e[0]),d(e[1])):d(e)})),s=new r(n,this,t),o.extend(s,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),s.__hostSeries=e),e[a]=s):e[a]=null}),this)},formatTooltip:function(e,t,n,i){var r=this.getData(),a=this.getRawValue(e),s=o.isArray(a)?o.map(a,c).join(", "):c(a),l=r.getName(e),u=h(this.name),d="html"===i?"<br/>":"\n";return(null!=a||l)&&(u+=d),l&&(u+=h(l),null!=a&&(u+=" : ")),null!=a&&(u+=h(s)),u},getData:function(){return this._data},setData:function(e){this._data=e}});o.mixin(f,u);var p=f;e.exports=p},69812:function(e,t,n){var i=n(39405),r=n(63122),o=i.extendComponentView({type:"marker",init:function(){this.markerGroupMap=r.createHashMap()},render:function(e,t,n){var i=this.markerGroupMap;i.each((function(e){e.__keep=!1}));var r=this.type+"Model";t.eachSeries((function(e){var i=e[r];i&&this.renderSeries(e,i,t,n)}),this),i.each((function(e){!e.__keep&&this.group.remove(e.group)}),this)},renderSeries:function(){}});e.exports=o},82986:function(e,t,n){var i=n(63122),r=n(43789),o=n(60291),a=o.isDimensionStacked,s=i.indexOf;function l(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function u(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function c(e,t,n,i,o,s){var l=[],u=a(t,i),c=u?t.getCalculationInfo("stackResultDimension"):i,h=y(t,c,e),d=t.indicesOfNearest(c,h)[0];l[o]=t.get(n,d),l[s]=t.get(c,d);var f=t.get(i,d),p=r.getPrecision(t.get(i,d));return p=Math.min(p,20),p>=0&&(l[s]=+l[s].toFixed(p)),[l,f]}var h=i.curry,d={min:h(c,"min"),max:h(c,"max"),average:h(c,"average")};function f(e,t){var n=e.getData(),r=e.coordinateSystem;if(t&&!u(t)&&!i.isArray(t.coord)&&r){var o=r.dimensions,a=p(t,n,r,e);if(t=i.clone(t),t.type&&d[t.type]&&a.baseAxis&&a.valueAxis){var l=s(o,a.baseAxis.dim),c=s(o,a.valueAxis.dim),h=d[t.type](n,a.baseDataDim,a.valueDataDim,l,c);t.coord=h[0],t.value=h[1]}else{for(var f=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],g=0;g<2;g++)d[f[g]]&&(f[g]=y(n,n.mapDimension(o[g]),f[g]));t.coord=f}}return t}function p(e,t,n,i){var r={};return null!=e.valueIndex||null!=e.valueDim?(r.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,r.valueAxis=n.getAxis(g(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=t.mapDimension(r.baseAxis.dim),r.valueDataDim=t.mapDimension(r.valueAxis.dim)),r}function g(e,t){var n=e.getData(),i=n.dimensions;t=n.getDimension(t);for(var r=0;r<i.length;r++){var o=n.getDimensionInfo(i[r]);if(o.name===t)return o.coordDim}}function m(e,t){return!(e&&e.containData&&t.coord&&!l(t))||e.containData(t.coord)}function v(e,t,n,i){return i<2?e.coord&&e.coord[i]:e.value}function y(e,t,n){if("average"===n){var i=0,r=0;return e.each(t,(function(e,t){isNaN(e)||(i+=e,r++)})),i/r}return"median"===n?e.getMedian(t):e.getDataExtent(t,!0)["max"===n?1:0]}t.dataTransform=f,t.getAxisInfo=p,t.dataFilter=m,t.dimValueGetter=v,t.numCalculate=y},96117:function(e,t,n){var i=n(39405),r=n(63122),o=n(14243),a=n(26424);n(4540),n(69518),n(43221);var s=5;i.extendComponentView({type:"parallel",render:function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},r.each(l,(function(e,t){n.getZr().on(t,this._handlers[t]=r.bind(e,this))}),this)),o.createOrUpdate(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},dispose:function(e,t){r.each(this._handlers,(function(e,n){t.getZr().off(n,e)})),this._handlers=null},_throttledDispatchExpand:function(e){this._dispatchExpand(e)},_dispatchExpand:function(e){e&&this._api.dispatchAction(r.extend({type:"parallelAxisExpand"},e))}});var l={mousedown:function(e){u(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(u(this,"click")&&t){var n=[e.offsetX,e.offsetY],i=Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2);if(i>s)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&u(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function u(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}i.registerPreprocessor(a)},43221:function(e,t,n){n(4540),n(18131),n(49560)},75213:function(e,t,n){var i=n(39405),r=n(63122),o=n(87392);n(98070),n(78009),n(60893),n(47545),n(94388),i.registerLayout(r.curry(o,"bar")),i.extendComponentView({type:"polar"})},93080:function(e,t,n){n(76691),n(53698),n(56928)},56928:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(39405)),o=n(63122),a=n(71704),s=n(20594),l=["axisLine","axisTickLabel","axisName"],u=r.extendComponentView({type:"radar",render:function(e,t,n){var i=this.group;i.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),i=o.map(n,(function(e){var n=new a(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n}));o.each(i,(function(e){o.each(l,e.add,e),this.group.add(e.getGroup())}),this)},_buildSplitLineAndArea:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var i=e.get("shape"),r=e.getModel("splitLine"),a=e.getModel("splitArea"),l=r.getModel("lineStyle"),u=a.getModel("areaStyle"),c=r.get("show"),h=a.get("show"),d=l.get("color"),f=u.get("color");d=o.isArray(d)?d:[d],f=o.isArray(f)?f:[f];var p=[],g=[];if("circle"===i)for(var m=n[0].getTicksCoords(),v=t.cx,y=t.cy,b=0;b<m.length;b++){if(c){var x=E(p,d,b);p[x].push(new s.Circle({shape:{cx:v,cy:y,r:m[b].coord}}))}if(h&&b<m.length-1){x=E(g,f,b);g[x].push(new s.Ring({shape:{cx:v,cy:y,r0:m[b].coord,r:m[b+1].coord}}))}}else{var _,w=o.map(n,(function(e,n){var i=e.getTicksCoords();return _=null==_?i.length-1:Math.min(i.length-1,_),o.map(i,(function(e){return t.coordToPoint(e.coord,n)}))})),C=[];for(b=0;b<=_;b++){for(var S=[],k=0;k<n.length;k++)S.push(w[k][b]);if(S[0]&&S.push(S[0].slice()),c){x=E(p,d,b);p[x].push(new s.Polyline({shape:{points:S}}))}if(h&&C){x=E(g,f,b-1);g[x].push(new s.Polygon({shape:{points:S.concat(C)}}))}C=S.slice().reverse()}}var M=l.getLineStyle(),T=u.getAreaStyle();o.each(g,(function(e,t){this.group.add(s.mergePath(e,{style:o.defaults({stroke:"none",fill:f[t%f.length]},T),silent:!0}))}),this),o.each(p,(function(e,t){this.group.add(s.mergePath(e,{style:o.defaults({fill:"none",stroke:d[t%d.length]},M),silent:!0}))}),this)}function E(e,t,n){var i=n%t.length;return e[i]=e[i]||[],i}}});e.exports=u},60893:function(e,t,n){n(98070),n(14056)},17139:function(e,t,n){var i=n(39405);n(27108),n(87121),n(47712),n(47545),n(94142),i.extendComponentView({type:"single"})},6788:function(e,t,n){var i=n(39405),r=n(67467);n(43097),n(47777),n(84504),n(68846),i.registerPreprocessor(r)},84504:function(e,t,n){var i=n(63122),r=n(69483),o=n(56498),a=r.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});i.mixin(a,o);var s=a;e.exports=s},68846:function(e,t,n){var i=n(63122),r=n(46630),o=n(97333),a=n(20594),s=n(7928),l=n(61533),u=n(50060),c=n(84682),h=c.createSymbol,d=n(3019),f=n(43789),p=n(18906),g=p.encodeHTML,m=i.bind,v=i.each,y=Math.PI,b=l.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,i){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var r=this._layout(e,n),o=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(r,e);e.formatTooltip=function(e){return g(s.scale.getLabel(e))},v(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](r,o,s,e)}),this),this._renderAxisLabel(r,a,s,e),this._position(r,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var n=e.get("label.position"),i=e.get("orient"),r=x(e,t);null==n||"auto"===n?n="horizontal"===i?r.y+r.height/2<t.getHeight()/2?"-":"+":r.x+r.width/2<t.getWidth()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][n]);var o,a,s,l,u={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:y/2},d="vertical"===i?r.height:r.width,f=e.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,m=p?f.get("itemGap"):0,v=g+m,b=e.get("label.rotate")||0;b=b*y/180;var _=f.get("position",!0),w=p&&f.get("showPlayBtn",!0),C=p&&f.get("showPrevBtn",!0),S=p&&f.get("showNextBtn",!0),k=0,M=d;return"left"===_||"bottom"===_?(w&&(o=[0,0],k+=v),C&&(a=[k,0],k+=v),S&&(s=[M-g,0],M-=v)):(w&&(o=[M-g,0],M-=v),C&&(a=[0,0],k+=v),S&&(s=[M-g,0],M-=v)),l=[k,M],e.get("inverse")&&l.reverse(),{viewRect:r,mainLength:d,orient:i,rotation:h[i],labelRotation:b,labelPosOpt:n,labelAlign:e.get("label.align")||u[i],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||c[i],playPosition:o,prevBtnPosition:a,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:m}},_position:function(e,t){var n=this._mainGroup,i=this._labelGroup,r=e.viewRect;if("vertical"===e.orient){var a=o.create(),s=r.x,l=r.y+r.height;o.translate(a,a,[-s,-l]),o.rotate(a,a,-y/2),o.translate(a,a,[s,l]),r=r.clone(),r.applyTransform(a)}var u=v(r),c=v(n.getBoundingRect()),h=v(i.getBoundingRect()),d=n.position,f=i.position;f[0]=d[0]=u[0][0];var p=e.labelPosOpt;if(isNaN(p)){var g="+"===p?0:1;b(d,c,u,1,g),b(f,h,u,1,1-g)}else{g=p>=0?0:1;b(d,c,u,1,g),f[1]=d[1]+p}function m(e){var t=e.position;e.origin=[u[0][0]-t[0],u[1][0]-t[1]]}function v(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function b(e,t,n,i,r){e[i]+=n[i][r]-t[i][r]}n.attr("position",d),i.attr("position",f),n.rotation=i.rotation=e.rotation,m(n),m(i)},_createAxis:function(e,t){var n=t.getData(),i=t.get("axisType"),r=d.createScaleByModel(t,i);r.getTicks=function(){return n.mapArray(["value"],(function(e){return e}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.niceTicks();var a=new u("value",r,e.axisExtent,i);return a.model=t,a},_createGroup:function(e){var t=this["_"+e]=new a.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,r){var o=n.getExtent();r.get("lineStyle.show")&&t.add(new a.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:i.extend({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,i){var r=i.getData(),o=n.scale.getTicks();v(o,(function(e){var o=n.dataToCoord(e),s=r.getItemModel(e),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[o,0],onclick:m(this._changeTimeline,this,e)},h=w(s,l,t,c);a.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=e,h.dataModel=i):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(e,t,n,i){var r=n.getLabelModel();if(r.get("show")){var o=i.getData(),s=n.getViewLabels();v(s,(function(i){var r=i.tickValue,s=o.getItemModel(r),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(i.tickValue),h=new a.Text({position:[c,0],rotation:e.labelRotation-e.rotation,onclick:m(this._changeTimeline,this,r),silent:!1});a.setTextStyle(h.style,l,{text:i.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(h),a.setHoverStyle(h,a.setTextStyle({},u))}),this)}},_renderControl:function(e,t,n,i){var r=e.controlSize,o=e.rotation,s=i.getModel("controlStyle").getItemStyle(),l=i.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-r/2,r,r],c=i.getPlayState(),h=i.get("inverse",!0);function d(e,n,c,h){if(e){var d={position:e,origin:[r/2,0],rotation:h?-o:0,rectHover:!0,style:s,onclick:c},f=_(i,n,u,d);t.add(f),a.setHoverStyle(f,l)}}d(e.nextBtnPosition,"controlStyle.nextIcon",m(this._changeTimeline,this,h?"-":"+")),d(e.prevBtnPosition,"controlStyle.prevIcon",m(this._changeTimeline,this,h?"+":"-")),d(e.playPosition,"controlStyle."+(c?"stopIcon":"playIcon"),m(this._handlePlayClick,this,!c),!0)},_renderCurrentPointer:function(e,t,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=m(s._handlePointerDrag,s),e.ondragend=m(s._handlePointerDragend,s),C(e,o,n,i,!0)},onUpdate:function(e){C(e,o,n,i)}};this._currentPointer=w(a,a,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],i=this._axis,r=f.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;(t||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},_doPlayStop:function(){function e(){var e=this.model;this._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(m(e,this),this.model.get("playInterval")))},_toAxisCoord:function(e){var t=this._mainGroup.getLocalTransform();return a.applyTransform(e,t,!0)},_findNearestTick:function(e){var t,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-e);s<i&&(i=s,t=o)})),t},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})}});function x(e,t){return s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function _(e,t,n,i){var o=i.style,s=a.createIcon(e.get(t),i||{},new r(n[0],n[1],n[2],n[3]));return o&&s.setStyle(o),s}function w(e,t,n,r,o,a){var s=t.get("color");if(o)o.setColor(s),n.add(o),a&&a.onUpdate(o);else{var l=e.get("symbol");o=h(l,-1,-1,2,2,s),o.setStyle("strokeNoScale",!0),n.add(o),a&&a.onCreate(o)}var u=t.getItemStyle(["color","symbol","symbolSize"]);o.setStyle(u),r=i.merge({rectHover:!0,z2:100},r,!0);var c=e.get("symbolSize");c=c instanceof Array?c.slice():[+c,+c],c[0]/=2,c[1]/=2,r.scale=c;var d=e.get("symbolOffset");if(d){var p=r.position=r.position||[0,0];p[0]+=f.parsePercent(d[0],c[0]),p[1]+=f.parsePercent(d[1],c[1])}var g=e.get("symbolRotate");return r.rotation=(g||0)*Math.PI/180||0,o.attr(r),o.updateTransform(),o}function C(e,t,n,i,r){if(!e.dragging){var o=i.getModel("checkpointStyle"),a=n.dataToCoord(i.getData().get(["value"],t));r||!o.get("animation",!0)?e.attr({position:[a,0]}):(e.stopAnimation(!0),e.animateTo({position:[a,0]},o.get("animationDuration",!0),o.get("animationEasing",!0)))}}e.exports=b},50060:function(e,t,n){var i=n(63122),r=n(47348),o=function(e,t,n,i){r.call(this,e,t,n),this.type=i||"value",this.model=null};o.prototype={constructor:o,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},i.inherits(o,r);var a=o;e.exports=a},69483:function(e,t,n){n(57658);var i=n(63122),r=n(93141),o=n(56669),a=n(46458),s=r.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(e,t,n){this._data,this._names,this.mergeDefaultAndTheme(e,n),this._initData()},mergeOption:function(e){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],n=e.axisType,r=this._names=[];if("category"===n){var s=[];i.each(t,(function(e,t){var n,o=a.getDataItemValue(e);i.isObject(e)?(n=i.clone(e),n.value=t):n=t,s.push(n),i.isString(o)||null!=o&&!isNaN(o)||(o=""),r.push(o+"")})),t=s}var l={category:"ordinal",time:"time"}[n]||"number",u=this._data=new o([{name:"value",type:l}],this);u.initData(t,r)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;e.exports=l},61533:function(e,t,n){var i=n(55155),r=i.extend({type:"timeline"});e.exports=r},67467:function(e,t,n){var i=n(63122);function r(e){var t=e&&e.timeline;i.isArray(t)||(t=t?[t]:[]),i.each(t,(function(e){e&&o(e)}))}function o(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),a(e),s(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});s(r,"position")||(r.position=e.controlPosition),"none"!==r.position||s(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}i.each(e.data||[],(function(e){i.isObject(e)&&!i.isArray(e)&&(!s(e,"value")&&s(e,"name")&&(e.value=e.name),a(e))}))}function a(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},o=r.normal||(r.normal={}),a={normal:1,emphasis:1};i.each(r,(function(e,t){a[t]||s(o,t)||(o[t]=e)})),n.label&&!s(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function s(e,t){return e.hasOwnProperty(t)}e.exports=r},47777:function(e,t,n){var i=n(39405),r=n(63122);i.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),t.resetOption("timeline"),r.defaults({currentIndex:n.option.currentIndex},e)})),i.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))},43097:function(e,t,n){var i=n(93141);i.registerSubTypeDefaulter("timeline",(function(){return"slider"}))},239:function(e,t,n){var i=n(63122),r=n(39405),o=n(20594),a=n(7928),s=a.getLayoutRect,l=n(18906),u=l.windowOpen;r.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"}}}),r.extendComponentView({type:"title",render:function(e,t,n){if(this.group.removeAll(),e.get("show")){var r=this.group,a=e.getModel("textStyle"),l=e.getModel("subtextStyle"),c=e.get("textAlign"),h=i.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),d=new o.Text({style:o.setTextStyle({},a,{text:e.get("text"),textFill:a.getTextColor()},{disableBox:!0}),z2:10}),f=d.getBoundingRect(),p=e.get("subtext"),g=new o.Text({style:o.setTextStyle({},l,{text:p,textFill:l.getTextColor(),y:f.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),m=e.get("link"),v=e.get("sublink"),y=e.get("triggerEvent",!0);d.silent=!m&&!y,g.silent=!v&&!y,m&&d.on("click",(function(){u(m,"_"+e.get("target"))})),v&&g.on("click",(function(){u(v,"_"+e.get("subtarget"))})),d.eventData=g.eventData=y?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(d),p&&r.add(g);var b=r.getBoundingRect(),x=e.getBoxLayoutParams();x.width=b.width,x.height=b.height;var _=s(x,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));c||(c=e.get("left")||e.get("right"),"middle"===c&&(c="center"),"right"===c?_.x+=_.width:"center"===c&&(_.x+=_.width/2)),h||(h=e.get("top")||e.get("bottom"),"center"===h&&(h="middle"),"bottom"===h?_.y+=_.height:"middle"===h&&(_.y+=_.height/2),h=h||"top"),r.attr("position",[_.x,_.y]);var w={textAlign:c,textVerticalAlign:h};d.setStyle(w),g.setStyle(w),b=r.getBoundingRect();var C=_.margin,S=e.getItemStyle(["color","opacity"]);S.fill=e.get("backgroundColor");var k=new o.Rect({shape:{x:b.x-C[3],y:b.y-C[0],width:b.width+C[1]+C[3],height:b.height+C[0]+C[2],r:e.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});r.add(k)}}})},9623:function(e,t,n){n(18638),n(99137),n(95488),n(8747),n(67143),n(59106),n(23901)},18638:function(e,t,n){var i=n(39405),r=n(63122),o=n(52318),a=i.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){a.superApply(this,"optionUpdated",arguments),r.each(this.option.feature,(function(e,t){var n=o.get(t);n&&r.merge(e,n.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=a;e.exports=s},99137:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(2278),a=n(52318),s=n(20594),l=n(90350),u=n(85098),c=n(96009),h=i.extendComponentView({type:"toolbox",render:function(e,t,n,i){var h=this.group;if(h.removeAll(),e.get("show")){var f=+e.get("itemSize"),p=e.get("feature")||{},g=this._features||(this._features={}),m=[];r.each(p,(function(e,t){m.push(t)})),new u(this._featureNames||[],m).add(v).update(v).remove(r.curry(v,null)).execute(),this._featureNames=m,c.layout(h,e,n),h.add(c.makeBackground(h.getBoundingRect(),e)),h.eachChild((function(e){var t=e.__title,i=e.hoverStyle;if(i&&t){var r=o.getBoundingRect(t,o.makeFont(i)),a=e.position[0]+h.position[0],s=e.position[1]+h.position[1]+f,l=!1;s+r.height>n.getHeight()&&(i.textPosition="top",l=!0);var u=l?-5-r.height:f+8;a+r.width/2>n.getWidth()?(i.textPosition=["100%",u],i.textAlign="right"):a-r.width/2<0&&(i.textPosition=[0,u],i.textAlign="left")}}))}function v(r,o){var s,u=m[r],c=m[o],h=p[u],f=new l(h,e,e.ecModel);if(i&&null!=i.newTitle&&i.featureName===u&&(h.title=i.newTitle),u&&!c){if(d(u))s={model:f,onclick:f.option.onclick,featureName:u};else{var v=a.get(u);if(!v)return;s=new v(f,t,n)}g[u]=s}else{if(s=g[c],!s)return;s.model=f,s.ecModel=t,s.api=n}u||!c?f.get("show")&&!s.unusable?(y(f,s,u),f.setIconStatus=function(e,t){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,i[e]&&i[e].trigger(t)},s.render&&s.render(f,t,n,i)):s.remove&&s.remove(t,n):s.dispose&&s.dispose(t,n)}function y(i,o,a){var l=i.getModel("iconStyle"),u=i.getModel("emphasis.iconStyle"),c=o.getIcons?o.getIcons():i.get("icon"),d=i.get("title")||{};if("string"===typeof c){var p=c,g=d;c={},d={},c[a]=p,d[a]=g}var m=i.iconPaths={};r.each(c,(function(a,c){var p=s.createIcon(a,{},{x:-f/2,y:-f/2,width:f,height:f});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),p.setStyle({text:d[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var g=e.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",r.extend({content:d[c],formatter:g.get("formatter",!0)||function(){return d[c]},formatterParams:{componentType:"toolbox",name:c,title:d[c],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),e.get("showTitle")&&(p.__title=d[c],p.on("mouseover",(function(){var t=u.getItemStyle(),n="vertical"===e.get("orient")?null==e.get("right")?"right":"left":null==e.get("bottom")?"bottom":"top";p.setStyle({textFill:u.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||n})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(i.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",r.bind(o.onclick,o,t,n,c)),m[c]=p}))}},updateView:function(e,t,n,i){r.each(this._features,(function(e){e.updateView&&e.updateView(e.model,t,n,i)}))},remove:function(e,t){r.each(this._features,(function(n){n.remove&&n.remove(e,t)})),this.group.removeAll()},dispose:function(e,t){r.each(this._features,(function(n){n.dispose&&n.dispose(e,t)}))}});function d(e){return 0===e.indexOf("my")}e.exports=h},52318:function(e,t){var n={};function i(e,t){n[e]=t}function r(e){return n[e]}t.register=i,t.get=r},96147:function(e,t,n){var i=n(63122),r=n(52318),o=n(79143),a=o.toolbox.brush;function s(e,t,n){this.model=e,this.ecModel=t,this.api=n,this._brushType,this._brushMode}s.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:i.clone(a.title)};var l=s.prototype;l.render=l.updateView=function(e,t,n){var r,o,a;t.eachComponent({mainType:"brush"},(function(e){r=e.brushType,o=e.brushOption.brushMode||"single",a|=e.areas.length})),this._brushType=r,this._brushMode=o,i.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?a:t===r)?"emphasis":"normal")}))},l.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return i.each(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},l.onclick=function(e,t,n){var i=this._brushType,r=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},r.register("brush",s);var u=s;e.exports=u},67143:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(13199),a=n(79143),s=n(52318),l=a.toolbox.dataView,u=new Array(60).join("-"),c="\t";function h(e){var t={},n=[],i=[];return e.eachRawSeries((function(e){var r=e.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(e);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:i}}function d(e){var t=[];return r.each(e,(function(e,n){var i=e.categoryAxis,o=e.valueAxis,a=o.dim,s=[" "].concat(r.map(e.series,(function(e){return e.name}))),l=[i.model.getCategories()];r.each(e.series,(function(e){var t=e.getRawData();l.push(e.getRawData().mapArray(t.mapDimension(a),(function(e){return e})))}));for(var u=[s.join(c)],h=0;h<l[0].length;h++){for(var d=[],f=0;f<l.length;f++)d.push(l[f][h]);u.push(d.join(c))}t.push(u.join("\n"))})),t.join("\n\n"+u+"\n\n")}function f(e){return r.map(e,(function(e){var t=e.getRawData(),n=[e.name],i=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,r=arguments[e-1],o=t.getName(r),a=0;a<e-1;a++)i[a]=arguments[a];n.push((o?o+c:"")+i.join(c))})),n.join("\n")})).join("\n\n"+u+"\n\n")}function p(e){var t=h(e);return{value:r.filter([d(t.seriesGroupByCategoryAxis),f(t.other)],(function(e){return e.replace(/[\n\t\s]/g,"")})).join("\n\n"+u+"\n\n"),meta:t.meta}}function g(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function m(e){var t=e.slice(0,e.indexOf("\n"));if(t.indexOf(c)>=0)return!0}var v=new RegExp("["+c+"]+","g");function y(e){for(var t=e.split(/\n+/g),n=g(t.shift()).split(v),i=[],o=r.map(n,(function(e){return{name:e,data:[]}})),a=0;a<t.length;a++){var s=g(t[a]).split(v);i.push(s.shift());for(var l=0;l<s.length;l++)o[l]&&(o[l].data[a]=s[l])}return{series:o,categories:i}}function b(e){for(var t=e.split(/\n+/g),n=g(t.shift()),i=[],r=0;r<t.length;r++){var o=g(t[r]);if(o){var a,s=o.split(v),l="",u=!1;isNaN(s[0])?(u=!0,l=s[0],s=s.slice(1),i[r]={name:l,value:[]},a=i[r].value):a=i[r]=[];for(var c=0;c<s.length;c++)a.push(+s[c]);1===a.length&&(u?i[r].value=a[0]:i[r]=a[0])}}return{name:n,data:i}}function x(e,t){var n=e.split(new RegExp("\n*"+u+"\n*","g")),i={series:[]};return r.each(n,(function(e,n){if(m(e)){var r=y(e),o=t[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{r=b(e);i.series.push(r)}})),i}function _(e){this._dom=null,this.model=e}function w(e,t){return r.map(e,(function(e,n){var i=t&&t[n];if(r.isObject(i)&&!r.isArray(i)){var o=r.isObject(e)&&!r.isArray(e);o||(e={value:e});var a=null!=i.name&&null==e.name;return e=r.defaults(e,i),a&&delete e.name,e}return e}))}_.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:r.clone(l.title),lang:r.clone(l.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},_.prototype.onclick=function(e,t){var n=t.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var a=document.createElement("div");a.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",a.style.backgroundColor=i.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=i.get("lang")||[];s.innerHTML=l[0]||i.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=i.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="display:block;width:100%;overflow:auto;";var h=i.get("optionToContent"),d=i.get("contentToOption"),f=p(e);if("function"===typeof h){var g=h(t.getOption());"string"===typeof g?u.innerHTML=g:r.isDom(g)&&u.appendChild(g)}else u.appendChild(c),c.readOnly=i.get("readOnly"),c.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",c.style.color=i.get("textColor"),c.style.borderColor=i.get("textareaBorderColor"),c.style.backgroundColor=i.get("textareaColor"),c.value=f.value;var m=f.meta,v=document.createElement("div");v.style.cssText="position:absolute;bottom:0;left:0;right:0;";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",b=document.createElement("div"),_=document.createElement("div");y+=";background-color:"+i.get("buttonColor"),y+=";color:"+i.get("buttonTextColor");var w=this;function C(){n.removeChild(a),w._dom=null}o.addEventListener(b,"click",C),o.addEventListener(_,"click",(function(){var e;try{e="function"===typeof d?d(u,t.getOption()):x(c.value,m)}catch(n){throw C(),new Error("Data view format error "+n)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),C()})),b.innerHTML=l[1],_.innerHTML=l[2],_.style.cssText=y,b.style.cssText=y,!i.get("readOnly")&&v.appendChild(_),v.appendChild(b),a.appendChild(s),a.appendChild(u),a.appendChild(v),u.style.height=n.clientHeight-80+"px",n.appendChild(a),this._dom=a},_.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},_.prototype.dispose=function(e,t){this.remove(e,t)},s.register("dataView",_),i.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];r.each(e.newOption.series,(function(e){var i=t.getSeriesByName(e.name)[0];if(i){var o=i.get("data");n.push({name:e.name,data:w(e.data,o)})}else n.push(r.extend({type:"scatter"},e))})),t.mergeOption(r.defaults({series:n},e.newOption))}));var C=_;e.exports=C},59106:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(27635),a=n(22266),s=n(20603),l=n(48693),u=n(79143),c=n(52318);n(8465);var h=u.toolbox.dataZoom,d=r.each,f="\0_ec_\0toolbox-dataZoom_";function p(e,t,n){(this._brushController=new o(n.getZr())).on("brush",r.bind(this._onBrush,this)).mount(),this._isZoomActive}p.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:r.clone(h.title),brushStyle:{borderWidth:0,color:"rgba(0,0,0,0.2)"}};var g=p.prototype;g.render=function(e,t,n,i){this.model=e,this.ecModel=t,this.api=n,b(e,t,this,i,n),y(e,t)},g.onclick=function(e,t,n){m[n].call(this)},g.remove=function(e,t){this._brushController.unmount()},g.dispose=function(e,t){this._brushController.dispose()};var m={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function v(e){var t={};return r.each(["xAxisIndex","yAxisIndex"],(function(n){t[n]=e[n],null==t[n]&&(t[n]="all"),(!1===t[n]||"none"===t[n])&&(t[n]=[])})),t}function y(e,t){e.setIconStatus("back",s.count(t)>1?"emphasis":"normal")}function b(e,t,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var s=new a(v(e.option),t,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(r,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!o&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}g._onBrush=function(e,t){if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]);var r=new a(v(this.model.option),i,{include:["grid"]});r.matchOutputRanges(e,i,(function(e,t,n){if("cartesian2d"===n.type){var i=e.brushType;"rect"===i?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[i],n,t)}})),s.push(i,n),this._dispatchZoomAction(n)}function o(e,t,r){var o=t.getAxis(e),a=o.model,s=u(e,a,i),c=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(r=l(0,r.slice(),o.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}function u(e,t,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var r=n.getAxisModel(e,t.componentIndex);r&&(i=n)})),i}},g._dispatchZoomAction=function(e){var t=[];d(e,(function(e,n){t.push(r.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},c.register("dataZoom",p),i.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);r.isArray(t)||(e.dataZoom=t=[t]);var n=e.toolbox;if(n&&(r.isArray(n)&&(n=n[0]),n&&n.feature)){var i=n.feature.dataZoom;o("xAxis",i),o("yAxis",i)}}function o(e,n){if(n){var i=e+"Index",o=n[i];null==o||"all"===o||r.isArray(o)||(o=!1===o||"none"===o?[]:[o]),a(e,(function(a,s){if(null==o||"all"===o||-1!==r.indexOf(o,s)){var l={type:"select",$fromToolbox:!0,filterMode:n.filterMode||"filter",id:f+e+s};l[i]=s,t.push(l)}}))}}function a(t,n){var i=e[t];r.isArray(i)||(i=i?[i]:[]),d(i,n)}}));var x=p;e.exports=x},8747:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(79143),a=n(52318),s=o.toolbox.magicType,l="__ec_magicType_stack__";function u(e){this.model=e}u.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:r.clone(s.title),option:{},seriesIndex:{}};var c=u.prototype;c.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return r.each(e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n};var h={line:function(e,t,n,i){if("bar"===e)return r.merge({id:t,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(e,t,n,i){if("line"===e)return r.merge({id:t,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(e,t,n,i){var o=n.get("stack")===l;if("line"===e||"bar"===e)return i.setIconStatus("stack",o?"normal":"emphasis"),r.merge({id:t,stack:o?"":l},i.get("option.stack")||{},!0)}},d=[["line","bar"],["stack"]];c.onclick=function(e,t,n){var i=this.model,o=i.get("seriesIndex."+n);if(h[n]){var a,u={series:[]},c=function(t){var o=t.subType,a=t.id,s=h[n](o,a,t,i);s&&(r.defaults(s,t.option),u.series.push(s));var l=t.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var c=l.getAxesByScale("ordinal")[0];if(c){var d=c.dim,f=d+"Axis",p=e.queryComponents({mainType:f,index:t.get(name+"Index"),id:t.get(name+"Id")})[0],g=p.componentIndex;u[f]=u[f]||[];for(var m=0;m<=g;m++)u[f][g]=u[f][g]||{};u[f][g].boundaryGap="bar"===n}}};if(r.each(d,(function(e){r.indexOf(e,n)>=0&&r.each(e,(function(e){i.setIconStatus(e,"normal")}))})),i.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},c),"stack"===n){var f=u.series&&u.series[0]&&u.series[0].stack===l;a=f?r.merge({stack:s.title.tiled},s.title):r.clone(s.title)}t.dispatchAction({type:"changeMagicType",currentType:n,newOption:u,newTitle:a,featureName:"magicType"})}},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)})),a.register("magicType",u);var f=u;e.exports=f},23901:function(e,t,n){var i=n(39405),r=n(20603),o=n(79143),a=n(52318),s=o.toolbox.restore;function l(e){this.model=e}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title};var u=l.prototype;u.onclick=function(e,t,n){r.clear(e),t.dispatchAction({type:"restore",from:this.uid})},a.register("restore",l),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var c=l;e.exports=c},95488:function(e,t,n){n(82801),n(1439),n(87585),n(55315);var i=n(95160),r=n(79143),o=n(52318),a=r.toolbox.saveAsImage;function s(e){this.model=e}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:a.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:a.lang.slice()},s.prototype.unusable=!i.canvasSupported;var l=s.prototype;l.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",o="svg"===t.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=t.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!==typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(s.split(",")[1]),u=l.length,c=new Uint8Array(u);while(u--)c[u]=l.charCodeAt(u);var h=new Blob([c]);window.navigator.msSaveOrOpenBlob(h,r+"."+a)}else{var d=n.get("lang"),f='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(d&&d[0]||"")+'" /></body>',p=window.open();p.document.write(f)}else{var g=document.createElement("a");g.download=r+"."+a,g.target="_blank",g.href=s;var m=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});g.dispatchEvent(m)}},o.register("saveAsImage",s);var u=s;e.exports=u},63604:function(e,t,n){var i=n(39405);n(47545),n(77528),n(61387),i.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),i.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},80562:function(e,t,n){n(57658);var i=n(63122),r=n(7471),o=n(13199),a=n(87086),s=n(95160),l=n(18906),u=i.each,c=l.toCamelCase,h=["","-webkit-","-moz-","-o-"],d="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function f(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+e+"s "+t+",top "+e+"s "+t;return i.map(h,(function(e){return e+"transition:"+n})).join(";")}function p(e){var t=[],n=e.get("fontSize"),i=e.getTextColor();i&&t.push("color:"+i),t.push("font:"+e.getFont());var r=e.get("lineHeight");null==r&&(r=Math.round(3*n/2)),n&&t.push("line-height:"+r+"px");var o=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,s=e.get("textShadowOffsetX")||0,l=e.get("textShadowOffsetY")||0;return a&&t.push("text-shadow:"+s+"px "+l+"px "+a+"px "+o),u(["decoration","align"],(function(n){var i=e.get(n);i&&t.push("text-"+n+":"+i)})),t.join(";")}function g(e){var t=[],n=e.get("transitionDuration"),i=e.get("backgroundColor"),o=e.getModel("textStyle"),a=e.get("padding");return n&&t.push(f(n)),i&&(s.canvasSupported?t.push("background-Color:"+i):(t.push("background-Color:#"+r.toHex(i)),t.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(n){var i="border-"+n,r=c(i),o=e.get(r);null!=o&&t.push(i+":"+o+("color"===n?"":"px"))})),t.push(p(o)),null!=a&&t.push("padding:"+l.normalizeCssArray(a).join("px ")+"px"),t.join(";")+";"}function m(e,t,n,i,r){var o=t&&t.painter;if(n){var s=o&&o.getViewportRoot();s&&a.transformLocalCoord(e,s,document.body,i,r)}else{e[0]=i,e[1]=r;var l=o&&o.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}function v(e,t,n){if(s.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var r=this._zr=t.getZr(),a=this._appendToBody=n&&n.appendToBody;this._styleCoord=[0,0,0,0],m(this._styleCoord,r,a,t.getWidth()/2,t.getHeight()/2),a?document.body.appendChild(i):e.appendChild(i),this._container=e,this._show=!1,this._hideTimeout;var l=this;i.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},i.onmousemove=function(e){if(e=e||window.event,!l._enterable){var t=r.handler,n=r.painter.getViewportRoot();o.normalizeEvent(n,e,!0),t.dispatch("mousemove",e)}},i.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}v.prototype={constructor:v,_enterable:!0,update:function(e){var t=this._container,n=t.currentStyle||document.defaultView.getComputedStyle(t),i=t.style;"absolute"!==i.position&&"absolute"!==n.position&&(i.position="relative");var r=e.get("alwaysShowContent");r&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var e=this._styleCoord[2],t=this._styleCoord[3],n=e*this._zr.getWidth(),i=t*this._zr.getHeight();this.moveTo(n,i)},show:function(e){clearTimeout(this._hideTimeout);var t=this.el,n=this._styleCoord;t.style.cssText=d+g(e)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",t.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var n=this._styleCoord;m(n,this._zr,this._appendToBody,e,t);var i=this.el.style;i.left=n[0]+"px",i.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var e=this.el.clientWidth,t=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(e+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),t+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:e,height:t}}};var y=v;e.exports=y},77528:function(e,t,n){var i=n(39405),r=i.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});e.exports=r},79379:function(e,t,n){var i=n(63122),r=n(84845),o=n(20594);function a(e,t,n,i){e[0]=n,e[1]=i,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}function s(e){var t=this._zr=e.getZr();this._styleCoord=[0,0,0,0],a(this._styleCoord,t,e.getWidth()/2,e.getHeight()/2),this._show=!1,this._hideTimeout}s.prototype={constructor:s,_enterable:!0,update:function(e){var t=e.get("alwaysShowContent");t&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var e=this._styleCoord[2],t=this._styleCoord[3],n=e*this._zr.getWidth(),i=t*this._zr.getHeight();this.moveTo(n,i)},show:function(e){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(e,t,n){this.el&&this._zr.remove(this.el);var i={},a=e,s="{marker",l="|}",u=a.indexOf(s);while(u>=0){var c=a.indexOf(l),h=a.substr(u+s.length,c-u-s.length);h.indexOf("sub")>-1?i["marker"+h]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[h],textOffset:[3,0]}:i["marker"+h]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[h]},a=a.substr(c+1),u=a.indexOf("{marker")}var d=n.getModel("textStyle"),f=d.get("fontSize"),p=n.get("textLineHeight");null==p&&(p=Math.round(3*f/2)),this.el=new r({style:o.setTextStyle({},d,{rich:i,text:e,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding"),textLineHeight:p}),z:n.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){if(this.el){var n=this._styleCoord;a(n,this._zr,e,t),this.el.attr("position",[n[0],n[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var e=this.getSize();return{width:e[0],height:e[1]}}};var l=s;e.exports=l},61387:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(95160),a=n(80562),s=n(79379),l=n(18906),u=n(43789),c=n(20594),h=n(46043),d=n(7928),f=n(90350),p=n(54454),g=n(3019),m=n(9432),v=n(46458),y=v.getTooltipRenderMode,b=r.bind,x=r.each,_=u.parsePercent,w=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),C=i.extendComponentView({type:"tooltip",init:function(e,t){if(!o.node){var n,i=e.getComponent("tooltip"),r=i.get("renderMode");this._renderMode=y(r),"html"===this._renderMode?(n=new a(t.getDom(),t,{appendToBody:i.get("appendToBody",!0)}),this._newLine="<br/>"):(n=new s(t),this._newLine="\n"),this._tooltipContent=n}},render:function(e,t,n){if(!o.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var i=this._tooltipContent;i.update(e),i.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");p.register("itemTooltip",this._api,b((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(e,t,n,{x:i._lastX,y:i._lastY})}))}},manuallyShowTip:function(e,t,n,i){if(i.from!==this.uid&&!o.node){var r=k(i,n);this._ticket="";var a=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var s=w;s.position=[i.x,i.y],s.update(),s.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:s},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,i))return;var l=h(i,t),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:i.position,target:l.el},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},manuallyHideTip:function(e,t,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(k(i,n))},_manuallyAxisShowTip:function(e,t,n,i){var r=i.seriesIndex,o=i.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=t.getSeriesByIndex(r);if(s){var l=s.getData();e=S([l.getItemModel(o),s,(s.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}}},_tryShow:function(e,t){var n=e.target,i=this._tooltipModel;if(i){this._lastX=e.offsetX,this._lastY=e.offsetY;var r=e.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,e):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,n,t)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,n,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var n=e.get("showDelay");t=r.bind(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},_showAxisTooltip:function(e,t){var n=this._ecModel,i=this._tooltipModel,o=[t.offsetX,t.offsetY],a=[],s=[],u=S([t.tooltipOption,i]),c=this._renderMode,h=this._newLine,d={};x(e,(function(e){x(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),i=e.value,o=[];if(t&&null!=i){var u=m.getValueLabel(i,t.axis,n,e.seriesDataIndices,e.valueLabelOpt);r.each(e.seriesDataIndices,(function(a){var l=n.getSeriesByIndex(a.seriesIndex),h=a.dataIndexInside,f=l&&l.getDataParams(h);if(f.axisDim=e.axisDim,f.axisIndex=e.axisIndex,f.axisType=e.axisType,f.axisId=e.axisId,f.axisValue=g.getAxisRawValue(t.axis,i),f.axisValueLabel=u,f){s.push(f);var p,m=l.formatTooltip(h,!0,null,c);if(r.isObject(m)){p=m.html;var v=m.markers;r.merge(d,v)}else p=m;o.push(p)}}));var f=u;"html"!==c?a.push(o.join(h)):a.push((f?l.encodeHTML(f)+h:"")+o.join(h))}}))}),this),a.reverse(),a=a.join(this._newLine+this._newLine);var f=t.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(u,f,o[0],o[1],this._tooltipContent,s):this._showTooltipContent(u,a,s,Math.random(),o[0],o[1],f,void 0,d)}))},_showSeriesItemTooltip:function(e,t,n){var i=this._ecModel,o=t.seriesIndex,a=i.getSeriesByIndex(o),s=t.dataModel||a,l=t.dataIndex,u=t.dataType,c=s.getData(u),h=S([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var f,p,g=s.getDataParams(l,u),m=s.formatTooltip(l,!1,u,this._renderMode);r.isObject(m)?(f=m.html,p=m.markers):(f=m,p=null);var v="item_"+s.name+"_"+l;this._showOrMove(h,(function(){this._showTooltipContent(h,f,g,v,e.offsetX,e.offsetY,e.position,e.target,p)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(e,t,n){var i=t.tooltip;if("string"===typeof i){var r=i;i={content:r,formatter:r}}var o=new f(i,this._tooltipModel,this._ecModel),a=o.get("content"),s=Math.random();this._showOrMove(o,(function(){this._showTooltipContent(o,a,o.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,n,i,r,o,a,s,u){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent,h=e.get("formatter");a=a||e.get("position");var d=t;if(h&&"string"===typeof h)d=l.formatTpl(h,n,!0);else if("function"===typeof h){var f=b((function(t,i){t===this._ticket&&(c.setContent(i,u,e),this._updatePosition(e,a,r,o,c,n,s))}),this);this._ticket=i,d=h(n,i,f)}c.setContent(d,u,e),c.show(e),this._updatePosition(e,a,r,o,c,n,s)}},_updatePosition:function(e,t,n,i,o,a,s){var l=this._api.getWidth(),u=this._api.getHeight();t=t||e.get("position");var c=o.getSize(),h=e.get("align"),f=e.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof t&&(t=t([n,i],a,o.el,p,{viewSize:[l,u],contentSize:c.slice()})),r.isArray(t))n=_(t[0],l),i=_(t[1],u);else if(r.isObject(t)){t.width=c[0],t.height=c[1];var g=d.getLayoutRect(t,{width:l,height:u});n=g.x,i=g.y,h=null,f=null}else if("string"===typeof t&&s){var m=E(t,p,c);n=m[0],i=m[1]}else{m=M(n,i,o,l,u,h?null:20,f?null:20);n=m[0],i=m[1]}if(h&&(n-=D(h)?c[0]/2:"right"===h?c[0]:0),f&&(i-=D(f)?c[1]/2:"bottom"===f?c[1]:0),e.get("confine")){m=T(n,i,o,l,u);n=m[0],i=m[1]}o.moveTo(n,i)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,n=!!t&&t.length===e.length;return n&&x(t,(function(t,i){var r=t.dataByAxis||{},o=e[i]||{},a=o.dataByAxis||[];n&=r.length===a.length,n&&x(r,(function(e,t){var i=a[t]||{},r=e.seriesDataIndices||[],o=i.seriesDataIndices||[];n&=e.value===i.value&&e.axisType===i.axisType&&e.axisId===i.axisId&&r.length===o.length,n&&x(r,(function(e,t){var i=o[t];n&=e.seriesIndex===i.seriesIndex&&e.dataIndex===i.dataIndex}))}))})),this._lastDataByCoordSys=e,!!n},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){o.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",t))}});function S(e){var t=e.pop();while(e.length){var n=e.pop();n&&(f.isInstance(n)&&(n=n.get("tooltip",!0)),"string"===typeof n&&(n={formatter:n}),t=new f(n,t,t.ecModel))}return t}function k(e,t){return e.dispatchAction||r.bind(t.dispatchAction,t)}function M(e,t,n,i,r,o,a){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=o&&(e+l+o>i?e-=l+o:e+=o),null!=a&&(t+u+a>r?t-=u+a:t+=a),[e,t]}function T(e,t,n,i,r){var o=n.getOuterSize(),a=o.width,s=o.height;return e=Math.min(e+a,i)-a,t=Math.min(t+s,r)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function E(e,t,n){var i=n[0],r=n[1],o=5,a=0,s=0,l=t.width,u=t.height;switch(e){case"inside":a=t.x+l/2-i/2,s=t.y+u/2-r/2;break;case"top":a=t.x+l/2-i/2,s=t.y-r-o;break;case"bottom":a=t.x+l/2-i/2,s=t.y+u+o;break;case"left":a=t.x-i-o,s=t.y+u/2-r/2;break;case"right":a=t.x+l+o,s=t.y+u/2-r/2}return[a,s]}function D(e){return"center"===e||"middle"===e}e.exports=C},890:function(e,t,n){n(58588),n(7164)},58588:function(e,t,n){var i=n(39405),r=n(65305);n(91903),n(9171),n(8265),n(54854),n(9641),i.registerPreprocessor(r)},7164:function(e,t,n){var i=n(39405),r=n(65305);n(91903),n(9171),n(81581),n(77934),n(9641),i.registerPreprocessor(r)},8265:function(e,t,n){n(57658);var i=n(63122),r=n(80319),o=n(43789),a=[20,140],s=r.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(e,t){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=a[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=a[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):i.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){r.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=o.asc((this.get("range")||[]).slice());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},getValueState:function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(t,n){e[0]<=t&&t<=e[1]&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),i=[];function r(t,n){i.push({value:t,color:e(t,n)})}for(var o=0,a=0,s=n.length,u=t.length;a<u&&(!n.length||t[a]<=n[0]);a++)t[a]<n[o]&&r(t[a],"outOfRange");for(var c=1;o<s;o++,c=0)c&&i.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(c=1;a<u;a++)(!n.length||n[n.length-1]<t[a])&&(c&&(i.length&&r(i[i.length-1].value,"outOfRange"),c=0),r(t[a],"outOfRange"));var h=i.length;return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}}});function l(e,t,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 u=s;e.exports=u},54854:function(e,t,n){n(57658);var i=n(63122),r=n(48515),o=n(13199),a=n(6377),s=n(20594),l=n(43789),u=n(48693),c=n(94013),h=n(46458),d=l.linearMap,f=i.each,p=Math.min,g=Math.max,m=12,v=6,y=a.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,n){if(t){var i=t[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,l=this._shapes.barGroup,u=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],l),c=this._applyTransform(0===n?"bottom":"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:i,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,n=this._shapes,r=t.itemSize,o=this._orient,a=this._useHandle,s=c.getItemAlign(t,this.api,r),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=b()),l.add(n.inRange=b(null,a?S(this._orient):null,i.bind(this._dragHandle,this,"all",!1),i.bind(this._dragHandle,this,"all",!0)));var u=t.textStyleModel.getTextRect("国"),h=g(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),e.add(l)},_createHandle:function(e,t,n,r,a){var l=i.bind(this._dragHandle,this,t,!1),u=i.bind(this._dragHandle,this,t,!0),c=b(x(t,r),S(this._orient),l,u);c.position[0]=n[0],e.add(c);var h=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(e){o.stop(e.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:h.getFont(),textFill:h.getTextColor()}});this.group.add(d);var f=["horizontal"===a?r/2:1.5*r,"horizontal"===a?0===t?-1.5*r:1.5*r:0===t?-r/2:r/2],p=this._shapes;p.handleThumbs[t]=c,p.handleLabelPoints[t]=f,p.handleLabels[t]=d},_createIndicator:function(e,t,n,i){var r=b([[0,0]],"move");r.position[0]=t[0],r.attr({invisible:!0,silent:!0}),e.add(r);var o=this.visualMapModel.textStyleModel,a=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),textFill:o.getTextColor()}});this.group.add(a);var l=["horizontal"===i?n/2:v+3,0],u=this._shapes;u.indicator=r,u.indicatorLabel=a,u.indicatorLabelPoint=l},_dragHandle:function(e,t,n,i){if(this._useHandle){if(this._dragging=!t,!t){var r=this._applyTransform([n,i],this._shapes.barGroup,!0);this._updateInterval(e,r[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():C(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),i=[0,e.itemSize[1]];this._handleEnds=[d(t[0],n,i,!0),d(t[1],n,i,!0)]},_updateInterval:function(e,t){t=t||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];u(t,i,r,e,0);var o=n.getExtent();this._dataInterval=[d(i[0],r,o,!0),d(i[1],r,o,!0)]},_updateView:function(e){var t=this.visualMapModel,n=t.getExtent(),i=this._shapes,r=[0,t.itemSize[1]],o=e?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(e,t,n,i){var o={forceState:i,convertOpacityToAlpha:!0},a=this._makeColorGradient(e,o),s=[this.getControllerVisual(e[0],"symbolSize",o),this.getControllerVisual(e[1],"symbolSize",o)],l=this._createBarPoints(n,s);return{barColor:new r(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.length-1].color]}},_makeColorGradient:function(e,t){var n=100,i=[],r=(e[1]-e[0])/n;i.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;o<n;o++){var a=e[0]+r*o;if(a>e[1])break;i.push({color:this.getControllerVisual(a,"color",t),offset:o/n})}return i.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),i},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels;f([0,1],(function(a){var l=r[a];l.setStyle("fill",t.handlesColor[a]),l.position[1]=e[a];var u=s.applyTransform(n.handleLabelPoints[a],s.getTransform(l,this.group));o[a].setStyle({x:u[0],y:u[1],text:i.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(e,t,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,l=[0,a[1]],u=d(e,o,l,!0),c=this._shapes,h=c.indicator;if(h){h.position[1]=u,h.attr("invisible",!1),h.setShape("points",_(!!n,i,u,a[1]));var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(e,"color",f);h.setStyle("fill",p);var g=s.applyTransform(c.indicatorLabelPoint,s.getTransform(h,this.group)),m=c.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",c.barGroup),y=this._orient;m.setStyle({text:(n||"")+r.formatValueText(t),textVerticalAlign:"horizontal"===y?v:"middle",textAlign:"horizontal"===y?"center":v,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,i=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);i[1]=p(g(0,i[1]),n[1]),e._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();e=p(g(r[0],e),r[1]);var a=w(n,o,r),s=[e-a,e+a],l=d(e,r,o,!0),u=[d(s[0],r,o,!0),d(s[1],r,o,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var f=this._hoverLinkDataIndices,m=[];(t||C(n))&&(m=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var v=h.compressBatches(f,m);this._dispatchHighDown("downplay",c.makeHighDownBatch(v[0],n)),this._dispatchHighDown("highlight",c.makeHighDownBatch(v[1],n))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var i=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(i)){var r=i.getData(t.dataType),o=r.get(n.getDataDimension(r),t.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(e,this.visualMapModel)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,r){var o=s.getTransform(t,r?null:this.group);return s[i.isArray(e)?"applyTransform":"transformDirection"](e,o,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function b(e,t,n,i){return new s.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){o.stop(e.event)},ondragend:i})}function x(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function _(e,t,n,i){return e?[[0,-p(t,g(n,0))],[v,0],[0,p(t,g(i-n,0))]]:[[0,0],[5,-5],[5,5]]}function w(e,t,n){var i=m/2,r=e.get("hoverLinkDataSize");return r&&(i=d(r,t,n,!0)/2),i}function C(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function S(e){return"vertical"===e?"ns-resize":"ew-resize"}var k=y;e.exports=k},81581:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=n(80319),a=n(81313),s=n(88455),l=n(43789),u=l.reformIntervals,c=o.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(e,t){c.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();h[this._mode].call(this),this._resetSelected(e,t);var i=this.option.categories;this.resetVisual((function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=r.clone(i)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=r.map(this._pieceList,(function(e){e=r.clone(e);return"inRange"!==t&&(e.visual=null),e})))}))},completeVisualOption:function(){var e=this.option,t={},n=a.listVisualTypes(),i=this.isCategory();function l(e,t,n){return e&&e[t]&&(r.isObject(e[t])?e[t].hasOwnProperty(n):e[t]===n)}r.each(e.pieces,(function(e){r.each(n,(function(n){e.hasOwnProperty(n)&&(t[n]=1)}))})),r.each(t,(function(t,n){var o=0;r.each(this.stateList,(function(t){o|=l(e,t,n)||l(e.target,t,n)}),this),!o&&r.each(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=s.get(n,"inRange"===t?"active":"inactive",i)}))}),this),o.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var n=this.option,i=this._pieceList,o=(t?n:e).selected||{};if(n.selected=o,r.each(i,(function(e,t){var n=this.getSelectedMapKey(e);o.hasOwnProperty(n)||(o[n]=!0)}),this),"single"===n.selectedMode){var a=!1;r.each(i,(function(e,t){var n=this.getSelectedMapKey(e);o[n]&&(a?o[n]=!1:a=!0)}),this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=r.clone(e)},getValueState:function(e){var t=a.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(t,n){var r=a.findPieceIndex(t,this._pieceList);r===e&&i.push(n)}),this),t.push({seriesId:n.id,dataIndex:i})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],n=[],i=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),a=o[o.length-1].interval[1],a!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return r.each(o,(function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:t,outerColors:n}}function l(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=e(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:t.push({value:r[0],color:s},{value:r[1],color:s})}}}),h={splitNumber:function(){var e=this.option,t=this._pieceList,n=Math.min(e.precision,20),i=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;var a=(i[1]-i[0])/o;while(+a.toFixed(n)!==a&&n<5)n++;e.precision=n,a=+a.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var s=0,l=i[0];s<o;l+=a,s++){var c=s===o-1?i[1]:l+a;t.push({interval:[l,c],close:[1,1]})}e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),u(t),r.each(t,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(){var e=this.option;r.each(e.categories,(function(e){this._pieceList.push({text:this.formatValueText(e,!0),value:e})}),this),d(e,this._pieceList)},pieces:function(){var e=this.option,t=this._pieceList;r.each(e.pieces,(function(e,n){r.isObject(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var o=i.value=e.value;i.interval=[o,o],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=[],d=0;d<2;d++){for(var f=[["gte","gt","min"],["lte","lt","max"]][d],p=0;p<3&&null==s[d];p++)s[d]=e[f[p]],l[d]=u[p],h[d]=2===p;null==s[d]&&(s[d]=c[d])}h[0]&&s[1]===1/0&&(l[0]=0),h[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(i.value=s[0])}i.visual=a.retrieveVisuals(e),t.push(i)}),this),d(e,t),u(t),r.each(t,(function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function d(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var f=c;e.exports=f},77934:function(e,t,n){var i=n(63122),r=n(6377),o=n(20594),a=n(84682),s=a.createSymbol,l=n(7928),u=n(94013),c=r.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),r=t.textStyleModel,a=r.getFont(),s=r.getTextColor(),u=this._getItemAlign(),c=t.itemSize,h=this._getViewData(),d=h.endsText,f=i.retrieve(t.get("showLabel",!0),!d);function p(r){var l=r.piece,h=new o.Group;h.onclick=i.bind(this._onItemClick,this,l),this._enableHoverLink(h,r.indexInModelPieceList);var d=t.getRepresentValue(l);if(this._createItemSymbol(h,d,[0,0,c[0],c[1]]),f){var p=this.visualMapModel.getValueState(d);h.add(new o.Text({style:{x:"right"===u?-n:c[0]+n,y:c[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:u,textFont:a,textFill:s,opacity:"outOfRange"===p?.5:1}}))}e.add(h)}d&&this._renderEndsText(e,d[0],c,f,u),i.each(h.viewPieceList,p,this),d&&this._renderEndsText(e,d[1],c,f,u),l.box(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,t){function n(e){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:e,batch:u.makeHighDownBatch(n.findTargetDataIndices(t),n)})}e.on("mouseover",i.bind(n,this,"highlight")).on("mouseout",i.bind(n,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return u.getItemAlign(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(e,t,n,i,r){if(t){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:t,textFont:s.getFont(),textFill:s.getTextColor()}})),e.add(a)}},_getViewData:function(){var e=this.visualMapModel,t=i.map(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),r=e.get("orient"),o=e.get("inverse");return("horizontal"===r?o:!o)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},_createItemSymbol:function(e,t,n){e.add(s(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,n=t.option,r=i.clone(n.selected),o=t.getSelectedMapKey(e);"single"===n.selectedMode?(r[o]=!0,i.each(r,(function(e,t){r[t]=t===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),h=c;e.exports=h},80319:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(95160),a=n(88455),s=n(81313),l=n(24466),u=n(46458),c=n(43789),h=s.mapVisual,d=s.eachVisual,f=r.isArray,p=r.each,g=c.asc,m=c.linearMap,v=r.noop,y=i.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(e,t,n){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(e,n)},optionUpdated:function(e,t){var n=this.option;o.canvasSupported||(n.realtime=!1),!t&&l.replaceVisualOption(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(e){var t=this.stateList;e=r.bind(e,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,t,e),this.targetVisuals=l.createVisualMappings(this.option.target,t,e)},getTargetSeriesIndices:function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=u.normalizeToArray(e),t},eachTargetSeries:function(e,t){r.each(this.getTargetSeriesIndices(),(function(n){e.call(t,this.ecModel.getSeriesByIndex(n))}),this)},isTargetSeries:function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},formatValueText:function(e,t,n){var i,o,a=this.option,s=a.precision,l=this.dataBound,u=a.formatter;return n=n||["<",">"],r.isArray(e)&&(e=e.slice(),i=!0),o=t?e:i?[c(e[0]),c(e[1])]:c(e),r.isString(u)?u.replace("{value}",i?o[0]:o).replace("{value2}",i?o[1]:o):r.isFunction(u)?i?u(e[0],e[1]):u(e):i?e[0]===l[0]?n[0]+" "+o[1]:e[1]===l[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o;function c(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(s,20))}},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,n=e.dimensions;if(null!=t||n.length){if(null!=t)return e.getDimension(t);for(var i=e.dimensions,r=i.length-1;r>=0;r--){var o=i[r],a=e.getDimensionInfo(o);if(!a.isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),o=t.controller||(t.controller={});r.merge(i,n),r.merge(o,n);var l=this.isCategory();function u(n){f(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")},p(this.stateList,(function(e){var t=n[e];if(r.isString(t)){var i=a.get(t,"active",l);i?(n[e]={},n[e][t]=i):delete n[e]}}),this)}function c(e,t,n){var i=e[t],r=e[n];i&&!r&&(r=e[n]={},p(i,(function(e,t){if(s.isValidType(t)){var n=a.get(t,"inactive",l);null!=n&&(r[t]=n,"color"!==t||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}function g(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,(function(o){var a=this.itemSize,s=e[o];s||(s=e[o]={color:l?i:[i]}),null==s.symbol&&(s.symbol=t&&r.clone(t)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&r.clone(n)||(l?a[0]:[a[0],a[0]])),s.symbol=h(s.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var u=s.symbolSize;if(null!=u){var c=-1/0;d(u,(function(e){e>c&&(c=e)})),s.symbolSize=h(u,(function(e){return m(e,[0,c],[0,a[0]],!0)}))}}),this)}u.call(this,i),u.call(this,o),c.call(this,i,"inRange","outOfRange"),g.call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v}),b=y;e.exports=b},6377:function(e,t,n){var i=n(39405),r=n(63122),o=n(20594),a=n(18906),s=n(7928),l=n(81313),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,i){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,n=a.normalizeCssArray(t.get("padding")||0),i=e.getBoundingRect();e.add(new o.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){n=n||{};var i=n.forceState,o=this.visualMapModel,a={};if("symbol"===t&&(a.symbol=o.get("itemSymbol")),"color"===t){var s=o.get("contentColor");a.color=s}function u(e){return a[e]}function c(e,t){a[e]=t}var h=o.controllerVisuals[i||o.getValueState(e)],d=l.prepareVisualTypes(h);return r.each(d,(function(i){var r=h[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=h.__alphaForOpacity),l.dependsOn(i,t)&&r&&r.applyVisual(e,u,c)})),a[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:r.noop});e.exports=u},94013:function(e,t,n){var i=n(63122),r=n(7928),o=r.getLayoutRect;function a(e,t,n){var i=e.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var a={width:t.getWidth(),height:t.getHeight()},s="horizontal"===i.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],h={},d=0;d<3;d++)h[l[1-s][d]]=c[d],h[u[d]]=2===d?n[0]:i[u[d]];var f=[["x","width",3],["y","height",0]][s],p=o(h,a,i.padding);return u[(p.margin[f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*a[f[1]]?0:1]}function s(e,t){return i.each(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}t.getItemAlign=a,t.makeHighDownBatch=s},65305:function(e,t,n){var i=n(63122),r=i.each;function o(e){var t=e&&e.visualMap;i.isArray(t)||(t=t?[t]:[]),r(t,(function(e){if(e){a(e,"splitList")&&!a(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&i.isArray(t)&&r(t,(function(e){i.isObject(e)&&(a(e,"start")&&!a(e,"min")&&(e.min=e.start),a(e,"end")&&!a(e,"max")&&(e.max=e.end))}))}}))}function a(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}e.exports=o},91903:function(e,t,n){var i=n(93141);i.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},9171:function(e,t,n){n(57658);var i=n(39405),r=n(63122),o=n(24466),a=n(81313),s=i.PRIORITY.VISUAL.COMPONENT;function l(e,t,n,i){for(var r=t.targetVisuals[i],o=a.prepareVisualTypes(r),s={color:e.getData().getVisual("color")},l=0,u=o.length;l<u;l++){var c=o[l],h=r["opacity"===c?"__alphaForOpacity":c];h&&h.applyVisual(n,d,f)}return s.color;function d(e){return s[e]}function f(e,t){s[e]=t}}i.registerVisual(s,{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var i=e.pipelineContext;!t.isTargetSeries(e)||i&&i.large||n.push(o.incrementalApplyVisual(t.stateList,t.targetVisuals,r.bind(t.getValueState,t),t.getDataDimension(e.getData())))})),n}}),i.registerVisual(s,{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),i=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var o=t.getVisualMeta(r.bind(l,null,e,t))||{stops:[],outerColors:[]},a=t.getDataDimension(n),s=n.getDimensionInfo(a);null!=s&&(o.dimension=s.index,i.push(o))}})),e.getData().setVisual("visualMeta",i)}})},9641:function(e,t,n){var i=n(39405),r={type:"selectDataRange",event:"dataRangeSelected",update:"update"};i.registerAction(r,(function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))}))},49648:function(e,t,n){var i;"undefined"!==typeof window?i=window.__DEV__:"undefined"!==typeof n.g&&(i=n.g.__DEV__),"undefined"===typeof i&&(i=!0);var r=i;t.__DEV__=r},47348:function(e,t,n){n(57658);var i=n(63122),r=i.each,o=i.map,a=n(43789),s=a.linearMap,l=a.getPixelPrecision,u=a.round,c=n(1068),h=c.createAxisTicks,d=c.createAxisLabels,f=c.calculateCategoryInterval,p=[0,1],g=function(e,t,n){this.dim=e,this.scale=t,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function m(e,t){var n=e[1]-e[0],i=t,r=n/i/2;e[0]+=r,e[1]-=r}function v(e,t,n,i){var o=t.length;if(e.onBand&&!n&&o){var a,s,l=e.getExtent();if(1===o)t[0].coord=l[0],a=t[1]={coord:l[0]};else{var c=t[o-1].tickValue-t[0].tickValue,h=(t[o-1].coord-t[0].coord)/c;r(t,(function(e){e.coord-=h/2}));var d=e.scale.getExtent();s=1+d[1]-t[o-1].tickValue,a={coord:t[o-1].coord+h*s},t.push(a)}var f=l[0]>l[1];p(t[0].coord,l[0])&&(i?t[0].coord=l[0]:t.shift()),i&&p(l[0],t[0].coord)&&t.unshift({coord:l[0]}),p(l[1],a.coord)&&(i?a.coord=l[1]:t.pop()),i&&p(a.coord,l[1])&&t.push({coord:l[1]})}function p(e,t){return e=u(e),t=u(t),f?e>t:e<t}}g.prototype={constructor:g,contain:function(e){var t=this._extent,n=Math.min(t[0],t[1]),i=Math.max(t[0],t[1]);return e>=n&&e<=i},containData:function(e){return this.scale.contain(e)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return l(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var n=this._extent;n[0]=e,n[1]=t},dataToCoord:function(e,t){var n=this._extent,i=this.scale;return e=i.normalize(e),this.onBand&&"ordinal"===i.type&&(n=n.slice(),m(n,i.count())),s(e,p,n,t)},coordToData:function(e,t){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),m(n,i.count()));var r=s(e,n,p,t);return this.scale.scale(r)},pointToData:function(e,t){},getTicksCoords:function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=h(this,t),i=n.ticks,r=o(i,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this),a=t.get("alignWithLabel");return v(this,r,a,e.clamp),r},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var n=this.scale.getMinorTicks(t),i=o(n,(function(e){return o(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return i},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(e[1]-e[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var y=g;e.exports=y},51014:function(e,t,n){var i=n(63122),r=n(78244),o=n(97333),a=n(46630),s=n(71082),l=r.applyTransform;function u(){s.call(this)}function c(e){this.name=e,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function h(e,t,n,i){var r=n.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[e](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,n,i){return this._rect=new a(e,t,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,n,i){this.transformTo(e,t,n,i),this._viewRect=new a(e,t,n,i)},transformTo:function(e,t,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new a(e,t,n,i)),o.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect(),t=e.x+e.width/2,n=e.y+e.height/2;return[t,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),o=this.getZoom();i=r.applyTransform([],i,e),n=r.applyTransform([],n,e),t.origin=i,t.position=[n[0]-i[0],n[1]-i[1]],t.scale=[o,o],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),o.copy(this.transform||(this.transform=[]),t.transform||o.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],o.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,t=this._rawTransformable;return{roamTransform:e?i.slice(e):o.create(),rawScale:i.slice(t.scale),rawPosition:i.slice(t.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,n){var i=t?this._rawTransform:this.transform;return n=n||[],i?l(n,e,i):r.copy(n,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:i.curry(h,"dataToPoint"),convertFromPixel:i.curry(h,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},i.mixin(c,s);var d=c;e.exports=d},25134:function(e,t,n){var i=n(63122),r={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},o={};o.categoryAxis=i.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),o.valueAxis=i.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},r),o.timeAxis=i.defaults({scale:!0,min:"dataMin",max:"dataMax"},o.valueAxis),o.logAxis=i.defaults({scale:!0,logBase:10},o.valueAxis);var a=o;e.exports=a},3019:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(63122)),o=n(92315),a=n(71933),s=n(98949),l=n(43789),u=n(72812),c=u.prepareLayoutBarSeries,h=u.makeColumnLayout,d=u.retrieveColumnLayout,f=n(46630);function p(e,t){var n,i,o,a=e.type,s=t.getMin(),u=t.getMax(),d=e.getExtent();"ordinal"===a?n=t.getCategories().length:(i=t.get("boundaryGap"),r.isArray(i)||(i=[i||0,i||0]),"boolean"===typeof i[0]&&(i=[0,0]),i[0]=l.parsePercent(i[0],1),i[1]=l.parsePercent(i[1],1),o=d[1]-d[0]||Math.abs(d[0])),"dataMin"===s?s=d[0]:"function"===typeof s&&(s=s({min:d[0],max:d[1]})),"dataMax"===u?u=d[1]:"function"===typeof u&&(u=u({min:d[0],max:d[1]}));var f=null!=s,p=null!=u;null==s&&(s="ordinal"===a?n?0:NaN:d[0]-i[0]*o),null==u&&(u="ordinal"===a?n?n-1:NaN:d[1]+i[1]*o),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN),e.setBlank(r.eqNaN(s)||r.eqNaN(u)||"ordinal"===a&&!e.getOrdinalMeta().categories.length),t.getNeedCrossZero()&&(s>0&&u>0&&!f&&(s=0),s<0&&u<0&&!p&&(u=0));var m=t.ecModel;if(m&&"time"===a){var v,y=c("bar",m);if(r.each(y,(function(e){v|=e.getBaseAxis()===t.axis})),v){var b=h(y),x=g(s,u,t,b);s=x.min,u=x.max}}return{extent:[s,u],fixMin:f,fixMax:p}}function g(e,t,n,i){var o=n.axis.getExtent(),a=o[1]-o[0],s=d(i,n.axis);if(void 0===s)return{min:e,max:t};var l=1/0;r.each(s,(function(e){l=Math.min(e.offset,l)}));var u=-1/0;r.each(s,(function(e){u=Math.max(e.offset+e.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,h=t-e,f=1-(l+u)/a,p=h/f-h;return t+=p*(u/c),e-=p*(l/c),{min:e,max:t}}function m(e,t){var n=p(e,t),i=n.extent,r=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase"));var o=e.type;e.setExtent(i[0],i[1]),e.niceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===o||"time"===o?t.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?t.get("maxInterval"):null});var a=t.get("interval");null!=a&&e.setInterval&&e.setInterval(a)}function v(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new o(e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(s.getClass(t)||a).create(e)}}function y(e){var t=e.scale.getExtent(),n=t[0],i=t[1];return!(n>0&&i>0||n<0&&i<0)}function b(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"string"===typeof t?(t=function(t){return function(n){return n=e.scale.getLabel(n),t.replace("{value}",null!=n?n:"")}}(t),t):"function"===typeof t?function(i,r){return null!=n&&(r=i-n),t(x(e,i),r)}:function(t){return e.scale.getLabel(t)}}function x(e,t){return"category"===e.type?e.scale.getLabel(t):t}function _(e){var t=e.model,n=e.scale;if(t.get("axisLabel.show")&&!n.isBlank()){var i,r,o="category"===e.type,a=n.getExtent();o?r=n.count():(i=n.getTicks(),r=i.length);var s,l=e.getLabelModel(),u=b(e),c=1;r>40&&(c=Math.ceil(r/40));for(var h=0;h<r;h+=c){var d=i?i[h]:a[0]+h,f=u(d),p=l.getTextRect(f),g=w(p,l.get("rotate")||0);s?s.union(g):s=g}return s}}function w(e,t){var n=t*Math.PI/180,i=e.plain(),r=i.width,o=i.height,a=r*Math.abs(Math.cos(n))+Math.abs(o*Math.sin(n)),s=r*Math.abs(Math.sin(n))+Math.abs(o*Math.cos(n)),l=new f(i.x,i.y,a,s);return l}function C(e){var t=e.get("interval");return null==t?"auto":t}function S(e){return"category"===e.type&&0===C(e.getLabelModel())}n(20821),n(70892),t.getScaleExtent=p,t.niceScaleExtent=m,t.createScaleByModel=v,t.ifAxisCrossZero=y,t.makeLabelFormatter=b,t.getAxisRawValue=x,t.estimateLabelUnionRect=_,t.getOptionCategoryInterval=C,t.shouldShowAllLabels=S},67662:function(e,t,n){var i=n(63122),r={getMin:function(e){var t=this.option,n=e||null==t.rangeStart?t.min:t.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!==typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(e){var t=this.option,n=e||null==t.rangeEnd?t.max:t.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!==typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var e=this.option;return null==e.rangeStart&&null==e.rangeEnd&&!e.scale},getCoordSysModel:i.noop,setRange:function(e,t){this.option.rangeStart=e,this.option.rangeEnd=t},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};e.exports=r},23539:function(e,t,n){var i=n(63122),r=n(25134),o=n(93141),a=n(7928),s=a.getLayoutParams,l=a.mergeLayoutParam,u=n(24381),c=["value","category","time","log"];function h(e,t,n,a){i.each(c,(function(o){t.extend({type:e+"Axis."+o,mergeDefaultAndTheme:function(t,r){var a=this.layoutMode,u=a?s(t):{},c=r.getTheme();i.merge(t,c.get(o+"Axis")),i.merge(t,this.getDefaultOption()),t.type=n(e,t),a&&l(t,u,a)},optionUpdated:function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:i.mergeAll([{},r[o+"Axis"],a],!0)})})),o.registerSubTypeDefaulter(e+"Axis",i.curry(n,e))}e.exports=h},1068:function(e,t,n){n(57658);var i=n(63122),r=n(2278),o=n(46458),a=o.makeInner,s=n(3019),l=s.makeLabelFormatter,u=s.getOptionCategoryInterval,c=s.shouldShowAllLabels,h=a();function d(e){return"category"===e.type?p(e):v(e)}function f(e,t){return"category"===e.type?m(e,t):{ticks:e.scale.getTicks()}}function p(e){var t=e.getLabelModel(),n=g(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function g(e,t){var n,r,o=y(e,"labels"),a=u(t),s=b(o,a);return s||(i.isFunction(a)?n=k(e,a):(r="auto"===a?_(e):a,n=S(e,r)),x(o,a,{labels:n,labelCategoryInterval:r}))}function m(e,t){var n,r,o=y(e,"ticks"),a=u(t),s=b(o,a);if(s)return s;if(t.get("show")&&!e.scale.isBlank()||(n=[]),i.isFunction(a))n=k(e,a,!0);else if("auto"===a){var l=g(e,e.getLabelModel());r=l.labelCategoryInterval,n=i.map(l.labels,(function(e){return e.tickValue}))}else r=a,n=S(e,r,!0);return x(o,a,{ticks:n,tickCategoryInterval:r})}function v(e){var t=e.scale.getTicks(),n=l(e);return{labels:i.map(t,(function(t,i){return{formattedLabel:n(t,i),rawLabel:e.scale.getLabel(t),tickValue:t}}))}}function y(e,t){return h(e)[t]||(h(e)[t]=[])}function b(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function x(e,t,n){return e.push({key:t,value:n}),n}function _(e){var t=h(e).autoInterval;return null!=t?t:h(e).autoInterval=e.calculateCategoryInterval()}function w(e){var t=C(e),n=l(e),i=(t.axisRotate-t.labelRotate)/180*Math.PI,o=e.scale,a=o.getExtent(),s=o.count();if(a[1]-a[0]<1)return 0;var u=1;s>40&&(u=Math.max(1,Math.floor(s/40)));for(var c=a[0],d=e.dataToCoord(c+1)-e.dataToCoord(c),f=Math.abs(d*Math.cos(i)),p=Math.abs(d*Math.sin(i)),g=0,m=0;c<=a[1];c+=u){var v=0,y=0,b=r.getBoundingRect(n(c),t.font,"center","top");v=1.3*b.width,y=1.3*b.height,g=Math.max(g,v,7),m=Math.max(m,y,7)}var x=g/f,_=m/p;isNaN(x)&&(x=1/0),isNaN(_)&&(_=1/0);var w=Math.max(0,Math.floor(Math.min(x,_))),S=h(e.model),k=e.getExtent(),M=S.lastAutoInterval,T=S.lastTickCount;return null!=M&&null!=T&&Math.abs(M-w)<=1&&Math.abs(T-s)<=1&&M>w&&S.axisExtend0===k[0]&&S.axisExtend1===k[1]?w=M:(S.lastTickCount=s,S.lastAutoInterval=w,S.axisExtend0=k[0],S.axisExtend1=k[1]),w}function C(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function S(e,t,n){var i=l(e),r=e.scale,o=r.getExtent(),a=e.getLabelModel(),s=[],u=Math.max((t||0)+1,1),h=o[0],d=r.count();0!==h&&u>1&&d/u>2&&(h=Math.round(Math.ceil(h/u)*u));var f=c(e),p=a.get("showMinLabel")||f,g=a.get("showMaxLabel")||f;p&&h!==o[0]&&v(o[0]);for(var m=h;m<=o[1];m+=u)v(m);function v(e){s.push(n?e:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:e})}return g&&m-u!==o[1]&&v(o[1]),s}function k(e,t,n){var r=e.scale,o=l(e),a=[];return i.each(r.getTicks(),(function(e){var i=r.getLabel(e);t(e,i)&&a.push(n?e:{formattedLabel:o(e),rawLabel:i,tickValue:e})})),a}t.createAxisLabels=d,t.createAxisTicks=f,t.calculateCategoryInterval=w},42232:function(e,t,n){n(57658);var i=n(63122),r=n(7928),o=n(43789),a=n(99966),s=864e5;function l(e,t,n){this._model=e}function u(e,t,n,i){var r=n.calendarModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[e](i):null}l.prototype={constructor:l,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){e=o.parseDate(e);var t=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var i=e.getDate();i=i<10?"0"+i:i;var r=e.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:t,m:n,d:i,day:r,time:e.getTime(),formatedDate:t+"-"+n+"-"+i,date:e}},getNextNDay:function(e,t){return t=t||0,0===t||(e=new Date(this.getDateInfo(e).time),e.setDate(e.getDate()+t)),this.getDateInfo(e)},update:function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];i.each([0,1],(function(e){h(a,e)&&(s[o[e]]=a[e]*l[e])}));var u={width:t.getWidth(),height:t.getHeight()},c=this._rect=r.getLayoutRect(s,u);function h(e,t){return null!=e[t]&&"auto"!==e[t]}i.each([0,1],(function(e){h(a,e)||(a[e]=c[o[e]]/l[e])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(e,t){i.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),r=this._rangeInfo,o=n.formatedDate;if(t&&!(n.time>=r.start.time&&n.time<r.end.time+s))return[NaN,NaN];var a=n.day,l=this._getRangeInfo([r.start.time,o]).nthWeek;return"vertical"===this._orient?[this._rect.x+a*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]:[this._rect.x+l*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]},pointToData:function(e){var t=this.pointToDate(e);return t&&t.time},dataToRect:function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,i):this._getDateByWeeksAndDay(t,n-1,i)},convertToPixel:i.curry(u,"dataToPoint"),convertFromPixel:i.curry(u,"pointToData"),_initRangeOption:function(){var e=this._model.get("range"),t=e;if(i.isArray(t)&&1===t.length&&(t=t[0]),/^\d{4}$/.test(t)&&(e=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var n=this.getDateInfo(t),r=n.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);e=[n.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(e=[t,t]);var a=this._getRangeInfo(e);return a.start.time>a.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],e[0].time>e[1].time&&(t=!0,e.reverse());var n=Math.floor(e[1].time/s)-Math.floor(e[0].time/s)+1,i=new Date(e[0].time),r=i.getDate(),o=e[1].date.getDate();i.setDate(r+n-1);var a=i.getDate();if(a!==o){var l=i.getTime()-e[1].time>0?1:-1;while((a=i.getDate())!==o&&(i.getTime()-e[1].time)*l>0)n-=l,i.setDate(a-l)}var u=Math.floor((n+e[0].day+6)/7),c=t?1-u:u-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:n,weeks:u,nthWeek:c,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,n){var i=this._getRangeInfo(n);if(e>i.weeks||0===e&&t<i.fweek||e===i.weeks&&t>i.lweek)return!1;var r=7*(e-1)-i.fweek+t,o=new Date(i.start.time);return o.setDate(i.start.d+r),this.getDateInfo(o)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(e,t){var n=[];return e.eachComponent("calendar",(function(i){var r=new l(i,e,t);n.push(r),i.coordinateSystem=r})),e.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])})),n},a.register("calendar",l);var c=l;e.exports=c},48469:function(e,t,n){var i=n(63122),r=n(93141),o=n(7928),a=o.getLayoutParams,s=o.sizeCalculable,l=o.mergeLayoutParam,u=r.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(e,t,n,i){var r=a(e);u.superApply(this,"init",arguments),c(e,r)},mergeOption:function(e,t){u.superApply(this,"mergeOption",arguments),c(this.option,e)}});function c(e,t){var n=e.cellSize;i.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var r=i.map([0,1],(function(e){return s(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));l(e,t,{type:"box",ignoreSize:r})}var h=u;e.exports=h},15683:function(e){function t(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}e.exports=t},92639:function(e,t,n){var i=n(63122),r=n(47348),o=function(e,t,n,i,o){r.call(this,e,t,n),this.type=i||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},i.inherits(o,r);var a=o;e.exports=a},29320:function(e,t,n){var i=n(63122),r=n(93141),o=n(23539),a=n(67662),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]}});function l(e,t){return t.type||(t.data?"category":"value")}i.merge(s.prototype,a);var u={offset:0};o("x",s,l,u),o("y",s,l,u);var c=s;e.exports=c},97936:function(e,t,n){n(57658);var i=n(63122);function r(e){return this._axes[e]}var o=function(e){this._axes={},this._dimList=[],this.name=e||""};o.prototype={constructor:o,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return i.map(this._dimList,r,this)},getAxesByScale:function(e){return e=e.toLowerCase(),i.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var n=this._dimList,i=e instanceof Array?[]:{},r=0;r<n.length;r++){var o=n[r],a=this._axes[o];i[o]=a[t](e[o])}return i}};var a=o;e.exports=a},10395:function(e,t,n){var i=n(63122),r=n(46630),o=n(97936);function a(e){o.call(this,e)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,t,n){var i=this.getAxis("x"),r=this.getAxis("y");return n=n||[],n[0]=i.toGlobalCoord(i.dataToCoord(e[0])),n[1]=r.toGlobalCoord(r.dataToCoord(e[1])),n},clampData:function(e,t){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(e[0]),s=i.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},pointToData:function(e,t){var n=this.getAxis("x"),i=this.getAxis("y");return t=t||[],t[0]=n.coordToData(n.toLocalCoord(e[0])),t[1]=i.coordToData(i.toLocalCoord(e[1])),t},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")},getArea:function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),i=Math.min(t[0],t[1]),o=Math.max(e[0],e[1])-n,a=Math.max(t[0],t[1])-i,s=new r(n,i,o,a);return s}},i.inherits(a,o);var s=a;e.exports=s},15187:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=r.isObject,a=r.each,s=r.map,l=r.indexOf,u=(r.retrieve,n(7928)),c=u.getLayoutRect,h=n(3019),d=h.createScaleByModel,f=h.ifAxisCrossZero,p=h.niceScaleExtent,g=h.estimateLabelUnionRect,m=n(10395),v=n(92639),y=n(99966),b=n(60291),x=b.getStackedDimension;function _(e,t,n){return e.getCoordSysModel()===t}function w(e,t,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(e,t,n),this.model=e}n(3543);var C=w.prototype;function S(e,t,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=e[t],a=n.model,s=a.get("axisLine.onZero"),l=a.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)k(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&k(o[u])&&!i[c(o[u])]){r=o[u];break}r&&(i[c(r)]=!0)}function c(e){return e.dim+"_"+e.index}}function k(e){return e&&"category"!==e.type&&"time"!==e.type&&f(e)}function M(e,t){var n=e.getExtent(),i=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return i-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return i-e+t}}C.type="grid",C.axisPointerEnabled=!0,C.getRect=function(){return this._rect},C.update=function(e,t){var n=this._axesMap;this._updateScale(e,this.model),a(n.x,(function(e){p(e.scale,e.model)})),a(n.y,(function(e){p(e.scale,e.model)}));var i={};a(n.x,(function(e){S(n,"y",e,i)})),a(n.y,(function(e){S(n,"x",e,i)})),this.resize(this.model,t)},C.resize=function(e,t,n){var i=c(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()});this._rect=i;var r=this._axesList;function o(){a(r,(function(e){var t=e.isHorizontal(),n=t?[0,i.width]:[0,i.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),M(e,t?i.x:i.y)}))}o(),!n&&e.get("containLabel")&&(a(r,(function(e){if(!e.model.get("axisLabel.inside")){var t=g(e);if(t){var n=e.isHorizontal()?"height":"width",r=e.model.get("axisLabel.margin");i[n]-=t[n]+r,"top"===e.position?i.y+=t.height+r:"left"===e.position&&(i.x+=t.width+r)}}})),o())},C.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n){if(null==t)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[t]}},C.getAxes=function(){return this._axesList.slice()},C.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}o(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===e||r[i].getAxis("y").index===t)return r[i]},C.getCartesians=function(){return this._coordsList.slice()},C.convertToPixel=function(e,t,n){var i=this._findConvertTarget(e,t);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},C.convertFromPixel=function(e,t,n){var i=this._findConvertTarget(e,t);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},C._findConvertTarget=function(e,t){var n,i,r=t.seriesModel,o=t.xAxisModel||r&&r.getReferringComponents("xAxis")[0],a=t.yAxisModel||r&&r.getReferringComponents("yAxis")[0],s=t.gridModel,u=this._coordsList;if(r)n=r.coordinateSystem,l(u,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 c=s.coordinateSystem;c===this&&(n=this._coordsList[0])}return{cartesian:n,axis:i}},C.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},C._initCartesian=function(e,t,n){var i={left:!1,right:!1,top:!1,bottom:!1},r={x:{},y:{}},o={x:0,y:0};if(t.eachComponent("xAxis",s("x"),this),t.eachComponent("yAxis",s("y"),this),!o.x||!o.y)return this._axesMap={},void(this._axesList=[]);function s(n){return function(a,s){if(_(a,e,t)){var l=a.get("position");"x"===n?"top"!==l&&"bottom"!==l&&(l=i.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=i.left?"right":"left"),i[l]=!0;var u=new v(n,d(a),[0,0],a.get("type"),l),c="category"===u.type;u.onBand=c&&a.get("boundaryGap"),u.inverse=a.get("inverse"),a.axis=u,u.model=a,u.grid=this,u.index=s,this._axesList.push(u),r[n][s]=u,o[n]++}}}this._axesMap=r,a(r.x,(function(t,n){a(r.y,(function(i,r){var o="x"+n+"y"+r,a=new m(o);a.grid=this,a.model=e,this._coordsMap[o]=a,this._coordsList.push(a),a.addAxis(t),a.addAxis(i)}),this)}),this)},C._updateScale=function(e,t){function n(e,t,n){a(e.mapDimension(t.dim,!0),(function(n){t.scale.unionExtentFromData(e,x(e,n))}))}a(this._axesList,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeries((function(i){if(D(i)){var r=E(i,e),o=r[0],a=r[1];if(!_(o,t,e)||!_(a,t,e))return;var s=this.getCartesian(o.componentIndex,a.componentIndex),l=i.getData(),u=s.getAxis("x"),c=s.getAxis("y");"list"===l.type&&(n(l,u,i),n(l,c,i))}}),this)},C.getTooltipAxes=function(e){var t=[],n=[];return a(this.getCartesians(),(function(i){var r=null!=e&&"auto"!==e?i.getAxis(e):i.getBaseAxis(),o=i.getOtherAxis(r);l(t,r)<0&&t.push(r),l(n,o)<0&&n.push(o)})),{baseAxes:t,otherAxes:n}};var T=["xAxis","yAxis"];function E(e,t){return s(T,(function(t){var n=e.getReferringComponents(t)[0];return n}))}function D(e){return"cartesian2d"===e.get("coordinateSystem")}w.create=function(e,t){var n=[];return e.eachComponent("grid",(function(i,r){var o=new w(i,e,t);o.name="grid_"+r,o.resize(i,t,!0),i.coordinateSystem=o,n.push(o)})),e.eachSeries((function(t){if(D(t)){var n=E(t,e),i=n[0],r=n[1],o=i.getCoordSysModel(),a=o.coordinateSystem;t.coordinateSystem=a.getCartesian(i.componentIndex,r.componentIndex)}})),n},w.dimensions=w.prototype.dimensions=m.prototype.dimensions,y.register("cartesian2d",w);var P=w;e.exports=P},3543:function(e,t,n){n(29320);var i=n(93141),r=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"}});e.exports=r},99722:function(e,t,n){var i=n(63122);function r(e,t,n){n=n||{};var r=e.coordinateSystem,o=t.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,c=o.dim,h=r.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,g="x"===c?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(s){var m=s.toGlobalCoord(s.dataToCoord(0));g[f.onZero]=Math.max(Math.min(m,g[1]),g[0])}a.position=["y"===c?g[f[u]]:d[0],"x"===c?g[f[u]]:d[3]],a.rotation=Math.PI/2*("x"===c?0:1);var v={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=v[l],a.labelOffset=s?g[f[l]]-g[f.onZero]:0,t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(n.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var y=t.get("axisLabel.rotate");return a.labelRotate="top"===u?-y:y,a.z2=1,a}t.layout=r},99352:function(e,t,n){var i=n(63122);function r(e,t){return t=t||[0,0],i.map(["x","y"],(function(n,i){var r=this.getAxis(n),o=t[i],a=e[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function o(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(r,e)}}}e.exports=o},21529:function(e,t,n){var i=n(63122),r=n(46630),o=n(51014),a=n(82038);function s(e,t,n,i){o.call(this,e),this.map=t;var r=a.load(t,n);this._nameCoordMap=r.nameCoordMap,this._regionsMap=r.regionsMap,this._invertLongitute=null==i||i,this.regions=r.regions,this._rect=r.boundingRect}function l(e,t,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[e](i):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return!0;return!1},transformTo:function(e,t,n,i){var o=this.getBoundingRect(),a=this._invertLongitute;o=o.clone(),a&&(o.y=-o.y-o.height);var s=this._rawTransformable;if(s.transform=o.calculateTransform(new r(e,t,n,i)),s.decomposeTransform(),a){var l=s.scale;l[1]=-l[1]}s.updateTransform(),this._updateTransform()},getRegion:function(e){return this._regionsMap.get(e)},getRegionByCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return t[n]},addGeoCoord:function(e,t){this._nameCoordMap.set(e,t)},getGeoCoord:function(e){return this._nameCoordMap.get(e)},getBoundingRect:function(){return this._rect},dataToPoint:function(e,t,n){if("string"===typeof e&&(e=this.getGeoCoord(e)),e)return o.prototype.dataToPoint.call(this,e,t,n)},convertToPixel:i.curry(l,"dataToPoint"),convertFromPixel:i.curry(l,"pointToData")},i.mixin(s,o);var u=s;e.exports=u},27758:function(e,t,n){var i=n(63122),r=n(46458),o=n(93141),a=n(90350),s=n(22717),l=n(19033),u=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){o.prototype.init.apply(this,arguments),r.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=i.reduce(e.regions||[],(function(e,n){return n.name&&e.set(n.name,new a(n,t)),e}),i.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap.get(e)||new a(null,this,this.ecModel)},getFormattedLabel:function(e,t){t=t||"normal";var n=this.getRegionModel(e),i=n.get(("normal"===t?"":t+".")+"label.formatter"),r={name:e};return"function"===typeof i?(r.status=t,i(r)):"string"===typeof i?i.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});i.mixin(u,s);var c=u;e.exports=c},46379:function(e,t,n){var i=n(46630),r=n(9787),o=n(78244),a=n(33);function s(e,t,n){if(this.name=e,this.geometries=t,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var e=this._rect;if(e)return e;for(var t=Number.MAX_VALUE,n=[t,t],a=[-t,-t],s=[],l=[],u=this.geometries,c=0;c<u.length;c++)if("polygon"===u[c].type){var h=u[c].exterior;r.fromPoints(h,s,l),o.min(n,n,s),o.max(a,a,l)}return 0===c&&(n[0]=n[1]=a[0]=a[1]=0),this._rect=new i(n[0],n[1],a[0]-n[0],a[1]-n[1])},contain:function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var i=0,r=n.length;i<r;i++)if("polygon"===n[i].type){var o=n[i].exterior,s=n[i].interiors;if(a.contain(o,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(a.contain(s[l]))continue e;return!0}}return!1},transformTo:function(e,t,n,r){var a=this.getBoundingRect(),s=a.width/a.height;n?r||(r=n/s):n=s*r;for(var l=new i(e,t,n,r),u=a.calculateTransform(l),c=this.geometries,h=0;h<c.length;h++)if("polygon"===c[h].type){for(var d=c[h].exterior,f=c[h].interiors,p=0;p<d.length;p++)o.applyTransform(d[p],d[p],u);for(var g=0;g<(f?f.length:0);g++)for(p=0;p<f[g].length;p++)o.applyTransform(f[g][p],f[g][p],u)}a=this._rect,a.copy(l),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(e){null==e&&(e=this.name);var t=new s(e,this.geometries,this.center);return t._rect=this._rect,t.transformTo=null,t}};var l=s;e.exports=l},24625:function(e,t,n){n(57658);var i=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function r(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:i[0]})}e.exports=r},53936:function(e){var t={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function n(e,n){if("world"===e){var i=t[n.name];if(i){var r=n.center;r[0]=i[0],r[1]=i[1]}}}e.exports=n},69249:function(e,t,n){n(57658);for(var i=n(63122),r=n(46379),o=[126,25],a=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s<a.length;s++)for(var l=0;l<a[s].length;l++)a[s][l][0]/=10.5,a[s][l][1]/=-14,a[s][l][0]+=o[0],a[s][l][1]+=o[1];function u(e,t){"china"===e&&t.push(new r("南海诸岛",i.map(a,(function(e){return{type:"polygon",exterior:e}})),o))}e.exports=u},62795:function(e){var t={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function n(e,n){if("china"===e){var i=t[n.name];if(i){var r=n.center;r[0]+=i[0]/10.5,r[1]+=-i[1]/14}}}e.exports=n},19033:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(39405)),o=n(63122),a=n(21529),s=n(7928),l=n(43789),u=n(82038),c=n(35999);function h(e,t){var n=e.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];isNaN(i[0])||isNaN(i[1])||isNaN(r[0])||isNaN(r[1])||this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}var o,a=this.getBoundingRect(),u=e.get("layoutCenter"),c=e.get("layoutSize"),h=t.getWidth(),d=t.getHeight(),f=a.width/a.height*this.aspectScale,p=!1;if(u&&c&&(u=[l.parsePercent(u[0],h),l.parsePercent(u[1],d)],c=l.parsePercent(c,Math.min(h,d)),isNaN(u[0])||isNaN(u[1])||isNaN(c)||(p=!0)),p){var g={};f>1?(g.width=c,g.height=c/f):(g.height=c,g.width=c*f),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else o=e.getBoxLayoutParams(),o.aspect=f,g=s.getLayoutRect(o,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function d(e,t){o.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var f={dimensions:a.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",(function(e,i){var r=e.get("map"),o=e.get("aspectScale"),s=!0,l=c.retrieveMap(r);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var u=new a(r+i,r,e.get("nameMap"),s);u.aspectScale=o,u.zoomLimit=e.get("scaleLimit"),n.push(u),d(u,e),e.coordinateSystem=u,u.model=e,u.resize=h,u.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var i=e.get("geoIndex")||0;e.coordinateSystem=n[i]}}));var i={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}})),o.each(i,(function(e,i){var r=o.map(e,(function(e){return e.get("nameMap")})),s=new a(i,i,o.mergeAll(r));s.zoomLimit=o.retrieve.apply(null,o.map(e,(function(e){return e.get("scaleLimit")}))),n.push(s),s.resize=h,s.aspectScale=e[0].get("aspectScale"),s.resize(e[0],t),o.each(e,(function(e){e.coordinateSystem=s,d(s,e)}))})),n},getFilledRegions:function(e,t,n){for(var i=(e||[]).slice(),r=o.createHashMap(),a=0;a<i.length;a++)r.set(i[a].name,i[a]);var s=u.load(t,n);return o.each(s.regions,(function(e){var t=e.name;!r.get(t)&&i.push({name:t})})),i}};r.registerCoordinateSystem("geo",f);var p=f;e.exports=p},11924:function(e,t,n){var i=n(63122),r=i.each,o=n(97572),a=n(46458),s=a.makeInner,l=n(69249),u=n(62795),c=n(53936),h=n(24625),d=s(),f={load:function(e,t,n){var i=d(t).parsed;if(i)return i;var a,s=t.specialAreas||{},f=t.geoJSON;try{a=f?o(f,n):[]}catch(g){throw new Error("Invalid geoJson format\n"+g.message)}return l(e,a),r(a,(function(t){var n=t.name;u(e,t),c(e,t),h(e,t);var i=s[n];i&&t.transformTo(i.left,i.top,i.width,i.height)})),d(t).parsed={regions:a,boundingRect:p(a)}}};function p(e){for(var t,n=0;n<e.length;n++){var i=e[n].getBoundingRect();t=t||i.clone(),t.union(i)}return t}e.exports=f},9482:function(e,t,n){var i=n(61234),r=i.parseSVG,o=i.makeViewBoxTransform,a=n(79116),s=n(58195),l=n(63122),u=l.assert,c=l.createHashMap,h=n(46630),d=n(46458),f=d.makeInner,p=f(),g={load:function(e,t){var n=p(t).originRoot;if(n)return{root:n,boundingRect:p(t).boundingRect};var i=m(t);return p(t).originRoot=i.root,p(t).boundingRect=i.boundingRect,i},makeGraphic:function(e,t,n){var i=p(t),r=i.rootMap||(i.rootMap=c()),o=r.get(n);if(o)return o;var a=i.originRoot,s=i.boundingRect;return i.originRootHostKey?o=m(t,s).root:(i.originRootHostKey=n,o=a),r.set(n,o)},removeGraphic:function(e,t,n){var i=p(t),r=i.rootMap;r&&r.removeKey(n),n===i.originRootHostKey&&(i.originRootHostKey=null)}};function m(e,t){var n,i,l=e.svgXML;try{n=l&&r(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{},i=n.root,u(null!=i)}catch(m){throw new Error("Invalid svg format\n"+m.message)}var c=n.width,d=n.height,f=n.viewBoxRect;if(t||(t=null==c||null==d?i.getBoundingRect():new h(0,0,0,0),null!=c&&(t.width=c),null!=d&&(t.height=d)),f){var p=o(f,t.width,t.height),g=i;i=new a,i.add(g),g.scale=p.scale,g.position=p.position}return i.setClipPath(new s({shape:t.plain()})),{root:i,boundingRect:t}}e.exports=g},82038:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=r.each,a=r.createHashMap,s=n(35999),l=n(11924),u=n(9482),c=n(46630),h={geoJSON:l,svg:u},d={load:function(e,t,n){var i,r=[],s=a(),l=a(),u=p(e);return o(u,(function(a){var u=h[a.type].load(e,a,n);o(u.regions,(function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),r.push(e),s.set(n,e),l.set(n,e.center)}));var c=u.boundingRect;c&&(i?i.union(c):i=c.clone())})),{regions:r,regionsMap:s,nameCoordMap:l,boundingRect:i||new c(0,0,0,0)}},makeGraphic:f("makeGraphic"),removeGraphic:f("removeGraphic")};function f(e){return function(t,n){var i=p(t),r=[];return o(i,(function(i){var o=h[i.type][e];o&&r.push(o(t,i,n))})),r}}function p(e){var t=s.retrieveMap(e)||[];return t}e.exports=d},35999:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(63122)),o=r.createHashMap,a=r.isString,s=r.isArray,l=r.each,u=(r.assert,n(61234)),c=u.parseXML,h=o(),d={registerMap:function(e,t,n){var i;return s(t)?i=t:t.svg?i=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(n=t.specialAreas,t=t.geoJson),i=[{type:"geoJSON",source:t,specialAreas:n}]),l(i,(function(e){var t=e.type;"geoJson"===t&&(t=e.type="geoJSON");var n=f[t];n(e)})),h.set(e,i)},retrieveMap:function(e){return h.get(e)}},f={geoJSON:function(e){var t=e.source;e.geoJSON=a(t)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(e){e.svgXML=c(e.source)}};e.exports=d},97572:function(e,t,n){n(57658);var i=n(63122),r=n(46379);function o(e){if(!e.UTF8Encoding)return e;var t=e.UTF8Scale;null==t&&(t=1024);for(var n=e.features,i=0;i<n.length;i++)for(var r=n[i],o=r.geometry,s=o.coordinates,l=o.encodeOffsets,u=0;u<s.length;u++){var c=s[u];if("Polygon"===o.type)s[u]=a(c,l[u],t);else if("MultiPolygon"===o.type)for(var h=0;h<c.length;h++){var d=c[h];c[h]=a(d,l[u][h],t)}}return e.UTF8Encoding=!1,e}function a(e,t,n){for(var i=[],r=t[0],o=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,l=e.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=o,r=s,o=l,i.push([s/n,l/n])}return i}function s(e,t){return o(e),i.map(i.filter(e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,o=e.geometry,a=o.coordinates,s=[];"Polygon"===o.type&&s.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===o.type&&i.each(a,(function(e){e[0]&&s.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})}));var l=new r(n[t||"name"],s,n.cp);return l.properties=n,l}))}e.exports=s},39426:function(e,t,n){var i=n(63122);function r(e,t){return t=t||[0,0],i.map([0,1],(function(n){var i=t[n],r=e[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function o(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(r,e)}}}e.exports=o},51630:function(e,t,n){var i=n(63122),r=n(93141),o=n(33555),a=n(23539),s=n(43789),l=n(67662),u=r.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var t=this.activeIntervals=i.clone(e);if(t)for(var n=t.length-1;n>=0;n--)s.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var i=0,r=t.length;i<r;i++)if(t[i][0]<=e&&e<=t[i][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};function h(e,t){return t.type||(t.data?"category":"value")}i.merge(u.prototype,l),a("parallel",u,h,c);var d=u;e.exports=d},21838:function(e,t,n){n(57658);var i=n(63122),r=n(97333),o=n(7928),a=n(3019),s=n(35944),l=n(20594),u=n(43789),c=n(48693),h=i.each,d=Math.min,f=Math.max,p=Math.floor,g=Math.ceil,m=u.round,v=Math.PI;function y(e,t,n){this._axesMap=i.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,n)}function b(e,t){return d(f(e,t[0]),t[1])}function x(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function _(e,t){var n,i,r=t.layoutLength,o=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e<l[0]?(n=e*s,i=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*o-t.axisExpandWindow[0],u=o,c=!0):(n=r-(a-1-e)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}y.prototype={type:"parallel",constructor:y,_init:function(e,t,n){var i=e.dimensions,r=e.parallelAxisIndex;h(i,(function(e,n){var i=r[n],o=t.getComponent("parallelAxis",i),l=this._axesMap.set(e,new s(e,a.createScaleByModel(o),[0,0],o.get("type"),i)),u="category"===l.type;l.onBand=u&&o.get("boundaryGap"),l.inverse=o.get("inverse"),o.axis=l,l.model=o,l.coordinateSystem=o.coordinateSystem=this}),this)},update:function(e,t){this._updateAxesFromSeries(this._model,e)},containPoint:function(e){var t=this._makeLayoutInfo(),n=t.axisBase,i=t.layoutBase,r=t.pixelDimIndex,o=e[1-r],a=e[r];return o>=n&&o<=n+t.axisLength&&a>=i&&a<=i+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var i=n.getData();h(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(i,i.mapDimension(e)),a.niceScaleExtent(t.scale,t.model)}),this)}}),this)},resize:function(e,t){this._rect=o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=t.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,c=b(t.get("axisExpandWidth"),l),h=b(t.get("axisExpandCount")||0,[0,u]),d=t.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=t.get("axisExpandWindow");if(f)e=b(f[1]-f[0],l),f[1]=f[0]+e;else{e=b(c*(h-1),l);var v=t.get("axisExpandCenter")||p(u/2);f=[c*v-e/2],f[1]=f[0]+e}var y=(s-e)/(u-h);y<3&&(y=0);var x=[p(m(f[0]/c,1))+1,g(m(f[1]/c,1))-1],_=y/c*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:y,axisExpandWindow:f,axisCount:u,winInnerIndices:x,axisExpandWindow0Pos:_}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),o=i.layout;t.each((function(e){var t=[0,i.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),h(n,(function(t,n){var a=(i.axisExpandable?_:x)(n,i),s={horizontal:{x:a.position,y:i.axisLength},vertical:{x:0,y:a.position}},l={horizontal:v/2,vertical:0},u=[s[o].x+e.x,s[o].y+e.y],c=l[o],h=r.create();r.rotate(h,h,c),r.translate(h,h,u),this._axesLayout[t]={position:u,rotation:c,transform:h,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,n,r){null==n&&(n=0),null==r&&(r=e.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];i.each(a,(function(t){s.push(e.mapDimension(t)),l.push(o.get(t).model)}));for(var u=this.hasAxisBrushed(),c=n;c<r;c++){var h;if(u){h="active";for(var d=e.getValues(s,c),f=0,p=a.length;f<p;f++){var g=l[f].getActiveState(d[f]);if("inactive"===g){h="inactive";break}}}else h="normal";t(h,c)}},hasAxisBrushed:function(){for(var e=this.dimensions,t=this._axesMap,n=!1,i=0,r=e.length;i<r;i++)"normal"!==t.get(e[i]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(e,t){var n=this._axesLayout[t];return l.applyTransform([e,0],n.transform)},getAxisLayout:function(e){return i.clone(this._axesLayout[e])},getSlidedAxisExpandWindow:function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,i=t.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:i};var a,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",u=t.axisCollapseWidth,h=this._model.get("axisExpandSlideTriggerArea"),p=null!=h[0];if(u)p&&u&&s<r*h[0]?(l="jump",a=s-r*h[2]):p&&u&&s>r*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),a*=t.axisExpandWidth/u,a?c(a,i,o,"all"):l="none";else{r=i[1]-i[0];var g=o[1]*s/r;i=[f(0,g-r/2)],i[1]=d(o[1],i[0]+r),i[0]=i[1]-r}return{axisExpandWindow:i,behavior:l}}};var w=y;e.exports=w},35944:function(e,t,n){var i=n(63122),r=n(47348),o=function(e,t,n,i,o){r.call(this,e,t,n),this.type=i||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},i.inherits(o,r);var a=o;e.exports=a},69518:function(e,t,n){n(57658);var i=n(63122),r=n(93141);n(51630);var o=r.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&i.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);i.each(n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))}});e.exports=o},4540:function(e,t,n){n(57658);var i=n(21838),r=n(99966);function o(e,t){var n=[];return e.eachComponent("parallel",(function(r,o){var a=new i(r,e,t);a.name="parallel_"+o,a.resize(r,t),r.coordinateSystem=a,a.model=r,n.push(a)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}r.register("parallel",{create:o})},26424:function(e,t,n){var i=n(63122),r=n(46458);function o(e){a(e),s(e)}function a(e){if(!e.parallel){var t=!1;i.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function s(e){var t=r.normalizeToArray(e.parallelAxis);i.each(t,(function(t){if(i.isObject(t)){var n=t.parallelIndex||0,o=r.normalizeToArray(e.parallel)[n];o&&o.parallelAxisDefault&&i.merge(t,o.parallelAxisDefault,!1)}}))}e.exports=o},69026:function(e,t,n){var i=n(63122),r=n(2278),o=n(47348),a=n(46458),s=a.makeInner,l=s();function u(e,t){t=t||[0,360],o.call(this,"angle",e,t),this.type="category"}u.prototype={constructor:u,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:o.prototype.dataToCoord,angleToData:o.prototype.coordToData,calculateCategoryInterval:function(){var e=this,t=e.getLabelModel(),n=e.scale,i=n.getExtent(),o=n.count();if(i[1]-i[0]<1)return 0;var a=i[0],s=e.dataToCoord(a+1)-e.dataToCoord(a),u=Math.abs(s),c=r.getBoundingRect(a,t.getFont(),"center","top"),h=Math.max(c.height,7),d=h/u;isNaN(d)&&(d=1/0);var f=Math.max(0,Math.floor(d)),p=l(e.model),g=p.lastAutoInterval,m=p.lastTickCount;return null!=g&&null!=m&&Math.abs(g-f)<=1&&Math.abs(m-o)<=1&&g>f?f=g:(p.lastTickCount=o,p.lastAutoInterval=f),f}},i.inherits(u,o);var c=u;e.exports=c},60486:function(e,t,n){var i=n(63122),r=n(93141),o=n(23539),a=n(67662),s=r.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,a);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(e,t){return t.type||(t.data?"category":"value")}o("angle",s,u,l.angle),o("radius",s,u,l.radius)},77926:function(e,t,n){n(57658);var i=n(12187),r=n(69026),o=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new i,this._angleAxis=new r,this._radiusAxis.polar=this._angleAxis.polar=this};o.prototype={type:"polar",axisPointerEnabled:!0,constructor:o,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===e&&t.push(n),i.scale.type===e&&t.push(i),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,n=e[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(t*t+n*n);t/=s,n/=s;var l=Math.atan2(-n,t)/Math.PI*180,u=l<o?1:-1;while(l<o||l>a)l+=360*u;return[s,l]},coordToPoint:function(e){var t=e[0],n=e[1]/180*Math.PI,i=Math.cos(n)*t+this.cx,r=-Math.sin(n)*t+this.cy;return[i,r]},getArea:function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),n=t.getExtent().slice();n[0]>n[1]&&n.reverse();var i=e.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,i=t-this.cy,r=n*n+i*i,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}}};var a=o;e.exports=a},77679:function(e,t,n){var i=n(39405);n(60486);var r=i.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t,n=this.ecModel;return n.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});e.exports=r},12187:function(e,t,n){var i=n(63122),r=n(47348);function o(e,t){r.call(this,"radius",e,t),this.type="category"}o.prototype={constructor:o,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:r.prototype.dataToCoord,radiusToData:r.prototype.coordToData},i.inherits(o,r);var a=o;e.exports=a},98070:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=n(77926),a=n(43789),s=a.parsePercent,l=n(3019),u=l.createScaleByModel,c=l.niceScaleExtent,h=n(99966),d=n(60291),f=d.getStackedDimension;function p(e,t,n){var i=t.get("center"),o=n.getWidth(),a=n.getHeight();e.cx=s(i[0],o),e.cy=s(i[1],a);var l=e.getRadiusAxis(),u=Math.min(o,a)/2,c=t.get("radius");null==c?c=[0,"100%"]:r.isArray(c)||(c=[0,c]),c=[s(c[0],u),s(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}function g(e,t){var n=this,i=n.getAngleAxis(),o=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();r.each(t.mapDimension("radius",!0),(function(e){o.scale.unionExtentFromData(t,f(t,e))})),r.each(t.mapDimension("angle",!0),(function(e){i.scale.unionExtentFromData(t,f(t,e))}))}})),c(i.scale,i.model),c(o.scale,o.model),"category"===i.type&&!i.onBand){var a=i.getExtent(),s=360/i.scale.count();i.inverse?a[1]+=s:a[1]-=s,i.setExtent(a[0],a[1])}}function m(e,t){if(e.type=t.get("type"),e.scale=u(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}n(77679);var v={dimensions:o.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,i){var r=new o(i);r.update=g;var a=r.getRadiusAxis(),s=r.getAngleAxis(),l=e.findAxisModel("radiusAxis"),u=e.findAxisModel("angleAxis");m(a,l),m(s,u),p(r,e,t),n.push(r),e.coordinateSystem=r,r.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}};h.register("polar",v)},42076:function(e,t,n){n(57658);var i=n(63122);function r(e,t){return i.map(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=t[i],a=e[i]/2,s="dataTo"+n,l="category"===r.type?r.getBandWidth():Math.abs(r[s](o-a)-r[s](o+a));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function o(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),o=t.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:o[1],r0:o[0]},api:{coord:i.bind((function(i){var r=t.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=e.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a})),size:i.bind(r,e)}}}e.exports=o},42302:function(e,t,n){var i=n(63122),r=n(47348);function o(e,t,n){r.call(this,e,t,n),this.type="value",this.angle=0,this.name="",this.model}i.inherits(o,r);var a=o;e.exports=a},76691:function(e,t,n){n(57658);var i=n(63122),r=n(42302),o=n(71933),a=n(43789),s=n(3019),l=s.getScaleExtent,u=s.niceScaleExtent,c=n(99966),h=n(70892);function d(e,t,n){this._model=e,this.dimensions=[],this._indicatorAxes=i.map(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,i=new r(n,"log"===e.get("axisType")?new h:new o);return i.name=e.get("name"),i.model=e,e.axis=i,this.dimensions.push(n),i}),this),this.resize(e,n),this.cx,this.cy,this.r,this.r0,this.startAngle}d.prototype.getIndicatorAxes=function(){return this._indicatorAxes},d.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},d.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t],i=n.angle,r=this.cx+e*Math.cos(i),o=this.cy-e*Math.sin(i);return[r,o]},d.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,i=Math.sqrt(t*t+n*n);t/=i,n/=i;for(var r,o=Math.atan2(-n,t),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.coordToData(i))]},d.prototype.resize=function(e,t){var n=e.get("center"),r=t.getWidth(),o=t.getHeight(),s=Math.min(r,o)/2;this.cx=a.parsePercent(n[0],r),this.cy=a.parsePercent(n[1],o),this.startAngle=e.get("startAngle")*Math.PI/180;var l=e.get("radius");"string"!==typeof l&&"number"!==typeof l||(l=[0,l]),this.r0=a.parsePercent(l[0],s),this.r=a.parsePercent(l[1],s),i.each(this._indicatorAxes,(function(e,t){e.setExtent(this.r0,this.r);var n=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),e.angle=n}),this)},d.prototype.update=function(e,t){var n=this._indicatorAxes,r=this._model;i.each(n,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,o){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===r){var a=t.getData();i.each(n,(function(e){e.scale.unionExtentFromData(a,a.mapDimension(e.dim))}))}}),this);var o=r.get("splitNumber");function s(e){var t=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),n=e/t;return 2===n?n=5:n*=2,n*t}i.each(n,(function(e,t){var n=l(e.scale,e.model).extent;u(e.scale,e.model);var i=e.model,r=e.scale,c=i.getMin(),h=i.getMax(),d=r.getInterval();if(null!=c&&null!=h)r.setExtent(+c,+h),r.setInterval((h-c)/o);else if(null!=c){do{p=c+d*o,r.setExtent(+c,p),r.setInterval(d),d=s(d)}while(p<n[1]&&isFinite(p)&&isFinite(n[1]))}else if(null!=h){do{g=h-d*o,r.setExtent(g,+h),r.setInterval(d),d=s(d)}while(g>n[0]&&isFinite(g)&&isFinite(n[0]))}else{var f=r.getTicks().length-1;f>o&&(d=s(d));var p=Math.ceil(n[1]/d)*d,g=a.round(p-d*o);r.setExtent(g,p),r.setInterval(d)}}))},d.dimensions=[],d.create=function(e,t){var n=[];return e.eachComponent("radar",(function(i){var r=new d(i,e,t);n.push(r),i.coordinateSystem=r})),e.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("radarIndex")||0])})),n},c.register("radar",d);var f=d;e.exports=f},53698:function(e,t,n){var i=n(39405),r=n(63122),o=n(25134),a=n(90350),s=n(67662),l=o.valueAxis;function u(e,t){return r.defaults({show:t},e)}var c=i.extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisType"),u=this.get("axisLabel"),c=this.get("name"),h=this.get("name.show"),d=this.get("name.formatter"),f=this.get("nameGap"),p=this.get("triggerEvent"),g=r.map(this.get("indicator")||[],(function(g){null!=g.max&&g.max>0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var m=c;if(null!=g.color&&(m=r.defaults({color:g.color},c)),g=r.merge(r.clone(g),{boundaryGap:e,splitNumber:t,scale:n,axisLine:i,axisTick:o,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:f,nameTextStyle:m,triggerEvent:p},!1),h||(g.name=""),"string"===typeof d){var v=g.name;g.name=d.replace("{value}",null!=v?v:"")}else"function"===typeof d&&(g.name=d(g.name,g));var y=r.extend(new a(g,null,this.ecModel),s);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:r.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),axisType:"interval",splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),h=c;e.exports=h},47712:function(e,t,n){var i=n(63122),r=n(93141),o=n(23539),a=n(67662),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:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function u(e,t){return t.type||(t.data?"category":"value")}i.merge(s.prototype,a),o("single",s,u,l);var c=s;e.exports=c},7426:function(e,t,n){var i=n(94713),r=n(3019),o=n(7928),a=o.getLayoutRect,s=n(63122),l=s.each;function u(e,t,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,n),this.model=e}u.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:u,_init:function(e,t,n){var o=this.dimension,a=new i(o,r.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===a.type;a.onBand=s&&e.get("boundaryGap"),a.inverse=e.get("inverse"),a.orient=e.get("orient"),e.axis=a,a.model=e,a.coordinateSystem=this,this._axis=a},update:function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();l(t.mapDimension(this.dimension,!0),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),r.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(e,t){this._rect=a({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),i=n?[0,e.width]:[0,e.height],r=t.reverse?1:0;t.setExtent(i[r],i[1-r]),this._updateAxisTransform(t,n?e.x:e.y)},_updateAxisTransform:function(e,t){var n=e.getExtent(),i=n[0]+n[1],r=e.isHorizontal();e.toGlobalCoord=r?function(e){return e+t}:function(e){return i-e+t},e.toLocalCoord=r?function(e){return e-t}:function(e){return i-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),n=this.getAxis(),i=n.orient;return"horizontal"===i?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),i[r]=t.toGlobalCoord(t.dataToCoord(+e)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i}};var c=u;e.exports=c},94713:function(e,t,n){var i=n(63122),r=n(47348),o=function(e,t,n,i,o){r.call(this,e,t,n),this.type=i||"value",this.position=o||"bottom",this.orient=null};o.prototype={constructor:o,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},i.inherits(o,r);var a=o;e.exports=a},68827:function(e,t,n){var i=n(63122);function r(e,t){var n=this.getAxis(),i=t instanceof Array?t[0]:t,r=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function o(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:i.bind(r,e)}}}e.exports=o},63954:function(e,t,n){var i=n(63122);function r(e,t){t=t||{};var n=e.coordinateSystem,r=e.axis,o={},a=r.position,s=r.orient,l=n.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};o.position=["vertical"===s?c.vertical[a]:u[0],"horizontal"===s?c.horizontal[a]:u[3]];var h={horizontal:0,vertical:1};o.rotation=Math.PI/2*h[s];var d={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=d[a],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),i.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var f=t.rotate;return null==f&&(f=e.get("axisLabel.rotate")),o.labelRotation="top"===a?-f:f,o.z2=1,o}t.layout=r},27108:function(e,t,n){n(57658);var i=n(7426),r=n(99966);function o(e,t){var n=[];return e.eachComponent("singleAxis",(function(r,o){var a=new i(r,e,t);a.name="single_"+o,a.resize(r,t),r.coordinateSystem=a,n.push(a)})),e.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}})),n}r.register("single",{create:o,dimensions:i.prototype.dimensions})},85098:function(e,t,n){function i(e){return e}function r(e,t,n,r,o){this._old=e,this._new=t,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o}function o(e,t,n,i,r){for(var o=0;o<e.length;o++){var a="_ec_"+r[i](e[o],o),s=t[a];null==s?(n.push(a),t[a]=o):(s.length||(t[a]=s=[s]),s.push(o))}}n(57658),r.prototype={constructor:r,add:function(e){return this._add=e,this},update:function(e){return this._update=e,this},remove:function(e){return this._remove=e,this},execute:function(){var e=this._old,t=this._new,n={},i={},r=[],a=[];for(o(e,n,r,"_oldKeyGetter",this),o(t,i,a,"_newKeyGetter",this),c=0;c<e.length;c++){var s=r[c],l=i[s];if(null!=l){var u=l.length;u?(1===u&&(i[s]=null),l=l.shift()):i[s]=null,this._update&&this._update(l,c)}else this._remove&&this._remove(c)}for(var c=0;c<a.length;c++){s=a[c];if(i.hasOwnProperty(s)){l=i[s];if(null==l)continue;if(l.length){var h=0;for(u=l.length;h<u;h++)this._add&&this._add(l[h])}else this._add&&this._add(l)}}}};var a=r;e.exports=a},406:function(e,t,n){var i=n(63122);function r(e){null!=e&&i.extend(this,e),this.otherDims={}}var o=r;e.exports=o},575:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=n(9040),a=o.enableClassCheck;function s(e){return"_EC_"+e}var l=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=l.prototype;function c(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function h(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[s(e)]){var i=new c(e,t);return i.hostGraph=this,this.nodes.push(i),n[s(e)]=i,i}},u.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},u.getNodeById=function(e){return this._nodesMap[s(e)]},u.addEdge=function(e,t,n){var i=this._nodesMap,r=this._edgesMap;if("number"===typeof e&&(e=this.nodes[e]),"number"===typeof t&&(t=this.nodes[t]),c.isInstance(e)||(e=i[s(e)]),c.isInstance(t)||(t=i[s(t)]),e&&t){var o=e.id+"-"+t.id,a=new h(e,t,n);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),r[o]=a,a}},u.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},u.getEdge=function(e,t){c.isInstance(e)&&(e=e.id),c.isInstance(t)&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},u.eachNode=function(e,t){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&e.call(t,n[r],r)},u.eachEdge=function(e,t){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&&e.call(t,n[r],r)},u.breadthFirstTraverse=function(e,t,n,i){if(c.isInstance(t)||(t=this._nodesMap[s(t)]),t){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(i,t,null)){var a=[t];while(a.length){var l=a.shift(),u=l[r];for(o=0;o<u.length;o++){var h=u[o],d=h.node1===l?h.node2:h.node1;if(!d.__visited){if(e.call(i,d,l))return;a.push(d),d.__visited=!0}}}}}},u.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)n[e.getRawIndex(r)].dataIndex=r;t.filterSelf((function(e){var n=i[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)i[t.getRawIndex(r)].dataIndex=r},u.clone=function(){for(var e=new l(this._directed),t=this.nodes,n=this.edges,i=0;i<t.length;i++)e.addNode(t[i].id,t[i].dataIndex);for(i=0;i<n.length;i++){var r=n[i];e.addEdge(r.node1.id,r.node2.id,r.dataIndex)}return e},c.prototype={constructor:c,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.data.getItemModel(this.dataIndex);return n.getModel(e)}}},h.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.edgeData.getItemModel(this.dataIndex);return n.getModel(e)}};var d=function(e,t){return{getValue:function(n){var i=this[e][t];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[e][t].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};r.mixin(c,d("hostGraph","data")),r.mixin(h,d("hostGraph","edgeData")),l.Node=c,l.Edge=h,a(c),a(h);var f=l;e.exports=f},56669:function(e,t,n){n(1439),n(87585),n(55315),n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=n(90350),a=n(85098),s=n(27036),l=n(55213),u=l.defaultDimValueGetters,c=l.DefaultDataProvider,h=n(73678),d=h.summarizeDimensions,f=n(406),p=r.isObject,g="undefined",m=-1,v="e\0\0",y={float:typeof Float64Array===g?Array:Float64Array,int:typeof Int32Array===g?Array:Int32Array,ordinal:Array,number:Array,time:Array},b=typeof Uint32Array===g?Array:Uint32Array,x=typeof Int32Array===g?Array:Int32Array,_=typeof Uint16Array===g?Array:Uint16Array;function w(e){return e._rawCount>65535?b:_}function C(e){var t=e.constructor;return t===Array?e.slice():new t(e)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],k=["_extent","_approximateExtent","_rawExtent"];function M(e,t){r.each(S.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,r.each(k,(function(n){e[n]=r.clone(t[n])})),e._calculationInfo=r.extend(t._calculationInfo)}var T=function(e,t){e=e||["x","y"];for(var n={},i=[],o={},a=0;a<e.length;a++){var s=e[a];r.isString(s)?s=new f({name:s}):s instanceof f||(s=new f(s));var l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},i.push(l),n[l]=s,s.index=a,s.createInvertedIndices&&(o[l]=[])}this.dimensions=i,this._dimensionInfos=n,this.hostModel=t,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=d(this),this._invertedIndicesMap=o,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},E=T.prototype;function D(e,t,n,i,r){var o=y[t.type],a=i-1,s=t.name,l=e[s][a];if(l&&l.length<n){for(var u=new o(Math.min(r-a*n,n)),c=0;c<l.length;c++)u[c]=l[c];e[s][a]=u}for(var h=i*n;h<r;h+=n)e[s].push(new o(Math.min(r-h,n)))}function P(e){var t=e._invertedIndicesMap;r.each(t,(function(n,i){var r=e._dimensionInfos[i],o=r.ordinalMeta;if(o){n=t[i]=new x(o.categories.length);for(var a=0;a<n.length;a++)n[a]=m;for(a=0;a<e._count;a++)n[e.get(i,a)]=a}}))}function O(e,t,n){var i;if(null!=t){var r=e._chunkSize,o=Math.floor(n/r),a=n%r,s=e.dimensions[t],l=e._storage[s][o];if(l){i=l[a];var u=e._dimensionInfos[s].ordinalMeta;u&&u.categories.length&&(i=u.categories[i])}}return i}function I(e){return e}function A(e){return e<this._count&&e>=0?this._indices[e]:-1}function L(e,t){var n=e._idList[t];return null==n&&(n=O(e,e._idDimIdx,t)),null==n&&(n=v+t),n}function N(e){return r.isArray(e)||(e=[e]),e}function R(e,t){var n=e.dimensions,i=new T(r.map(n,e.getDimensionInfo,e),e.hostModel);M(i,e);for(var o=i._storage={},a=e._storage,s=0;s<n.length;s++){var l=n[s];a[l]&&(r.indexOf(t,l)>=0?(o[l]=z(a[l]),i._rawExtent[l]=$(),i._extent[l]=null):o[l]=a[l])}return i}function z(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=C(e[n]);return t}function $(){return[1/0,-1/0]}E.type="list",E.hasItemOption=!0,E.getDimension=function(e){return"number"!==typeof e&&(isNaN(e)||this._dimensionInfos.hasOwnProperty(e))||(e=this.dimensions[e]),e},E.getDimensionInfo=function(e){return this._dimensionInfos[this.getDimension(e)]},E.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},E.mapDimension=function(e,t){var n=this._dimensionsSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var i=n.encode[e];return!0===t?(i||[]).slice():i&&i[t]},E.initData=function(e,t,n){var i=s.isInstance(e)||r.isArrayLike(e);i&&(e=new c(e,this.dimensions.length)),this._rawData=e,this._storage={},this._indices=null,this._nameList=t||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=u[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._dimValueGetterArrayRows=u.arrayRows,this._rawExtent={},this._initDataFromProvider(0,e.count()),e.pure&&(this.hasItemOption=!1)},E.getProvider=function(){return this._rawData},E.appendData=function(e){var t=this._rawData,n=this.count();t.appendData(e);var i=t.count();t.persistent||(i+=n),this._initDataFromProvider(n,i)},E.appendValues=function(e,t){for(var n=this._chunkSize,i=this._storage,r=this.dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(e.length,t?t.length:0),u=this._chunkCount,c=0;c<o;c++){var h=r[c];a[h]||(a[h]=$()),i[h]||(i[h]=[]),D(i,this._dimensionInfos[h],n,u,l),this._chunkCount=i[h].length}for(var d=new Array(o),f=s;f<l;f++){for(var p=f-s,g=Math.floor(f/n),m=f%n,v=0;v<o;v++){h=r[v];var y=this._dimValueGetterArrayRows(e[p]||d,h,p,v);i[h][g][m]=y;var b=a[h];y<b[0]&&(b[0]=y),y>b[1]&&(b[1]=y)}t&&(this._nameList[f]=t[p])}this._rawCount=this._count=l,this._extent={},P(this)},E._initDataFromProvider=function(e,t){if(!(e>=t)){for(var n,i=this._chunkSize,r=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;p<s;p++){var g=a[p];h[g]||(h[g]=$());var m=l[g];0===m.otherDims.itemName&&(n=this._nameDimIdx=p),0===m.otherDims.itemId&&(this._idDimIdx=p),o[g]||(o[g]=[]),D(o,m,i,f,t),this._chunkCount=o[g].length}for(var v=new Array(s),y=e;y<t;y++){v=r.getItem(y,v);for(var b=Math.floor(y/i),x=y%i,_=0;_<s;_++){g=a[_];var w=o[g][b],C=this._dimValueGetter(v,g,y,_);w[x]=C;var S=h[g];C<S[0]&&(S[0]=C),C>S[1]&&(S[1]=C)}if(!r.pure){var k=u[y];if(v&&null==k)if(null!=v.name)u[y]=k=v.name;else if(null!=n){var M=a[n],T=o[M][b];if(T){k=T[x];var E=l[M].ordinalMeta;E&&E.categories.length&&(k=E.categories[k])}}var O=null==v?null:v.id;null==O&&null!=k&&(d[k]=d[k]||0,O=k,d[k]>0&&(O+="__ec__"+d[k]),d[k]++),null!=O&&(c[y]=O)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent={},P(this)}},E.count=function(){return this._count},E.getIndices=function(){var e=this._indices;if(e){var t=e.constructor,n=this._count;if(t===Array){r=new t(n);for(var i=0;i<n;i++)r[i]=e[i]}else r=new t(e.buffer,0,n)}else{t=w(this);var r=new t(this.count());for(i=0;i<r.length;i++)r[i]=i}return r},E.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._storage;if(!n[e])return NaN;t=this.getRawIndex(t);var i=Math.floor(t/this._chunkSize),r=t%this._chunkSize,o=n[e][i],a=o[r];return a},E.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._storage[e];if(!n)return NaN;var i=Math.floor(t/this._chunkSize),r=t%this._chunkSize,o=n[i];return o[r]},E._getFast=function(e,t){var n=Math.floor(t/this._chunkSize),i=t%this._chunkSize,r=this._storage[e][n];return r[i]},E.getValues=function(e,t){var n=[];r.isArray(e)||(t=e,e=this.dimensions);for(var i=0,o=e.length;i<o;i++)n.push(this.get(e[i],t));return n},E.hasValue=function(e){for(var t=this._dimensionsSummary.dataDimsOnCoord,n=0,i=t.length;n<i;n++)if(isNaN(this.get(t[n],e)))return!1;return!0},E.getDataExtent=function(e){e=this.getDimension(e);var t=this._storage[e],n=$();if(!t)return n;var i,r=this.count(),o=!this._indices;if(o)return this._rawExtent[e].slice();if(i=this._extent[e],i)return i.slice();i=n;for(var a=i[0],s=i[1],l=0;l<r;l++){var u=this._getFast(e,this.getRawIndex(l));u<a&&(a=u),u>s&&(s=u)}return i=[a,s],this._extent[e]=i,i},E.getApproximateExtent=function(e){return e=this.getDimension(e),this._approximateExtent[e]||this.getDataExtent(e)},E.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},E.getCalculationInfo=function(e){return this._calculationInfo[e]},E.setCalculationInfo=function(e,t){p(e)?r.extend(this._calculationInfo,e):this._calculationInfo[e]=t},E.getSum=function(e){var t=this._storage[e],n=0;if(t)for(var i=0,r=this.count();i<r;i++){var o=this.get(e,i);isNaN(o)||(n+=o)}return n},E.getMedian=function(e){var t=[];this.each(e,(function(e,n){isNaN(e)||t.push(e)}));var n=[].concat(t).sort((function(e,t){return e-t})),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},E.rawIndexOf=function(e,t){var n=e&&this._invertedIndicesMap[e],i=n[t];return null==i||isNaN(i)?m:i},E.indexOfName=function(e){for(var t=0,n=this.count();t<n;t++)if(this.getName(t)===e)return t;return-1},E.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;var i=0,r=this._count-1;while(i<=r){var o=(i+r)/2|0;if(t[o]<e)i=o+1;else{if(!(t[o]>e))return o;r=o-1}}return-1},E.indicesOfNearest=function(e,t,n){var i=this._storage,r=i[e],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u<c;u++){var h=t-this.get(e,u),d=Math.abs(h);d<=n&&((d<a||d===a&&h>=0&&s<0)&&(a=d,s=h,l=0),h===s&&(o[l++]=u))}return o.length=l,o},E.getRawIndex=I,E.getRawDataItem=function(e){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(e));for(var t=[],n=0;n<this.dimensions.length;n++){var i=this.dimensions[n];t.push(this.get(i,e))}return t},E.getName=function(e){var t=this.getRawIndex(e);return this._nameList[t]||O(this,this._nameDimIdx,t)||""},E.getId=function(e){return L(this,this.getRawIndex(e))},E.each=function(e,t,n,i){"use strict";if(this._count){"function"===typeof e&&(i=n,n=t,t=e,e=[]),n=n||i||this,e=r.map(N(e),this.getDimension,this);for(var o=e.length,a=0;a<this.count();a++)switch(o){case 0:t.call(n,a);break;case 1:t.call(n,this.get(e[0],a),a);break;case 2:t.call(n,this.get(e[0],a),this.get(e[1],a),a);break;default:for(var s=0,l=[];s<o;s++)l[s]=this.get(e[s],a);l[s]=a,t.apply(n,l)}}},E.filterSelf=function(e,t,n,i){"use strict";if(this._count){"function"===typeof e&&(i=n,n=t,t=e,e=[]),n=n||i||this,e=r.map(N(e),this.getDimension,this);for(var o=this.count(),a=w(this),s=new a(o),l=[],u=e.length,c=0,h=e[0],d=0;d<o;d++){var f,p=this.getRawIndex(d);if(0===u)f=t.call(n,d);else if(1===u){var g=this._getFast(h,p);f=t.call(n,g,d)}else{for(var m=0;m<u;m++)l[m]=this._getFast(h,p);l[m]=d,f=t.apply(n,l)}f&&(s[c++]=p)}return c<o&&(this._indices=s),this._count=c,this._extent={},this.getRawIndex=this._indices?A:I,this}},E.selectRange=function(e){"use strict";if(this._count){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);var i=t.length;if(i){var r=this.count(),o=w(this),a=new o(r),s=0,l=t[0],u=e[l][0],c=e[l][1],h=!1;if(!this._indices){var d=0;if(1===i){for(var f=this._storage[t[0]],p=0;p<this._chunkCount;p++)for(var g=f[p],m=Math.min(this._count-p*this._chunkSize,this._chunkSize),v=0;v<m;v++){var y=g[v];(y>=u&&y<=c||isNaN(y))&&(a[s++]=d),d++}h=!0}else if(2===i){f=this._storage[l];var b=this._storage[t[1]],x=e[t[1]][0],_=e[t[1]][1];for(p=0;p<this._chunkCount;p++){g=f[p];var C=b[p];for(m=Math.min(this._count-p*this._chunkSize,this._chunkSize),v=0;v<m;v++){y=g[v];var S=C[v];(y>=u&&y<=c||isNaN(y))&&(S>=x&&S<=_||isNaN(S))&&(a[s++]=d),d++}}h=!0}}if(!h)if(1===i)for(v=0;v<r;v++){var k=this.getRawIndex(v);y=this._getFast(l,k);(y>=u&&y<=c||isNaN(y))&&(a[s++]=k)}else for(v=0;v<r;v++){var M=!0;for(k=this.getRawIndex(v),p=0;p<i;p++){var T=t[p];y=this._getFast(n,k);(y<e[T][0]||y>e[T][1])&&(M=!1)}M&&(a[s++]=this.getRawIndex(v))}return s<r&&(this._indices=a),this._count=s,this._extent={},this.getRawIndex=this._indices?A:I,this}}},E.mapArray=function(e,t,n,i){"use strict";"function"===typeof e&&(i=n,n=t,t=e,e=[]),n=n||i||this;var r=[];return this.each(e,(function(){r.push(t&&t.apply(this,arguments))}),n),r},E.map=function(e,t,n,i){"use strict";n=n||i||this,e=r.map(N(e),this.getDimension,this);var o=R(this,e);o._indices=this._indices,o.getRawIndex=o._indices?A:I;for(var a=o._storage,s=[],l=this._chunkSize,u=e.length,c=this.count(),h=[],d=o._rawExtent,f=0;f<c;f++){for(var p=0;p<u;p++)h[p]=this.get(e[p],f);h[u]=f;var g=t&&t.apply(n,h);if(null!=g){"object"!==typeof g&&(s[0]=g,g=s);for(var m=this.getRawIndex(f),v=Math.floor(m/l),y=m%l,b=0;b<g.length;b++){var x=e[b],_=g[b],w=d[x],C=a[x];C&&(C[v][y]=_),_<w[0]&&(w[0]=_),_>w[1]&&(w[1]=_)}}}return o},E.downSample=function(e,t,n,i){for(var r=R(this,[e]),o=r._storage,a=[],s=Math.floor(1/t),l=o[e],u=this.count(),c=this._chunkSize,h=r._rawExtent[e],d=new(w(this))(u),f=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,a.length=s);for(var g=0;g<s;g++){var m=this.getRawIndex(p+g),v=Math.floor(m/c),y=m%c;a[g]=l[v][y]}var b=n(a),x=this.getRawIndex(Math.min(p+i(a,b)||0,u-1)),_=Math.floor(x/c),C=x%c;l[_][C]=b,b<h[0]&&(h[0]=b),b>h[1]&&(h[1]=b),d[f++]=x}return r._count=f,r._indices=d,r.getRawIndex=A,r},E.getItemModel=function(e){var t=this.hostModel;return new o(this.getRawDataItem(e),t,t&&t.ecModel)},E.diff=function(e){var t=this;return new a(e?e.getIndices():[],this.getIndices(),(function(t){return L(e,t)}),(function(e){return L(t,e)}))},E.getVisual=function(e){var t=this._visual;return t&&t[e]},E.setVisual=function(e,t){if(p(e))for(var n in e)e.hasOwnProperty(n)&&this.setVisual(n,e[n]);else this._visual=this._visual||{},this._visual[e]=t},E.setLayout=function(e,t){if(p(e))for(var n in e)e.hasOwnProperty(n)&&this.setLayout(n,e[n]);else this._layout[e]=t},E.getLayout=function(e){return this._layout[e]},E.getItemLayout=function(e){return this._itemLayouts[e]},E.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?r.extend(this._itemLayouts[e]||{},t):t},E.clearItemLayouts=function(){this._itemLayouts.length=0},E.getItemVisual=function(e,t,n){var i=this._itemVisuals[e],r=i&&i[t];return null!=r||n?r:this.getVisual(t)},E.setItemVisual=function(e,t,n){var i=this._itemVisuals[e]||{},r=this.hasItemVisual;if(this._itemVisuals[e]=i,p(t))for(var o in t)t.hasOwnProperty(o)&&(i[o]=t[o],r[o]=!0);else i[t]=n,r[t]=!0},E.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var B=function(e){e.seriesIndex=this.seriesIndex,e.dataIndex=this.dataIndex,e.dataType=this.dataType};E.setItemGraphicEl=function(e,t){var n=this.hostModel;t&&(t.dataIndex=e,t.dataType=this.dataType,t.seriesIndex=n&&n.seriesIndex,"group"===t.type&&t.traverse(B,t)),this._graphicEls[e]=t},E.getItemGraphicEl=function(e){return this._graphicEls[e]},E.eachItemGraphicEl=function(e,t){r.each(this._graphicEls,(function(n,i){n&&e&&e.call(t,n,i)}))},E.cloneShallow=function(e){if(!e){var t=r.map(this.dimensions,this.getDimensionInfo,this);e=new T(t,this.hostModel)}if(e._storage=this._storage,M(e,this),this._indices){var n=this._indices.constructor;e._indices=new n(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?A:I,e},E.wrapMethod=function(e,t){var n=this[e];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(r.slice(arguments)))})},E.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],E.CHANGABLE_METHODS=["filterSelf","selectRange"];var F=T;e.exports=F},24381:function(e,t,n){var i=n(63122),r=i.createHashMap,o=i.isObject,a=i.map;function s(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}s.createByAxisModel=function(e){var t=e.option,n=t.data,i=n&&a(n,c);return new s({categories:i,needCollect:!i,deduplication:!1!==t.dedplication})};var l=s.prototype;function u(e){return e._map||(e._map=r(e.categories))}function c(e){return o(e)&&null!=e.value?e.value:e+""}l.getOrdinal=function(e){return u(this).get(e)},l.parseAndCollect=function(e){var t,n=this._needCollect;if("string"!==typeof e&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var i=u(this);return t=i.get(e),null==t&&(n?(t=this.categories.length,this.categories[t]=e,i.set(e,t)):t=NaN),t};var h=s;e.exports=h},27036:function(e,t,n){var i=n(63122),r=i.createHashMap,o=i.isTypedArray,a=n(9040),s=a.enableClassCheck,l=n(28103),u=l.SOURCE_FORMAT_ORIGINAL,c=l.SERIES_LAYOUT_BY_COLUMN,h=l.SOURCE_FORMAT_UNKNOWN,d=l.SOURCE_FORMAT_TYPED_ARRAY,f=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(e){this.fromDataset=e.fromDataset,this.data=e.data||(e.sourceFormat===f?{}:[]),this.sourceFormat=e.sourceFormat||h,this.seriesLayoutBy=e.seriesLayoutBy||c,this.dimensionsDefine=e.dimensionsDefine,this.encodeDefine=e.encodeDefine&&r(e.encodeDefine),this.startIndex=e.startIndex||0,this.dimensionsDetectCount=e.dimensionsDetectCount}p.seriesDataToSource=function(e){return new p({data:e,sourceFormat:o(e)?d:u,fromDataset:!1})},s(p);var g=p;e.exports=g},67535:function(e,t,n){n(57658);var i=n(63122),r=n(4229),o=n(56669),a=n(44048),s=function(e,t){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=t};function l(e){this.root,this.data,this._nodes=[],this.hostModel=e}function u(e,t){var n=t.children;e.parentNode!==t&&(n.push(e),e.parentNode=t)}s.prototype={constructor:s,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,t,n){"function"===typeof e&&(n=t,t=e,e=null),e=e||{},i.isString(e)&&(e={order:e});var r,o=e.order||"preorder",a=this[e.attr||"children"];"preorder"===o&&(r=t.call(n,this));for(var s=0;!r&&s<a.length;s++)a[s].eachNode(e,t,n);"postorder"===o&&t.call(n,this)},updateDepthAndHeight:function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(e+1),i.height>t&&(t=i.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,i=n.length;t<i;t++){var r=n[t].getNodeById(e);if(r)return r}},contains:function(e){if(e===this)return!0;for(var t=0,n=this.children,i=n.length;t<i;t++){var r=n[t].contains(e);if(r)return r}},getAncestors:function(e){var t=[],n=e?this:this.parentNode;while(n)t.push(n),n=n.parentNode;return t.reverse(),t},getValue:function(e){var t=this.hostTree.data;return t.get(t.getDimension(e||"value"),this.dataIndex)},setLayout:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostTree,n=t.data.getItemModel(this.dataIndex);return n.getModel(e)}},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,i=t.length;n<i;n++)t[n].dataIndex=-1;for(n=0,i=e.count();n<i;n++)t[e.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},l.createTree=function(e,t,n){var c=new l(t),h=[],d=1;function f(e,t){var n=e.value;d=Math.max(d,i.isArray(n)?n.length:1),h.push(e);var r=new s(e.name,c);t?u(r,t):c.root=r,c._nodes.push(r);var o=e.children;if(o)for(var a=0;a<o.length;a++)f(o[a],r)}f(e),c.root.updateDepthAndHeight(0);var p=a(h,{coordDimensions:["value"],dimensionsCount:d}),g=new o(p,t);return g.initData(h),n&&n(g),r({mainData:g,struct:c,structAttr:"tree"}),c.update(),c};var c=l;e.exports=c},98164:function(e,t,n){n(57658);var i=n(63122),r=i.createHashMap,o=i.each,a=i.isString,s=i.defaults,l=i.extend,u=i.isObject,c=i.clone,h=n(46458),d=h.normalizeToArray,f=n(2240),p=f.guessOrdinal,g=f.BE_ORDINAL,m=n(27036),v=n(73678),y=v.OTHER_DIMENSIONS,b=n(406);function x(e,t,n){m.isInstance(t)||(t=m.seriesDataToSource(t)),n=n||{},e=(e||[]).slice();for(var i=(n.dimsDef||[]).slice(),h=r(),f=r(),v=[],x=_(t,e,i,n.dimCount),C=0;C<x;C++){var S=i[C]=l({},u(i[C])?i[C]:{name:i[C]}),k=S.name,M=v[C]=new b;null!=k&&null==h.get(k)&&(M.name=M.displayName=k,h.set(k,C)),null!=S.type&&(M.type=S.type),null!=S.displayName&&(M.displayName=S.displayName)}var T=n.encodeDef;!T&&n.encodeDefaulter&&(T=n.encodeDefaulter(t,x)),T=r(T),T.each((function(e,t){if(e=d(e).slice(),1===e.length&&!a(e[0])&&e[0]<0)T.set(t,!1);else{var n=T.set(t,[]);o(e,(function(e,i){a(e)&&(e=h.get(e)),null!=e&&e<x&&(n[i]=e,D(v[e],t,i))}))}}));var E=0;function D(e,t,n){null!=y.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,f.set(t,!0))}o(e,(function(e,t){var n,i,r;if(a(e))n=e,e={};else{n=e.name;var l=e.ordinalMeta;e.ordinalMeta=null,e=c(e),e.ordinalMeta=l,i=e.dimsDef,r=e.otherDims,e.name=e.coordDim=e.coordDimIndex=e.dimsDef=e.otherDims=null}var h=T.get(n);if(!1!==h){h=d(h);if(!h.length)for(var f=0;f<(i&&i.length||1);f++){while(E<v.length&&null!=v[E].coordDim)E++;E<v.length&&h.push(E++)}o(h,(function(t,o){var a=v[t];if(D(s(a,e),n,o),null==a.name&&i){var l=i[o];!u(l)&&(l={name:l}),a.name=a.displayName=l.name,a.defaultTooltip=l.defaultTooltip}r&&s(a.otherDims,r)}))}}));var P=n.generateCoord,O=n.generateCoordCount,I=null!=O;O=P?O||1:0;for(var A=P||"value",L=0;L<x;L++){M=v[L]=v[L]||new b;var N=M.coordDim;null==N&&(M.coordDim=w(A,f,I),M.coordDimIndex=0,(!P||O<=0)&&(M.isExtraCoord=!0),O--),null==M.name&&(M.name=w(M.coordDim,h)),null!=M.type||p(t,L,M.name)!==g.Must&&(!M.isExtraCoord||null==M.otherDims.itemName&&null==M.otherDims.seriesName)||(M.type="ordinal")}return v}function _(e,t,n,i){var r=Math.max(e.dimensionsDetectCount||1,t.length,n.length,i||0);return o(t,(function(e){var t=e.dimsDef;t&&(r=Math.max(r,t.length))})),r}function w(e,t,n){if(n||null!=t.get(e)){var i=0;while(null!=t.get(e+i))i++;e+=i}return t.set(e,!0),e}var C=x;e.exports=C},44048:function(e,t,n){var i=n(98164);function r(e,t){return t=t||{},i(t.coordDimensions||[],e,{dimsDef:t.dimensionsDefine||e.dimensionsDefine,encodeDef:t.encodeDefine||e.encodeDefine,dimCount:t.dimensionsCount,encodeDefaulter:t.encodeDefaulter,generateCoord:t.generateCoord,generateCoordCount:t.generateCoordCount})}e.exports=r},55213:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=(r.isTypedArray,r.extend),a=(r.assert,r.each),s=r.isObject,l=n(46458),u=l.getDataItemValue,c=l.isDataItemOption,h=n(43789),d=h.parseDate,f=n(27036),p=n(28103),g=p.SOURCE_FORMAT_TYPED_ARRAY,m=p.SOURCE_FORMAT_ARRAY_ROWS,v=p.SOURCE_FORMAT_ORIGINAL,y=p.SOURCE_FORMAT_OBJECT_ROWS;function b(e,t){f.isInstance(e)||(e=f.seriesDataToSource(e)),this._source=e;var n=this._data=e.data,i=e.sourceFormat;i===g&&(this._offset=0,this._dimSize=t,this._data=n);var r=_[i===m?i+"_"+e.seriesLayoutBy:i];o(this,r)}var x=b.prototype;x.pure=!1,x.persistent=!0,x.getSource=function(){return this._source};var _={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(e){return this._data[e+this._source.startIndex]},appendData:S},arrayRows_row:{pure:!0,count:function(){var e=this._data[0];return e?Math.max(0,e.length-this._source.startIndex):0},getItem:function(e){e+=this._source.startIndex;for(var t=[],n=this._data,i=0;i<n.length;i++){var r=n[i];t.push(r?r[e]:null)}return t},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:w,getItem:C,appendData:S},keyedColumns:{pure:!0,count:function(){var e=this._source.dimensionsDefine[0].name,t=this._data[e];return t?t.length:0},getItem:function(e){for(var t=[],n=this._source.dimensionsDefine,i=0;i<n.length;i++){var r=this._data[n[i].name];t.push(r?r[e]:null)}return t},appendData:function(e){var t=this._data;a(e,(function(e,n){for(var i=t[n]||(t[n]=[]),r=0;r<(e||[]).length;r++)i.push(e[r])}))}},original:{count:w,getItem:C,appendData:S},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(e,t){e-=this._offset,t=t||[];for(var n=this._dimSize*e,i=0;i<this._dimSize;i++)t[i]=this._data[n+i];return t},appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}}};function w(){return this._data.length}function C(e){return this._data[e]}function S(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}var k={arrayRows:M,objectRows:function(e,t,n,i){return null!=n?e[i]:e},keyedColumns:M,original:function(e,t,n,i){var r=u(e);return null!=n&&r instanceof Array?r[n]:r},typedArray:M};function M(e,t,n,i){return null!=n?e[n]:e}var T={arrayRows:E,objectRows:function(e,t,n,i){return D(e[t],this._dimensionInfos[t])},keyedColumns:E,original:function(e,t,n,i){var r=e&&(null==e.value?e:e.value);return!this._rawData.pure&&c(e)&&(this.hasItemOption=!0),D(r instanceof Array?r[i]:r,this._dimensionInfos[t])},typedArray:function(e,t,n,i){return e[i]}};function E(e,t,n,i){return D(e[i],this._dimensionInfos[t])}function D(e,t){var n=t&&t.type;if("ordinal"===n){var i=t&&t.ordinalMeta;return i?i.parseAndCollect(e):e}return"time"===n&&"number"!==typeof e&&null!=e&&"-"!==e&&(e=+d(e)),null==e||""===e?NaN:+e}function P(e,t,n){if(e){var i=e.getRawDataItem(t);if(null!=i){var r,o,a=e.getProvider().getSource().sourceFormat,s=e.getDimensionInfo(n);return s&&(r=s.name,o=s.index),k[a](i,t,o,r)}}}function O(e,t,n){if(e){var i=e.getProvider().getSource().sourceFormat;if(i===v||i===y){var r=e.getRawDataItem(t);return i!==v||s(r)||(r=null),r?r[n]:void 0}}}t.DefaultDataProvider=b,t.defaultDimValueGetters=T,t.retrieveRawValue=P,t.retrieveRawAttr=O},60291:function(e,t,n){n(57658);var i=n(63122),r=i.each,o=i.isString;function a(e,t,n){n=n||{};var i,a,s,l,u=n.byIndex,c=n.stackedCoordDimension,h=!(!e||!e.get("stack"));if(r(t,(function(e,n){o(e)&&(t[n]=e={name:e}),h&&!e.isExtraCoord&&(u||i||!e.ordinalMeta||(i=e),a||"ordinal"===e.type||"time"===e.type||c&&c!==e.coordDim||(a=e))})),!a||u||i||(u=!0),a){s="__\0ecstackresult",l="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var d=a.coordDim,f=a.type,p=0;r(t,(function(e){e.coordDim===d&&p++})),t.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,t.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:i&&i.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}}function s(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function l(e,t){return s(e,t)?e.getCalculationInfo("stackResultDimension"):t}t.enableDataStack=a,t.isDimensionStacked=s,t.getStackedDimension=l},73678:function(e,t,n){n(57658);var i=n(63122),r=i.each,o=i.createHashMap,a=(i.assert,n(49648)),s=(a.__DEV__,o(["tooltip","label","itemName","itemId","seriesName"]));function l(e){var t={},n=t.encode={},i=o(),a=[],l=[],c=t.userOutput={dimensionNames:e.dimensions.slice(),encode:{}};r(e.dimensions,(function(t){var r=e.getDimensionInfo(t),o=r.coordDim;if(o){var d=r.coordDimIndex;u(n,o)[d]=t,r.isExtraCoord||(i.set(o,1),h(r.type)&&(a[0]=t),u(c.encode,o)[d]=r.index),r.defaultTooltip&&l.push(t)}s.each((function(e,t){var i=u(n,t),o=r.otherDims[t];null!=o&&!1!==o&&(i[o]=r.name)}))}));var d=[],f={};i.each((function(e,t){var i=n[t];f[t]=i[0],d=d.concat(i)})),t.dataDimsOnCoord=d,t.encodeFirstDimNotExtra=f;var p=n.label;p&&p.length&&(a=p.slice());var g=n.tooltip;return g&&g.length?l=g.slice():l.length||(l=a.slice()),n.defaultedLabel=a,n.defaultedTooltip=l,t}function u(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function c(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function h(e){return!("ordinal"===e||"time"===e)}t.OTHER_DIMENSIONS=s,t.summarizeDimensions=l,t.getDimensionTypeByAxis=c},4229:function(e,t,n){var i=n(63122),r=i.each,o="\0__link_datas",a="\0__link_mainData";function s(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,f(t,n,e),r(n,(function(n){r(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,i.curry(l,e))}))})),t.wrapMethod("cloneShallow",i.curry(c,e)),r(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(u,e))})),i.assert(n[t.dataType]===t)}function l(e,t){if(d(this)){var n=i.extend({},this[o]);n[this.dataType]=t,f(t,n,e)}else p(t,this.dataType,this[a],e);return t}function u(e,t){return e.struct&&e.struct.update(this),t}function c(e,t){return r(t[o],(function(n,i){n!==t&&p(n.cloneShallow(),i,t,e)})),t}function h(e){var t=this[a];return null==e||null==t?t:t[o][e]}function d(e){return e[a]===e}function f(e,t,n){e[o]={},r(t,(function(t,i){p(t,i,e,n)}))}function p(e,t,n,i){n[o][t]=e,e[a]=n,e.dataType=t,i.struct&&(e[i.structAttr]=i.struct,i.struct[i.datasAttr[t]]=e),e.getLinkedData=h}var g=s;e.exports=g},2240:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(46458)),o=r.makeInner,a=r.getDataItemValue,s=n(63122),l=s.createHashMap,u=s.each,c=s.map,h=s.isArray,d=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,m=s.extend,v=(s.assert,n(27036)),y=n(28103),b=y.SOURCE_FORMAT_ORIGINAL,x=y.SOURCE_FORMAT_ARRAY_ROWS,_=y.SOURCE_FORMAT_OBJECT_ROWS,w=y.SOURCE_FORMAT_KEYED_COLUMNS,C=y.SOURCE_FORMAT_UNKNOWN,S=y.SOURCE_FORMAT_TYPED_ARRAY,k=y.SERIES_LAYOUT_BY_ROW,M={Must:1,Might:2,Not:3},T=o();function E(e){var t=e.option.source,n=C;if(p(t))n=S;else if(h(t)){0===t.length&&(n=x);for(var i=0,r=t.length;i<r;i++){var o=t[i];if(null!=o){if(h(o)){n=x;break}if(f(o)){n=_;break}}}}else if(f(t)){for(var a in t)if(t.hasOwnProperty(a)&&g(t[a])){n=w;break}}else if(null!=t)throw new Error("Invalid data");T(e).sourceFormat=n}function D(e){return T(e).source}function P(e){T(e).datasetMap=l()}function O(e){var t=e.option,n=t.data,i=p(n)?S:b,r=!1,o=t.seriesLayoutBy,a=t.sourceHeader,s=t.dimensions,l=$(e);if(l){var u=l.option;n=u.source,i=T(l).sourceFormat,r=!0,o=o||u.seriesLayoutBy,null==a&&(a=u.sourceHeader),s=s||u.dimensions}var c=I(n,i,o,a,s);T(e).source=new v({data:n,fromDataset:r,seriesLayoutBy:o,sourceFormat:i,dimensionsDefine:c.dimensionsDefine,startIndex:c.startIndex,dimensionsDetectCount:c.dimensionsDetectCount,encodeDefine:t.encode})}function I(e,t,n,i,r){if(!e)return{dimensionsDefine:A(r)};var o,s;if(t===x)"auto"===i||null==i?L((function(e){null!=e&&"-"!==e&&(d(e)?null==s&&(s=1):s=0)}),n,e,10):s=i?1:0,r||1!==s||(r=[],L((function(e,t){r[t]=null!=e?e:""}),n,e)),o=r?r.length:n===k?e.length:e[0]?e[0].length:null;else if(t===_)r||(r=N(e));else if(t===w)r||(r=[],u(e,(function(e,t){r.push(t)})));else if(t===b){var l=a(e[0]);o=h(l)&&l.length||1}return{startIndex:s,dimensionsDefine:A(r),dimensionsDetectCount:o}}function A(e){if(e){var t=l();return c(e,(function(e,n){if(e=m({},f(e)?e:{name:e}),null==e.name)return e;e.name+="",null==e.displayName&&(e.displayName=e.name);var i=t.get(e.name);return i?e.name+="-"+i.count++:t.set(e.name,{count:1}),e}))}}function L(e,t,n,i){if(null==i&&(i=1/0),t===k)for(var r=0;r<n.length&&r<i;r++)e(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<i;r++)e(o[r],r)}}function N(e){var t,n=0;while(n<e.length&&!(t=e[n++]));if(t){var i=[];return u(t,(function(e,t){i.push(t)})),i}}function R(e,t,n){var i={},r=$(t);if(!r||!e)return i;var o,a,s=[],l=[],c=t.ecModel,h=T(c).datasetMap,d=r.uid+"_"+n.seriesLayoutBy;e=e.slice(),u(e,(function(t,n){!f(t)&&(e[n]={name:t}),"ordinal"===t.type&&null==o&&(o=n,a=m(e[n])),i[t.name]=[]}));var p=h.get(d)||h.set(d,{categoryWayDim:a,valueWayDim:0});function g(e,t,n){for(var i=0;i<n;i++)e.push(t+i)}function m(e){var t=e.dimsDef;return t?t.length:1}return u(e,(function(e,t){var n=e.name,r=m(e);if(null==o){var a=p.valueWayDim;g(i[n],a,r),g(l,a,r),p.valueWayDim+=r}else if(o===t)g(i[n],0,r),g(s,0,r);else{a=p.categoryWayDim;g(i[n],a,r),g(l,a,r),p.categoryWayDim+=r}})),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function z(e,t,n){var i={},r=$(e);if(!r)return i;var o,a=t.sourceFormat,s=t.dimensionsDefine;a!==_&&a!==w||u(s,(function(e,t){"name"===(f(e)?e.name:e)&&(o=t)}));var l=function(){for(var e={},i={},r=[],l=0,u=Math.min(5,n);l<u;l++){var c=F(t.data,a,t.seriesLayoutBy,s,t.startIndex,l);r.push(c);var h=c===M.Not;if(h&&null==e.v&&l!==o&&(e.v=l),(null==e.n||e.n===e.v||!h&&r[e.n]===M.Not)&&(e.n=l),d(e)&&r[e.n]!==M.Not)return e;h||(c===M.Might&&null==i.v&&l!==o&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function d(e){return null!=e.v&&null!=e.n}return d(e)?e:d(i)?i:null}();if(l){i.value=l.v;var c=null!=o?o:l.n;i.itemName=[c],i.seriesName=[c]}return i}function $(e){var t=e.option,n=t.data;if(!n)return e.ecModel.getComponent("dataset",t.datasetIndex||0)}function B(e,t){return F(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function F(e,t,n,i,r,o){var s,l,u,c=5;if(p(e))return M.Not;if(i){var g=i[o];f(g)?(l=g.name,u=g.type):d(g)&&(l=g)}if(null!=u)return"ordinal"===u?M.Must:M.Not;if(t===x)if(n===k){for(var m=e[o],v=0;v<(m||[]).length&&v<c;v++)if(null!=(s=T(m[r+v])))return s}else for(v=0;v<e.length&&v<c;v++){var y=e[r+v];if(y&&null!=(s=T(y[o])))return s}else if(t===_){if(!l)return M.Not;for(v=0;v<e.length&&v<c;v++){var C=e[v];if(C&&null!=(s=T(C[l])))return s}}else if(t===w){if(!l)return M.Not;m=e[l];if(!m||p(m))return M.Not;for(v=0;v<m.length&&v<c;v++)if(null!=(s=T(m[v])))return s}else if(t===b)for(v=0;v<e.length&&v<c;v++){C=e[v];var S=a(C);if(!h(S))return M.Not;if(null!=(s=T(S[o])))return s}function T(e){var t=d(e);return null!=e&&isFinite(e)&&""!==e?t?M.Might:M.Not:t&&"-"!==e?M.Must:void 0}return M.Not}t.BE_ORDINAL=M,t.detectSourceFormat=E,t.getSource=D,t.resetSourceDefaulter=P,t.prepareSource=O,t.makeSeriesEncodeForAxisCoordSys=R,t.makeSeriesEncodeForNameBased=z,t.guessOrdinal=B},28103:function(e,t){var n="original",i="arrayRows",r="objectRows",o="keyedColumns",a="unknown",s="typedArray",l="column",u="row";t.SOURCE_FORMAT_ORIGINAL=n,t.SOURCE_FORMAT_ARRAY_ROWS=i,t.SOURCE_FORMAT_OBJECT_ROWS=r,t.SOURCE_FORMAT_KEYED_COLUMNS=o,t.SOURCE_FORMAT_UNKNOWN=a,t.SOURCE_FORMAT_TYPED_ARRAY=s,t.SERIES_LAYOUT_BY_COLUMN=l,t.SERIES_LAYOUT_BY_ROW=u},39405:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(89519)),o=n(63122),a=n(7471),s=n(95160),l=n(92757),u=n(65836),c=n(94115),h=n(40213),d=n(99966),f=n(58567),p=n(17377),g=n(3133),m=n(93141),v=n(48154),y=n(55155),b=n(65120),x=n(20594),_=n(46458),w=n(14243),C=w.throttle,S=n(14248),k=n(63298),M=n(63888),T=n(83263),E=n(60725),D=n(9259);n(42942);var P=n(35999),O=o.assert,I=o.each,A=o.isFunction,L=o.isObject,N=m.parseClassType,R="4.9.0",z={zrender:"4.3.2"},$=1,B=1e3,F=800,j=900,V=5e3,H=1e3,W=1100,G=2e3,q=3e3,U=3500,Y=4e3,X=5e3,Z={PROCESSOR:{FILTER:B,SERIES_FILTER:F,STATISTIC:V},VISUAL:{LAYOUT:H,PROGRESSIVE_LAYOUT:W,GLOBAL:G,CHART:q,POST_CHART_LAYOUT:U,COMPONENT:Y,BRUSH:X}},K="__flagInMainProcess",Q="__optionUpdated",J=/^[a-zA-Z0-9_]+$/;function ee(e,t){return function(n,i,r){t||!this._disposed?(n=n&&n.toLowerCase(),u.prototype[e].call(this,n,i,r)):xe(this.id)}}function te(){u.call(this)}function ne(e,t,n){n=n||{},"string"===typeof t&&(t=Ie[t]),this.id,this.group,this._dom=e;var i="canvas",a=this._zr=r.init(e,{renderer:n.renderer||i,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=C(o.bind(a.flush,a),17);t=o.clone(t);t&&p(t,!0),this._theme=t,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new d;var s=this._api=Se(this);function c(e,t){return e.__prio-t.__prio}l(Oe,c),l(Ee,c),this._scheduler=new T(this,s,Ee,Oe),u.call(this,this._ecEventProcessor=new ke),this._messageCenter=new te,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],a.animation.on("frame",this._onframe,this),de(a,this),o.setAsPrimitive(this)}te.prototype.on=ee("on",!0),te.prototype.off=ee("off",!0),te.prototype.one=ee("one",!0),o.mixin(te,u);var ie=ne.prototype;function re(e,t,n){if(this._disposed)xe(this.id);else{var i,r=this._model,o=this._coordSysMgr.getCoordinateSystems();t=_.parseFinder(r,t);for(var a=0;a<o.length;a++){var s=o[a];if(s[e]&&null!=(i=s[e](r,t,n)))return i}}}ie._onframe=function(){if(!this._disposed){var e=this._scheduler;if(this[Q]){var t=this[Q].silent;this[K]=!0,ae(this),oe.update.call(this),this[K]=!1,this[Q]=!1,ce.call(this,t),he.call(this,t)}else if(e.unfinished){var n=$,i=this._model,r=this._api;e.unfinished=!1;do{var o=+new Date;e.performSeriesTasks(i),e.performDataProcessorTasks(i),le(this,i),e.performVisualTasks(i),ve(this,this._model,r,"remain"),n-=+new Date-o}while(n>0&&e.unfinished);e.unfinished||this._zr.flush()}}},ie.getDom=function(){return this._dom},ie.getZr=function(){return this._zr},ie.setOption=function(e,t,n){if(this._disposed)xe(this.id);else{var i;if(L(t)&&(n=t.lazyUpdate,i=t.silent,t=t.notMerge),this[K]=!0,!this._model||t){var r=new f(this._api),o=this._theme,a=this._model=new c;a.scheduler=this._scheduler,a.init(null,null,o,r)}this._model.setOption(e,De),n?(this[Q]={silent:i},this[K]=!1):(ae(this),oe.update.call(this),this._zr.flush(),this[Q]=!1,this[K]=!1,ce.call(this,i),he.call(this,i))}},ie.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},ie.getModel=function(){return this._model},ie.getOption=function(){return this._model&&this._model.getOption()},ie.getWidth=function(){return this._zr.getWidth()},ie.getHeight=function(){return this._zr.getHeight()},ie.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},ie.getRenderedCanvas=function(e){if(s.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr;return t.painter.getRenderedCanvas(e)}},ie.getSvgDataURL=function(){if(s.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return o.each(t,(function(e){e.stopAnimation(!0)})),e.painter.toDataURL()}},ie.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,i=[],r=this;I(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=r._componentsMap[e.__viewId];t.group.ignore||(i.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return I(i,(function(e){e.group.ignore=!1})),o}xe(this.id)},ie.getConnectedDataURL=function(e){if(this._disposed)xe(this.id);else if(s.canvasSupported){var t="svg"===e.type,n=this.group,i=Math.min,a=Math.max,l=1/0;if(Ne[n]){var u=l,c=l,h=-l,d=-l,f=[],p=e&&e.pixelRatio||1;o.each(Le,(function(r,s){if(r.group===n){var l=t?r.getZr().painter.getSvgDom().innerHTML:r.getRenderedCanvas(o.clone(e)),p=r.getDom().getBoundingClientRect();u=i(p.left,u),c=i(p.top,c),h=a(p.right,h),d=a(p.bottom,d),f.push({dom:l,left:p.left,top:p.top})}})),u*=p,c*=p,h*=p,d*=p;var g=h-u,m=d-c,v=o.createCanvas(),y=r.init(v,{renderer:t?"svg":"canvas"});if(y.resize({width:g,height:m}),t){var b="";return I(f,(function(e){var t=e.left-u,n=e.top-c;b+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),y.painter.getSvgRoot().innerHTML=b,e.connectedBackgroundColor&&y.painter.setBackgroundColor(e.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return e.connectedBackgroundColor&&y.add(new x.Rect({shape:{x:0,y:0,width:g,height:m},style:{fill:e.connectedBackgroundColor}})),I(f,(function(e){var t=new x.Image({style:{x:e.left*p-u,y:e.top*p-c,image:e.dom}});y.add(t)})),y.refreshImmediately(),v.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},ie.convertToPixel=o.curry(re,"convertToPixel"),ie.convertFromPixel=o.curry(re,"convertFromPixel"),ie.containPixel=function(e,t){if(!this._disposed){var n,i=this._model;return e=_.parseFinder(i,e),o.each(e,(function(e,i){i.indexOf("Models")>=0&&o.each(e,(function(e){var r=e.coordinateSystem;if(r&&r.containPoint)n|=!!r.containPoint(t);else if("seriesModels"===i){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n|=o.containPoint(t,e))}}),this)}),this),!!n}xe(this.id)},ie.getVisual=function(e,t){var n=this._model;e=_.parseFinder(n,e,{defaultMainType:"series"});var i=e.seriesModel,r=i.getData(),o=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?r.indexOfRawIndex(e.dataIndex):null;return null!=o?r.getItemVisual(o,t):r.getVisual(t)},ie.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},ie.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var oe={prepareAndUpdate:function(e){ae(this),oe.update.call(this,e)},update:function(e){var t=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,o=this._scheduler;if(t){o.restoreData(t,e),o.performSeriesTasks(t),r.create(t,n),o.performDataProcessorTasks(t,e),le(this,t),r.update(t,n),pe(t),o.performVisualTasks(t,e),ge(this,t,n,e);var l=t.get("backgroundColor")||"transparent";if(s.canvasSupported)i.setBackgroundColor(l);else{var u=a.parse(l);l=a.stringify(u,"rgb"),0===u[3]&&(l="transparent")}ye(t,n)}},updateTransform:function(e){var t=this._model,n=this,i=this._api;if(t){var r=[];t.eachComponent((function(o,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,t,i,e);l&&l.update&&r.push(s)}else r.push(s)}));var a=o.createHashMap();t.eachSeries((function(r){var o=n._chartsMap[r.__viewId];if(o.updateTransform){var s=o.updateTransform(r,t,i,e);s&&s.update&&a.set(r.uid,1)}else a.set(r.uid,1)})),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:a}),ve(n,t,i,e,a),ye(t,this._api)}},updateView:function(e){var t=this._model;t&&(b.markUpdateMethod(e,"updateView"),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),ge(this,this._model,this._api,e),ye(t,this._api))},updateVisual:function(e){oe.update.call(this,e)},updateLayout:function(e){oe.update.call(this,e)}};function ae(e){var t=e._model,n=e._scheduler;n.restorePipelines(t),n.prepareStageTasks(),fe(e,"component",t,n),fe(e,"chart",t,n),n.plan()}function se(e,t,n,i,r){var a=e._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;null!=u&&(u=o.createHashMap(_.normalizeToArray(u))),a&&a.eachComponent(l,(function(t){u&&null!=u.get(t.id)||c(e["series"===i?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else I(e._componentsViews.concat(e._chartsViews),c);function c(i){i&&i.__alive&&i[t]&&i[t](i.__model,a,e._api,n)}}function le(e,t){var n=e._chartsMap,i=e._scheduler;t.eachSeries((function(e){i.updateStreamModes(e,n[e.__viewId])}))}function ue(e,t){var n=e.type,i=e.escapeConnect,r=Me[n],a=r.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&N(s[0]),this[K]=!0;var u=[e],c=!1;e.batch&&(c=!0,u=o.map(e.batch,(function(t){return t=o.defaults(o.extend({},t),e),t.batch=null,t})));var h,d=[],f="highlight"===n||"downplay"===n;I(u,(function(e){h=r.action(e,this._model,this._api),h=h||o.extend({},e),h.type=a.event||h.type,d.push(h),f?se(this,l,e,"series"):s&&se(this,l,e,s.main,s.sub)}),this),"none"===l||f||s||(this[Q]?(ae(this),oe.update.call(this,e),this[Q]=!1):oe[l].call(this,e)),h=c?{type:a.event||n,escapeConnect:i,batch:d}:d[0],this[K]=!1,!t&&this._messageCenter.trigger(h.type,h)}function ce(e){var t=this._pendingActions;while(t.length){var n=t.shift();ue.call(this,n,e)}}function he(e){!e&&this.trigger("updated")}function de(e,t){e.on("rendered",(function(){t.trigger("rendered"),!e.animation.isFinished()||t[Q]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))}function fe(e,t,n,i){for(var r="component"===t,o=r?e._componentsViews:e._chartsViews,a=r?e._componentsMap:e._chartsMap,s=e._zr,l=e._api,u=0;u<o.length;u++)o[u].__alive=!1;function c(e){var t="_ec_"+e.id+"_"+e.type,u=a[t];if(!u){var c=N(e.type),h=r?y.getClass(c.main,c.sub):b.getClass(c.sub);u=new h,u.init(n,l),a[t]=u,o.push(u),s.add(u.group)}e.__viewId=u.__id=t,u.__alive=!0,u.__model=e,u.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!r&&i.prepareView(u,e,n,l)}r?n.eachComponent((function(e,t){"series"!==e&&c(t)})):n.eachSeries(c);for(u=0;u<o.length;){var h=o[u];h.__alive?u++:(!r&&h.renderTask.dispose(),s.remove(h.group),h.dispose(n,l),o.splice(u,1),delete a[h.__id],h.__id=h.group.__ecComponentInfo=null)}}function pe(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function ge(e,t,n,i){me(e,t,n,i),I(e._chartsViews,(function(e){e.__alive=!1})),ve(e,t,n,i),I(e._chartsViews,(function(e){e.__alive||e.remove(t,n)}))}function me(e,t,n,i,r){I(r||e._componentsViews,(function(e){var r=e.__model;e.render(r,t,n,i),Ce(r,e)}))}function ve(e,t,n,i,r){var o,a=e._scheduler;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var s=n.renderTask;a.updatePayload(s,i),r&&r.get(t.uid)&&s.dirty(),o|=s.perform(a.getPerformArgs(s)),n.group.silent=!!t.get("silent"),Ce(t,n),we(t,n)})),a.unfinished|=o,_e(e,t),k(e._zr.dom,t)}function ye(e,t){I(Pe,(function(n){n(e,t)}))}ie.resize=function(e){if(this._disposed)xe(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),i=e&&e.silent;this[K]=!0,n&&ae(this),oe.update.call(this),this[K]=!1,ce.call(this,i),he.call(this,i)}}},ie.showLoading=function(e,t){if(this._disposed)xe(this.id);else if(L(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Ae[e]){var n=Ae[e](this._api,t),i=this._zr;this._loadingFX=n,i.add(n)}},ie.hideLoading=function(){this._disposed?xe(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},ie.makeActionFromEvent=function(e){var t=o.extend({},e);return t.type=Te[e.type],t},ie.dispatchAction=function(e,t){this._disposed?xe(this.id):(L(t)||(t={silent:!!t}),Me[e.type]&&this._model&&(this[K]?this._pendingActions.push(e):(ue.call(this,e,t.silent),t.flush?this._zr.flush(!0):!1!==t.flush&&s.browser.weChat&&this._throttledZrFlush(),ce.call(this,t.silent),he.call(this,t.silent))))},ie.appendData=function(e){if(this._disposed)xe(this.id);else{var t=e.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(t);i.appendData(e),this._scheduler.unfinished=!0}},ie.on=ee("on",!1),ie.off=ee("off",!1),ie.one=ee("one",!1);var be=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function xe(e){}function _e(e,t){var n=e._zr,i=n.storage,r=0;i.traverse((function(e){r++})),r>t.get("hoverLayerThreshold")&&!s.node&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.group.traverse((function(e){e.useHoverLayer=!0}))}}))}function we(e,t){var n=e.get("blendMode")||null;t.group.traverse((function(e){e.isGroup||e.style.blend!==n&&e.setStyle("blend",n),e.eachPendingDisplayable&&e.eachPendingDisplayable((function(e){e.setStyle("blend",n)}))}))}function Ce(e,t){var n=e.get("z"),i=e.get("zlevel");t.group.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=i&&(e.zlevel=i))}))}function Se(e){var t=e._coordSysMgr;return o.extend(new h(e),{getCoordinateSystems:o.bind(t.getCoordinateSystems,t),getComponentByElement:function(t){while(t){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}}})}function ke(){this.eventInfo}ie._initEvents=function(){I(be,(function(e){var t=function(t){var n,i=this.getModel(),r=t.target,a="globalout"===e;if(a)n={};else if(r&&null!=r.dataIndex){var s=r.dataModel||i.getSeriesByIndex(r.seriesIndex);n=s&&s.getDataParams(r.dataIndex,r.dataType,r)||{}}else r&&r.eventData&&(n=o.extend({},r.eventData));if(n){var l=n.componentType,u=n.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=n.seriesIndex);var c=l&&null!=u&&i.getComponent(l,u),h=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];n.event=t,n.type=e,this._ecEventProcessor.eventInfo={targetEl:r,packedEvent:n,model:c,view:h},this.trigger(e,n)}};t.zrEventfulCallAtLast=!0,this._zr.on(e,t,this)}),this),I(Te,(function(e,t){this._messageCenter.on(t,(function(e){this.trigger(t,e)}),this)}),this)},ie.isDisposed=function(){return this._disposed},ie.clear=function(){this._disposed?xe(this.id):this.setOption({series:[]},!0)},ie.dispose=function(){if(this._disposed)xe(this.id);else{this._disposed=!0,_.setAttribute(this.getDom(),$e,"");var e=this._api,t=this._model;I(this._componentsViews,(function(n){n.dispose(t,e)})),I(this._chartsViews,(function(n){n.dispose(t,e)})),this._zr.dispose(),delete Le[this.id]}},o.mixin(ne,u),ke.prototype={constructor:ke,normalizeQuery:function(e){var t={},n={},i={};if(o.isString(e)){var r=N(e);t.mainType=r.main||null,t.subType=r.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};o.each(e,(function(e,r){for(var o=!1,l=0;l<a.length;l++){var u=a[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(t.mainType=h,t[u.toLowerCase()]=e,o=!0)}}s.hasOwnProperty(r)&&(n[r]=e,o=!0),o||(i[r]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:i}},filter:function(e,t,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,o=i.packedEvent,a=i.model,s=i.view;if(!a||!s)return!0;var l=t.cptQuery,u=t.dataQuery;return c(l,a,"mainType")&&c(l,a,"subType")&&c(l,a,"index","componentIndex")&&c(l,a,"name")&&c(l,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,r,o));function c(e,t,n,i){return null==e[n]||t[i||n]===e[n]}},afterTrigger:function(){this.eventInfo=null}};var Me={},Te={},Ee=[],De=[],Pe=[],Oe=[],Ie={},Ae={},Le={},Ne={},Re=new Date-0,ze=new Date-0,$e="_echarts_instance_";function Be(e){var t=0,n=1,i=2,r="__connectUpdateStatus";function o(e,t){for(var n=0;n<e.length;n++){var i=e[n];i[r]=t}}I(Te,(function(a,s){e._messageCenter.on(s,(function(a){if(Ne[e.group]&&e[r]!==t){if(a&&a.escapeConnect)return;var s=e.makeActionFromEvent(a),l=[];I(Le,(function(t){t!==e&&t.group===e.group&&l.push(t)})),o(l,t),I(l,(function(e){e[r]!==n&&e.dispatchAction(s)})),o(l,i)}}))}))}function Fe(e,t,n){var i=Ge(e);if(i)return i;var r=new ne(e,t,n);return r.id="ec_"+Re++,Le[r.id]=r,_.setAttribute(e,$e,r.id),Be(r),r}function je(e){if(o.isArray(e)){var t=e;e=null,I(t,(function(t){null!=t.group&&(e=t.group)})),e=e||"g_"+ze++,I(t,(function(t){t.group=e}))}return Ne[e]=!0,e}function Ve(e){Ne[e]=!1}var He=Ve;function We(e){"string"===typeof e?e=Le[e]:e instanceof ne||(e=Ge(e)),e instanceof ne&&!e.isDisposed()&&e.dispose()}function Ge(e){return Le[_.getAttribute(e,$e)]}function qe(e){return Le[e]}function Ue(e,t){Ie[e]=t}function Ye(e){De.push(e)}function Xe(e,t){nt(Ee,e,t,B)}function Ze(e){Pe.push(e)}function Ke(e,t,n){"function"===typeof t&&(n=t,t="");var i=L(e)?e.type:[e,e={event:t}][0];e.event=(e.event||i).toLowerCase(),t=e.event,O(J.test(i)&&J.test(t)),Me[i]||(Me[i]={action:n,actionInfo:e}),Te[t]=i}function Qe(e,t){d.register(e,t)}function Je(e){var t=d.get(e);if(t)return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()}function et(e,t){nt(Oe,e,t,H,"layout")}function tt(e,t){nt(Oe,e,t,q,"visual")}function nt(e,t,n,i,r){(A(t)||L(t))&&(n=t,t=i);var o=T.wrapStageHandler(n,r);return o.__prio=t,o.__raw=n,e.push(o),o}function it(e,t){Ae[e]=t}function rt(e){return m.extend(e)}function ot(e){return y.extend(e)}function at(e){return v.extend(e)}function st(e){return b.extend(e)}function lt(e){o.$override("createCanvas",e)}function ut(e,t,n){P.registerMap(e,t,n)}function ct(e){var t=P.retrieveMap(e);return t&&t[0]&&{geoJson:t[0].geoJSON,specialAreas:t[0].specialAreas}}tt(G,S),Ye(p),Xe(j,g),it("default",M),Ke({type:"highlight",event:"highlight",update:"highlight"},o.noop),Ke({type:"downplay",event:"downplay",update:"downplay"},o.noop),Ue("light",E),Ue("dark",D);var ht={};t.version=R,t.dependencies=z,t.PRIORITY=Z,t.init=Fe,t.connect=je,t.disConnect=Ve,t.disconnect=He,t.dispose=We,t.getInstanceByDom=Ge,t.getInstanceById=qe,t.registerTheme=Ue,t.registerPreprocessor=Ye,t.registerProcessor=Xe,t.registerPostUpdate=Ze,t.registerAction=Ke,t.registerCoordinateSystem=Qe,t.getCoordinateSystemDimensions=Je,t.registerLayout=et,t.registerVisual=tt,t.registerLoading=it,t.extendComponentModel=rt,t.extendComponentView=ot,t.extendSeriesModel=at,t.extendChartView=st,t.setCanvasCreator=lt,t.registerMap=ut,t.getMap=ct,t.dataTool=ht;var dt=n(28981);(function(){for(var e in dt)dt.hasOwnProperty(e)&&(t[e]=dt[e])})()},28981:function(e,t,n){var i=n(89519);t.zrender=i;var r=n(97333);t.matrix=r;var o=n(78244);t.vector=o;var a=n(63122),s=n(7471);t.color=s;var l=n(20594),u=n(43789);t.number=u;var c=n(18906);t.format=c;var h=n(14243);h.throttle;t.throttle=h.throttle;var d=n(69502);t.helper=d;var f=n(97572);t.parseGeoJSON=f;var p=n(56669);t.List=p;var g=n(90350);t.Model=g;var m=n(47348);t.Axis=m;var v=n(95160);t.env=v;var y=f,b={};a.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(e){b[e]=a[e]}));var x={};a.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(e){x[e]=l[e]})),t.parseGeoJson=y,t.util=b,t.graphic=x},69502:function(e,t,n){var i=n(63122),r=n(10140),o=n(3019),a=n(67662),s=n(90350),l=n(7928);l.getLayoutRect;t.getLayoutRect=l.getLayoutRect;var u=n(60291),c=u.enableDataStack,h=u.isDimensionStacked,d=u.getStackedDimension,f=n(98164);t.completeDimensions=f;var p=n(44048);t.createDimensions=p;var g=n(84682);function m(e){return r(e.getSource(),e)}t.createSymbol=g.createSymbol;var v={isDimensionStacked:h,enableDataStack:c,getStackedDimension:d};function y(e,t){var n=t;s.isInstance(t)||(n=new s(t),i.mixin(n,a));var r=o.createScaleByModel(n);return r.setExtent(e[0],e[1]),o.niceScaleExtent(r,n),r}function b(e){i.mixin(e,a)}t.createList=m,t.dataStack=v,t.createScale=y,t.mixinAxisModelCommonMethods=b},79143:function(e){var t={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}",withoutName:"第{seriesId}个系列是一个{seriesType}",separator:{middle:"",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"",end:""}}}};e.exports=t},72812:function(e,t,n){n(1439),n(87585),n(55315),n(57658);var i=n(63122),r=n(43789),o=r.parsePercent,a=n(60291),s=a.isDimensionStacked,l=n(5491),u="__ec_stack_",c=.5,h="undefined"!==typeof Float32Array?Float32Array:Array;function d(e){return e.get("stack")||u+e.seriesIndex}function f(e){return e.dim+e.index}function p(e){var t=[],n=e.axis,r="axis0";if("category"===n.type){for(var o=n.getBandWidth(),a=0;a<e.count;a++)t.push(i.defaults({bandWidth:o,axisKey:r,stackId:u+a},e));var s=y(t),l=[];for(a=0;a<e.count;a++){var c=s[r][u+a];c.offsetCenter=c.offset+c.width/2,l.push(c)}return l}}function g(e,t){var n=[];return t.eachSeriesByType(e,(function(e){w(e)&&!C(e)&&n.push(e)})),n}function m(e){var t={};i.each(e,(function(e){var n=e.coordinateSystem,i=n.getBaseAxis();if("time"===i.type||"value"===i.type)for(var r=e.getData(),o=i.dim+"_"+i.index,a=r.mapDimension(i.dim),s=0,l=r.count();s<l;++s){var u=r.get(a,s);t[o]?t[o].push(u):t[o]=[u]}}));var n=[];for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(o){o.sort((function(e,t){return e-t}));for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[r]=a}}return n}function v(e){var t=m(e),n=[];return i.each(e,(function(e){var i,r=e.coordinateSystem,a=r.getBaseAxis(),s=a.getExtent();if("category"===a.type)i=a.getBandWidth();else if("value"===a.type||"time"===a.type){var l=a.dim+"_"+a.index,u=t[l],c=Math.abs(s[1]-s[0]),h=a.scale.getExtent(),p=Math.abs(h[1]-h[0]);i=u?c/p*u:c}else{var g=e.getData();i=Math.abs(s[1]-s[0])/g.count()}var m=o(e.get("barWidth"),i),v=o(e.get("barMaxWidth"),i),y=o(e.get("barMinWidth")||1,i),b=e.get("barGap"),x=e.get("barCategoryGap");n.push({bandWidth:i,barWidth:m,barMaxWidth:v,barMinWidth:y,barGap:b,barCategoryGap:x,axisKey:f(a),stackId:d(e)})})),y(n)}function y(e){var t={};i.each(e,(function(e,n){var i=e.axisKey,r=e.bandWidth,o=t[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;t[i]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var h=e.barGap;null!=h&&(o.gap=h);var d=e.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return i.each(t,(function(e,t){n[t]={};var r=e.stacks,a=e.bandWidth,s=o(e.categoryGap,a),l=o(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),i.each(r,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){i=e.width;t&&(i=Math.min(i,t)),n&&(i=Math.max(i,n)),e.width=i,u-=i+l*i,c--}else{var i=h;t&&t<i&&(i=Math.min(t,u)),n&&n>i&&(i=n),i!==h&&(e.width=i,u-=i+l*i,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;i.each(r,(function(e,t){e.width||(e.width=h),d=e,f+=e.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;i.each(r,(function(e,i){n[t][i]=n[t][i]||{bandWidth:a,offset:p,width:e.width},p+=e.width*(1+l)}))})),n}function b(e,t,n){if(e&&t){var i=e[f(t)];return null!=i&&null!=n&&(i=i[d(n)]),i}}function x(e,t){var n=g(e,t),r=v(n),o={},a={};i.each(n,(function(e){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),l=d(e),u=r[f(i)][l],c=u.offset,h=u.width,p=n.getOtherAxis(i),g=e.get("barMinHeight")||0;o[l]=o[l]||[],a[l]=a[l]||[],t.setLayout({bandWidth:u.bandWidth,offset:c,size:h});for(var m=t.mapDimension(p.dim),v=t.mapDimension(i.dim),y=s(t,m),b=p.isHorizontal(),x=S(i,p,y),_=0,w=t.count();_<w;_++){var C,k,M,T,E=t.get(m,_),D=t.get(v,_),P=E>=0?"p":"n",O=x;if(y&&(o[l][D]||(o[l][D]={p:x,n:x}),O=o[l][D][P]),b){var I=n.dataToPoint([E,D]);C=O,k=I[1]+c,M=I[0]-x,T=h,Math.abs(M)<g&&(M=(M<0?-1:1)*g),isNaN(M)||y&&(o[l][D][P]+=M)}else{I=n.dataToPoint([D,E]);C=I[0]+c,k=O,M=h,T=I[1]-x,Math.abs(T)<g&&(T=(T<=0?-1:1)*g),isNaN(T)||y&&(o[l][D][P]+=T)}t.setItemLayout(_,{x:C,y:k,width:M,height:T})}}),this)}var _={seriesType:"bar",plan:l(),reset:function(e){if(w(e)&&C(e)){var t=e.getData(),n=e.coordinateSystem,i=n.grid.getRect(),r=n.getBaseAxis(),o=n.getOtherAxis(r),a=t.mapDimension(o.dim),s=t.mapDimension(r.dim),l=o.isHorizontal(),u=l?0:1,d=b(v([e]),r,e).width;return d>c||(d=c),{progress:f}}function f(e,t){var c,f=e.count,p=new h(2*f),g=new h(2*f),m=new h(f),v=[],y=[],b=0,x=0;while(null!=(c=e.next()))y[u]=t.get(a,c),y[1-u]=t.get(s,c),v=n.dataToPoint(y,null,v),g[b]=l?i.x+i.width:v[0],p[b++]=v[0],g[b]=l?v[1]:i.y+i.height,p[b++]=v[1],m[x++]=c;t.setLayout({largePoints:p,largeDataIndices:m,largeBackgroundPoints:g,barWidth:d,valueAxisStart:S(r,o,!1),backgroundStart:l?i.x:i.y,valueAxisHorizontal:l})}}};function w(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function C(e){return e.pipelineContext&&e.pipelineContext.large}function S(e,t,n){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}t.getLayoutOnAxis=p,t.prepareLayoutBarSeries=g,t.makeColumnLayout=v,t.retrieveColumnLayout=b,t.layout=x,t.largeLayout=_},87392:function(e,t,n){var i=n(63122),r=n(43789),o=r.parsePercent,a=n(60291),s=a.isDimensionStacked;function l(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function u(e,t){return t.dim+e.model.componentIndex}function c(e,t,n){var r={},o=h(i.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),a=u(n,i),c=l(e),h=o[a][c],d=h.offset,f=h.width,p=n.getOtherAxis(i),g=e.coordinateSystem.cx,m=e.coordinateSystem.cy,v=e.get("barMinHeight")||0,y=e.get("barMinAngle")||0;r[c]=r[c]||[];for(var b=t.mapDimension(p.dim),x=t.mapDimension(i.dim),_=s(t,b),w="radius"!==i.dim||!e.get("roundCap",!0),C="radius"===p.dim?p.dataToRadius(0):p.dataToAngle(0),S=0,k=t.count();S<k;S++){var M,T,E,D,P=t.get(b,S),O=t.get(x,S),I=P>=0?"p":"n",A=C;if(_&&(r[c][O]||(r[c][O]={p:C,n:C}),A=r[c][O][I]),"radius"===p.dim){var L=p.dataToRadius(P)-C,N=i.dataToAngle(O);Math.abs(L)<v&&(L=(L<0?-1:1)*v),M=A,T=A+L,E=N-d,D=E-f,_&&(r[c][O][I]=T)}else{var R=p.dataToAngle(P,w)-C,z=i.dataToRadius(O);Math.abs(R)<y&&(R=(R<0?-1:1)*y),M=z+d,T=M+f,E=A,D=A+R,_&&(r[c][O][I]=D)}t.setItemLayout(S,{cx:g,cy:m,r0:M,r:T,startAngle:-E*Math.PI/180,endAngle:-D*Math.PI/180})}}}),this)}function h(e,t){var n={};i.each(e,(function(e,t){var i=e.getData(),r=e.coordinateSystem,a=r.getBaseAxis(),s=u(r,a),c=a.getExtent(),h="category"===a.type?a.getBandWidth():Math.abs(c[1]-c[0])/i.count(),d=n[s]||{bandWidth:h,remainedWidth:h,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=d.stacks;n[s]=d;var p=l(e);f[p]||d.autoWidthCount++,f[p]=f[p]||{width:0,maxWidth:0};var g=o(e.get("barWidth"),h),m=o(e.get("barMaxWidth"),h),v=e.get("barGap"),y=e.get("barCategoryGap");g&&!f[p].width&&(g=Math.min(d.remainedWidth,g),f[p].width=g,d.remainedWidth-=g),m&&(f[p].maxWidth=m),null!=v&&(d.gap=v),null!=y&&(d.categoryGap=y)}));var r={};return i.each(n,(function(e,t){r[t]={};var n=e.stacks,a=e.bandWidth,s=o(e.categoryGap,a),l=o(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),i.each(n,(function(e,t){var n=e.maxWidth;n&&n<h&&(n=Math.min(n,u),e.width&&(n=Math.min(n,e.width)),u-=n,e.width=n,c--)})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;i.each(n,(function(e,t){e.width||(e.width=h),d=e,f+=e.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;i.each(n,(function(e,n){r[t][n]=r[t][n]||{offset:p,width:e.width},p+=e.width*(1+l)}))})),r}var d=c;e.exports=d},83960:function(e,t,n){n(1439),n(87585),n(55315);var i=n(63122),r=i.map,o=n(5491),a=n(60291),s=a.isDimensionStacked;function l(e){return{seriesType:e,plan:o(),reset:function(e){var t=e.getData(),n=e.coordinateSystem,i=e.pipelineContext,o=i.large;if(n){var a=r(n.dimensions,(function(e){return t.mapDimension(e)})).slice(0,2),l=a.length,u=t.getCalculationInfo("stackResultDimension");return s(t,a[0])&&(a[0]=u),s(t,a[1])&&(a[1]=u),l&&{progress:c}}function c(e,t){for(var i=e.end-e.start,r=o&&new Float32Array(i*l),s=e.start,u=0,c=[],h=[];s<e.end;s++){var d;if(1===l){var f=t.get(a[0],s);d=!isNaN(f)&&n.dataToPoint(f,null,h)}else{f=c[0]=t.get(a[0],s);var p=c[1]=t.get(a[1],s);d=!isNaN(f)&&!isNaN(p)&&n.dataToPoint(c,null,h)}o?(r[u++]=d?d[0]:NaN,r[u++]=d?d[1]:NaN):t.setItemLayout(s,d&&d.slice()||[NaN,NaN])}o&&t.setLayout("symbolPoints",r)}}}}e.exports=l},63888:function(e,t,n){var i=n(63122),r=n(20594),o=n(2278),a=Math.PI;function s(e,t){t=t||{},i.defaults(t,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new r.Group,s=new r.Rect({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(s);var l=t.fontSize+" sans-serif",u=new r.Rect({style:{fill:"none",text:t.text,font:l,textPosition:"right",textDistance:10,textFill:t.textColor},zlevel:t.zlevel,z:10001});if(n.add(u),t.showSpinner){var c=new r.Arc({shape:{startAngle:-a/2,endAngle:-a/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001});c.animateShape(!0).when(1e3,{endAngle:3*a/2}).start("circularInOut"),c.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut"),n.add(c)}return n.resize=function(){var n=o.getWidth(t.text,l),i=t.showSpinner?t.spinnerRadius:0,r=(e.getWidth()-2*i-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner?0:n/2),a=e.getHeight()/2;t.showSpinner&&c.setShape({cx:r,cy:a}),u.setShape({x:r-i,y:a-i,width:2*i,height:2*i}),s.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}e.exports=s},93141:function(e,t,n){n(57658);var i=n(63122),r=n(90350),o=n(6106),a=n(9040),s=a.enableClassManagement,l=a.parseClassType,u=n(46458),c=u.makeInner,h=n(7928),d=n(99651),f=c(),p=r.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,t,n,i){r.call(this,e,t,n,i),this.uid=o.getUID("ec_cpt_model")},init:function(e,t,n,i){this.mergeDefaultAndTheme(e,n)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,r=n?h.getLayoutParams(e):{},o=t.getTheme();i.merge(e,o.get(this.mainType)),i.merge(e,this.getDefaultOption()),n&&h.mergeLayoutParam(e,r,n)},mergeOption:function(e,t){i.merge(this.option,e,!0);var n=this.layoutMode;n&&h.mergeLayoutParam(this.option,e,n)},optionUpdated:function(e,t){},getDefaultOption:function(){var e=f(this);if(!e.defaultOption){var t=[],n=this.constructor;while(n){var r=n.prototype.defaultOption;r&&t.push(r),n=n.superClass}for(var o={},a=t.length-1;a>=0;a--)o=i.merge(o,t[a],!0);e.defaultOption=o}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});function g(e){var t=[];return i.each(p.getClassesByMainType(e),(function(e){t=t.concat(e.prototype.dependencies||[])})),t=i.map(t,(function(e){return l(e).main})),"dataset"!==e&&i.indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}s(p,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(p),o.enableTopologicalTravel(p,g),i.mixin(p,d);var m=p;e.exports=m},94115:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=r.each,a=r.filter,s=r.map,l=r.isArray,u=r.indexOf,c=r.isObject,h=r.isString,d=r.createHashMap,f=r.assert,p=r.clone,g=r.merge,m=r.extend,v=r.mixin,y=n(46458),b=n(90350),x=n(93141),_=n(95045),w=n(94250),C=n(2240),S=C.resetSourceDefaulter,k="\0_ec_inner",M=b.extend({init:function(e,t,n,i){n=n||{},this.option=null,this._theme=new b(n),this._optionManager=i},setOption:function(e,t){f(!(k in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,n=this._optionManager;if(!e||"recreate"===e){var i=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(i)):D.call(this,i),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var r=n.getTimelineOption(this);r&&(this.mergeOption(r),t=!0)}if(!e||"recreate"===e||"media"===e){var a=n.getMediaOption(this,this._api);a.length&&o(a,(function(e){this.mergeOption(e,t=!0)}),this)}return t},mergeOption:function(e){var t=this.option,n=this._componentsMap,i=[];function r(i,r){var a=y.normalizeToArray(e[i]),s=y.mappingToExists(n.get(i),a);y.makeIdAndName(s),o(s,(function(e,t){var n=e.option;c(n)&&(e.keyInfo.mainType=i,e.keyInfo.subType=O(i,n,e.exist))}));var l=P(n,r);t[i]=[],n.set(i,[]),o(s,(function(e,r){var o=e.exist,a=e.option;if(f(c(a)||o,"Empty component definition"),a){var s=x.getClass(i,e.keyInfo.subType,!0);if(o&&o.constructor===s)o.name=e.keyInfo.name,o.mergeOption(a,this),o.optionUpdated(a,!1);else{var u=m({dependentModels:l,componentIndex:r},e.keyInfo);o=new s(a,this,this,u),m(o,u),o.init(a,this,this,u),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);n.get(i)[r]=o,t[i][r]=o.option}),this),"series"===i&&I(this,n.get("series"))}S(this),o(e,(function(e,n){null!=e&&(x.hasClass(n)?n&&i.push(n):t[n]=null==t[n]?p(e):g(t[n],e,!0))})),x.topologicalTravel(i,x.getAllClassMainTypes(),r,this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=p(this.option);return o(e,(function(t,n){if(x.hasClass(n)){t=y.normalizeToArray(t);for(var i=t.length-1;i>=0;i--)y.isIdInner(t[i])&&t.splice(i,1);e[n]=t}})),delete e[k],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap.get(e);if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n,i=e.index,r=e.id,o=e.name,c=this._componentsMap.get(t);if(!c||!c.length)return[];if(null!=i)l(i)||(i=[i]),n=a(s(i,(function(e){return c[e]})),(function(e){return!!e}));else if(null!=r){var h=l(r);n=a(c,(function(e){return h&&u(r,e.id)>=0||!h&&e.id===r}))}else if(null!=o){var d=l(o);n=a(c,(function(e){return d&&u(o,e.name)>=0||!d&&e.name===o}))}else n=c.slice();return A(n,e)},findComponents:function(e){var t=e.query,n=e.mainType,i=o(t),r=i?this.queryComponents(i):this._componentsMap.get(n);return s(A(r,e));function o(e){var t=n+"Index",i=n+"Id",r=n+"Name";return!e||null==e[t]&&null==e[i]&&null==e[r]?null:{mainType:n,index:e[t],id:e[i],name:e[r]}}function s(t){return e.filter?a(t,e.filter):t}},eachComponent:function(e,t,n){var i=this._componentsMap;if("function"===typeof e)n=t,t=e,i.each((function(e,i){o(e,(function(e,r){t.call(n,i,e,r)}))}));else if(h(e))o(i.get(e),t,n);else if(c(e)){var r=this.findComponents(e);o(r,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.name===e}))},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.subType===e}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){L(this),o(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];e.call(t,i,n)}),this)},eachRawSeries:function(e,t){o(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,n){L(this),o(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===e&&t.call(n,r,i)}),this)},eachRawSeriesByType:function(e,t,n){return o(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return L(this),null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){L(this);var n=a(this._componentsMap.get("series"),e,t);I(this,n)},restoreData:function(e){var t=this._componentsMap;I(this,t.get("series"));var n=[];t.each((function(e,t){n.push(t)})),x.topologicalTravel(n,x.getAllClassMainTypes(),(function(n,i){o(t.get(n),(function(t){("series"!==n||!T(t,e))&&t.restoreData()}))}))}});function T(e,t){if(t){var n=t.seiresIndex,i=t.seriesId,r=t.seriesName;return null!=n&&e.componentIndex!==n||null!=i&&e.id!==i||null!=r&&e.name!==r}}function E(e,t){var n=e.color&&!e.colorLayer;o(t,(function(t,i){"colorLayer"===i&&n||x.hasClass(i)||("object"===typeof t?e[i]=e[i]?g(e[i],t,!1):p(t):null==e[i]&&(e[i]=t))}))}function D(e){this.option={},this.option[k]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,E(e,this._theme.option),g(e,_,!1),this.mergeOption(e)}function P(e,t){l(t)||(t=t?[t]:[]);var n={};return o(t,(function(t){n[t]=(e.get(t)||[]).slice()})),n}function O(e,t,n){var i=t.type?t.type:n?n.subType:x.determineSubType(e,t);return i}function I(e,t){e._seriesIndicesMap=d(e._seriesIndices=s(t,(function(e){return e.componentIndex}))||[])}function A(e,t){return t.hasOwnProperty("subType")?a(e,(function(e){return e.subType===t.subType})):e}function L(e){}v(M,w);var N=M;e.exports=N},90350:function(e,t,n){var i=n(63122),r=n(95160),o=n(46458),a=o.makeInner,s=n(9040),l=s.enableClassExtend,u=s.enableClassCheck,c=n(69778),h=n(95463),d=n(91937),f=n(5209),p=i.mixin,g=a();function m(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}function v(e,t,n){for(var i=0;i<t.length;i++)if(t[i]&&(e=e&&"object"===typeof e?e[t[i]]:null,null==e))break;return null==e&&n&&(e=n.get(t)),e}function y(e,t){var n=g(e).getParent;return n?n.call(e,t):e.parentModel}m.prototype={constructor:m,init:null,mergeOption:function(e){i.merge(this.option,e,!0)},get:function(e,t){return null==e?this.option:v(this.option,this.parsePath(e),!t&&y(this,e))},getShallow:function(e,t){var n=this.option,i=null==n?n:n[e],r=!t&&y(this,e);return null==i&&r&&(i=r.getShallow(e)),i},getModel:function(e,t){var n,i=null==e?this.option:v(this.option,e=this.parsePath(e));return t=t||(n=y(this,e))&&n.getModel(e),new m(i,t,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){var e=this.constructor;return new e(i.clone(this.option))},setReadOnly:function(e){},parsePath:function(e){return"string"===typeof e&&(e=e.split(".")),e},customizeGetParent:function(e){g(this).getParent=e},isAnimationEnabled:function(){if(!r.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},l(m),u(m),p(m,c),p(m,h),p(m,d),p(m,f);var b=m;e.exports=b},58567:function(e,t,n){n(57658);var i=n(63122),r=n(46458),o=n(93141),a=i.each,s=i.clone,l=i.map,u=i.merge,c=/^(min|max)?(.+)$/;function h(e){this._api=e,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(e,t,n){var r,o,s=[],l=[],u=e.timeline;if(e.baseOption&&(o=e.baseOption),(u||e.options)&&(o=o||{},s=(e.options||[]).slice()),e.media){o=o||{};var c=e.media;a(c,(function(e){e&&e.option&&(e.query?l.push(e):r||(r=e))}))}return o||(o=e),o.timeline||(o.timeline=u),a([o].concat(s).concat(i.map(l,(function(e){return e.option}))),(function(e){a(t,(function(t){t(e,n)}))})),{baseOption:o,timelineOptions:s,mediaDefault:r,mediaList:l}}function f(e,t,n){var r={width:t,height:n,aspectratio:t/n},o=!0;return i.each(e,(function(e,t){var n=t.match(c);if(n&&n[1]&&n[2]){var i=n[1],a=n[2].toLowerCase();p(r[a],e,i)||(o=!1)}})),o}function p(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t}function g(e,t){return e.join(",")===t.join(",")}function m(e,t){t=t||{},a(t,(function(t,n){if(null!=t){var i=e[n];if(o.hasClass(n)){t=r.normalizeToArray(t),i=r.normalizeToArray(i);var a=r.mappingToExists(i,t);e[n]=l(a,(function(e){return e.option&&e.exist?u(e.exist,e.option,!0):e.exist||e.option}))}else e[n]=u(i,t,!0)}}))}h.prototype={constructor:h,setOption:function(e,t){e&&i.each(r.normalizeToArray(e.series),(function(e){e&&e.data&&i.isTypedArray(e.data)&&i.setAsPrimitive(e.data)})),e=s(e);var n=this._optionBackup,o=d.call(this,e,t,!n);this._newBaseOption=o.baseOption,n?(m(n.baseOption,o.baseOption),o.timelineOptions.length&&(n.timelineOptions=o.timelineOptions),o.mediaList.length&&(n.mediaList=o.mediaList),o.mediaDefault&&(n.mediaDefault=o.mediaDefault)):this._optionBackup=o},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=l(t.timelineOptions,s),this._mediaList=l(t.mediaList,s),this._mediaDefault=s(t.mediaDefault),this._currentMediaIndices=[],s(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,n=this._timelineOptions;if(n.length){var i=e.getComponent("timeline");i&&(t=s(n[i.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,o=[],a=[];if(!i.length&&!r)return a;for(var u=0,c=i.length;u<c;u++)f(i[u].query,t,n)&&o.push(u);return!o.length&&r&&(o=[-1]),o.length&&!g(o,this._currentMediaIndices)&&(a=l(o,(function(e){return s(-1===e?r.option:i[e].option)}))),this._currentMediaIndices=o,a}};var v=h;e.exports=v},48154:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=n(95160),a=n(18906),s=a.formatTime,l=a.encodeHTML,u=a.addCommas,c=a.getTooltipMarker,h=n(46458),d=n(93141),f=n(94250),p=n(56498),g=n(7928),m=g.getLayoutParams,v=g.mergeLayoutParam,y=n(80928),b=y.createTask,x=n(2240),_=x.prepareSource,w=x.getSource,C=n(55213),S=C.retrieveRawValue,k=h.makeInner(),M=d.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(e,t,n,i){this.seriesIndex=this.componentIndex,this.dataTask=b({count:D,reset:P}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),_(this);var r=this.getInitialData(e,n);I(r,this),this.dataTask.context.data=r,k(this).dataBeforeProcessed=r,T(this)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,i=n?m(e):{},o=this.subType;d.hasClass(o)&&(o+="Series"),r.merge(e,t.getTheme().get(this.subType)),r.merge(e,this.getDefaultOption()),h.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&v(e,i,n)},mergeOption:function(e,t){e=r.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=this.layoutMode;n&&v(this.option,e,n),_(this);var i=this.getInitialData(e,t);I(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,k(this).dataBeforeProcessed=i,T(this)},fillDataTextStyle:function(e){if(e&&!r.isTypedArray(e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&h.defaultEmphasis(e[n],"label",t)},getInitialData:function(){},appendData:function(e){var t=this.getRawData();t.appendData(e.data)},getData:function(e){var t=L(this);if(t){var n=t.context.data;return null==e?n:n.getLinkedData(e)}return k(this).data},setData:function(e){var t=L(this);if(t){var n=t.context;n.data!==e&&t.modifyOutputEnd&&t.setOutputEnd(e.count()),n.outputData=e,t!==this.dataTask&&(n.data=e)}k(this).data=e},getSource:function(){return w(this)},getRawData:function(){return k(this).dataBeforeProcessed},getBaseAxis:function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},formatTooltip:function(e,t,n,i){var o=this;i=i||"html";var a="html"===i?"<br/>":"\n",d="richText"===i,f={},p=0;function g(n){var a=r.reduce(n,(function(e,t,n){var i=v.getDimensionInfo(n);return e|(i&&!1!==i.tooltip&&null!=i.displayName)}),0),h=[];function g(e,n){var r=v.getDimensionInfo(n);if(r&&!1!==r.otherDims.tooltip){var g=r.type,m="sub"+o.seriesIndex+"at"+p,y=c({color:w,type:"subItem",renderMode:i,markerId:m}),b="string"===typeof y?y:y.content,x=(a?b+l(r.displayName||"-")+": ":"")+l("ordinal"===g?e+"":"time"===g?t?"":s("yyyy/MM/dd hh:mm:ss",e):u(e));x&&h.push(x),d&&(f[m]=w,++p)}}y.length?r.each(y,(function(t){g(S(v,e,t),t)})):r.each(n,g);var m=a?d?"\n":"<br/>":"",b=m+h.join(m||", ");return{renderMode:i,content:b,style:f}}function m(e){return{renderMode:i,content:l(u(e)),style:f}}var v=this.getData(),y=v.mapDimension("defaultedTooltip",!0),b=y.length,x=this.getRawValue(e),_=r.isArray(x),w=v.getItemVisual(e,"color");r.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var C=b>1||_&&!b?g(x):m(b?S(v,e,y[0]):_?x[0]:x),k=C.content,M=o.seriesIndex+"at"+p,T=c({color:w,type:"item",renderMode:i,markerId:M});f[M]=w,++p;var E=v.getName(e),D=this.name;h.isNameSpecified(this)||(D=""),D=D?l(D)+(t?": ":a):"";var P="string"===typeof T?T:T.content,O=t?P+D+k:D+P+(E?l(E)+": "+k:k);return{html:O,markers:f}},isAnimationEnabled:function(){if(o.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(e,t,n){var i=this.ecModel,r=f.getColorFromPalette.call(this,e,t,n);return r||(r=i.getColorFromPalette(e,t,n)),r},coordDimToDataDim:function(e){return this.getRawData().mapDimension(e,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function T(e){var t=e.name;h.isNameSpecified(e)||(e.name=E(e)||t)}function E(e){var t=e.getRawData(),n=t.mapDimension("seriesName",!0),i=[];return r.each(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&i.push(n.displayName)})),i.join(" ")}function D(e){return e.model.getRawData().count()}function P(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),O}function O(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function I(e,t){r.each(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,r.curry(A,t))}))}function A(e){var t=L(e);t&&t.setOutputEnd(this.count())}function L(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(e.uid))}return i}}r.mixin(M,p),r.mixin(M,f);var N=M;e.exports=N},95045:function(e){var t="";"undefined"!==typeof navigator&&(t=navigator.platform||"");var n={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:t.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};e.exports=n},95463:function(e,t,n){var i=n(33555),r=i([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),o={getAreaStyle:function(e,t){return r(this,e,t)}};e.exports=o},99651:function(e){var t={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")}}};e.exports=t},94250:function(e,t,n){var i=n(46458),r=i.makeInner,o=i.normalizeToArray,a=r();function s(e,t){for(var n=e.length,i=0;i<n;i++)if(e[i].length>t)return e[i];return e[n-1]}var l={clearColorPalette:function(){a(this).colorIdx=0,a(this).colorNameMap={}},getColorFromPalette:function(e,t,n){t=t||this;var i=a(t),r=i.colorIdx||0,l=i.colorNameMap=i.colorNameMap||{};if(l.hasOwnProperty(e))return l[e];var u=o(this.get("color",!0)),c=this.get("colorLayer",!0),h=null!=n&&c?s(c,n):u;if(h=h||u,h&&h.length){var d=h[r];return e&&(l[e]=d),i.colorIdx=(r+1)%h.length,d}}};e.exports=l},56498:function(e,t,n){var i=n(55213),r=i.retrieveRawValue,o=n(18906),a=o.getTooltipMarker,s=o.formatTpl,l=n(46458),u=l.getTooltipRenderMode,c=/\{@(.+?)\}/g,h={getDataParams:function(e,t){var n=this.getData(t),i=this.getRawValue(e,t),r=n.getRawIndex(e),o=n.getName(e),s=n.getRawDataItem(e),l=n.getItemVisual(e,"color"),c=n.getItemVisual(e,"borderColor"),h=this.ecModel.getComponent("tooltip"),d=h&&h.get("renderMode"),f=u(d),p=this.mainType,g="series"===p,m=n.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:o,dataIndex:r,data:s,dataType:t,value:i,color:l,borderColor:c,dimensionNames:m?m.dimensionNames:null,encode:m?m.encode:null,marker:a({color:l,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,t,n,i,o){t=t||"normal";var a=this.getData(n),l=a.getItemModel(e),u=this.getDataParams(e,n);null!=i&&u.value instanceof Array&&(u.value=u.value[i]);var h=l.get("normal"===t?[o||"label","formatter"]:[t,o||"label","formatter"]);if("function"===typeof h)return u.status=t,u.dimensionIndex=i,h(u);if("string"===typeof h){var d=s(h,u);return d.replace(c,(function(t,n){var i=n.length;return"["===n.charAt(0)&&"]"===n.charAt(i-1)&&(n=+n.slice(1,i-1)),r(a,e,n)}))}},getRawValue:function(e,t){return r(this.getData(t),e)},formatTooltip:function(){}};e.exports=h},5209:function(e,t,n){var i=n(33555),r=i([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),o={getItemStyle:function(e,t){var n=r(this,e,t),i=this.getBorderLineDash();return i&&(n.lineDash=i),n},getBorderLineDash:function(){var e=this.get("borderType");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}};e.exports=o},69778:function(e,t,n){var i=n(33555),r=i([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getLineStyle:function(e){var t=r(this,e);return t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(e){null==e&&(e=1);var t=this.get("type"),n=Math.max(e,2),i=4*e;return"solid"!==t&&null!=t&&("dashed"===t?[i,i]:[n,n])}};e.exports=o},33555:function(e,t,n){var i=n(63122);function r(e){for(var t=0;t<e.length;t++)e[t][1]||(e[t][1]=e[t][0]);return function(t,n,r){for(var o={},a=0;a<e.length;a++){var s=e[a][1];if(!(n&&i.indexOf(n,s)>=0||r&&i.indexOf(r,s)<0)){var l=t.getShallow(s);null!=l&&(o[e[a][0]]=l)}}return o}}e.exports=r},91937:function(e,t,n){var i=n(2278),r=n(20594),o=["textStyle","color"],a={getTextColor:function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(o):null)},getFont:function(){return r.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(e){return i.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};e.exports=a},89577:function(e,t,n){var i=n(49648),r=(i.__DEV__,n(63122)),o=r.createHashMap,a=(r.retrieve,r.each);function s(e){this.coordSysName=e,this.coordSysDims=[],this.axisMap=o(),this.categoryAxisMap=o(),this.firstCategoryDimIndex=null}function l(e){var t=e.get("coordinateSystem"),n=new s(t),i=u[t];if(i)return i(e,n,n.axisMap,n.categoryAxisMap),n}var u={cartesian2d:function(e,t,n,i){var r=e.getReferringComponents("xAxis")[0],o=e.getReferringComponents("yAxis")[0];t.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),c(r)&&(i.set("x",r),t.firstCategoryDimIndex=0),c(o)&&(i.set("y",o),t.firstCategoryDimIndex,t.firstCategoryDimIndex=1)},singleAxis:function(e,t,n,i){var r=e.getReferringComponents("singleAxis")[0];t.coordSysDims=["single"],n.set("single",r),c(r)&&(i.set("single",r),t.firstCategoryDimIndex=0)},polar:function(e,t,n,i){var r=e.getReferringComponents("polar")[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),c(o)&&(i.set("radius",o),t.firstCategoryDimIndex=0),c(a)&&(i.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,i){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,i){var r=e.ecModel,o=r.getComponent("parallel",e.get("parallelIndex")),s=t.coordSysDims=o.dimensions.slice();a(o.parallelAxisIndex,(function(e,o){var a=r.getComponent("parallelAxis",e),l=s[o];n.set(l,a),c(a)&&null==t.firstCategoryDimIndex&&(i.set(l,a),t.firstCategoryDimIndex=o)}))}};function c(e){return"category"===e.get("type")}t.getCoordSysInfoBySeries=l},17377:function(e,t,n){var i=n(63122),r=i.each,o=i.isArray,a=i.isObject,s=n(79569),l=n(46458),u=l.normalizeToArray;function c(e,t){t=t.split(",");for(var n=e,i=0;i<t.length;i++)if(n=n&&n[t[i]],null==n)break;return n}function h(e,t,n,i){t=t.split(",");for(var r,o=e,a=0;a<t.length-1;a++)r=t[a],null==o[r]&&(o[r]={}),o=o[r];(i||null==o[t[a]])&&(o[t[a]]=n)}function d(e){r(f,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var f=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],p=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function g(e,t){s(e,t),e.series=u(e.series),r(e.series,(function(e){if(a(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t)null!=e.clockWise&&(e.clockwise=e.clockWise);else if("gauge"===t){var n=c(e,"pointer.color");null!=n&&h(e,"itemStyle.color",n)}d(e)}})),e.dataRange&&(e.visualMap=e.dataRange),r(p,(function(t){var n=e[t];n&&(o(n)||(n=[n]),r(n,(function(e){d(e)})))}))}e.exports=g},79569:function(e,t,n){n(57658);var i=n(63122),r=n(46458),o=i.each,a=i.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=s.length;n<r;n++){var o=s[n],a=t.normal,l=t.emphasis;a&&a[o]&&(e[o]=e[o]||{},e[o].normal?i.merge(e[o].normal,a[o]):e[o].normal=a[o],a[o]=null),l&&l[o]&&(e[o]=e[o]||{},e[o].emphasis?i.merge(e[o].emphasis,l[o]):e[o].emphasis=l[o],l[o]=null)}}function u(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,o=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,i.defaults(e[t],r)):e[t]=r),o&&(e.emphasis=e.emphasis||{},e.emphasis[t]=o)}}function c(e){u(e,"itemStyle"),u(e,"lineStyle"),u(e,"areaStyle"),u(e,"label"),u(e,"labelLine"),u(e,"upperLabel"),u(e,"edgeLabel")}function h(e,t){var n=a(e)&&e[t],i=a(n)&&n.textStyle;if(i)for(var o=0,s=r.TEXT_STYLE_OPTIONS.length;o<s;o++){t=r.TEXT_STYLE_OPTIONS[o];i.hasOwnProperty(t)&&(n[t]=i[t])}}function d(e){e&&(c(e),h(e,"label"),e.emphasis&&h(e.emphasis,"label"))}function f(e){if(a(e)){l(e),c(e),h(e,"label"),h(e,"upperLabel"),h(e,"edgeLabel"),e.emphasis&&(h(e.emphasis,"label"),h(e.emphasis,"upperLabel"),h(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(l(t),d(t));var n=e.markLine;n&&(l(n),d(n));var r=e.markArea;r&&d(r);var o=e.data;if("graph"===e.type){o=o||e.nodes;var s=e.links||e.edges;if(s&&!i.isTypedArray(s))for(var f=0;f<s.length;f++)d(s[f]);i.each(e.categories,(function(e){c(e)}))}if(o&&!i.isTypedArray(o))for(f=0;f<o.length;f++)d(o[f]);t=e.markPoint;if(t&&t.data){var p=t.data;for(f=0;f<p.length;f++)d(p[f])}n=e.markLine;if(n&&n.data){var g=n.data;for(f=0;f<g.length;f++)i.isArray(g[f])?(d(g[f][0]),d(g[f][1])):d(g[f])}"gauge"===e.type?(h(e,"axisLabel"),h(e,"title"),h(e,"detail")):"treemap"===e.type?(u(e.breadcrumb,"itemStyle"),i.each(e.levels,(function(e){c(e)}))):"tree"===e.type&&c(e.leaves)}}function p(e){return i.isArray(e)?e:e?[e]:[]}function g(e){return(i.isArray(e)?e[0]:e)||{}}function m(e,t){o(p(e.series),(function(e){a(e)&&f(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),o(n,(function(t){o(p(e[t]),(function(e){e&&(h(e,"axisLabel"),h(e.axisPointer,"label"))}))})),o(p(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;h(t,"axisLabel"),h(t&&t.axisPointer,"label")})),o(p(e.calendar),(function(e){u(e,"itemStyle"),h(e,"dayLabel"),h(e,"monthLabel"),h(e,"yearLabel")})),o(p(e.radar),(function(e){h(e,"name")})),o(p(e.geo),(function(e){a(e)&&(d(e),o(p(e.regions),(function(e){d(e)})))})),o(p(e.timeline),(function(e){d(e),u(e,"label"),u(e,"itemStyle"),u(e,"controlStyle",!0);var t=e.data;i.isArray(t)&&i.each(t,(function(e){i.isObject(e)&&(u(e,"label"),u(e,"itemStyle"))}))})),o(p(e.toolbox),(function(e){u(e,"iconStyle"),o(e.feature,(function(e){u(e,"iconStyle")}))})),h(g(e.axisPointer),"label"),h(g(e.tooltip).axisPointer,"label")}e.exports=m},59176:function(e){function t(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var i=e.getData();i.filterSelf((function(e){for(var t=i.getName(e),r=0;r<n.length;r++)if(!n[r].isSelected(t))return!1;return!0}))}}}}e.exports=t},74089:function(e){var t={average:function(e){for(var t=0,n=0,i=0;i<e.length;i++)isNaN(e[i])||(t+=e[i],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},n=function(e,t){return Math.round(e.length/2)};function i(e){return{seriesType:e,modifyOutputEnd:!0,reset:function(e,i,r){var o=e.getData(),a=e.get("sampling"),s=e.coordinateSystem;if("cartesian2d"===s.type&&a){var l,u=s.getBaseAxis(),c=s.getOtherAxis(u),h=u.getExtent(),d=Math.abs(h[1]-h[0]),f=Math.round(o.count()/d);if(f>1)"string"===typeof a?l=t[a]:"function"===typeof a&&(l=a),l&&e.setData(o.downSample(o.mapDimension(c.dim),1/f,l,n))}}}}e.exports=i},3133:function(e,t,n){n(57658);var i=n(63122),r=i.createHashMap,o=i.each;function a(e){var t=r();e.eachSeries((function(e){var n=e.get("stack");if(n){var i=t.get(n)||t.set(n,[]),r=e.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),t.each(s)}function s(e){o(e,(function(t,n){var i=[],r=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=a.map(o,(function(o,l,u){var c,h,d=a.get(t.stackedDimension,u);if(isNaN(d))return r;s?h=a.getRawIndex(u):c=a.get(t.stackedByDimension,u);for(var f=NaN,p=n-1;p>=0;p--){var g=e[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,c)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&m>0||d<=0&&m<0){d+=m,f=m;break}}}return i[0]=d,i[1]=f,i}));a.hostModel.setData(l),t.data=l}))}e.exports=a},71933:function(e,t,n){n(57658);var i=n(43789),r=n(18906),o=n(98949),a=n(28075),s=i.round,l=o.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},unionExtent:function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),l.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=a.getIntervalPrecision(e)},getTicks:function(e){var t=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!t)return o;var a=1e4;n[0]<i[0]&&(e?o.push(s(i[0]-t,r)):o.push(n[0]));var l=i[0];while(l<=i[1]){if(o.push(l),l=s(l+t,r),l===o[o.length-1])break;if(o.length>a)return[]}var u=o.length?o[o.length-1]:i[1];return n[1]>u&&(e?o.push(s(u+t,r)):o.push(n[1])),o},getMinorTicks:function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=0,u=[],c=a-s,h=c/e;while(l<e-1){var d=i.round(s+(l+1)*h);d>r[0]&&d<r[1]&&u.push(d),l++}n.push(u)}return n},getLabel:function(e,t){if(null==e)return"";var n=t&&t.precision;return null==n?n=i.getPrecisionSafe(e)||0:"auto"===n&&(n=this._intervalPrecision),e=s(e,n,!0),r.addCommas(e)},niceTicks:function(e,t,n){e=e||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=a.intervalScaleNiceTicks(i,e,t,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},niceExtent:function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=t[0];e.fixMax||(t[1]+=n/2),t[0]-=n/2}else t[1]=1;var i=t[1]-t[0];isFinite(i)||(t[0]=0,t[1]=1),this.niceTicks(e.splitNumber,e.minInterval,e.maxInterval);var r=this._interval;e.fixMin||(t[0]=s(Math.floor(t[0]/r)*r)),e.fixMax||(t[1]=s(Math.ceil(t[1]/r)*r))}});l.create=function(){return new l};var u=l;e.exports=u},70892:function(e,t,n){var i=n(63122),r=n(98949),o=n(43789),a=n(71933),s=r.prototype,l=a.prototype,u=o.getPrecisionSafe,c=o.round,h=Math.floor,d=Math.ceil,f=Math.pow,p=Math.log,g=r.extend({type:"log",base:10,$constructor:function(){r.apply(this,arguments),this._originalScale=new a},getTicks:function(e){var t=this._originalScale,n=this._extent,r=t.getExtent();return i.map(l.getTicks.call(this,e),(function(e){var i=o.round(f(this.base,e));return i=e===n[0]&&t.__fixMin?m(i,r[0]):i,i=e===n[1]&&t.__fixMax?m(i,r[1]):i,i}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(e){return e=s.scale.call(this,e),f(this.base,e)},setExtent:function(e,t){var n=this.base;e=p(e)/p(n),t=p(t)/p(n),l.setExtent.call(this,e,t)},getExtent:function(){var e=this.base,t=s.getExtent.call(this);t[0]=f(e,t[0]),t[1]=f(e,t[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(t[0]=m(t[0],i[0])),n.__fixMax&&(t[1]=m(t[1],i[1])),t},unionExtent:function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=p(e[0])/p(t),e[1]=p(e[1])/p(t),s.unionExtent.call(this,e)},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},niceTicks:function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var i=o.quantity(n),r=e/n*i;r<=.5&&(i*=10);while(!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0)i*=10;var a=[o.round(d(t[0]/i)*i),o.round(h(t[1]/i)*i)];this._interval=i,this._niceExtent=a}},niceExtent:function(e){l.niceExtent.call(this,e);var t=this._originalScale;t.__fixMin=e.fixMin,t.__fixMax=e.fixMax}});function m(e,t){return c(e,u(t))}i.each(["contain","normalize"],(function(e){g.prototype[e]=function(t){return t=p(t)/p(this.base),s[e].call(this,t)}})),g.create=function(){return new g};var v=g;e.exports=v},92315:function(e,t,n){n(57658);var i=n(63122),r=n(98949),o=n(24381),a=r.prototype,s=r.extend({type:"ordinal",init:function(e,t){e&&!i.isArray(e)||(e=new o({categories:e})),this._ordinalMeta=e,this._extent=t||[0,e.categories.length-1]},parse:function(e){return"string"===typeof e?this._ordinalMeta.getOrdinal(e):Math.round(e)},contain:function(e){return e=this.parse(e),a.contain.call(this,e)&&null!=this._ordinalMeta.categories[e]},normalize:function(e){return a.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(a.scale.call(this,e))},getTicks:function(){var e=[],t=this._extent,n=t[0];while(n<=t[1])e.push(n),n++;return e},getLabel:function(e){if(!this.isBlank())return this._ordinalMeta.categories[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:i.noop,niceExtent:i.noop});s.create=function(){return new s};var l=s;e.exports=l},98949:function(e,t,n){var i=n(9040);function r(e){this._setting=e||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}r.prototype.parse=function(e){return e},r.prototype.getSetting=function(e){return this._setting[e]},r.prototype.contain=function(e){var t=this._extent;return e>=t[0]&&e<=t[1]},r.prototype.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},r.prototype.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},r.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},r.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(e){this._isBlank=e},r.prototype.getLabel=null,i.enableClassExtend(r),i.enableClassManagement(r,{registerWhenExtend:!0});var o=r;e.exports=o},20821:function(e,t,n){var i=n(63122),r=n(43789),o=n(18906),a=n(28075),s=n(71933),l=s.prototype,u=Math.ceil,c=Math.floor,h=1e3,d=60*h,f=60*d,p=24*f,g=function(e,t,n,i){while(n<i){var r=n+i>>>1;e[r][1]<t?n=r+1:i=r}return n},m=s.extend({type:"time",getLabel:function(e){var t=this._stepLvl,n=new Date(e);return o.formatTime(t[0],n,this.getSetting("useUTC"))},niceExtent:function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=p,t[1]+=p),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-p}this.niceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=r.round(c(t[0]/i)*i)),e.fixMax||(t[1]=r.round(u(t[1]/i)*i))},niceTicks:function(e,t,n){e=e||10;var i=this._extent,o=i[1]-i[0],s=o/e;null!=t&&s<t&&(s=t),null!=n&&s>n&&(s=n);var l=v.length,h=g(v,s,0,l),d=v[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=o/f,m=r.nice(p/e,!0);f*=m}var y=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,b=[Math.round(u((i[0]-y)/f)*f+y),Math.round(c((i[1]-y)/f)*f+y)];a.fixExtent(b,i),this._stepLvl=d,this._interval=f,this._niceExtent=b},parse:function(e){return+r.parseDate(e)}});i.each(["contain","normalize"],(function(e){m.prototype[e]=function(t){return l[e].call(this,this.parse(t))}}));var v=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];m.create=function(e){return new m({useUTC:e.ecModel.get("useUTC")})};var y=m;e.exports=y},28075:function(e,t,n){var i=n(43789),r=i.round;function o(e,t,n,o){var s={},u=e[1]-e[0],c=s.interval=i.nice(u/t,!0);null!=n&&c<n&&(c=s.interval=n),null!=o&&c>o&&(c=s.interval=o);var h=s.intervalPrecision=a(c),d=s.niceTickExtent=[r(Math.ceil(e[0]/c)*c,h),r(Math.floor(e[1]/c)*c,h)];return l(d,e),s}function a(e){return i.getPrecisionSafe(e)+2}function s(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function l(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),s(e,0,t),s(e,1,t),e[0]>e[1]&&(e[0]=e[1])}t.intervalScaleNiceTicks=o,t.getIntervalPrecision=a,t.fixExtent=l},83263:function(e,t,n){var i=n(63122),r=i.each,o=i.map,a=i.isFunction,s=i.createHashMap,l=i.noop,u=n(80928),c=u.createTask,h=n(6106),d=h.getUID,f=n(94115),p=n(40213),g=n(46458),m=g.normalizeToArray;function v(e,t,n,i){this.ecInstance=e,this.api=t,this.unfinished;n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice();this._allHandlers=n.concat(i),this._stageTaskMap=s()}var y=v.prototype;function b(e,t,n,i,o){var a;function s(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}o=o||{},r(t,(function(t,r){if(!o.visualType||o.visualType===t.visualType){var l=e._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each((function(e){s(o,e)&&(e.dirty(),h=!0)})),h&&c.dirty(),x(c,i);var f=e.getPerformArgs(c,o.block);d.each((function(e){e.perform(f)})),a|=c.perform(f)}else u&&u.each((function(r,l){s(o,r)&&r.dirty();var u=e.getPerformArgs(r,o.block);u.skip=!t.performRawSeries&&n.isSeriesFiltered(r.context.model),x(r,i),a|=r.perform(u)}))}})),e.unfinished|=a}y.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},y.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),i=n.context,r=!t&&n.progressiveEnabled&&(!i||i.progressiveRender)&&e.__idxInPipeline>n.blockIndex,o=r?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},y.getPipeline=function(e){return this._pipelineMap.get(e)},y.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),i=e.getData(),r=i.count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&r>=n.threshold,a=e.get("large")&&r>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?r:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},y.restorePipelines=function(e){var t=this,n=t._pipelineMap=s();e.eachSeries((function(e){var i=e.getProgressive(),r=e.uid;n.set(r,{id:r,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:i&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),I(t,e,e.dataTask)}))},y.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.ecInstance.getModel(),n=this.api;r(this._allHandlers,(function(i){var r=e.get(i.uid)||e.set(i.uid,[]);i.reset&&_(this,i,r,t,n),i.overallReset&&w(this,i,r,t,n)}),this)},y.prepareView=function(e,t,n,i){var r=e.renderTask,o=r.context;o.model=t,o.ecModel=n,o.api=i,r.__block=!e.incrementalPrepareRender,I(this,t,r)},y.performDataProcessorTasks=function(e,t){b(this,this._dataProcessorHandlers,e,t,{block:!0})},y.performVisualTasks=function(e,t,n){b(this,this._visualHandlers,e,t,n)},y.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t|=e.dataTask.perform()})),this.unfinished|=t},y.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))};var x=y.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)};function _(e,t,n,i,r){var o=n.seriesTaskMap||(n.seriesTaskMap=s()),a=t.seriesType,l=t.getTargetSeries;function u(n){var a=n.uid,s=o.get(a)||o.set(a,c({plan:T,reset:E,count:O}));s.context={model:n,ecModel:i,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:e},I(e,n,s)}t.createOnAllSeries?i.eachRawSeries(u):a?i.eachRawSeriesByType(a,u):l&&l(i,r).each(u);var h=e._pipelineMap;o.each((function(e,t){h.get(t)||(e.dispose(),o.removeKey(t))}))}function w(e,t,n,i,o){var a=n.overallTask=n.overallTask||c({reset:C});a.context={ecModel:i,api:o,overallReset:t.overallReset,scheduler:e};var l=a.agentStubMap=a.agentStubMap||s(),u=t.seriesType,h=t.getTargetSeries,d=!0,f=t.modifyOutputEnd;function p(t){var n=t.uid,i=l.get(n);i||(i=l.set(n,c({reset:S,onDirty:M})),a.dirty()),i.context={model:t,overallProgress:d,modifyOutputEnd:f},i.agent=a,i.__block=d,I(e,t,i)}u?i.eachRawSeriesByType(u,p):h?h(i,o).each(p):(d=!1,r(i.getSeries(),p));var g=e._pipelineMap;l.each((function(e,t){g.get(t)||(e.dispose(),a.dirty(),l.removeKey(t))}))}function C(e){e.overallReset(e.ecModel,e.api,e.payload)}function S(e,t){return e.overallProgress&&k}function k(){this.agent.dirty(),this.getDownstream().dirty()}function M(){this.agent&&this.agent.dirty()}function T(e){return e.plan&&e.plan(e.model,e.ecModel,e.api,e.payload)}function E(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=m(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?o(t,(function(e,t){return P(t)})):D}var D=P(0);function P(e){return function(t,n){var i=n.data,r=n.resetDefines[e];if(r&&r.dataEach)for(var o=t.start;o<t.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(t,i)}}function O(e){return e.data.count()}function I(e,t,n){var i=t.uid,r=e._pipelineMap.get(i);!r.head&&(r.head=n),r.tail&&r.tail.pipe(n),r.tail=n,n.__idxInPipeline=r.count++,n.__pipeline=r}function A(e){L=null;try{e(N,R)}catch(t){}return L}v.wrapStageHandler=function(e,t){return a(e)&&(e={overallReset:e,seriesType:A(e)}),e.uid=d("stageHandler"),t&&(e.visualType=t),e};var L,N={},R={};function z(e,t){for(var n in t.prototype)e[n]=l}z(N,f),z(R,p),N.eachSeriesByType=N.eachRawSeriesByType=function(e){L=e},N.eachComponent=function(e){"series"===e.mainType&&e.subType&&(L=e.subType)};var $=v;e.exports=$},80928:function(e,t,n){var i=n(63122),r=(i.assert,i.isArray),o=n(49648);o.__DEV__;function a(e){return new s(e)}function s(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(e){var t,n=this._upstream,i=e&&e.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(t=this._plan(this.context));var a,s=f(this._modBy),l=this._modDataCount||0,u=f(e&&e.modBy),d=e&&e.modDataCount||0;function f(e){return!(e>=1)&&(e=1),e}s===u&&l===d||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,a=h(this,i)),this._modBy=u,this._modDataCount=d;var p=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,m=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!i&&(a||g<m)){var v=this._progress;if(r(v))for(var y=0;y<v.length;y++)c(this,v[y],g,m,u,d);else c(this,v,g,m,u,d)}this._dueIndex=m;var b=null!=this._settedOutputEnd?this._settedOutputEnd:m;this._outputDueEnd=b}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var u=function(){var e,t,n,i,r,o={reset:function(l,u,c,h){t=l,e=u,n=c,i=h,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var o=t%r*n+Math.ceil(t/r),a=t>=e?null:o<i?o:t;return t++,a}}();function c(e,t,n,i,r,o){u.reset(n,i,r,o),e._callingProgress=t,e._callingProgress({start:n,end:i,count:i-n,next:u.next},e.context)}function h(e,t){var n,i;e._dueIndex=e._outputDueEnd=e._dueEnd=0,e._settedOutputEnd=null,!t&&e._reset&&(n=e._reset(e.context),n&&n.progress&&(i=n.forceFirstProgress,n=n.progress),r(n)&&!n.length&&(n=null)),e._progress=n,e._modBy=e._modDataCount=null;var o=e._downstream;return o&&o.dirty(),i}l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},l.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},t.createTask=a},9259:function(e){var t="#eee",n=function(){return{axisLine:{lineStyle:{color:t}},axisTick:{lineStyle:{color:t}},axisLabel:{textStyle:{color:t}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:t}}}},i=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],r={color:i,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:t},crossStyle:{color:t},label:{color:"#000"}}},legend:{textStyle:{color:t}},textStyle:{color:t},title:{textStyle:{color:t}},toolbox:{iconStyle:{normal:{borderColor:t}}},dataZoom:{textStyle:{color:t}},visualMap:{textStyle:{color:t}},timeline:{lineStyle:{color:t},itemStyle:{normal:{color:i[1]}},label:{normal:{textStyle:{color:t}}},controlStyle:{normal:{color:t,borderColor:t}}},timeAxis:n(),logAxis:n(),valueAxis:n(),categoryAxis:n(),line:{symbol:"circle"},graph:{color:i},gauge:{title:{textStyle:{color:t}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};r.categoryAxis.splitLine.show=!1;var o=r;e.exports=o},60725:function(e){var t=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],n={color:t,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t]};e.exports=n},89760:function(e,t,n){n(57658);var i=n(63122);function r(){var e,t=[],n={};return{add:function(e,r,o,a,s){return i.isString(a)&&(s=a,a=0),!n[e.id]&&(n[e.id]=1,t.push({el:e,target:r,time:o,delay:a,easing:s}),!0)},done:function(t){return e=t,this},start:function(){for(var i=t.length,r=0,o=t.length;r<o;r++){var a=t[r];a.el.animateTo(a.target,a.time,a.delay,a.easing,s)}return this;function s(){i--,i||(t.length=0,n={},e&&e())}}}}t.createWrap=r},9040:function(e,t,n){n(57658);var i=n(49648),r=(i.__DEV__,n(63122)),o=".",a="___EC__COMPONENT__CONTAINER___";function s(e){var t={main:"",sub:""};return e&&(e=e.split(o),t.main=e[0]||"",t.sub=e[1]||""),t}function l(e){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function u(e,t){e.$constructor=e,e.extend=function(e){var t=this,n=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return r.extend(n.prototype,e),n.extend=this.extend,n.superCall=d,n.superApply=f,r.inherits(n,this),n.superClass=t,n}}var c=0;function h(e){var t=["__\0is_clz",c++,Math.random().toFixed(3)].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function d(e,t){var n=r.slice(arguments,2);return this.superClass.prototype[t].apply(e,n)}function f(e,t,n){return this.superClass.prototype[t].apply(e,n)}function p(e,t){t=t||{};var n={};function i(e){var t=n[e.main];return t&&t[a]||(t=n[e.main]={},t[a]=!0),t}if(e.registerClass=function(e,t){if(t)if(l(t),t=s(t),t.sub){if(t.sub!==a){var r=i(t);r[t.sub]=e}}else n[t.main]=e;return e},e.getClass=function(e,t,i){var r=n[e];if(r&&r[a]&&(r=t?r[t]:null),i&&!r)throw new Error(t?"Component "+e+"."+(t||"")+" not exists. Load it first.":e+".type should be specified.");return r},e.getClassesByMainType=function(e){e=s(e);var t=[],i=n[e.main];return i&&i[a]?r.each(i,(function(e,n){n!==a&&t.push(e)})):t.push(i),t},e.hasClass=function(e){return e=s(e),!!n[e.main]},e.getAllClassMainTypes=function(){var e=[];return r.each(n,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){e=s(e);var t=n[e.main];return t&&t[a]},e.parseClassType=s,t.registerWhenExtend){var o=e.extend;o&&(e.extend=function(t){var n=o.call(this,t);return e.registerClass(n,t.type)})}return e}function g(e,t){}t.parseClassType=s,t.enableClassExtend=u,t.enableClassCheck=h,t.enableClassManagement=p,t.setReadOnly=g},6106:function(e,t,n){n(57658);var i=n(63122),r=n(9040),o=r.parseClassType,a=0;function s(e){return[e||"",a++,Math.random().toFixed(5)].join("_")}function l(e){var t={};return e.registerSubTypeDefaulter=function(e,n){e=o(e),t[e.main]=n},e.determineSubType=function(n,i){var r=i.type;if(!r){var a=o(n).main;e.hasSubTypes(n)&&t[a]&&(r=t[a](i))}return r},e}function u(e,t){function n(e){var n={},a=[];return i.each(e,(function(s){var l=r(n,s),u=l.originalDeps=t(s),c=o(u,e);l.entryCount=c.length,0===l.entryCount&&a.push(s),i.each(c,(function(e){i.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=r(n,e);i.indexOf(t.successor,e)<0&&t.successor.push(s)}))})),{graph:n,noEntryList:a}}function r(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function o(e,t){var n=[];return i.each(e,(function(e){i.indexOf(t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,r,o){if(e.length){var a=n(t),s=a.graph,l=a.noEntryList,u={};i.each(e,(function(e){u[e]=!0}));while(l.length){var c=l.pop(),h=s[c],d=!!u[c];d&&(r.call(o,c,h.originalDeps.slice()),delete u[c]),i.each(h.successor,d?p:f)}i.each(u,(function(){throw new Error("Circle dependency may exists")}))}function f(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){u[e]=!0,f(e)}}}t.getUID=s,t.enableSubTypeDefaulter=l,t.enableTopologicalTravel=u},18906:function(e,t,n){var i=n(63122),r=n(2278),o=n(43789);function a(e){return isNaN(e)?"-":(e=(e+"").split("."),e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:""))}function s(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var l=i.normalizeCssArray,u=/([&<>"'])/g,c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function h(e){return null==e?"":(e+"").replace(u,(function(e,t){return c[t]}))}var d=["a","b","c","d","e","f","g"],f=function(e,t){return"{"+e+(null==t?"":t)+"}"};function p(e,t,n){i.isArray(t)||(t=[t]);var r=t.length;if(!r)return"";for(var o=t[0].$vars||[],a=0;a<o.length;a++){var s=d[a];e=e.replace(f(s),f(s,0))}for(var l=0;l<r;l++)for(var u=0;u<o.length;u++){var c=t[l][o[u]];e=e.replace(f(d[u],l),n?h(c):c)}return e}function g(e,t,n){return i.each(t,(function(t,i){e=e.replace("{"+i+"}",n?h(t):t)})),e}function m(e,t){e=i.isString(e)?{color:e,extraCssText:t}:e||{};var n=e.color,r=e.type,o=(t=e.extraCssText,e.renderMode||"html"),a=e.markerId||"X";return n?"html"===o?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+h(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+h(n)+";"+(t||"")+'"></span>':{renderMode:o,content:"{marker"+a+"|} ",style:{color:n}}:""}function v(e,t){return e+="","0000".substr(0,t-e.length)+e}function y(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var i=o.parseDate(t),r=n?"UTC":"",a=i["get"+r+"FullYear"](),s=i["get"+r+"Month"]()+1,l=i["get"+r+"Date"](),u=i["get"+r+"Hours"](),c=i["get"+r+"Minutes"](),h=i["get"+r+"Seconds"](),d=i["get"+r+"Milliseconds"]();return e=e.replace("MM",v(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",v(l,2)).replace("d",l).replace("hh",v(u,2)).replace("h",u).replace("mm",v(c,2)).replace("m",c).replace("ss",v(h,2)).replace("s",h).replace("SSS",v(d,3)),e}function b(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}var x=r.truncateText;function _(e){return r.getBoundingRect(e.text,e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich,e.truncate)}function w(e,t,n,i,o,a,s,l){return r.getBoundingRect(e,t,n,i,o,l,a,s)}function C(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location=e}else window.open(e,t)}t.addCommas=a,t.toCamelCase=s,t.normalizeCssArray=l,t.encodeHTML=h,t.formatTpl=p,t.formatTplSimple=g,t.getTooltipMarker=m,t.formatTime=y,t.capitalFirst=b,t.truncateText=x,t.getTextBoundingRect=_,t.getTextRect=w,t.windowOpen=C},20594:function(e,t,n){var i=n(63122),r=n(74315),o=n(7471),a=n(97333),s=n(78244),l=n(73477),u=n(71082),c=n(45474);t.Image=c;var h=n(79116);t.Group=h;var d=n(84845);t.Text=d;var f=n(96005);t.Circle=f;var p=n(71812);t.Sector=p;var g=n(66405);t.Ring=g;var m=n(83286);t.Polygon=m;var v=n(23074);t.Polyline=v;var y=n(58195);t.Rect=y;var b=n(22923);t.Line=b;var x=n(73030);t.BezierCurve=x;var _=n(46941);t.Arc=_;var w=n(71179);t.CompoundPath=w;var C=n(48515);t.LinearGradient=C;var S=n(58581);t.RadialGradient=S;var k=n(46630);t.BoundingRect=k;var M=n(36418);t.IncrementalDisplayable=M;var T=n(88645),E=Math.max,D=Math.min,P={},O=1,I={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},A="emphasis",L="normal",N=1,R={},z={};function $(e){return l.extend(e)}function B(e,t){return r.extendFromString(e,t)}function F(e,t){z[e]=t}function j(e){if(z.hasOwnProperty(e))return z[e]}function V(e,t,n,i){var o=r.createFromString(e,t);return n&&("center"===i&&(n=W(n,o.getBoundingRect())),q(o,n)),o}function H(e,t,n){var i=new c({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var r={width:e.width,height:e.height};i.setStyle(W(t,r))}}});return i}function W(e,t){var n,i=t.width/t.height,r=e.height*i;r<=e.width?n=e.height:(r=e.width,n=r/i);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-r/2,y:a-n/2,width:r,height:n}}var G=r.mergePath;function q(e,t){if(e.applyTransform){var n=e.getBoundingRect(),i=n.calculateTransform(t);e.applyTransform(i)}}function U(e){return T.subPixelOptimizeLine(e.shape,e.shape,e.style),e}function Y(e){return T.subPixelOptimizeRect(e.shape,e.shape,e.style),e}var X=T.subPixelOptimize;function Z(e){return null!=e&&"none"!==e}var K=i.createHashMap(),Q=0;function J(e){if("string"!==typeof e)return e;var t=K.get(e);return t||(t=o.lift(e,-.1),Q<1e4&&(K.set(e,t),Q++)),t}function ee(e){if(e.__hoverStlDirty){e.__hoverStlDirty=!1;var t=e.__hoverStl;if(t){var n=e.__cachedNormalStl={};e.__cachedNormalZ2=e.z2;var i=e.style;for(var r in t)null!=t[r]&&(n[r]=i[r]);n.fill=i.fill,n.stroke=i.stroke}else e.__cachedNormalStl=e.__cachedNormalZ2=null}}function te(e){var t=e.__hoverStl;if(t&&!e.__highlighted){var n=e.__zr,i=e.useHoverLayer&&n&&"canvas"===n.painter.type;if(e.__highlighted=i?"layer":"plain",!(e.isGroup||!n&&e.useHoverLayer)){var r=e,o=e.style;i&&(r=n.addHover(e),o=r.style),Se(o),i||ee(r),o.extendFrom(t),ne(o,t,"fill"),ne(o,t,"stroke"),Ce(o),i||(e.dirty(!1),e.z2+=O)}}}function ne(e,t,n){!Z(t[n])&&Z(e[n])&&(e[n]=J(e[n]))}function ie(e){var t=e.__highlighted;if(t&&(e.__highlighted=!1,!e.isGroup))if("layer"===t)e.__zr&&e.__zr.removeHover(e);else{var n=e.style,i=e.__cachedNormalStl;i&&(Se(n),e.setStyle(i),Ce(n));var r=e.__cachedNormalZ2;null!=r&&e.z2-r===O&&(e.z2=r)}}function re(e,t,n){var i,r=L,o=L;e.__highlighted&&(r=A,i=!0),t(e,n),e.__highlighted&&(o=A,i=!0),e.isGroup&&e.traverse((function(e){!e.isGroup&&t(e,n)})),i&&e.__highDownOnUpdate&&e.__highDownOnUpdate(r,o)}function oe(e,t){t=e.__hoverStl=!1!==t&&(e.hoverStyle||t||{}),e.__hoverStlDirty=!0,e.__highlighted&&(e.__cachedNormalStl=null,ie(e),te(e))}function ae(e){!ce(this,e)&&!this.__highByOuter&&re(this,te)}function se(e){!ce(this,e)&&!this.__highByOuter&&re(this,ie)}function le(e){this.__highByOuter|=1<<(e||0),re(this,te)}function ue(e){!(this.__highByOuter&=~(1<<(e||0)))&&re(this,ie)}function ce(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function he(e,t){de(e,!0),re(e,oe,t)}function de(e,t){var n=!1===t;if(e.__highDownSilentOnTouch=e.highDownSilentOnTouch,e.__highDownOnUpdate=e.highDownOnUpdate,!n||e.__highDownDispatcher){var i=n?"off":"on";e[i]("mouseover",ae)[i]("mouseout",se),e[i]("emphasis",le)[i]("normal",ue),e.__highByOuter=e.__highByOuter||0,e.__highDownDispatcher=!n}}function fe(e){return!(!e||!e.__highDownDispatcher)}function pe(e){var t=R[e];return null==t&&N<=32&&(t=R[e]=N++),t}function ge(e,t,n,r,o,a,s){o=o||P;var l,u=o.labelFetcher,c=o.labelDataIndex,h=o.labelDimIndex,d=o.labelProp,f=n.getShallow("show"),p=r.getShallow("show");(f||p)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h,d)),null==l&&(l=i.isFunction(o.defaultText)?o.defaultText(c,o):o.defaultText));var g=f?l:null,m=p?i.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h,d):null,l):null;null==g&&null==m||(ve(e,n,a,o),ve(t,r,s,o,!0)),e.text=g,t.text=m}function me(e,t,n){var r=e.style;t&&(Se(r),e.setStyle(t),Ce(r)),r=e.__hoverStl,n&&r&&(Se(r),i.extend(r,n),Ce(r))}function ve(e,t,n,r,o){return be(e,t,r,o),n&&i.extend(e,n),e}function ye(e,t,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,be(e,t,r,i)}function be(e,t,n,r){if(n=n||P,n.isRectText){var o;n.getTextPosition?o=n.getTextPosition(t,r):(o=t.getShallow("position")||(r?null:"inside"),"outside"===o&&(o="top")),e.textPosition=o,e.textOffset=t.getShallow("offset");var a=t.getShallow("rotate");null!=a&&(a*=Math.PI/180),e.textRotation=a,e.textDistance=i.retrieve2(t.getShallow("distance"),r?null:5)}var s,l=t.ecModel,u=l&&l.option.textStyle,c=xe(t);if(c)for(var h in s={},c)if(c.hasOwnProperty(h)){var d=t.getModel(["rich",h]);_e(s[h]={},d,u,n,r)}return e.rich=s,_e(e,t,u,n,r,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),e}function xe(e){var t;while(e&&e!==e.ecModel){var n=(e.option||P).rich;if(n)for(var i in t=t||{},n)n.hasOwnProperty(i)&&(t[i]=1);e=e.parentModel}return t}function _e(e,t,n,r,o,a){n=!o&&n||P,e.textFill=we(t.getShallow("color"),r)||n.color,e.textStroke=we(t.getShallow("textBorderColor"),r)||n.textBorderColor,e.textStrokeWidth=i.retrieve2(t.getShallow("textBorderWidth"),n.textBorderWidth),o||(a&&(e.insideRollbackOpt=r,Ce(e)),null==e.textFill&&(e.textFill=r.autoColor)),e.fontStyle=t.getShallow("fontStyle")||n.fontStyle,e.fontWeight=t.getShallow("fontWeight")||n.fontWeight,e.fontSize=t.getShallow("fontSize")||n.fontSize,e.fontFamily=t.getShallow("fontFamily")||n.fontFamily,e.textAlign=t.getShallow("align"),e.textVerticalAlign=t.getShallow("verticalAlign")||t.getShallow("baseline"),e.textLineHeight=t.getShallow("lineHeight"),e.textWidth=t.getShallow("width"),e.textHeight=t.getShallow("height"),e.textTag=t.getShallow("tag"),a&&r.disableBox||(e.textBackgroundColor=we(t.getShallow("backgroundColor"),r),e.textPadding=t.getShallow("padding"),e.textBorderColor=we(t.getShallow("borderColor"),r),e.textBorderWidth=t.getShallow("borderWidth"),e.textBorderRadius=t.getShallow("borderRadius"),e.textBoxShadowColor=t.getShallow("shadowColor"),e.textBoxShadowBlur=t.getShallow("shadowBlur"),e.textBoxShadowOffsetX=t.getShallow("shadowOffsetX"),e.textBoxShadowOffsetY=t.getShallow("shadowOffsetY")),e.textShadowColor=t.getShallow("textShadowColor")||n.textShadowColor,e.textShadowBlur=t.getShallow("textShadowBlur")||n.textShadowBlur,e.textShadowOffsetX=t.getShallow("textShadowOffsetX")||n.textShadowOffsetX,e.textShadowOffsetY=t.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function we(e,t){return"auto"!==e?e:t&&t.autoColor?t.autoColor:null}function Ce(e){var t,n=e.textPosition,i=e.insideRollbackOpt;if(i&&null==e.textFill){var r=i.autoColor,o=i.isRectText,a=i.useInsideStyle,s=!1!==a&&(!0===a||o&&n&&"string"===typeof n&&n.indexOf("inside")>=0),l=!s&&null!=r;(s||l)&&(t={textFill:e.textFill,textStroke:e.textStroke,textStrokeWidth:e.textStrokeWidth}),s&&(e.textFill="#fff",null==e.textStroke&&(e.textStroke=r,null==e.textStrokeWidth&&(e.textStrokeWidth=2))),l&&(e.textFill=r)}e.insideRollback=t}function Se(e){var t=e.insideRollback;t&&(e.textFill=t.textFill,e.textStroke=t.textStroke,e.textStrokeWidth=t.textStrokeWidth,e.insideRollback=null)}function ke(e,t){var n=t&&t.getModel("textStyle");return i.trim([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}function Me(e,t,n,i,r,o){"function"===typeof r&&(o=r,r=null);var a=i&&i.isAnimationEnabled();if(a){var s=e?"Update":"",l=i.getShallow("animationDuration"+s),u=i.getShallow("animationEasing"+s),c=i.getShallow("animationDelay"+s);"function"===typeof c&&(c=c(r,i.getAnimationDelayParams?i.getAnimationDelayParams(t,r):null)),"function"===typeof l&&(l=l(r)),l>0?t.animateTo(n,l,c||0,u,o,!!o):(t.stopAnimation(),t.attr(n),o&&o())}else t.stopAnimation(),t.attr(n),o&&o()}function Te(e,t,n,i,r){Me(!0,e,t,n,i,r)}function Ee(e,t,n,i,r){Me(!1,e,t,n,i,r)}function De(e,t){var n=a.identity([]);while(e&&e!==t)a.mul(n,e.getLocalTransform(),n),e=e.parent;return n}function Pe(e,t,n){return t&&!i.isArrayLike(t)&&(t=u.getLocalTransform(t)),n&&(t=a.invert([],t)),s.applyTransform([],e,t)}function Oe(e,t,n){var i=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),r=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-i:"right"===e?i:0,"top"===e?-r:"bottom"===e?r:0];return o=Pe(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Ie(e,t,n,r){if(e&&t){var o=a(e);t.traverse((function(e){if(!e.isGroup&&e.anid){var t=o[e.anid];if(t){var i=l(e);e.attr(l(t)),Te(e,i,n,e.dataIndex)}}}))}function a(e){var t={};return e.traverse((function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)})),t}function l(e){var t={position:s.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=i.extend({},e.shape)),t}}function Ae(e,t){return i.map(e,(function(e){var n=e[0];n=E(n,t.x),n=D(n,t.x+t.width);var i=e[1];return i=E(i,t.y),i=D(i,t.y+t.height),[n,i]}))}function Le(e,t){var n=E(e.x,t.x),i=D(e.x+e.width,t.x+t.width),r=E(e.y,t.y),o=D(e.y+e.height,t.y+t.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Ne(e,t,n){t=i.extend({rectHover:!0},t);var r=t.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(r.image=e.slice(8),i.defaults(r,n),new c(t)):V(e.replace("path://",""),t,n,"center")}function Re(e,t,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(ze(e,t,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function ze(e,t,n,i,r,o,a,s){var l=n-e,u=i-t,c=a-r,h=s-o,d=$e(c,h,l,u);if(Be(d))return!1;var f=e-r,p=t-o,g=$e(f,p,l,u)/d;if(g<0||g>1)return!1;var m=$e(f,p,c,h)/d;return!(m<0||m>1)}function $e(e,t,n,i){return e*i-n*t}function Be(e){return e<=1e-6&&e>=-1e-6}F("circle",f),F("sector",p),F("ring",g),F("polygon",m),F("polyline",v),F("rect",y),F("line",b),F("bezierCurve",x),F("arc",_),t.Z2_EMPHASIS_LIFT=O,t.CACHED_LABEL_STYLE_PROPERTIES=I,t.extendShape=$,t.extendPath=B,t.registerShape=F,t.getShapeClass=j,t.makePath=V,t.makeImage=H,t.mergePath=G,t.resizePath=q,t.subPixelOptimizeLine=U,t.subPixelOptimizeRect=Y,t.subPixelOptimize=X,t.setElementHoverStyle=oe,t.setHoverStyle=he,t.setAsHighDownDispatcher=de,t.isHighDownDispatcher=fe,t.getHighlightDigit=pe,t.setLabelStyle=ge,t.modifyLabelStyle=me,t.setTextStyle=ve,t.setText=ye,t.getFont=ke,t.updateProps=Te,t.initProps=Ee,t.getTransform=De,t.applyTransform=Pe,t.transformDirection=Oe,t.groupTransition=Ie,t.clipPointsByRect=Ae,t.clipRectByRect=Le,t.createIcon=Ne,t.linePolygonIntersect=Re,t.lineLineIntersect=ze},7928:function(e,t,n){var i=n(63122),r=n(46630),o=n(43789),a=o.parsePercent,s=n(18906),l=i.each,u=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function h(e,t,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;t.eachChild((function(l,u){var c,h,d=l.position,f=l.getBoundingRect(),p=t.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===e){var m=f.width+(g?-g.x+f.x:0);c=o+m,c>i||l.newline?(o=0,c=m,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);h=a+v,h>r||l.newline?(o+=s+n,a=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=o,d[1]=a,"horizontal"===e?o=c+n:a=h+n)}))}var d=h,f=i.curry(h,"vertical"),p=i.curry(h,"horizontal");function g(e,t,n){var i=t.width,r=t.height,o=a(e.x,i),l=a(e.y,r),u=a(e.x2,i),c=a(e.y2,r);return(isNaN(o)||isNaN(parseFloat(e.x)))&&(o=0),(isNaN(u)||isNaN(parseFloat(e.x2)))&&(u=i),(isNaN(l)||isNaN(parseFloat(e.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(e.y2)))&&(c=r),n=s.normalizeCssArray(n||0),{width:Math.max(u-o-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function m(e,t,n){n=s.normalizeCssArray(n||0);var i=t.width,o=t.height,l=a(e.left,i),u=a(e.top,o),c=a(e.right,i),h=a(e.bottom,o),d=a(e.width,i),f=a(e.height,o),p=n[2]+n[0],g=n[1]+n[3],m=e.aspect;switch(isNaN(d)&&(d=i-c-g-l),isNaN(f)&&(f=o-h-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>i/o?d=.8*i:f=.8*o),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=i-c-d-g),isNaN(u)&&(u=o-h-f-p),e.left||e.right){case"center":l=i/2-d/2-n[3];break;case"right":l=i-d-g;break}switch(e.top||e.bottom){case"middle":case"center":u=o/2-f/2-n[0];break;case"bottom":u=o-f-p;break}l=l||0,u=u||0,isNaN(d)&&(d=i-g-l-(c||0)),isNaN(f)&&(f=o-p-u-(h||0));var v=new r(l+n[3],u+n[0],d,f);return v.margin=n,v}function v(e,t,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===e.type?new r(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(c=e.getBoundingRect(),e.needLocalTransform()){var h=e.getLocalTransform();c=c.clone(),c.applyTransform(h)}t=m(i.defaults({width:c.width,height:c.height},t),n,o);var d=e.position,f=s?t.x-c.x:0,p=l?t.y-c.y:0;e.attr("position","raw"===u?[f,p]:[d[0]+f,d[1]+p])}}function y(e,t){return null!=e[c[t][0]]||null!=e[c[t][1]]&&null!=e[c[t][2]]}function b(e,t,n){!i.isObject(n)&&(n={});var r=n.ignoreSize;!i.isArray(r)&&(r=[r,r]);var o=s(c[0],0),a=s(c[1],1);function s(n,i){var o={},a=0,s={},c=0,d=2;if(l(n,(function(t){s[t]=e[t]})),l(n,(function(e){u(t,e)&&(o[e]=s[e]=t[e]),h(o,e)&&a++,h(s,e)&&c++})),r[i])return h(t,n[1])?s[n[2]]=null:h(t,n[2])&&(s[n[1]]=null),s;if(c!==d&&a){if(a>=d)return o;for(var f=0;f<n.length;f++){var p=n[f];if(!u(o,p)&&u(e,p)){o[p]=e[p];break}}return o}return s}function u(e,t){return e.hasOwnProperty(t)}function h(e,t){return null!=e[t]&&"auto"!==e[t]}function d(e,t,n){l(e,(function(e){t[e]=n[e]}))}d(c[0],e,o),d(c[1],e,a)}function x(e){return _({},e)}function _(e,t){return t&&e&&l(u,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}t.LOCATION_PARAMS=u,t.HV_NAMES=c,t.box=d,t.vbox=f,t.hbox=p,t.getAvailableSize=g,t.getLayoutRect=m,t.positionElement=v,t.sizeCalculable=y,t.mergeLayoutParam=b,t.getLayoutParams=x,t.copyLayoutParams=_},46458:function(e,t,n){n(57658);var i=n(63122),r=n(95160),o=i.each,a=i.isObject,s=i.isArray,l="series\0";function u(e){return e instanceof Array?e:null==e?[]:[e]}function c(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var h=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function d(e){return!a(e)||s(e)||e instanceof Date?e:e.value}function f(e){return a(e)&&!(e instanceof Array)}function p(e,t){t=(t||[]).slice();var n=i.map(e||[],(function(e,t){return{exist:e}}));return o(t,(function(e,i){if(a(e)){for(var r=0;r<n.length;r++)if(!n[r].option&&null!=e.id&&n[r].exist.id===e.id+"")return n[r].option=e,void(t[i]=null);for(r=0;r<n.length;r++){var o=n[r].exist;if(!n[r].option&&(null==o.id||null==e.id)&&null!=e.name&&!v(e)&&!v(o)&&o.name===e.name+"")return n[r].option=e,void(t[i]=null)}}})),o(t,(function(e,t){if(a(e)){for(var i=0;i<n.length;i++){var r=n[i].exist;if(!n[i].option&&!v(r)&&null==e.id){n[i].option=e;break}}i>=n.length&&n.push({option:e})}})),n}function g(e){var t=i.createHashMap();o(e,(function(e,n){var i=e.exist;i&&t.set(i.id,e)})),o(e,(function(e,n){var r=e.option;i.assert(!r||null==r.id||!t.get(r.id)||t.get(r.id)===e,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&t.set(r.id,e),!e.keyInfo&&(e.keyInfo={})})),o(e,(function(e,n){var i=e.exist,r=e.option,o=e.keyInfo;if(a(r)){if(o.name=null!=r.name?r.name+"":i?i.name:l+n,i)o.id=i.id;else if(null!=r.id)o.id=r.id+"";else{var s=0;do{o.id="\0"+o.name+"\0"+s++}while(t.get(o.id))}t.set(o.id,e)}}))}function m(e){var t=e.name;return!(!t||!t.indexOf(l))}function v(e){return a(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")}function y(e,t){var n={},i={};return r(e||[],n),r(t||[],i,n),[o(n),o(i)];function r(e,t,n){for(var i=0,r=e.length;i<r;i++)for(var o=e[i].seriesId,a=u(e[i].dataIndex),s=n&&n[o],l=0,c=a.length;l<c;l++){var h=a[l];s&&s[h]?s[h]=null:(t[o]||(t[o]={}))[h]=1}}function o(e,t){var n=[];for(var i in e)if(e.hasOwnProperty(i)&&null!=e[i])if(t)n.push(+i);else{var r=o(e[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}function b(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?i.isArray(t.dataIndex)?i.map(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?i.isArray(t.name)?i.map(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function x(){var e="__\0ec_inner_"+_+++"_"+Math.random().toFixed(5);return function(t){return t[e]||(t[e]={})}}var _=0;function w(e,t,n){if(i.isString(t)){var r={};r[t+"Index"]=0,t=r}var a=n&&n.defaultMainType;!a||C(t,a+"Index")||C(t,a+"Id")||C(t,a+"Name")||(t[a+"Index"]=0);var s={};return o(t,(function(r,o){r=t[o];if("dataIndex"!==o&&"dataIndexInside"!==o){var a=o.match(/^(\w+)(Index|Id|Name)$/)||[],l=a[1],u=(a[2]||"").toLowerCase();if(!(!l||!u||null==r||"index"===u&&"none"===r||n&&n.includeMainTypes&&i.indexOf(n.includeMainTypes,l)<0)){var c={mainType:l};"index"===u&&"all"===r||(c[u]=r);var h=e.queryComponents(c);s[l+"Models"]=h,s[l+"Model"]=h[0]}}else s[o]=r})),s}function C(e,t){return e&&e.hasOwnProperty(t)}function S(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function k(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function M(e){return"auto"===e?r.domSupported?"html":"richText":e||"html"}function T(e,t){var n=i.createHashMap(),r=[];return i.each(e,(function(e){var i=t(e);(n.get(i)||(r.push(i),n.set(i,[]))).push(e)})),{keys:r,buckets:n}}t.normalizeToArray=u,t.defaultEmphasis=c,t.TEXT_STYLE_OPTIONS=h,t.getDataItemValue=d,t.isDataItemOption=f,t.mappingToExists=p,t.makeIdAndName=g,t.isNameSpecified=m,t.isIdInner=v,t.compressBatches=y,t.queryDataIndex=b,t.makeInner=x,t.parseFinder=w,t.setAttribute=S,t.getAttribute=k,t.getTooltipRenderMode=M,t.groupData=T},43789:function(e,t,n){var i=n(63122),r=1e-4;function o(e){return e.replace(/^\s+|\s+$/g,"")}function a(e,t,n,i){var r=t[1]-t[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(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/r*o+n[0]}function s(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return"string"===typeof e?o(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function l(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e}function u(e){return e.sort((function(e,t){return e-t})),e}function c(e){if(e=+e,isNaN(e))return 0;var t=1,n=0;while(Math.round(e*t)/t!==e)t*=10,n++;return n}function h(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var i=+t.slice(n+1);return i<0?-i:0}var r=t.indexOf(".");return r<0?0:t.length-1-r}function d(e,t){var n=Math.log,i=Math.LN10,r=Math.floor(n(e[1]-e[0])/i),o=Math.round(n(Math.abs(t[1]-t[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function f(e,t,n){if(!e[t])return 0;var r=i.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===r)return 0;var o=Math.pow(10,n),a=i.map(e,(function(e){return(isNaN(e)?0:e)/r*o*100})),s=100*o,l=i.map(a,(function(e){return Math.floor(e)})),u=i.reduce(l,(function(e,t){return e+t}),0),c=i.map(a,(function(e,t){return e-l[t]}));while(u<s){for(var h=Number.NEGATIVE_INFINITY,d=null,f=0,p=c.length;f<p;++f)c[f]>h&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[t]/o}var p=9007199254740991;function g(e){var t=2*Math.PI;return(e%t+t)%t}function m(e){return e>-r&&e<r}var v=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function y(e){if(e instanceof Date)return e;if("string"===typeof e){var t=v.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,+t[7]||0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,+t[7]||0)}return null==e?new Date(NaN):new Date(Math.round(e))}function b(e){return Math.pow(10,x(e))}function x(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function _(e,t){var n,i=x(e),r=Math.pow(10,i),o=e/r;return n=t?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,e=n*r,i>=-20?+e.toFixed(i<0?-i:0):e}function w(e,t){var n=(e.length-1)*t+1,i=Math.floor(n),r=+e[i-1],o=n-i;return o?r+o*(e[i]-r):r}function C(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,i=0;i<e.length;){for(var r=e[i].interval,o=e[i].close,a=0;a<2;a++)r[a]<=t&&(r[a]=t,o[a]=a?1:1-n),t=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!==1?e.splice(i,1):i++}return e;function s(e,t,n){return e.interval[n]<t.interval[n]||e.interval[n]===t.interval[n]&&(e.close[n]-t.close[n]===(n?-1:1)||!n&&s(e,t,1))}}function S(e){return e-parseFloat(e)>=0}t.linearMap=a,t.parsePercent=s,t.round=l,t.asc=u,t.getPrecision=c,t.getPrecisionSafe=h,t.getPixelPrecision=d,t.getPercentWithPrecision=f,t.MAX_SAFE_INTEGER=p,t.remRadian=g,t.isRadianAroundZero=m,t.parseDate=y,t.quantity=b,t.quantityExponent=x,t.nice=_,t.quantile=w,t.reformIntervals=C,t.isNumeric=S},78173:function(e,t,n){var i=n(20594),r=i.extendShape,o=r({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-r),s=r+a,l=t.startAngle,u=t.endAngle,c=t.clockwise,h=Math.cos(l),d=Math.sin(l),f=Math.cos(u),p=Math.sin(u),g=c?u-l<2*Math.PI:l-u<2*Math.PI;g&&(e.moveTo(h*r+n,d*r+i),e.arc(h*s+n,d*s+i,a,-Math.PI+l,l,!c)),e.arc(n,i,o,l,u,!c),e.moveTo(f*o+n,p*o+i),e.arc(f*s+n,p*s+i,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&(e.arc(n,i,r,u,l,c),e.moveTo(h*r+n,p*r+i)),e.closePath()}});e.exports=o},84682:function(e,t,n){var i=n(63122),r=n(20594),o=n(46630),a=n(2278),s=a.calculateTextPosition,l=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=t.width/2,o=t.height/2;e.moveTo(n,i-o),e.lineTo(n+r,i+o),e.lineTo(n-r,i+o),e.closePath()}}),u=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=t.width/2,o=t.height/2;e.moveTo(n,i-o),e.lineTo(n+r,i),e.lineTo(n,i+o),e.lineTo(n-r,i),e.closePath()}}),c=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,i=t.y,r=t.width/5*3,o=Math.max(r,t.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),d=Math.cos(u),f=.6*a,p=.7*a;e.moveTo(n-c,l+s),e.arc(n,l,a,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(n+c-h*f,l+s+d*f,n,i-p,n,i),e.bezierCurveTo(n,i-p,n-c+h*f,l+s+d*f,n-c,l+s),e.closePath()}}),h=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,i=t.width,r=t.x,o=t.y,a=i/3*2;e.moveTo(r,o),e.lineTo(r+a,o+n),e.lineTo(r,o+n/4*3),e.lineTo(r-a,o+n),e.lineTo(r,o),e.closePath()}}),d={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:u,pin:c,arrow:h,triangle:l},f={line:function(e,t,n,i,r){r.x1=e,r.y1=t+i/2,r.x2=e+n,r.y2=t+i/2},rect:function(e,t,n,i,r){r.x=e,r.y=t,r.width=n,r.height=i},roundRect:function(e,t,n,i,r){r.x=e,r.y=t,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(e,t,n,i,r){var o=Math.min(n,i);r.x=e,r.y=t,r.width=o,r.height=o},circle:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.r=Math.min(n,i)/2},diamond:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.width=n,r.height=i},pin:function(e,t,n,i,r){r.x=e+n/2,r.y=t+i/2,r.width=n,r.height=i},arrow:function(e,t,n,i,r){r.x=e+n/2,r.y=t+i/2,r.width=n,r.height=i},triangle:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.width=n,r.height=i}},p={};i.each(d,(function(e,t){p[t]=new e}));var g=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var i=s(e,t,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===t.textPosition&&(i.y=n.y+.4*n.height),i},buildPath:function(e,t,n){var i=t.symbolType;if("none"!==i){var r=p[i];r||(i="rect",r=p[i]),f[i](t.x,t.y,t.width,t.height,r.shape),r.buildPath(e,r.shape,n)}}});function m(e,t){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=e:this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff"):(n.fill&&(n.fill=e),n.stroke&&(n.stroke=e)),this.dirty(!1)}}function v(e,t,n,i,a,s,l){var u,c=0===e.indexOf("empty");return c&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),u=0===e.indexOf("image://")?r.makeImage(e.slice(8),new o(t,n,i,a),l?"center":"cover"):0===e.indexOf("path://")?r.makePath(e.slice(7),{},new o(t,n,i,a),l?"center":"cover"):new g({shape:{symbolType:e,x:t,y:n,width:i,height:a}}),u.__isEmptyBrush=c,u.setColor=m,u.setColor(s),u}t.createSymbol=v},14243:function(e,t){var n="\0__throttleOriginMethod",i="\0__throttleRate",r="\0__throttleType";function o(e,t,n){var i,r,o,a,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,e.apply(o,a||[])}t=t||0;var d=function(){i=(new Date).getTime(),o=this,a=arguments;var e=s||t,d=s||n;s=null,r=i-(d?l:u)-e,clearTimeout(c),d?c=setTimeout(h,e):r>=0?h():c=setTimeout(h,-r),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(e){s=e},d}function a(e,t,a,s){var l=e[t];if(l){var u=l[n]||l,c=l[r],h=l[i];if(h!==a||c!==s){if(null==a||!s)return e[t]=u;l=e[t]=o(u,a,"debounce"===s),l[n]=u,l[r]=s,l[i]=a}return l}}function s(e,t){var i=e[t];i&&i[n]&&(e[t]=i[n])}t.throttle=o,t.createOrUpdate=a,t.clear=s},65120:function(e,t,n){var i=n(63122),r=i.each,o=n(79116),a=n(6106),s=n(9040),l=n(46458),u=n(20594),c=n(80928),h=c.createTask,d=n(5491),f=l.makeInner(),p=d();function g(){this.group=new o,this.uid=a.getUID("viewChart"),this.renderTask=h({plan:b,reset:x}),this.renderTask.context={view:this}}g.prototype={type:"chart",init:function(e,t){},render:function(e,t,n,i){},highlight:function(e,t,n,i){y(e.getData(),i,"emphasis")},downplay:function(e,t,n,i){y(e.getData(),i,"normal")},remove:function(e,t){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var m=g.prototype;function v(e,t,n){if(e&&(e.trigger(t,n),e.isGroup&&!u.isHighDownDispatcher(e)))for(var i=0,r=e.childCount();i<r;i++)v(e.childAt(i),t,n)}function y(e,t,n){var i=l.queryDataIndex(e,t),o=t&&null!=t.highlightKey?u.getHighlightDigit(t.highlightKey):null;null!=i?r(l.normalizeToArray(i),(function(t){v(e.getItemGraphicEl(t),n,o)})):e.eachItemGraphicEl((function(e){v(e,n,o)}))}function b(e){return p(e.model)}function x(e){var t=e.model,n=e.ecModel,i=e.api,r=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=r&&f(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,i,r),_[l]}m.updateView=m.updateLayout=m.updateVisual=function(e,t,n,i){this.render(e,t,n,i)},s.enableClassExtend(g,["dispose"]),s.enableClassManagement(g,{registerWhenExtend:!0}),g.markUpdateMethod=function(e,t){f(e).updateMethod=t};var _={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},w=g;e.exports=w},55155:function(e,t,n){var i=n(79116),r=n(6106),o=n(9040),a=function(){this.group=new i,this.uid=r.getUID("viewComponent")};a.prototype={constructor:a,init:function(e,t){},render:function(e,t,n,i){},dispose:function(){},filterForExposedEvent:null};var s=a.prototype;s.updateView=s.updateLayout=s.updateVisual=function(e,t,n,i){},o.enableClassExtend(a),o.enableClassManagement(a,{registerWhenExtend:!0});var l=a;e.exports=l},48079:function(e){function t(e,t){this.getAllNames=function(){var e=t();return e.mapArray(e.getName)},this.containName=function(e){var n=t();return n.indexOfName(e)>=0},this.indexOfName=function(t){var n=e();return n.indexOfName(t)},this.getItemVisual=function(t,n){var i=e();return i.getItemVisual(t,n)}}var n=t;e.exports=n},81313:function(e,t,n){n(57658);var i=n(63122),r=n(7471),o=n(43789),a=o.linearMap,s=i.each,l=i.isObject,u=-1,c=function(e){var t=e.mappingMethod,n=e.type,r=this.option=i.clone(e);this.type=n,this.mappingMethod=t,this._normalizeData=C[t];var o=h[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._doMap=o._doMap[t],"piecewise"===t?(p(r),d(r)):"category"===t?r.categories?f(r):p(r,!0):(i.assert("linear"!==t||r.dataExtent),p(r))};c.prototype={constructor:c,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return i.bind(this._normalizeData,this)}};var h=c.visualHandlers={color:{applyVisual:v("color"),getColorMapper:function(){var e=this.option;return i.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),y.call(this,e)}:function(t,n,i){var o=!!i;return!n&&(t=this._normalizeData(t)),i=r.fastLerp(t,e.parsedVisual,i),o?i:r.stringify(i,"rgba")},this)},_doMap:{linear:function(e){return r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")},category:y,piecewise:function(e,t){var n=_.call(this,t);return null==n&&(n=r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:b}},colorHue:g((function(e,t){return r.modifyHSL(e,t)})),colorSaturation:g((function(e,t){return r.modifyHSL(e,null,t)})),colorLightness:g((function(e,t){return r.modifyHSL(e,null,null,t)})),colorAlpha:g((function(e,t){return r.modifyAlpha(e,t)})),opacity:{applyVisual:v("opacity"),_doMap:x([0,1])},liftZ:{applyVisual:v("liftZ"),_doMap:{linear:b,category:b,piecewise:b,fixed:b}},symbol:{applyVisual:function(e,t,n){var r=this.mapValueToVisual(e);if(i.isString(r))n("symbol",r);else if(l(r))for(var o in r)r.hasOwnProperty(o)&&n(o,r[o])},_doMap:{linear:m,category:y,piecewise:function(e,t){var n=_.call(this,t);return null==n&&(n=m.call(this,e)),n},fixed:b}},symbolSize:{applyVisual:v("symbolSize"),_doMap:x([0,1])}};function d(e){var t=e.pieceList;e.hasSpecialVisual=!1,i.each(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}function f(e){var t=e.categories,n=e.visual,r=e.categoryMap={};if(s(t,(function(e,t){r[e]=t})),!i.isArray(n)){var o=[];i.isObject(n)?s(n,(function(e,t){var n=r[t];o[null!=n?n:u]=e})):o[u]=n,n=w(e,o)}for(var a=t.length-1;a>=0;a--)null==n[a]&&(delete r[t[a]],t.pop())}function p(e,t){var n=e.visual,r=[];i.isObject(n)?s(n,(function(e){r.push(e)})):null!=n&&r.push(n);var o={color:1,symbol:1};t||1!==r.length||o.hasOwnProperty(e.type)||(r[1]=r[0]),w(e,r)}function g(e){return{applyVisual:function(t,n,i){t=this.mapValueToVisual(t),i("color",e(n("color"),t))},_doMap:x([0,1])}}function m(e){var t=this.option.visual;return t[Math.round(a(e,[0,1],[0,t.length-1],!0))]||{}}function v(e){return function(t,n,i){i(e,this.mapValueToVisual(t))}}function y(e){var t=this.option.visual;return t[this.option.loop&&e!==u?e%t.length:e]}function b(){return this.option.visual[0]}function x(e){return{linear:function(t){return a(t,e,this.option.visual,!0)},category:y,piecewise:function(t,n){var i=_.call(this,n);return null==i&&(i=a(t,e,this.option.visual,!0)),i},fixed:b}}function _(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var i=c.findPieceIndex(e,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function w(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=i.map(t,(function(e){return r.parse(e)}))),t}var C={linear:function(e){return a(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=c.findPieceIndex(e,t,!0);if(null!=n)return a(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?u:t},fixed:i.noop};function S(e,t,n){return e?t<=n:t<n}c.listVisualTypes=function(){var e=[];return i.each(h,(function(t,n){e.push(n)})),e},c.addVisualHandler=function(e,t){h[e]=t},c.isValidType=function(e){return h.hasOwnProperty(e)},c.eachVisual=function(e,t,n){i.isObject(e)?i.each(e,t,n):t.call(n,e)},c.mapVisual=function(e,t,n){var r,o=i.isArray(e)?[]:i.isObject(e)?{}:(r=!0,null);return c.eachVisual(e,(function(e,i){var a=t.call(n,e,i);r?o=a:o[i]=a})),o},c.retrieveVisuals=function(e){var t,n={};return e&&s(h,(function(i,r){e.hasOwnProperty(r)&&(n[r]=e[r],t=!0)})),t?n:null},c.prepareVisualTypes=function(e){if(l(e)){var t=[];s(e,(function(e,n){t.push(n)})),e=t}else{if(!i.isArray(e))return[];e=e.slice()}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},c.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},c.findPieceIndex=function(e,t,n){for(var i,r=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===e||"string"===typeof s&&s===e+"")return o;n&&h(s,o)}}for(o=0,a=t.length;o<a;o++){var l=t[o],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(S(c[1],e,u[1]))return o}else if(u[1]===1/0){if(S(c[0],u[0],e))return o}else if(S(c[0],u[0],e)&&S(c[1],e,u[1]))return o;n&&h(u[0],o),n&&h(u[1],o)}}if(n)return e===1/0?t.length-1:e===-1/0?0:i;function h(t,n){var o=Math.abs(t-e);o<r&&(r=o,i=n)}};var k=c;e.exports=k},63298:function(e,t,n){n(57658);var i=n(63122),r=n(79143),o=n(55213),a=o.retrieveRawValue;function s(e,t){var n=t.getModel("aria");if(n.get("show"))if(n.get("description"))e.setAttribute("aria-label",n.get("description"));else{var o=0;t.eachSeries((function(e,t){++o}),this);var s,l=n.get("data.maxCount")||10,u=n.get("series.maxCount")||10,c=Math.min(o,u);if(!(o<1)){var h=m();s=h?p(g("general.withTitle"),{title:h}):g("general.withoutTitle");var d=[],f=o>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:o}),t.eachSeries((function(e,t){if(t<c){var n,i=e.get("name"),r="series."+(o>1?"multiple":"single")+".";n=g(i?r+"withName":r+"withoutName"),n=p(n,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:v(e.subType)});var s=e.getData();window.data=s,s.count()>l?n+=p(g("data.partialData"),{displayCnt:l}):n+=g("data.allData");for(var u=[],h=0;h<s.count();h++)if(h<l){var f=s.getName(h),m=a(s,h);u.push(p(g(f?"data.withName":"data.withoutName"),{name:f,value:m}))}n+=u.join(g("data.separator.middle"))+g("data.separator.end"),d.push(n)}})),s+=d.join(g("series.multiple.separator.middle"))+g("series.multiple.separator.end"),e.setAttribute("aria-label",s)}}function p(e,t){if("string"!==typeof e)return e;var n=e;return i.each(t,(function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)})),n}function g(e){var t=n.get(e);if(null==t){for(var i=e.split("."),o=r.aria,a=0;a<i.length;++a)o=o[i[a]];return o}return t}function m(){var e=t.getModel("title").option;return e&&e.length&&(e=e[0]),e&&e.text}function v(e){return r.series.typeNames[e]||"自定义图"}}e.exports=s},62120:function(e,t,n){var i=n(63122),r=i.createHashMap;function o(e){return{getTargetSeries:function(t){var n={},i=r();return t.eachSeriesByType(e,(function(e){e.__paletteScope=n,i.set(e.uid,e)})),i},reset:function(e,t){var n=e.getRawData(),i={},r=e.getData();r.each((function(e){var t=r.getRawIndex(e);i[t]=e})),n.each((function(t){var o,a=i[t],s=null!=a&&r.getItemVisual(a,"color",!0),l=null!=a&&r.getItemVisual(a,"borderColor",!0);if(s&&l||(o=n.getItemModel(t)),!s){var u=o.get("itemStyle.color")||e.getColorFromPalette(n.getName(t)||t+"",e.__paletteScope,n.count());null!=a&&r.setItemVisual(a,"color",u)}if(!l){var c=o.get("itemStyle.borderColor");null!=a&&r.setItemVisual(a,"borderColor",c)}}))}}}e.exports=o},14248:function(e,t,n){var i=n(80841),r=n(63122),o=r.isFunction,a={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=(e.visualColorAccessPath||"itemStyle.color").split("."),a=e.get(r),s=!o(a)||a instanceof i?null:a;a&&!s||(a=e.getColorFromPalette(e.name,null,t.getSeriesCount())),n.setVisual("color",a);var l=(e.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=e.get(l);if(n.setVisual("borderColor",u),!t.isSeriesFiltered(e)){s&&n.each((function(t){n.setItemVisual(t,"color",s(e.getDataParams(t)))}));var c=function(e,t){var n=e.getItemModel(t),i=n.get(r,!0),o=n.get(l,!0);null!=i&&e.setItemVisual(t,"color",i),null!=o&&e.setItemVisual(t,"borderColor",o)};return{dataEach:n.hasItemOption?c:null}}}};e.exports=a},74186:function(e,t,n){var i=n(63122),r=i.isFunction;function o(e,t,n){return{seriesType:e,performRawSeries:!0,reset:function(e,i,o){var a=e.getData(),s=e.get("symbol"),l=e.get("symbolSize"),u=e.get("symbolKeepAspect"),c=e.get("symbolRotate"),h=r(s),d=r(l),f=r(c),p=h||d||f,g=!h&&s?s:t,m=d?null:l;if(a.setVisual({legendSymbol:n||g,symbol:g,symbolSize:m,symbolKeepAspect:u,symbolRotate:c}),!i.isSeriesFiltered(e))return{dataEach:a.hasItemOption||p?v:null};function v(t,n){if(p){var i=e.getRawValue(n),r=e.getDataParams(n);h&&t.setItemVisual(n,"symbol",s(i,r)),d&&t.setItemVisual(n,"symbolSize",l(i,r)),f&&t.setItemVisual(n,"symbolRotate",c(i,r))}if(t.hasItemOption){var o=t.getItemModel(n),a=o.getShallow("symbol",!0),u=o.getShallow("symbolSize",!0),g=o.getShallow("symbolRotate",!0),m=o.getShallow("symbolKeepAspect",!0);null!=a&&t.setItemVisual(n,"symbol",a),null!=u&&t.setItemVisual(n,"symbolSize",u),null!=g&&t.setItemVisual(n,"symbolRotate",g),null!=m&&t.setItemVisual(n,"symbolKeepAspect",m)}}}}}e.exports=o},88455:function(e,t,n){var i=n(63122),r={get:function(e,t,n){var r=i.clone((o[e]||{})[t]);return n&&i.isArray(r)?r[r.length-1]:r}},o={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},a=r;e.exports=a},24466:function(e,t,n){var i=n(63122),r=n(81313),o=i.each;function a(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function s(e,t,n){var a={};return o(t,(function(t){var l=a[t]=s();o(e[t],(function(e,o){if(r.isValidType(o)){var a={type:o,visual:e};n&&n(a,t),l[o]=new r(a),"opacity"===o&&(a=i.clone(a),a.type="colorAlpha",l.__hidden.__alphaForOpacity=new r(a))}}))})),a;function s(){var e=function(){};e.prototype.__hidden=e.prototype;var t=new e;return t}}function l(e,t,n){var r;i.each(n,(function(e){t.hasOwnProperty(e)&&a(t[e])&&(r=!0)})),r&&i.each(n,(function(n){t.hasOwnProperty(n)&&a(t[n])?e[n]=i.clone(t[n]):delete e[n]}))}function u(e,t,n,o,a,s){var l,u={};function c(e){return n.getItemVisual(l,e)}function h(e,t){n.setItemVisual(l,e,t)}function d(e,i){l=null==s?e:i;var r=n.getRawDataItem(l);if(!r||!1!==r.visualMap)for(var d=o.call(a,e),f=t[d],p=u[d],g=0,m=p.length;g<m;g++){var v=p[g];f[v]&&f[v].applyVisual(e,c,h)}}i.each(e,(function(e){var n=r.prepareVisualTypes(t[e]);u[e]=n})),null==s?n.each(d):n.each([s],d)}function c(e,t,n,o){var a={};function s(e,i){function r(e){return i.getItemVisual(l,e)}function s(e,t){i.setItemVisual(l,e,t)}var l;null!=o&&(o=i.getDimension(o));while(null!=(l=e.next())){var u=i.getRawDataItem(l);if(!u||!1!==u.visualMap)for(var c=null!=o?i.get(o,l,!0):l,h=n(c),d=t[h],f=a[h],p=0,g=f.length;p<g;p++){var m=f[p];d[m]&&d[m].applyVisual(c,r,s)}}}return i.each(e,(function(e){var n=r.prepareVisualTypes(t[e]);a[e]=n})),{progress:s}}t.createVisualMappings=s,t.replaceVisualOption=l,t.applyVisual=u,t.incrementalApplyVisual=c},65693:function(e,t,n){var i,r,o;(function(a,s){r=[t,n(1708)],i=s,o="function"===typeof i?i.apply(t,r):i,void 0===o||(e.exports=o)})(0,(function(e,t){var n=function(e){"undefined"!==typeof console&&console&&console.error&&console.error(e)};t?t.registerMap?t.registerMap("china",{type:"FeatureCollection",features:[{type:"Feature",id:"710000",properties:{id:"710000",cp:[121.509062,24.044332],name:"台湾",childNum:6},geometry:{type:"MultiPolygon",coordinates:[["@@°Ü¯Û"],["@@ƛĴÕƊÉɼģºðʀ\\ƎsÆNŌÔĚäœnÜƤɊĂǀĆĴžĤNJŨxĚĮǂƺòƌ‚–âÔ®ĮXŦţƸZûЋƕƑGđ¨ĭMó·ęcëƝɉlÝƯֹÅŃ^Ó·śŃNjƏďíåɛGɉ™¿@ăƑŽ¥ĘWǬÏĶŁâ"],["@@\\p|WoYG¿¥I†j@¢"],["@@…¡‰@ˆV^RqˆBbAŒnTXeRz¤Lž«³I"],["@@ÆEE—„kWqë @œ"],["@@fced"],["@@„¯ɜÄèaì¯ØǓIġĽ"],["@@çûĖ롖hòř "]],encodeOffsets:[[[122886,24033]],[[123335,22980]],[[122375,24193]],[[122518,24117]],[[124427,22618]],[[124862,26043]],[[126259,26318]],[[127671,26683]]]}},{type:"Feature",id:"130000",properties:{id:"130000",cp:[114.502461,38.045474],name:"河北",childNum:3},geometry:{type:"MultiPolygon",coordinates:[["@@o~†Z]‚ªr‰ºc_ħ²G¼s`jΟnüsœłNX_“M`ǽÓnUK…Ĝēs¤­©yrý§uģŒc†JŠ›e"],["@@U`Ts¿m‚"],["@@oºƋÄd–eVŽDJj£€J|Ådz•Ft~ž¸IÆv|”‡¢r}膎onb˜}`RÎÄn°ÒdÞ²„’lnÐèĄlðӜ×]ªÆ}LiĂ±Ö`^°Ç¶p®đDcœŋ`–’¶êqvFƚ†N®ĆTH®¦O’¾ŠIbÐã´BĐɢŴÆíȦp–ĐÞXR€·nndOž¤’OÀĈƒ­Qg˜µFo|gȒęSWb©osx|hYh•gŃfmÖĩnº€’Sp›¢dYĤ¶UĈjl’ǐpäìë|³kÛfw²Xjz~ÂqbTŠÑ„ěŨ@|oM‡’zv¢ZrÃVw¬ŧĖ¸fŒ°ÐT€ªqŽs{Sž¯r æÝlNd®²Ğ džiGʂJ™¼lr}~K¨ŸƐÌWö€™ÆŠzRš¤lêmĞL΄’@¡|q]SvK€ÑcwpÏρ†ĿćènĪWlĄkT}ˆJ”¤~ƒÈT„d„™pddʾĬŠ”ŽBVt„EÀ¢ôPĎƗè@~‚k–ü\\rÊĔÖæW_§¼F˜†´©òDòj’ˆYÈrbĞāøŀG{ƀ|¦ðrb|ÀH`pʞkv‚GpuARhÞÆǶgʊTǼƹS£¨¡ù³ŘÍ]¿Ây™ôEP xX¶¹܇“gÚ¡IwÃ鑦ÅB‡Ï|Ç°…N«úmH¯‹âŸŽžŲIÄuШDž•¸‡‚FŸƒ•›Oh‡đ©OŸ›iÃ`ww^ƒÌkŸ‘ÑH«ƇǤŗĺtFu…{Z}Ö@U‡´…ʚLg®¯Oı°ÃwŸ ^˜—€VbÉs‡ˆmA…ê]]w„§›RRl£‡ȭµu¯b{ÍDěïÿȧŽuT£ġƒěŗƃĝ“Q¨fV†Ƌ•ƅn­a@‘³@šď„yýIĹÊKšŭfċŰóŒxV@tˆƯŒJ”]eƒR¾fe|rHA˜|h~Ėƍl§ÏŠlTíb ØoˆÅbbx³^zÃĶš¶Sj®A”yÂhðk`š«P€”ˈµEF†Û¬Y¨Ļrõqi¼‰Wi°§’б´°^[ˆÀ|ĠO@ÆxO\\tŽa\\tĕtû{ġŒȧXýĪÓjùÎRb›š›fK[ݏděYfíÙTyŽuUSyŌŏů@Oi½’éŅ­aVcř§ax¹XŻác‡žWU£ôãºQ¨÷Ñws¥qEH‰Ù|‰›šYQoŕÇyáĂ£MðoťÊ‰P¡mšWO¡€v†{ôvîēÜISpÌhp¨ ‘j†deŔQÖj˜X³à™Ĉ[n`Yp@Už–cM`’RKhŒEbœ”lNut®Etq‚nsÁŠgA‹‹oH‡qCX‡”hfgu“‹WP½¢G^}¯ÅīGCŸÑ^ãziMáļMTÃƘrMc|O_ž¯Ŏ´|‡morDkO\\mĆJfl@cĢ¬¢aĦtRıҙ¾ùƀ^juųœK­ƒUFy™—Ɲ…›īÛ÷ąV×qƥV¿aȉd³B›qPBm›aËđŻģm“Å®VŠ¹d^K‡KoŸnYg“¯Xhqa”Ldu¥•ÍpDž¡KąÅƒkĝęěhq‡}HyÓ]¹ǧ£…Í÷¿qᵧš™g‘¤o^á¾ZE‡¤i`ij{n•ƒOl»ŸWÝĔįhg›F[¿¡—ßkOüš_‰€ū‹i„DZàUtėGylƒ}ŒÓM}€jpEC~¡FtoQi‘šHkk{Ãmï‚"]],encodeOffsets:[[[119712,40641]],[[121616,39981]],[[116462,37237]]]}},{type:"Feature",id:"140000",properties:{id:"140000",cp:[111.849248,36.857014],name:"山西",childNum:1},geometry:{type:"Polygon",coordinates:["@@Þĩ҃S‰ra}Á€yWix±Üe´“ßÓǏok‘ćiµVZģ¡coœ‘TS˹ĪmnÕńe–hZg{gtwªpXaĚThȑp{¶Eh—®RćƑP¿£‘Pmc¸mQÝW•ďȥoÅîɡųAďä³aωJ‘½¥PG­ąSM­™…EÅruµé€‘Ž•Ō_d›ĒCo­Èµ]¯_²ÕjāŽK~©ÅØ^ԛkïçămϑk]­±ƒcݯÑÃmQÍ~_a—pm…~ç¡q“ˆu{JÅŧ·Ls}–EyÁÆcI{¤IiCfUc•ƌÃp§]웫vD@¡SÀ‘µM‚ÅwuŽYY‡¡DbÑc¡hƒ×]nkoQdaMç~eD•ÛtT‰©±@¥ù@É¡‰ZcW|WqOJmĩl«ħşvOÓ«IqăV—¥ŸD[mI~Ó¢cehiÍ]Ɠ~ĥqXŠ·eƷœ“}v•[ěďŽŕ]_‘œ•`‰¹ƒ§ÕōI™o©b­s^}Ét±ū«³p£ÿ·Wµ|¡¥ăFÏs׌¥ŅxŸÊdÒ{ºvĴÎêÌɊ²¶€ü¨|ÞƸµȲ‘LLúÉƎ¤ϊęĔV`„_bª‹S^|ŸdŠzY|dz¥p†ZbÆ£¶ÒK}tĦÔņƠ‚PYzn€ÍvX¶Ěn ĠÔ„zý¦ª˜÷žÑĸَ¸‚dòÜJð´’ìúNM¬ŒXZ´‘¤ŊǸ_tldIš{¦ƀðĠȤ¥NehXnYG‚‡ ƬDj¬¸|CĞ„Kq‚ºfƐiĺ©ª~ĆOQª ¤@ìǦɌ²æBŒÊ”TœŸ˜ʂōĖ’šĴŞ–ȀœÆÿȄlŤĒö„t”νî¼ĨXhŒ‘˜|ªM¤Ðz"],encodeOffsets:[[116874,41716]]}},{type:"Feature",id:"150000",properties:{id:"150000",cp:[111.670801,41.818311],name:"内蒙古",childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@¯PqƒFB…‰|S•³C|kñ•H‹d‘iÄ¥sˆʼnő…PóÑÑE^‘ÅPpy_YtS™hQ·aHwsOnʼnÚs©iqj›‰€USiº]ïWš‰«gW¡A–Rë¥_ŽsgÁnUI«m‰…„‹]j‡vV¼euhwqA„aW˜ƒ_µj…»çjioQR¹ēÃßt@r³[ÛlćË^ÍÉáG“›OUۗOB±•XŸ‡¹£k|e]ol™ŸkVͼÕqtaÏõjgÁ£§U^Œ”RLˆËnX°Ç’Bz†^~wfvˆypV ¯„ƫĉ˭ȫƗŷɿÿĿƑ˃ĝÿÃǃßËőó©ǐȍŒĖM×ÍEyx‹þp]Évïè‘vƀnÂĴÖ@‚‰†V~Ĉv¦wĖt—ējyÄDXÄxGQuv_›i¦aBçw‘˛wD™©{ŸtāmQ€{EJ§KPśƘƿ¥@‰sCT•É}ɃwˆƇy±ŸgÑ“}T[÷kÐ禫…SÒ¥¸ëBX½‰HáŵÀğtSÝÂa[ƣ°¯¦P]£ġ“–“Òk®G²„èQ°óMq}EŠóƐÇ\\ƒ‡@áügQ͋u¥Fƒ“›¿Jû‡]|mvāÎYua^WoÀa·­ząÒot׶CLƗi¯¤mƎHNJ¤îìɾŊìTdåwsRÖgĒųúÍġäÕ}Q¶—ˆ¿A•†‹[¡Œ{d×uQAƒ›M•xV‹vMOmăl«ct[wº_šÇʊŽŸjb£ĦS_é“QZ“_lwgOiýe`YYLq§IÁˆdz£ÙË[ÕªuƏ³ÍT—s·bÁĽäė[›b[ˆŗfãcn¥îC¿÷µ[ŏÀQ­ōšĉm¿Á^£mJVm‡—L[{Ï_£›F¥Ö{ŹA}…×Wu©ÅaųijƳhB{·TQqÙIķˑZđ©Yc|M¡…L•eVUóK_QWk’‘¿ãZ•»X\\ĴuUƒè‡lG®ěłTĠğDєOrÍd‚ÆÍz]‹±…ŭ©ŸÅ’]ŒÅÐ}UË¥©Tċ™ïxgckfWgi\\ÏĒ¥HkµE˜ë{»ÏetcG±ahUiñiWsɁˆ·c–C‚Õk]wȑ|ća}w…VaĚ᠞ŒG°ùnM¬¯†ˆÐÆA’¥ÄêJxÙ¢”hP¢Ûˆº€µwWOŸóFŽšÁz^ÀŗÎú´§¢T¤ǻƺSė‰ǵhÝÅQgvBHouʝl_o¿Ga{ïq{¥|ſĿHĂ÷aĝÇq‡Z‘ñiñC³ª—…»E`¨åXēÕqÉû[l•}ç@čƘóO¿¡ƒFUsA‰“ʽīccšocƒ‚ƒÇS}„“£‡IS~ălkĩXçmĈ…ŀЂoÐdxÒuL^T{r@¢‘žÍƒĝKén£kQ™‰yšÅõËXŷƏL§~}kqš»IHėDžjĝŸ»ÑÞoŸå°qTt|r©ÏS‹¯·eŨĕx«È[eMˆ¿yuˆ‘pN~¹ÏyN£{©’—g‹ħWí»Í¾s“əšDž_ÃĀɗ±ą™ijĉʍŌŷ—S›É“A‹±åǥɋ@럣R©ąP©}ĹªƏj¹erƒLDĝ·{i«ƫC£µsKCš…GS|úþX”gp›{ÁX¿Ÿć{ƱȏñZáĔyoÁhA™}ŅĆfdʼn„„Y°ėǩÑ¡H¯¶oMQqð¡Ë™|‘Ñ`ƭŁX½·óۓxğįÅcQ‡ˆ“ƒs«tȋDžF“Ÿù^i‘t«Č¯[›hAi©á¥ÇĚ×l|¹y¯YȵƓ‹ñǙµï‚ċ™Ļ|Dœ™üȭ¶¡˜›oŽäÕG\\ďT¿Òõr¯œŸLguÏYęRƩšɷŌO\\İТæ^Ŋ IJȶȆbÜGŽĝ¬¿ĚVĎgª^íu½jÿĕęjık@Ľƒ]ėl¥Ë‡ĭûÁ„ƒėéV©±ćn©­ȇžÍq¯½•YÃÔʼn“ÉNѝÅÝy¹NqáʅDǡËñ­ƁYÅy̱os§ȋµʽǘǏƬɱà‘ưN¢ƔÊuľýľώȪƺɂļžxœZĈ}ÌʼnŪ˜ĺœŽĭFЛĽ̅ȣͽÒŵìƩÇϋÿȮǡŏçƑůĕ~Ǎ›¼ȳÐUf†dIxÿ\\G ˆzâɏÙOº·pqy£†@ŒŠqþ@Ǟ˽IBäƣzsÂZ†ÁàĻdñ°ŕzéØűzșCìDȐĴĺf®ŽÀľưø@ɜÖÞKĊŇƄ§‚͑těï͡VAġÑÑ»d³öǍÝXĉĕÖ{þĉu¸ËʅğU̎éhɹƆ̗̮ȘNJ֥ड़ࡰţાíϲäʮW¬®ҌeרūȠkɬɻ̼ãüfƠSצɩςåȈHϚÎKdzͲOðÏȆƘ¼CϚǚ࢚˼ФԂ¤ƌžĞ̪Qʤ´¼mȠJˀŸƲÀɠmǐnǔĎȆÞǠN~€ʢĜ‚¶ƌĆĘźʆȬ˪ĚĒ¸ĞGȖƴƀj`ĢçĶāàŃºēĢƒĖćšYŒÀŎüôQÐÂŎŞdžŞêƖš˜oˆDĤÕºÑǘÛˤ³̀gńƘĔÀ^žªƂ`ªt¾äƚêĦĀ¼Ð€Ĕǎ¨Ȕ»͠^ˮÊȦƤøxRrŜH¤¸ÂxDĝŒ˂˜ƮÐ¬ɚwɲFjĔ²Äw°dždÀɞ_ĸdîàŎjʜêTЪŌ‡ŜWÈ|tqĢUB~´°ÎFC•ŽU¼pĀēƄ¾O¶ŠłKĊOj“Ě”j´ĜYp˜„ˆSĚÍ\\Tš×ªV–÷Ší¨ÅDK°ßtŇĔKš¨ǵÂcḷ̌ĚǣȄĽF‡lġUĵœŇ‹ȣɁƒMğįʏƶɷØŭOǽ«ƽū¹Ʊő̝Ȩ§ȞʘĖiɜɶʦ}¨֪ࠜ̀ƇǬ¹ǨE˦ĥªÔêFŽxúQ„Er´W„rh¤Ɛ \\talĈDJ˜Ü|[Pll̚¸ƎGú´Pž¬W¦†–H]prR“n|or¾wLVnÇIujkmon£cX^Bh`¥V”„¦U¤¸}€xRj–[^xN[~ªŠxQ„‚[`ªHÆÂExx^wšN¶Ê˜|¨ì†˜€MrœdYp‚oRzNy˜ÀDs~€bcfÌ`L–¾n‹|¾T‚°c¨È¢a‚–`[|òDŞĔöxElÖdH„ÀI`„Ď\\Àì~ƎR¼tf•¦^¢ķ¶e”ÐÚMŒptgj–„ɡČÅyġLû™ŇV®ŠÄÈƀ†Ď°P|ªVV†ªj–¬ĚÒêp¬–E|ŬÂc|ÀtƐK fˆ{ĘFĒœƌXƲąo½Ę‘\\¥–o}›Ûu£ç­kX‘{uĩ«āíÓUŅßŢq€Ť¥lyň[€oi{¦‹L‡ń‡ðFȪȖ”ĒL„¿Ì‹ˆfŒ£K£ʺ™oqNŸƒwğc`ue—tOj×°KJ±qƒÆġm‰Ěŗos¬…qehqsuœƒH{¸kH¡Š…ÊRǪÇƌbȆ¢´ä܍¢NìÉʖ¦â©Ġu¦öČ^â£Ăh–šĖMÈÄw‚\\fŦ°W ¢¾luŸD„wŠ\\̀ʉÌÛM…Ā[bӞEn}¶Vc…ê“sƒ"]],encodeOffsets:[[[129102,52189]]]}},{type:"Feature",id:"210000",properties:{id:"210000",cp:[123.429096,41.796767],name:"辽宁",childNum:16},geometry:{type:"MultiPolygon",coordinates:[["@@L–Ž@@s™a"],["@@MnNm"],["@@d‚c"],["@@eÀ‚C@b‚“‰"],["@@f‡…Xwkbr–Ä`qg"],["@@^jtW‘Q"],["@@~ Y]c"],["@@G`ĔN^_¿Z‚ÃM"],["@@iX¶B‹Y"],["@@„YƒZ"],["@@L_{Epf"],["@@^WqCT\\"],["@@\\[“‹§t|”¤_"],["@@m`n_"],["@@Ïxnj{q_×^Giip"],["@@@œé^B†‡ntˆU—˜Ÿ]x ¯ÄPIJ­°h€ʙK³†VˆÕ@Y~†|EvĹsDŽ¦­L^p²ŸÒG ’Ël]„xxÄ_˜fT¤Ď¤cŽœP„–¸TVjbgH²sdÎdHt`Bˆ—²¬GJję¶[ÐhjeXdlwhšðSȦªVÊπ‹Æ‘Z˜ÆŶ®²†^ŒÎyÅÎcPqń“ĚDMħĜŁH­ˆk„çvV[ij¼W–‚YÀäĦ’‘`XlžR`žôLUVžfK–¢†{NZdĒª’YĸÌÚJRr¸SA|ƴgŴĴÆbvªØX~†źBŽ|¦ÕœEž¤Ð`\\|Kˆ˜UnnI]¤ÀÂĊnŎ™R®Ő¿¶\\ÀøíDm¦ÎbŨab‰œaĘ\\ľã‚¸a˜tÎSƐ´©v\\ÖÚÌǴ¤Â‡¨JKr€Z_Z€fjþhPkx€`Y”’RIŒjJcVf~sCN¤ ˆE‚œm‰–sHy¨SðÑÌ\\\\ŸĐRZk°IS§fqŒßýáЍÙÉÖ[^¯ǤŲ„ê´\\¦¬ĆPM¯£Ÿˆ»uïpùzEx€žanµyoluqe¦W^£ÊL}ñrkqWňûP™‰UP¡ôJŠoo·ŒU}£Œ„[·¨@XŒĸŸ“‹‹DXm­Ûݏº‡›GU‹CÁª½{íĂ^cj‡k“¶Ã[q¤“LÉö³cux«zZfƒ²BWÇ®Yß½ve±ÃC•ý£W{Ú^’q^sÑ·¨‹ÍOt“¹·C¥‡GD›rí@wÕKţ݋˜Ÿ«V·i}xËÍ÷‘i©ĝ‡ɝǡ]ƒˆ{c™±OW‹³Ya±Ÿ‰_穂Hžĕoƫ€Ňqƒr³‰Lys[„ñ³¯OS–ďOMisZ†±ÅFC¥Pq{‚Ã[Pg}\\—¿ghćO…•k^ģÁFıĉĥM­oEqqZûěʼn³F‘¦oĵ—hŸÕP{¯~TÍlª‰N‰ßY“Ð{Ps{ÃVU™™eĎwk±ʼnVÓ½ŽJãÇÇ»Jm°dhcÀff‘dF~ˆ€ĀeĖ€d`sx² šƒ®EżĀdQ‹Âd^~ăÔHˆ¦\\›LKpĄVez¤NP ǹӗR™ÆąJSh­a[¦´Âghwm€BÐ¨źhI|žVVŽ—Ž|p] Â¼èNä¶ÜBÖ¼“L`‚¼bØæŒKV”ŸpoœúNZÞÒKxpw|ÊEMnzEQšŽIZ”ŽZ‡NBˆčÚFÜçmĩ‚WĪñt‘ÞĵÇñZ«uD‚±|Əlij¥ãn·±PmÍa‰–da‡ CL‡Ǒkùó¡³Ï«QaċϑOÃ¥ÕđQȥċƭy‹³ÃA"]],encodeOffsets:[[[123686,41445]],[[126019,40435]],[[124393,40128]],[[126117,39963]],[[125322,40140]],[[126686,40700]],[[126041,40374]],[[125584,40168]],[[125453,40165]],[[125362,40214]],[[125280,40291]],[[125774,39997]],[[125976,40496]],[[125822,39993]],[[125509,40217]],[[122731,40949]]]}},{type:"Feature",id:"220000",properties:{id:"220000",cp:[125.3245,43.886841],name:"吉林",childNum:1},geometry:{type:"Polygon",coordinates:["@@‘”³PClƒFbbÍzš€wBG’ĭ€Z„Åi“»ƒlY­ċ²SgŽkÇ£—^S‰“qd¯•‹R…©éŽ£¯S†\\cZ¹iűƏCuƍÓX‡oR}“M^o•£…R}oªU­F…uuXHl•‡€Ï©¤ÛmTŽþ¤D–²ÄufàÀ­XXȱAe„yYw¬dvõ´KÊ£”\\rµÄl”iˆdā]|DÂVŒœˆÞ®ÜWnŒC”Œķ W‹§@\\¸‹ƒ‹Vp¸‰póIO¢ŠVOšŇürXql~òÉK]¤¥Xrfkvzpm¶bwyFoúvð‡¼¤ N°ąO¥«³[ƒéǡű_°Õ\\ÚÊĝŽþâőàerR¨­JYlďQ[ ÏYëЧTGz•tnŠß¡gFkMŸāGÁ¤ia É‰™È¹`\\xs€¬dĆkNnuNUŠ–užP@‚vRY¾•–\\¢…ŒGªóĄ~RãÖÎĢù‚đŴÕhQŽxtcæëSɽʼníëlj£ƍG£nj°KƘµDsØÑpyƸ®¿bXp‚]vbÍZuĂ{nˆ^IüœÀSք”¦EŒvRÎûh@℈[‚Əȉô~FNr¯ôçR±ƒ­HÑl•’Ģ–^¤¢‚ŸŒævxsŒ]ÞÁTĠs¶¿âƊGW¾ìA¦·TѬ†è¥€ÏÐJ¨¼ÒÖ¼ƒƦɄxÊ~S–tD@ŠĂ¼Ŵ¡jlºWž‰ˆzƦŽ²CH— „Axiukd‹ŒGgetqmcžÛ£Ozy¥cE}|…¾cZ…k‚‰¿uŐã[oxGikfeäT@…šSUwpiÚFM©’£è^ڟ‚`@v¶eň†f h˜eP¶žt“äOlÔUgƒÞzŸU`lœ}ÔÆUvØ_Ō¬Öi^ĉi§²ÃŠB~¡Ĉ™ÚEgc|DC_Ȧm²rBx¼MÔ¦ŮdĨÃâYx‘ƘDVÇĺĿg¿cwÅ\\¹˜¥Yĭlœ¤žOv†šLjM_a W`zļMž·\\swqÝSA‡š—q‰Śij¯Š‘°kŠRē°wx^Đkǂғ„œž“œŽ„‹\\]˜nrĂ}²ĊŲÒøãh·M{yMzysěnĒġV·°“G³¼XÀ““™¤¹i´o¤ŃšŸÈ`̃DzÄUĞd\\i֚ŒˆmÈBĤÜɲDEh LG¾ƀľ{WaŒYÍȏĢĘÔRîĐj‹ž“ccj‡oUb½š{“h§Ǿ{K‹ƖµÎ÷žGĀÖŠåưÎs­l›•yiē«‹`姝H¥Ae„GK}iã\\c]v©ģZ“mÃ|“[M}ģTɟĵ‘Â`À–çm‰‘FK¥ÚíÁbXš³ÌQґHof{‰]e€pt·GŋĜYünĎųVY^’˜ydõkÅZW„«WUa~U·Sb•wGçǑ‚“iW^q‹F‚“›uNĝ—·Ew„‹UtW·Ýďæ©PuqEzwAV•—XR‰ãQ`­©GŒM‡ehc›c”ďϝd‡©ÑW_ϗŒ»…é\\ƒɹ~ǙG³mØ©BšuT§Ĥ½¢Ã_ý‘‘ýŸqT^rme™\\Pp•ZZbƒyŸ’uybQ—efµ]UhĿDCmûvašÙNSkCwn‰cćfv~…Y‹„ÇG"],encodeOffsets:[[130196,42528]]}},{type:"Feature",id:"230000",properties:{id:"230000",cp:[128.642464,46.756967],name:"黑龙江",childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@UƒµNÿ¥īè灋•HÍøƕ¶LŒǽ|g¨|”™Ža¾pViˆdd”~ÈiŒíďÓQġėǐ‹ŽXb½|ſÃH½ŸKFgɱCģÛÇA‡n™‹jÕc[VĝDZÃ˄Ç_™ £ń³pŽj£º”š¿”»WH´¯”U¸đĢmžtĜyzzNN|g¸÷äűѱĉā~mq^—Œ[ƒ”››”ƒǁÑďlw]¯xQĔ‰¯l‰’€°řĴrŠ™˜BˆÞTxr[tŽ¸ĻN_yŸX`biN™Ku…P›£k‚—¦[ºxÆÀdhŽĹŀUÈƗCw’áZħÄŭcÓ¥»NAw±qȥnD`{ChdÙF暉A±Äj¨]ĊÕjŋ«×`VuÓś~_kŷVÝyh„“VkÄãPs”—fŸge‚Ň…µf@u ÙcŸªNªÙEojVx™T@†ãSefjlwH\\pŏäÀvŠŽlY†½d{†F~¦dyz¤PÜndsrhf‹HcŒvlwjFœ£G˜±DύƥY‡Šu¹XikĿ¦ÏqƗǀOŜ¨LI|FRĂn sª|Cš˜zxAè¥bœfudTrFWÁ¹Am|˜ĔĕsķÆF‡´Nš‰…UŠÕ@Áijſmužç’uð^ÊýowŒFzØÎĕNőžǏȎôªÌŒDŽàĀÄ˄ĞŀƒʀĀƘŸˮȬƬĊ°ƒUŸzou‡xe]}Ž…AyȑW¯ÌmK‡“Q]‹Īºif¸ÄX|sZt|½ÚUΠlkš^p{f¤lˆºlÆW –€˜PVܜPH”Êâ]ÎĈÌÜk´\\@qàsĔÄQºpRij¼èi†—„bXƒrBgxfv»ŽuUiˆŒ^v~”J¬mVp´£Œ´VWrnP½ì¢BX‚¬h™ŠðX¹^TjVœŠriªj™tŊÄm€tPGx¸bgRšŽsT`ZozÆO]’ÒFô҆’‡ŊŒž”p’cGŒêŠsx´DR–Œ{A†„EOr°Œ•žx|íœbˆ³Wm~DVjºéNN†Ëܲɶ­GƒxŷCStŸ}]ûō•SmtuÇÃĕN•™āg»šíT«u}ç½BĵÞʣ¥ëÊ¡Mێ³ãȅ¡ƋaǩÈÉQ‰†G¢·lG|›„tvgrrf«†ptęŘnŠÅĢr„I²¯LiØsPf˜_vĠd„xM prʹš‹¤‡ŒƒÀđK“žïÙVY§]I‡óáĥ]ķ†Kˆ¥Œj|pŇ\\kzţ¦šnņäÔVĂîĪ¬|vW’®l¤èØr‚˜•xm¶ă~lÄƯĄ̈́öȄEÔ¤ØQĄ–Ą»ƢjȦOǺ¨ìSŖÆƬy”Qœv`–cwƒZSÌ®ü±DŽ]ŀç¬B¬©ńzƺŷɄeeOĨS’Œfm Ċ‚ƀP̎ēz©Ċ‚ÄÕÊmgŸÇsJ¥ƔˆŊśæ’΁Ñqv¿íUOµª‰ÂnĦÁ_½ä@ê텣P}Ġ[@gġ}g“ɊדûÏWXá¢užƻÌsNͽƎÁ§č՛AēeL³àydl›¦ĘVçŁpśdžĽĺſʃQíÜçÛġԏsĕ¬—Ǹ¯YßċġHµ ¡eå`ļƒrĉŘóƢFì“ĎWøxÊk†”ƈdƬv|–I|·©NqńRŀƒ¤é”œŀ›ˆàŀU²ŕƀB‚Q£Ď}L¹Îk@©ĈuǰųǨ”Ú§ƈnTËÇéƟÊcfčŤ^Xm‡—HĊĕË«W·ċëx³ǔķÐċJā‚wİ_ĸ˜Ȁ^ôWr­°oú¬Ħ…ŨK~”ȰCĐ´Ƕ£’fNÎèâw¢XnŮeÂÆĶŽ¾¾xäLĴĘlļO¤ÒĨA¢Êɚ¨®‚ØCÔ ŬGƠ”Ʀ‡ĘÜƬDJ—g_ͥœ@čŅĻA“¶¯@wÎqC½Ĉ»NŸăëK™ďÍQ“Ùƫ[«Ãí•gßÔÇOÝáW‘ñuZ“¯ĥ€Ÿŕā¡ÑķJu¤E Ÿå¯°WKɱ_d_}}vyŸõu¬ï¹ÓU±½@gÏ¿rýD‰†g…Cd‰µ—°MFYxw¿CG£‹Rƛ½Õ{]L§{qqąš¿BÇƻğëšܭNJË|c²}Fµ}›ÙRsÓpg±ŠQNqǫŋRwŕnéÑÉKŸ†«SeYR…ŋ‹@{¤SJ}šD Ûǖ֍Ÿ]gr¡µŷjqWÛham³~S«“„›Þ]"]],encodeOffsets:[[[134456,44547]]]}},{type:"Feature",id:"320000",properties:{id:"320000",cp:[119.767413,33.041544],name:"江苏",childNum:1},geometry:{type:"Polygon",coordinates:["@@cþÅPiŠ`ZŸRu¥É\\]~°ŽY`µ†Óƒ^phÁbnÀşúŽòa–ĬºTÖŒb‚˜e¦¦€{¸ZâćNpŒ©žHr|^ˆmjhŠSEb\\afv`sz^lkŽlj‹Ätg‹¤D˜­¾Xš¿À’”iZ„ȀåB·î}GL¢õcßjaŸyBFµÏC^ĭ•cÙt¿sğH]j{s©HM¢ƒQnDÀ©DaÜތ·jgàiDbPufjDk`dPOîƒhw¡ĥ‡¥šG˜ŸP²ĐobºrY†„î¶aHŢ´ ]´‚rılw³r_{£DB_Ûdåuk|ˆŨ¯F Cºyr{XFy™e³Þċ‡¿Â™kĭB¿„MvÛpm`rÚã”@Ę¹hågËÖƿxnlč¶Åì½Ot¾dJlŠVJʜǀœŞqvnOŠ^ŸJ”Z‘ż·Q}ê͎ÅmµÒ]Žƍ¦Dq}¬R^èĂ´ŀĻĊIԒtžIJyQŐĠMNtœòLh‰›Ěs©»œ}OӌGZz¶A\\jĨFˆäOĤ˜HYš†JvÞHNiÜaϚɖnFQlšNM¤ˆB´ĄNöɂtp–Ŭdf先‹qm¿QûŠùއÚb¤uŃJŴu»¹Ą•lȖħŴw̌ŵ²ǹǠ͛hĭłƕrçü±Y™xci‡tğ®jű¢KOķ•Coy`å®VTa­_Ā]ŐÝɞï²ʯÊ^]afYǸÃĆēĪȣJđ͍ôƋĝÄ͎ī‰çÛɈǥ£­ÛmY`ó£Z«§°Ó³QafusNıDž_k}¢m[ÝóDµ—¡RLčiXy‡ÅNïă¡¸iĔϑNÌŕoēdōîåŤûHcs}~Ûwbù¹£¦ÓCt‹OPrƒE^ÒoŠg™ĉIµžÛÅʹK…¤½phMŠü`o怆ŀ"],encodeOffsets:[[121740,32276]]}},{type:"Feature",id:"330000",properties:{id:"330000",cp:[120.153576,29.287459],name:"浙江",childNum:45},geometry:{type:"MultiPolygon",coordinates:[["@@E^dQ]K"],["@@jX^j‡"],["@@sfŠbU‡"],["@@qP\\xz[ck"],["@@‘Rƒ¢‚FX}°[s_"],["@@Cbœ\\—}"],["@@e|v\\la{u"],["@@v~u}"],["@@QxÂF¯}"],["@@¹nŒvÞs¯o"],["@@rSkUEj"],["@@bi­ZŒP"],["@@p[}INf"],["@@À¿€"],["@@¹dnbŒ…"],["@@rSŸBnR"],["@@g~h}"],["@@FlEk"],["@@OdPc"],["@@v[u\\"],["@@FjâL~wyoo~›sµL–\\"],["@@¬e¹aNˆ"],["@@\\nÔ¡q]L³ë\\ÿ®ŒŽ"],["@@ÊA­©[¬"],["@@KxŒv­"],["@@@hlIk]"],["@@pW{o||j"],["@@Md|_mC"],["@@¢…X£ÏylD¼XˆtH"],["@@hlÜ[LykAvyfw^Ež›¤"],["@@fp¤Mus“R"],["@@®_ma~•LÁ¬šZ"],["@@iM„xZ"],["@@ZcYd"],["@@Z~dOSo|A¿qZv"],["@@@`”EN¡v"],["@@|–TY{"],["@@@n@m"],["@@XWkCT\\"],["@@ºwšZRkĕWO¢"],["@@™X®±Grƪ\\ÔáXq{‹"],["@@ůTG°ĄLHm°UC‹"],["@@¤Ž€aÜx~}dtüGæţŎíĔcŖpMËВjē¢·ðĄÆMzˆjWKĎ¢Q¶˜À_꒔_Bı€i«pZ€gf€¤Nrq]§ĂN®«H±‡yƳí¾×ŸīàLłčŴǝĂíÀBŖÕªˆŠÁŖHŗʼnåqûõi¨hÜ·ƒñt»¹ýv_[«¸m‰YL¯‰…mĉÅdMˆ•gÇjcº«•ęœ¬­K­´ƒB«Âącoċ\\xKd¡gěŧ«®á’[~ıxu·Å”KsËɏc¢Ù\\ĭƛëbf¹­ģSƒĜkáƉÔ­ĈZB{ŠaM‘µ‰fzʼnfåÂŧįƋǝÊĕġć£g³ne­ą»@­¦S®‚\\ßðCšh™iqªĭiAu‡A­µ”_W¥ƣO\\lċĢttC¨£t`ˆ™PZäuXßBs‡Ļyek€OđġĵHuXBšµ]׌‡­­\\›°®¬F¢¾pµ¼kŘó¬Wät’¸|@ž•¸µr“ºù³Ù~§WI‹ŸZWŽ®’±Ð¨ÒÉx€`‰²pĜ•rOògtÁZ}þÙ]„’¡ŒŸFK‚wsPlU[}¦Rvn`hq¬\\”nQ´ĘRWb”‚_ rtČFI֊kŠŠĦPJ¶ÖÀÖJĈĄTĚòžC ²@Pú…Øzœ©PœCÈڜĒ±„‡l¬â~nm¨f©–iļ«m‡nt–u†ÖZÜÄj“ŠLŽ®E̜Fª²iÊxبžIÈhhst"],["@@o\\V’zRZ}y"],["@@†@°¡mۛGĕ¨§Ianá[ýƤjfæ‡ØL–•äGr™"]],encodeOffsets:[[[125592,31553]],[[125785,31436]],[[125729,31431]],[[125513,31380]],[[125223,30438]],[[125115,30114]],[[124815,29155]],[[124419,28746]],[[124095,28635]],[[124005,28609]],[[125e3,30713]],[[125111,30698]],[[125078,30682]],[[125150,30684]],[[124014,28103]],[[125008,31331]],[[125411,31468]],[[125329,31479]],[[125626,30916]],[[125417,30956]],[[125254,30976]],[[125199,30997]],[[125095,31058]],[[125083,30915]],[[124885,31015]],[[125218,30798]],[[124867,30838]],[[124755,30788]],[[124802,30809]],[[125267,30657]],[[125218,30578]],[[125200,30562]],[[124968,30474]],[[125167,30396]],[[124955,29879]],[[124714,29781]],[[124762,29462]],[[124325,28754]],[[123990,28459]],[[125366,31477]],[[125115,30363]],[[125369,31139]],[[122495,31878]],[[125329,30690]],[[125192,30787]]]}},{type:"Feature",id:"340000",properties:{id:"340000",cp:[117.283042,31.26119],name:"安徽",childNum:3},geometry:{type:"MultiPolygon",coordinates:[["@@^iuLX^"],["@@‚e©Ehl"],["@@°ZÆëϵmkǀwÌÕæhºgBĝâqÙĊz›ÖgņtÀÁÊÆá’hEz|WzqD¹€Ÿ°E‡ŧl{ævÜcA`¤C`|´qžxIJkq^³³ŸGšµbƒíZ…¹qpa±ď OH—¦™Ħˆ„gPícOl_iCveaOjCh߸‹bÛªCC¿€m„RV§¢A|t^iĠGÀtÚs–d]ĮÐDE¶zAb àiödK¡~H¸íæAžǿYƒ“j{ď¿‘™À½W—®£ChŒÃsiŒkkly]_teu[bFa‰Tig‡n{]Gqªo‹ĈMYá|·¥—őaSÕė™ñĞ«ImŒ_m¿Âa]uĜp …Z_§{Cƒäg¤°r[_Yj‰ÆOdý“[ŽI[á·¥“Q_n‡ùgL¾mv™ˊBÜƶĊJhšp“˜O]iŠ]œ¥ jtsggJǧw×jÉ©±›EFˍ­‰Ki”ÛÃÕYv…s•ˆm¬njĻª•§emná}k«ŕˆƒgđ²Ù›DǤ›í¡ªOy›†×Où±@DŸñSęćăÕIÕ¿IµĥO‰‰jNÕËT¡¿tNæŇàåyķrĕq§ÄĩsWÆߎžX®¿‰mŒ™w…RIޓfßoG‘³¾©uyH‘į{Ɓħ¯AFnuP…ÍÔzšŒV—dàôº^Ðæd´€‡oG¤{S‰¬ćxã}›ŧ×Kǥĩ«žÕOEзÖdÖsƘѨ[’Û^Xr¢¼˜§xvěƵ`K”§ ´Cvlo¸fzŨð¾NY´ı~ÉĔē…ßúLÃϖ_ÈÏ|]ÂÏFl”g`bšežž€n¾¢pU‚h~ƴĖ¶_‚r sĄ~cž”ƈ]|r c~`¼{À{ȒiJjz`îÀT¥Û³…]’u}›f…ïQl{skl“oNdŸjŸäËzDvčoQŠďHI¦rb“tHĔ~BmlRš—V_„ħTLnñH±’DžœL‘¼L˜ªl§Ťa¸ŒĚlK²€\\RòvDcÎJbt[¤€D@®hh~kt°ǾzÖ@¾ªdb„YhüóZ ň¶vHrľ\\ʗJuxAT|dmÀO„‹[ÃԋG·ĚąĐlŪÚpSJ¨ĸˆLvÞcPæķŨŽ®mАˆálŸwKhïgA¢ųƩޖ¤OȜm’°ŒK´"]],encodeOffsets:[[[121722,32278]],[[119475,30423]],[[119168,35472]]]}},{type:"Feature",id:"350000",properties:{id:"350000",cp:[118.306239,26.075302],name:"福建",childNum:18},geometry:{type:"MultiPolygon",coordinates:[["@@“zht´‡]"],["@@aj^~ĆG—©O"],["@@ed¨„C}}i"],["@@@vˆPGsQ"],["@@‰sBz‚ddW]Q"],["@@SŽ¨Q“{"],["@@NŽVucW"],["@@qptBAq"],["@@‰’¸[mu"],["@@Q\\pD]_"],["@@jSwUadpF"],["@@eXª~ƒ•"],["@@AjvFso"],["@@fT–›_Çí\\Ÿ™—v|ba¦jZÆy€°"],["@@IjJi"],["@@wJI€ˆxš«¼AoNe{M­"],["@@K‰±¡Óˆ”ČäeZ"],["@@k¡¹Eh~c®wBk‹UplÀ¡I•~Māe£bN¨gZý¡a±Öcp©PhžI”Ÿ¢Qq…ÇGj‹|¥U™ g[Ky¬ŏ–v@OpˆtÉEŸF„\\@ åˆV{Xģ‰ĐBy…cpě…¼³Ăp·¤ƒ¥o“hqqÚ¡ŅLsƒ^ᗞ§qlŸÀhH¨MCe»åÇGD¥zPO£čÙkJA¼ß–ėu›ĕeûҍiÁŧSW¥˜QŠûŗ½ùěcݧSùĩąSWó«íęACµ›eR—åǃRCÒÇZÍ¢‹ź±^dlsŒtjD¸•‚ZpužÔâÒH¾oLUêÃÔjjēò´ĄW‚ƛ…^Ñ¥‹ĦŸ@Çò–ŠmŒƒOw¡õyJ†yD}¢ďÑÈġfŠZd–a©º²z£šN–ƒjD°Ötj¶¬ZSÎ~¾c°¶Ðm˜x‚O¸¢Pl´žSL|¥žA†ȪĖM’ņIJg®áIJČĒü` ŽQF‡¬h|ÓJ@zµ |ê³È ¸UÖŬŬÀEttĸr‚]€˜ðŽM¤ĶIJHtÏ A’†žĬkvsq‡^aÎbvŒd–™fÊòSD€´Z^’xPsÞrv‹ƞŀ˜jJd×ŘÉ ®A–ΦĤd€xĆqAŒ†ZR”ÀMźŒnĊ»ŒİÐZ— YX–æJŠyĊ²ˆ·¶q§·–K@·{s‘Xãô«lŗ¶»o½E¡­«¢±¨Yˆ®Ø‹¶^A™vWĶGĒĢžPlzfˆļŽtàAvWYãšO_‡¤sD§ssČġ[kƤPX¦Ž“ž®ˆBBvĪjv©šjx[L¥àï[F…¼ÍË»ğV`«•Ip™}ccÅĥZE‹ãoP…´B@ŠD—¸“z«Ƴ—¿å³BRضˆœWlâþäą`“]Z£Tc— ĹGµ¶H™m@_©—kŒ‰¾xĨ‡ôȉðX«½đCIbćqK³Á‹Äš¬OAwã»aLʼn‡ËĥW[“ÂGI—ÂNxij¤D¢ŽîĎÎB§°_JœGsƒ¥E@…¤uć…P‘å†cuMuw¢BI¿‡]zG¹guĮck\\_"]],encodeOffsets:[[[123250,27563]],[[122541,27268]],[[123020,27189]],[[122916,27125]],[[122887,26845]],[[122808,26762]],[[122568,25912]],[[122778,26197]],[[122515,26757]],[[122816,26587]],[[123388,27005]],[[122450,26243]],[[122578,25962]],[[121255,25103]],[[120987,24903]],[[122339,25802]],[[121042,25093]],[[122439,26024]]]}},{type:"Feature",id:"360000",properties:{id:"360000",cp:[115.592151,27.676493],name:"江西",childNum:1},geometry:{type:"Polygon",coordinates:["@@ĢĨƐgļˆ¼ÂMD~ņªe^\\^§„ý©j׍cZ†Ø¨zdÒaˆJŒìõ`oz÷@¤u޸´†ôęöY¼‰HČƶajlÞƩ¥éZ[”|h}^U Œ ¥p„ĄžƦO lt¸Æ €Q\\€ŠaÆ|CnÂOjt­ĚĤd’ÈŒF`’¶„@Ð딠¦ōҞ¨Sêv†HĢûXD®…QgėWiØPÞìºr¤dž€NĠ¢l–•ĄtZoœCƞÔºCxrpĠV®Ê{f_Y`_ƒeq’’®Aot`@o‚DXfkp¨|Šs¬\\D‘ÄSfè©Hn¬…^DhÆyøJh“ØxĢĀLʈ„ƠPżċĄwȠ̦G®ǒĤäTŠÆ~ĦwŠ«|TF¡Šn€c³Ïå¹]ĉđxe{ÎӐ†vOEm°BƂĨİ|G’vz½ª´€H’àp”eJ݆Qšxn‹ÀŠW­žEµàXÅĪt¨ÃĖrÄwÀFÎ|ňÓMå¼ibµ¯»åDT±m[“r«_gŽmQu~¥V\\OkxtL ‹ƒ‘Ú^~ýꋖqo슱_Êw§ÑªåƗā¼‹mĉŹ‹¿NQ“…YB‹ąrwģcÍ¥B•Ÿ­ŗÊcØiI—žƝĿuŒqtāwO]‘³YCñTeɕš‹caub͈]trlu€ī…B‘ПGsĵıN£ï—^ķqss¿FūūV՟·´Ç{éĈý‰ÿ›OEˆR_ŸđûIċâJh­ŅıN‘ȩĕB…¦K{Tk³¡OP·wn—µÏd¯}½TÍ«YiµÕsC¯„iM•¤™­•¦¯P|ÿUHv“he¥oFTu‰õ\\ŽOSs‹MòđƇiaºćXŸĊĵà·çhƃ÷ǜ{‘ígu^›đg’m[×zkKN‘¶Õ»lčÓ{XSƉv©_ÈëJbVk„ĔVÀ¤P¾ºÈMÖxlò~ªÚàGĂ¢B„±’ÌŒK˜y’áV‡¼Ã~­…`g›ŸsÙfI›Ƌlę¹e|–~udjˆuTlXµf`¿JdŠ[\\˜„L‚‘²"],encodeOffsets:[[116689,26234]]}},{type:"Feature",id:"370000",properties:{id:"370000",cp:[118.000923,36.275807],name:"山东",childNum:13},geometry:{type:"MultiPolygon",coordinates:[["@@Xjd]{K"],["@@itbFHy"],["@@HlGk"],["@@T‚ŒGŸy"],["@@K¬˜•‹U"],["@@WdXc"],["@@PtOs"],["@@•LnXhc"],["@@ppVƒu]Or"],["@@cdzAUa"],["@@udRhnCI‡"],["@@ˆoIƒpR„"],["@@Ľč{fzƤî’Kš–ÎMĮ]†—ZFˆ½Y]â£ph’™š¶¨râøÀ†ÎǨ¤^ºÄ”Gzˆ~grĚĜlĞƄLĆdž¢Îo¦–cv“Kb€gr°Wh”mZp ˆL]LºcU‰Æ­n”żĤÌĒœbAnrOAœ´žȊcÀbƦUØrĆUÜøœĬƞ†š˜Ez„VL®öØBkŖÝĐĖ¹ŧ̄±ÀbÎɜnb²ĦhņBĖ›žįĦåXćì@L¯´ywƕCéõė ƿ¸‘lµ¾Z|†ZWyFYŸ¨Mf~C¿`€à_RÇzwƌfQnny´INoƬˆèôº|sT„JUš›‚L„îVj„ǎ¾Ē؍‚Dz²XPn±ŴPè¸ŔLƔÜƺ_T‘üÃĤBBċȉöA´fa„˜M¨{«M`‡d¡ô‰Ö°šmȰBÔjjŒ´PM|”c^d¤u•ƒ¤Û´Œä«ƢfPk¶Môlˆ]Lb„}su^ke{lC‘…M•rDŠÇ­]NÑFsmoõľH‰yGă{{çrnÓE‰‹ƕZGª¹Fj¢ïW…CǷ돡ąuhÛ¡^Kx•C`C\\bÅxì²ĝÝ¿_N‰īCȽĿåB¥¢·IŖÕy\\‡¹kx‡Ã£Č×GDyÕ¤ÁçFQ¡„KtŵƋ]CgÏAùSed‡cÚź—ŠuYfƒyMmhUWpSyGwMPqŀ—›Á¼zK›†G•­Y§Ëƒ@–´śÇµƕBmœ@Io‚g——Z¯u‹TMx}C‘‰VK‚ï{éƵP—™_K«™pÛÙqċtkkù]gŽ‹Tğwo•ɁsMõ³ă‡AN£™MRkmEʕč™ÛbMjÝGu…IZ™—GPģ‡ãħE[iµBEuŸDPԛ~ª¼ętŠœ]ŒûG§€¡QMsğNPŏįzs£Ug{đJĿļā³]ç«Qr~¥CƎÑ^n¶ÆéÎR~Ż¸Y’I“] P‰umŝrƿ›‰›‹[x‰edz‹L‘¯v¯s¬ÁY…~}…ťuŁŒg›ƋpÝĄ_ņī¶ÏSR´ÁP~ž¿Cyžċßdwk´Ss•X|t‰ Èð€AªìÎT°¦Dd–€a^lĎDĶÚY°Ž`ĪŴǒˆ”àŠv\\ebŒZH„ŖR¬ŢƱùęO•ÑM­³FۃWp[ƒ"]],encodeOffsets:[[[123806,39303]],[[123821,39266]],[[123742,39256]],[[123702,39203]],[[123649,39066]],[[123847,38933]],[[123580,38839]],[[123894,37288]],[[123043,36624]],[[123344,38676]],[[123522,38857]],[[123628,38858]],[[118260,36742]]]}},{type:"Feature",id:"410000",properties:{id:"410000",cp:[113.665412,33.757975],name:"河南",childNum:1},geometry:{type:"Polygon",coordinates:["@@•ýL™ùµP³swIÓxcŢĞð†´žÚPt†ĴXØx¶˜@«ŕŕQGƒ‹Yfa[şu“ßǩ™đš_X³ijÕčC]kbc•¥CS¯ëÍB©÷‹–³­Siˆ_}m˜YTtž³xlàcȂzÀD}ÂOQ³ÐTĨ¯†ƗòËŖ[hœł‹Ŧv~††}ÂZž«¤lPǕ£ªÝŴÅR§ØnhcŒtâk‡­ľŹUÓÝdKuķ‡I§oTũÙďkęĆH¸ÓŒ\\ăŒ¿PcnS{wBIvɘĽ[GqµuŸŇôYgûƒZcaŽ©@½Õǽys¯}lgg@­C\\£as€IdÍuCQñ[L±ęk·‹ţb¨©kK—’»›KC²‘òGKmĨS`ƒ˜UQ™nk}AGē”sqaJ¥ĐGR‰ĎpCuÌy ã iMc”plk|tRk†ðœev~^‘´†¦ÜŽSí¿_iyjI|ȑ|¿_»d}qŸ^{“Ƈdă}Ÿtqµ`Ƴĕg}V¡om½fa™Ço³TTj¥„—Ry”K{ùÓjuµ{t}uËR‘iŸvGŠçJFjµŠÍyqΘàQÂFewixGw½Yŷpµú³XU›½ġy™łå‰kÚwZXˆ·l„¢Á¢K”zO„Λ΀jc¼htoDHr…|­J“½}JZ_¯iPq{tę½ĕ¦Zpĵø«kQ…Ťƒ]MÛfaQpě±ǽ¾]u­Fu‹÷nƒ™čįADp}AjmcEǒaª³o³ÆÍSƇĈÙDIzˑ赟^ˆKLœ—i—Þñ€[œƒaA²zz‰Ì÷Dœ|[šíijgf‚ÕÞd®|`ƒĆ~„oĠƑô³Ŋ‘D×°¯CsŠøÀ«ì‰UMhTº¨¸ǡîS–Ô„DruÂÇZ•ÖEŽ’vPZ„žW”‹ÐtĄE¢¦Ðy¸bŠô´oŬ¬Ž²Ês~€€]®tªašpŎJ¨Öº„_ŠŔ–`’Ŗ^Ѝ\\Ĝu–”~m²Ƹ›¸fW‰ĦrƔ}Î^gjdfÔ¡J}\\n C˜¦þWxªJRÔŠu¬ĨĨmF†dM{\\d\\ŠYÊ¢ú@@¦ª²SŠÜsC–}fNècbpRmlØ^g„d¢aÒ¢CZˆZxvÆ¶N¿’¢T@€uCœ¬^ĊðÄn|žlGl’™Rjsp¢ED}€Fio~ÔNŽ‹„~zkĘHVsDzßjƒŬŒŠŢ`Pûàl¢˜\\ÀœEhŽİgÞē X¼Pk–„|m"],encodeOffsets:[[118256,37017]]}},{type:"Feature",id:"420000",properties:{id:"420000",cp:[113.298572,30.684355],name:"湖北",childNum:3},geometry:{type:"MultiPolygon",coordinates:[["@@AB‚"],["@@lskt"],["@@¾«}{ra®pîÃ\\™›{øCŠËyyB±„b\\›ò˜Ý˜jK›‡L ]ĎĽÌ’JyÚCƈćÎT´Å´pb©È‘dFin~BCo°BĎĚømvŒ®E^vǾ½Ĝ²Ro‚bÜeNŽ„^ĺ£R†¬lĶ÷YoĖ¥Ě¾|sOr°jY`~I”¾®I†{GqpCgyl{‡£œÍƒÍyPL“¡ƒ¡¸kW‡xYlÙ抚ŁĢzœ¾žV´W¶ùŸo¾ZHxjwfx„GNÁ•³Xéæl¶‰EièIH‰ u’jÌQ~v|sv¶Ôi|ú¢Fh˜Qsğ¦ƒSiŠBg™ÐE^ÁÐ{–čnOÂȞUÎóĔ†ÊēIJ}Z³½Mŧïeyp·uk³DsѨŸL“¶_œÅuèw»—€¡WqÜ]\\‘Ò§tƗcÕ¸ÕFÏǝĉăxŻČƟO‡ƒKÉġÿ×wg”÷IÅzCg†]m«ªGeçÃTC’«[‰t§{loWeC@ps_Bp‘­r‘„f_``Z|ei¡—oċMqow€¹DƝӛDYpûs•–‹Ykıǃ}s¥ç³[§ŸcYŠ§HK„«Qy‰“wwö€¸ïx¼ņ¾Xv®ÇÀµRĠЋžHMž±cÏd„ƒǍũȅȷ±DSyúĝ£ŤĀàtÖÿï[îb\\}pĭÉI±Ñy…¿³x¯N‰o‰|¹H™ÏÛm‹júË~Tš•u˜ęjCöAwě¬R’đl¯ Ñb­‰ŇT†Ŀ_[Œ‘IčĄʿnM¦ğ\\É[T·™œ©oĕ@A¾w•ya¥Y\\¥Âaz¯ãÁ¡k¥ne£Ûw†E©Êō¶˓uoj_Uƒ¡cF¹­[Wv“P©w—huÕyBF“ƒ`R‹qJUw\\i¡{jŸŸEPïÿ½fć…QÑÀQ{ž‚°‡fLԁ~wXg—ītêݾ–ĺ‘Hdˆ³fJd]‹HJ²…E€ƒoU¥†HhwQsƐ»Xmg±çve›]Dm͂PˆoCc¾‹_h”–høYrŊU¶eD°Č_N~øĹĚ·`z’]Äþp¼…äÌQŒv\\rCŒé¾TnkžŐڀÜa‡“¼ÝƆĢ¶Ûo…d…ĔňТJq’Pb ¾|JŒ¾fXŠƐîĨ_Z¯À}úƲ‹N_ĒĊ^„‘ĈaŐyp»CÇĕKŠšñL³ŠġMŒ²wrIÒŭxjb[œžn«øœ˜—æˆàƒ ­h¯Ú€ŐªÞ¸€Y²ĒVø}Ā^İ™´‚LŠÚm„¥ÀJÞ{JVŒųÞŃx×sxxƈē ģMř–ÚðòIf–Ċ“Œ\\Ʈ±ŒdʧĘD†vČ_Àæ~DŒċ´A®µ†¨ØLV¦êHÒ¤"]],encodeOffsets:[[[113712,34e3]],[[115612,30507]],[[113649,34054]]]}},{type:"Feature",id:"430000",properties:{id:"430000",cp:[111.782279,28.09409],name:"湖南",childNum:3},geometry:{type:"MultiPolygon",coordinates:[["@@—n„FTs"],["@@ßÅÆችÔXr—†CO™“…ËR‘ïÿĩ­TooQyšÓ[‹ŅBE¬–ÎÓXa„į§Ã¸G °ITxp‰úxÚij¥Ïš–Ģ¾ŠedžÄ©ĸG…œàGh‚€–Â_U}Ċ}¢pczfŠþg¤€”ÇòAV‘‹M"],["@@©K—ƒA·³CQ±Á«³BUŠƑ¹AŠtćOw™D]ŒJiØSm¯b£‘ylƒ›X…HËѱH•«–‘C^õľA–Å§¤É¥„ïyuǙuA¢^{ÌC´­¦ŷJ£^[†“ª¿‡ĕ~•Ƈ…•N… skóā‡¹¿€ï]ă~÷O§­@—Vm¡‹Qđ¦¢Ĥ{ºjԏŽŒª¥nf´•~ÕoŸž×Ûą‹ıuZœmZcÒ IJĪ²SÊDŽŶ¨ƚƒ’CÖŎªQؼrŭŽ­«}NÏürʬŒmjr€@ĘrTW ­SsdHzƓ^ÇÂyUi¯DÅYlŹu{hTœ}mĉ–¹¥ě‰Dÿë©ıÓ[Oº£ž“¥ót€ł¹MՄžƪƒ`Pš…Di–ÛUŠ¾Å‌ìˆU’ñB“È£ýhe‰dy¡oċ€`pfmjP~‚kZa…ZsÐd°wj§ƒ@€Ĵ®w~^‚kÀÅKvNmX\\¨a“”сqvíó¿F„¤¡@ũÑVw}S@j}¾«pĂr–ªg àÀ²NJ¶¶Dô…K‚|^ª†Ž°LX¾ŴäPĪ±œ£EXd›”^¶›IJÞܓ~‘u¸ǔ˜Ž›MRhsR…e†`ÄofIÔ\\Ø  i”ćymnú¨cj ¢»–GČìƊÿШXeĈĀ¾Oð Fi ¢|[jVxrIQŒ„_E”zAN¦zLU`œcªx”OTu RLÄ¢dV„i`p˔vŎµªÉžF~ƒØ€d¢ºgİàw¸Áb[¦Zb¦–z½xBĖ@ªpº›šlS¸Ö\\Ĕ[N¥ˀmĎă’J\\‹ŀ`€…ňSڊĖÁĐiO“Ĝ«BxDõĚiv—ž–S™Ì}iùŒžÜnšÐºGŠ{Šp°M´w†ÀÒzJ²ò¨ oTçüöoÛÿñŽőФ‚ùTz²CȆȸǎŪƒƑÐc°dPÎŸğ˶[Ƚu¯½WM¡­Éž“’B·rížnZŸÒ `‡¨GA¾\\pē˜XhÆRC­üWGġu…§Ŏѝ©ò³I±³}_‘‹EÃħg®ęisÁPDmÅ{‰b[Ÿ€kPŸŽƥƒóRo”O‹ŸVŸ~]{g\\“êYƪ¦kÝbiċƵŠGZ»Ěõ…ó·³vŝž£ø@pyö_‹ëŽIkѵ‡bcѧy…×dY؎ªiþž¨ƒ[]f]Ņ©C}ÁN‡»hĻħƏ’ĩ"]],encodeOffsets:[[[115640,30489]],[[112543,27312]],[[116690,26230]]]}},{type:"Feature",id:"440000",properties:{id:"440000",cp:[113.280637,23.125178],name:"广东",childNum:24},geometry:{type:"MultiPolygon",coordinates:[["@@QdˆAua"],["@@ƒlxDLo"],["@@sbhNLo"],["@@Ă āŸ"],["@@WltO[["],["@@Krœ]S"],["@@e„„I]y"],["@@I|„Mym"],["@@ƒÛ³LSŒž¼Y"],["@@nvºB–ëui©`¾"],["@@zdšÛ›Jw®"],["@@†°…¯"],["@@a yAª¸ËJIx،@€ĀHAmßV¡o•fu•o"],["@@šs‰ŗÃÔėAƁ›ZšÄ ~°ČP‚‹äh"],["@@‹¶Ý’Ì‚vmĞh­ı‡Q"],["@@HœŠdSjĒ¢D}war…“u«ZqadYM"],["@@elŒ\\LqqU"],["@@~rMo\\"],["@@f„^ƒC"],["@@øPªoj÷ÍÝħXČx”°Q¨ıXNv"],["@@gÇƳˆŽˆ”oˆŠˆ[~tly"],["@@E–ÆC¿‘"],["@@OŽP"],["@@w‹†đóg‰™ĝ—‹¡VÙæÅöM̳¹pÁaËýý©D©Ü“JŹƕģGą¤{Ùū…ǘO²«BƱéA—Ò‰ĥ‡¡«BhlmtÃPµyU¯uc“d·w_bŝcīímGOŽ|KP’ȏ‡ŹãŝIŕŭŕ@Óoo¿ē‹±ß}Ž…ŭ‚ŸIJWÈCőâUâǙI›ğʼn©I›ijEׅÁ”³Aó›wXJþ±ÌŒÜӔĨ£L]ĈÙƺZǾĆĖMĸĤfŒÎĵl•ŨnȈ‘ĐtF”Š––‚êk¶œ^k°f¶gŠŽœ}®Fa˜f`vXŲxl˜„¦–ÔÁ²¬ÐŸ¦pqÊ̲ˆi€XŸØRDÎ}†Ä@ZĠ’s„x®AR~®ETtĄZ†–ƈfŠŠHâÒÐA†µ\\S¸„^wĖkRzŠalŽŜ|E¨ÈNĀňZTŒ’pBh£\\ŒĎƀuXĖtKL–¶G|Ž»ĺEļĞ~ÜĢÛĊrˆO˜Ùîvd]nˆ¬VœÊĜ°R֟pM††–‚ƂªFbwžˆ˜©Œž\\…¤]ŸI®¥D³|ˎ]CöAŤ¦…æ’´¥¸Lv¼€•¢ĽBaô–F~—š®²GÌҐEY„„œzk¤’°ahlV՞I^‹šCxĈPŽsB‰ƒºV‰¸@¾ªR²ĨN]´_eavSi‡vc•}p}Đ¼ƌkJœÚe thœ†_¸ ºx±ò_xN›Ë‹²‘@ƒă¡ßH©Ùñ}wkNÕ¹ÇO½¿£ĕ]ly_WìIžÇª`ŠuTÅxYĒÖ¼k֞’µ‚MžjJÚwn\\h‘œĒv]îh|’È›Ƅøègž¸Ķß ĉĈWb¹ƀdéʌNTtP[ŠöSvrCZžžaGuœbo´ŖÒÇА~¡zCI…özx¢„Pn‹•‰Èñ @ŒĥÒ¦†]ƞŠV}³ăĔñiiÄÓVépKG½Ä‘ÓávYo–C·sit‹iaÀy„ŧΡÈYDÑům}‰ý|m[węõĉZÅxUO}÷N¹³ĉo_qtă“qwµŁYلǝŕ¹tïÛUïmRCº…ˆĭ|µ›ÕÊK™½R‘ē ó]‘–GªęAx–»HO£|ām‡¡diď׍YWªʼnOeÚtĐ«zđ¹T…ā‡úE™á²\\‹ķÍ}jYàÙÆſ¿Çdğ·ùTßÇţʄ¡XgWÀLJğ·¿ÃˆOj YÇ÷Qě‹i"]],encodeOffsets:[[[117381,22988]],[[116552,22934]],[[116790,22617]],[[116973,22545]],[[116444,22536]],[[116931,22515]],[[116496,22490]],[[116453,22449]],[[113301,21439]],[[118726,21604]],[[118709,21486]],[[113210,20816]],[[115482,22082]],[[113171,21585]],[[113199,21590]],[[115232,22102]],[[115739,22373]],[[115134,22184]],[[113056,21175]],[[119573,21271]],[[119957,24020]],[[115859,22356]],[[116561,22649]],[[116285,22746]]]}},{type:"Feature",id:"450000",properties:{id:"450000",cp:[108.320004,22.82402],name:"广西",childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@H– TQ§•A"],["@@ĨʪƒLƒƊDÎĹĐCǦė¸zÚGn£¾›rªŀÜt¬@֛ڈSx~øOŒ˜ŶÐÂæȠ\\„ÈÜObĖw^oބLf¬°bI lTØB̈F£Ć¹gñĤaY“t¿¤VSñœK¸¤nM†¼‚JE±„½¸šŠño‹ÜCƆæĪ^ŠĚQÖ¦^‡ˆˆf´Q†üÜʝšlzUĺš@쇀p¶n]sxtx¶@„~ÒĂJb©gk‚{°‚~c°`ԙ¬rV\\“la¼¤ôá`¯¹LC†ÆbŒxEræO‚v[H­˜„[~|aB£ÖsºdAĐzNÂðsŽÞƔ…Ĥªbƒ–ab`ho¡³F«èVloŽ¤™ÔRzpp®SŽĪº¨ÖƒºN…ij„d`’a”¦¤F³ºDÎńĀìŠCžĜº¦Ċ•~nS›|gźvZkCÆj°zVÈÁƔ]LÊFZg…čP­kini«‹€cz͔Y®¬Ů»qR×ō©DՄ‘§ƙǃŵTÉĩ±ŸıdÑnYY›IJvNĆƌØÜ Öp–}e³¦m‹©iÓ|¹Ÿħņ›|ª¦QF¢Â¬ʖovg¿em‡^ucà÷gՎuŒíÙćĝ}FĻ¼Ĺ{µHK•sLSđƃr‹č¤[Ag‘oS‹ŇYMÿ§Ç{Fśbky‰lQxĕƒ]T·¶[B…ÑÏGáşşƇe€…•ăYSs­FQ}­Bƒw‘tYğÃ@~…€Q ×W‡j˱rÉ¥oÏ ±«ÓÂ¥•ƒ€k—ŽwWűŒmcih³K›~‰µh¯e]lµ›él•‰•E“ďs‡’–ŧē`ãògK_ÛsUʝ“ćğ¶hŒöŒO¤Ǜn³Žc‘`¡y‹¦C‘ez€YŠwa™–‘[ďĵűMę§]X˜Î_‚훘Û]é’ÛUćİÕBƣ±…dƒy¹T^džûÅÑŦ·‡PĻþÙ`K€¦˜…¢ÍeœĥR¿Œ³£[~Œäu¼dl‰t‚†W¸oRM¢ď\\zœ}Æzdvň–{ÎXF¶°Â_„ÒÂÏL©Ö•TmuŸ¼ãl‰›īkiqéfA„·Êµ\\őDc¥ÝF“y›Ôć˜c€űH_hL܋êĺШc}rn`½„Ì@¸¶ªVLŒŠ‹\\•Ţĺk~ŽĠið°|gŒtTĭĸ^x‘vK˜VGréAé‘bUu›MJ‰VÃO¡…XËS‰ģãlýàŸ_ju‡YÛÒB†œG^˜é֊¶§ŽƒEG”ÅzěƒƯ¤Ek‡N[kdåucé¬dnYpAyČ{`]þ¯T’bÜÈk‚¡Ġ•vŒàh„ÂƄ¢J"]],encodeOffsets:[[[111707,21520]],[[107619,25527]]]}},{type:"Feature",id:"460000",properties:{id:"460000",cp:[109.83119,19.031971],name:"海南",childNum:1},geometry:{type:"Polygon",coordinates:["@@š¦Ŝil¢”XƦ‘ƞò–ïè§ŞCêɕrŧůÇąĻõ™·ĉ³œ̅kÇm@ċȧƒŧĥ‰Ľʉ­ƅſ“ȓÒ˦ŝE}ºƑ[ÍĜȋ gÎfǐÏĤ¨êƺ\\Ɔ¸ĠĎvʄȀœÐ¾jNðĀÒRŒš™zÐŘΰH¨Ƣb²_Ġ "],encodeOffsets:[[112750,20508]]}},{type:"Feature",id:"510000",properties:{id:"510000",cp:[104.065735,30.659462],name:"四川",childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@LqKr"],["@@Š[ĻéV£ž_ţġñpG •réÏ·~ąSfy×͂·ºſƽıƣıĻmHH}siaX@iÇ°ÁÃ׃­Tƒ¤J–JJŒyJ•ÈŠ`Ohߦ¡uËhIyCjmÿw…ZG……Ti‹SˆsO‰žŸfNmsPaˆ{M{ŠõE‘^Hj}gYpaeuž¯‘oáwHjÁ½M¡pM“–‡mni{fk”\\oƒÎqCw†EZ¼K›ĝŠƒAy{m÷L‡wO×SimRI¯rK™õBS«sFe‡]fµ¢óY_ÆPRcue°Cbo׌bd£ŌIHgtrnyPt¦foaXďx›lBowz‹_{ÊéWiêE„GhܸºuFĈIxf®Ž•Y½ĀǙ]¤EyŸF²ċ’w¸¿@g¢§RGv»–áŸW`ÃĵJwi]t¥wO­½a[׈]`Ãi­üL€¦LabbTÀå’c}Íh™Æhˆ‹®BH€î|Ék­¤S†„ia©taį·Ɖ`ō¥Uh“O…ƒĝLk}©Fos‰´›Jm„µlŁu—…ø–nÑJWΪ–YÀïAetTžŅ‚ӍG™Ë«bo‰{ıwodƟ½ƒžOġܑµxàNÖ¾P²§HKv¾–]|•B‡ÆåoZ`¡Ø`ÀmºĠ~ÌЧnDž¿¤]wğ@sƒ‰rğu‰~‘Io”[é±¹ ¿žſđӉ@q‹gˆ¹zƱřaí°KtǤV»Ã[ĩǭƑ^ÇÓ@ỗs›•‹œÅĭ€Ƌ•ěpwDóÖሯneQˌ•GCœýS]xŸ·ý‹•œŒ¶Qzßti{ř‰áÍÇWŝŭñzÇW‹pç¿JŒ™‚Xœĩè½cŒF–ÂLiVjx}\\N†ŇĖ¥Ge–“JA¼ÄHfÈu~¸Æ«dE³ÉMA|b˜Ò…˜ćhG¬CM‚õŠ„ƤąAvƒüV€éŀ‰_V̳ĐwQj´·ZeÈÁ¨X´Æ¡Qu·»Ÿ“˜ÕZ³ġqDo‰y`L¬gdp°şŠp¦ėìÅĮZŽ°Iä”h‚‘ˆzŠĵœf²å ›ĚрKp‹IN|‹„Ñz]ń……·FU×é»R³™MƒÉ»GM«€ki€™ér™}Ã`¹ăÞmȝnÁîRǀ³ĜoİzŔwǶVÚ£À]ɜ»ĆlƂ²Ġ…þTº·àUȞÏʦ¶†I’«dĽĢdĬ¿–»Ĕ׊h\\c¬†ä²GêëĤł¥ÀǿżÃÆMº}BÕĢyFVvw–ˆxBèĻĒ©Ĉ“tCĢɽŠȣ¦āæ·HĽî“ôNԓ~^¤Ɗœu„œ^s¼{TA¼ø°¢İªDè¾Ň¶ÝJ‘®Z´ğ~Sn|ªWÚ©òzPOȸ‚bð¢|‹øĞŠŒœŒQìÛÐ@Ğ™ǎRS¤Á§d…i“´ezÝúØã]Hq„kIŸþËQǦÃsǤ[E¬ÉŪÍxXƒ·ÖƁİlƞ¹ª¹|XÊwn‘ÆƄmÀêErĒtD®ċæcQƒ”E®³^ĭ¥©l}äQto˜ŖÜqƎ–„ªÔĻĴ¡@Ċ°B²Èw^^RsºTĀ£ŚæœQP‘JvÄz„^Đ¹Æ¯fLà´GC²‘dt˜­ĀRt¼¤ĦOðğfÔðDŨŁĞƘ®âbMüÀXZ ¸£@Ś›»»QÉ­™]d“×–_ÌêŮPrĔĐÕGĂeZÜîĘqBhtO ¤tE[h|Y‹Ô‚ZśÎs´xº±UŒ’ñˆt|O’ĩĠºNbgþŠJy^dÂY Į„]Řz¦gC‚³€R`ĀŠz’¢AjŒ¸CL„¤RÆ»@­Ŏk\\Ç´£YW}z@Z}‰Ã¶“oû¶]´^N‡Ò}èN‚ª–P˜Íy¹`S°´†ATe€VamdUĐwʄvĮÕ\\ƒu‹Æŗ¨Yp¹àZÂm™Wh{á„}WØǍ•Éüw™ga§áCNęÎ[ĀÕĪgÖɪX˜øx¬½Ů¦¦[€—„†L€ÜUÖ´òrÙŠxR^–†J˜k„ijnDX{Uƒ~ET{ļº¦PZc”jF²Ė@Žp˜g€ˆ¨“B{ƒŦyhoÚD®¯¢˜ àFΤ¨GDäz¦kŮPœġq˚¥À]€Ÿ˜eŽâÚ´ªKxī„Pˆ—Ö|æ[xäJÞĥ‚s’NÖ½ž€I†¬nĨY´®Ð—ƐŠ€mD™ŝuäđđEb…e’e_™v¡}ìęNJē}q”É埁T¯µRs¡M@}ůa†a­¯wvƉåZwž\\Z{åû^›"]],encodeOffsets:[[[108815,30935]],[[110617,31811]]]}},{type:"Feature",id:"520000",properties:{id:"520000",cp:[106.713478,26.578343],name:"贵州",childNum:3},geometry:{type:"MultiPolygon",coordinates:[["@@†G\\†lY£‘in"],["@@q‚|ˆ‚mc¯tχVSÎ"],["@@hÑ£Is‡NgßH†›HªķÃh_¹ƒ¡ĝħń¦uيùŽgS¯JHŸ|sÝÅtÁïyMDč»eÕtA¤{b\\}—ƒG®u\\åPFq‹wÅaD…žK°ºâ_£ùbµ”‹ÛœĹM[q|hlaªāI}тƒµ@swtwm^oµˆD鼊yV™ky°ÉžûÛR…³‚‡eˆ‡¥]RՋěħ[ƅåÛDpŒ”J„iV™™‰ÂF²I…»mN·£›LbÒYb—WsÀbŽ™pki™TZĄă¶HŒq`……ĥ_JŸ¯ae«ƒKpÝx]aĕÛPƒÇȟ[ÁåŵÏő—÷Pw}‡TœÙ@Õs«ĿÛq©½œm¤ÙH·yǥĘĉBµĨÕnđ]K„©„œá‹ŸG纍§Õßg‡ǗĦTèƤƺ{¶ÉHÎd¾ŚÊ·OÐjXWrãLyzÉAL¾ę¢bĶėy_qMĔąro¼hĊžw¶øV¤w”²Ĉ]ʚKx|`ź¦ÂÈdr„be¸›`I¼čTF´¼Óýȃr¹ÍJ©k_șl³´_`oÒhŽ¶pa‚^ÓĔ}D»^Xyœ`d˜[Kv…JPhèhCrĂĚÂ^Êƌ wˆZL­Ġ£šÁbrzOIl’MM”ĪŐžËr×ÎeŦŽtw|Œ¢mKjSǘňĂStÎŦEtqFT†¾†E쬬ôxÌO¢Ÿ KŠ³ŀºäY†„”PVgŎ¦Ŋm޼VZwVlŒ„…ž£Tl®ctĽÚó{G­A‡ŒÇgeš‘d¿æaSba¥KKûj®_ć^\\ؾbP®¦x^sxjĶI_Ä X‚⼕Hu¨Qh¡À@Ëô}Ž±žGNìĎlT¸ˆ…`V~R°tbÕĊ`¸úÛtπFDu€[ƒMfqGH·¥yA‰ztMFe|R‚_Gk†ChZeÚ°to˜v`x‹b„ŒDnÐ{E}šZ˜è€x—†NEފREn˜[Pv@{~rĆAB§‚EO¿|UZ~ì„Uf¨J²ĂÝƀ‚–B`„œfvö¦ŠÕ~dÔq¨¸º»uù[[§´sb¤¢zþFœ¢Æ…Àhˆ™ÂˆW\\ıŽËI݊o±ĭŠ£þˆÊs}¡R]ŒěƒD‚g´VG¢‚j±®è†ºÃmpU[Á›‘Œëº°r›ÜbNu¸}Žº¼‡`ni”ºÔXĄ¤¼Ôdaµ€Á_À…†ftQQgœR—‘·Ǔ’v”}Ýלĵ]µœ“Wc¤F²›OĩųãW½¯K‚©…]€{†LóµCIµ±Mß¿hŸ•©āq¬o‚½ž~@i~TUxŪÒ¢@ƒ£ÀEîôruń‚”“‚b[§nWuMÆLl¿]x}ij­€½"]],encodeOffsets:[[[112158,27383]],[[112105,27474]],[[112095,27476]]]}},{type:"Feature",id:"530000",properties:{id:"530000",cp:[101.512251,24.740609],name:"云南",childNum:1},geometry:{type:"Polygon",coordinates:["@@[„ùx½}ÑRH‘YīĺûsÍn‘iEoã½Ya²ė{c¬ĝg•ĂsA•ØÅwď‚õzFjw}—«Dx¿}UũlŸê™@•HÅ­F‰¨ÇoJ´Ónũuą¡Ã¢pÒŌ“Ø TF²‚xa²ËX€‚‹lHîAßËŁkŻƑŷÉ©h™W­æßU‡“Ës¡¦}•teèƶStǀÇ}Fd£j‹ĈZĆÆ‹¤T‚č\\Dƒ}O÷š£Uˆ§~ŃG™‚åŃDĝ¸œTsd¶¶Bªš¤u¢ŌĎo~t¾ÍŶÒtD¦Ú„iôö‰€z›ØX²ghįh½Û±¯€ÿm·zR¦Ɵ`ªŊÃh¢rOԍ´£Ym¼èêf¯ŪĽn„†cÚbŒw\\zlvWžªâˆ ¦g–mĿBş£¢ƹřbĥkǫßeeZkÙIKueT»sVesb‘aĕ  ¶®dNœĄÄpªyŽ¼—„³BE˜®l‡ŽGœŭCœǶwêżĔÂe„pÍÀQƞpC„–¼ŲÈ­AÎô¶R„ä’Q^Øu¬°š_Èôc´¹ò¨P΢hlϦ´Ħ“Æ´sâDŽŲPnÊD^¯°’Upv†BP̪–jǬx–Söwlfòªv€qĸ|`H€­viļ€ndĜ­Ćhň•‚em·FyށžSį¯‘³X_ĞçêtryvL¤§z„¦c¦¥jnŞk˜ˆlD¤øz½ĜàžĂŧMÅ|áƆàÊcðÂF܎‚áŢ¥\\\\º™İøÒÐJĴ‡„îD¦zK²ǏÎEh~’CD­hMn^ÌöÄ©ČZÀž„fɭyœpį´ěFűk]Ôě¢qlÅĆÙa¶~Äqššê€ljN¬¼H„ÊšNQ´ê¼VظE††^ŃÒyŒƒM{ŒJLoÒœęæŸe±Ķ›y‰’‡gã“¯JYÆĭĘëo¥Š‰o¯hcK«z_pŠrC´ĢÖY”—¼ v¸¢RŽÅW³Â§fǸYi³xR´ďUˊ`êĿU„û€uĆBƒƣö‰N€DH«Ĉg†——Ñ‚aB{ÊNF´¬c·Åv}eÇÃGB»”If•¦HňĕM…~[iwjUÁKE•Ž‹¾dĪçW›šI‹èÀŒoÈXòyŞŮÈXâÎŚŠj|àsRy‹µÖ›–Pr´þŒ ¸^wþTDŔ–Hr¸‹žRÌmf‡żÕâCôox–ĜƌÆĮŒ›Ð–œY˜tâŦÔ@]ÈǮƒ\\Ī¼Ä£UsȯLbîƲŚºyh‡rŒŠ@ĒԝƀŸÀ²º\\êp“’JŠ}ĠvŠqt„Ġ@^xÀ£È†¨mËÏğ}n¹_¿¢×Y_æpˆÅ–A^{½•Lu¨GO±Õ½ßM¶w’ÁĢۂP‚›Ƣ¼pcIJxŠ|ap̬HšÐŒŊSfsðBZ¿©“XÏÒK•k†÷Eû¿‰S…rEFsÕūk”óVǥʼniTL‚¡n{‹uxţÏh™ôŝ¬ğōN“‘NJkyPaq™Âğ¤K®‡YŸxÉƋÁ]āęDqçgOg†ILu—\\_gz—]W¼ž~CÔē]bµogž_oď`´³Țkl`IªºÎȄqÔþž»E³ĎSJ»œ_f·‚adÇqƒÇc¥Á_Źw{™L^ɱćx“U£µ÷xgĉp»ĆqNē`rĘzaĵĚ¡K½ÊBzyäKXqiWPÏɸ½řÍcÊG|µƕƣG˛÷Ÿk°_^ý|_zċBZocmø¯hhcæ\\lˆMFlư£Ĝ„ÆyH“„‰µêÕ]—›HA…àӄ^it `þßäkŠĤÎT~Wlÿ¨„ÔPzUC–NVv [jâôDôď[}ž‰z¿–msSh‹¯{jïğl}šĹ[–őŒ‰gK‹©U·µË@¾ƒm_~q¡f¹…ÅË^»‘f³ø}Q•„¡Ö˳gͱ^ǁ…\\ëÃA_—¿bW›Ï[¶ƛ鏝£F{īZgm@|kHǭƁć¦UĔťƒ×ë}ǝƒeďºȡȘÏíBə£āĘPªij¶“ʼnÿ‡y©n‰ď£G¹¡I›Š±LÉĺÑdĉ܇˜‰}g˜Á†{aqÃ¥aŠıęÏZ—ï`"],encodeOffsets:[[104636,22969]]}},{type:"Feature",id:"540000",properties:{id:"540000",cp:[89.132212,30.860361],name:"西藏",childNum:1},geometry:{type:"Polygon",coordinates:["@@hžľxŽŖ‰xƒÒVŽ†ºÅâAĪÝȆµę¯Ňa±r_w~uSÕň‘qOj]ɄQ…£Z……UDûoY’»©M[‹L¼qãË{V͕çWViŽ]ë©Ä÷àyƛh›ÚU°ŒŒa”d„cQƒ~Mx¥™cc¡ÙaSyF—ցk­ŒuRýq¿Ôµ•QĽ³aG{¿FµëªéĜÿª@¬·–K‰·àariĕĀ«V»Ŷ™Ĵū˜gèLǴŇƶaf‹tŒèBŚ£^Šâ†ǐÝ®–šM¦ÁǞÿ¬LhŸŽJ¾óƾƺcxw‹f]Y…´ƒ¦|œQLn°aœ…œ\\¨o’œǀÍŎœ´ĩĀd`tÊQŞŕ|‚¨C^©œĈ¦„¦ÎJĊ{ŽëĎjª²rЉšl`¼Ą[t|¦St辉PŒÜK¸€d˜Ƅı]s¤—î_v¹ÎVòŦj˜£Əsc—¬_Ğ´˜¦AvŽ¦w`ăaÝaa­¢e¤ı²©ªSªšÈMĄwžÉØŔì@T‘¤—Ę™\\õª@”þo´­xA s”ÂtŎKzó´ÇĊµ¢rž^nĊ­Æ¬×üGž¢‚³ {âĊ]š™G‚~bÀgVjzlhǶf€žOšfdŠ‰ªB]pj„•TO–‚n¤}®¦ƒČ¥d¢¼»ddš”Žt—¢eȤJ¤}Ǿ¡°§¤AГlc@ĝ”sªćļđAç‡wx•UuzEÖġ~AN¹ÄÅȀŻ¦¿ģŁéì±H…ãd«g[؉¼ēÀ•cīľġ¬cJ‘µ…ÐʥVȝ¸ßS¹†ý±ğkƁ¼ą^ɛ¤Ûÿ‰b[}¬ōõÃ]ËNm®g@•Bg}ÍF±ǐyL¥íCˆƒ€Ï÷њį[¹¦[⚍EÛïÁÉdƅß{âNÆāŨߝ¾ě÷yC£‡k­´ÓH@¹†TZ¥¢įƒ·ÌAЧ®—Zc…ŸZ­¹|ŕWZqgW“|ieZÅYVӁqdq•bc²R@†c‡¥Rã»Ge†ŸeƃīQ•}J[ғK…¬Ə|o’ėjġĠÑN¡ð¯EBčnwôɍėªƒ²•CλŹġǝʅįĭạ̃ūȹ]ΓͧgšsgȽóϧµǛ†ęgſ¶ҍć`ĘąŌJޚä¤rÅň¥ÖÁUětęuůÞiĊÄÀ\\Æs¦ÓRb|Â^řÌkÄŷ¶½÷‡f±iMݑ›‰@ĥ°G¬ÃM¥n£Øą‚ğ¯ß”§aëbéüÑOčœk£{\\‘eµª×M‘šÉfm«Ƒ{Å׃Gŏǩãy³©WÑăû‚··‘Q—òı}¯ã‰I•éÕÂZ¨īès¶ZÈsŽæĔTŘvŽgÌsN@îá¾ó@‰˜ÙwU±ÉT廣TđŸWxq¹Zo‘b‹s[׌¯cĩv‡Œėŧ³BM|¹k‰ªħ—¥TzNYnݍßpęrñĠĉRS~½ŠěVVŠµ‚õ‡«ŒM££µB•ĉ¥áºae~³AuĐh`Ü³ç@BۘïĿa©|z²Ý¼D”£àč²‹ŸƒIƒû›I ā€óK¥}rÝ_Á´éMaň¨€~ªSĈ½Ž½KÙóĿeƃÆBŽ·¬ën×W|Uº}LJrƳ˜lŒµ`bÔ`QˆˆÐÓ@s¬ñIŒÍ@ûws¡åQÑßÁ`ŋĴ{Ī“T•ÚÅTSij‚‹Yo|Ç[ǾµMW¢ĭiÕØ¿@˜šMh…pÕ]j†éò¿OƇĆƇp€êĉâlØw–ěsˆǩ‚ĵ¸c…bU¹ř¨WavquSMzeo_^gsÏ·¥Ó@~¯¿RiīB™Š\\”qTGªÇĜçPoŠÿfñòą¦óQīÈáP•œābß{ƒZŗĸIæńhnszÁCËìñšÏ·ąĚÝUm®ó­L·ăU›Èíoù´Êj°ŁŤ_uµ^‘°Œìǖ@tĶĒ¡Æ‡M³Ģ«˜İĨÅ®ğ†RŽāð“ggheÆ¢z‚Ê©Ô\\°ÝĎz~ź¤Pn–MĪÖB£Ÿk™„§żćŠ˜ĆK„Ē°¼L¶è‰âz¨u¦¥LDĘz¬ýÎmĘd¾ß”Fz“hg²™Fy¦ĝ¤ċņbΛ@y‚Ąæm°NĮZRÖíŽJ²öLĸÒ¨Y®ƌÐV‰à˜tt_ڀÂyĠzž]Ţh€zĎ{†ĢX”ˆc|šÐqŽšfO¢¤ög‚ÌHNŽ„PKŖœŽ˜´xx[xˆvĐCûĀŠìÖT¬¸^}Ìsòd´_Ž‡KgžLĴ…ÀBon|H@–Êx˜—¦BpŰˆŌ¿fµƌA¾zLjRxŠ¶F”œkĄźRzŀˆ~¶[”´Hnª–VƞuĒ­È¨ƎcƽÌm¸ÁÈM¦x͊ëÀxdžB’šú^´W†£–d„kɾĬpœw‚˂ØɦļĬIŚœÊ•n›Ŕa¸™~J°î”lɌxĤÊÈðhÌ®‚g˜T´øŽàCˆŽÀ^ªerrƘdž¢İP|Ė ŸWœªĦ^¶´ÂL„aT±üWƜ˜ǀšŶUńšĖ[QhlLüA†‹Ü\\†qR›Ą©"],encodeOffsets:[[90849,37210]]}},{type:"Feature",id:"610000",properties:{id:"610000",cp:[108.948024,34.263161],name:"陕西",childNum:1},geometry:{type:"Polygon",coordinates:["@@˜—ȮµšûG™Ħ}Ħšðǚ¶òƄ€jɂz°{ºØkÈęâ¦jª‚Bg‚\\œċ°s¬Ž’]jžú ‚E”Ȍdž¬s„t‡”RˆÆdĠݎ”¸ôW¾ƮłÒ_{’Ìšû¼„jº¹¢GǪÒ¯ĘƒZ`ºŊƒecņąš~BÂgzpâēòYǠȰÌTΨÂWœ|fcŸă§uF—Œ@NŸ¢XLƒŠRMº[ğȣſï|¥J™kc`sʼnǷ’‹W@µ÷K…ãï³ÛIcñ·VȋڍÒķø©—þ¥ƒy‚ÓŸğęmWµÎumZyOŅƟĥÓ~sÑL¤µaŅY¦ocyZ{‰y c]{ŒTa©ƒ`U_Ěē£ωÊƍ’K¶ȱÝƷ§{û»ÅÁȹÍéuij|¹cÑd‘ŠìUYƒŽO‘uF–ÕÈYvÁCqӃT•Ǣí§·S¹NgŠV¬ë÷Át‡°Dد’C´ʼnƒópģ}„ċcE˅FŸŸéGU¥×K…§­¶³B‹Č}C¿åċ`wġB·¤őcƭ²ő[Å^axwQO…ÿEËߌ•ĤNĔŸˆÄŠńwĪ­Šo[„_KÓª³“ÙnK‰Çƒěœÿ]ď€ă_d©·©Ýŏ°Ù®g]±„Ÿ‡ß˜å›—¬÷m\\›iaǑkěX{¢|ZKlçhLt€Ňîŵ€œè[€É@ƉĄEœ‡Ï˜³­ħZ«mJ…›×¾‘MtÝĦ£IwÄå\\Õ{‡˜ƒOwĬ©LÙ³ÙgBƕŀr̛ĢŭO¥lãyC§HÍ£ßEñŸ—­°ÙCgpťz‘ˆb`wI„vA|§”‡—hoĕ@E±“iYd¥OĻ¹S|}F@¾oAO²{tfžÜ—¢Fǂ҈W²°BĤh^Wx{@„¬‚­F¸¡„ķn£P|ŸªĴ@^ĠĈæb–Ôc¶l˜Yi…–^Mi˜cĎ°Â[ä€vï¶gv@À“Ĭ·lJ¸sn|¼u~a]’ÆÈtŌºJp’ƒþ£KKf~Š¦UbyäIšĺãn‡Ô¿^­žŵMT–hĠܤko¼Ŏìąǜh`[tŒRd²IJ_œXPrɲ‰l‘‚XžiL§àƒ–¹ŽH˜°Ȧqº®QC—bA†„ŌJ¸ĕÚ³ĺ§ `d¨YjžiZvRĺ±öVKkjGȊĐePОZmļKÀ€‚[ŠŽ`ösìh†ïÎoĬdtKÞ{¬èÒÒBŒÔpIJÇĬJŊ¦±J«ˆ‹@·pH€µàåVKe›pW†ftsAÅqC·¬ko«pHÆuK@oŸHĆۄķhx“e‘n›S³àǍrqƶRbzy€¸ËАl›¼EºpĤ¼Œx¼½~Ğ’”à@†ÚüdK^ˆmÌSj"],encodeOffsets:[[110234,38774]]}},{type:"Feature",id:"620000",properties:{id:"620000",cp:[103.823557,36.058039],name:"甘肃",childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@VuUv"],["@@ũ‹EĠtt~nkh`Q‰¦ÅÄÜdw˜Ab×ĠąJˆ¤DüègĺqBqœj°lI¡ĨÒ¤úSHbš‡Š‘BŠ°aZˆ¢KJŽ’O[|A£žDx}Nì•HUnrk„ kp€¼Y kMJn[aG‚áÚÏ[½rc†}aQxOgsPMnUs‡nc‹Z…ž–sKúvA›t„Þġ’£®ĀYKdnFwš¢JE°”Latf`¼h¬we|€Æ‡šbj}GA€·~WŽ”—`†¢MC¤tL©IJ°qdf”O‚“bÞĬ¹ttu`^ZúE`Œ[@„Æsîz®¡’C„ƳƜG²“R‘¢R’m”fŽwĸg܃‚ą G@pzJM½mŠhVy¸uÈÔO±¨{LfæU¶ßGĂq\\ª¬‡²I‚¥IʼnÈīoı‹ÓÑAçÑ|«LÝcspīðÍg…të_õ‰\\ĉñLYnĝg’ŸRǡÁiHLlõUĹ²uQjYi§Z_c¨Ÿ´ĹĖÙ·ŋI…ƒaBD˜­R¹ȥr—¯G•ºß„jWk’ɱŠOq›Wij\\a­‹Q\\sg_ĆǛōëp»£lğۀgS•ŶN®À]ˆÓäm™ĹãJaz¥V}‰Le¤L„ýo‘¹IsŋÅÇ^‘Žbz…³tmEÁ´aŠ¹cčecÇN•ĊãÁ\\č¯—dNj•]j†—ZµkÓda•ćå]ğij@ ©O{¤ĸm¢ƒ®ƒ«|@Xwg]Aģ±¯‡XǁÑdzªc›wQÚŝñsÕ³ÛV_ýƒ˜¥\\ů¥©¾÷w—Ž©WÕÊĩhÿÖÁRo¸V¬âDb¨šhûx–Ê×nj~Zâƒg|šXÁnßYoº§ZÅŘvŒ[„ĭÖʃuďxcVbnUSf…B¯³_Tzº—ΕO©çMÑ~Mˆ³]µ^püµ”ŠÄY~y@X~¤Z³€[Èōl@®Å¼£QKƒ·Di‹¡By‘ÿ‰Q_´D¥hŗyƒ^ŸĭÁZ]cIzý‰ah¹MĪğP‘s{ò‡‹‘²Vw¹t³Ŝˁ[ŽÑ}X\\gsFŸ£sPAgěp×ëfYHāďÖqēŭOÏë“dLü•\\iŒ”t^c®šRʺ¶—¢H°mˆ‘rYŸ£BŸ¹čIoľu¶uI]vģSQ{ƒ”Å}QÂ|̋°ƅ¤ĩŪU ęĄžÌZҞ\\v˜²PĔ»ƢNHƒĂyAmƂwVmž`”b•”H`‰Ì¢²ILvĜ—H®¤Dlt_„¢JJÄämèÔDëþgºƫ™”aʎÌrêYi~ ÎݤNpÀA¾Ĕ¼b…ð÷’Žˆ‡®‚”üs”zMzÖĖQdȨý†v§Tè|ªH’þa¸|šÐ ƒwKĢx¦ivr^ÿ ¸l öæfƟĴ·PJv}n\\h¹¶v†·À|\\ƁĚN´Ĝ€çèÁz]ġ¤²¨QÒŨTIl‡ªťØ}¼˗ƦvÄùØE‹’«Fï˛Iq”ōŒTvāÜŏ‚íÛߜÛV—j³âwGăÂíNOŠˆŠPìyV³ʼnĖýZso§HіiYw[߆\\X¦¥c]ÔƩÜ·«j‡ÐqvÁ¦m^ċ±R™¦΋ƈťĚgÀ»IïĨʗƮŽ°Ɲ˜ĻþÍAƉſ±tÍEÕÞāNU͗¡\\ſčåÒʻĘm ƭÌŹöʥ’ëQ¤µ­ÇcƕªoIýˆ‰_mkl³ă‰Ɠ¦j—¡Yz•Ňi–}Msßõ–īʋ —}ƒÁVmŸ_[n}eı­Uĥ¼‘ª•I{ΧDӜƻėoj‘qYhĹT©oūĶ£]ďxĩ‹ǑMĝ‰q`B´ƃ˺Ч—ç~™²ņj@”¥@đ´ί}ĥtPńǾV¬ufӃÉC‹̻‰…¹£G³€]ƖƾŎĪŪĘ̖¨ʈĢƂlɘ۪üºňUðǜȢƢż̌ȦǼ‚ĤŊɲĖ­Kq´ï¦—ºĒDzņɾªǀÞĈĂD†½ĄĎÌŗĞrôñnŽœN¼â¾ʄľԆ|DŽŽ֦ज़ȗlj̘̭ɺƅêgV̍ʆĠ·ÌĊv|ýĖÕWĊǎÞ´õ¼cÒÒBĢ͢UĜð͒s¨ňƃLĉÕÝ@ɛƯ÷¿Ľ­ĹeȏijëCȚDŲyê×Ŗyò¯ļcÂßY…tÁƤyAã˾J@ǝrý‹‰@¤…rz¸oP¹ɐÚyᐇHŸĀ[Jw…cVeȴϜ»ÈŽĖ}ƒŰŐèȭǢόĀƪÈŶë;Ñ̆ȤМľĮEŔ—ĹŊũ~ËUă{ŸĻƹɁύȩþĽvĽƓÉ@ē„ĽɲßǐƫʾǗĒpäWÐxnsÀ^ƆwW©¦cÅ¡Ji§vúF¶Ž¨c~c¼īŒeXǚ‹\\đ¾JŽwÀďksãA‹fÕ¦L}wa‚o”Z’‹†Ml«]eÒÅaɲáo½FõÛ]ĻÒ¡wYR£¢rvÓ®y®LF‹LzĈ„ôe]gx}•|KK}xklL]c¦£fRtív¦†PĤoH{tK"]],encodeOffsets:[[[108619,36299]],[[108589,36341]]]}},{type:"Feature",id:"630000",properties:{id:"630000",cp:[96.778916,35.623178],name:"青海",childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@InJm"],["@@CƒÆ½OŃĦsΰ~Ē³¦@@“Ņiš±è}ؘƄ˹A³r_ĞŠǒNĪŒĐw¤^ŬĵªpĺSZg’rpiƼĘԛ¨C|͖J’©Ħ»®VIJ~f\\m `Un„˜Ÿ•ĬàöNt•~ňjy–¢Zi˜Ɣ¥ĄŠk´nl`JʇŠJþ©pdƖ®È£¶ìRʦ‘źõƮËnŸʼėæÑƀĎ[‚˜¢VÎĂMÖÝÎF²sƊƀÎBļýƞ—¯ʘƭðħ¼Jh¿ŦęΌƇš¥²Q]Č¥nuÂÏriˆ¸¬ƪÛ^Ó¦d€¥[Wà…x\\ZŽ•¨GtpþYŊĕ´€zUO뇉P‰îMĄÁxH´á˜iÜUà›îÜՁĂÛSuŎ‹r“œJð̬EŒ‘FÁú×uÃÎkr“Ē{V}İ«O_ÌËĬ©ŽÓŧSRѱ§Ģ£^ÂyèçěM³Ƃę{[¸¿u…ºµ[gt£¸OƤĿéYŸõ·kĀŸq]juw¥Dĩƍ€õÇPéĽG‘ž©ã‡¤G…uȧþRcÕĕNy“yût“ˆ­‡ø‘†ï»a½ē¿BMoį£ŸÍj}éZËqbʍš“Ƭh¹ìÿÓAçãnIáI`ƒks£CG­ě˜Uy×Cy•…’Ÿ@¶ʡÊBnāzG„ơMē¼±O÷õJËĚăVŸĪũƆ£Œ¯{ËL½Ìzż“„VR|ĠTbuvJvµhĻĖH”Aëáa…­OÇðñęNw‡…œľ·L›mI±íĠĩPÉ×®ÿs—’cB³±JKßĊ«`…ađ»·QAmO’‘Vţéÿ¤¹SQt]]Çx€±¯A@ĉij¢Óļ©•ƒl¶ÅÛr—ŕspãRk~¦ª]Į­´“FR„åd­ČsCqđéFn¿Åƃm’Éx{W©ºƝºįkÕƂƑ¸wWūЩÈFž£\\tÈ¥ÄRÈýÌJ ƒlGr^×äùyÞ³fj”c†€¨£ÂZ|ǓMĝšÏ@ëÜőR‹›ĝ‰Œ÷¡{aïȷPu°ËXÙ{©TmĠ}Y³’­ÞIňµç½©C¡į÷¯B»|St»›]vƒųƒ”}MÓ ÿʪƟǭA¡fs˜»PY¼c¡»¦c„ċ­¥£~msĉP•–Siƒ^o©A‰Šec‚™PeǵŽkg‚yUi¿h}aH™šĉ^|ᴟ¡HØûÅ«ĉ®]m€¡qĉ¶³ÈyôōLÁst“BŸ®wn±ă¥HSòėš£˜S’ë@לÊăxÇN©™©T±ª£IJ¡fb®ÞbŽb_Ą¥xu¥B—ž{łĝ³«`d˜Ɛt—¤ťiñžÍUuºí`£˜^tƃIJc—·ÛLO‹½Šsç¥Ts{ă\\_»™Š±q©čiìĉ|ÍIƒ¥ć¥›€]ª§D{ŝŖÉR_sÿc³Īō›ƿΑ›§p›†›c¯bKm›R¥{³„Z†e^ŽŒwx¹dƽŽôIg §Mĕ ƹĴ¿—ǣÜ̓]‹Ý–]snåA{‹eŒƭ`ǻŊĿ\\ijŬű”YÂÿ¬jĖqŽßbŠ¸•¸©@ěĀ©ê¶ìÀEH|´bRľž–Ó¶rÀQþ‹vl®Õ‚E˜TzÜdb ˜hw¤{LR„ƒd“c‹‹ÙVgœ‚ƜßzÃô쮍^jUèXΖ|UäÌ»rKŽ\\ŒªN‘¼pZCü†VY††¤ɃRi^rPҒTÖ}|br°qňbĚ°ªiƶGQ¾²„x¦PœmlŜ‘[Ĥ¡ΞsĦŸÔÏâ\\ªÚŒU\\f…¢N²§x|¤§„xĔsZPòʛ²SÐqF`ª„VƒÞŜĶƨVZŒÌL`ˆ¢dŐIqr\\oäõ–F礻Ŷ×h¹]Clـ\\¦ďÌį¬řtTӺƙgQÇÓHţĒ”´ÃbEÄlbʔC”|CˆŮˆk„Ʈ[ʼ¬ňœ´KŮÈΰÌĪ¶ƶlð”ļA†TUvdTŠG†º̼ŠÔ€ŒsÊDԄveOg"]],encodeOffsets:[[[105308,37219]],[[95370,40081]]]}},{type:"Feature",id:"640000",properties:{id:"640000",cp:[106.278179,37.26637],name:"宁夏",childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@KëÀęĞ«OęȿȕŸı]ʼn¡åįÕÔ«Ǵõƪ™ĚQÐZhv ›öqÀѐS[ÃÖHƖčË‡nL]ûc…Ùß@‚“ĝ‘¾}w»»‹oģF¹œ»kÌÏ·{zPƒ§B­¢íyÅt@ƒ@áš]Yv_ssģ¼i߁”ĻL¾ġsKD£¡N_…“˜X¸}B~Haiˆ™Åf{«x»ge_bs“KF¯¡Ix™mELcÿZ¤­Ģ‘ƒÝœsuBLù•t†ŒYdˆmVtNmtOPhRw~bd…¾qÐ\\âÙH\\bImlNZŸ»loƒŸqlVm–Gā§~QCw¤™{A\\‘PKŸNY‡¯bF‡kC¥’sk‹Šs_Ã\\ă«¢ħkJi¯r›rAhĹûç£CU‡ĕĊ_ԗBixÅُĄnªÑaM~ħpOu¥sîeQ¥¤^dkKwlL~{L~–hw^‚ófćƒKyEŒ­K­zuÔ¡qQ¤xZÑ¢^ļöܾEpž±âbÊÑÆ^fk¬…NC¾‘Œ“YpxbK~¥ŽŽŒäBlt¿Đx½I[ĒǙŒWž‹f»Ĭ}d§dµùEu‚IÆ¢¥dXªƅx¿]mtÏwßRĶŒX¢͎vÆzƂZò®ǢÌʆCrâºMÞzžÆMҔÊÓŊZľ–Î®Ȉmª²ĈUªĚøºˆĮ¦ÌĘk„^FłĬhĚiĀĖ¾iİbjÕ"],["@@mfwěwMrŢªv@G‰"]],encodeOffsets:[[[109366,40242]],[[108600,36303]]]}},{type:"Feature",id:"650000",properties:{id:"650000",cp:[85.617733,40.792818],name:"新疆",childNum:1},geometry:{type:"Polygon",coordinates:["@@QØĔ²X¨”~ǘBºjʐßØvK”ƔX¨vĊOžÃƒ·¢i@~c—‡ĝe_«”Eš“}QxgɪëÏÃ@sÅyXoŖ{ô«ŸuX…ê•Îf`œC‚¹ÂÿÐGĮÕĞXŪōŸMźÈƺQèĽôe|¿ƸJR¤ĘEjcUóº¯Ĩ_ŘÁMª÷Ð¥Oéȇ¿ÖğǤǷÂF҇zÉx[]­Ĥĝ‰œ¦EP}ûƥé¿İƷTėƫœŕƅ™ƱB»Đ±’ēO…¦E–•}‘`cȺrĦáŖuҞª«IJ‡πdƺÏØZƴwʄ¤ĖGЙǂZĶƒèH¶}ÚZצʥĪï|ÇĦMŔ»İĝLj‹ì¥Βœba­¯¥ǕǚkĆŵĦɑĺƯxūД̵nơʃĽá½M»›òmqóŘĝč˾ăC…ćāƿÝɽ©DZŅ¹đ¥˜³ðLrÁ®ɱĕģʼnǻ̋ȥơŻǛȡVï¹Ň۩ûkɗġƁ§ʇė̕ĩũƽō^ƕŠUv£ƁQï“Ƶkŏ½ΉÃŭdzLқʻ«ƭ\\lƒ‡ŭD‡“{ʓDkaFÃÄa“³ŤđÔGRÈƚhSӹŚsİ«ĐË[¥ÚDkº^Øg¼ŵ¸£EÍö•€ůʼnT¡c_‡ËKY‹ƧUśĵ„݃U_©rETÏʜ±OñtYwē¨ƒ{£¨uM³x½şL©Ùá[ÓÐĥ Νtģ¢\\‚ś’nkO›w¥±ƒƷFɯàĩÞáB¹Æ…ÑUw„੍žĽw[“mG½Èå~‡Æ÷QyŠěCFmĭZī—ŵVÁ™ƿQƛ—ûXS²‰b½KϽĉS›©ŷXĕŸ{ŽĕK·¥Ɨcqq©f¿]‡ßDõU³h—­gËÇïģÉɋw“k¯í}I·šœbmœÉ–ř›īJɥĻˁ×xo›ɹī‡l•c…¤³Xù]‘™DžA¿w͉ì¥wÇN·ÂËnƾƍdǧđ®Ɲv•Um©³G\\“}µĿ‡QyŹ“›µEw‰LJQ½yƋBe¶ŋÀů‡ož¥A—˜Éw@•{Gpm¿Aij†ŽKLhˆ³`ñcËtW‚±»ÕS‰ëüÿďD‡u\\wwwù³—V›ƒOMËGh£õP¡™er™Ïd{“‡ġWÁ…č|yšg^ğyÁzÙs`—s|ÉåªÇ}m¢Ń¨`x¥’ù^•}ƒÌ¥H«‰Yªƅ”Aйn~ź¯šf¤áÀz„gŠÇDIԝ´AňĀ҄¶ûEYospõD[{ù°]u›Jq•U•|Soċxţ[õÔĥkŋÞŭZ˺óYËüċrw €ÞkrťË¿XGÉbřaDü·Ē÷Aê[Ää€I®BÕИÞ_¢āĠpŠÛÄȉĖġDKwbm‡ÄNô‡ŠfœƫVÉvi†dz—H‘‹QµâFšù­Âœ³¦{YGžƒd¢ĚÜO „€{Ö¦ÞÍÀPŒ^b–ƾŠlŽ[„vt×ĈÍE˨¡Đ~´î¸ùÎh€uè`¸ŸHÕŔVºwĠââWò‡@{œÙNÝ´ə²ȕn{¿¥{l—÷eé^e’ďˆXj©î\\ªÑò˜Üìc\\üqˆÕ[Č¡xoÂċªbØ­Œø|€¶ȴZdÆšońéŒGš\\”¼C°ÌƁn´nxšÊOĨ’Ūƴĸ¢¸òTxÊǪMīИÖŲÃɎOvˆʦƢ~FŽ‡Rěò—¿ġ~åŊœú‰Nšžš¸qŽ’Ę[Ĕ¶ÂćnÒPĒÜvúĀÊbÖ{Äî¸~Ŕünp¤ÂH¾œĄYÒ©ÊfºmԈĘcDoĬMŬ’˜„‚”ʘچžȂVŦ –ŽèW°ªB|IJXŔþÈJĦÆæFĚêŠYĂªĂ]øªŖNÞüA€’fɨJ€˜¯ÎrDDšĤ€`€mz\\„§~D¬{vJÂ˜«lµĂb–¤p€ŌŰNĄ¨ĊXW|ų ¿¾ɄĦƐMT”‡òP˜÷fØĶK¢ȝ˔Sô¹òEð­”`Ɩ½ǒÂň×äı–§ĤƝ§C~¡‚hlå‚ǺŦŞkâ’~}ŽFøàIJaĞ‚fƠ¥Ž„Ŕdž˜®U¸ˆźXœv¢aƆúŪtŠųƠjd•ƺŠƺÅìnrh\\ĺ¯äɝĦ]èpĄ¦´LƞĬŠ´ƤǬ˼Ēɸ¤rºǼ²¨zÌPðŀbþ¹ļD¢¹œ\\ĜÑŚŸ¶ZƄ³àjĨoâŠȴLʉȮŒĐ­ĚăŽÀêZǚŐ¤qȂ\\L¢ŌİfÆs|zºeªÙæ§΢{Ā´ƐÚ¬¨Ĵà²łhʺKÞºÖTŠiƢ¾ªì°`öøu®Ê¾ãØ"],encodeOffsets:[[88824,50096]]}},{type:"Feature",id:"110000",properties:{id:"110000",cp:[116.405285,39.904989],name:"北京",childNum:1},geometry:{type:"Polygon",coordinates:["@@ĽOÁ›ûtŷmiÍt_H»Ĩ±d`Š¹­{bw…Yr“³S]§§o¹€qGtm_Sŧ€“oa›‹FLg‘QN_•dV€@Zom_ć\\ߚc±x¯oœRcfe…£’o§ËgToÛJíĔóu…|wP¤™XnO¢ÉˆŦ¯rNÄā¤zâŖÈRpŢZŠœÚ{GŠrFt¦Òx§ø¹RóäV¤XdˆżâºWbwŚ¨Ud®bêņ¾‘jnŎGŃŶŠnzÚSeîĜZczî¾i]͜™QaúÍÔiþĩȨWĢ‹ü|Ėu[qb[swP@ÅğP¿{\\‡¥A¨Ï‘ѨŠX\\¯œMK‘pA³[H…īu}}"],encodeOffsets:[[120023,41045]]}},{type:"Feature",id:"120000",properties:{id:"120000",cp:[117.190182,39.125596],name:"天津",childNum:1},geometry:{type:"Polygon",coordinates:["@@ŬgX§Ü«E…¶Ḟ“¬O_™ïlÁg“z±AXe™µÄĵ{¶]gitgšIj·›¥îakS€‰¨ÐƎk}ĕ{gB—qGf{¿a†U^fI“ư‹³õ{YƒıëNĿžk©ïËZŏ‘R§òoY×Ógc…ĥs¡bġ«@dekąI[nlPqCnp{ˆō³°`{PNdƗqSÄĻNNâyj]äžÒD ĬH°Æ]~¡HO¾ŒX}ÐxŒgp“gWˆrDGˆŒ‚Š^L‚ˆrzWxˆZ^¨´T\\|~@I‰zƒ–‹œjeĊªz£®Ĕvě€L†mV¾Ô_ȔNW~zbĬvG†²ZmDM~”~"],encodeOffsets:[[120237,41215]]}},{type:"Feature",id:"310000",properties:{id:"310000",cp:[121.472644,31.231706],name:"上海",childNum:6},geometry:{type:"MultiPolygon",coordinates:[["@@ɧư¬EpƸÁxc‡"],["@@©„ªƒ"],["@@”MA‹‘š"],["@@Qp݁E§ÉC¾"],["@@bŝՕÕEȣÚƥêImɇǦèÜĠŒÚžÃƌÃ͎ó"],["@@ǜûȬɋŠŭ™×^‰sYŒɍDŋ‘ŽąñCG²«ªč@h–_p¯A{‡oloY€¬j@IJ`•gQڛhr|ǀ^MIJvtbe´R¯Ô¬¨YŽô¤r]ì†Ƭį"]],encodeOffsets:[[[124702,32062]],[[124547,32200]],[[124808,31991]],[[124726,32110]],[[124903,32376]],[[124438,32149]]]}},{type:"Feature",id:"500000",properties:{id:"500000",cp:[107.304962,29.533155],name:"重庆",childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@vjG~nGŘŬĶȂƀƾ¹¸ØÎezĆT¸}êЖqHŸðqĖ䒊¥^CƒIj–²p…\\_ æüY|[YxƊæuž°xb®…Űb@~¢NQt°¶‚ “Ê~rljĔëĚ¢~šuf`‘‚†fa‚ĔJåĊ„nÖ]„jƎćÊ@Š£¾a®£Ű{ŶĕF‹ègLk{Y|¡ĜWƔtƬJÑxq‹±ĢN´‰òK‰™–LÈüD|s`ŋ’ć]ƒÃ‰`đŒMûƱ½~Y°ħ`ƏíW‰½eI‹½{aŸ‘OIrÏ¡ĕŇa†p†µÜƅġ‘œ^ÖÛbÙŽŏml½S‹êqDu[R‹ãË»†ÿw`»y‘¸_ĺę}÷`M¯ċfCVµqʼn÷Z•gg“Œ`d½pDO‡ÎCnœ^uf²ènh¼WtƏxRGg¦…pV„†FI±ŽG^ŒIc´ec‡’G•ĹÞ½sëĬ„h˜xW‚}Kӈe­Xsbk”›L‘ØgTkïƵNï¶}Gy“w\\oñ¡nmĈzjŸ•@™Óc£»Wă¹Ój“_m»ˆ¹·~MvÛaqœ»­‰êœ’\\ÂoVnŽÓØ͙²«‹bq¿efE „€‹Ĝ^Qž~ Évý‡ş¤²Į‰pEİ}zcĺƒL‹½‡š¿gņ›¡ýE¡ya£³t\\¨\\vú»¼§·Ñr_oÒý¥u‚•_n»_ƒ•At©Þűā§IVeëƒY}{VPÀFA¨ąB}q@|Ou—\\Fm‰QF݅Mw˜å}]•€|FmϋCaƒwŒu_p—¯sfÙgY…DHl`{QEfNysBŠ¦zG¸rHe‚„N\\CvEsÐùÜ_·ÖĉsaQ¯€}_U‡†xÃđŠq›NH¬•Äd^ÝŰR¬ã°wećJEž·vÝ·Hgƒ‚éFXjÉê`|yŒpxkAwœWĐpb¥eOsmzwqChóUQl¥F^laf‹anòsr›EvfQdÁUVf—ÎvÜ^efˆtET¬ôA\\œ¢sJŽnQTjP؈xøK|nBz‰„œĞ»LY‚…FDxӄvr“[ehľš•vN”¢o¾NiÂxGp⬐z›bfZo~hGi’]öF|‰|Nb‡tOMn eA±ŠtPT‡LjpYQ|†SH††YĀxinzDJ€Ìg¢và¥Pg‰_–ÇzII‹€II•„£®S¬„Øs쐣ŒN"],["@@ifjN@s"]],encodeOffsets:[[[109628,30765]],[[111725,31320]]]}},{type:"Feature",id:"810000",properties:{id:"810000",cp:[114.173355,22.320048],name:"香港",childNum:5},geometry:{type:"MultiPolygon",coordinates:[["@@AlBk"],["@@mŽn"],["@@EpFo"],["@@ea¢pl¸Eõ¹‡hj[ƒ]ÔCΖ@lj˜¡uBXŸ…•´‹AI¹…[‹yDUˆ]W`çwZkmc–…M›žp€Åv›}I‹oJlcaƒ‘KŽ°ä¬XJmРđhI®æÔtSHn€Eˆ„ÒrÈc"],["@@rMUw‡AS®€e"]],encodeOffsets:[[[117111,23002]],[[117072,22876]],[[117045,22887]],[[116975,23082]],[[116882,22747]]]}},{type:"Feature",id:"820000",properties:{id:"820000",cp:[113.54909,22.198951],name:"澳门",childNum:1},geometry:{type:"Polygon",coordinates:["@@kÊd°å§s"],encodeOffsets:[[116279,22639]]}}],UTF8Encoding:!0}):n("ECharts Map is not loaded"):n("ECharts is not Loaded")}))},9358:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=97)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},97:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-button-group"},[e._t("default")],2)},r=[];i._withStripped=!0;var o={name:"ElButtonGroup"},a=o,s=n(0),l=Object(s["a"])(a,i,r,!1,null,null,null);l.options.__file="packages/button/src/button-group.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},11540:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=96)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},96:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button",class:[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",[e._t("default")],2):e._e()])},r=[];i._withStripped=!0;var o={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},a=o,s=n(0),l=Object(s["a"])(a,i,r,!1,null,null,null);l.options.__file="packages/button/src/button.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},28509:function(e,t,n){n(57658),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=61)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},15:function(e,t){e.exports=n(95095)},18:function(e,t){e.exports=n(94359)},21:function(e,t){e.exports=n(96927)},26:function(e,t){e.exports=n(58737)},3:function(e,t){e.exports=n(45402)},31:function(e,t){e.exports=n(4510)},41:function(e,t){e.exports=n(69506)},52:function(e,t){e.exports=n(28192)},6:function(e,t){e.exports=n(83647)},61:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},r=[];i._withStripped=!0;var o,a,s=n(26),l=n.n(s),u=n(15),c=n.n(u),h=n(18),d=n.n(h),f=n(52),p=n.n(f),g=n(3),m=function(e){return e.stopPropagation()},v={inject:["panel"],components:{ElCheckbox:d.a,ElRadio:p.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,i=this.isDisabled,r=this.config,o=r.multiple,a=r.checkStrictly;!a&&i||n.loading||(r.lazy&&!n.loaded?t.lazyLoad(n,(function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var i=!!t&&n.checked;e.handleMultiCheckChange(i)}})):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,i=this.config,r=i.checkStrictly,o=i.multiple;return o?this.renderCheckbox(e):r?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,i=this.isDisabled,r={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(r.nativeOn.click=m),e("el-checkbox",l()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:i}},r]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,i=this.isDisabled;return Object(g["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:m}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,i=t.renderLabelFn,r=i?i({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[r||n.label])}},render:function(e){var t=this,n=this.inActivePath,i=this.inCheckedPath,r=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,u=this.nodeId,c=s.expandTrigger,h=s.checkStrictly,d=s.multiple,f=!h&&a,p={on:{}};return"click"===c?p.on.click=this.handleExpand:(p.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},p.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||a||h||d||(p.on.click=this.handleCheckChange),e("li",l()([{attrs:{role:"menuitem",id:u,"aria-expanded":n,tabindex:f?null:-1},class:{"el-cascader-node":!0,"is-selectable":h,"in-active-path":n,"in-checked-path":i,"is-active":r,"is-disabled":f}},p]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},y=v,b=n(0),x=Object(b["a"])(y,o,a,!1,null,null,null);x.options.__file="packages/cascader-panel/src/cascader-node.vue";var _,w,C=x.exports,S=n(6),k=n.n(S),M={name:"ElCascaderMenu",mixins:[k.a],inject:["panel"],components:{ElScrollbar:c.a,CascaderNode:C},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(g["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(t&&i)if(t.contains(e.target)){clearTimeout(n);var r=this.$el.getBoundingClientRect(),o=r.left,a=e.clientX-o,s=this.$el,l=s.offsetWidth,u=s.offsetHeight,c=t.offsetTop,h=c+t.offsetHeight;i.innerHTML='\n <path style="pointer-events: auto;" fill="transparent" d="M'+a+" "+c+" L"+l+" 0 V"+c+' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M'+a+" "+h+" L"+l+" "+u+" V"+h+' Z" />\n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var r=this.nodes.map((function(n,r){var o=n.hasChildren;return e("cascader-node",l()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+r,"aria-haspopup":o,"aria-owns":o?t:null}},i]))}));return[].concat(r,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",l()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},i]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},T=M,E=Object(b["a"])(T,_,w,!1,null,null,null);E.options.__file="packages/cascader-panel/src/cascader-menu.vue";var D=E.exports,P=n(21),O=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var A=0,L=function(){function e(t,n,i){I(this,e),this.data=t,this.config=n,this.parent=i||null,this.level=this.parent?this.parent.level+1:1,this.uid=A++,this.initState(),this.initChildren()}return e.prototype.initState=function(){var e=this.config,t=e.value,n=e.label;this.value=this.data[t],this.label=this.data[n],this.pathNodes=this.calculatePathNodes(),this.path=this.pathNodes.map((function(e){return e.value})),this.pathLabels=this.pathNodes.map((function(e){return e.label})),this.loading=!1,this.loaded=!1},e.prototype.initChildren=function(){var t=this,n=this.config,i=n.children,r=this.data[i];this.hasChildren=Array.isArray(r),this.children=(r||[]).map((function(i){return new e(i,n,t)}))},e.prototype.calculatePathNodes=function(){var e=[this],t=this.parent;while(t)e.unshift(t),t=t.parent;return e},e.prototype.getPath=function(){return this.path},e.prototype.getValue=function(){return this.value},e.prototype.getValueByOption=function(){return this.config.emitPath?this.getPath():this.getValue()},e.prototype.getText=function(e,t){return e?this.pathLabels.join(t):this.label},e.prototype.isSameNode=function(e){var t=this.getValueByOption();return this.config.multiple&&Array.isArray(e)?e.some((function(e){return Object(g["isEqual"])(e,t)})):Object(g["isEqual"])(e,t)},e.prototype.broadcast=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r="onParent"+Object(g["capitalize"])(e);this.children.forEach((function(t){t&&(t.broadcast.apply(t,[e].concat(n)),t[r]&&t[r].apply(t,n))}))},e.prototype.emit=function(e){var t=this.parent,n="onChild"+Object(g["capitalize"])(e);if(t){for(var i=arguments.length,r=Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];t[n]&&t[n].apply(t,r),t.emit.apply(t,[e].concat(r))}},e.prototype.onParentCheck=function(e){this.isDisabled||this.setCheckState(e)},e.prototype.onChildCheck=function(){var e=this.children,t=e.filter((function(e){return!e.isDisabled})),n=!!t.length&&t.every((function(e){return e.checked}));this.setCheckState(n)},e.prototype.setCheckState=function(e){var t=this.children.length,n=this.children.reduce((function(e,t){var n=t.checked?1:t.indeterminate?.5:0;return e+n}),0);this.checked=e,this.indeterminate=n!==t&&n>0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},O(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,i=n.disabled,r=n.checkStrictly;return e[i]||!r&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,i=this.children,r=this.config,o=r.lazy,a=r.leaf;if(o){var s=Object(P["isDef"])(e[a])?e[a]:!!t&&!i.length;return this.hasChildren=!s,s}return!n}}]),e}(),N=L;function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var z=function e(t,n){return t.reduce((function(t,i){return i.isLeaf?t.push(i):(!n&&t.push(i),t=t.concat(e(i.children,n))),t}),[])},$=function(){function e(t,n){R(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(g["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new N(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new N(e,this.config,t),i=t?t.children:this.nodes;i.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(g["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:z(this.nodes,e)},e.prototype.getNodeByValue=function(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(g["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null},e}(),B=$,F=n(9),j=n.n(F),V=n(41),H=n.n(V),W=n(31),G=n.n(W),q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},U=H.a.keys,Y={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:g["noop"],value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},X=function(e){return!e.getAttribute("aria-owns")},Z=function(e,t){var n=e.parentNode;if(n){var i=n.querySelectorAll('.el-cascader-node[tabindex="-1"]'),r=Array.prototype.indexOf.call(i,e);return i[r+t]||null}return null},K=function(e,t){if(e){var n=e.id.split("-");return Number(n[n.length-2])}},Q=function(e){e&&(e.focus(),!X(e)&&e.click())},J=function(e){if(e){var t=e.querySelector("input");t?t.click():X(e)&&e.click()}},ee={name:"ElCascaderPanel",components:{CascaderMenu:D},props:{value:{},options:Array,props:Object,border:{type:Boolean,default:!0},renderLabel:Function},provide:function(){return{panel:this}},data:function(){return{checkedValue:null,checkedNodePaths:[],store:[],menus:[],activePath:[],loadCount:0}},computed:{config:function(){return j()(q({},Y),this.props||{})},multiple:function(){return this.config.multiple},checkStrictly:function(){return this.config.checkStrictly},leafOnly:function(){return!this.checkStrictly},isHoverMenu:function(){return"hover"===this.config.expandTrigger},renderLabelFn:function(){return this.renderLabel||this.$scopedSlots.default}},watch:{value:function(){this.syncCheckedValue(),this.checkStrictly&&this.calculateCheckedNodePaths()},options:{handler:function(){this.initStore()},immediate:!0,deep:!0},checkedValue:function(e){Object(g["isEqual"])(e,this.value)||(this.checkStrictly&&this.calculateCheckedNodePaths(),this.$emit("input",e),this.$emit("change",e))}},mounted:function(){this.isEmptyValue(this.value)||this.syncCheckedValue()},methods:{initStore:function(){var e=this.config,t=this.options;e.lazy&&Object(g["isEmpty"])(t)?this.lazyLoad():(this.store=new B(t,e),this.menus=[this.store.getNodes()],this.syncMenuState())},syncCheckedValue:function(){var e=this.value,t=this.checkedValue;Object(g["isEqual"])(e,t)||(this.activePath=[],this.checkedValue=e,this.syncMenuState())},syncMenuState:function(){var e=this.multiple,t=this.checkStrictly;this.syncActivePath(),e&&this.syncMultiCheckState(),t&&this.calculateCheckedNodePaths(),this.$nextTick(this.scrollIntoView)},syncMultiCheckState:function(){var e=this,t=this.getFlattedNodes(this.leafOnly);t.forEach((function(t){t.syncCheckState(e.checkedValue)}))},isEmptyValue:function(e){var t=this.multiple,n=this.config,i=n.emitPath;return!(!t&&!i)&&Object(g["isEmpty"])(e)},syncActivePath:function(){var e=this,t=this.store,n=this.multiple,i=this.activePath,r=this.checkedValue;if(Object(g["isEmpty"])(i))if(this.isEmptyValue(r))this.activePath=[],this.menus=[t.getNodes()];else{var o=n?r[0]:r,a=this.getNodeByValue(o)||{},s=(a.pathNodes||[]).slice(0,-1);this.expandNodes(s)}else{var l=i.map((function(t){return e.getNodeByValue(t.getValue())}));this.expandNodes(l)}},expandNodes:function(e){var t=this;e.forEach((function(e){return t.handleExpand(e,!0)}))},calculateCheckedNodePaths:function(){var e=this,t=this.checkedValue,n=this.multiple,i=n?Object(g["coerceTruthyValueToArray"])(t):[t];this.checkedNodePaths=i.map((function(t){var n=e.getNodeByValue(t);return n?n.pathNodes:[]}))},handleKeyDown:function(e){var t=e.target,n=e.keyCode;switch(n){case U.up:var i=Z(t,-1);Q(i);break;case U.down:var r=Z(t,1);Q(r);break;case U.left:var o=this.$refs.menu[K(t)-1];if(o){var a=o.$el.querySelector('.el-cascader-node[aria-expanded="true"]');Q(a)}break;case U.right:var s=this.$refs.menu[K(t)+1];if(s){var l=s.$el.querySelector('.el-cascader-node[tabindex="-1"]');Q(l)}break;case U.enter:J(t);break;case U.esc:case U.tab:this.$emit("close");break;default:return}},handleExpand:function(e,t){var n=this.activePath,i=e.level,r=n.slice(0,i-1),o=this.menus.slice(0,i);if(e.isLeaf||(r.push(e),o.push(e.children)),this.activePath=r,this.menus=o,!t){var a=r.map((function(e){return e.getValue()})),s=n.map((function(e){return e.getValue()}));Object(g["valueEquals"])(a,s)||(this.$emit("active-item-change",a),this.$emit("expand-change",a))}},handleCheckChange:function(e){this.checkedValue=e},lazyLoad:function(e,t){var n=this,i=this.config;e||(e=e||{root:!0,level:0},this.store=new B([],i),this.menus=[this.store.getNodes()]),e.loading=!0;var r=function(i){var r=e.root?null:e;if(i&&i.length&&n.store.appendNodes(i,r),e.loading=!1,e.loaded=!0,Array.isArray(n.checkedValue)){var o=n.checkedValue[n.loadCount++],a=n.config.value,s=n.config.leaf;if(Array.isArray(i)&&i.filter((function(e){return e[a]===o})).length>0){var l=n.store.getNodeByValue(o);l.data[s]||n.lazyLoad(l,(function(){n.handleExpand(l)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(i)};i.lazyLoad(e,r)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),i=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");G()(n,i)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var i=this.getFlattedNodes(e);return i.filter((function(e){return e.checked}))}return this.isEmptyValue(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,i=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},te=ee,ne=Object(b["a"])(te,i,r,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var ie=ne.exports;ie.install=function(e){e.component(ie.name,ie)};t["default"]=ie},9:function(e,t){e.exports=n(47734)}})},7199:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=93)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},4:function(e,t){e.exports=n(38816)},93:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[a.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},l=s,u=n(0),c=Object(u["a"])(l,i,r,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox-group.vue";var h=c.exports;h.install=function(e){e.component(h.name,h)};t["default"]=h}})},94359:function(e,t,n){n(57658),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=91)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},4:function(e,t){e.exports=n(38816)},91:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{id:e.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{tabindex:!!e.indeterminate&&0,role:!!e.indeterminate&&"checkbox","aria-checked":!!e.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,i=t.target,r=i.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElCheckbox",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&e.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick((function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},l=s,u=n(0),c=Object(u["a"])(l,i,r,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox.vue";var h=c.exports;h.install=function(e){e.component(h.name,h)};t["default"]=h}})},8499:function(e,t,n){n(57658),n(46229),n(17330),n(62062),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=46)}([function(e,t){e.exports=n(33026)},function(e,t){e.exports=n(53766)},function(e,t){e.exports=n(45402)},function(e,t){e.exports=n(38816)},function(e,t){e.exports=n(83647)},function(e,t){e.exports=n(54857)},function(e,t){e.exports=n(36369)},function(e,t){e.exports=n(47734)},function(e,t){e.exports=n(45981)},function(e,t){e.exports=n(34511)},function(e,t){e.exports=n(19305)},function(e,t){e.exports=n(63630)},function(e,t){e.exports=n(54582)},function(e,t){e.exports=n(11540)},function(e,t){e.exports=n(94359)},function(e,t){e.exports=n(62740)},function(e,t){e.exports=n(31639)},function(e,t){e.exports=n(8973)},function(e,t){e.exports=n(95095)},function(e,t){e.exports=n(96927)},function(e,t){e.exports=n(29992)},function(e,t){e.exports=n(57374)},function(e,t){e.exports=n(31937)},function(e,t){e.exports=n(49528)},function(e,t){e.exports=n(58737)},function(e,t){e.exports=n(62895)},function(e,t){e.exports=n(60488)},function(e,t){e.exports=n(4510)},function(e,t){e.exports=n(46128)},function(e,t){e.exports=n(9358)},function(e,t){e.exports=n(73256)},function(e,t){e.exports=n(48667)},function(e,t){e.exports=n(7199)},function(e,t){e.exports=n(85050)},function(e,t){e.exports=n(47509)},function(e,t){e.exports=n(69506)},function(e,t){e.exports=n(9070)},function(e,t){e.exports=n(62572)},function(e,t){e.exports=n(67342)},function(e,t){e.exports=n(34451)},function(e,t){e.exports=n(15408)},function(e,t){e.exports=n(62480)},function(e,t){e.exports=n(23892)},function(e,t){e.exports=n(28509)},function(e,t){e.exports=n(28192)},function(e,t){e.exports=n(68902)},function(e,t,n){e.exports=n(47)},function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"el-pager",on:{click:e.onPagerClick}},[e.pageCount>0?n("li",{staticClass:"number",class:{active:1===e.currentPage,disabled:e.disabled}},[e._v("1")]):e._e(),e.showPrevMore?n("li",{staticClass:"el-icon more btn-quickprev",class:[e.quickprevIconClass,{disabled:e.disabled}],on:{mouseenter:function(t){e.onMouseenter("left")},mouseleave:function(t){e.quickprevIconClass="el-icon-more"}}}):e._e(),e._l(e.pagers,(function(t){return n("li",{key:t,staticClass:"number",class:{active:e.currentPage===t,disabled:e.disabled}},[e._v(e._s(t))])})),e.showNextMore?n("li",{staticClass:"el-icon more btn-quicknext",class:[e.quicknextIconClass,{disabled:e.disabled}],on:{mouseenter:function(t){e.onMouseenter("right")},mouseleave:function(t){e.quicknextIconClass="el-icon-more"}}}):e._e(),e.pageCount>1?n("li",{staticClass:"number",class:{active:e.currentPage===e.pageCount,disabled:e.disabled}},[e._v(e._s(e.pageCount))]):e._e()],2)},r=[];i._withStripped=!0;var o={name:"ElPager",props:{currentPage:Number,pageCount:Number,pagerCount:Number,disabled:Boolean},watch:{showPrevMore:function(e){e||(this.quickprevIconClass="el-icon-more")},showNextMore:function(e){e||(this.quicknextIconClass="el-icon-more")}},methods:{onPagerClick:function(e){var t=e.target;if("UL"!==t.tagName&&!this.disabled){var n=Number(e.target.textContent),i=this.pageCount,r=this.currentPage,o=this.pagerCount-2;-1!==t.className.indexOf("more")&&(-1!==t.className.indexOf("quickprev")?n=r-o:-1!==t.className.indexOf("quicknext")&&(n=r+o)),isNaN(n)||(n<1&&(n=1),n>i&&(n=i)),n!==r&&this.$emit("change",n)}},onMouseenter:function(e){this.disabled||("left"===e?this.quickprevIconClass="el-icon-d-arrow-left":this.quicknextIconClass="el-icon-d-arrow-right")}},computed:{pagers:function(){var e=this.pagerCount,t=(e-1)/2,n=Number(this.currentPage),i=Number(this.pageCount),r=!1,o=!1;i>e&&(n>e-t&&(r=!0),n<i-t&&(o=!0));var a=[];if(r&&!o)for(var s=i-(e-2),l=s;l<i;l++)a.push(l);else if(!r&&o)for(var u=2;u<e;u++)a.push(u);else if(r&&o)for(var c=Math.floor(e/2)-1,h=n-c;h<=n+c;h++)a.push(h);else for(var d=2;d<i;d++)a.push(d);return this.showPrevMore=r,this.showNextMore=o,a}},data:function(){return{current:null,showPrevMore:!1,showNextMore:!1,quicknextIconClass:"el-icon-more",quickprevIconClass:"el-icon-more"}}},a=o;function s(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}var l=s(a,i,r,!1,null,null,null);l.options.__file="packages/pagination/src/pager.vue";var u=l.exports,c=n(37),h=n.n(c),d=n(38),f=n.n(d),p=n(8),g=n.n(p),m=n(4),v=n.n(m),y=n(2),b={name:"ElPagination",props:{pageSize:{type:Number,default:10},small:Boolean,total:Number,pageCount:Number,pagerCount:{type:Number,validator:function(e){return(0|e)===e&&e>4&&e<22&&e%2===1},default:7},currentPage:{type:Number,default:1},layout:{default:"prev, pager, next, jumper, ->, total"},pageSizes:{type:Array,default:function(){return[10,20,30,40,50,100]}},popperClass:String,prevText:String,nextText:String,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean},data:function(){return{internalCurrentPage:1,internalPageSize:0,lastEmittedPage:-1,userChangePageSize:!1}},render:function(e){var t=this.layout;if(!t)return null;if(this.hideOnSinglePage&&(!this.internalPageCount||1===this.internalPageCount))return null;var n=e("div",{class:["el-pagination",{"is-background":this.background,"el-pagination--small":this.small}]}),i={prev:e("prev"),jumper:e("jumper"),pager:e("pager",{attrs:{currentPage:this.internalCurrentPage,pageCount:this.internalPageCount,pagerCount:this.pagerCount,disabled:this.disabled},on:{change:this.handleCurrentChange}}),next:e("next"),sizes:e("sizes",{attrs:{pageSizes:this.pageSizes}}),slot:e("slot",[this.$slots.default?this.$slots.default:""]),total:e("total")},r=t.split(",").map((function(e){return e.trim()})),o=e("div",{class:"el-pagination__rightwrapper"}),a=!1;return n.children=n.children||[],o.children=o.children||[],r.forEach((function(e){"->"!==e?a?o.children.push(i[e]):n.children.push(i[e]):a=!0})),a&&n.children.unshift(o),n},components:{Prev:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage<=1},class:"btn-prev",on:{click:this.$parent.prev}},[this.$parent.prevText?e("span",[this.$parent.prevText]):e("i",{class:"el-icon el-icon-arrow-left"})])}},Next:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage===this.$parent.internalPageCount||0===this.$parent.internalPageCount},class:"btn-next",on:{click:this.$parent.next}},[this.$parent.nextText?e("span",[this.$parent.nextText]):e("i",{class:"el-icon el-icon-arrow-right"})])}},Sizes:{mixins:[v.a],props:{pageSizes:Array},watch:{pageSizes:{immediate:!0,handler:function(e,t){Object(y["valueEquals"])(e,t)||Array.isArray(e)&&(this.$parent.internalPageSize=e.indexOf(this.$parent.pageSize)>-1?this.$parent.pageSize:this.pageSizes[0])}}},render:function(e){var t=this;return e("span",{class:"el-pagination__sizes"},[e("el-select",{attrs:{value:this.$parent.internalPageSize,popperClass:this.$parent.popperClass||"",size:"mini",disabled:this.$parent.disabled},on:{input:this.handleChange}},[this.pageSizes.map((function(n){return e("el-option",{attrs:{value:n,label:n+t.t("el.pagination.pagesize")}})}))])])},components:{ElSelect:h.a,ElOption:f.a},methods:{handleChange:function(e){e!==this.$parent.internalPageSize&&(this.$parent.internalPageSize=e=parseInt(e,10),this.$parent.userChangePageSize=!0,this.$parent.$emit("update:pageSize",e),this.$parent.$emit("size-change",e))}}},Jumper:{mixins:[v.a],components:{ElInput:g.a},data:function(){return{userInput:null}},watch:{"$parent.internalCurrentPage":function(){this.userInput=null}},methods:{handleKeyup:function(e){var t=e.keyCode,n=e.target;13===t&&this.handleChange(n.value)},handleInput:function(e){this.userInput=e},handleChange:function(e){this.$parent.internalCurrentPage=this.$parent.getValidCurrentPage(e),this.$parent.emitChange(),this.userInput=null}},render:function(e){return e("span",{class:"el-pagination__jump"},[this.t("el.pagination.goto"),e("el-input",{class:"el-pagination__editor is-in-pagination",attrs:{min:1,max:this.$parent.internalPageCount,value:null!==this.userInput?this.userInput:this.$parent.internalCurrentPage,type:"number",disabled:this.$parent.disabled},nativeOn:{keyup:this.handleKeyup},on:{input:this.handleInput,change:this.handleChange}}),this.t("el.pagination.pageClassifier")])}},Total:{mixins:[v.a],render:function(e){return"number"===typeof this.$parent.total?e("span",{class:"el-pagination__total"},[this.t("el.pagination.total",{total:this.$parent.total})]):""}},Pager:u},methods:{handleCurrentChange:function(e){this.internalCurrentPage=this.getValidCurrentPage(e),this.userChangePageSize=!0,this.emitChange()},prev:function(){if(!this.disabled){var e=this.internalCurrentPage-1;this.internalCurrentPage=this.getValidCurrentPage(e),this.$emit("prev-click",this.internalCurrentPage),this.emitChange()}},next:function(){if(!this.disabled){var e=this.internalCurrentPage+1;this.internalCurrentPage=this.getValidCurrentPage(e),this.$emit("next-click",this.internalCurrentPage),this.emitChange()}},getValidCurrentPage:function(e){e=parseInt(e,10);var t="number"===typeof this.internalPageCount,n=void 0;return t?e<1?n=1:e>this.internalPageCount&&(n=this.internalPageCount):(isNaN(e)||e<1)&&(n=1),(void 0===n&&isNaN(e)||0===n)&&(n=1),void 0===n?e:n},emitChange:function(){var e=this;this.$nextTick((function(){(e.internalCurrentPage!==e.lastEmittedPage||e.userChangePageSize)&&(e.$emit("current-change",e.internalCurrentPage),e.lastEmittedPage=e.internalCurrentPage,e.userChangePageSize=!1)}))}},computed:{internalPageCount:function(){return"number"===typeof this.total?Math.max(1,Math.ceil(this.total/this.internalPageSize)):"number"===typeof this.pageCount?Math.max(1,this.pageCount):null}},watch:{currentPage:{immediate:!0,handler:function(e){this.internalCurrentPage=this.getValidCurrentPage(e)}},pageSize:{immediate:!0,handler:function(e){this.internalPageSize=isNaN(e)?10:e}},internalCurrentPage:{immediate:!0,handler:function(e){this.$emit("update:currentPage",e),this.lastEmittedPage=-1}},internalPageCount:function(e){var t=this.internalCurrentPage;e>0&&0===t?this.internalCurrentPage=1:t>e&&(this.internalCurrentPage=0===e?1:e,this.userChangePageSize&&this.emitChange()),this.userChangePageSize=!1}},install:function(e){e.component(b.name,b)}},x=b,_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"dialog-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-dialog__wrapper",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[n("div",{key:e.key,ref:"dialog",class:["el-dialog",{"is-fullscreen":e.fullscreen,"el-dialog--center":e.center},e.customClass],style:e.style,attrs:{role:"dialog","aria-modal":"true","aria-label":e.title||"dialog"}},[n("div",{staticClass:"el-dialog__header"},[e._t("title",[n("span",{staticClass:"el-dialog__title"},[e._v(e._s(e.title))])]),e.showClose?n("button",{staticClass:"el-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:e.handleClose}},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):e._e()],2),e.rendered?n("div",{staticClass:"el-dialog__body"},[e._t("default")],2):e._e(),e.$slots.footer?n("div",{staticClass:"el-dialog__footer"},[e._t("footer")],2):e._e()])])])},w=[];_._withStripped=!0;var C=n(11),S=n.n(C),k=n(9),M=n.n(k),T=n(3),E=n.n(T),D={name:"ElDialog",mixins:[S.a,E.a,M.a],props:{title:{type:String,default:""},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},width:String,fullscreen:Boolean,customClass:{type:String,default:""},top:{type:String,default:"15vh"},beforeClose:Function,center:{type:Boolean,default:!1},destroyOnClose:Boolean},data:function(){return{closed:!1,key:0}},watch:{visible:function(e){var t=this;e?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick((function(){t.$refs.dialog.scrollTop=0})),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"),this.destroyOnClose&&this.$nextTick((function(){t.key++})))}},computed:{style:function(){var e={};return this.fullscreen||(e.marginTop=this.top,this.width&&(e.width=this.width)),e}},methods:{getMigratingConfig:function(){return{props:{size:"size is removed."}}},handleWrapperClick:function(){this.closeOnClickModal&&this.handleClose()},handleClose:function(){"function"===typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide:function(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper:function(){this.broadcast("ElSelectDropdown","updatePopper"),this.broadcast("ElDropdownMenu","updatePopper")},afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")}},mounted:function(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},P=D,O=s(P,_,w,!1,null,null,null);O.options.__file="packages/dialog/src/component.vue";var I=O.exports;I.install=function(e){e.component(I.name,I)};var A=I,L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.close,expression:"close"}],staticClass:"el-autocomplete",attrs:{"aria-haspopup":"listbox",role:"combobox","aria-expanded":e.suggestionVisible,"aria-owns":e.id}},[n("el-input",e._b({ref:"input",on:{input:e.handleInput,change:e.handleChange,focus:e.handleFocus,blur:e.handleBlur,clear:e.handleClear},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.highlight(e.highlightedIndex-1)},function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.highlight(e.highlightedIndex+1)},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleKeyEnter(t)},function(t){return!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:e.close(t)}]}},"el-input",[e.$props,e.$attrs],!1),[e.$slots.prepend?n("template",{slot:"prepend"},[e._t("prepend")],2):e._e(),e.$slots.append?n("template",{slot:"append"},[e._t("append")],2):e._e(),e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),e.$slots.suffix?n("template",{slot:"suffix"},[e._t("suffix")],2):e._e()],2),n("el-autocomplete-suggestions",{ref:"suggestions",class:[e.popperClass?e.popperClass:""],attrs:{"visible-arrow":"","popper-options":e.popperOptions,"append-to-body":e.popperAppendToBody,placement:e.placement,id:e.id}},e._l(e.suggestions,(function(t,i){return n("li",{key:i,class:{highlighted:e.highlightedIndex===i},attrs:{id:e.id+"-item-"+i,role:"option","aria-selected":e.highlightedIndex===i},on:{click:function(n){e.select(t)}}},[e._t("default",[e._v("\n "+e._s(t[e.valueKey])+"\n ")],{item:t})],2)})),0)],1)},N=[];L._withStripped=!0;var R=n(17),z=n.n(R),$=n(10),B=n.n($),F=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-autocomplete-suggestion el-popper",class:{"is-loading":!e.parent.hideLoading&&e.parent.loading},style:{width:e.dropdownWidth},attrs:{role:"region"}},[n("el-scrollbar",{attrs:{tag:"ul","wrap-class":"el-autocomplete-suggestion__wrap","view-class":"el-autocomplete-suggestion__list"}},[!e.parent.hideLoading&&e.parent.loading?n("li",[n("i",{staticClass:"el-icon-loading"})]):e._t("default")],2)],1)])},j=[];F._withStripped=!0;var V=n(5),H=n.n(V),W=n(18),G=n.n(W),q={components:{ElScrollbar:G.a},mixins:[H.a,E.a],componentName:"ElAutocompleteSuggestions",data:function(){return{parent:this.$parent,dropdownWidth:""}},props:{options:{default:function(){return{gpuAcceleration:!1}}},id:String},methods:{select:function(e){this.dispatch("ElAutocomplete","item-click",e)}},updated:function(){var e=this;this.$nextTick((function(t){e.popperJS&&e.updatePopper()}))},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$refs.input.$refs.input||this.$parent.$refs.input.$refs.textarea,this.referenceList=this.$el.querySelector(".el-autocomplete-suggestion__list"),this.referenceList.setAttribute("role","listbox"),this.referenceList.setAttribute("id",this.id)},created:function(){var e=this;this.$on("visible",(function(t,n){e.dropdownWidth=n+"px",e.showPopper=t}))}},U=q,Y=s(U,F,j,!1,null,null,null);Y.options.__file="packages/autocomplete/src/autocomplete-suggestions.vue";var X=Y.exports,Z=n(23),K=n.n(Z),Q={name:"ElAutocomplete",mixins:[E.a,K()("input"),M.a],inheritAttrs:!1,componentName:"ElAutocomplete",components:{ElInput:g.a,ElAutocompleteSuggestions:X},directives:{Clickoutside:B.a},props:{valueKey:{type:String,default:"value"},popperClass:String,popperOptions:Object,placeholder:String,clearable:{type:Boolean,default:!1},disabled:Boolean,name:String,size:String,value:String,maxlength:Number,minlength:Number,autofocus:Boolean,fetchSuggestions:Function,triggerOnFocus:{type:Boolean,default:!0},customItem:String,selectWhenUnmatched:{type:Boolean,default:!1},prefixIcon:String,suffixIcon:String,label:String,debounce:{type:Number,default:300},placement:{type:String,default:"bottom-start"},hideLoading:Boolean,popperAppendToBody:{type:Boolean,default:!0},highlightFirstItem:{type:Boolean,default:!1}},data:function(){return{activated:!1,suggestions:[],loading:!1,highlightedIndex:-1,suggestionDisabled:!1}},computed:{suggestionVisible:function(){var e=this.suggestions,t=Array.isArray(e)&&e.length>0;return(t||this.loading)&&this.activated},id:function(){return"el-autocomplete-"+Object(y["generateId"])()}},watch:{suggestionVisible:function(e){var t=this.getInput();t&&this.broadcast("ElAutocompleteSuggestions","visible",[e,t.offsetWidth])}},methods:{getMigratingConfig:function(){return{props:{"custom-item":"custom-item is removed, use scoped slot instead.",props:"props is removed, use value-key instead."}}},getData:function(e){var t=this;this.suggestionDisabled||(this.loading=!0,this.fetchSuggestions(e,(function(e){t.loading=!1,t.suggestionDisabled||(Array.isArray(e)?(t.suggestions=e,t.highlightedIndex=t.highlightFirstItem?0:-1):console.error("[Element Error][Autocomplete]autocomplete suggestions must be an array"))})))},handleInput:function(e){if(this.$emit("input",e),this.suggestionDisabled=!1,!this.triggerOnFocus&&!e)return this.suggestionDisabled=!0,void(this.suggestions=[]);this.debouncedGetData(e)},handleChange:function(e){this.$emit("change",e)},handleFocus:function(e){this.activated=!0,this.$emit("focus",e),this.triggerOnFocus&&this.debouncedGetData(this.value)},handleBlur:function(e){this.$emit("blur",e)},handleClear:function(){this.activated=!1,this.$emit("clear")},close:function(e){this.activated=!1},handleKeyEnter:function(e){var t=this;this.suggestionVisible&&this.highlightedIndex>=0&&this.highlightedIndex<this.suggestions.length?(e.preventDefault(),this.select(this.suggestions[this.highlightedIndex])):this.selectWhenUnmatched&&(this.$emit("select",{value:this.value}),this.$nextTick((function(e){t.suggestions=[],t.highlightedIndex=-1})))},select:function(e){var t=this;this.$emit("input",e[this.valueKey]),this.$emit("select",e),this.$nextTick((function(e){t.suggestions=[],t.highlightedIndex=-1}))},highlight:function(e){if(this.suggestionVisible&&!this.loading)if(e<0)this.highlightedIndex=-1;else{e>=this.suggestions.length&&(e=this.suggestions.length-1);var t=this.$refs.suggestions.$el.querySelector(".el-autocomplete-suggestion__wrap"),n=t.querySelectorAll(".el-autocomplete-suggestion__list li"),i=n[e],r=t.scrollTop,o=i.offsetTop;o+i.scrollHeight>r+t.clientHeight&&(t.scrollTop+=i.scrollHeight),o<r&&(t.scrollTop-=i.scrollHeight),this.highlightedIndex=e;var a=this.getInput();a.setAttribute("aria-activedescendant",this.id+"-item-"+this.highlightedIndex)}},getInput:function(){return this.$refs.input.getInput()}},mounted:function(){var e=this;this.debouncedGetData=z()(this.debounce,this.getData),this.$on("item-click",(function(t){e.select(t)}));var t=this.getInput();t.setAttribute("role","textbox"),t.setAttribute("aria-autocomplete","list"),t.setAttribute("aria-controls","id"),t.setAttribute("aria-activedescendant",this.id+"-item-"+this.highlightedIndex)},beforeDestroy:function(){this.$refs.suggestions.$destroy()}},J=Q,ee=s(J,L,N,!1,null,null,null);ee.options.__file="packages/autocomplete/src/autocomplete.vue";var te=ee.exports;te.install=function(e){e.component(te.name,te)};var ne,ie,re=te,oe=n(13),ae=n.n(oe),se=n(29),le=n.n(se),ue={name:"ElDropdown",componentName:"ElDropdown",mixins:[E.a,M.a],directives:{Clickoutside:B.a},components:{ElButton:ae.a,ElButtonGroup:le.a},provide:function(){return{dropdown:this}},props:{trigger:{type:String,default:"hover"},type:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},placement:{type:String,default:"bottom-end"},visibleArrow:{default:!0},showTimeout:{type:Number,default:250},hideTimeout:{type:Number,default:150},tabindex:{type:Number,default:0},disabled:{type:Boolean,default:!1}},data:function(){return{timeout:null,visible:!1,triggerElm:null,menuItems:null,menuItemsArray:null,dropdownElm:null,focusing:!1,listId:"dropdown-menu-"+Object(y["generateId"])()}},computed:{dropdownSize:function(){return this.size||(this.$ELEMENT||{}).size}},mounted:function(){this.$on("menu-item-click",this.handleMenuItemClick)},watch:{visible:function(e){this.broadcast("ElDropdownMenu","visible",e),this.$emit("visible-change",e)},focusing:function(e){var t=this.$el.querySelector(".el-dropdown-selfdefine");t&&(e?t.className+=" focusing":t.className=t.className.replace("focusing",""))}},methods:{getMigratingConfig:function(){return{props:{"menu-align":"menu-align is renamed to placement."}}},show:function(){var e=this;this.disabled||(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.visible=!0}),"click"===this.trigger?0:this.showTimeout))},hide:function(){var e=this;this.disabled||(this.removeTabindex(),this.tabindex>=0&&this.resetTabindex(this.triggerElm),clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.visible=!1}),"click"===this.trigger?0:this.hideTimeout))},handleClick:function(){this.disabled||(this.visible?this.hide():this.show())},handleTriggerKeyDown:function(e){var t=e.keyCode;[38,40].indexOf(t)>-1?(this.removeTabindex(),this.resetTabindex(this.menuItems[0]),this.menuItems[0].focus(),e.preventDefault(),e.stopPropagation()):13===t?this.handleClick():[9,27].indexOf(t)>-1&&this.hide()},handleItemKeyDown:function(e){var t=e.keyCode,n=e.target,i=this.menuItemsArray.indexOf(n),r=this.menuItemsArray.length-1,o=void 0;[38,40].indexOf(t)>-1?(o=38===t?0!==i?i-1:0:i<r?i+1:r,this.removeTabindex(),this.resetTabindex(this.menuItems[o]),this.menuItems[o].focus(),e.preventDefault(),e.stopPropagation()):13===t?(this.triggerElmFocus(),n.click(),this.hideOnClick&&(this.visible=!1)):[9,27].indexOf(t)>-1&&(this.hide(),this.triggerElmFocus())},resetTabindex:function(e){this.removeTabindex(),e.setAttribute("tabindex","0")},removeTabindex:function(){this.triggerElm.setAttribute("tabindex","-1"),this.menuItemsArray.forEach((function(e){e.setAttribute("tabindex","-1")}))},initAria:function(){this.dropdownElm.setAttribute("id",this.listId),this.triggerElm.setAttribute("aria-haspopup","list"),this.triggerElm.setAttribute("aria-controls",this.listId),this.splitButton||(this.triggerElm.setAttribute("role","button"),this.triggerElm.setAttribute("tabindex",this.tabindex),this.triggerElm.setAttribute("class",(this.triggerElm.getAttribute("class")||"")+" el-dropdown-selfdefine"))},initEvent:function(){var e=this,t=this.trigger,n=this.show,i=this.hide,r=this.handleClick,o=this.splitButton,a=this.handleTriggerKeyDown,s=this.handleItemKeyDown;this.triggerElm=o?this.$refs.trigger.$el:this.$slots.default[0].elm;var l=this.dropdownElm;this.triggerElm.addEventListener("keydown",a),l.addEventListener("keydown",s,!0),o||(this.triggerElm.addEventListener("focus",(function(){e.focusing=!0})),this.triggerElm.addEventListener("blur",(function(){e.focusing=!1})),this.triggerElm.addEventListener("click",(function(){e.focusing=!1}))),"hover"===t?(this.triggerElm.addEventListener("mouseenter",n),this.triggerElm.addEventListener("mouseleave",i),l.addEventListener("mouseenter",n),l.addEventListener("mouseleave",i)):"click"===t&&this.triggerElm.addEventListener("click",r)},handleMenuItemClick:function(e,t){this.hideOnClick&&(this.visible=!1),this.$emit("command",e,t)},triggerElmFocus:function(){this.triggerElm.focus&&this.triggerElm.focus()},initDomOperation:function(){this.dropdownElm=this.popperElm,this.menuItems=this.dropdownElm.querySelectorAll("[tabindex='-1']"),this.menuItemsArray=[].slice.call(this.menuItems),this.initEvent(),this.initAria()}},render:function(e){var t=this,n=this.hide,i=this.splitButton,r=this.type,o=this.dropdownSize,a=this.disabled,s=function(e){t.$emit("click",e),n()},l=null;if(i)l=e("el-button-group",[e("el-button",{attrs:{type:r,size:o,disabled:a},nativeOn:{click:s}},[this.$slots.default]),e("el-button",{ref:"trigger",attrs:{type:r,size:o,disabled:a},class:"el-dropdown__caret-button"},[e("i",{class:"el-dropdown__icon el-icon-arrow-down"})])]);else{l=this.$slots.default;var u=l[0].data||{},c=u.attrs,h=void 0===c?{}:c;a&&!h.disabled&&(h.disabled=!0,u.attrs=h)}var d=a?null:this.$slots.dropdown;return e("div",{class:"el-dropdown",directives:[{name:"clickoutside",value:n}],attrs:{"aria-disabled":a}},[l,d])}},ce=ue,he=s(ce,ne,ie,!1,null,null,null);he.options.__file="packages/dropdown/src/dropdown.vue";var de=he.exports;de.install=function(e){e.component(de.name,de)};var fe=de,pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-dropdown-menu el-popper",class:[e.size&&"el-dropdown-menu--"+e.size]},[e._t("default")],2)])},ge=[];pe._withStripped=!0;var me={name:"ElDropdownMenu",componentName:"ElDropdownMenu",mixins:[H.a],props:{visibleArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0}},data:function(){return{size:this.dropdown.dropdownSize}},inject:["dropdown"],created:function(){var e=this;this.$on("updatePopper",(function(){e.showPopper&&e.updatePopper()})),this.$on("visible",(function(t){e.showPopper=t}))},mounted:function(){this.dropdown.popperElm=this.popperElm=this.$el,this.referenceElm=this.dropdown.$el,this.dropdown.initDomOperation()},watch:{"dropdown.placement":{immediate:!0,handler:function(e){this.currentPlacement=e}}}},ve=me,ye=s(ve,pe,ge,!1,null,null,null);ye.options.__file="packages/dropdown/src/dropdown-menu.vue";var be=ye.exports;be.install=function(e){e.component(be.name,be)};var xe=be,_e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-dropdown-menu__item",class:{"is-disabled":e.disabled,"el-dropdown-menu__item--divided":e.divided},attrs:{"aria-disabled":e.disabled,tabindex:e.disabled?null:-1},on:{click:e.handleClick}},[e.icon?n("i",{class:e.icon}):e._e(),e._t("default")],2)},we=[];_e._withStripped=!0;var Ce={name:"ElDropdownItem",mixins:[E.a],props:{command:{},disabled:Boolean,divided:Boolean,icon:String},methods:{handleClick:function(e){this.dispatch("ElDropdown","menu-item-click",[this.command,this])}}},Se=Ce,ke=s(Se,_e,we,!1,null,null,null);ke.options.__file="packages/dropdown/src/dropdown-item.vue";var Me=ke.exports;Me.install=function(e){e.component(Me.name,Me)};var Te=Me,Ee=Ee||{};Ee.Utils=Ee.Utils||{},Ee.Utils.focusFirstDescendant=function(e){for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if(Ee.Utils.attemptFocus(n)||Ee.Utils.focusFirstDescendant(n))return!0}return!1},Ee.Utils.focusLastDescendant=function(e){for(var t=e.childNodes.length-1;t>=0;t--){var n=e.childNodes[t];if(Ee.Utils.attemptFocus(n)||Ee.Utils.focusLastDescendant(n))return!0}return!1},Ee.Utils.attemptFocus=function(e){if(!Ee.Utils.isFocusable(e))return!1;Ee.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(t){}return Ee.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},Ee.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Ee.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];return i.initEvent.apply(i,[t].concat(o)),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent("on"+t,i),e},Ee.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27};var De=Ee.Utils,Pe=function(e,t){this.domNode=t,this.parent=e,this.subMenuItems=[],this.subIndex=0,this.init()};Pe.prototype.init=function(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()},Pe.prototype.gotoSubIndex=function(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e},Pe.prototype.addListeners=function(){var e=this,t=De.keys,n=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,(function(i){i.addEventListener("keydown",(function(i){var r=!1;switch(i.keyCode){case t.down:e.gotoSubIndex(e.subIndex+1),r=!0;break;case t.up:e.gotoSubIndex(e.subIndex-1),r=!0;break;case t.tab:De.triggerEvent(n,"mouseleave");break;case t.enter:case t.space:r=!0,i.currentTarget.click();break}return r&&(i.preventDefault(),i.stopPropagation()),!1}))}))};var Oe=Pe,Ie=function(e){this.domNode=e,this.submenu=null,this.init()};Ie.prototype.init=function(){this.domNode.setAttribute("tabindex","0");var e=this.domNode.querySelector(".el-menu");e&&(this.submenu=new Oe(this,e)),this.addListeners()},Ie.prototype.addListeners=function(){var e=this,t=De.keys;this.domNode.addEventListener("keydown",(function(n){var i=!1;switch(n.keyCode){case t.down:De.triggerEvent(n.currentTarget,"mouseenter"),e.submenu&&e.submenu.gotoSubIndex(0),i=!0;break;case t.up:De.triggerEvent(n.currentTarget,"mouseenter"),e.submenu&&e.submenu.gotoSubIndex(e.submenu.subMenuItems.length-1),i=!0;break;case t.tab:De.triggerEvent(n.currentTarget,"mouseleave");break;case t.enter:case t.space:i=!0,n.currentTarget.click();break}i&&n.preventDefault()}))};var Ae=Ie,Le=function(e){this.domNode=e,this.init()};Le.prototype.init=function(){var e=this.domNode.childNodes;[].filter.call(e,(function(e){return 1===e.nodeType})).forEach((function(e){new Ae(e)}))};var Ne,Re,ze=Le,$e=n(1),Be={name:"ElMenu",render:function(e){var t=e("ul",{attrs:{role:"menubar"},key:+this.collapse,style:{backgroundColor:this.backgroundColor||""},class:{"el-menu--horizontal":"horizontal"===this.mode,"el-menu--collapse":this.collapse,"el-menu":!0}},[this.$slots.default]);return this.collapseTransition?e("el-menu-collapse-transition",[t]):t},componentName:"ElMenu",mixins:[E.a,M.a],provide:function(){return{rootMenu:this}},components:{"el-menu-collapse-transition":{functional:!0,render:function(e,t){var n={props:{mode:"out-in"},on:{beforeEnter:function(e){e.style.opacity=.2},enter:function(e){Object($e["addClass"])(e,"el-opacity-transition"),e.style.opacity=1},afterEnter:function(e){Object($e["removeClass"])(e,"el-opacity-transition"),e.style.opacity=""},beforeLeave:function(e){e.dataset||(e.dataset={}),Object($e["hasClass"])(e,"el-menu--collapse")?(Object($e["removeClass"])(e,"el-menu--collapse"),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth,Object($e["addClass"])(e,"el-menu--collapse")):(Object($e["addClass"])(e,"el-menu--collapse"),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth,Object($e["removeClass"])(e,"el-menu--collapse")),e.style.width=e.scrollWidth+"px",e.style.overflow="hidden"},leave:function(e){Object($e["addClass"])(e,"horizontal-collapse-transition"),e.style.width=e.dataset.scrollWidth+"px"}}};return e("transition",n,t.children)}}},props:{mode:{type:String,default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:Array,uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0}},data:function(){return{activeIndex:this.defaultActive,openedMenus:this.defaultOpeneds&&!this.collapse?this.defaultOpeneds.slice(0):[],items:{},submenus:{}}},computed:{hoverBackground:function(){return this.backgroundColor?this.mixColor(this.backgroundColor,.2):""},isMenuPopup:function(){return"horizontal"===this.mode||"vertical"===this.mode&&this.collapse}},watch:{defaultActive:function(e){this.items[e]||(this.activeIndex=null),this.updateActiveIndex(e)},defaultOpeneds:function(e){this.collapse||(this.openedMenus=e)},collapse:function(e){e&&(this.openedMenus=[]),this.broadcast("ElSubmenu","toggle-collapse",e)}},methods:{updateActiveIndex:function(e){var t=this.items[e]||this.items[this.activeIndex]||this.items[this.defaultActive];t?(this.activeIndex=t.index,this.initOpenedMenu()):this.activeIndex=null},getMigratingConfig:function(){return{props:{theme:"theme is removed."}}},getColorChannels:function(e){if(e=e.replace("#",""),/^[0-9a-fA-F]{3}$/.test(e)){e=e.split("");for(var t=2;t>=0;t--)e.splice(t,0,e[t]);e=e.join("")}return/^[0-9a-fA-F]{6}$/.test(e)?{red:parseInt(e.slice(0,2),16),green:parseInt(e.slice(2,4),16),blue:parseInt(e.slice(4,6),16)}:{red:255,green:255,blue:255}},mixColor:function(e,t){var n=this.getColorChannels(e),i=n.red,r=n.green,o=n.blue;return t>0?(i*=1-t,r*=1-t,o*=1-t):(i+=(255-i)*t,r+=(255-r)*t,o+=(255-o)*t),"rgb("+Math.round(i)+", "+Math.round(r)+", "+Math.round(o)+")"},addItem:function(e){this.$set(this.items,e.index,e)},removeItem:function(e){delete this.items[e.index]},addSubmenu:function(e){this.$set(this.submenus,e.index,e)},removeSubmenu:function(e){delete this.submenus[e.index]},openMenu:function(e,t){var n=this.openedMenus;-1===n.indexOf(e)&&(this.uniqueOpened&&(this.openedMenus=n.filter((function(e){return-1!==t.indexOf(e)}))),this.openedMenus.push(e))},closeMenu:function(e){var t=this.openedMenus.indexOf(e);-1!==t&&this.openedMenus.splice(t,1)},handleSubmenuClick:function(e){var t=e.index,n=e.indexPath,i=-1!==this.openedMenus.indexOf(t);i?(this.closeMenu(t),this.$emit("close",t,n)):(this.openMenu(t,n),this.$emit("open",t,n))},handleItemClick:function(e){var t=this,n=e.index,i=e.indexPath,r=this.activeIndex,o=null!==e.index;o&&(this.activeIndex=e.index),this.$emit("select",n,i,e),("horizontal"===this.mode||this.collapse)&&(this.openedMenus=[]),this.router&&o&&this.routeToItem(e,(function(e){if(t.activeIndex=r,e){if("NavigationDuplicated"===e.name)return;console.error(e)}}))},initOpenedMenu:function(){var e=this,t=this.activeIndex,n=this.items[t];if(n&&"horizontal"!==this.mode&&!this.collapse){var i=n.indexPath;i.forEach((function(t){var n=e.submenus[t];n&&e.openMenu(t,n.indexPath)}))}},routeToItem:function(e,t){var n=e.route||e.index;try{this.$router.push(n,(function(){}),t)}catch(i){console.error(i)}},open:function(e){var t=this,n=this.submenus[e.toString()].indexPath;n.forEach((function(e){return t.openMenu(e,n)}))},close:function(e){this.closeMenu(e)}},mounted:function(){this.initOpenedMenu(),this.$on("item-click",this.handleItemClick),this.$on("submenu-click",this.handleSubmenuClick),"horizontal"===this.mode&&new ze(this.$el),this.$watch("items",this.updateActiveIndex)}},Fe=Be,je=s(Fe,Ne,Re,!1,null,null,null);je.options.__file="packages/menu/src/menu.vue";var Ve=je.exports;Ve.install=function(e){e.component(Ve.name,Ve)};var He,We,Ge=Ve,qe=n(21),Ue=n.n(qe),Ye={inject:["rootMenu"],computed:{indexPath:function(){var e=[this.index],t=this.$parent;while("ElMenu"!==t.$options.componentName)t.index&&e.unshift(t.index),t=t.$parent;return e},parentMenu:function(){var e=this.$parent;while(e&&-1===["ElMenu","ElSubmenu"].indexOf(e.$options.componentName))e=e.$parent;return e},paddingStyle:function(){if("vertical"!==this.rootMenu.mode)return{};var e=20,t=this.$parent;if(this.rootMenu.collapse)e=20;else while(t&&"ElMenu"!==t.$options.componentName)"ElSubmenu"===t.$options.componentName&&(e+=20),t=t.$parent;return{paddingLeft:e+"px"}}}},Xe={props:{transformOrigin:{type:[Boolean,String],default:!1},offset:H.a.props.offset,boundariesPadding:H.a.props.boundariesPadding,popperOptions:H.a.props.popperOptions},data:H.a.data,methods:H.a.methods,beforeDestroy:H.a.beforeDestroy,deactivated:H.a.deactivated},Ze={name:"ElSubmenu",componentName:"ElSubmenu",mixins:[Ye,E.a,Xe],components:{ElCollapseTransition:Ue.a},props:{index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0}},data:function(){return{popperJS:null,timeout:null,items:{},submenus:{},mouseInChild:!1}},watch:{opened:function(e){var t=this;this.isMenuPopup&&this.$nextTick((function(e){t.updatePopper()}))}},computed:{appendToBody:function(){return void 0===this.popperAppendToBody?this.isFirstLevel:this.popperAppendToBody},menuTransitionName:function(){return this.rootMenu.collapse?"el-zoom-in-left":"el-zoom-in-top"},opened:function(){return this.rootMenu.openedMenus.indexOf(this.index)>-1},active:function(){var e=!1,t=this.submenus,n=this.items;return Object.keys(n).forEach((function(t){n[t].active&&(e=!0)})),Object.keys(t).forEach((function(n){t[n].active&&(e=!0)})),e},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},isMenuPopup:function(){return this.rootMenu.isMenuPopup},titleStyle:function(){return"horizontal"!==this.mode?{color:this.textColor}:{borderBottomColor:this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent",color:this.active?this.activeTextColor:this.textColor}},isFirstLevel:function(){var e=!0,t=this.$parent;while(t&&t!==this.rootMenu){if(["ElSubmenu","ElMenuItemGroup"].indexOf(t.$options.componentName)>-1){e=!1;break}t=t.$parent}return e}},methods:{handleCollapseToggle:function(e){e?this.initPopper():this.doDestroy()},addItem:function(e){this.$set(this.items,e.index,e)},removeItem:function(e){delete this.items[e.index]},addSubmenu:function(e){this.$set(this.submenus,e.index,e)},removeSubmenu:function(e){delete this.submenus[e.index]},handleClick:function(){var e=this.rootMenu,t=this.disabled;"hover"===e.menuTrigger&&"horizontal"===e.mode||e.collapse&&"vertical"===e.mode||t||this.dispatch("ElMenu","submenu-click",this)},handleMouseenter:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.showTimeout;if("ActiveXObject"in window||"focus"!==e.type||e.relatedTarget){var i=this.rootMenu,r=this.disabled;"click"===i.menuTrigger&&"horizontal"===i.mode||!i.collapse&&"vertical"===i.mode||r||(this.dispatch("ElSubmenu","mouse-enter-child"),clearTimeout(this.timeout),this.timeout=setTimeout((function(){t.rootMenu.openMenu(t.index,t.indexPath)}),n),this.appendToBody&&this.$parent.$el.dispatchEvent(new MouseEvent("mouseenter")))}},handleMouseleave:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.rootMenu;"click"===n.menuTrigger&&"horizontal"===n.mode||!n.collapse&&"vertical"===n.mode||(this.dispatch("ElSubmenu","mouse-leave-child"),clearTimeout(this.timeout),this.timeout=setTimeout((function(){!e.mouseInChild&&e.rootMenu.closeMenu(e.index)}),this.hideTimeout),this.appendToBody&&t&&"ElSubmenu"===this.$parent.$options.name&&this.$parent.handleMouseleave(!0))},handleTitleMouseenter:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var e=this.$refs["submenu-title"];e&&(e.style.backgroundColor=this.rootMenu.hoverBackground)}},handleTitleMouseleave:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var e=this.$refs["submenu-title"];e&&(e.style.backgroundColor=this.rootMenu.backgroundColor||"")}},updatePlacement:function(){this.currentPlacement="horizontal"===this.mode&&this.isFirstLevel?"bottom-start":"right-start"},initPopper:function(){this.referenceElm=this.$el,this.popperElm=this.$refs.menu,this.updatePlacement()}},created:function(){var e=this;this.$on("toggle-collapse",this.handleCollapseToggle),this.$on("mouse-enter-child",(function(){e.mouseInChild=!0,clearTimeout(e.timeout)})),this.$on("mouse-leave-child",(function(){e.mouseInChild=!1,clearTimeout(e.timeout)}))},mounted:function(){this.parentMenu.addSubmenu(this),this.rootMenu.addSubmenu(this),this.initPopper()},beforeDestroy:function(){this.parentMenu.removeSubmenu(this),this.rootMenu.removeSubmenu(this)},render:function(e){var t=this,n=this.active,i=this.opened,r=this.paddingStyle,o=this.titleStyle,a=this.backgroundColor,s=this.rootMenu,l=this.currentPlacement,u=this.menuTransitionName,c=this.mode,h=this.disabled,d=this.popperClass,f=this.$slots,p=this.isFirstLevel,g=e("transition",{attrs:{name:u}},[e("div",{ref:"menu",directives:[{name:"show",value:i}],class:["el-menu--"+c,d],on:{mouseenter:function(e){return t.handleMouseenter(e,100)},mouseleave:function(){return t.handleMouseleave(!0)},focus:function(e){return t.handleMouseenter(e,100)}}},[e("ul",{attrs:{role:"menu"},class:["el-menu el-menu--popup","el-menu--popup-"+l],style:{backgroundColor:s.backgroundColor||""}},[f.default])])]),m=e("el-collapse-transition",[e("ul",{attrs:{role:"menu"},class:"el-menu el-menu--inline",directives:[{name:"show",value:i}],style:{backgroundColor:s.backgroundColor||""}},[f.default])]),v="horizontal"===s.mode&&p||"vertical"===s.mode&&!s.collapse?"el-icon-arrow-down":"el-icon-arrow-right";return e("li",{class:{"el-submenu":!0,"is-active":n,"is-opened":i,"is-disabled":h},attrs:{role:"menuitem","aria-haspopup":"true","aria-expanded":i},on:{mouseenter:this.handleMouseenter,mouseleave:function(){return t.handleMouseleave(!1)},focus:this.handleMouseenter}},[e("div",{class:"el-submenu__title",ref:"submenu-title",on:{click:this.handleClick,mouseenter:this.handleTitleMouseenter,mouseleave:this.handleTitleMouseleave},style:[r,o,{backgroundColor:a}]},[f.title,e("i",{class:["el-submenu__icon-arrow",v]})]),this.isMenuPopup?g:m])}},Ke=Ze,Qe=s(Ke,He,We,!1,null,null,null);Qe.options.__file="packages/menu/src/submenu.vue";var Je=Qe.exports;Je.install=function(e){e.component(Je.name,Je)};var et=Je,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-menu-item",class:{"is-active":e.active,"is-disabled":e.disabled},style:[e.paddingStyle,e.itemStyle,{backgroundColor:e.backgroundColor}],attrs:{role:"menuitem",tabindex:"-1"},on:{click:e.handleClick,mouseenter:e.onMouseEnter,focus:e.onMouseEnter,blur:e.onMouseLeave,mouseleave:e.onMouseLeave}},["ElMenu"===e.parentMenu.$options.componentName&&e.rootMenu.collapse&&e.$slots.title?n("el-tooltip",{attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[e._t("title")],2),n("div",{staticStyle:{position:"absolute",left:"0",top:"0",height:"100%",width:"100%",display:"inline-block","box-sizing":"border-box",padding:"0 20px"}},[e._t("default")],2)]):[e._t("default"),e._t("title")]],2)},nt=[];tt._withStripped=!0;var it=n(26),rt=n.n(it),ot={name:"ElMenuItem",componentName:"ElMenuItem",mixins:[Ye,E.a],components:{ElTooltip:rt.a},props:{index:{default:null,validator:function(e){return"string"===typeof e||null===e}},route:[String,Object],disabled:Boolean},computed:{active:function(){return this.index===this.rootMenu.activeIndex},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},itemStyle:function(){var e={color:this.active?this.activeTextColor:this.textColor};return"horizontal"!==this.mode||this.isNested||(e.borderBottomColor=this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent"),e},isNested:function(){return this.parentMenu!==this.rootMenu}},methods:{onMouseEnter:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.hoverBackground)},onMouseLeave:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.backgroundColor)},handleClick:function(){this.disabled||(this.dispatch("ElMenu","item-click",this),this.$emit("click",this))}},mounted:function(){this.parentMenu.addItem(this),this.rootMenu.addItem(this)},beforeDestroy:function(){this.parentMenu.removeItem(this),this.rootMenu.removeItem(this)}},at=ot,st=s(at,tt,nt,!1,null,null,null);st.options.__file="packages/menu/src/menu-item.vue";var lt=st.exports;lt.install=function(e){e.component(lt.name,lt)};var ut=lt,ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-menu-item-group"},[n("div",{staticClass:"el-menu-item-group__title",style:{paddingLeft:e.levelPadding+"px"}},[e.$slots.title?e._t("title"):[e._v(e._s(e.title))]],2),n("ul",[e._t("default")],2)])},ht=[];ct._withStripped=!0;var dt={name:"ElMenuItemGroup",componentName:"ElMenuItemGroup",inject:["rootMenu"],props:{title:{type:String}},data:function(){return{paddingLeft:20}},computed:{levelPadding:function(){var e=20,t=this.$parent;if(this.rootMenu.collapse)return 20;while(t&&"ElMenu"!==t.$options.componentName)"ElSubmenu"===t.$options.componentName&&(e+=20),t=t.$parent;return e}}},ft=dt,pt=s(ft,ct,ht,!1,null,null,null);pt.options.__file="packages/menu/src/menu-item-group.vue";var gt=pt.exports;gt.install=function(e){e.component(gt.name,gt)};var mt=gt,vt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon",class:e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon",class:e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)},yt=[];vt._withStripped=!0;var bt=void 0,xt="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",_t=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function wt(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),i=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width")),o=_t.map((function(e){return e+":"+t.getPropertyValue(e)})).join(";");return{contextStyle:o,paddingSize:i,borderSize:r,boxSizing:n}}function Ct(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;bt||(bt=document.createElement("textarea"),document.body.appendChild(bt));var i=wt(e),r=i.paddingSize,o=i.borderSize,a=i.boxSizing,s=i.contextStyle;bt.setAttribute("style",s+";"+xt),bt.value=e.value||e.placeholder||"";var l=bt.scrollHeight,u={};"border-box"===a?l+=o:"content-box"===a&&(l-=r),bt.value="";var c=bt.scrollHeight-r;if(null!==t){var h=c*t;"border-box"===a&&(h=h+r+o),l=Math.max(h,l),u.minHeight=h+"px"}if(null!==n){var d=c*n;"border-box"===a&&(d=d+r+o),l=Math.min(d,l)}return u.height=l+"px",bt.parentNode&&bt.parentNode.removeChild(bt),bt=null,u}var St=n(7),kt=n.n(St),Mt=n(19),Tt={name:"ElInput",componentName:"ElInput",mixins:[E.a,M.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return kt()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"===typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick((function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()}))}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize,t=this.type;if("textarea"===t)if(e){var n=e.minRows,i=e.maxRows;this.textareaCalcStyle=Ct(this.$refs.textarea,n,i)}else this.textareaCalcStyle={minHeight:Ct(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(Mt["isKorean"])(n)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,i=0;i<t.length;i++)if(t[i].parentNode===this.$el){n=t[i];break}if(n){var r={suffix:"append",prefix:"prepend"},o=r[e];this.$slots[o]?n.style.transform="translateX("+("suffix"===e?"-":"")+this.$el.querySelector(".el-input-group__"+o).offsetWidth+"px)":n.removeAttribute("style")}}},updateIconOffset:function(){this.calcIconOffset("prefix"),this.calcIconOffset("suffix")},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")},handlePasswordVisible:function(){var e=this;this.passwordVisible=!this.passwordVisible,this.$nextTick((function(){e.focus()}))},getInput:function(){return this.$refs.input||this.$refs.textarea},getSuffixVisible:function(){return this.$slots.suffix||this.suffixIcon||this.showClear||this.showPassword||this.isWordLimitVisible||this.validateState&&this.needStatusIcon}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.setNativeInputValue(),this.resizeTextarea(),this.updateIconOffset()},updated:function(){this.$nextTick(this.updateIconOffset)}},Et=Tt,Dt=s(Et,vt,yt,!1,null,null,null);Dt.options.__file="packages/input/src/input.vue";var Pt=Dt.exports;Pt.install=function(e){e.component(Pt.name,Pt)};var Ot=Pt,It=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.decrease(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-down":"minus")})]):e._e(),e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.increase(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-up":"plus")})]):e._e(),n("el-input",{ref:"input",attrs:{value:e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,input:e.handleInput,change:e.handleInputChange},nativeOn:{keydown:[function(t){return!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.increase(t))},function(t){return!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.decrease(t))}]}})],1)},At=[];It._withStripped=!0;var Lt={bind:function(e,t,n){var i=null,r=void 0,o=Object(y["isMac"])()?100:200,a=function(){return n.context[t.expression].apply()},s=function(){Date.now()-r<o&&a(),clearInterval(i),i=null};Object($e["on"])(e,"mousedown",(function(e){0===e.button&&(r=Date.now(),Object($e["once"])(document,"mouseup",s),clearInterval(i),i=setInterval(a,o))}))}},Nt={name:"ElInputNumber",mixins:[K()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:Lt},components:{ElInput:g.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(e){return e>=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);t=Math.round(t/this.step)*i*this.step/i}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,i=this.precision,r=n(t);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(e),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),i=0;return-1!==n&&(i=t.length-n-1),i},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},Rt=Nt,zt=s(Rt,It,At,!1,null,null,null);zt.options.__file="packages/input-number/src/input-number.vue";var $t=zt.exports;$t.install=function(e){e.component($t.name,$t)};var Bt=$t,Ft=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio",class:[e.border&&e.radioSize?"el-radio--"+e.radioSize:"",{"is-disabled":e.isDisabled},{"is-focus":e.focus},{"is-bordered":e.border},{"is-checked":e.model===e.label}],attrs:{role:"radio","aria-checked":e.model===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.model=e.isDisabled?e.model:e.label}}},[n("span",{staticClass:"el-radio__input",class:{"is-disabled":e.isDisabled,"is-checked":e.model===e.label}},[n("span",{staticClass:"el-radio__inner"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:e.name,disabled:e.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:e.label,checked:e._q(e.model,e.label)},on:{focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},change:[function(t){e.model=e.label},e.handleChange]}})]),n("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},jt=[];Ft._withStripped=!0;var Vt={name:"ElRadio",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){var e=this.$parent;while(e){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick((function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)}))}}},Ht=Vt,Wt=s(Ht,Ft,jt,!1,null,null,null);Wt.options.__file="packages/radio/src/radio.vue";var Gt=Wt.exports;Gt.install=function(e){e.component(Gt.name,Gt)};var qt=Gt,Ut=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e._elTag,{tag:"component",staticClass:"el-radio-group",attrs:{role:"radiogroup"},on:{keydown:e.handleKeydown}},[e._t("default")],2)},Yt=[];Ut._withStripped=!0;var Xt=Object.freeze({LEFT:37,UP:38,RIGHT:39,DOWN:40}),Zt={name:"ElRadioGroup",componentName:"ElRadioGroup",inject:{elFormItem:{default:""}},mixins:[E.a],props:{value:{},size:String,fill:String,textColor:String,disabled:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},_elTag:function(){var e=(this.$vnode.data||{}).tag;return e&&"component"!==e||(e="div"),e},radioGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},created:function(){var e=this;this.$on("handleChange",(function(t){e.$emit("change",t)}))},mounted:function(){var e=this.$el.querySelectorAll("[type=radio]"),t=this.$el.querySelectorAll("[role=radio]")[0];![].some.call(e,(function(e){return e.checked}))&&t&&(t.tabIndex=0)},methods:{handleKeydown:function(e){var t=e.target,n="INPUT"===t.nodeName?"[type=radio]":"[role=radio]",i=this.$el.querySelectorAll(n),r=i.length,o=[].indexOf.call(i,t),a=this.$el.querySelectorAll("[role=radio]");switch(e.keyCode){case Xt.LEFT:case Xt.UP:e.stopPropagation(),e.preventDefault(),0===o?(a[r-1].click(),a[r-1].focus()):(a[o-1].click(),a[o-1].focus());break;case Xt.RIGHT:case Xt.DOWN:o===r-1?(e.stopPropagation(),e.preventDefault(),a[0].click(),a[0].focus()):(a[o+1].click(),a[o+1].focus());break;default:break}}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[this.value])}}},Kt=Zt,Qt=s(Kt,Ut,Yt,!1,null,null,null);Qt.options.__file="packages/radio/src/radio-group.vue";var Jt=Qt.exports;Jt.install=function(e){e.component(Jt.name,Jt)};var en=Jt,tn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio-button",class:[e.size?"el-radio-button--"+e.size:"",{"is-active":e.value===e.label},{"is-disabled":e.isDisabled},{"is-focus":e.focus}],attrs:{role:"radio","aria-checked":e.value===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.value=e.isDisabled?e.value:e.label}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"el-radio-button__orig-radio",attrs:{type:"radio",name:e.name,disabled:e.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:e.label,checked:e._q(e.value,e.label)},on:{change:[function(t){e.value=e.label},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}),n("span",{staticClass:"el-radio-button__inner",style:e.value===e.label?e.activeStyle:null,on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},nn=[];tn._withStripped=!0;var rn={name:"ElRadioButton",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},props:{label:{},disabled:Boolean,name:String},data:function(){return{focus:!1}},computed:{value:{get:function(){return this._radioGroup.value},set:function(e){this._radioGroup.$emit("input",e)}},_radioGroup:function(){var e=this.$parent;while(e){if("ElRadioGroup"===e.$options.componentName)return e;e=e.$parent}return!1},activeStyle:function(){return{backgroundColor:this._radioGroup.fill||"",borderColor:this._radioGroup.fill||"",boxShadow:this._radioGroup.fill?"-1px 0 0 0 "+this._radioGroup.fill:"",color:this._radioGroup.textColor||""}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._radioGroup.radioGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isDisabled:function(){return this.disabled||this._radioGroup.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this._radioGroup&&this.value!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick((function(){e.dispatch("ElRadioGroup","handleChange",e.value)}))}}},on=rn,an=s(on,tn,nn,!1,null,null,null);an.options.__file="packages/radio/src/radio-button.vue";var sn=an.exports;sn.install=function(e){e.component(sn.name,sn)};var ln=sn,un=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{id:e.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{tabindex:!!e.indeterminate&&0,role:!!e.indeterminate&&"checkbox","aria-checked":!!e.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,i=t.target,r=i.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},cn=[];un._withStripped=!0;var hn={name:"ElCheckbox",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&e.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick((function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},dn=hn,fn=s(dn,un,cn,!1,null,null,null);fn.options.__file="packages/checkbox/src/checkbox.vue";var pn=fn.exports;pn.install=function(e){e.component(pn.name,pn)};var gn=pn,mn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox-button",class:[e.size?"el-checkbox-button--"+e.size:"",{"is-disabled":e.isDisabled},{"is-checked":e.isChecked},{"is-focus":e.focus}],attrs:{role:"checkbox","aria-checked":e.isChecked,"aria-disabled":e.isDisabled}},[e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,i=t.target,r=i.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:e.name,disabled:e.isDisabled},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox-button__inner",style:e.isChecked?e.activeStyle:null},[e._t("default",[e._v(e._s(e.label))])],2):e._e()])},vn=[];mn._withStripped=!0;var yn={name:"ElCheckboxButton",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},props:{value:{},label:{},disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number]},computed:{model:{get:function(){return this._checkboxGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this._checkboxGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&e.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):void 0!==this.value?this.$emit("input",e):this.selfModel=e}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},_checkboxGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return e;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},activeStyle:function(){return{backgroundColor:this._checkboxGroup.fill||"",borderColor:this._checkboxGroup.fill||"",color:this._checkboxGroup.textColor||"","box-shadow":"-1px 0 0 0 "+this._checkboxGroup.fill}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._checkboxGroup.checkboxGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this._checkboxGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled}},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick((function(){t._checkboxGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()}},bn=yn,xn=s(bn,mn,vn,!1,null,null,null);xn.options.__file="packages/checkbox/src/checkbox-button.vue";var _n=xn.exports;_n.install=function(e){e.component(_n.name,_n)};var wn=_n,Cn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},Sn=[];Cn._withStripped=!0;var kn={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[E.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},Mn=kn,Tn=s(Mn,Cn,Sn,!1,null,null,null);Tn.options.__file="packages/checkbox/src/checkbox-group.vue";var En=Tn.exports;En.install=function(e){e.component(En.name,En)};var Dn=En,Pn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-switch",class:{"is-disabled":e.switchDisabled,"is-checked":e.checked},attrs:{role:"switch","aria-checked":e.checked,"aria-disabled":e.switchDisabled},on:{click:function(t){return t.preventDefault(),e.switchValue(t)}}},[n("input",{ref:"input",staticClass:"el-switch__input",attrs:{type:"checkbox",id:e.id,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:e.switchDisabled},on:{change:e.handleChange,keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.switchValue(t)}}}),e.inactiveIconClass||e.inactiveText?n("span",{class:["el-switch__label","el-switch__label--left",e.checked?"":"is-active"]},[e.inactiveIconClass?n("i",{class:[e.inactiveIconClass]}):e._e(),!e.inactiveIconClass&&e.inactiveText?n("span",{attrs:{"aria-hidden":e.checked}},[e._v(e._s(e.inactiveText))]):e._e()]):e._e(),n("span",{ref:"core",staticClass:"el-switch__core",style:{width:e.coreWidth+"px"}}),e.activeIconClass||e.activeText?n("span",{class:["el-switch__label","el-switch__label--right",e.checked?"is-active":""]},[e.activeIconClass?n("i",{class:[e.activeIconClass]}):e._e(),!e.activeIconClass&&e.activeText?n("span",{attrs:{"aria-hidden":!e.checked}},[e._v(e._s(e.activeText))]):e._e()]):e._e()])},On=[];Pn._withStripped=!0;var In={name:"ElSwitch",mixins:[K()("input"),M.a,E.a],inject:{elForm:{default:""}},props:{value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:Number,default:40},activeIconClass:{type:String,default:""},inactiveIconClass:{type:String,default:""},activeText:String,inactiveText:String,activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String},data:function(){return{coreWidth:this.width}},created:function(){~[this.activeValue,this.inactiveValue].indexOf(this.value)||this.$emit("input",this.inactiveValue)},computed:{checked:function(){return this.value===this.activeValue},switchDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{checked:function(){this.$refs.input.checked=this.checked,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[this.value])}},methods:{handleChange:function(e){var t=this,n=this.checked?this.inactiveValue:this.activeValue;this.$emit("input",n),this.$emit("change",n),this.$nextTick((function(){t.$refs.input&&(t.$refs.input.checked=t.checked)}))},setBackgroundColor:function(){var e=this.checked?this.activeColor:this.inactiveColor;this.$refs.core.style.borderColor=e,this.$refs.core.style.backgroundColor=e},switchValue:function(){!this.switchDisabled&&this.handleChange()},getMigratingConfig:function(){return{props:{"on-color":"on-color is renamed to active-color.","off-color":"off-color is renamed to inactive-color.","on-text":"on-text is renamed to active-text.","off-text":"off-text is renamed to inactive-text.","on-value":"on-value is renamed to active-value.","off-value":"off-value is renamed to inactive-value.","on-icon-class":"on-icon-class is renamed to active-icon-class.","off-icon-class":"off-icon-class is renamed to inactive-icon-class."}}}},mounted:function(){this.coreWidth=this.width||40,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.$refs.input.checked=this.checked}},An=In,Ln=s(An,Pn,On,!1,null,null,null);Ln.options.__file="packages/switch/src/component.vue";var Nn=Ln.exports;Nn.install=function(e){e.component(Nn.name,Nn)};var Rn=Nn,zn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?n("span",[n("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?n("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():n("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,(function(t){return n("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(n){e.deleteTag(n,t)}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])})),1),e.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deletePrevTag(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),n("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.debouncedOnInputChange,compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?n("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")])]:e._e()],2)],1)],1)},$n=[];zn._withStripped=!0;var Bn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":e.$parent.multiple},e.popperClass],style:{minWidth:e.minWidth}},[e._t("default")],2)},Fn=[];Bn._withStripped=!0;var jn={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[H.a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",(function(){e.$parent.visible&&e.updatePopper()})),this.$on("destroyPopper",this.destroyPopper)}},Vn=jn,Hn=s(Vn,Bn,Fn,!1,null,null,null);Hn.options.__file="packages/select/src/select-dropdown.vue";var Wn=Hn.exports,Gn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[n("span",[e._v(e._s(e.currentLabel))])])],2)},qn=[];Gn._withStripped=!0;var Un="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yn={mixins:[E.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===("undefined"===typeof e?"undefined":Un(e))&&"object"===("undefined"===typeof t?"undefined":Un(t))&&e[r]===t[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(y["getValueByPath"])(e,n)===Object(y["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some((function(e){return Object(y["getValueByPath"])(e,n)===Object(y["getValueByPath"])(t,n)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(y["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,i=n?t:[t],r=this.select.cachedOptions.indexOf(this),o=i.indexOf(this);r>-1&&o<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},Xn=Yn,Zn=s(Xn,Gn,qn,!1,null,null,null);Zn.options.__file="packages/select/src/option.vue";var Kn=Zn.exports,Qn=n(30),Jn=n.n(Qn),ei=n(15),ti=n(27),ni=n.n(ti),ii={data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter((function(e){return e.visible})).every((function(e){return e.disabled}))}},watch:{hoverIndex:function(e){var t=this;"number"===typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach((function(e){e.hover=t.hoverOption===e}))}},methods:{navigateOptions:function(e){var t=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===e&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(e),this.$nextTick((function(){return t.scrollToOption(t.hoverOption)}))}}else this.visible=!0}}},ri={mixins:[E.a,v.a,K()("reference"),ii],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(y["isIE"])()&&!Object(y["isEdge"])()&&!this.visible},showClose:function(){var e=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value,t=this.clearable&&!this.selectDisabled&&this.inputHovering&&e;return t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter((function(e){return!e.created})).some((function(t){return t.currentLabel===e.query}));return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return"undefined"!==typeof this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:g.a,ElSelectMenu:Wn,ElOption:Kn,ElTag:Jn.a,ElScrollbar:G.a},directives:{Clickoutside:B.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick((function(){e.resetInputHeight()}))},propPlaceholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e,t){this.multiple&&(this.resetInputHeight(),e&&e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(y["valueEquals"])(e,t)||this.dispatch("ElFormItem","el.form.change",e)},visible:function(e){var t=this;e?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick((function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick((function(){e.broadcast("ElSelectDropdown","updatePopper")})),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleNavigate:function(e){this.isOnComposition||this.navigateOptions(e)},handleComposition:function(e){var t=this,n=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.$nextTick((function(e){return t.handleQueryChange(n)}));else{var i=n[n.length-1]||"";this.isOnComposition=!Object(Mt["isKorean"])(i)}},handleQueryChange:function(e){var t=this;this.previousQuery===e||this.isOnComposition||(null!==this.previousQuery||"function"!==typeof this.filterMethod&&"function"!==typeof this.remoteMethod?(this.previousQuery=e,this.$nextTick((function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")})),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick((function(){var e=15*t.$refs.input.value.length+20;t.inputLength=t.collapseTags?Math.min(50,e):e,t.managePlaceholder(),t.resetInputHeight()})),this.remote&&"function"===typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"===typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=e)},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");ni()(n,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick((function(){return e.scrollToOption(e.selected)}))},emitChange:function(e){Object(y["valueEquals"])(this.value,e)||this.$emit("change",e)},getOption:function(e){for(var t=void 0,n="[object object]"===Object.prototype.toString.call(e).toLowerCase(),i="[object null]"===Object.prototype.toString.call(e).toLowerCase(),r="[object undefined]"===Object.prototype.toString.call(e).toLowerCase(),o=this.cachedOptions.length-1;o>=0;o--){var a=this.cachedOptions[o],s=n?Object(y["getValueByPath"])(a.value,this.valueKey)===Object(y["getValueByPath"])(e,this.valueKey):a.value===e;if(s){t=a;break}}if(t)return t;var l=n||i||r?"":String(e),u={value:e,currentLabel:l};return this.multiple&&(u.hitState=!1),u},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach((function(t){n.push(e.getOption(t))})),this.selected=n,this.$nextTick((function(){e.resetInputHeight()}))},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.filterable&&!this.visible&&(this.menuVisibleOnFocus=!0),this.visible=!0),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout((function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)}),50),this.softFocus=!1},handleClearClick:function(e){this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick((function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,n=[].filter.call(t,(function(e){return"INPUT"===e.tagName}))[0],i=e.$refs.tags,r=i?Math.round(i.getBoundingClientRect().height):0,o=e.initialInputHeight||40;n.style.height=0===e.selected.length?o+"px":Math.max(i?r+(r>o?6:0):0,o)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}}))},resetHoverIndex:function(){var e=this;setTimeout((function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map((function(t){return e.options.indexOf(t)}))):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)}),300)},handleOptionSelect:function(e,t){var n=this;if(this.multiple){var i=(this.value||[]).slice(),r=this.getValueIndex(i,e.value);r>-1?i.splice(r,1):(this.multipleLimit<=0||i.length<this.multipleLimit)&&i.push(e.value),this.$emit("input",i),this.emitChange(i),e.created&&(this.query="",this.handleQueryChange(""),this.inputLength=20),this.filterable&&this.$refs.input.focus()}else this.$emit("input",e.value),this.emitChange(e.value),this.visible=!1;this.isSilentBlur=t,this.setSoftFocus(),this.visible||this.$nextTick((function(){n.scrollToOption(e)}))},setSoftFocus:function(){this.softFocus=!0;var e=this.$refs.input||this.$refs.reference;e&&e.focus()},getValueIndex:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n="[object object]"===Object.prototype.toString.call(t).toLowerCase();if(n){var i=this.valueKey,r=-1;return e.some((function(e,n){return Object(y["getValueByPath"])(e,i)===Object(y["getValueByPath"])(t,i)&&(r=n,!0)})),r}return e.indexOf(t)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation();var t=this.multiple?[]:"";this.$emit("input",t),this.emitChange(t),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var n=this.selected.indexOf(t);if(n>-1&&!this.selectDisabled){var i=this.value.slice();i.splice(n,1),this.$emit("input",i),this.emitChange(i),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var n=0;n!==this.options.length;++n){var i=this.options[n];if(this.query){if(!i.disabled&&!i.groupDisabled&&i.visible){this.hoverIndex=n;break}}else if(i.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:Object(y["getValueByPath"])(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=z()(this.debounce,(function(){e.onInputChange()})),this.debouncedQueryChange=z()(this.debounce,(function(t){e.handleQueryChange(t.target.value)})),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(ei["addResizeListener"])(this.$el,this.handleResize);var t=this.$refs.reference;if(t&&t.$el){var n={medium:36,small:32,mini:28},i=t.$el.querySelector("input");this.initialInputHeight=i.getBoundingClientRect().height||n[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick((function(){t&&t.$el&&(e.inputWidth=t.$el.getBoundingClientRect().width)})),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(ei["removeResizeListener"])(this.$el,this.handleResize)}},oi=ri,ai=s(oi,zn,$n,!1,null,null,null);ai.options.__file="packages/select/src/select.vue";var si=ai.exports;si.install=function(e){e.component(si.name,si)};var li=si;Kn.install=function(e){e.component(Kn.name,Kn)};var ui=Kn,ci=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-group__wrap"},[n("li",{staticClass:"el-select-group__title"},[e._v(e._s(e.label))]),n("li",[n("ul",{staticClass:"el-select-group"},[e._t("default")],2)])])},hi=[];ci._withStripped=!0;var di={mixins:[E.a],name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},data:function(){return{visible:!0}},watch:{disabled:function(e){this.broadcast("ElOption","handleGroupDisabled",e)}},methods:{queryChange:function(){this.visible=this.$children&&Array.isArray(this.$children)&&this.$children.some((function(e){return!0===e.visible}))}},created:function(){this.$on("queryChange",this.queryChange)},mounted:function(){this.disabled&&this.broadcast("ElOption","handleGroupDisabled",this.disabled)}},fi=di,pi=s(fi,ci,hi,!1,null,null,null);pi.options.__file="packages/select/src/option-group.vue";var gi=pi.exports;gi.install=function(e){e.component(gi.name,gi)};var mi=gi,vi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button",class:[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",[e._t("default")],2):e._e()])},yi=[];vi._withStripped=!0;var bi={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},xi=bi,_i=s(xi,vi,yi,!1,null,null,null);_i.options.__file="packages/button/src/button.vue";var wi=_i.exports;wi.install=function(e){e.component(wi.name,wi)};var Ci=wi,Si=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-button-group"},[e._t("default")],2)},ki=[];Si._withStripped=!0;var Mi={name:"ElButtonGroup"},Ti=Mi,Ei=s(Ti,Si,ki,!1,null,null,null);Ei.options.__file="packages/button/src/button-group.vue";var Di=Ei.exports;Di.install=function(e){e.component(Di.name,Di)};var Pi=Di,Oi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-table",class:[{"el-table--fit":e.fit,"el-table--striped":e.stripe,"el-table--border":e.border||e.isGroup,"el-table--hidden":e.isHidden,"el-table--group":e.isGroup,"el-table--fluid-height":e.maxHeight,"el-table--scrollable-x":e.layout.scrollX,"el-table--scrollable-y":e.layout.scrollY,"el-table--enable-row-hover":!e.store.states.isComplex,"el-table--enable-row-transition":0!==(e.store.states.data||[]).length&&(e.store.states.data||[]).length<100},e.tableSize?"el-table--"+e.tableSize:""],on:{mouseleave:function(t){e.handleMouseLeave(t)}}},[n("div",{ref:"hiddenColumns",staticClass:"hidden-columns"},[e._t("default")],2),e.showHeader?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"headerWrapper",staticClass:"el-table__header-wrapper"},[n("table-header",{ref:"tableHeader",style:{width:e.layout.bodyWidth?e.layout.bodyWidth+"px":""},attrs:{store:e.store,border:e.border,"default-sort":e.defaultSort}})],1):e._e(),n("div",{ref:"bodyWrapper",staticClass:"el-table__body-wrapper",class:[e.layout.scrollX?"is-scrolling-"+e.scrollPosition:"is-scrolling-none"],style:[e.bodyHeight]},[n("table-body",{style:{width:e.bodyWidth},attrs:{context:e.context,store:e.store,stripe:e.stripe,"row-class-name":e.rowClassName,"row-style":e.rowStyle,highlight:e.highlightCurrentRow}}),e.data&&0!==e.data.length?e._e():n("div",{ref:"emptyBlock",staticClass:"el-table__empty-block",style:e.emptyBlockStyle},[n("span",{staticClass:"el-table__empty-text"},[e._t("empty",[e._v(e._s(e.emptyText||e.t("el.table.emptyText")))])],2)]),e.$slots.append?n("div",{ref:"appendWrapper",staticClass:"el-table__append-wrapper"},[e._t("append")],2):e._e()],1),e.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"},{name:"mousewheel",rawName:"v-mousewheel",value:e.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"footerWrapper",staticClass:"el-table__footer-wrapper"},[n("table-footer",{style:{width:e.layout.bodyWidth?e.layout.bodyWidth+"px":""},attrs:{store:e.store,border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,"default-sort":e.defaultSort}})],1):e._e(),e.fixedColumns.length>0?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"fixedWrapper",staticClass:"el-table__fixed",style:[{width:e.layout.fixedWidth?e.layout.fixedWidth+"px":""},e.fixedHeight]},[e.showHeader?n("div",{ref:"fixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[n("table-header",{ref:"fixedTableHeader",style:{width:e.bodyWidth},attrs:{fixed:"left",border:e.border,store:e.store}})],1):e._e(),n("div",{ref:"fixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:e.layout.headerHeight+"px"},e.fixedBodyHeight]},[n("table-body",{style:{width:e.bodyWidth},attrs:{fixed:"left",store:e.store,stripe:e.stripe,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"row-style":e.rowStyle}}),e.$slots.append?n("div",{staticClass:"el-table__append-gutter",style:{height:e.layout.appendHeight+"px"}}):e._e()],1),e.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"}],ref:"fixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[n("table-footer",{style:{width:e.bodyWidth},attrs:{fixed:"left",border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,store:e.store}})],1):e._e()]):e._e(),e.rightFixedColumns.length>0?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"rightFixedWrapper",staticClass:"el-table__fixed-right",style:[{width:e.layout.rightFixedWidth?e.layout.rightFixedWidth+"px":"",right:e.layout.scrollY?(e.border?e.layout.gutterWidth:e.layout.gutterWidth||0)+"px":""},e.fixedHeight]},[e.showHeader?n("div",{ref:"rightFixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[n("table-header",{ref:"rightFixedTableHeader",style:{width:e.bodyWidth},attrs:{fixed:"right",border:e.border,store:e.store}})],1):e._e(),n("div",{ref:"rightFixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:e.layout.headerHeight+"px"},e.fixedBodyHeight]},[n("table-body",{style:{width:e.bodyWidth},attrs:{fixed:"right",store:e.store,stripe:e.stripe,"row-class-name":e.rowClassName,"row-style":e.rowStyle,highlight:e.highlightCurrentRow}}),e.$slots.append?n("div",{staticClass:"el-table__append-gutter",style:{height:e.layout.appendHeight+"px"}}):e._e()],1),e.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"}],ref:"rightFixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[n("table-footer",{style:{width:e.bodyWidth},attrs:{fixed:"right",border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,store:e.store}})],1):e._e()]):e._e(),e.rightFixedColumns.length>0?n("div",{ref:"rightFixedPatch",staticClass:"el-table__fixed-right-patch",style:{width:e.layout.scrollY?e.layout.gutterWidth+"px":"0",height:e.layout.headerHeight+"px"}}):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.resizeProxyVisible,expression:"resizeProxyVisible"}],ref:"resizeProxy",staticClass:"el-table__column-resize-proxy"})])},Ii=[];Oi._withStripped=!0;var Ai=n(14),Li=n.n(Ai),Ni=n(36),Ri=n(39),zi=n.n(Ri),$i="undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,Bi=function(e,t){e&&e.addEventListener&&e.addEventListener($i?"DOMMouseScroll":"mousewheel",(function(e){var n=zi()(e);t&&t.apply(this,[e,n])}))},Fi={bind:function(e,t){Bi(e,t.value)}},ji=n(6),Vi=n.n(ji),Hi="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wi=function(e){var t=e.target;while(t&&"HTML"!==t.tagName.toUpperCase()){if("TD"===t.tagName.toUpperCase())return t;t=t.parentNode}return null},Gi=function(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":Hi(e))},qi=function(e,t,n,i,r){if(!t&&!i&&(!r||Array.isArray(r)&&!r.length))return e;n="string"===typeof n?"descending"===n?-1:1:n&&n<0?-1:1;var o=i?null:function(n,i){return r?(Array.isArray(r)||(r=[r]),r.map((function(t){return"string"===typeof t?Object(y["getValueByPath"])(n,t):t(n,i,e)}))):("$key"!==t&&Gi(n)&&"$value"in n&&(n=n.$value),[Gi(n)?Object(y["getValueByPath"])(n,t):n])},a=function(e,t){if(i)return i(e.value,t.value);for(var n=0,r=e.key.length;n<r;n++){if(e.key[n]<t.key[n])return-1;if(e.key[n]>t.key[n])return 1}return 0};return e.map((function(e,t){return{value:e,index:t,key:o?o(e,t):null}})).sort((function(e,t){var i=a(e,t);return i||(i=e.index-t.index),i*n})).map((function(e){return e.value}))},Ui=function(e,t){var n=null;return e.columns.forEach((function(e){e.id===t&&(n=e)})),n},Yi=function(e,t){for(var n=null,i=0;i<e.columns.length;i++){var r=e.columns[i];if(r.columnKey===t){n=r;break}}return n},Xi=function(e,t){var n=(t.className||"").match(/el-table_[^\s]+/gm);return n?Ui(e,n[0]):null},Zi=function(e,t){if(!e)throw new Error("row is required when get row identity");if("string"===typeof t){if(t.indexOf(".")<0)return e[t];for(var n=t.split("."),i=e,r=0;r<n.length;r++)i=i[n[r]];return i}if("function"===typeof t)return t.call(null,e)},Ki=function(e,t){var n={};return(e||[]).forEach((function(e,i){n[Zi(e,t)]={row:e,index:i}})),n};function Qi(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ji(e,t){var n={},i=void 0;for(i in e)n[i]=e[i];for(i in t)if(Qi(t,i)){var r=t[i];"undefined"!==typeof r&&(n[i]=r)}return n}function er(e){return void 0!==e&&(e=parseInt(e,10),isNaN(e)&&(e=null)),e}function tr(e){return"undefined"!==typeof e&&(e=er(e),isNaN(e)&&(e=80)),e}function nr(e){return"number"===typeof e?e:"string"===typeof e?/^\d+(?:px)?$/.test(e)?parseInt(e,10):e:null}function ir(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function rr(e,t,n){var i=!1,r=e.indexOf(t),o=-1!==r,a=function(){e.push(t),i=!0},s=function(){e.splice(r,1),i=!0};return"boolean"===typeof n?n&&!o?a():!n&&o&&s():o?s():a(),i}function or(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hasChildren",r=function(e){return!(Array.isArray(e)&&e.length)};function o(e,a,s){t(e,a,s),a.forEach((function(e){if(e[i])t(e,null,s+1);else{var a=e[n];r(a)||o(e,a,s+1)}}))}e.forEach((function(e){if(e[i])t(e,null,0);else{var a=e[n];r(a)||o(e,a,0)}}))}var ar={data:function(){return{states:{defaultExpandAll:!1,expandRows:[]}}},methods:{updateExpandRows:function(){var e=this.states,t=e.data,n=void 0===t?[]:t,i=e.rowKey,r=e.defaultExpandAll,o=e.expandRows;if(r)this.states.expandRows=n.slice();else if(i){var a=Ki(o,i);this.states.expandRows=n.reduce((function(e,t){var n=Zi(t,i),r=a[n];return r&&e.push(t),e}),[])}else this.states.expandRows=[]},toggleRowExpansion:function(e,t){var n=rr(this.states.expandRows,e,t);n&&(this.table.$emit("expand-change",e,this.states.expandRows.slice()),this.scheduleLayout())},setExpandRowKeys:function(e){this.assertRowKey();var t=this.states,n=t.data,i=t.rowKey,r=Ki(n,i);this.states.expandRows=e.reduce((function(e,t){var n=r[t];return n&&e.push(n.row),e}),[])},isRowExpanded:function(e){var t=this.states,n=t.expandRows,i=void 0===n?[]:n,r=t.rowKey;if(r){var o=Ki(i,r);return!!o[Zi(e,r)]}return-1!==i.indexOf(e)}}},sr={data:function(){return{states:{_currentRowKey:null,currentRow:null}}},methods:{setCurrentRowKey:function(e){this.assertRowKey(),this.states._currentRowKey=e,this.setCurrentRowByKey(e)},restoreCurrentRowKey:function(){this.states._currentRowKey=null},setCurrentRowByKey:function(e){var t=this.states,n=t.data,i=void 0===n?[]:n,r=t.rowKey,o=null;r&&(o=Object(y["arrayFind"])(i,(function(t){return Zi(t,r)===e}))),t.currentRow=o},updateCurrentRow:function(e){var t=this.states,n=this.table,i=t.currentRow;if(e&&e!==i)return t.currentRow=e,void n.$emit("current-change",e,i);!e&&i&&(t.currentRow=null,n.$emit("current-change",null,i))},updateCurrentRowData:function(){var e=this.states,t=this.table,n=e.rowKey,i=e._currentRowKey,r=e.data||[],o=e.currentRow;if(-1===r.indexOf(o)&&o){if(n){var a=Zi(o,n);this.setCurrentRowByKey(a)}else e.currentRow=null;null===e.currentRow&&t.$emit("current-change",null,o)}else i&&(this.setCurrentRowByKey(i),this.restoreCurrentRowKey())}}},lr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ur={data:function(){return{states:{expandRowKeys:[],treeData:{},indent:16,lazy:!1,lazyTreeNodeMap:{},lazyColumnIdentifier:"hasChildren",childrenColumnName:"children"}}},computed:{normalizedData:function(){if(!this.states.rowKey)return{};var e=this.states.data||[];return this.normalize(e)},normalizedLazyNode:function(){var e=this.states,t=e.rowKey,n=e.lazyTreeNodeMap,i=e.lazyColumnIdentifier,r=Object.keys(n),o={};return r.length?(r.forEach((function(e){if(n[e].length){var r={children:[]};n[e].forEach((function(e){var n=Zi(e,t);r.children.push(n),e[i]&&!o[n]&&(o[n]={children:[]})})),o[e]=r}})),o):o}},watch:{normalizedData:"updateTreeData",normalizedLazyNode:"updateTreeData"},methods:{normalize:function(e){var t=this.states,n=t.childrenColumnName,i=t.lazyColumnIdentifier,r=t.rowKey,o=t.lazy,a={};return or(e,(function(e,t,n){var i=Zi(e,r);Array.isArray(t)?a[i]={children:t.map((function(e){return Zi(e,r)})),level:n}:o&&(a[i]={children:[],lazy:!0,level:n})}),n,i),a},updateTreeData:function(){var e=this.normalizedData,t=this.normalizedLazyNode,n=Object.keys(e),i={};if(n.length){var r=this.states,o=r.treeData,a=r.defaultExpandAll,s=r.expandRowKeys,l=r.lazy,u=[],c=function(e,t){var n=a||s&&-1!==s.indexOf(t);return!!(e&&e.expanded||n)};n.forEach((function(t){var n=o[t],r=lr({},e[t]);if(r.expanded=c(n,t),r.lazy){var a=n||{},s=a.loaded,l=void 0!==s&&s,h=a.loading,d=void 0!==h&&h;r.loaded=!!l,r.loading=!!d,u.push(t)}i[t]=r}));var h=Object.keys(t);l&&h.length&&u.length&&h.forEach((function(e){var n=o[e],r=t[e].children;if(-1!==u.indexOf(e)){if(0!==i[e].children.length)throw new Error("[ElTable]children must be an empty array.");i[e].children=r}else{var a=n||{},s=a.loaded,l=void 0!==s&&s,h=a.loading,d=void 0!==h&&h;i[e]={lazy:!0,loaded:!!l,loading:!!d,expanded:c(n,e),children:r,level:""}}}))}this.states.treeData=i,this.updateTableScrollY()},updateTreeExpandKeys:function(e){this.states.expandRowKeys=e,this.updateTreeData()},toggleTreeExpansion:function(e,t){this.assertRowKey();var n=this.states,i=n.rowKey,r=n.treeData,o=Zi(e,i),a=o&&r[o];if(o&&a&&"expanded"in a){var s=a.expanded;t="undefined"===typeof t?!a.expanded:t,r[o].expanded=t,s!==t&&this.table.$emit("expand-change",e,t),this.updateTableScrollY()}},loadOrToggle:function(e){this.assertRowKey();var t=this.states,n=t.lazy,i=t.treeData,r=t.rowKey,o=Zi(e,r),a=i[o];n&&a&&"loaded"in a&&!a.loaded?this.loadData(e,o,a):this.toggleTreeExpansion(e)},loadData:function(e,t,n){var i=this,r=this.table.load,o=this.states.treeData;r&&!o[t].loaded&&(o[t].loading=!0,r(e,n,(function(n){if(!Array.isArray(n))throw new Error("[ElTable] data must be an array");var r=i.states,o=r.lazyTreeNodeMap,a=r.treeData;a[t].loading=!1,a[t].loaded=!0,a[t].expanded=!0,n.length&&i.$set(o,t,n),i.table.$emit("expand-change",e,!0)})))}}},cr=function(e,t){var n=t.sortingColumn;return n&&"string"!==typeof n.sortable?qi(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy):e},hr=function e(t){var n=[];return t.forEach((function(t){t.children?n.push.apply(n,e(t.children)):n.push(t)})),n},dr=Vi.a.extend({data:function(){return{states:{rowKey:null,data:[],isComplex:!1,_columns:[],originColumns:[],columns:[],fixedColumns:[],rightFixedColumns:[],leafColumns:[],fixedLeafColumns:[],rightFixedLeafColumns:[],leafColumnsLength:0,fixedLeafColumnsLength:0,rightFixedLeafColumnsLength:0,isAllSelected:!1,selection:[],reserveSelection:!1,selectOnIndeterminate:!1,selectable:null,filters:{},filteredData:null,sortingColumn:null,sortProp:null,sortOrder:null,hoverRow:null}}},mixins:[ar,sr,ur],methods:{assertRowKey:function(){var e=this.states.rowKey;if(!e)throw new Error("[ElTable] prop row-key is required")},updateColumns:function(){var e=this.states,t=e._columns||[];e.fixedColumns=t.filter((function(e){return!0===e.fixed||"left"===e.fixed})),e.rightFixedColumns=t.filter((function(e){return"right"===e.fixed})),e.fixedColumns.length>0&&t[0]&&"selection"===t[0].type&&!t[0].fixed&&(t[0].fixed=!0,e.fixedColumns.unshift(t[0]));var n=t.filter((function(e){return!e.fixed}));e.originColumns=[].concat(e.fixedColumns).concat(n).concat(e.rightFixedColumns);var i=hr(n),r=hr(e.fixedColumns),o=hr(e.rightFixedColumns);e.leafColumnsLength=i.length,e.fixedLeafColumnsLength=r.length,e.rightFixedLeafColumnsLength=o.length,e.columns=[].concat(r).concat(i).concat(o),e.isComplex=e.fixedColumns.length>0||e.rightFixedColumns.length>0},scheduleLayout:function(e){e&&this.updateColumns(),this.table.debouncedUpdateLayout()},isSelected:function(e){var t=this.states.selection,n=void 0===t?[]:t;return n.indexOf(e)>-1},clearSelection:function(){var e=this.states;e.isAllSelected=!1;var t=e.selection;t.length&&(e.selection=[],this.table.$emit("selection-change",[]))},cleanSelection:function(){var e=this.states,t=e.data,n=e.rowKey,i=e.selection,r=void 0;if(n){r=[];var o=Ki(i,n),a=Ki(t,n);for(var s in o)o.hasOwnProperty(s)&&!a[s]&&r.push(o[s].row)}else r=i.filter((function(e){return-1===t.indexOf(e)}));if(r.length){var l=i.filter((function(e){return-1===r.indexOf(e)}));e.selection=l,this.table.$emit("selection-change",l.slice())}},toggleRowSelection:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=rr(this.states.selection,e,t);if(i){var r=(this.states.selection||[]).slice();n&&this.table.$emit("select",r,e),this.table.$emit("selection-change",r)}},_toggleAllSelection:function(){var e=this.states,t=e.data,n=void 0===t?[]:t,i=e.selection,r=e.selectOnIndeterminate?!e.isAllSelected:!(e.isAllSelected||i.length);e.isAllSelected=r;var o=!1;n.forEach((function(t,n){e.selectable?e.selectable.call(null,t,n)&&rr(i,t,r)&&(o=!0):rr(i,t,r)&&(o=!0)})),o&&this.table.$emit("selection-change",i?i.slice():[]),this.table.$emit("select-all",i)},updateSelectionByRowKey:function(){var e=this.states,t=e.selection,n=e.rowKey,i=e.data,r=Ki(t,n);i.forEach((function(e){var i=Zi(e,n),o=r[i];o&&(t[o.index]=e)}))},updateAllSelected:function(){var e=this.states,t=e.selection,n=e.rowKey,i=e.selectable,r=e.data||[];if(0!==r.length){var o=void 0;n&&(o=Ki(t,n));for(var a=function(e){return o?!!o[Zi(e,n)]:-1!==t.indexOf(e)},s=!0,l=0,u=0,c=r.length;u<c;u++){var h=r[u],d=i&&i.call(null,h,u);if(a(h))l++;else if(!i||d){s=!1;break}}0===l&&(s=!1),e.isAllSelected=s}else e.isAllSelected=!1},updateFilters:function(e,t){Array.isArray(e)||(e=[e]);var n=this.states,i={};return e.forEach((function(e){n.filters[e.id]=t,i[e.columnKey||e.id]=t})),i},updateSort:function(e,t,n){this.states.sortingColumn&&this.states.sortingColumn!==e&&(this.states.sortingColumn.order=null),this.states.sortingColumn=e,this.states.sortProp=t,this.states.sortOrder=n},execFilter:function(){var e=this,t=this.states,n=t._data,i=t.filters,r=n;Object.keys(i).forEach((function(n){var i=t.filters[n];if(i&&0!==i.length){var o=Ui(e.states,n);o&&o.filterMethod&&(r=r.filter((function(e){return i.some((function(t){return o.filterMethod.call(null,t,e,o)}))})))}})),t.filteredData=r},execSort:function(){var e=this.states;e.data=cr(e.filteredData,e)},execQuery:function(e){e&&e.filter||this.execFilter(),this.execSort()},clearFilter:function(e){var t=this.states,n=this.table.$refs,i=n.tableHeader,r=n.fixedTableHeader,o=n.rightFixedTableHeader,a={};i&&(a=kt()(a,i.filterPanels)),r&&(a=kt()(a,r.filterPanels)),o&&(a=kt()(a,o.filterPanels));var s=Object.keys(a);if(s.length)if("string"===typeof e&&(e=[e]),Array.isArray(e)){var l=e.map((function(e){return Yi(t,e)}));s.forEach((function(e){var t=l.find((function(t){return t.id===e}));t&&(a[e].filteredValue=[])})),this.commit("filterChange",{column:l,values:[],silent:!0,multi:!0})}else s.forEach((function(e){a[e].filteredValue=[]})),t.filters={},this.commit("filterChange",{column:{},values:[],silent:!0})},clearSort:function(){var e=this.states;e.sortingColumn&&(this.updateSort(null,null,null),this.commit("changeSortCondition",{silent:!0}))},setExpandRowKeysAdapter:function(e){this.setExpandRowKeys(e),this.updateTreeExpandKeys(e)},toggleRowExpansionAdapter:function(e,t){var n=this.states.columns.some((function(e){var t=e.type;return"expand"===t}));n?this.toggleRowExpansion(e,t):this.toggleTreeExpansion(e,t)}}});dr.prototype.mutations={setData:function(e,t){var n=e._data!==t;e._data=t,this.execQuery(),this.updateCurrentRowData(),this.updateExpandRows(),e.reserveSelection?(this.assertRowKey(),this.updateSelectionByRowKey()):n?this.clearSelection():this.cleanSelection(),this.updateAllSelected(),this.updateTableScrollY()},insertColumn:function(e,t,n,i){var r=e._columns;i&&(r=i.children,r||(r=i.children=[])),"undefined"!==typeof n?r.splice(n,0,t):r.push(t),"selection"===t.type&&(e.selectable=t.selectable,e.reserveSelection=t.reserveSelection),this.table.$ready&&(this.updateColumns(),this.scheduleLayout())},removeColumn:function(e,t,n){var i=e._columns;n&&(i=n.children,i||(i=n.children=[])),i&&i.splice(i.indexOf(t),1),this.table.$ready&&(this.updateColumns(),this.scheduleLayout())},sort:function(e,t){var n=t.prop,i=t.order,r=t.init;if(n){var o=Object(y["arrayFind"])(e.columns,(function(e){return e.property===n}));o&&(o.order=i,this.updateSort(o,n,i),this.commit("changeSortCondition",{init:r}))}},changeSortCondition:function(e,t){var n=e.sortingColumn,i=e.sortProp,r=e.sortOrder;null===r&&(e.sortingColumn=null,e.sortProp=null);var o={filter:!0};this.execQuery(o),t&&(t.silent||t.init)||this.table.$emit("sort-change",{column:n,prop:i,order:r}),this.updateTableScrollY()},filterChange:function(e,t){var n=t.column,i=t.values,r=t.silent,o=this.updateFilters(n,i);this.execQuery(),r||this.table.$emit("filter-change",o),this.updateTableScrollY()},toggleAllSelection:function(){this.toggleAllSelection()},rowSelectedChanged:function(e,t){this.toggleRowSelection(t),this.updateAllSelected()},setHoverRow:function(e,t){e.hoverRow=t},setCurrentRow:function(e,t){this.updateCurrentRow(t)}},dr.prototype.commit=function(e){var t=this.mutations;if(!t[e])throw new Error("Action not found: "+e);for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t[e].apply(this,[this.states].concat(i))},dr.prototype.updateTableScrollY=function(){Vi.a.nextTick(this.table.updateScrollY)};var fr=dr;function pr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Table is required.");var n=new fr;return n.table=e,n.toggleAllSelection=z()(10,n._toggleAllSelection),Object.keys(t).forEach((function(e){n.states[e]=t[e]})),n}function gr(e){var t={};return Object.keys(e).forEach((function(n){var i=e[n],r=void 0;"string"===typeof i?r=function(){return this.store.states[i]}:"function"===typeof i?r=function(){return i.call(this,this.store.states)}:console.error("invalid value type"),r&&(t[n]=r)})),t}var mr=n(31),vr=n.n(mr);function yr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var br=function(){function e(t){for(var n in yr(this,e),this.observers=[],this.table=null,this.store=null,this.columns=null,this.fit=!0,this.showHeader=!0,this.height=null,this.scrollX=!1,this.scrollY=!1,this.bodyWidth=null,this.fixedWidth=null,this.rightFixedWidth=null,this.tableHeight=null,this.headerHeight=44,this.appendHeight=0,this.footerHeight=44,this.viewportHeight=null,this.bodyHeight=null,this.fixedBodyHeight=null,this.gutterWidth=vr()(),t)t.hasOwnProperty(n)&&(this[n]=t[n]);if(!this.table)throw new Error("table is required for Table Layout");if(!this.store)throw new Error("store is required for Table Layout")}return e.prototype.updateScrollY=function(){var e=this.height;if(null===e)return!1;var t=this.table.bodyWrapper;if(this.table.$el&&t){var n=t.querySelector(".el-table__body"),i=this.scrollY,r=n.offsetHeight>this.bodyHeight;return this.scrollY=r,i!==r}return!1},e.prototype.setHeight=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"height";if(!Vi.a.prototype.$isServer){var i=this.table.$el;if(e=nr(e),this.height=e,!i&&(e||0===e))return Vi.a.nextTick((function(){return t.setHeight(e,n)}));"number"===typeof e?(i.style[n]=e+"px",this.updateElsHeight()):"string"===typeof e&&(i.style[n]=e,this.updateElsHeight())}},e.prototype.setMaxHeight=function(e){this.setHeight(e,"max-height")},e.prototype.getFlattenColumns=function(){var e=[],t=this.table.columns;return t.forEach((function(t){t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)})),e},e.prototype.updateElsHeight=function(){var e=this;if(!this.table.$ready)return Vi.a.nextTick((function(){return e.updateElsHeight()}));var t=this.table.$refs,n=t.headerWrapper,i=t.appendWrapper,r=t.footerWrapper;if(this.appendHeight=i?i.offsetHeight:0,!this.showHeader||n){var o=n?n.querySelector(".el-table__header tr"):null,a=this.headerDisplayNone(o),s=this.headerHeight=this.showHeader?n.offsetHeight:0;if(this.showHeader&&!a&&n.offsetWidth>0&&(this.table.columns||[]).length>0&&s<2)return Vi.a.nextTick((function(){return e.updateElsHeight()}));var l=this.tableHeight=this.table.$el.clientHeight,u=this.footerHeight=r?r.offsetHeight:0;null!==this.height&&(this.bodyHeight=l-s-u+(r?1:0)),this.fixedBodyHeight=this.scrollX?this.bodyHeight-this.gutterWidth:this.bodyHeight;var c=!(this.store.states.data&&this.store.states.data.length);this.viewportHeight=this.scrollX?l-(c?0:this.gutterWidth):l,this.updateScrollY(),this.notifyObservers("scrollable")}},e.prototype.headerDisplayNone=function(e){if(!e)return!0;var t=e;while("DIV"!==t.tagName){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1},e.prototype.updateColumnsWidth=function(){if(!Vi.a.prototype.$isServer){var e=this.fit,t=this.table.$el.clientWidth,n=0,i=this.getFlattenColumns(),r=i.filter((function(e){return"number"!==typeof e.width}));if(i.forEach((function(e){"number"===typeof e.width&&e.realWidth&&(e.realWidth=null)})),r.length>0&&e){i.forEach((function(e){n+=e.width||e.minWidth||80}));var o=this.scrollY?this.gutterWidth:0;if(n<=t-o){this.scrollX=!1;var a=t-o-n;if(1===r.length)r[0].realWidth=(r[0].minWidth||80)+a;else{var s=r.reduce((function(e,t){return e+(t.minWidth||80)}),0),l=a/s,u=0;r.forEach((function(e,t){if(0!==t){var n=Math.floor((e.minWidth||80)*l);u+=n,e.realWidth=(e.minWidth||80)+n}})),r[0].realWidth=(r[0].minWidth||80)+a-u}}else this.scrollX=!0,r.forEach((function(e){e.realWidth=e.minWidth}));this.bodyWidth=Math.max(n,t),this.table.resizeState.width=this.bodyWidth}else i.forEach((function(e){e.width||e.minWidth?e.realWidth=e.width||e.minWidth:e.realWidth=80,n+=e.realWidth})),this.scrollX=n>t,this.bodyWidth=n;var c=this.store.states.fixedColumns;if(c.length>0){var h=0;c.forEach((function(e){h+=e.realWidth||e.width})),this.fixedWidth=h}var d=this.store.states.rightFixedColumns;if(d.length>0){var f=0;d.forEach((function(e){f+=e.realWidth||e.width})),this.rightFixedWidth=f}this.notifyObservers("columns")}},e.prototype.addObserver=function(e){this.observers.push(e)},e.prototype.removeObserver=function(e){var t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)},e.prototype.notifyObservers=function(e){var t=this,n=this.observers;n.forEach((function(n){switch(e){case"columns":n.onColumnsChange(t);break;case"scrollable":n.onScrollableChange(t);break;default:throw new Error("Table Layout don't have event "+e+".")}}))},e}(),xr=br,_r={created:function(){this.tableLayout.addObserver(this)},destroyed:function(){this.tableLayout.removeObserver(this)},computed:{tableLayout:function(){var e=this.layout;if(!e&&this.table&&(e=this.table.layout),!e)throw new Error("Can not find table layout.");return e}},mounted:function(){this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout)},updated:function(){this.__updated__||(this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout),this.__updated__=!0)},methods:{onColumnsChange:function(e){var t=this.$el.querySelectorAll("colgroup > col");if(t.length){var n=e.getFlattenColumns(),i={};n.forEach((function(e){i[e.id]=e}));for(var r=0,o=t.length;r<o;r++){var a=t[r],s=a.getAttribute("name"),l=i[s];l&&a.setAttribute("width",l.realWidth||l.width)}}},onScrollableChange:function(e){for(var t=this.$el.querySelectorAll("colgroup > col[name=gutter]"),n=0,i=t.length;n<i;n++){var r=t[n];r.setAttribute("width",e.scrollY?e.gutterWidth:"0")}for(var o=this.$el.querySelectorAll("th.gutter"),a=0,s=o.length;a<s;a++){var l=o[a];l.style.width=e.scrollY?e.gutterWidth+"px":"0",l.style.display=e.scrollY?"":"none"}}}},wr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Cr={name:"ElTableRow",props:["columns","row","index","isSelected","isExpanded","store","context","firstDefaultColumnIndex","treeRowData","treeIndent","columnsHidden","getSpan","getColspanRealWidth","getCellStyle","getCellClass","handleCellMouseLeave","handleCellMouseEnter","fixed"],components:{ElCheckbox:Li.a},render:function(){var e=this,t=arguments[0],n=this.columns,i=this.row,r=this.index,o=this.store,a=this.context,s=this.firstDefaultColumnIndex,l=this.treeRowData,u=this.treeIndent,c=this.columnsHidden,h=void 0===c?[]:c,d=this.isSelected,f=this.isExpanded;return t("tr",[n.map((function(c,p){var g=e.getSpan(i,c,r,p),m=g.rowspan,v=g.colspan;if(!m||!v)return null;var y=wr({},c);y.realWidth=e.getColspanRealWidth(n,v,p);var b={store:o,isSelected:d,isExpanded:f,_self:a,column:y,row:i,$index:r};return p===s&&l&&(b.treeNode={indent:l.level*u,level:l.level},"boolean"===typeof l.expanded&&(b.treeNode.expanded=l.expanded,"loading"in l&&(b.treeNode.loading=l.loading),"noLazyChildren"in l&&(b.treeNode.noLazyChildren=l.noLazyChildren))),t("td",{style:e.getCellStyle(r,p,i,c),class:e.getCellClass(r,p,i,c),attrs:{rowspan:m,colspan:v},on:{mouseenter:function(t){return e.handleCellMouseEnter(t,i)},mouseleave:e.handleCellMouseLeave}},[c.renderCell.call(e._renderProxy,e.$createElement,b,h[p])])}))])}},Sr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Mr={name:"ElTableBody",mixins:[_r],components:{ElCheckbox:Li.a,ElTooltip:rt.a,TableRow:Cr},props:{store:{required:!0},stripe:Boolean,context:{},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:String,highlight:Boolean},render:function(e){var t=this,n=this.data||[];return e("table",{class:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",[this.columns.map((function(t){return e("col",{attrs:{name:t.id},key:t.id})}))]),e("tbody",[n.reduce((function(e,n){return e.concat(t.wrappedRowRender(n,e.length))}),[]),e("el-tooltip",{attrs:{effect:this.table.tooltipEffect,placement:"top",content:this.tooltipContent},ref:"tooltip"})])])},computed:kr({table:function(){return this.$parent}},gr({data:"data",columns:"columns",treeIndent:"indent",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(e){return e.columns.length},leftFixedCount:function(e){return e.fixedColumns.length},rightFixedCount:function(e){return e.rightFixedColumns.length},hasExpandColumn:function(e){return e.columns.some((function(e){var t=e.type;return"expand"===t}))}}),{columnsHidden:function(){var e=this;return this.columns.map((function(t,n){return e.isColumnHidden(n)}))},firstDefaultColumnIndex:function(){return Object(y["arrayFindIndex"])(this.columns,(function(e){var t=e.type;return"default"===t}))}}),watch:{"store.states.hoverRow":function(e,t){var n=this;if(this.store.states.isComplex&&!this.$isServer){var i=window.requestAnimationFrame;i||(i=function(e){return setTimeout(e,16)}),i((function(){var i=n.$el.querySelectorAll(".el-table__row"),r=i[t],o=i[e];r&&Object($e["removeClass"])(r,"hover-row"),o&&Object($e["addClass"])(o,"hover-row")}))}}},data:function(){return{tooltipContent:""}},created:function(){this.activateTooltip=z()(50,(function(e){return e.handleShowPopper()}))},methods:{getKeyOfRow:function(e,t){var n=this.table.rowKey;return n?Zi(e,n):t},isColumnHidden:function(e){return!0===this.fixed||"left"===this.fixed?e>=this.leftFixedLeafCount:"right"===this.fixed?e<this.columnsCount-this.rightFixedLeafCount:e<this.leftFixedLeafCount||e>=this.columnsCount-this.rightFixedLeafCount},getSpan:function(e,t,n,i){var r=1,o=1,a=this.table.spanMethod;if("function"===typeof a){var s=a({row:e,column:t,rowIndex:n,columnIndex:i});Array.isArray(s)?(r=s[0],o=s[1]):"object"===("undefined"===typeof s?"undefined":Sr(s))&&(r=s.rowspan,o=s.colspan)}return{rowspan:r,colspan:o}},getRowStyle:function(e,t){var n=this.table.rowStyle;return"function"===typeof n?n.call(null,{row:e,rowIndex:t}):n||null},getRowClass:function(e,t){var n=["el-table__row"];this.table.highlightCurrentRow&&e===this.store.states.currentRow&&n.push("current-row"),this.stripe&&t%2===1&&n.push("el-table__row--striped");var i=this.table.rowClassName;return"string"===typeof i?n.push(i):"function"===typeof i&&n.push(i.call(null,{row:e,rowIndex:t})),this.store.states.expandRows.indexOf(e)>-1&&n.push("expanded"),n},getCellStyle:function(e,t,n,i){var r=this.table.cellStyle;return"function"===typeof r?r.call(null,{rowIndex:e,columnIndex:t,row:n,column:i}):r},getCellClass:function(e,t,n,i){var r=[i.id,i.align,i.className];this.isColumnHidden(t)&&r.push("is-hidden");var o=this.table.cellClassName;return"string"===typeof o?r.push(o):"function"===typeof o&&r.push(o.call(null,{rowIndex:e,columnIndex:t,row:n,column:i})),r.push("el-table__cell"),r.join(" ")},getColspanRealWidth:function(e,t,n){if(t<1)return e[n].realWidth;var i=e.map((function(e){var t=e.realWidth;return t})).slice(n,n+t);return i.reduce((function(e,t){return e+t}),-1)},handleCellMouseEnter:function(e,t){var n=this.table,i=Wi(e);if(i){var r=Xi(n,i),o=n.hoverState={cell:i,column:r,row:t};n.$emit("cell-mouse-enter",o.row,o.column,o.cell,e)}var a=e.target.querySelector(".cell");if(Object($e["hasClass"])(a,"el-tooltip")&&a.childNodes.length){var s=document.createRange();s.setStart(a,0),s.setEnd(a,a.childNodes.length);var l=s.getBoundingClientRect().width,u=(parseInt(Object($e["getStyle"])(a,"paddingLeft"),10)||0)+(parseInt(Object($e["getStyle"])(a,"paddingRight"),10)||0);if((l+u>a.offsetWidth||a.scrollWidth>a.offsetWidth)&&this.$refs.tooltip){var c=this.$refs.tooltip;this.tooltipContent=i.innerText||i.textContent,c.referenceElm=i,c.$refs.popper&&(c.$refs.popper.style.display="none"),c.doDestroy(),c.setExpectedState(!0),this.activateTooltip(c)}}},handleCellMouseLeave:function(e){var t=this.$refs.tooltip;t&&(t.setExpectedState(!1),t.handleClosePopper());var n=Wi(e);if(n){var i=this.table.hoverState||{};this.table.$emit("cell-mouse-leave",i.row,i.column,i.cell,e)}},handleMouseEnter:z()(30,(function(e){this.store.commit("setHoverRow",e)})),handleMouseLeave:z()(30,(function(){this.store.commit("setHoverRow",null)})),handleContextMenu:function(e,t){this.handleEvent(e,t,"contextmenu")},handleDoubleClick:function(e,t){this.handleEvent(e,t,"dblclick")},handleClick:function(e,t){this.store.commit("setCurrentRow",t),this.handleEvent(e,t,"click")},handleEvent:function(e,t,n){var i=this.table,r=Wi(e),o=void 0;r&&(o=Xi(i,r),o&&i.$emit("cell-"+n,t,o,r,e)),i.$emit("row-"+n,t,o,e)},rowRender:function(e,t,n){var i=this,r=this.$createElement,o=this.treeIndent,a=this.columns,s=this.firstDefaultColumnIndex,l=this.getRowClass(e,t),u=!0;n&&(l.push("el-table__row--level-"+n.level),u=n.display);var c=u?null:{display:"none"};return r(Cr,{style:[c,this.getRowStyle(e,t)],class:l,key:this.getKeyOfRow(e,t),nativeOn:{dblclick:function(t){return i.handleDoubleClick(t,e)},click:function(t){return i.handleClick(t,e)},contextmenu:function(t){return i.handleContextMenu(t,e)},mouseenter:function(e){return i.handleMouseEnter(t)},mouseleave:this.handleMouseLeave},attrs:{columns:a,row:e,index:t,store:this.store,context:this.context||this.table.$vnode.context,firstDefaultColumnIndex:s,treeRowData:n,treeIndent:o,columnsHidden:this.columnsHidden,getSpan:this.getSpan,getColspanRealWidth:this.getColspanRealWidth,getCellStyle:this.getCellStyle,getCellClass:this.getCellClass,handleCellMouseEnter:this.handleCellMouseEnter,handleCellMouseLeave:this.handleCellMouseLeave,isSelected:this.store.isSelected(e),isExpanded:this.store.states.expandRows.indexOf(e)>-1,fixed:this.fixed}})},wrappedRowRender:function(e,t){var n=this,i=this.$createElement,r=this.store,o=r.isRowExpanded,a=r.assertRowKey,s=r.states,l=s.treeData,u=s.lazyTreeNodeMap,c=s.childrenColumnName,h=s.rowKey;if(this.hasExpandColumn&&o(e)){var d=this.table.renderExpanded,f=this.rowRender(e,t);return d?[[f,i("tr",{key:"expanded-row__"+f.key},[i("td",{attrs:{colspan:this.columnsCount},class:"el-table__cell el-table__expanded-cell"},[d(this.$createElement,{row:e,$index:t,store:this.store})])])]]:(console.error("[Element Error]renderExpanded is required."),f)}if(Object.keys(l).length){a();var p=Zi(e,h),g=l[p],m=null;g&&(m={expanded:g.expanded,level:g.level,display:!0},"boolean"===typeof g.lazy&&("boolean"===typeof g.loaded&&g.loaded&&(m.noLazyChildren=!(g.children&&g.children.length)),m.loading=g.loading));var v=[this.rowRender(e,t,m)];if(g){var y=0,b=function e(i,r){i&&i.length&&r&&i.forEach((function(i){var o={display:r.display&&r.expanded,level:r.level+1},a=Zi(i,h);if(void 0===a||null===a)throw new Error("for nested data item, row-key is required.");if(g=kr({},l[a]),g&&(o.expanded=g.expanded,g.level=g.level||o.level,g.display=!(!g.expanded||!o.display),"boolean"===typeof g.lazy&&("boolean"===typeof g.loaded&&g.loaded&&(o.noLazyChildren=!(g.children&&g.children.length)),o.loading=g.loading)),y++,v.push(n.rowRender(i,t+y,o)),g){var s=u[a]||i[c];e(s,g)}}))};g.display=!0;var x=u[p]||e[c];b(x,g)}return v}return this.rowRender(e,t)}}},Tr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"}},[e.multiple?n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[n("div",{staticClass:"el-table-filter__content"},[n("el-scrollbar",{attrs:{"wrap-class":"el-table-filter__wrap"}},[n("el-checkbox-group",{staticClass:"el-table-filter__checkbox-group",model:{value:e.filteredValue,callback:function(t){e.filteredValue=t},expression:"filteredValue"}},e._l(e.filters,(function(t){return n("el-checkbox",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.text))])})),1)],1)],1),n("div",{staticClass:"el-table-filter__bottom"},[n("button",{class:{"is-disabled":0===e.filteredValue.length},attrs:{disabled:0===e.filteredValue.length},on:{click:e.handleConfirm}},[e._v(e._s(e.t("el.table.confirmFilter")))]),n("button",{on:{click:e.handleReset}},[e._v(e._s(e.t("el.table.resetFilter")))])])]):n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[n("ul",{staticClass:"el-table-filter__list"},[n("li",{staticClass:"el-table-filter__list-item",class:{"is-active":void 0===e.filterValue||null===e.filterValue},on:{click:function(t){e.handleSelect(null)}}},[e._v(e._s(e.t("el.table.clearFilter")))]),e._l(e.filters,(function(t){return n("li",{key:t.value,staticClass:"el-table-filter__list-item",class:{"is-active":e.isActive(t)},attrs:{label:t.value},on:{click:function(n){e.handleSelect(t.value)}}},[e._v(e._s(t.text))])}))],2)])])},Er=[];Tr._withStripped=!0;var Dr=[];!Vi.a.prototype.$isServer&&document.addEventListener("click",(function(e){Dr.forEach((function(t){var n=e.target;t&&t.$el&&(n===t.$el||t.$el.contains(n)||t.handleOutsideClick&&t.handleOutsideClick(e))}))}));var Pr={open:function(e){e&&Dr.push(e)},close:function(e){var t=Dr.indexOf(e);-1!==t&&Dr.splice(e,1)}},Or=n(32),Ir=n.n(Or),Ar={name:"ElTableFilterPanel",mixins:[H.a,v.a],directives:{Clickoutside:B.a},components:{ElCheckbox:Li.a,ElCheckboxGroup:Ir.a,ElScrollbar:G.a},props:{placement:{type:String,default:"bottom-end"}},methods:{isActive:function(e){return e.value===this.filterValue},handleOutsideClick:function(){var e=this;setTimeout((function(){e.showPopper=!1}),16)},handleConfirm:function(){this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleReset:function(){this.filteredValue=[],this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleSelect:function(e){this.filterValue=e,"undefined"!==typeof e&&null!==e?this.confirmFilter(this.filteredValue):this.confirmFilter([]),this.handleOutsideClick()},confirmFilter:function(e){this.table.store.commit("filterChange",{column:this.column,values:e}),this.table.store.updateAllSelected()}},data:function(){return{table:null,cell:null,column:null}},computed:{filters:function(){return this.column&&this.column.filters},filterValue:{get:function(){return(this.column.filteredValue||[])[0]},set:function(e){this.filteredValue&&("undefined"!==typeof e&&null!==e?this.filteredValue.splice(0,1,e):this.filteredValue.splice(0,1))}},filteredValue:{get:function(){return this.column&&this.column.filteredValue||[]},set:function(e){this.column&&(this.column.filteredValue=e)}},multiple:function(){return!this.column||this.column.filterMultiple}},mounted:function(){var e=this;this.popperElm=this.$el,this.referenceElm=this.cell,this.table.bodyWrapper.addEventListener("scroll",(function(){e.updatePopper()})),this.$watch("showPopper",(function(t){e.column&&(e.column.filterOpened=t),t?Pr.open(e):Pr.close(e)}))},watch:{showPopper:function(e){!0===e&&parseInt(this.popperJS._popper.style.zIndex,10)<C["PopupManager"].zIndex&&(this.popperJS._popper.style.zIndex=C["PopupManager"].nextZIndex())}}},Lr=Ar,Nr=s(Lr,Tr,Er,!1,null,null,null);Nr.options.__file="packages/table/src/filter-panel.vue";var Rr=Nr.exports,zr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$r=function e(t){var n=[];return t.forEach((function(t){t.children?(n.push(t),n.push.apply(n,e(t.children))):n.push(t)})),n},Br=function(e){var t=1,n=function e(n,i){if(i&&(n.level=i.level+1,t<n.level&&(t=n.level)),n.children){var r=0;n.children.forEach((function(t){e(t,n),r+=t.colSpan})),n.colSpan=r}else n.colSpan=1};e.forEach((function(e){e.level=1,n(e)}));for(var i=[],r=0;r<t;r++)i.push([]);var o=$r(e);return o.forEach((function(e){e.children?e.rowSpan=1:e.rowSpan=t-e.level+1,i[e.level-1].push(e)})),i},Fr={name:"ElTableHeader",mixins:[_r],render:function(e){var t=this,n=this.store.states.originColumns,i=Br(n,this.columns),r=i.length>1;return r&&(this.$parent.isGroup=!0),e("table",{class:"el-table__header",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",[this.columns.map((function(t){return e("col",{attrs:{name:t.id},key:t.id})})),this.hasGutter?e("col",{attrs:{name:"gutter"}}):""]),e("thead",{class:[{"is-group":r,"has-gutter":this.hasGutter}]},[this._l(i,(function(n,i){return e("tr",{style:t.getHeaderRowStyle(i),class:t.getHeaderRowClass(i)},[n.map((function(r,o){return e("th",{attrs:{colspan:r.colSpan,rowspan:r.rowSpan},on:{mousemove:function(e){return t.handleMouseMove(e,r)},mouseout:t.handleMouseOut,mousedown:function(e){return t.handleMouseDown(e,r)},click:function(e){return t.handleHeaderClick(e,r)},contextmenu:function(e){return t.handleHeaderContextMenu(e,r)}},style:t.getHeaderCellStyle(i,o,n,r),class:t.getHeaderCellClass(i,o,n,r),key:r.id},[e("div",{class:["cell",r.filteredValue&&r.filteredValue.length>0?"highlight":"",r.labelClassName]},[r.renderHeader?r.renderHeader.call(t._renderProxy,e,{column:r,$index:o,store:t.store,_self:t.$parent.$vnode.context}):r.label,r.sortable?e("span",{class:"caret-wrapper",on:{click:function(e){return t.handleSortClick(e,r)}}},[e("i",{class:"sort-caret ascending",on:{click:function(e){return t.handleSortClick(e,r,"ascending")}}}),e("i",{class:"sort-caret descending",on:{click:function(e){return t.handleSortClick(e,r,"descending")}}})]):"",r.filterable?e("span",{class:"el-table__column-filter-trigger",on:{click:function(e){return t.handleFilterClick(e,r)}}},[e("i",{class:["el-icon-arrow-down",r.filterOpened?"el-icon-arrow-up":""]})]):""])])})),t.hasGutter?e("th",{class:"el-table__cell gutter"}):""])}))])])},props:{fixed:String,store:{required:!0},border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},components:{ElCheckbox:Li.a},computed:zr({table:function(){return this.$parent},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},gr({columns:"columns",isAllSelected:"isAllSelected",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(e){return e.columns.length},leftFixedCount:function(e){return e.fixedColumns.length},rightFixedCount:function(e){return e.rightFixedColumns.length}})),created:function(){this.filterPanels={}},mounted:function(){var e=this;this.$nextTick((function(){var t=e.defaultSort,n=t.prop,i=t.order,r=!0;e.store.commit("sort",{prop:n,order:i,init:r})}))},beforeDestroy:function(){var e=this.filterPanels;for(var t in e)e.hasOwnProperty(t)&&e[t]&&e[t].$destroy(!0)},methods:{isCellHidden:function(e,t){for(var n=0,i=0;i<e;i++)n+=t[i].colSpan;var r=n+t[e].colSpan-1;return!0===this.fixed||"left"===this.fixed?r>=this.leftFixedLeafCount:"right"===this.fixed?n<this.columnsCount-this.rightFixedLeafCount:r<this.leftFixedLeafCount||n>=this.columnsCount-this.rightFixedLeafCount},getHeaderRowStyle:function(e){var t=this.table.headerRowStyle;return"function"===typeof t?t.call(null,{rowIndex:e}):t},getHeaderRowClass:function(e){var t=[],n=this.table.headerRowClassName;return"string"===typeof n?t.push(n):"function"===typeof n&&t.push(n.call(null,{rowIndex:e})),t.join(" ")},getHeaderCellStyle:function(e,t,n,i){var r=this.table.headerCellStyle;return"function"===typeof r?r.call(null,{rowIndex:e,columnIndex:t,row:n,column:i}):r},getHeaderCellClass:function(e,t,n,i){var r=[i.id,i.order,i.headerAlign,i.className,i.labelClassName];0===e&&this.isCellHidden(t,n)&&r.push("is-hidden"),i.children||r.push("is-leaf"),i.sortable&&r.push("is-sortable");var o=this.table.headerCellClassName;return"string"===typeof o?r.push(o):"function"===typeof o&&r.push(o.call(null,{rowIndex:e,columnIndex:t,row:n,column:i})),r.push("el-table__cell"),r.join(" ")},toggleAllSelection:function(){this.store.commit("toggleAllSelection")},handleFilterClick:function(e,t){e.stopPropagation();var n=e.target,i="TH"===n.tagName?n:n.parentNode;if(!Object($e["hasClass"])(i,"noclick")){i=i.querySelector(".el-table__column-filter-trigger")||i;var r=this.$parent,o=this.filterPanels[t.id];o&&t.filterOpened?o.showPopper=!1:(o||(o=new Vi.a(Rr),this.filterPanels[t.id]=o,t.filterPlacement&&(o.placement=t.filterPlacement),o.table=r,o.cell=i,o.column=t,!this.$isServer&&o.$mount(document.createElement("div"))),setTimeout((function(){o.showPopper=!0}),16))}},handleHeaderClick:function(e,t){!t.filters&&t.sortable?this.handleSortClick(e,t):t.filterable&&!t.sortable&&this.handleFilterClick(e,t),this.$parent.$emit("header-click",t,e)},handleHeaderContextMenu:function(e,t){this.$parent.$emit("header-contextmenu",t,e)},handleMouseDown:function(e,t){var n=this;if(!this.$isServer&&!(t.children&&t.children.length>0)&&this.draggingColumn&&this.border){this.dragging=!0,this.$parent.resizeProxyVisible=!0;var i=this.$parent,r=i.$el,o=r.getBoundingClientRect().left,a=this.$el.querySelector("th."+t.id),s=a.getBoundingClientRect(),l=s.left-o+30;Object($e["addClass"])(a,"noclick"),this.dragState={startMouseLeft:e.clientX,startLeft:s.right-o,startColumnLeft:s.left-o,tableLeft:o};var u=i.$refs.resizeProxy;u.style.left=this.dragState.startLeft+"px",document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var c=function(e){var t=e.clientX-n.dragState.startMouseLeft,i=n.dragState.startLeft+t;u.style.left=Math.max(l,i)+"px"},h=function r(){if(n.dragging){var o=n.dragState,s=o.startColumnLeft,l=o.startLeft,h=parseInt(u.style.left,10),d=h-s;t.width=t.realWidth=d,i.$emit("header-dragend",t.width,l-s,t,e),n.store.scheduleLayout(),document.body.style.cursor="",n.dragging=!1,n.draggingColumn=null,n.dragState={},i.resizeProxyVisible=!1}document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",r),document.onselectstart=null,document.ondragstart=null,setTimeout((function(){Object($e["removeClass"])(a,"noclick")}),0)};document.addEventListener("mousemove",c),document.addEventListener("mouseup",h)}},handleMouseMove:function(e,t){if(!(t.children&&t.children.length>0)){var n=e.target;while(n&&"TH"!==n.tagName)n=n.parentNode;if(t&&t.resizable&&!this.dragging&&this.border){var i=n.getBoundingClientRect(),r=document.body.style;i.width>12&&i.right-e.pageX<8?(r.cursor="col-resize",Object($e["hasClass"])(n,"is-sortable")&&(n.style.cursor="col-resize"),this.draggingColumn=t):this.dragging||(r.cursor="",Object($e["hasClass"])(n,"is-sortable")&&(n.style.cursor="pointer"),this.draggingColumn=null)}}},handleMouseOut:function(){this.$isServer||(document.body.style.cursor="")},toggleOrder:function(e){var t=e.order,n=e.sortOrders;if(""===t)return n[0];var i=n.indexOf(t||null);return n[i>n.length-2?0:i+1]},handleSortClick:function(e,t,n){e.stopPropagation();var i=t.order===n?null:n||this.toggleOrder(t),r=e.target;while(r&&"TH"!==r.tagName)r=r.parentNode;if(r&&"TH"===r.tagName&&Object($e["hasClass"])(r,"noclick"))Object($e["removeClass"])(r,"noclick");else if(t.sortable){var o=this.store.states,a=o.sortProp,s=void 0,l=o.sortingColumn;(l!==t||l===t&&null===l.order)&&(l&&(l.order=null),o.sortingColumn=t,a=t.property),s=t.order=i||null,o.sortProp=a,o.sortOrder=s,this.store.commit("changeSortCondition")}}},data:function(){return{draggingColumn:null,dragging:!1,dragState:{}}}},jr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Vr={name:"ElTableFooter",mixins:[_r],render:function(e){var t=this,n=[];return this.summaryMethod?n=this.summaryMethod({columns:this.columns,data:this.store.states.data}):this.columns.forEach((function(e,i){if(0!==i){var r=t.store.states.data.map((function(t){return Number(t[e.property])})),o=[],a=!0;r.forEach((function(e){if(!isNaN(e)){a=!1;var t=(""+e).split(".")[1];o.push(t?t.length:0)}}));var s=Math.max.apply(null,o);n[i]=a?"":r.reduce((function(e,t){var n=Number(t);return isNaN(n)?e:parseFloat((e+t).toFixed(Math.min(s,20)))}),0)}else n[i]=t.sumText})),e("table",{class:"el-table__footer",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",[this.columns.map((function(t){return e("col",{attrs:{name:t.id},key:t.id})})),this.hasGutter?e("col",{attrs:{name:"gutter"}}):""]),e("tbody",{class:[{"has-gutter":this.hasGutter}]},[e("tr",[this.columns.map((function(i,r){return e("td",{key:r,attrs:{colspan:i.colSpan,rowspan:i.rowSpan},class:[].concat(t.getRowClasses(i,r),["el-table__cell"])},[e("div",{class:["cell",i.labelClassName]},[n[r]])])})),this.hasGutter?e("th",{class:"el-table__cell gutter"}):""])])])},props:{fixed:String,store:{required:!0},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},computed:jr({table:function(){return this.$parent},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},gr({columns:"columns",isAllSelected:"isAllSelected",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(e){return e.columns.length},leftFixedCount:function(e){return e.fixedColumns.length},rightFixedCount:function(e){return e.rightFixedColumns.length}})),methods:{isCellHidden:function(e,t,n){if(!0===this.fixed||"left"===this.fixed)return e>=this.leftFixedLeafCount;if("right"===this.fixed){for(var i=0,r=0;r<e;r++)i+=t[r].colSpan;return i<this.columnsCount-this.rightFixedLeafCount}return!(this.fixed||!n.fixed)||(e<this.leftFixedCount||e>=this.columnsCount-this.rightFixedCount)},getRowClasses:function(e,t){var n=[e.id,e.align,e.labelClassName];return e.className&&n.push(e.className),this.isCellHidden(t,this.columns,e)&&n.push("is-hidden"),e.children||n.push("is-leaf"),n}}},Hr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Wr=1,Gr={name:"ElTable",mixins:[v.a,M.a],directives:{Mousewheel:Fi},props:{data:{type:Array,default:function(){return[]}},size:String,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],context:{},showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:function(){return{hasChildren:"hasChildren",children:"children"}}},lazy:Boolean,load:Function},components:{TableHeader:Fr,TableFooter:Vr,TableBody:Mr,ElCheckbox:Li.a},methods:{getMigratingConfig:function(){return{events:{expand:"expand is renamed to expand-change"}}},setCurrentRow:function(e){this.store.commit("setCurrentRow",e)},toggleRowSelection:function(e,t){this.store.toggleRowSelection(e,t,!1),this.store.updateAllSelected()},toggleRowExpansion:function(e,t){this.store.toggleRowExpansionAdapter(e,t)},clearSelection:function(){this.store.clearSelection()},clearFilter:function(e){this.store.clearFilter(e)},clearSort:function(){this.store.clearSort()},handleMouseLeave:function(){this.store.commit("setHoverRow",null),this.hoverState&&(this.hoverState=null)},updateScrollY:function(){var e=this.layout.updateScrollY();e&&(this.layout.notifyObservers("scrollable"),this.layout.updateColumnsWidth())},handleFixedMousewheel:function(e,t){var n=this.bodyWrapper;if(Math.abs(t.spinY)>0){var i=n.scrollTop;t.pixelY<0&&0!==i&&e.preventDefault(),t.pixelY>0&&n.scrollHeight-n.clientHeight>i&&e.preventDefault(),n.scrollTop+=Math.ceil(t.pixelY/5)}else n.scrollLeft+=Math.ceil(t.pixelX/5)},handleHeaderFooterMousewheel:function(e,t){var n=t.pixelX,i=t.pixelY;Math.abs(n)>=Math.abs(i)&&(this.bodyWrapper.scrollLeft+=t.pixelX/5)},syncPostion:function(){var e=this.bodyWrapper,t=e.scrollLeft,n=e.scrollTop,i=e.offsetWidth,r=e.scrollWidth,o=this.$refs,a=o.headerWrapper,s=o.footerWrapper,l=o.fixedBodyWrapper,u=o.rightFixedBodyWrapper;a&&(a.scrollLeft=t),s&&(s.scrollLeft=t),l&&(l.scrollTop=n),u&&(u.scrollTop=n);var c=r-i-1;this.scrollPosition=t>=c?"right":0===t?"left":"middle"},throttleSyncPostion:Object(Ni["throttle"])(16,(function(){this.syncPostion()})),onScroll:function(e){var t=window.requestAnimationFrame;t?t(this.syncPostion):this.throttleSyncPostion()},bindEvents:function(){this.bodyWrapper.addEventListener("scroll",this.onScroll,{passive:!0}),this.fit&&Object(ei["addResizeListener"])(this.$el,this.resizeListener)},unbindEvents:function(){this.bodyWrapper.removeEventListener("scroll",this.onScroll,{passive:!0}),this.fit&&Object(ei["removeResizeListener"])(this.$el,this.resizeListener)},resizeListener:function(){if(this.$ready){var e=!1,t=this.$el,n=this.resizeState,i=n.width,r=n.height,o=t.offsetWidth;i!==o&&(e=!0);var a=t.offsetHeight;(this.height||this.shouldUpdateHeight)&&r!==a&&(e=!0),e&&(this.resizeState.width=o,this.resizeState.height=a,this.doLayout())}},doLayout:function(){this.shouldUpdateHeight&&this.layout.updateElsHeight(),this.layout.updateColumnsWidth()},sort:function(e,t){this.store.commit("sort",{prop:e,order:t})},toggleAllSelection:function(){this.store.commit("toggleAllSelection")}},computed:Hr({tableSize:function(){return this.size||(this.$ELEMENT||{}).size},bodyWrapper:function(){return this.$refs.bodyWrapper},shouldUpdateHeight:function(){return this.height||this.maxHeight||this.fixedColumns.length>0||this.rightFixedColumns.length>0},bodyWidth:function(){var e=this.layout,t=e.bodyWidth,n=e.scrollY,i=e.gutterWidth;return t?t-(n?i:0)+"px":""},bodyHeight:function(){var e=this.layout,t=e.headerHeight,n=void 0===t?0:t,i=e.bodyHeight,r=e.footerHeight,o=void 0===r?0:r;if(this.height)return{height:i?i+"px":""};if(this.maxHeight){var a=nr(this.maxHeight);if("number"===typeof a)return{"max-height":a-o-(this.showHeader?n:0)+"px"}}return{}},fixedBodyHeight:function(){if(this.height)return{height:this.layout.fixedBodyHeight?this.layout.fixedBodyHeight+"px":""};if(this.maxHeight){var e=nr(this.maxHeight);if("number"===typeof e)return e=this.layout.scrollX?e-this.layout.gutterWidth:e,this.showHeader&&(e-=this.layout.headerHeight),e-=this.layout.footerHeight,{"max-height":e+"px"}}return{}},fixedHeight:function(){return this.maxHeight?this.showSummary?{bottom:0}:{bottom:this.layout.scrollX&&this.data.length?this.layout.gutterWidth+"px":""}:this.showSummary?{height:this.layout.tableHeight?this.layout.tableHeight+"px":""}:{height:this.layout.viewportHeight?this.layout.viewportHeight+"px":""}},emptyBlockStyle:function(){if(this.data&&this.data.length)return null;var e="100%";return this.layout.appendHeight&&(e="calc(100% - "+this.layout.appendHeight+"px)"),{width:this.bodyWidth,height:e}}},gr({selection:"selection",columns:"columns",tableData:"data",fixedColumns:"fixedColumns",rightFixedColumns:"rightFixedColumns"})),watch:{height:{immediate:!0,handler:function(e){this.layout.setHeight(e)}},maxHeight:{immediate:!0,handler:function(e){this.layout.setMaxHeight(e)}},currentRowKey:{immediate:!0,handler:function(e){this.rowKey&&this.store.setCurrentRowKey(e)}},data:{immediate:!0,handler:function(e){this.store.commit("setData",e)}},expandRowKeys:{immediate:!0,handler:function(e){e&&this.store.setExpandRowKeysAdapter(e)}}},created:function(){var e=this;this.tableId="el-table_"+Wr++,this.debouncedUpdateLayout=Object(Ni["debounce"])(50,(function(){return e.doLayout()}))},mounted:function(){var e=this;this.bindEvents(),this.store.updateColumns(),this.doLayout(),this.resizeState={width:this.$el.offsetWidth,height:this.$el.offsetHeight},this.store.states.columns.forEach((function(t){t.filteredValue&&t.filteredValue.length&&e.store.commit("filterChange",{column:t,values:t.filteredValue,silent:!0})})),this.$ready=!0},destroyed:function(){this.unbindEvents()},data:function(){var e=this.treeProps,t=e.hasChildren,n=void 0===t?"hasChildren":t,i=e.children,r=void 0===i?"children":i;this.store=pr(this,{rowKey:this.rowKey,defaultExpandAll:this.defaultExpandAll,selectOnIndeterminate:this.selectOnIndeterminate,indent:this.indent,lazy:this.lazy,lazyColumnIdentifier:n,childrenColumnName:r});var o=new xr({store:this.store,table:this,fit:this.fit,showHeader:this.showHeader});return{layout:o,isHidden:!1,renderExpanded:null,resizeProxyVisible:!1,resizeState:{width:null,height:null},isGroup:!1,scrollPosition:"left"}}},qr=Gr,Ur=s(qr,Oi,Ii,!1,null,null,null);Ur.options.__file="packages/table/src/table.vue";var Yr=Ur.exports;Yr.install=function(e){e.component(Yr.name,Yr)};var Xr=Yr,Zr={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:"",className:"el-table-column--selection"},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},Kr={selection:{renderHeader:function(e,t){var n=t.store;return e("el-checkbox",{attrs:{disabled:n.states.data&&0===n.states.data.length,indeterminate:n.states.selection.length>0&&!this.isAllSelected,value:this.isAllSelected},on:{input:this.toggleAllSelection}})},renderCell:function(e,t){var n=t.row,i=t.column,r=t.isSelected,o=t.store,a=t.$index;return e("el-checkbox",{nativeOn:{click:function(e){return e.stopPropagation()}},attrs:{value:r,disabled:!!i.selectable&&!i.selectable.call(null,n,a)},on:{input:function(){o.commit("rowSelectedChanged",n)}}})},sortable:!1,resizable:!1},index:{renderHeader:function(e,t){var n=t.column;return n.label||"#"},renderCell:function(e,t){var n=t.$index,i=t.column,r=n+1,o=i.index;return"number"===typeof o?r=n+o:"function"===typeof o&&(r=o(n)),e("div",[r])},sortable:!1},expand:{renderHeader:function(e,t){var n=t.column;return n.label||""},renderCell:function(e,t){var n=t.row,i=t.store,r=t.isExpanded,o=["el-table__expand-icon"];r&&o.push("el-table__expand-icon--expanded");var a=function(e){e.stopPropagation(),i.toggleRowExpansion(n)};return e("div",{class:o,on:{click:a}},[e("i",{class:"el-icon el-icon-arrow-right"})])},sortable:!1,resizable:!1,className:"el-table__expand-column"}};function Qr(e,t){var n=t.row,i=t.column,r=t.$index,o=i.property,a=o&&Object(y["getPropByPath"])(n,o).v;return i&&i.formatter?i.formatter(n,i,a,r):a}function Jr(e,t){var n=t.row,i=t.treeNode,r=t.store;if(!i)return null;var o=[],a=function(e){e.stopPropagation(),r.loadOrToggle(n)};if(i.indent&&o.push(e("span",{class:"el-table__indent",style:{"padding-left":i.indent+"px"}})),"boolean"!==typeof i.expanded||i.noLazyChildren)o.push(e("span",{class:"el-table__placeholder"}));else{var s=["el-table__expand-icon",i.expanded?"el-table__expand-icon--expanded":""],l=["el-icon-arrow-right"];i.loading&&(l=["el-icon-loading"]),o.push(e("div",{class:s,on:{click:a}},[e("i",{class:l})]))}return o}var eo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},to=1,no={name:"ElTableColumn",props:{type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{},minWidth:{},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showTooltipWhenOverflow:Boolean,showOverflowTooltip:Boolean,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:function(){return["ascending","descending",null]},validator:function(e){return e.every((function(e){return["ascending","descending",null].indexOf(e)>-1}))}}},data:function(){return{isSubColumn:!1,columns:[]}},computed:{owner:function(){var e=this.$parent;while(e&&!e.tableId)e=e.$parent;return e},columnOrTableParent:function(){var e=this.$parent;while(e&&!e.tableId&&!e.columnId)e=e.$parent;return e},realWidth:function(){return er(this.width)},realMinWidth:function(){return tr(this.minWidth)},realAlign:function(){return this.align?"is-"+this.align:null},realHeaderAlign:function(){return this.headerAlign?"is-"+this.headerAlign:this.realAlign}},methods:{getPropsData:function(){for(var e=this,t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.reduce((function(t,n){return Array.isArray(n)&&n.forEach((function(n){t[n]=e[n]})),t}),{})},getColumnElIndex:function(e,t){return[].indexOf.call(e,t)},setColumnWidth:function(e){return this.realWidth&&(e.width=this.realWidth),this.realMinWidth&&(e.minWidth=this.realMinWidth),e.minWidth||(e.minWidth=80),e.realWidth=void 0===e.width?e.minWidth:e.width,e},setColumnForcedProps:function(e){var t=e.type,n=Kr[t]||{};return Object.keys(n).forEach((function(t){var i=n[t];void 0!==i&&(e[t]="className"===t?e[t]+" "+i:i)})),e},setColumnRenders:function(e){var t=this;this.$createElement;this.renderHeader?console.warn("[Element Warn][TableColumn]Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header."):"selection"!==e.type&&(e.renderHeader=function(n,i){var r=t.$scopedSlots.header;return r?r(i):e.label});var n=e.renderCell;return"expand"===e.type?(e.renderCell=function(e,t){return e("div",{class:"cell"},[n(e,t)])},this.owner.renderExpanded=function(e,n){return t.$scopedSlots.default?t.$scopedSlots.default(n):t.$slots.default}):(n=n||Qr,e.renderCell=function(i,r){var o=null;o=t.$scopedSlots.default?t.$scopedSlots.default(r):n(i,r);var a=Jr(i,r),s={class:"cell",style:{}};return e.showOverflowTooltip&&(s.class+=" el-tooltip",s.style={width:(r.column.realWidth||r.column.width)-1+"px"}),i("div",s,[a,o])}),e},registerNormalWatchers:function(){var e=this,t=["label","property","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],n={prop:"property",realAlign:"align",realHeaderAlign:"headerAlign",realWidth:"width"},i=t.reduce((function(e,t){return e[t]=t,e}),n);Object.keys(i).forEach((function(t){var i=n[t];e.$watch(t,(function(t){e.columnConfig[i]=t}))}))},registerComplexWatchers:function(){var e=this,t=["fixed"],n={realWidth:"width",realMinWidth:"minWidth"},i=t.reduce((function(e,t){return e[t]=t,e}),n);Object.keys(i).forEach((function(t){var i=n[t];e.$watch(t,(function(t){e.columnConfig[i]=t;var n="fixed"===i;e.owner.store.scheduleLayout(n)}))}))}},components:{ElCheckbox:Li.a},beforeCreate:function(){this.row={},this.column={},this.$index=0,this.columnId=""},created:function(){var e=this.columnOrTableParent;this.isSubColumn=this.owner!==e,this.columnId=(e.tableId||e.columnId)+"_column_"+to++;var t=this.type||"default",n=""===this.sortable||this.sortable,i=eo({},Zr[t],{id:this.columnId,type:t,property:this.prop||this.property,align:this.realAlign,headerAlign:this.realHeaderAlign,showOverflowTooltip:this.showOverflowTooltip||this.showTooltipWhenOverflow,filterable:this.filters||this.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,filterOpened:!1,sortable:n,index:this.index}),r=["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],o=["sortMethod","sortBy","sortOrders"],a=["selectable","reserveSelection"],s=["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"],l=this.getPropsData(r,o,a,s);l=Ji(i,l);var u=ir(this.setColumnRenders,this.setColumnWidth,this.setColumnForcedProps);l=u(l),this.columnConfig=l,this.registerNormalWatchers(),this.registerComplexWatchers()},mounted:function(){var e=this.owner,t=this.columnOrTableParent,n=this.isSubColumn?t.$el.children:t.$refs.hiddenColumns.children,i=this.getColumnElIndex(n,this.$el);e.store.commit("insertColumn",this.columnConfig,i,this.isSubColumn?t.columnConfig:null)},destroyed:function(){if(this.$parent){var e=this.$parent;this.owner.store.commit("removeColumn",this.columnConfig,this.isSubColumn?e.columnConfig:null)}},render:function(e){return e("div",this.$slots.default)},install:function(e){e.component(no.name,no)}},io=no,ro=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.ranged?n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor el-range-editor el-input__inner",class:["el-date-editor--"+e.type,e.pickerSize?"el-range-editor--"+e.pickerSize:"",e.pickerDisabled?"is-disabled":"",e.pickerVisible?"is-active":""],on:{click:e.handleRangeClick,mouseenter:e.handleMouseEnter,mouseleave:function(t){e.showClose=!1},keydown:e.handleKeydown}},[n("i",{class:["el-input__icon","el-range__icon",e.triggerClass]}),n("input",e._b({staticClass:"el-range-input",attrs:{autocomplete:"off",placeholder:e.startPlaceholder,disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,name:e.name&&e.name[0]},domProps:{value:e.displayValue&&e.displayValue[0]},on:{input:e.handleStartInput,change:e.handleStartChange,focus:e.handleFocus}},"input",e.firstInputId,!1)),e._t("range-separator",[n("span",{staticClass:"el-range-separator"},[e._v(e._s(e.rangeSeparator))])]),n("input",e._b({staticClass:"el-range-input",attrs:{autocomplete:"off",placeholder:e.endPlaceholder,disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,name:e.name&&e.name[1]},domProps:{value:e.displayValue&&e.displayValue[1]},on:{input:e.handleEndInput,change:e.handleEndChange,focus:e.handleFocus}},"input",e.secondInputId,!1)),e.haveTrigger?n("i",{staticClass:"el-input__icon el-range__close-icon",class:[e.showClose?""+e.clearIcon:""],on:{click:e.handleClickIcon}}):e._e()],2):n("el-input",e._b({directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor",class:"el-date-editor--"+e.type,attrs:{readonly:!e.editable||e.readonly||"dates"===e.type||"week"===e.type||"years"===e.type||"months"===e.type,disabled:e.pickerDisabled,size:e.pickerSize,name:e.name,placeholder:e.placeholder,value:e.displayValue,validateEvent:!1},on:{focus:e.handleFocus,input:function(t){return e.userInput=t},change:e.handleChange},nativeOn:{keydown:function(t){return e.handleKeydown(t)},mouseenter:function(t){return e.handleMouseEnter(t)},mouseleave:function(t){e.showClose=!1}}},"el-input",e.firstInputId,!1),[n("i",{staticClass:"el-input__icon",class:e.triggerClass,attrs:{slot:"prefix"},on:{click:e.handleFocus},slot:"prefix"}),e.haveTrigger?n("i",{staticClass:"el-input__icon",class:[e.showClose?""+e.clearIcon:""],attrs:{slot:"suffix"},on:{click:e.handleClickIcon},slot:"suffix"}):e._e()])},oo=[];ro._withStripped=!0;var ao=n(0),so={props:{appendToBody:H.a.props.appendToBody,offset:H.a.props.offset,boundariesPadding:H.a.props.boundariesPadding,arrowOffset:H.a.props.arrowOffset,transformOrigin:H.a.props.transformOrigin},methods:H.a.methods,data:function(){return kt()({visibleArrow:!0},H.a.data)},beforeDestroy:H.a.beforeDestroy},lo={date:"yyyy-MM-dd",month:"yyyy-MM",months:"yyyy-MM",datetime:"yyyy-MM-dd HH:mm:ss",time:"HH:mm:ss",week:"yyyywWW",timerange:"HH:mm:ss",daterange:"yyyy-MM-dd",monthrange:"yyyy-MM",datetimerange:"yyyy-MM-dd HH:mm:ss",year:"yyyy",years:"yyyy"},uo=["date","datetime","time","time-select","week","month","year","daterange","monthrange","timerange","datetimerange","dates","months","years"],co=function(e,t){return"timestamp"===t?e.getTime():Object(ao["formatDate"])(e,t)},ho=function(e,t){return"timestamp"===t?new Date(Number(e)):Object(ao["parseDate"])(e,t)},fo=function(e,t){if(Array.isArray(e)&&2===e.length){var n=e[0],i=e[1];if(n&&i)return[co(n,t),co(i,t)]}return""},po=function(e,t,n){if(Array.isArray(e)||(e=e.split(n)),2===e.length){var i=e[0],r=e[1];return[ho(i,t),ho(r,t)]}return[]},go={default:{formatter:function(e){return e?""+e:""},parser:function(e){return void 0===e||""===e?null:e}},week:{formatter:function(e,t){var n=Object(ao["getWeekNumber"])(e),i=e.getMonth(),r=new Date(e);1===n&&11===i&&(r.setHours(0,0,0,0),r.setDate(r.getDate()+3-(r.getDay()+6)%7));var o=Object(ao["formatDate"])(r,t);return o=/WW/.test(o)?o.replace(/WW/,n<10?"0"+n:n):o.replace(/W/,n),o},parser:function(e,t){return go.date.parser(e,t)}},date:{formatter:co,parser:ho},datetime:{formatter:co,parser:ho},daterange:{formatter:fo,parser:po},monthrange:{formatter:fo,parser:po},datetimerange:{formatter:fo,parser:po},timerange:{formatter:fo,parser:po},time:{formatter:co,parser:ho},month:{formatter:co,parser:ho},year:{formatter:co,parser:ho},number:{formatter:function(e){return e?""+e:""},parser:function(e){var t=Number(e);return isNaN(e)?null:t}},dates:{formatter:function(e,t){return e.map((function(e){return co(e,t)}))},parser:function(e,t){return("string"===typeof e?e.split(", "):e).map((function(e){return e instanceof Date?e:ho(e,t)}))}},months:{formatter:function(e,t){return e.map((function(e){return co(e,t)}))},parser:function(e,t){return("string"===typeof e?e.split(", "):e).map((function(e){return e instanceof Date?e:ho(e,t)}))}},years:{formatter:function(e,t){return e.map((function(e){return co(e,t)}))},parser:function(e,t){return("string"===typeof e?e.split(", "):e).map((function(e){return e instanceof Date?e:ho(e,t)}))}}},mo={left:"bottom-start",center:"bottom",right:"bottom-end"},vo=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"-";if(!e)return null;var r=(go[n]||go["default"]).parser,o=t||lo[n];return r(e,o,i)},yo=function(e,t,n){if(!e)return null;var i=(go[n]||go["default"]).formatter,r=t||lo[n];return i(e,r)},bo=function(e,t){var n=function(e,t){var n=e instanceof Date,i=t instanceof Date;return n&&i?e.getTime()===t.getTime():!n&&!i&&e===t},i=e instanceof Array,r=t instanceof Array;return i&&r?e.length===t.length&&e.every((function(e,i){return n(e,t[i])})):!i&&!r&&n(e,t)},xo=function(e){return"string"===typeof e||e instanceof String},_o=function(e){return null===e||void 0===e||xo(e)||Array.isArray(e)&&2===e.length&&e.every(xo)},wo={mixins:[E.a,so],inject:{elForm:{default:""},elFormItem:{default:""}},props:{size:String,format:String,valueFormat:String,readonly:Boolean,placeholder:String,startPlaceholder:String,endPlaceholder:String,prefixIcon:String,clearIcon:{type:String,default:"el-icon-circle-close"},name:{default:"",validator:_o},disabled:Boolean,clearable:{type:Boolean,default:!0},id:{default:"",validator:_o},popperClass:String,editable:{type:Boolean,default:!0},align:{type:String,default:"left"},value:{},defaultValue:{},defaultTime:{},rangeSeparator:{default:"-"},pickerOptions:{},unlinkPanels:Boolean,validateEvent:{type:Boolean,default:!0}},components:{ElInput:g.a},directives:{Clickoutside:B.a},data:function(){return{pickerVisible:!1,showClose:!1,userInput:null,valueOnOpen:null,unwatchPickerOptions:null}},watch:{pickerVisible:function(e){this.readonly||this.pickerDisabled||(e?(this.showPicker(),this.valueOnOpen=Array.isArray(this.value)?[].concat(this.value):this.value):(this.hidePicker(),this.emitChange(this.value),this.userInput=null,this.validateEvent&&this.dispatch("ElFormItem","el.form.blur"),this.$emit("blur",this),this.blur()))},parsedValue:{immediate:!0,handler:function(e){this.picker&&(this.picker.value=e)}},defaultValue:function(e){this.picker&&(this.picker.defaultValue=e)},value:function(e,t){bo(e,t)||this.pickerVisible||!this.validateEvent||this.dispatch("ElFormItem","el.form.change",e)}},computed:{ranged:function(){return this.type.indexOf("range")>-1},reference:function(){var e=this.$refs.reference;return e.$el||e},refInput:function(){return this.reference?[].slice.call(this.reference.querySelectorAll("input")):[]},valueIsEmpty:function(){var e=this.value;if(Array.isArray(e)){for(var t=0,n=e.length;t<n;t++)if(e[t])return!1}else if(e)return!1;return!0},triggerClass:function(){return this.prefixIcon||(-1!==this.type.indexOf("time")?"el-icon-time":"el-icon-date")},selectionMode:function(){return"week"===this.type?"week":"month"===this.type?"month":"year"===this.type?"year":"dates"===this.type?"dates":"months"===this.type?"months":"years"===this.type?"years":"day"},haveTrigger:function(){return"undefined"!==typeof this.showTrigger?this.showTrigger:-1!==uo.indexOf(this.type)},displayValue:function(){var e=yo(this.parsedValue,this.format,this.type,this.rangeSeparator);return Array.isArray(this.userInput)?[this.userInput[0]||e&&e[0]||"",this.userInput[1]||e&&e[1]||""]:null!==this.userInput?this.userInput:e?"dates"===this.type||"years"===this.type||"months"===this.type?e.join(", "):e:""},parsedValue:function(){if(!this.value)return this.value;if("time-select"===this.type)return this.value;var e=Object(ao["isDateObject"])(this.value)||Array.isArray(this.value)&&this.value.every(ao["isDateObject"]);return e?this.value:this.valueFormat?vo(this.value,this.valueFormat,this.type,this.rangeSeparator)||this.value:Array.isArray(this.value)?this.value.map((function(e){return new Date(e)})):new Date(this.value)},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},pickerSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},pickerDisabled:function(){return this.disabled||(this.elForm||{}).disabled},firstInputId:function(){var e={},t=void 0;return t=this.ranged?this.id&&this.id[0]:this.id,t&&(e.id=t),e},secondInputId:function(){var e={},t=void 0;return this.ranged&&(t=this.id&&this.id[1]),t&&(e.id=t),e}},created:function(){this.popperOptions={boundariesPadding:0,gpuAcceleration:!1},this.placement=mo[this.align]||mo.left,this.$on("fieldReset",this.handleFieldReset)},methods:{focus:function(){this.ranged?this.handleFocus():this.$refs.reference.focus()},blur:function(){this.refInput.forEach((function(e){return e.blur()}))},parseValue:function(e){var t=Object(ao["isDateObject"])(e)||Array.isArray(e)&&e.every(ao["isDateObject"]);return this.valueFormat&&!t&&vo(e,this.valueFormat,this.type,this.rangeSeparator)||e},formatToValue:function(e){var t=Object(ao["isDateObject"])(e)||Array.isArray(e)&&e.every(ao["isDateObject"]);return this.valueFormat&&t?yo(e,this.valueFormat,this.type,this.rangeSeparator):e},parseString:function(e){var t=Array.isArray(e)?this.type:this.type.replace("range","");return vo(e,this.format,t)},formatToString:function(e){var t=Array.isArray(e)?this.type:this.type.replace("range","");return yo(e,this.format,t)},handleMouseEnter:function(){this.readonly||this.pickerDisabled||!this.valueIsEmpty&&this.clearable&&(this.showClose=!0)},handleChange:function(){if(this.userInput){var e=this.parseString(this.displayValue);e&&(this.picker.value=e,this.isValidValue(e)&&(this.emitInput(e),this.userInput=null))}""===this.userInput&&(this.emitInput(null),this.emitChange(null),this.userInput=null)},handleStartInput:function(e){this.userInput?this.userInput=[e.target.value,this.userInput[1]]:this.userInput=[e.target.value,null]},handleEndInput:function(e){this.userInput?this.userInput=[this.userInput[0],e.target.value]:this.userInput=[null,e.target.value]},handleStartChange:function(e){var t=this.parseString(this.userInput&&this.userInput[0]);if(t){this.userInput=[this.formatToString(t),this.displayValue[1]];var n=[t,this.picker.value&&this.picker.value[1]];this.picker.value=n,this.isValidValue(n)&&(this.emitInput(n),this.userInput=null)}},handleEndChange:function(e){var t=this.parseString(this.userInput&&this.userInput[1]);if(t){this.userInput=[this.displayValue[0],this.formatToString(t)];var n=[this.picker.value&&this.picker.value[0],t];this.picker.value=n,this.isValidValue(n)&&(this.emitInput(n),this.userInput=null)}},handleClickIcon:function(e){this.readonly||this.pickerDisabled||(this.showClose?(this.valueOnOpen=this.value,e.stopPropagation(),this.emitInput(null),this.emitChange(null),this.showClose=!1,this.picker&&"function"===typeof this.picker.handleClear&&this.picker.handleClear()):this.pickerVisible=!this.pickerVisible)},handleClose:function(){if(this.pickerVisible&&(this.pickerVisible=!1,"dates"===this.type||"years"===this.type||"months"===this.type)){var e=vo(this.valueOnOpen,this.valueFormat,this.type,this.rangeSeparator)||this.valueOnOpen;this.emitInput(e)}},handleFieldReset:function(e){this.userInput=""===e?null:e},handleFocus:function(){var e=this.type;-1===uo.indexOf(e)||this.pickerVisible||(this.pickerVisible=!0),this.$emit("focus",this)},handleKeydown:function(e){var t=this,n=e.keyCode;return 27===n?(this.pickerVisible=!1,void e.stopPropagation()):9!==n?13===n?((""===this.userInput||this.isValidValue(this.parseString(this.displayValue)))&&(this.handleChange(),this.pickerVisible=this.picker.visible=!1,this.blur()),void e.stopPropagation()):void(this.userInput?e.stopPropagation():this.picker&&this.picker.handleKeydown&&this.picker.handleKeydown(e)):void(this.ranged?setTimeout((function(){-1===t.refInput.indexOf(document.activeElement)&&(t.pickerVisible=!1,t.blur(),e.stopPropagation())}),0):(this.handleChange(),this.pickerVisible=this.picker.visible=!1,this.blur(),e.stopPropagation()))},handleRangeClick:function(){var e=this.type;-1===uo.indexOf(e)||this.pickerVisible||(this.pickerVisible=!0),this.$emit("focus",this)},hidePicker:function(){this.picker&&(this.picker.resetView&&this.picker.resetView(),this.pickerVisible=this.picker.visible=!1,this.destroyPopper())},showPicker:function(){var e=this;this.$isServer||(this.picker||this.mountPicker(),this.pickerVisible=this.picker.visible=!0,this.updatePopper(),this.picker.value=this.parsedValue,this.picker.resetView&&this.picker.resetView(),this.$nextTick((function(){e.picker.adjustSpinners&&e.picker.adjustSpinners()})))},mountPicker:function(){var e=this;this.picker=new Vi.a(this.panel).$mount(),this.picker.defaultValue=this.defaultValue,this.picker.defaultTime=this.defaultTime,this.picker.popperClass=this.popperClass,this.popperElm=this.picker.$el,this.picker.width=this.reference.getBoundingClientRect().width,this.picker.showTime="datetime"===this.type||"datetimerange"===this.type,this.picker.selectionMode=this.selectionMode,this.picker.unlinkPanels=this.unlinkPanels,this.picker.arrowControl=this.arrowControl||this.timeArrowControl||!1,this.$watch("format",(function(t){e.picker.format=t}));var t=function(){var t=e.pickerOptions;if(t&&t.selectableRange){var n=t.selectableRange,i=go.datetimerange.parser,r=lo.timerange;n=Array.isArray(n)?n:[n],e.picker.selectableRange=n.map((function(t){return i(t,r,e.rangeSeparator)}))}for(var o in t)t.hasOwnProperty(o)&&"selectableRange"!==o&&(e.picker[o]=t[o]);e.format&&(e.picker.format=e.format)};t(),this.unwatchPickerOptions=this.$watch("pickerOptions",(function(){return t()}),{deep:!0}),this.$el.appendChild(this.picker.$el),this.picker.resetView&&this.picker.resetView(),this.picker.$on("dodestroy",this.doDestroy),this.picker.$on("pick",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.userInput=null,e.pickerVisible=e.picker.visible=n,e.emitInput(t),e.picker.resetView&&e.picker.resetView()})),this.picker.$on("select-range",(function(t,n,i){0!==e.refInput.length&&(i&&"min"!==i?"max"===i&&(e.refInput[1].setSelectionRange(t,n),e.refInput[1].focus()):(e.refInput[0].setSelectionRange(t,n),e.refInput[0].focus()))}))},unmountPicker:function(){this.picker&&(this.picker.$destroy(),this.picker.$off(),"function"===typeof this.unwatchPickerOptions&&this.unwatchPickerOptions(),this.picker.$el.parentNode.removeChild(this.picker.$el))},emitChange:function(e){bo(e,this.valueOnOpen)||(this.$emit("change",e),this.valueOnOpen=e,this.validateEvent&&this.dispatch("ElFormItem","el.form.change",e))},emitInput:function(e){var t=this.formatToValue(e);bo(this.value,t)||this.$emit("input",t)},isValidValue:function(e){return this.picker||this.mountPicker(),!this.picker.isValidValue||e&&this.picker.isValidValue(e)}}},Co=wo,So=s(Co,ro,oo,!1,null,null,null);So.options.__file="packages/date-picker/src/picker.vue";var ko=So.exports,Mo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-enter":e.handleEnter,"after-leave":e.handleLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts,"has-time":e.showTime},e.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,(function(t,i){return n("button",{key:i,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})),0):e._e(),n("div",{staticClass:"el-picker-panel__body"},[e.showTime?n("div",{staticClass:"el-date-picker__time-header"},[n("span",{staticClass:"el-date-picker__editor-wrap"},[n("el-input",{attrs:{placeholder:e.t("el.datepicker.selectDate"),value:e.visibleDate,size:"small"},on:{input:function(t){return e.userInputDate=t},change:e.handleVisibleDateChange}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleTimePickClose,expression:"handleTimePickClose"}],staticClass:"el-date-picker__editor-wrap"},[n("el-input",{ref:"input",attrs:{placeholder:e.t("el.datepicker.selectTime"),value:e.visibleTime,size:"small"},on:{focus:function(t){e.timePickerVisible=!0},input:function(t){return e.userInputTime=t},change:e.handleVisibleTimeChange}}),n("time-picker",{ref:"timepicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.timePickerVisible},on:{pick:e.handleTimePick,mounted:e.proxyTimePickerDataProperties}})],1)]):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:"time"!==e.currentView,expression:"currentView !== 'time'"}],staticClass:"el-date-picker__header",class:{"el-date-picker__header--bordered":"year"===e.currentView||"month"===e.currentView}},[n("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-d-arrow-left",attrs:{type:"button","aria-label":e.t("el.datepicker.prevYear")},on:{click:e.prevYear}}),n("button",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-arrow-left",attrs:{type:"button","aria-label":e.t("el.datepicker.prevMonth")},on:{click:e.prevMonth}}),n("span",{staticClass:"el-date-picker__header-label",attrs:{role:"button"},on:{click:e.showYearPicker}},[e._v(e._s(e.yearLabel))]),n("span",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-date-picker__header-label",class:{active:"month"===e.currentView},attrs:{role:"button"},on:{click:e.showMonthPicker}},[e._v(e._s(e.t("el.datepicker.month"+(e.month+1))))]),n("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-d-arrow-right",attrs:{type:"button","aria-label":e.t("el.datepicker.nextYear")},on:{click:e.nextYear}}),n("button",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-arrow-right",attrs:{type:"button","aria-label":e.t("el.datepicker.nextMonth")},on:{click:e.nextMonth}})]),n("div",{staticClass:"el-picker-panel__content"},[n("date-table",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],attrs:{"selection-mode":e.selectionMode,"first-day-of-week":e.firstDayOfWeek,value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"cell-class-name":e.cellClassName,"disabled-date":e.disabledDate},on:{pick:e.handleDatePick}}),n("year-table",{directives:[{name:"show",rawName:"v-show",value:"year"===e.currentView,expression:"currentView === 'year'"}],attrs:{"selection-mode":e.selectionMode,value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate},on:{pick:e.handleYearPick}}),n("month-table",{directives:[{name:"show",rawName:"v-show",value:"month"===e.currentView,expression:"currentView === 'month'"}],attrs:{"selection-mode":e.selectionMode,value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate},on:{pick:e.handleMonthPick}})],1)])],2),n("div",{directives:[{name:"show",rawName:"v-show",value:e.footerVisible&&("date"===e.currentView||"month"===e.currentView||"year"===e.currentView),expression:"footerVisible && (currentView === 'date' || currentView === 'month' || currentView === 'year')"}],staticClass:"el-picker-panel__footer"},[n("el-button",{directives:[{name:"show",rawName:"v-show",value:"dates"!==e.selectionMode&&"months"!==e.selectionMode&&"years"!==e.selectionMode,expression:"selectionMode !== 'dates' && selectionMode !== 'months' && selectionMode !== 'years'"}],staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:e.changeToNow}},[e._v("\n "+e._s(e.t("el.datepicker.now"))+"\n ")]),n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini"},on:{click:e.confirm}},[e._v("\n "+e._s(e.t("el.datepicker.confirm"))+"\n ")])],1)])])},To=[];Mo._withStripped=!0;var Eo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-time-panel el-popper",class:e.popperClass},[n("div",{staticClass:"el-time-panel__content",class:{"has-seconds":e.showSeconds}},[n("time-spinner",{ref:"spinner",attrs:{"arrow-control":e.useArrow,"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,date:e.date},on:{change:e.handleChange,"select-range":e.setSelectionRange}})],1),n("div",{staticClass:"el-time-panel__footer"},[n("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:e.handleCancel}},[e._v(e._s(e.t("el.datepicker.cancel")))]),n("button",{staticClass:"el-time-panel__btn",class:{confirm:!e.disabled},attrs:{type:"button"},on:{click:function(t){e.handleConfirm()}}},[e._v(e._s(e.t("el.datepicker.confirm")))])])])])},Do=[];Eo._withStripped=!0;var Po=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-time-spinner",class:{"has-seconds":e.showSeconds}},[e.arrowControl?e._e():[n("el-scrollbar",{ref:"hours",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("hours")},mousemove:function(t){e.adjustCurrentSpinner("hours")}}},e._l(e.hoursList,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:i===e.hours,disabled:t},on:{click:function(n){e.handleClick("hours",{value:i,disabled:t})}}},[e._v(e._s(("0"+(e.amPmMode?i%12||12:i)).slice(-2))+e._s(e.amPm(i)))])})),0),n("el-scrollbar",{ref:"minutes",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("minutes")},mousemove:function(t){e.adjustCurrentSpinner("minutes")}}},e._l(e.minutesList,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:i===e.minutes,disabled:!t},on:{click:function(t){e.handleClick("minutes",{value:i,disabled:!1})}}},[e._v(e._s(("0"+i).slice(-2)))])})),0),n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.showSeconds,expression:"showSeconds"}],ref:"seconds",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("seconds")},mousemove:function(t){e.adjustCurrentSpinner("seconds")}}},e._l(60,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:i===e.seconds},on:{click:function(t){e.handleClick("seconds",{value:i,disabled:!1})}}},[e._v(e._s(("0"+i).slice(-2)))])})),0)],e.arrowControl?[n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("hours")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"hours",staticClass:"el-time-spinner__list"},e._l(e.arrowHourList,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:t===e.hours,disabled:e.hoursList[t]}},[e._v(e._s(void 0===t?"":("0"+(e.amPmMode?t%12||12:t)).slice(-2)+e.amPm(t)))])})),0)]),n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("minutes")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"minutes",staticClass:"el-time-spinner__list"},e._l(e.arrowMinuteList,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:t===e.minutes}},[e._v("\n "+e._s(void 0===t?"":("0"+t).slice(-2))+"\n ")])})),0)]),e.showSeconds?n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("seconds")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"seconds",staticClass:"el-time-spinner__list"},e._l(e.arrowSecondList,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:t===e.seconds}},[e._v("\n "+e._s(void 0===t?"":("0"+t).slice(-2))+"\n ")])})),0)]):e._e()]:e._e()],2)},Oo=[];Po._withStripped=!0;var Io={components:{ElScrollbar:G.a},directives:{repeatClick:Lt},props:{date:{},defaultValue:{},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:String,default:""}},computed:{hours:function(){return this.date.getHours()},minutes:function(){return this.date.getMinutes()},seconds:function(){return this.date.getSeconds()},hoursList:function(){return Object(ao["getRangeHours"])(this.selectableRange)},minutesList:function(){return Object(ao["getRangeMinutes"])(this.selectableRange,this.hours)},arrowHourList:function(){var e=this.hours;return[e>0?e-1:void 0,e,e<23?e+1:void 0]},arrowMinuteList:function(){var e=this.minutes;return[e>0?e-1:void 0,e,e<59?e+1:void 0]},arrowSecondList:function(){var e=this.seconds;return[e>0?e-1:void 0,e,e<59?e+1:void 0]}},data:function(){return{selectableRange:[],currentScrollbar:null}},mounted:function(){var e=this;this.$nextTick((function(){!e.arrowControl&&e.bindScrollEvent()}))},methods:{increase:function(){this.scrollDown(1)},decrease:function(){this.scrollDown(-1)},modifyDateField:function(e,t){switch(e){case"hours":this.$emit("change",Object(ao["modifyTime"])(this.date,t,this.minutes,this.seconds));break;case"minutes":this.$emit("change",Object(ao["modifyTime"])(this.date,this.hours,t,this.seconds));break;case"seconds":this.$emit("change",Object(ao["modifyTime"])(this.date,this.hours,this.minutes,t));break}},handleClick:function(e,t){var n=t.value,i=t.disabled;i||(this.modifyDateField(e,n),this.emitSelectRange(e),this.adjustSpinner(e,n))},emitSelectRange:function(e){"hours"===e?this.$emit("select-range",0,2):"minutes"===e?this.$emit("select-range",3,5):"seconds"===e&&this.$emit("select-range",6,8),this.currentScrollbar=e},bindScrollEvent:function(){var e=this,t=function(t){e.$refs[t].wrap.onscroll=function(n){e.handleScroll(t,n)}};t("hours"),t("minutes"),t("seconds")},handleScroll:function(e){var t=Math.min(Math.round((this.$refs[e].wrap.scrollTop-(.5*this.scrollBarHeight(e)-10)/this.typeItemHeight(e)+3)/this.typeItemHeight(e)),"hours"===e?23:59);this.modifyDateField(e,t)},adjustSpinners:function(){this.adjustSpinner("hours",this.hours),this.adjustSpinner("minutes",this.minutes),this.adjustSpinner("seconds",this.seconds)},adjustCurrentSpinner:function(e){this.adjustSpinner(e,this[e])},adjustSpinner:function(e,t){if(!this.arrowControl){var n=this.$refs[e].wrap;n&&(n.scrollTop=Math.max(0,t*this.typeItemHeight(e)))}},scrollDown:function(e){var t=this;this.currentScrollbar||this.emitSelectRange("hours");var n=this.currentScrollbar,i=this.hoursList,r=this[n];if("hours"===this.currentScrollbar){var o=Math.abs(e);e=e>0?1:-1;var a=i.length;while(a--&&o)r=(r+e+i.length)%i.length,i[r]||o--;if(i[r])return}else r=(r+e+60)%60;this.modifyDateField(n,r),this.adjustSpinner(n,r),this.$nextTick((function(){return t.emitSelectRange(t.currentScrollbar)}))},amPm:function(e){var t="a"===this.amPmMode.toLowerCase();if(!t)return"";var n="A"===this.amPmMode,i=e<12?" am":" pm";return n&&(i=i.toUpperCase()),i},typeItemHeight:function(e){return this.$refs[e].$el.querySelector("li").offsetHeight},scrollBarHeight:function(e){return this.$refs[e].$el.offsetHeight}}},Ao=Io,Lo=s(Ao,Po,Oo,!1,null,null,null);Lo.options.__file="packages/date-picker/src/basic/time-spinner.vue";var No=Lo.exports,Ro={mixins:[v.a],components:{TimeSpinner:No},props:{visible:Boolean,timeArrowControl:Boolean},watch:{visible:function(e){var t=this;e?(this.oldValue=this.value,this.$nextTick((function(){return t.$refs.spinner.emitSelectRange("hours")}))):this.needInitAdjust=!0},value:function(e){var t=this,n=void 0;e instanceof Date?n=Object(ao["limitTimeRange"])(e,this.selectableRange,this.format):e||(n=this.defaultValue?new Date(this.defaultValue):new Date),this.date=n,this.visible&&this.needInitAdjust&&(this.$nextTick((function(e){return t.adjustSpinners()})),this.needInitAdjust=!1)},selectableRange:function(e){this.$refs.spinner.selectableRange=e},defaultValue:function(e){Object(ao["isDate"])(this.value)||(this.date=e?new Date(e):new Date)}},data:function(){return{popperClass:"",format:"HH:mm:ss",value:"",defaultValue:null,date:new Date,oldValue:new Date,selectableRange:[],selectionRange:[0,2],disabled:!1,arrowControl:!1,needInitAdjust:!0}},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},useArrow:function(){return this.arrowControl||this.timeArrowControl||!1},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},methods:{handleCancel:function(){this.$emit("pick",this.oldValue,!1)},handleChange:function(e){this.visible&&(this.date=Object(ao["clearMilliseconds"])(e),this.isValidValue(this.date)&&this.$emit("pick",this.date,!0))},setSelectionRange:function(e,t){this.$emit("select-range",e,t),this.selectionRange=[e,t]},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];if(!t){var n=Object(ao["clearMilliseconds"])(Object(ao["limitTimeRange"])(this.date,this.selectableRange,this.format));this.$emit("pick",n,e,t)}},handleKeydown:function(e){var t=e.keyCode,n={38:-1,40:1,37:-1,39:1};if(37===t||39===t){var i=n[t];return this.changeSelectionRange(i),void e.preventDefault()}if(38===t||40===t){var r=n[t];return this.$refs.spinner.scrollDown(r),void e.preventDefault()}},isValidValue:function(e){return Object(ao["timeWithinRange"])(e,this.selectableRange,this.format)},adjustSpinners:function(){return this.$refs.spinner.adjustSpinners()},changeSelectionRange:function(e){var t=[0,3].concat(this.showSeconds?[6]:[]),n=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),i=t.indexOf(this.selectionRange[0]),r=(i+e+t.length)%t.length;this.$refs.spinner.emitSelectRange(n[r])}},mounted:function(){var e=this;this.$nextTick((function(){return e.handleConfirm(!0,!0)})),this.$emit("mounted")}},zo=Ro,$o=s(zo,Eo,Do,!1,null,null,null);$o.options.__file="packages/date-picker/src/panel/time.vue";var Bo=$o.exports,Fo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"el-year-table",on:{click:e.handleYearTableClick}},[n("tbody",[n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+0)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+1)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+1))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+2)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+2))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+3)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+3))])])]),n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+4)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+4))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+5)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+5))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+6)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+6))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+7)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+7))])])]),n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+8)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+8))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+9)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+9))])]),n("td"),n("td")])])])},jo=[];Fo._withStripped=!0;var Vo=function(e){var t=Object(ao["getDayCountOfYear"])(e),n=new Date(e,0,1);return Object(ao["range"])(t).map((function(e){return Object(ao["nextDate"])(n,e)}))},Ho={props:{disabledDate:{},value:{},defaultValue:{validator:function(e){return null===e||e instanceof Date&&Object(ao["isDate"])(e)}},date:{},selectionMode:{}},computed:{startYear:function(){return 10*Math.floor(this.date.getFullYear()/10)}},methods:{getCellStyle:function(e){var t={},n=new Date;return t.disabled="function"===typeof this.disabledDate&&Vo(e).every(this.disabledDate),t.current=Object(y["arrayFindIndex"])(Object(y["coerceTruthyValueToArray"])(this.value),(function(t){return t.getFullYear()===e}))>=0,t.today=n.getFullYear()===e,t.default=this.defaultValue&&this.defaultValue.getFullYear()===e,t},handleYearTableClick:function(e){var t=e.target;if("A"===t.tagName){if(Object($e["hasClass"])(t.parentNode,"disabled"))return;var n=t.textContent||t.innerText;if("years"===this.selectionMode){var i=this.value||[],r=Object(y["arrayFindIndex"])(i,(function(e){return e.getFullYear()===Number(n)})),o=r>-1?[].concat(i.slice(0,r),i.slice(r+1)):[].concat(i,[new Date(n)]);this.$emit("pick",o)}else this.$emit("pick",Number(n))}}}},Wo=Ho,Go=s(Wo,Fo,jo,!1,null,null,null);Go.options.__file="packages/date-picker/src/basic/year-table.vue";var qo=Go.exports,Uo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"el-month-table",on:{click:e.handleMonthTableClick,mousemove:e.handleMouseMove}},[n("tbody",e._l(e.rows,(function(t,i){return n("tr",{key:i},e._l(t,(function(t,i){return n("td",{key:i,class:e.getCellStyle(t)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months."+e.months[t.text])))])])])})),0)})),0)])},Yo=[];Uo._withStripped=!0;var Xo=function(e,t){var n=Object(ao["getDayCountOfMonth"])(e,t),i=new Date(e,t,1);return Object(ao["range"])(n).map((function(e){return Object(ao["nextDate"])(i,e)}))},Zo=function(e){return new Date(e.getFullYear(),e.getMonth())},Ko=function(e){return"number"===typeof e||"string"===typeof e?Zo(new Date(e)).getTime():e instanceof Date?Zo(e).getTime():NaN},Qo=function(e,t){var n="function"===typeof t?Object(y["arrayFindIndex"])(e,t):e.indexOf(t);return n>=0?[].concat(e.slice(0,n),e.slice(n+1)):e},Jo={props:{disabledDate:{},value:{},selectionMode:{default:"month"},minDate:{},maxDate:{},defaultValue:{validator:function(e){return null===e||Object(ao["isDate"])(e)||Array.isArray(e)&&e.every(ao["isDate"])}},date:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},mixins:[v.a],watch:{"rangeState.endDate":function(e){this.markRange(this.minDate,e)},minDate:function(e,t){Ko(e)!==Ko(t)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(e,t){Ko(e)!==Ko(t)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{months:["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],tableRows:[[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(e,t){var n=new Date(t);return this.date.getFullYear()===n.getFullYear()&&Number(e.text)===n.getMonth()},getCellStyle:function(e){var t=this,n={},i=this.date.getFullYear(),r=new Date,o=e.text,a=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[];return n.disabled="function"===typeof this.disabledDate&&Xo(i,o).every(this.disabledDate),n.current=Object(y["arrayFindIndex"])(Object(y["coerceTruthyValueToArray"])(this.value),(function(e){return e.getFullYear()===i&&e.getMonth()===o}))>=0,n.today=r.getFullYear()===i&&r.getMonth()===o,n.default=a.some((function(n){return t.cellMatchesDate(e,n)})),e.inRange&&(n["in-range"]=!0,e.start&&(n["start-date"]=!0),e.end&&(n["end-date"]=!0)),n},getMonthOfCell:function(e){var t=this.date.getFullYear();return new Date(t,e,1)},markRange:function(e,t){e=Ko(e),t=Ko(t)||e;var n=[Math.min(e,t),Math.max(e,t)];e=n[0],t=n[1];for(var i=this.rows,r=0,o=i.length;r<o;r++)for(var a=i[r],s=0,l=a.length;s<l;s++){var u=a[s],c=4*r+s,h=new Date(this.date.getFullYear(),c).getTime();u.inRange=e&&h>=e&&h<=t,u.start=e&&h===e,u.end=t&&h===t}},handleMouseMove:function(e){if(this.rangeState.selecting){var t=e.target;if("A"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var n=t.parentNode.rowIndex,i=t.cellIndex;this.rows[n][i].disabled||n===this.lastRow&&i===this.lastColumn||(this.lastRow=n,this.lastColumn=i,this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:this.getMonthOfCell(4*n+i)}}))}}},handleMonthTableClick:function(e){var t=e.target;if("A"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName&&!Object($e["hasClass"])(t,"disabled")){var n=t.cellIndex,i=t.parentNode.rowIndex,r=4*i+n,o=this.getMonthOfCell(r);if("range"===this.selectionMode)this.rangeState.selecting?(o>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:o}):this.$emit("pick",{minDate:o,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:o,maxDate:null}),this.rangeState.selecting=!0);else if("months"===this.selectionMode){var a=this.value||[],s=this.date.getFullYear(),l=Object(y["arrayFindIndex"])(a,(function(e){return e.getFullYear()===s&&e.getMonth()===r}))>=0?Qo(a,(function(e){return e.getTime()===o.getTime()})):[].concat(a,[o]);this.$emit("pick",l)}else this.$emit("pick",r)}}},computed:{rows:function(){for(var e=this,t=this.tableRows,n=this.disabledDate,i=[],r=Ko(new Date),o=0;o<3;o++)for(var a=t[o],s=function(t){var s=a[t];s||(s={row:o,column:t,type:"normal",inRange:!1,start:!1,end:!1}),s.type="normal";var l=4*o+t,u=new Date(e.date.getFullYear(),l).getTime();s.inRange=u>=Ko(e.minDate)&&u<=Ko(e.maxDate),s.start=e.minDate&&u===Ko(e.minDate),s.end=e.maxDate&&u===Ko(e.maxDate);var c=u===r;c&&(s.type="today"),s.text=l;var h=new Date(u);s.disabled="function"===typeof n&&n(h),s.selected=Object(y["arrayFind"])(i,(function(e){return e.getTime()===h.getTime()})),e.$set(a,t,s)},l=0;l<4;l++)s(l);return t}}},ea=Jo,ta=s(ea,Uo,Yo,!1,null,null,null);ta.options.__file="packages/date-picker/src/basic/month-table.vue";var na=ta.exports,ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"el-date-table",class:{"is-week-mode":"week"===e.selectionMode},attrs:{cellspacing:"0",cellpadding:"0"},on:{click:e.handleClick,mousemove:e.handleMouseMove}},[n("tbody",[n("tr",[e.showWeekNumber?n("th",[e._v(e._s(e.t("el.datepicker.week")))]):e._e(),e._l(e.WEEKS,(function(t,i){return n("th",{key:i},[e._v(e._s(e.t("el.datepicker.weeks."+t)))])}))],2),e._l(e.rows,(function(t,i){return n("tr",{key:i,staticClass:"el-date-table__row",class:{current:e.isWeekActive(t[1])}},e._l(t,(function(t,i){return n("td",{key:i,class:e.getCellClasses(t)},[n("div",[n("span",[e._v("\n "+e._s(t.text)+"\n ")])])])})),0)}))],2)])},ra=[];ia._withStripped=!0;var oa=["sun","mon","tue","wed","thu","fri","sat"],aa=function(e){return"number"===typeof e||"string"===typeof e?Object(ao["clearTime"])(new Date(e)).getTime():e instanceof Date?Object(ao["clearTime"])(e).getTime():NaN},sa=function(e,t){var n="function"===typeof t?Object(y["arrayFindIndex"])(e,t):e.indexOf(t);return n>=0?[].concat(e.slice(0,n),e.slice(n+1)):e},la={mixins:[v.a],props:{firstDayOfWeek:{default:7,type:Number,validator:function(e){return e>=1&&e<=7}},value:{},defaultValue:{validator:function(e){return null===e||Object(ao["isDate"])(e)||Array.isArray(e)&&e.every(ao["isDate"])}},date:{},selectionMode:{default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{},cellClassName:{},minDate:{},maxDate:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},computed:{offsetDay:function(){var e=this.firstDayOfWeek;return e>3?7-e:-e},WEEKS:function(){var e=this.firstDayOfWeek;return oa.concat(oa).slice(e,e+7)},year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},startDate:function(){return Object(ao["getStartDateOfMonth"])(this.year,this.month)},rows:function(){var e=this,t=new Date(this.year,this.month,1),n=Object(ao["getFirstDayOfMonth"])(t),i=Object(ao["getDayCountOfMonth"])(t.getFullYear(),t.getMonth()),r=Object(ao["getDayCountOfMonth"])(t.getFullYear(),0===t.getMonth()?11:t.getMonth()-1);n=0===n?7:n;for(var o=this.offsetDay,a=this.tableRows,s=1,l=this.startDate,u=this.disabledDate,c=this.cellClassName,h="dates"===this.selectionMode?Object(y["coerceTruthyValueToArray"])(this.value):[],d=aa(new Date),f=0;f<6;f++){var p=a[f];this.showWeekNumber&&(p[0]||(p[0]={type:"week",text:Object(ao["getWeekNumber"])(Object(ao["nextDate"])(l,7*f+1))}));for(var g=function(t){var a=p[e.showWeekNumber?t+1:t];a||(a={row:f,column:t,type:"normal",inRange:!1,start:!1,end:!1}),a.type="normal";var g=7*f+t,m=Object(ao["nextDate"])(l,g-o).getTime();a.inRange=m>=aa(e.minDate)&&m<=aa(e.maxDate),a.start=e.minDate&&m===aa(e.minDate),a.end=e.maxDate&&m===aa(e.maxDate);var v=m===d;if(v&&(a.type="today"),f>=0&&f<=1){var b=n+o<0?7+n+o:n+o;t+7*f>=b?a.text=s++:(a.text=r-(b-t%7)+1+7*f,a.type="prev-month")}else s<=i?a.text=s++:(a.text=s++-i,a.type="next-month");var x=new Date(m);a.disabled="function"===typeof u&&u(x),a.selected=Object(y["arrayFind"])(h,(function(e){return e.getTime()===x.getTime()})),a.customClass="function"===typeof c&&c(x),e.$set(p,e.showWeekNumber?t+1:t,a)},m=0;m<7;m++)g(m);if("week"===this.selectionMode){var v=this.showWeekNumber?1:0,b=this.showWeekNumber?7:6,x=this.isWeekActive(p[v+1]);p[v].inRange=x,p[v].start=x,p[b].inRange=x,p[b].end=x}}return a}},watch:{"rangeState.endDate":function(e){this.markRange(this.minDate,e)},minDate:function(e,t){aa(e)!==aa(t)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(e,t){aa(e)!==aa(t)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{tableRows:[[],[],[],[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(e,t){var n=new Date(t);return this.year===n.getFullYear()&&this.month===n.getMonth()&&Number(e.text)===n.getDate()},getCellClasses:function(e){var t=this,n=this.selectionMode,i=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[],r=[];return"normal"!==e.type&&"today"!==e.type||e.disabled?r.push(e.type):(r.push("available"),"today"===e.type&&r.push("today")),"normal"===e.type&&i.some((function(n){return t.cellMatchesDate(e,n)}))&&r.push("default"),"day"!==n||"normal"!==e.type&&"today"!==e.type||!this.cellMatchesDate(e,this.value)||r.push("current"),!e.inRange||"normal"!==e.type&&"today"!==e.type&&"week"!==this.selectionMode||(r.push("in-range"),e.start&&r.push("start-date"),e.end&&r.push("end-date")),e.disabled&&r.push("disabled"),e.selected&&r.push("selected"),e.customClass&&r.push(e.customClass),r.join(" ")},getDateOfCell:function(e,t){var n=7*e+(t-(this.showWeekNumber?1:0))-this.offsetDay;return Object(ao["nextDate"])(this.startDate,n)},isWeekActive:function(e){if("week"!==this.selectionMode)return!1;var t=new Date(this.year,this.month,1),n=t.getFullYear(),i=t.getMonth();if("prev-month"===e.type&&(t.setMonth(0===i?11:i-1),t.setFullYear(0===i?n-1:n)),"next-month"===e.type&&(t.setMonth(11===i?0:i+1),t.setFullYear(11===i?n+1:n)),t.setDate(parseInt(e.text,10)),Object(ao["isDate"])(this.value)){var r=(this.value.getDay()-this.firstDayOfWeek+7)%7-1,o=Object(ao["prevDate"])(this.value,r);return o.getTime()===t.getTime()}return!1},markRange:function(e,t){e=aa(e),t=aa(t)||e;var n=[Math.min(e,t),Math.max(e,t)];e=n[0],t=n[1];for(var i=this.startDate,r=this.rows,o=0,a=r.length;o<a;o++)for(var s=r[o],l=0,u=s.length;l<u;l++)if(!this.showWeekNumber||0!==l){var c=s[l],h=7*o+l+(this.showWeekNumber?-1:0),d=Object(ao["nextDate"])(i,h-this.offsetDay).getTime();c.inRange=e&&d>=e&&d<=t,c.start=e&&d===e,c.end=t&&d===t}},handleMouseMove:function(e){if(this.rangeState.selecting){var t=e.target;if("SPAN"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var n=t.parentNode.rowIndex-1,i=t.cellIndex;this.rows[n][i].disabled||n===this.lastRow&&i===this.lastColumn||(this.lastRow=n,this.lastColumn=i,this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:this.getDateOfCell(n,i)}}))}}},handleClick:function(e){var t=e.target;if("SPAN"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var n=t.parentNode.rowIndex-1,i="week"===this.selectionMode?1:t.cellIndex,r=this.rows[n][i];if(!r.disabled&&"week"!==r.type){var o=this.getDateOfCell(n,i);if("range"===this.selectionMode)this.rangeState.selecting?(o>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:o}):this.$emit("pick",{minDate:o,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:o,maxDate:null}),this.rangeState.selecting=!0);else if("day"===this.selectionMode)this.$emit("pick",o);else if("week"===this.selectionMode){var a=Object(ao["getWeekNumber"])(o),s=o.getFullYear()+"w"+a;this.$emit("pick",{year:o.getFullYear(),week:a,value:s,date:o})}else if("dates"===this.selectionMode){var l=this.value||[],u=r.selected?sa(l,(function(e){return e.getTime()===o.getTime()})):[].concat(l,[o]);this.$emit("pick",u)}}}}}},ua=la,ca=s(ua,ia,ra,!1,null,null,null);ca.options.__file="packages/date-picker/src/basic/date-table.vue";var ha=ca.exports,da={mixins:[v.a],directives:{Clickoutside:B.a},watch:{showTime:function(e){var t=this;e&&this.$nextTick((function(e){var n=t.$refs.input.$el;n&&(t.pickerWidth=n.getBoundingClientRect().width+10)}))},value:function(e){"dates"===this.selectionMode&&this.value||"months"===this.selectionMode&&this.value||"years"===this.selectionMode&&this.value||(Object(ao["isDate"])(e)?this.date=new Date(e):this.date=this.getDefaultValue())},defaultValue:function(e){Object(ao["isDate"])(this.value)||(this.date=e?new Date(e):new Date)},timePickerVisible:function(e){var t=this;e&&this.$nextTick((function(){return t.$refs.timepicker.adjustSpinners()}))},selectionMode:function(e){"month"===e?"year"===this.currentView&&"month"===this.currentView||(this.currentView="month"):"dates"===e?this.currentView="date":"years"===e?this.currentView="year":"months"===e&&(this.currentView="month")}},methods:{proxyTimePickerDataProperties:function(){var e=this,t=function(t){e.$refs.timepicker.format=t},n=function(t){e.$refs.timepicker.value=t},i=function(t){e.$refs.timepicker.date=t},r=function(t){e.$refs.timepicker.selectableRange=t};this.$watch("value",n),this.$watch("date",i),this.$watch("selectableRange",r),t(this.timeFormat),n(this.value),i(this.date),r(this.selectableRange)},handleClear:function(){this.date=this.getDefaultValue(),this.$emit("pick",null)},emit:function(e){for(var t=this,n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];if(e)if(Array.isArray(e)){var o=e.map((function(e){return t.showTime?Object(ao["clearMilliseconds"])(e):Object(ao["clearTime"])(e)}));this.$emit.apply(this,["pick",o].concat(i))}else this.$emit.apply(this,["pick",this.showTime?Object(ao["clearMilliseconds"])(e):Object(ao["clearTime"])(e)].concat(i));else this.$emit.apply(this,["pick",e].concat(i));this.userInputDate=null,this.userInputTime=null},showMonthPicker:function(){this.currentView="month"},showYearPicker:function(){this.currentView="year"},prevMonth:function(){this.date=Object(ao["prevMonth"])(this.date)},nextMonth:function(){this.date=Object(ao["nextMonth"])(this.date)},prevYear:function(){"year"===this.currentView?this.date=Object(ao["prevYear"])(this.date,10):this.date=Object(ao["prevYear"])(this.date)},nextYear:function(){"year"===this.currentView?this.date=Object(ao["nextYear"])(this.date,10):this.date=Object(ao["nextYear"])(this.date)},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},handleTimePick:function(e,t,n){if(Object(ao["isDate"])(e)){var i=this.value?Object(ao["modifyTime"])(this.value,e.getHours(),e.getMinutes(),e.getSeconds()):Object(ao["modifyWithTimeString"])(this.getDefaultValue(),this.defaultTime);this.date=i,this.emit(this.date,!0)}else this.emit(e,!0);n||(this.timePickerVisible=t)},handleTimePickClose:function(){this.timePickerVisible=!1},handleMonthPick:function(e){"month"===this.selectionMode?(this.date=Object(ao["modifyDate"])(this.date,this.year,e,1),this.emit(this.date)):"months"===this.selectionMode?this.emit(e,!0):(this.date=Object(ao["changeYearMonthAndClampDate"])(this.date,this.year,e),this.currentView="date")},handleDatePick:function(e){if("day"===this.selectionMode){var t=this.value?Object(ao["modifyDate"])(this.value,e.getFullYear(),e.getMonth(),e.getDate()):Object(ao["modifyWithTimeString"])(e,this.defaultTime);this.checkDateWithinRange(t)||(t=Object(ao["modifyDate"])(this.selectableRange[0][0],e.getFullYear(),e.getMonth(),e.getDate())),this.date=t,this.emit(this.date,this.showTime)}else"week"===this.selectionMode?this.emit(e.date):"dates"===this.selectionMode&&this.emit(e,!0)},handleYearPick:function(e){"year"===this.selectionMode?(this.date=Object(ao["modifyDate"])(this.date,e,0,1),this.emit(this.date)):"years"===this.selectionMode?this.emit(e,!0):(this.date=Object(ao["changeYearMonthAndClampDate"])(this.date,e,this.month),this.currentView="month")},changeToNow:function(){this.disabledDate&&this.disabledDate(new Date)||!this.checkDateWithinRange(new Date)||(this.date=new Date,this.emit(this.date))},confirm:function(){if("dates"===this.selectionMode||"months"===this.selectionMode||"years"===this.selectionMode)this.emit(this.value);else{var e=this.value?this.value:Object(ao["modifyWithTimeString"])(this.getDefaultValue(),this.defaultTime);this.date=new Date(e),this.emit(e)}},resetView:function(){"month"===this.selectionMode||"months"===this.selectionMode?this.currentView="month":"year"===this.selectionMode||"years"===this.selectionMode?this.currentView="year":this.currentView="date"},handleEnter:function(){document.body.addEventListener("keydown",this.handleKeydown)},handleLeave:function(){this.$emit("dodestroy"),document.body.removeEventListener("keydown",this.handleKeydown)},handleKeydown:function(e){var t=e.keyCode,n=[38,40,37,39];this.visible&&!this.timePickerVisible&&(-1!==n.indexOf(t)&&(this.handleKeyControl(t),e.stopPropagation(),e.preventDefault()),13===t&&null===this.userInputDate&&null===this.userInputTime&&this.emit(this.date,!1))},handleKeyControl:function(e){var t={year:{38:-4,40:4,37:-1,39:1,offset:function(e,t){return e.setFullYear(e.getFullYear()+t)}},month:{38:-4,40:4,37:-1,39:1,offset:function(e,t){return e.setMonth(e.getMonth()+t)}},week:{38:-1,40:1,37:-1,39:1,offset:function(e,t){return e.setDate(e.getDate()+7*t)}},day:{38:-7,40:7,37:-1,39:1,offset:function(e,t){return e.setDate(e.getDate()+t)}}},n=this.selectionMode,i=31536e6,r=this.date.getTime(),o=new Date(this.date.getTime());while(Math.abs(r-o.getTime())<=i){var a=t[n];if(a.offset(o,a[e]),"function"!==typeof this.disabledDate||!this.disabledDate(o)){this.date=o,this.$emit("pick",o,!0);break}}},handleVisibleTimeChange:function(e){var t=Object(ao["parseDate"])(e,this.timeFormat);t&&this.checkDateWithinRange(t)&&(this.date=Object(ao["modifyDate"])(t,this.year,this.month,this.monthDate),this.userInputTime=null,this.$refs.timepicker.value=this.date,this.timePickerVisible=!1,this.emit(this.date,!0))},handleVisibleDateChange:function(e){var t=Object(ao["parseDate"])(e,this.dateFormat);if(t){if("function"===typeof this.disabledDate&&this.disabledDate(t))return;this.date=Object(ao["modifyTime"])(t,this.date.getHours(),this.date.getMinutes(),this.date.getSeconds()),this.userInputDate=null,this.resetView(),this.emit(this.date,!0)}},isValidValue:function(e){return e&&!isNaN(e)&&("function"!==typeof this.disabledDate||!this.disabledDate(e))&&this.checkDateWithinRange(e)},getDefaultValue:function(){return this.defaultValue?new Date(this.defaultValue):new Date},checkDateWithinRange:function(e){return!(this.selectableRange.length>0)||Object(ao["timeWithinRange"])(e,this.selectableRange,this.format||"HH:mm:ss")}},components:{TimePicker:Bo,YearTable:qo,MonthTable:na,DateTable:ha,ElInput:g.a,ElButton:ae.a},data:function(){return{popperClass:"",date:new Date,value:"",defaultValue:null,defaultTime:null,showTime:!1,selectionMode:"day",shortcuts:"",visible:!1,currentView:"date",disabledDate:"",cellClassName:"",selectableRange:[],firstDayOfWeek:7,showWeekNumber:!1,timePickerVisible:!1,format:"",arrowControl:!1,userInputDate:null,userInputTime:null}},computed:{year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},week:function(){return Object(ao["getWeekNumber"])(this.date)},monthDate:function(){return this.date.getDate()},footerVisible:function(){return this.showTime||"dates"===this.selectionMode||"months"===this.selectionMode||"years"===this.selectionMode},visibleTime:function(){return null!==this.userInputTime?this.userInputTime:Object(ao["formatDate"])(this.value||this.defaultValue,this.timeFormat)},visibleDate:function(){return null!==this.userInputDate?this.userInputDate:Object(ao["formatDate"])(this.value||this.defaultValue,this.dateFormat)},yearLabel:function(){var e=this.t("el.datepicker.year");if("year"===this.currentView){var t=10*Math.floor(this.year/10);return e?t+" "+e+" - "+(t+9)+" "+e:t+" - "+(t+9)}return this.year+" "+e},timeFormat:function(){return this.format?Object(ao["extractTimeFormat"])(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?Object(ao["extractDateFormat"])(this.format):"yyyy-MM-dd"}}},fa=da,pa=s(fa,Mo,To,!1,null,null,null);pa.options.__file="packages/date-picker/src/panel/date.vue";var ga=pa.exports,ma=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts,"has-time":e.showTime},e.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,(function(t,i){return n("button",{key:i,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})),0):e._e(),n("div",{staticClass:"el-picker-panel__body"},[e.showTime?n("div",{staticClass:"el-date-range-picker__time-header"},[n("span",{staticClass:"el-date-range-picker__editors-wrap"},[n("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{ref:"minInput",staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startDate"),value:e.minVisibleDate},on:{input:function(t){return e.handleDateInput(t,"min")},change:function(t){return e.handleDateChange(t,"min")}}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleMinTimeClose,expression:"handleMinTimeClose"}],staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startTime"),value:e.minVisibleTime},on:{focus:function(t){e.minTimePickerVisible=!0},input:function(t){return e.handleTimeInput(t,"min")},change:function(t){return e.handleTimeChange(t,"min")}}}),n("time-picker",{ref:"minTimePicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.minTimePickerVisible},on:{pick:e.handleMinTimePick,mounted:function(t){e.$refs.minTimePicker.format=e.timeFormat}}})],1)]),n("span",{staticClass:"el-icon-arrow-right"}),n("span",{staticClass:"el-date-range-picker__editors-wrap is-right"},[n("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endDate"),value:e.maxVisibleDate,readonly:!e.minDate},on:{input:function(t){return e.handleDateInput(t,"max")},change:function(t){return e.handleDateChange(t,"max")}}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleMaxTimeClose,expression:"handleMaxTimeClose"}],staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endTime"),value:e.maxVisibleTime,readonly:!e.minDate},on:{focus:function(t){e.minDate&&(e.maxTimePickerVisible=!0)},input:function(t){return e.handleTimeInput(t,"max")},change:function(t){return e.handleTimeChange(t,"max")}}}),n("time-picker",{ref:"maxTimePicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.maxTimePickerVisible},on:{pick:e.handleMaxTimePick,mounted:function(t){e.$refs.maxTimePicker.format=e.timeFormat}}})],1)])]):e._e(),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[n("div",{staticClass:"el-date-range-picker__header"},[n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevYear}}),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevMonth}}),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.leftNextYear}}):e._e(),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",class:{"is-disabled":!e.enableMonthArrow},attrs:{type:"button",disabled:!e.enableMonthArrow},on:{click:e.leftNextMonth}}):e._e(),n("div",[e._v(e._s(e.leftLabel))])]),n("date-table",{attrs:{"selection-mode":"range",date:e.leftDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,"first-day-of-week":e.firstDayOfWeek},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[n("div",{staticClass:"el-date-range-picker__header"},[e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.rightPrevYear}}):e._e(),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",class:{"is-disabled":!e.enableMonthArrow},attrs:{type:"button",disabled:!e.enableMonthArrow},on:{click:e.rightPrevMonth}}):e._e(),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:e.rightNextYear}}),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",attrs:{type:"button"},on:{click:e.rightNextMonth}}),n("div",[e._v(e._s(e.rightLabel))])]),n("date-table",{attrs:{"selection-mode":"range",date:e.rightDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,"first-day-of-week":e.firstDayOfWeek},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1)])],2),e.showTime?n("div",{staticClass:"el-picker-panel__footer"},[n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:e.handleClear}},[e._v("\n "+e._s(e.t("el.datepicker.clear"))+"\n ")]),n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini",disabled:e.btnDisabled},on:{click:function(t){e.handleConfirm(!1)}}},[e._v("\n "+e._s(e.t("el.datepicker.confirm"))+"\n ")])],1):e._e()])])},va=[];ma._withStripped=!0;var ya=function(e){return Array.isArray(e)?[new Date(e[0]),new Date(e[1])]:e?[new Date(e),Object(ao["nextDate"])(new Date(e),1)]:[new Date,Object(ao["nextDate"])(new Date,1)]},ba={mixins:[v.a],directives:{Clickoutside:B.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting&&this.isValidValue([this.minDate,this.maxDate]))},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.leftDate.getMonth()+1))},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.rightDate.getMonth()+1))},leftYear:function(){return this.leftDate.getFullYear()},leftMonth:function(){return this.leftDate.getMonth()},leftMonthDate:function(){return this.leftDate.getDate()},rightYear:function(){return this.rightDate.getFullYear()},rightMonth:function(){return this.rightDate.getMonth()},rightMonthDate:function(){return this.rightDate.getDate()},minVisibleDate:function(){return null!==this.dateUserInput.min?this.dateUserInput.min:this.minDate?Object(ao["formatDate"])(this.minDate,this.dateFormat):""},maxVisibleDate:function(){return null!==this.dateUserInput.max?this.dateUserInput.max:this.maxDate||this.minDate?Object(ao["formatDate"])(this.maxDate||this.minDate,this.dateFormat):""},minVisibleTime:function(){return null!==this.timeUserInput.min?this.timeUserInput.min:this.minDate?Object(ao["formatDate"])(this.minDate,this.timeFormat):""},maxVisibleTime:function(){return null!==this.timeUserInput.max?this.timeUserInput.max:this.maxDate||this.minDate?Object(ao["formatDate"])(this.maxDate||this.minDate,this.timeFormat):""},timeFormat:function(){return this.format?Object(ao["extractTimeFormat"])(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?Object(ao["extractDateFormat"])(this.format):"yyyy-MM-dd"},enableMonthArrow:function(){var e=(this.leftMonth+1)%12,t=this.leftMonth+1>=12?1:0;return this.unlinkPanels&&new Date(this.leftYear+t,e)<new Date(this.rightYear,this.rightMonth)},enableYearArrow:function(){return this.unlinkPanels&&12*this.rightYear+this.rightMonth-(12*this.leftYear+this.leftMonth+1)>=12}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:Object(ao["nextMonth"])(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},showTime:!1,shortcuts:"",visible:"",disabledDate:"",cellClassName:"",firstDayOfWeek:7,minTimePickerVisible:!1,maxTimePickerVisible:!1,format:"",arrowControl:!1,unlinkPanels:!1,dateUserInput:{min:null,max:null},timeUserInput:{min:null,max:null}}},watch:{minDate:function(e){var t=this;this.dateUserInput.min=null,this.timeUserInput.min=null,this.$nextTick((function(){if(t.$refs.maxTimePicker&&t.maxDate&&t.maxDate<t.minDate){var e="HH:mm:ss";t.$refs.maxTimePicker.selectableRange=[[Object(ao["parseDate"])(Object(ao["formatDate"])(t.minDate,e),e),Object(ao["parseDate"])("23:59:59",e)]]}})),e&&this.$refs.minTimePicker&&(this.$refs.minTimePicker.date=e,this.$refs.minTimePicker.value=e)},maxDate:function(e){this.dateUserInput.max=null,this.timeUserInput.max=null,e&&this.$refs.maxTimePicker&&(this.$refs.maxTimePicker.date=e,this.$refs.maxTimePicker.value=e)},minTimePickerVisible:function(e){var t=this;e&&this.$nextTick((function(){t.$refs.minTimePicker.date=t.minDate,t.$refs.minTimePicker.value=t.minDate,t.$refs.minTimePicker.adjustSpinners()}))},maxTimePickerVisible:function(e){var t=this;e&&this.$nextTick((function(){t.$refs.maxTimePicker.date=t.maxDate,t.$refs.maxTimePicker.value=t.maxDate,t.$refs.maxTimePicker.adjustSpinners()}))},value:function(e){if(e){if(Array.isArray(e))if(this.minDate=Object(ao["isDate"])(e[0])?new Date(e[0]):null,this.maxDate=Object(ao["isDate"])(e[1])?new Date(e[1]):null,this.minDate)if(this.leftDate=this.minDate,this.unlinkPanels&&this.maxDate){var t=this.minDate.getFullYear(),n=this.minDate.getMonth(),i=this.maxDate.getFullYear(),r=this.maxDate.getMonth();this.rightDate=t===i&&n===r?Object(ao["nextMonth"])(this.maxDate):this.maxDate}else this.rightDate=Object(ao["nextMonth"])(this.leftDate);else this.leftDate=ya(this.defaultValue)[0],this.rightDate=Object(ao["nextMonth"])(this.leftDate)}else this.minDate=null,this.maxDate=null},defaultValue:function(e){if(!Array.isArray(this.value)){var t=ya(e),n=t[0],i=t[1];this.leftDate=n,this.rightDate=e&&e[1]&&this.unlinkPanels?i:Object(ao["nextMonth"])(this.leftDate)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.leftDate=ya(this.defaultValue)[0],this.rightDate=Object(ao["nextMonth"])(this.leftDate),this.$emit("pick",null)},handleChangeRange:function(e){this.minDate=e.minDate,this.maxDate=e.maxDate,this.rangeState=e.rangeState},handleDateInput:function(e,t){if(this.dateUserInput[t]=e,e.length===this.dateFormat.length){var n=Object(ao["parseDate"])(e,this.dateFormat);if(n){if("function"===typeof this.disabledDate&&this.disabledDate(new Date(n)))return;"min"===t?(this.minDate=Object(ao["modifyDate"])(this.minDate||new Date,n.getFullYear(),n.getMonth(),n.getDate()),this.leftDate=new Date(n),this.unlinkPanels||(this.rightDate=Object(ao["nextMonth"])(this.leftDate))):(this.maxDate=Object(ao["modifyDate"])(this.maxDate||new Date,n.getFullYear(),n.getMonth(),n.getDate()),this.rightDate=new Date(n),this.unlinkPanels||(this.leftDate=Object(ao["prevMonth"])(n)))}}},handleDateChange:function(e,t){var n=Object(ao["parseDate"])(e,this.dateFormat);n&&("min"===t?(this.minDate=Object(ao["modifyDate"])(this.minDate,n.getFullYear(),n.getMonth(),n.getDate()),this.minDate>this.maxDate&&(this.maxDate=this.minDate)):(this.maxDate=Object(ao["modifyDate"])(this.maxDate,n.getFullYear(),n.getMonth(),n.getDate()),this.maxDate<this.minDate&&(this.minDate=this.maxDate)))},handleTimeInput:function(e,t){var n=this;if(this.timeUserInput[t]=e,e.length===this.timeFormat.length){var i=Object(ao["parseDate"])(e,this.timeFormat);i&&("min"===t?(this.minDate=Object(ao["modifyTime"])(this.minDate,i.getHours(),i.getMinutes(),i.getSeconds()),this.$nextTick((function(e){return n.$refs.minTimePicker.adjustSpinners()}))):(this.maxDate=Object(ao["modifyTime"])(this.maxDate,i.getHours(),i.getMinutes(),i.getSeconds()),this.$nextTick((function(e){return n.$refs.maxTimePicker.adjustSpinners()}))))}},handleTimeChange:function(e,t){var n=Object(ao["parseDate"])(e,this.timeFormat);n&&("min"===t?(this.minDate=Object(ao["modifyTime"])(this.minDate,n.getHours(),n.getMinutes(),n.getSeconds()),this.minDate>this.maxDate&&(this.maxDate=this.minDate),this.$refs.minTimePicker.value=this.minDate,this.minTimePickerVisible=!1):(this.maxDate=Object(ao["modifyTime"])(this.maxDate,n.getHours(),n.getMinutes(),n.getSeconds()),this.maxDate<this.minDate&&(this.minDate=this.maxDate),this.$refs.maxTimePicker.value=this.minDate,this.maxTimePickerVisible=!1))},handleRangePick:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.defaultTime||[],r=Object(ao["modifyWithTimeString"])(e.minDate,i[0]),o=Object(ao["modifyWithTimeString"])(e.maxDate,i[1]);this.maxDate===o&&this.minDate===r||(this.onPick&&this.onPick(e),this.maxDate=o,this.minDate=r,setTimeout((function(){t.maxDate=o,t.minDate=r}),10),n&&!this.showTime&&this.handleConfirm())},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},handleMinTimePick:function(e,t,n){this.minDate=this.minDate||new Date,e&&(this.minDate=Object(ao["modifyTime"])(this.minDate,e.getHours(),e.getMinutes(),e.getSeconds())),n||(this.minTimePickerVisible=t),(!this.maxDate||this.maxDate&&this.maxDate.getTime()<this.minDate.getTime())&&(this.maxDate=new Date(this.minDate))},handleMinTimeClose:function(){this.minTimePickerVisible=!1},handleMaxTimePick:function(e,t,n){this.maxDate&&e&&(this.maxDate=Object(ao["modifyTime"])(this.maxDate,e.getHours(),e.getMinutes(),e.getSeconds())),n||(this.maxTimePickerVisible=t),this.maxDate&&this.minDate&&this.minDate.getTime()>this.maxDate.getTime()&&(this.minDate=new Date(this.maxDate))},handleMaxTimeClose:function(){this.maxTimePickerVisible=!1},leftPrevYear:function(){this.leftDate=Object(ao["prevYear"])(this.leftDate),this.unlinkPanels||(this.rightDate=Object(ao["nextMonth"])(this.leftDate))},leftPrevMonth:function(){this.leftDate=Object(ao["prevMonth"])(this.leftDate),this.unlinkPanels||(this.rightDate=Object(ao["nextMonth"])(this.leftDate))},rightNextYear:function(){this.unlinkPanels?this.rightDate=Object(ao["nextYear"])(this.rightDate):(this.leftDate=Object(ao["nextYear"])(this.leftDate),this.rightDate=Object(ao["nextMonth"])(this.leftDate))},rightNextMonth:function(){this.unlinkPanels?this.rightDate=Object(ao["nextMonth"])(this.rightDate):(this.leftDate=Object(ao["nextMonth"])(this.leftDate),this.rightDate=Object(ao["nextMonth"])(this.leftDate))},leftNextYear:function(){this.leftDate=Object(ao["nextYear"])(this.leftDate)},leftNextMonth:function(){this.leftDate=Object(ao["nextMonth"])(this.leftDate)},rightPrevYear:function(){this.rightDate=Object(ao["prevYear"])(this.rightDate)},rightPrevMonth:function(){this.rightDate=Object(ao["prevMonth"])(this.rightDate)},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isValidValue([this.minDate,this.maxDate])&&this.$emit("pick",[this.minDate,this.maxDate],e)},isValidValue:function(e){return Array.isArray(e)&&e&&e[0]&&e[1]&&Object(ao["isDate"])(e[0])&&Object(ao["isDate"])(e[1])&&e[0].getTime()<=e[1].getTime()&&("function"!==typeof this.disabledDate||!this.disabledDate(e[0])&&!this.disabledDate(e[1]))},resetView:function(){this.minDate&&null==this.maxDate&&(this.rangeState.selecting=!1),this.minDate=this.value&&Object(ao["isDate"])(this.value[0])?new Date(this.value[0]):null,this.maxDate=this.value&&Object(ao["isDate"])(this.value[0])?new Date(this.value[1]):null}},components:{TimePicker:Bo,DateTable:ha,ElInput:g.a,ElButton:ae.a}},xa=ba,_a=s(xa,ma,va,!1,null,null,null);_a.options.__file="packages/date-picker/src/panel/date-range.vue";var wa=_a.exports,Ca=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts},e.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,(function(t,i){return n("button",{key:i,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})),0):e._e(),n("div",{staticClass:"el-picker-panel__body"},[n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[n("div",{staticClass:"el-date-range-picker__header"},[n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevYear}}),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.leftNextYear}}):e._e(),n("div",[e._v(e._s(e.leftLabel))])]),n("month-table",{attrs:{"selection-mode":"range",date:e.leftDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[n("div",{staticClass:"el-date-range-picker__header"},[e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.rightPrevYear}}):e._e(),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:e.rightNextYear}}),n("div",[e._v(e._s(e.rightLabel))])]),n("month-table",{attrs:{"selection-mode":"range",date:e.rightDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1)])],2)])])},Sa=[];Ca._withStripped=!0;var ka=function(e){return Array.isArray(e)?[new Date(e[0]),new Date(e[1])]:e?[new Date(e),Object(ao["nextMonth"])(new Date(e))]:[new Date,Object(ao["nextMonth"])(new Date)]},Ma={mixins:[v.a],directives:{Clickoutside:B.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting&&this.isValidValue([this.minDate,this.maxDate]))},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")},leftYear:function(){return this.leftDate.getFullYear()},rightYear:function(){return this.rightDate.getFullYear()===this.leftDate.getFullYear()?this.leftDate.getFullYear()+1:this.rightDate.getFullYear()},enableYearArrow:function(){return this.unlinkPanels&&this.rightYear>this.leftYear+1}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:Object(ao["nextYear"])(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},shortcuts:"",visible:"",disabledDate:"",format:"",arrowControl:!1,unlinkPanels:!1}},watch:{value:function(e){if(e){if(Array.isArray(e))if(this.minDate=Object(ao["isDate"])(e[0])?new Date(e[0]):null,this.maxDate=Object(ao["isDate"])(e[1])?new Date(e[1]):null,this.minDate)if(this.leftDate=this.minDate,this.unlinkPanels&&this.maxDate){var t=this.minDate.getFullYear(),n=this.maxDate.getFullYear();this.rightDate=t===n?Object(ao["nextYear"])(this.maxDate):this.maxDate}else this.rightDate=Object(ao["nextYear"])(this.leftDate);else this.leftDate=ka(this.defaultValue)[0],this.rightDate=Object(ao["nextYear"])(this.leftDate)}else this.minDate=null,this.maxDate=null},defaultValue:function(e){if(!Array.isArray(this.value)){var t=ka(e),n=t[0],i=t[1];this.leftDate=n,this.rightDate=e&&e[1]&&n.getFullYear()!==i.getFullYear()&&this.unlinkPanels?i:Object(ao["nextYear"])(this.leftDate)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.leftDate=ka(this.defaultValue)[0],this.rightDate=Object(ao["nextYear"])(this.leftDate),this.$emit("pick",null)},handleChangeRange:function(e){this.minDate=e.minDate,this.maxDate=e.maxDate,this.rangeState=e.rangeState},handleRangePick:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.defaultTime||[],r=Object(ao["modifyWithTimeString"])(e.minDate,i[0]),o=Object(ao["modifyWithTimeString"])(e.maxDate,i[1]);this.maxDate===o&&this.minDate===r||(this.onPick&&this.onPick(e),this.maxDate=o,this.minDate=r,setTimeout((function(){t.maxDate=o,t.minDate=r}),10),n&&this.handleConfirm())},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},leftPrevYear:function(){this.leftDate=Object(ao["prevYear"])(this.leftDate),this.unlinkPanels||(this.rightDate=Object(ao["prevYear"])(this.rightDate))},rightNextYear:function(){this.unlinkPanels||(this.leftDate=Object(ao["nextYear"])(this.leftDate)),this.rightDate=Object(ao["nextYear"])(this.rightDate)},leftNextYear:function(){this.leftDate=Object(ao["nextYear"])(this.leftDate)},rightPrevYear:function(){this.rightDate=Object(ao["prevYear"])(this.rightDate)},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isValidValue([this.minDate,this.maxDate])&&this.$emit("pick",[this.minDate,this.maxDate],e)},isValidValue:function(e){return Array.isArray(e)&&e&&e[0]&&e[1]&&Object(ao["isDate"])(e[0])&&Object(ao["isDate"])(e[1])&&e[0].getTime()<=e[1].getTime()&&("function"!==typeof this.disabledDate||!this.disabledDate(e[0])&&!this.disabledDate(e[1]))},resetView:function(){this.minDate=this.value&&Object(ao["isDate"])(this.value[0])?new Date(this.value[0]):null,this.maxDate=this.value&&Object(ao["isDate"])(this.value[0])?new Date(this.value[1]):null}},components:{MonthTable:na,ElInput:g.a,ElButton:ae.a}},Ta=Ma,Ea=s(Ta,Ca,Sa,!1,null,null,null);Ea.options.__file="packages/date-picker/src/panel/month-range.vue";var Da=Ea.exports,Pa=function(e){return"daterange"===e||"datetimerange"===e?wa:"monthrange"===e?Da:ga},Oa={mixins:[ko],name:"ElDatePicker",props:{type:{type:String,default:"date"},timeArrowControl:Boolean},watch:{type:function(e){this.picker?(this.unmountPicker(),this.panel=Pa(e),this.mountPicker()):this.panel=Pa(e)}},created:function(){this.panel=Pa(this.type)},install:function(e){e.component(Oa.name,Oa)}},Ia=Oa,Aa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],ref:"popper",staticClass:"el-picker-panel time-select el-popper",class:e.popperClass,style:{width:e.width+"px"}},[n("el-scrollbar",{attrs:{noresize:"","wrap-class":"el-picker-panel__content"}},e._l(e.items,(function(t){return n("div",{key:t.value,staticClass:"time-select-item",class:{selected:e.value===t.value,disabled:t.disabled,default:t.value===e.defaultValue},attrs:{disabled:t.disabled},on:{click:function(n){e.handleClick(t)}}},[e._v(e._s(t.value))])})),0)],1)])},La=[];Aa._withStripped=!0;var Na=function(e){var t=(e||"").split(":");if(t.length>=2){var n=parseInt(t[0],10),i=parseInt(t[1],10);return{hours:n,minutes:i}}return null},Ra=function(e,t){var n=Na(e),i=Na(t),r=n.minutes+60*n.hours,o=i.minutes+60*i.hours;return r===o?0:r>o?1:-1},za=function(e){return(e.hours<10?"0"+e.hours:e.hours)+":"+(e.minutes<10?"0"+e.minutes:e.minutes)},$a=function(e,t){var n=Na(e),i=Na(t),r={hours:n.hours,minutes:n.minutes};return r.minutes+=i.minutes,r.hours+=i.hours,r.hours+=Math.floor(r.minutes/60),r.minutes=r.minutes%60,za(r)},Ba={components:{ElScrollbar:G.a},watch:{value:function(e){var t=this;e&&this.$nextTick((function(){return t.scrollToOption()}))}},methods:{handleClick:function(e){e.disabled||this.$emit("pick",e.value)},handleClear:function(){this.$emit("pick",null)},scrollToOption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".selected",t=this.$refs.popper.querySelector(".el-picker-panel__content");ni()(t,t.querySelector(e))},handleMenuEnter:function(){var e=this,t=-1!==this.items.map((function(e){return e.value})).indexOf(this.value),n=-1!==this.items.map((function(e){return e.value})).indexOf(this.defaultValue),i=(t?".selected":n&&".default")||".time-select-item:not(.disabled)";this.$nextTick((function(){return e.scrollToOption(i)}))},scrollDown:function(e){var t=this.items,n=t.length,i=t.length,r=t.map((function(e){return e.value})).indexOf(this.value);while(i--)if(r=(r+e+n)%n,!t[r].disabled)return void this.$emit("pick",t[r].value,!0)},isValidValue:function(e){return-1!==this.items.filter((function(e){return!e.disabled})).map((function(e){return e.value})).indexOf(e)},handleKeydown:function(e){var t=e.keyCode;if(38===t||40===t){var n={40:1,38:-1},i=n[t.toString()];return this.scrollDown(i),void e.stopPropagation()}}},data:function(){return{popperClass:"",start:"09:00",end:"18:00",step:"00:30",value:"",defaultValue:"",visible:!1,minTime:"",maxTime:"",width:0}},computed:{items:function(){var e=this.start,t=this.end,n=this.step,i=[];if(e&&t&&n){var r=e;while(Ra(r,t)<=0)i.push({value:r,disabled:Ra(r,this.minTime||"-1:-1")<=0||Ra(r,this.maxTime||"100:100")>=0}),r=$a(r,n)}return i}}},Fa=Ba,ja=s(Fa,Aa,La,!1,null,null,null);ja.options.__file="packages/date-picker/src/panel/time-select.vue";var Va=ja.exports,Ha={mixins:[ko],name:"ElTimeSelect",componentName:"ElTimeSelect",props:{type:{type:String,default:"time-select"}},beforeCreate:function(){this.panel=Va},install:function(e){e.component(Ha.name,Ha)}},Wa=Ha,Ga=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-time-range-picker el-picker-panel el-popper",class:e.popperClass},[n("div",{staticClass:"el-time-range-picker__content"},[n("div",{staticClass:"el-time-range-picker__cell"},[n("div",{staticClass:"el-time-range-picker__header"},[e._v(e._s(e.t("el.datepicker.startTime")))]),n("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":e.showSeconds,"is-arrow":e.arrowControl}},[n("time-spinner",{ref:"minSpinner",attrs:{"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,date:e.minDate},on:{change:e.handleMinChange,"select-range":e.setMinSelectionRange}})],1)]),n("div",{staticClass:"el-time-range-picker__cell"},[n("div",{staticClass:"el-time-range-picker__header"},[e._v(e._s(e.t("el.datepicker.endTime")))]),n("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":e.showSeconds,"is-arrow":e.arrowControl}},[n("time-spinner",{ref:"maxSpinner",attrs:{"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,date:e.maxDate},on:{change:e.handleMaxChange,"select-range":e.setMaxSelectionRange}})],1)])]),n("div",{staticClass:"el-time-panel__footer"},[n("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:function(t){e.handleCancel()}}},[e._v(e._s(e.t("el.datepicker.cancel")))]),n("button",{staticClass:"el-time-panel__btn confirm",attrs:{type:"button",disabled:e.btnDisabled},on:{click:function(t){e.handleConfirm()}}},[e._v(e._s(e.t("el.datepicker.confirm")))])])])])},qa=[];Ga._withStripped=!0;var Ua=Object(ao["parseDate"])("00:00:00","HH:mm:ss"),Ya=Object(ao["parseDate"])("23:59:59","HH:mm:ss"),Xa=function(e){return Object(ao["modifyDate"])(Ua,e.getFullYear(),e.getMonth(),e.getDate())},Za=function(e){return Object(ao["modifyDate"])(Ya,e.getFullYear(),e.getMonth(),e.getDate())},Ka=function(e,t){return new Date(Math.min(e.getTime()+t,Za(e).getTime()))},Qa={mixins:[v.a],components:{TimeSpinner:No},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},offset:function(){return this.showSeconds?11:8},spinner:function(){return this.selectionRange[0]<this.offset?this.$refs.minSpinner:this.$refs.maxSpinner},btnDisabled:function(){return this.minDate.getTime()>this.maxDate.getTime()},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},data:function(){return{popperClass:"",minDate:new Date,maxDate:new Date,value:[],oldValue:[new Date,new Date],defaultValue:null,format:"HH:mm:ss",visible:!1,selectionRange:[0,2],arrowControl:!1}},watch:{value:function(e){Array.isArray(e)?(this.minDate=new Date(e[0]),this.maxDate=new Date(e[1])):Array.isArray(this.defaultValue)?(this.minDate=new Date(this.defaultValue[0]),this.maxDate=new Date(this.defaultValue[1])):this.defaultValue?(this.minDate=new Date(this.defaultValue),this.maxDate=Ka(new Date(this.defaultValue),36e5)):(this.minDate=new Date,this.maxDate=Ka(new Date,36e5))},visible:function(e){var t=this;e&&(this.oldValue=this.value,this.$nextTick((function(){return t.$refs.minSpinner.emitSelectRange("hours")})))}},methods:{handleClear:function(){this.$emit("pick",null)},handleCancel:function(){this.$emit("pick",this.oldValue)},handleMinChange:function(e){this.minDate=Object(ao["clearMilliseconds"])(e),this.handleChange()},handleMaxChange:function(e){this.maxDate=Object(ao["clearMilliseconds"])(e),this.handleChange()},handleChange:function(){this.isValidValue([this.minDate,this.maxDate])&&(this.$refs.minSpinner.selectableRange=[[Xa(this.minDate),this.maxDate]],this.$refs.maxSpinner.selectableRange=[[this.minDate,Za(this.maxDate)]],this.$emit("pick",[this.minDate,this.maxDate],!0))},setMinSelectionRange:function(e,t){this.$emit("select-range",e,t,"min"),this.selectionRange=[e,t]},setMaxSelectionRange:function(e,t){this.$emit("select-range",e,t,"max"),this.selectionRange=[e+this.offset,t+this.offset]},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.$refs.minSpinner.selectableRange,n=this.$refs.maxSpinner.selectableRange;this.minDate=Object(ao["limitTimeRange"])(this.minDate,t,this.format),this.maxDate=Object(ao["limitTimeRange"])(this.maxDate,n,this.format),this.$emit("pick",[this.minDate,this.maxDate],e)},adjustSpinners:function(){this.$refs.minSpinner.adjustSpinners(),this.$refs.maxSpinner.adjustSpinners()},changeSelectionRange:function(e){var t=this.showSeconds?[0,3,6,11,14,17]:[0,3,8,11],n=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),i=t.indexOf(this.selectionRange[0]),r=(i+e+t.length)%t.length,o=t.length/2;r<o?this.$refs.minSpinner.emitSelectRange(n[r]):this.$refs.maxSpinner.emitSelectRange(n[r-o])},isValidValue:function(e){return Array.isArray(e)&&Object(ao["timeWithinRange"])(this.minDate,this.$refs.minSpinner.selectableRange)&&Object(ao["timeWithinRange"])(this.maxDate,this.$refs.maxSpinner.selectableRange)},handleKeydown:function(e){var t=e.keyCode,n={38:-1,40:1,37:-1,39:1};if(37===t||39===t){var i=n[t];return this.changeSelectionRange(i),void e.preventDefault()}if(38===t||40===t){var r=n[t];return this.spinner.scrollDown(r),void e.preventDefault()}}}},Ja=Qa,es=s(Ja,Ga,qa,!1,null,null,null);es.options.__file="packages/date-picker/src/panel/time-range.vue";var ts=es.exports,ns={mixins:[ko],name:"ElTimePicker",props:{isRange:Boolean,arrowControl:Boolean},data:function(){return{type:""}},watch:{isRange:function(e){this.picker?(this.unmountPicker(),this.type=e?"timerange":"time",this.panel=e?ts:Bo,this.mountPicker()):(this.type=e?"timerange":"time",this.panel=e?ts:Bo)}},created:function(){this.type=this.isRange?"timerange":"time",this.panel=this.isRange?ts:Bo},install:function(e){e.component(ns.name,ns)}},is=ns,rs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[e.popperClass,e.content&&"el-popover--plain"],style:{width:e.width+"px"},attrs:{role:"tooltip",id:e.tooltipId,"aria-hidden":e.disabled||!e.showPopper?"true":"false"}},[e.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",[e._v(e._s(e.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[e._t("reference")],2)],1)},os=[];rs._withStripped=!0;var as={name:"ElPopover",mixins:[H.a],props:{trigger:{type:String,default:"click",validator:function(e){return["click","focus","hover","manual"].indexOf(e)>-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(y["generateId"])()}},watch:{showPopper:function(e){this.disabled||(e?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var e=this,t=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),t&&(Object($e["addClass"])(t,"el-popover__reference"),t.setAttribute("aria-describedby",this.tooltipId),t.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object($e["on"])(t,"focusin",(function(){e.handleFocus();var n=t.__vue__;n&&"function"===typeof n.focus&&n.focus()})),Object($e["on"])(n,"focusin",this.handleFocus),Object($e["on"])(t,"focusout",this.handleBlur),Object($e["on"])(n,"focusout",this.handleBlur)),Object($e["on"])(t,"keydown",this.handleKeydown),Object($e["on"])(t,"click",this.handleClick)),"click"===this.trigger?(Object($e["on"])(t,"click",this.doToggle),Object($e["on"])(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object($e["on"])(t,"mouseenter",this.handleMouseEnter),Object($e["on"])(n,"mouseenter",this.handleMouseEnter),Object($e["on"])(t,"mouseleave",this.handleMouseLeave),Object($e["on"])(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),t.querySelector("input, textarea")?(Object($e["on"])(t,"focusin",this.doShow),Object($e["on"])(t,"focusout",this.doClose)):(Object($e["on"])(t,"mousedown",this.doShow),Object($e["on"])(t,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object($e["addClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object($e["removeClass"])(this.referenceElm,"focusing")},handleBlur:function(){Object($e["removeClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var e=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout((function(){e.showPopper=!0}),this.openDelay):this.showPopper=!0},handleKeydown:function(e){27===e.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var e=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout((function(){e.showPopper=!1}),this.closeDelay):this.showPopper=!1},handleDocumentClick:function(e){var t=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&t&&!this.$el.contains(e.target)&&!t.contains(e.target)&&n&&!n.contains(e.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var e=this.reference;Object($e["off"])(e,"click",this.doToggle),Object($e["off"])(e,"mouseup",this.doClose),Object($e["off"])(e,"mousedown",this.doShow),Object($e["off"])(e,"focusin",this.doShow),Object($e["off"])(e,"focusout",this.doClose),Object($e["off"])(e,"mousedown",this.doShow),Object($e["off"])(e,"mouseup",this.doClose),Object($e["off"])(e,"mouseleave",this.handleMouseLeave),Object($e["off"])(e,"mouseenter",this.handleMouseEnter),Object($e["off"])(document,"click",this.handleDocumentClick)}},ss=as,ls=s(ss,rs,os,!1,null,null,null);ls.options.__file="packages/popover/src/main.vue";var us=ls.exports,cs=function(e,t,n){var i=t.expression?t.value:t.arg,r=n.context.$refs[i];r&&(Array.isArray(r)?r[0].$refs.reference=e:r.$refs.reference=e)},hs={bind:function(e,t,n){cs(e,t,n)},inserted:function(e,t,n){cs(e,t,n)}};Vi.a.directive("popover",hs),us.install=function(e){e.directive("popover",hs),e.component(us.name,us)},us.directive=hs;var ds=us,fs={name:"ElTooltip",mixins:[H.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(y["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new Vi.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=z()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object($e["on"])(this.referenceElm,"mouseenter",this.show),Object($e["on"])(this.referenceElm,"mouseleave",this.hide),Object($e["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object($e["on"])(this.referenceElm,"blur",this.handleBlur),Object($e["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object($e["addClass"])(this.referenceElm,"focusing"):Object($e["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n<e.length;n++)if(e[n]&&e[n].tag){t=e[n];break}return t}},beforeDestroy:function(){this.popperVM&&this.popperVM.$destroy()},destroyed:function(){var e=this.referenceElm;1===e.nodeType&&(Object($e["off"])(e,"mouseenter",this.show),Object($e["off"])(e,"mouseleave",this.hide),Object($e["off"])(e,"focus",this.handleFocus),Object($e["off"])(e,"blur",this.handleBlur),Object($e["off"])(e,"click",this.removeFocusing))},install:function(e){e.component(fs.name,fs)}},ps=fs,gs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"msgbox-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-message-box__wrapper",attrs:{tabindex:"-1",role:"dialog","aria-modal":"true","aria-label":e.title||"dialog"},on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[n("div",{staticClass:"el-message-box",class:[e.customClass,e.center&&"el-message-box--center"]},[null!==e.title?n("div",{staticClass:"el-message-box__header"},[n("div",{staticClass:"el-message-box__title"},[e.icon&&e.center?n("div",{class:["el-message-box__status",e.icon]}):e._e(),n("span",[e._v(e._s(e.title))])]),e.showClose?n("button",{staticClass:"el-message-box__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:function(t){e.handleAction(e.distinguishCancelAndClose?"close":"cancel")},keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.handleAction(e.distinguishCancelAndClose?"close":"cancel")}}},[n("i",{staticClass:"el-message-box__close el-icon-close"})]):e._e()]):e._e(),n("div",{staticClass:"el-message-box__content"},[n("div",{staticClass:"el-message-box__container"},[e.icon&&!e.center&&""!==e.message?n("div",{class:["el-message-box__status",e.icon]}):e._e(),""!==e.message?n("div",{staticClass:"el-message-box__message"},[e._t("default",[e.dangerouslyUseHTMLString?n("p",{domProps:{innerHTML:e._s(e.message)}}):n("p",[e._v(e._s(e.message))])])],2):e._e()]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showInput,expression:"showInput"}],staticClass:"el-message-box__input"},[n("el-input",{ref:"input",attrs:{type:e.inputType,placeholder:e.inputPlaceholder},nativeOn:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleInputEnter(t)}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}),n("div",{staticClass:"el-message-box__errormsg",style:{visibility:e.editorErrorMessage?"visible":"hidden"}},[e._v(e._s(e.editorErrorMessage))])],1)]),n("div",{staticClass:"el-message-box__btns"},[e.showCancelButton?n("el-button",{class:[e.cancelButtonClasses],attrs:{loading:e.cancelButtonLoading,round:e.roundButton,size:"small"},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.handleAction("cancel")}},nativeOn:{click:function(t){e.handleAction("cancel")}}},[e._v("\n "+e._s(e.cancelButtonText||e.t("el.messagebox.cancel"))+"\n ")]):e._e(),n("el-button",{directives:[{name:"show",rawName:"v-show",value:e.showConfirmButton,expression:"showConfirmButton"}],ref:"confirm",class:[e.confirmButtonClasses],attrs:{loading:e.confirmButtonLoading,round:e.roundButton,size:"small"},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.handleAction("confirm")}},nativeOn:{click:function(t){e.handleAction("confirm")}}},[e._v("\n "+e._s(e.confirmButtonText||e.t("el.messagebox.confirm"))+"\n ")])],1)])])])},ms=[];gs._withStripped=!0;var vs=n(12),ys=n.n(vs),bs=n(40),xs=n.n(bs),_s=void 0,ws={success:"success",info:"info",warning:"warning",error:"error"},Cs={mixins:[S.a,v.a],props:{modal:{default:!0},lockScroll:{default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{default:!0},closeOnPressEscape:{default:!0},closeOnHashChange:{default:!0},center:{default:!1,type:Boolean},roundButton:{default:!1,type:Boolean}},components:{ElInput:g.a,ElButton:ae.a},computed:{icon:function(){var e=this.type,t=this.iconClass;return t||(e&&ws[e]?"el-icon-"+ws[e]:"")},confirmButtonClasses:function(){return"el-button--primary "+this.confirmButtonClass},cancelButtonClasses:function(){return""+this.cancelButtonClass}},methods:{getSafeClose:function(){var e=this,t=this.uid;return function(){e.$nextTick((function(){t===e.uid&&e.doClose()}))}},doClose:function(){var e=this;this.visible&&(this.visible=!1,this._closing=!0,this.onClose&&this.onClose(),_s.closeDialog(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose(),setTimeout((function(){e.action&&e.callback(e.action,e)})))},handleWrapperClick:function(){this.closeOnClickModal&&this.handleAction(this.distinguishCancelAndClose?"close":"cancel")},handleInputEnter:function(){if("textarea"!==this.inputType)return this.handleAction("confirm")},handleAction:function(e){("prompt"!==this.$type||"confirm"!==e||this.validate())&&(this.action=e,"function"===typeof this.beforeClose?(this.close=this.getSafeClose(),this.beforeClose(e,this,this.close)):this.doClose())},validate:function(){if("prompt"===this.$type){var e=this.inputPattern;if(e&&!e.test(this.inputValue||""))return this.editorErrorMessage=this.inputErrorMessage||Object(vs["t"])("el.messagebox.error"),Object($e["addClass"])(this.getInputElement(),"invalid"),!1;var t=this.inputValidator;if("function"===typeof t){var n=t(this.inputValue);if(!1===n)return this.editorErrorMessage=this.inputErrorMessage||Object(vs["t"])("el.messagebox.error"),Object($e["addClass"])(this.getInputElement(),"invalid"),!1;if("string"===typeof n)return this.editorErrorMessage=n,Object($e["addClass"])(this.getInputElement(),"invalid"),!1}}return this.editorErrorMessage="",Object($e["removeClass"])(this.getInputElement(),"invalid"),!0},getFirstFocus:function(){var e=this.$el.querySelector(".el-message-box__btns .el-button"),t=this.$el.querySelector(".el-message-box__btns .el-message-box__title");return e||t},getInputElement:function(){var e=this.$refs.input.$refs;return e.input||e.textarea},handleClose:function(){this.handleAction("close")}},watch:{inputValue:{immediate:!0,handler:function(e){var t=this;this.$nextTick((function(n){"prompt"===t.$type&&null!==e&&t.validate()}))}},visible:function(e){var t=this;e&&(this.uid++,"alert"!==this.$type&&"confirm"!==this.$type||this.$nextTick((function(){t.$refs.confirm.$el.focus()})),this.focusAfterClosed=document.activeElement,_s=new xs.a(this.$el,this.focusAfterClosed,this.getFirstFocus())),"prompt"===this.$type&&(e?setTimeout((function(){t.$refs.input&&t.$refs.input.$el&&t.getInputElement().focus()}),500):(this.editorErrorMessage="",Object($e["removeClass"])(this.getInputElement(),"invalid")))}},mounted:function(){var e=this;this.$nextTick((function(){e.closeOnHashChange&&window.addEventListener("hashchange",e.close)}))},beforeDestroy:function(){this.closeOnHashChange&&window.removeEventListener("hashchange",this.close),setTimeout((function(){_s.closeDialog()}))},data:function(){return{uid:1,title:void 0,message:"",type:"",iconClass:"",customClass:"",showInput:!1,inputValue:null,inputPlaceholder:"",inputType:"text",inputPattern:null,inputValidator:null,inputErrorMessage:"",showConfirmButton:!0,showCancelButton:!1,action:"",confirmButtonText:"",cancelButtonText:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonClass:"",confirmButtonDisabled:!1,cancelButtonClass:"",editorErrorMessage:null,callback:null,dangerouslyUseHTMLString:!1,focusAfterClosed:null,isOnComposition:!1,distinguishCancelAndClose:!1}}},Ss=Cs,ks=s(Ss,gs,ms,!1,null,null,null);ks.options.__file="packages/message-box/src/main.vue";var Ms=ks.exports,Ts=n(22),Es="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ds={title:null,message:"",type:"",iconClass:"",showInput:!1,showClose:!0,modalFade:!0,lockScroll:!0,closeOnClickModal:!0,closeOnPressEscape:!0,closeOnHashChange:!0,inputValue:null,inputPlaceholder:"",inputType:"text",inputPattern:null,inputValidator:null,inputErrorMessage:"",showConfirmButton:!0,showCancelButton:!1,confirmButtonPosition:"right",confirmButtonHighlight:!1,cancelButtonHighlight:!1,confirmButtonText:"",cancelButtonText:"",confirmButtonClass:"",cancelButtonClass:"",customClass:"",beforeClose:null,dangerouslyUseHTMLString:!1,center:!1,roundButton:!1,distinguishCancelAndClose:!1},Ps=Vi.a.extend(Ms),Os=void 0,Is=void 0,As=[],Ls=function(e){if(Os){var t=Os.callback;"function"===typeof t&&(Is.showInput?t(Is.inputValue,e):t(e)),Os.resolve&&("confirm"===e?Is.showInput?Os.resolve({value:Is.inputValue,action:e}):Os.resolve(e):!Os.reject||"cancel"!==e&&"close"!==e||Os.reject(e))}},Ns=function(){Is=new Ps({el:document.createElement("div")}),Is.callback=Ls},Rs=function e(){if(Is||Ns(),Is.action="",(!Is.visible||Is.closeTimer)&&As.length>0){Os=As.shift();var t=Os.options;for(var n in t)t.hasOwnProperty(n)&&(Is[n]=t[n]);void 0===t.callback&&(Is.callback=Ls);var i=Is.callback;Is.callback=function(t,n){i(t,n),e()},Object(Ts["isVNode"])(Is.message)?(Is.$slots.default=[Is.message],Is.message=null):delete Is.$slots.default,["modal","showClose","closeOnClickModal","closeOnPressEscape","closeOnHashChange"].forEach((function(e){void 0===Is[e]&&(Is[e]=!0)})),document.body.appendChild(Is.$el),Vi.a.nextTick((function(){Is.visible=!0}))}},zs=function e(t,n){if(!Vi.a.prototype.$isServer){if("string"===typeof t||Object(Ts["isVNode"])(t)?(t={message:t},"string"===typeof arguments[1]&&(t.title=arguments[1])):t.callback&&!n&&(n=t.callback),"undefined"!==typeof Promise)return new Promise((function(i,r){As.push({options:kt()({},Ds,e.defaults,t),callback:n,resolve:i,reject:r}),Rs()}));As.push({options:kt()({},Ds,e.defaults,t),callback:n}),Rs()}};zs.setDefaults=function(e){zs.defaults=e},zs.alert=function(e,t,n){return"object"===("undefined"===typeof t?"undefined":Es(t))?(n=t,t=""):void 0===t&&(t=""),zs(kt()({title:t,message:e,$type:"alert",closeOnPressEscape:!1,closeOnClickModal:!1},n))},zs.confirm=function(e,t,n){return"object"===("undefined"===typeof t?"undefined":Es(t))?(n=t,t=""):void 0===t&&(t=""),zs(kt()({title:t,message:e,$type:"confirm",showCancelButton:!0},n))},zs.prompt=function(e,t,n){return"object"===("undefined"===typeof t?"undefined":Es(t))?(n=t,t=""):void 0===t&&(t=""),zs(kt()({title:t,message:e,showCancelButton:!0,showInput:!0,$type:"prompt"},n))},zs.close=function(){Is.doClose(),Is.visible=!1,As=[],Os=null};var $s=zs,Bs=$s,Fs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-breadcrumb",attrs:{"aria-label":"Breadcrumb",role:"navigation"}},[e._t("default")],2)},js=[];Fs._withStripped=!0;var Vs={name:"ElBreadcrumb",props:{separator:{type:String,default:"/"},separatorClass:{type:String,default:""}},provide:function(){return{elBreadcrumb:this}},mounted:function(){var e=this.$el.querySelectorAll(".el-breadcrumb__item");e.length&&e[e.length-1].setAttribute("aria-current","page")}},Hs=Vs,Ws=s(Hs,Fs,js,!1,null,null,null);Ws.options.__file="packages/breadcrumb/src/breadcrumb.vue";var Gs=Ws.exports;Gs.install=function(e){e.component(Gs.name,Gs)};var qs=Gs,Us=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"el-breadcrumb__item"},[n("span",{ref:"link",class:["el-breadcrumb__inner",e.to?"is-link":""],attrs:{role:"link"}},[e._t("default")],2),e.separatorClass?n("i",{staticClass:"el-breadcrumb__separator",class:e.separatorClass}):n("span",{staticClass:"el-breadcrumb__separator",attrs:{role:"presentation"}},[e._v(e._s(e.separator))])])},Ys=[];Us._withStripped=!0;var Xs={name:"ElBreadcrumbItem",props:{to:{},replace:Boolean},data:function(){return{separator:"",separatorClass:""}},inject:["elBreadcrumb"],mounted:function(){var e=this;this.separator=this.elBreadcrumb.separator,this.separatorClass=this.elBreadcrumb.separatorClass;var t=this.$refs.link;t.setAttribute("role","link"),t.addEventListener("click",(function(t){var n=e.to,i=e.$router;n&&i&&(e.replace?i.replace(n):i.push(n))}))}},Zs=Xs,Ks=s(Zs,Us,Ys,!1,null,null,null);Ks.options.__file="packages/breadcrumb/src/breadcrumb-item.vue";var Qs=Ks.exports;Qs.install=function(e){e.component(Qs.name,Qs)};var Js=Qs,el=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{staticClass:"el-form",class:[e.labelPosition?"el-form--label-"+e.labelPosition:"",{"el-form--inline":e.inline}]},[e._t("default")],2)},tl=[];el._withStripped=!0;var nl={name:"ElForm",componentName:"ElForm",provide:function(){return{elForm:this}},props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},watch:{rules:function(){this.fields.forEach((function(e){e.removeValidateEvents(),e.addValidateEvents()})),this.validateOnRuleChange&&this.validate((function(){}))}},computed:{autoLabelWidth:function(){if(!this.potentialLabelWidthArr.length)return 0;var e=Math.max.apply(Math,this.potentialLabelWidthArr);return e?e+"px":""}},data:function(){return{fields:[],potentialLabelWidthArr:[]}},created:function(){var e=this;this.$on("el.form.addField",(function(t){t&&e.fields.push(t)})),this.$on("el.form.removeField",(function(t){t.prop&&e.fields.splice(e.fields.indexOf(t),1)}))},methods:{resetFields:function(){this.model?this.fields.forEach((function(e){e.resetField()})):console.warn("[Element Warn][Form]model is required for resetFields to work.")},clearValidate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.length?"string"===typeof e?this.fields.filter((function(t){return e===t.prop})):this.fields.filter((function(t){return e.indexOf(t.prop)>-1})):this.fields;t.forEach((function(e){e.clearValidate()}))},validate:function(e){var t=this;if(this.model){var n=void 0;"function"!==typeof e&&window.Promise&&(n=new window.Promise((function(t,n){e=function(e,i){e?t(e):n(i)}})));var i=!0,r=0;0===this.fields.length&&e&&e(!0);var o={};return this.fields.forEach((function(n){n.validate("",(function(n,a){n&&(i=!1),o=kt()({},o,a),"function"===typeof e&&++r===t.fields.length&&e(i,o)}))})),n||void 0}console.warn("[Element Warn][Form]model is required for validate to work!")},validateField:function(e,t){e=[].concat(e);var n=this.fields.filter((function(t){return-1!==e.indexOf(t.prop)}));n.length?n.forEach((function(e){e.validate("",t)})):console.warn("[Element Warn]please pass correct props!")},getLabelWidthIndex:function(e){var t=this.potentialLabelWidthArr.indexOf(e);if(-1===t)throw new Error("[ElementForm]unpected width ",e);return t},registerLabelWidth:function(e,t){if(e&&t){var n=this.getLabelWidthIndex(t);this.potentialLabelWidthArr.splice(n,1,e)}else e&&this.potentialLabelWidthArr.push(e)},deregisterLabelWidth:function(e){var t=this.getLabelWidthIndex(e);this.potentialLabelWidthArr.splice(t,1)}}},il=nl,rl=s(il,el,tl,!1,null,null,null);rl.options.__file="packages/form/src/form.vue";var ol=rl.exports;ol.install=function(e){e.component(ol.name,ol)};var al=ol,sl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-form-item",class:[{"el-form-item--feedback":e.elForm&&e.elForm.statusIcon,"is-error":"error"===e.validateState,"is-validating":"validating"===e.validateState,"is-success":"success"===e.validateState,"is-required":e.isRequired||e.required,"is-no-asterisk":e.elForm&&e.elForm.hideRequiredAsterisk},e.sizeClass?"el-form-item--"+e.sizeClass:""]},[n("label-wrap",{attrs:{"is-auto-width":e.labelStyle&&"auto"===e.labelStyle.width,"update-all":"auto"===e.form.labelWidth}},[e.label||e.$slots.label?n("label",{staticClass:"el-form-item__label",style:e.labelStyle,attrs:{for:e.labelFor}},[e._t("label",[e._v(e._s(e.label+e.form.labelSuffix))])],2):e._e()]),n("div",{staticClass:"el-form-item__content",style:e.contentStyle},[e._t("default"),n("transition",{attrs:{name:"el-zoom-in-top"}},["error"===e.validateState&&e.showMessage&&e.form.showMessage?e._t("error",[n("div",{staticClass:"el-form-item__error",class:{"el-form-item__error--inline":"boolean"===typeof e.inlineMessage?e.inlineMessage:e.elForm&&e.elForm.inlineMessage||!1}},[e._v("\n "+e._s(e.validateMessage)+"\n ")])],{error:e.validateMessage}):e._e()],2)],2)],1)},ll=[];sl._withStripped=!0;var ul,cl,hl=n(41),dl=n.n(hl),fl={props:{isAutoWidth:Boolean,updateAll:Boolean},inject:["elForm","elFormItem"],render:function(){var e=arguments[0],t=this.$slots.default;if(!t)return null;if(this.isAutoWidth){var n=this.elForm.autoLabelWidth,i={};if(n&&"auto"!==n){var r=parseInt(n,10)-this.computedWidth;r&&(i.marginLeft=r+"px")}return e("div",{class:"el-form-item__label-wrap",style:i},[t])}return t[0]},methods:{getLabelWidth:function(){if(this.$el&&this.$el.firstElementChild){var e=window.getComputedStyle(this.$el.firstElementChild).width;return Math.ceil(parseFloat(e))}return 0},updateLabelWidth:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"update";this.$slots.default&&this.isAutoWidth&&this.$el.firstElementChild&&("update"===e?this.computedWidth=this.getLabelWidth():"remove"===e&&this.elForm.deregisterLabelWidth(this.computedWidth))}},watch:{computedWidth:function(e,t){this.updateAll&&(this.elForm.registerLabelWidth(e,t),this.elFormItem.updateComputedLabelWidth(e))}},data:function(){return{computedWidth:0}},mounted:function(){this.updateLabelWidth("update")},updated:function(){this.updateLabelWidth("update")},beforeDestroy:function(){this.updateLabelWidth("remove")}},pl=fl,gl=s(pl,ul,cl,!1,null,null,null);gl.options.__file="packages/form/src/label-wrap.vue";var ml=gl.exports,vl={name:"ElFormItem",componentName:"ElFormItem",mixins:[E.a],provide:function(){return{elFormItem:this}},inject:["elForm"],props:{label:String,labelWidth:String,prop:String,required:{type:Boolean,default:void 0},rules:[Object,Array],error:String,validateStatus:String,for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:String},components:{LabelWrap:ml},watch:{error:{immediate:!0,handler:function(e){this.validateMessage=e,this.validateState=e?"error":""}},validateStatus:function(e){this.validateState=e},rules:function(e){e&&0!==e.length||void 0!==this.required||this.clearValidate()}},computed:{labelFor:function(){return this.for||this.prop},labelStyle:function(){var e={};if("top"===this.form.labelPosition)return e;var t=this.labelWidth||this.form.labelWidth;return t&&(e.width=t),e},contentStyle:function(){var e={},t=this.label;if("top"===this.form.labelPosition||this.form.inline)return e;if(!t&&!this.labelWidth&&this.isNested)return e;var n=this.labelWidth||this.form.labelWidth;return"auto"===n?"auto"===this.labelWidth?e.marginLeft=this.computedLabelWidth:"auto"===this.form.labelWidth&&(e.marginLeft=this.elForm.autoLabelWidth):e.marginLeft=n,e},form:function(){var e=this.$parent,t=e.$options.componentName;while("ElForm"!==t)"ElFormItem"===t&&(this.isNested=!0),e=e.$parent,t=e.$options.componentName;return e},fieldValue:function(){var e=this.form.model;if(e&&this.prop){var t=this.prop;return-1!==t.indexOf(":")&&(t=t.replace(/:/,".")),Object(y["getPropByPath"])(e,t,!0).v}},isRequired:function(){var e=this.getRules(),t=!1;return e&&e.length&&e.every((function(e){return!e.required||(t=!0,!1)})),t},_formSize:function(){return this.elForm.size},elFormItemSize:function(){return this.size||this._formSize},sizeClass:function(){return this.elFormItemSize||(this.$ELEMENT||{}).size}},data:function(){return{validateState:"",validateMessage:"",validateDisabled:!1,validator:{},isNested:!1,computedLabelWidth:""}},methods:{validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y["noop"];this.validateDisabled=!1;var i=this.getFilteredRule(e);if((!i||0===i.length)&&void 0===this.required)return n(),!0;this.validateState="validating";var r={};i&&i.length>0&&i.forEach((function(e){delete e.trigger})),r[this.prop]=i;var o=new dl.a(r),a={};a[this.prop]=this.fieldValue,o.validate(a,{firstFields:!0},(function(e,i){t.validateState=e?"error":"success",t.validateMessage=e?e[0].message:"",n(t.validateMessage,i),t.elForm&&t.elForm.$emit("validate",t.prop,!e,t.validateMessage||null)}))},clearValidate:function(){this.validateState="",this.validateMessage="",this.validateDisabled=!1},resetField:function(){var e=this;this.validateState="",this.validateMessage="";var t=this.form.model,n=this.fieldValue,i=this.prop;-1!==i.indexOf(":")&&(i=i.replace(/:/,"."));var r=Object(y["getPropByPath"])(t,i,!0);this.validateDisabled=!0,Array.isArray(n)?r.o[r.k]=[].concat(this.initialValue):r.o[r.k]=this.initialValue,this.$nextTick((function(){e.validateDisabled=!1})),this.broadcast("ElTimeSelect","fieldReset",this.initialValue)},getRules:function(){var e=this.form.rules,t=this.rules,n=void 0!==this.required?{required:!!this.required}:[],i=Object(y["getPropByPath"])(e,this.prop||"");return e=e?i.o[this.prop||""]||i.v:[],[].concat(t||e||[]).concat(n)},getFilteredRule:function(e){var t=this.getRules();return t.filter((function(t){return!t.trigger||""===e||(Array.isArray(t.trigger)?t.trigger.indexOf(e)>-1:t.trigger===e)})).map((function(e){return kt()({},e)}))},onFieldBlur:function(){this.validate("blur")},onFieldChange:function(){this.validateDisabled?this.validateDisabled=!1:this.validate("change")},updateComputedLabelWidth:function(e){this.computedLabelWidth=e?e+"px":""},addValidateEvents:function(){var e=this.getRules();(e.length||void 0!==this.required)&&(this.$on("el.form.blur",this.onFieldBlur),this.$on("el.form.change",this.onFieldChange))},removeValidateEvents:function(){this.$off()}},mounted:function(){if(this.prop){this.dispatch("ElForm","el.form.addField",[this]);var e=this.fieldValue;Array.isArray(e)&&(e=[].concat(e)),Object.defineProperty(this,"initialValue",{value:e}),this.addValidateEvents()}},beforeDestroy:function(){this.dispatch("ElForm","el.form.removeField",[this])}},yl=vl,bl=s(yl,sl,ll,!1,null,null,null);bl.options.__file="packages/form/src/form-item.vue";var xl=bl.exports;xl.install=function(e){e.component(xl.name,xl)};var _l=xl,wl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-tabs__active-bar",class:"is-"+e.rootTabs.tabPosition,style:e.barStyle})},Cl=[];wl._withStripped=!0;var Sl={name:"TabBar",props:{tabs:Array},inject:["rootTabs"],computed:{barStyle:{get:function(){var e=this,t={},n=0,i=0,r=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height",o="width"===r?"x":"y",a=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,(function(e){return e.toUpperCase()}))};this.tabs.every((function(t,o){var s=Object(y["arrayFind"])(e.$parent.$refs.tabs||[],(function(e){return e.id.replace("tab-","")===t.paneName}));if(!s)return!1;if(t.active){i=s["client"+a(r)];var l=window.getComputedStyle(s);return"width"===r&&e.tabs.length>1&&(i-=parseFloat(l.paddingLeft)+parseFloat(l.paddingRight)),"width"===r&&(n+=parseFloat(l.paddingLeft)),!1}return n+=s["client"+a(r)],!0}));var s="translate"+a(o)+"("+n+"px)";return t[r]=i+"px",t.transform=s,t.msTransform=s,t.webkitTransform=s,t}}}},kl=Sl,Ml=s(kl,wl,Cl,!1,null,null,null);Ml.options.__file="packages/tabs/src/tab-bar.vue";var Tl=Ml.exports;function El(){}var Dl,Pl,Ol=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,(function(e){return e.toUpperCase()}))},Il={name:"TabNav",components:{TabBar:Tl},inject:["rootTabs"],props:{panes:Array,currentName:String,editable:Boolean,onTabClick:{type:Function,default:El},onTabRemove:{type:Function,default:El},type:String,stretch:Boolean},data:function(){return{scrollable:!1,navOffset:0,isFocus:!1,focusable:!0}},computed:{navStyle:function(){var e=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"X":"Y";return{transform:"translate"+e+"(-"+this.navOffset+"px)"}},sizeName:function(){return-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height"}},methods:{scrollPrev:function(){var e=this.$refs.navScroll["offset"+Ol(this.sizeName)],t=this.navOffset;if(t){var n=t>e?t-e:0;this.navOffset=n}},scrollNext:function(){var e=this.$refs.nav["offset"+Ol(this.sizeName)],t=this.$refs.navScroll["offset"+Ol(this.sizeName)],n=this.navOffset;if(!(e-n<=t)){var i=e-n>2*t?n+t:e-t;this.navOffset=i}},scrollToActiveTab:function(){if(this.scrollable){var e=this.$refs.nav,t=this.$el.querySelector(".is-active");if(t){var n=this.$refs.navScroll,i=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition),r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),a=i?e.offsetWidth-o.width:e.offsetHeight-o.height,s=this.navOffset,l=s;i?(r.left<o.left&&(l=s-(o.left-r.left)),r.right>o.right&&(l=s+r.right-o.right)):(r.top<o.top&&(l=s-(o.top-r.top)),r.bottom>o.bottom&&(l=s+(r.bottom-o.bottom))),l=Math.max(l,0),this.navOffset=Math.min(l,a)}}},update:function(){if(this.$refs.nav){var e=this.sizeName,t=this.$refs.nav["offset"+Ol(e)],n=this.$refs.navScroll["offset"+Ol(e)],i=this.navOffset;if(n<t){var r=this.navOffset;this.scrollable=this.scrollable||{},this.scrollable.prev=r,this.scrollable.next=r+n<t,t-r<n&&(this.navOffset=t-n)}else this.scrollable=!1,i>0&&(this.navOffset=0)}},changeTab:function(e){var t=e.keyCode,n=void 0,i=void 0,r=void 0;-1!==[37,38,39,40].indexOf(t)&&(r=e.currentTarget.querySelectorAll("[role=tab]"),i=Array.prototype.indexOf.call(r,e.target),n=37===t||38===t?0===i?r.length-1:i-1:i<r.length-1?i+1:0,r[n].focus(),r[n].click(),this.setFocus())},setFocus:function(){this.focusable&&(this.isFocus=!0)},removeFocus:function(){this.isFocus=!1},visibilityChangeHandler:function(){var e=this,t=document.visibilityState;"hidden"===t?this.focusable=!1:"visible"===t&&setTimeout((function(){e.focusable=!0}),50)},windowBlurHandler:function(){this.focusable=!1},windowFocusHandler:function(){var e=this;setTimeout((function(){e.focusable=!0}),50)}},updated:function(){this.update()},render:function(e){var t=this,n=this.type,i=this.panes,r=this.editable,o=this.stretch,a=this.onTabClick,s=this.onTabRemove,l=this.navStyle,u=this.scrollable,c=this.scrollNext,h=this.scrollPrev,d=this.changeTab,f=this.setFocus,p=this.removeFocus,g=u?[e("span",{class:["el-tabs__nav-prev",u.prev?"":"is-disabled"],on:{click:h}},[e("i",{class:"el-icon-arrow-left"})]),e("span",{class:["el-tabs__nav-next",u.next?"":"is-disabled"],on:{click:c}},[e("i",{class:"el-icon-arrow-right"})])]:null,m=this._l(i,(function(n,i){var o,l=n.name||n.index||i,u=n.isClosable||r;n.index=""+i;var c=u?e("span",{class:"el-icon-close",on:{click:function(e){s(n,e)}}}):null,h=n.$slots.label||n.label,d=n.active?0:-1;return e("div",{class:(o={"el-tabs__item":!0},o["is-"+t.rootTabs.tabPosition]=!0,o["is-active"]=n.active,o["is-disabled"]=n.disabled,o["is-closable"]=u,o["is-focus"]=t.isFocus,o),attrs:{id:"tab-"+l,"aria-controls":"pane-"+l,role:"tab","aria-selected":n.active,tabindex:d},key:"tab-"+l,ref:"tabs",refInFor:!0,on:{focus:function(){f()},blur:function(){p()},click:function(e){p(),a(n,l,e)},keydown:function(e){!u||46!==e.keyCode&&8!==e.keyCode||s(n,e)}}},[h,c])}));return e("div",{class:["el-tabs__nav-wrap",u?"is-scrollable":"","is-"+this.rootTabs.tabPosition]},[g,e("div",{class:["el-tabs__nav-scroll"],ref:"navScroll"},[e("div",{class:["el-tabs__nav","is-"+this.rootTabs.tabPosition,o&&-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"is-stretch":""],ref:"nav",style:l,attrs:{role:"tablist"},on:{keydown:d}},[n?null:e("tab-bar",{attrs:{tabs:i}}),m])])])},mounted:function(){var e=this;Object(ei["addResizeListener"])(this.$el,this.update),document.addEventListener("visibilitychange",this.visibilityChangeHandler),window.addEventListener("blur",this.windowBlurHandler),window.addEventListener("focus",this.windowFocusHandler),setTimeout((function(){e.scrollToActiveTab()}),0)},beforeDestroy:function(){this.$el&&this.update&&Object(ei["removeResizeListener"])(this.$el,this.update),document.removeEventListener("visibilitychange",this.visibilityChangeHandler),window.removeEventListener("blur",this.windowBlurHandler),window.removeEventListener("focus",this.windowFocusHandler)}},Al=Il,Ll=s(Al,Dl,Pl,!1,null,null,null);Ll.options.__file="packages/tabs/src/tab-nav.vue";var Nl,Rl,zl=Ll.exports,$l={name:"ElTabs",components:{TabNav:zl},props:{type:String,activeName:String,closable:Boolean,addable:Boolean,value:{},editable:Boolean,tabPosition:{type:String,default:"top"},beforeLeave:Function,stretch:Boolean},provide:function(){return{rootTabs:this}},data:function(){return{currentName:this.value||this.activeName,panes:[]}},watch:{activeName:function(e){this.setCurrentName(e)},value:function(e){this.setCurrentName(e)},currentName:function(e){var t=this;this.$refs.nav&&this.$nextTick((function(){t.$refs.nav.$nextTick((function(e){t.$refs.nav.scrollToActiveTab()}))}))}},methods:{calcPaneInstances:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.$slots.default){var n=this.$slots.default.filter((function(e){return e.tag&&e.componentOptions&&"ElTabPane"===e.componentOptions.Ctor.options.name})),i=n.map((function(e){var t=e.componentInstance;return t})),r=!(i.length===this.panes.length&&i.every((function(t,n){return t===e.panes[n]})));(t||r)&&(this.panes=i)}else 0!==this.panes.length&&(this.panes=[])},handleTabClick:function(e,t,n){e.disabled||(this.setCurrentName(t),this.$emit("tab-click",e,n))},handleTabRemove:function(e,t){e.disabled||(t.stopPropagation(),this.$emit("edit",e.name,"remove"),this.$emit("tab-remove",e.name))},handleTabAdd:function(){this.$emit("edit",null,"add"),this.$emit("tab-add")},setCurrentName:function(e){var t=this,n=function(){t.currentName=e,t.$emit("input",e)};if(this.currentName!==e&&this.beforeLeave){var i=this.beforeLeave(e,this.currentName);i&&i.then?i.then((function(){n(),t.$refs.nav&&t.$refs.nav.removeFocus()}),(function(){})):!1!==i&&n()}else n()}},render:function(e){var t,n=this.type,i=this.handleTabClick,r=this.handleTabRemove,o=this.handleTabAdd,a=this.currentName,s=this.panes,l=this.editable,u=this.addable,c=this.tabPosition,h=this.stretch,d=l||u?e("span",{class:"el-tabs__new-tab",on:{click:o,keydown:function(e){13===e.keyCode&&o()}},attrs:{tabindex:"0"}},[e("i",{class:"el-icon-plus"})]):null,f={props:{currentName:a,onTabClick:i,onTabRemove:r,editable:l,type:n,panes:s,stretch:h},ref:"nav"},p=e("div",{class:["el-tabs__header","is-"+c]},[d,e("tab-nav",f)]),g=e("div",{class:"el-tabs__content"},[this.$slots.default]);return e("div",{class:(t={"el-tabs":!0,"el-tabs--card":"card"===n},t["el-tabs--"+c]=!0,t["el-tabs--border-card"]="border-card"===n,t)},["bottom"!==c?[p,g]:[g,p]])},created:function(){this.currentName||this.setCurrentName("0"),this.$on("tab-nav-update",this.calcPaneInstances.bind(null,!0))},mounted:function(){this.calcPaneInstances()},updated:function(){this.calcPaneInstances()}},Bl=$l,Fl=s(Bl,Nl,Rl,!1,null,null,null);Fl.options.__file="packages/tabs/src/tabs.vue";var jl=Fl.exports;jl.install=function(e){e.component(jl.name,jl)};var Vl=jl,Hl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.lazy||e.loaded||e.active?n("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"el-tab-pane",attrs:{role:"tabpanel","aria-hidden":!e.active,id:"pane-"+e.paneName,"aria-labelledby":"tab-"+e.paneName}},[e._t("default")],2):e._e()},Wl=[];Hl._withStripped=!0;var Gl={name:"ElTabPane",componentName:"ElTabPane",props:{label:String,labelContent:Function,name:String,closable:Boolean,disabled:Boolean,lazy:Boolean},data:function(){return{index:null,loaded:!1}},computed:{isClosable:function(){return this.closable||this.$parent.closable},active:function(){var e=this.$parent.currentName===(this.name||this.index);return e&&(this.loaded=!0),e},paneName:function(){return this.name||this.index}},updated:function(){this.$parent.$emit("tab-nav-update")}},ql=Gl,Ul=s(ql,Hl,Wl,!1,null,null,null);Ul.options.__file="packages/tabs/src/tab-pane.vue";var Yl=Ul.exports;Yl.install=function(e){e.component(Yl.name,Yl)};var Xl,Zl,Kl=Yl,Ql={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,n=this.tagSize,i=this.hit,r=this.effect,o=["el-tag",t?"el-tag--"+t:"",n?"el-tag--"+n:"",r?"el-tag--"+r:"",i&&"is-hit"],a=e("span",{class:o,style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?a:e("transition",{attrs:{name:"el-zoom-in-center"}},[a])}},Jl=Ql,eu=s(Jl,Xl,Zl,!1,null,null,null);eu.options.__file="packages/tag/src/tag.vue";var tu=eu.exports;tu.install=function(e){e.component(tu.name,tu)};var nu=tu,iu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-tree",class:{"el-tree--highlight-current":e.highlightCurrent,"is-dragging":!!e.dragState.draggingNode,"is-drop-not-allow":!e.dragState.allowDrop,"is-drop-inner":"inner"===e.dragState.dropType},attrs:{role:"tree"}},[e._l(e.root.childNodes,(function(t){return n("el-tree-node",{key:e.getNodeKey(t),attrs:{node:t,props:e.props,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent},on:{"node-expand":e.handleNodeExpand}})})),e.isEmpty?n("div",{staticClass:"el-tree__empty-block"},[n("span",{staticClass:"el-tree__empty-text"},[e._v(e._s(e.emptyText))])]):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dragState.showDropIndicator,expression:"dragState.showDropIndicator"}],ref:"dropIndicator",staticClass:"el-tree__drop-indicator"})],2)},ru=[];iu._withStripped=!0;var ou="$treeNodeId",au=function(e,t){t&&!t[ou]&&Object.defineProperty(t,ou,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},su=function(e,t){return e?t[e]:t[ou]},lu=function(e,t){var n=e;while(n&&"BODY"!==n.tagName){if(n.__vue__&&n.__vue__.$options.name===t)return n.__vue__;n=n.parentNode}return null},uu=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function cu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var hu=function(e){for(var t=!0,n=!0,i=!0,r=0,o=e.length;r<o;r++){var a=e[r];(!0!==a.checked||a.indeterminate)&&(t=!1,a.disabled||(i=!1)),(!1!==a.checked||a.indeterminate)&&(n=!1)}return{all:t,none:n,allWithoutDisable:i,half:!t&&!n}},du=function e(t){if(0!==t.childNodes.length&&!t.loading){var n=hu(t.childNodes),i=n.all,r=n.none,o=n.half;i?(t.checked=!0,t.indeterminate=!1):o?(t.checked=!1,t.indeterminate=!0):r&&(t.checked=!1,t.indeterminate=!1);var a=t.parent;a&&0!==a.level&&(t.store.checkStrictly||e(a))}},fu=function(e,t){var n=e.store.props,i=e.data||{},r=n[t];if("function"===typeof r)return r(i,e);if("string"===typeof r)return i[r];if("undefined"===typeof r){var o=i[t];return void 0===o?"":o}},pu=0,gu=function(){function e(t){for(var n in cu(this,e),this.id=pu++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,t)t.hasOwnProperty(n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1);var i=this.store;if(!i)throw new Error("[Node]store is required!");i.registerNode(this);var r=i.props;if(r&&"undefined"!==typeof r.isLeaf){var o=fu(this,"isLeaf");"boolean"===typeof o&&(this.isLeafByUser=o)}if(!0!==i.lazy&&this.data?(this.setData(this.data),i.defaultExpandAll&&(this.expanded=!0)):this.level>0&&i.lazy&&i.defaultExpandAll&&this.expand(),Array.isArray(this.data)||au(this,this.data),this.data){var a=i.defaultExpandedKeys,s=i.key;s&&a&&-1!==a.indexOf(this.key)&&this.expand(null,i.autoExpandParent),s&&void 0!==i.currentNodeKey&&this.key===i.currentNodeKey&&(i.currentNode=this,i.currentNode.isCurrent=!0),i.lazy&&i._initDefaultCheckedNode(this),this.updateLeafState()}}return e.prototype.setData=function(e){Array.isArray(e)||au(this,e),this.data=e,this.childNodes=[];var t=void 0;t=0===this.level&&this.data instanceof Array?this.data:fu(this,"children")||[];for(var n=0,i=t.length;n<i;n++)this.insertChild({data:t[n]})},e.prototype.contains=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=function n(i){for(var r=i.childNodes||[],o=!1,a=0,s=r.length;a<s;a++){var l=r[a];if(l===e||t&&n(l)){o=!0;break}}return o};return n(this)},e.prototype.remove=function(){var e=this.parent;e&&e.removeChild(this)},e.prototype.insertChild=function(t,n,i){if(!t)throw new Error("insertChild error: child is required.");if(!(t instanceof e)){if(!i){var r=this.getChildren(!0)||[];-1===r.indexOf(t.data)&&("undefined"===typeof n||n<0?r.push(t.data):r.splice(n,0,t.data))}kt()(t,{parent:this,store:this.store}),t=new e(t)}t.level=this.level+1,"undefined"===typeof n||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()},e.prototype.insertBefore=function(e,t){var n=void 0;t&&(n=this.childNodes.indexOf(t)),this.insertChild(e,n)},e.prototype.insertAfter=function(e,t){var n=void 0;t&&(n=this.childNodes.indexOf(t),-1!==n&&(n+=1)),this.insertChild(e,n)},e.prototype.removeChild=function(e){var t=this.getChildren()||[],n=t.indexOf(e.data);n>-1&&t.splice(n,1);var i=this.childNodes.indexOf(e);i>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(i,1)),this.updateLeafState()},e.prototype.removeChildByData=function(e){for(var t=null,n=0;n<this.childNodes.length;n++)if(this.childNodes[n].data===e){t=this.childNodes[n];break}t&&this.removeChild(t)},e.prototype.expand=function(e,t){var n=this,i=function(){if(t){var i=n.parent;while(i.level>0)i.expanded=!0,i=i.parent}n.expanded=!0,e&&e()};this.shouldLoadData()?this.loadData((function(e){e instanceof Array&&(n.checked?n.setChecked(!0,!0):n.store.checkStrictly||du(n),i())})):i()},e.prototype.doCreateChildren=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e){t.insertChild(kt()({data:e},n),void 0,!0)}))},e.prototype.collapse=function(){this.expanded=!1},e.prototype.shouldLoadData=function(){return!0===this.store.lazy&&this.store.load&&!this.loaded},e.prototype.updateLeafState=function(){if(!0!==this.store.lazy||!0===this.loaded||"undefined"===typeof this.isLeafByUser){var e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}else this.isLeaf=this.isLeafByUser},e.prototype.setChecked=function(e,t,n,i){var r=this;if(this.indeterminate="half"===e,this.checked=!0===e,!this.store.checkStrictly){if(!this.shouldLoadData()||this.store.checkDescendants){var o=hu(this.childNodes),a=o.all,s=o.allWithoutDisable;this.isLeaf||a||!s||(this.checked=!1,e=!1);var l=function(){if(t){for(var n=r.childNodes,o=0,a=n.length;o<a;o++){var s=n[o];i=i||!1!==e;var l=s.disabled?s.checked:i;s.setChecked(l,t,!0,i)}var u=hu(n),c=u.half,h=u.all;h||(r.checked=h,r.indeterminate=c)}};if(this.shouldLoadData())return void this.loadData((function(){l(),du(r)}),{checked:!1!==e});l()}var u=this.parent;u&&0!==u.level&&(n||du(u))}},e.prototype.getChildren=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(0===this.level)return this.data;var t=this.data;if(!t)return null;var n=this.store.props,i="children";return n&&(i=n.children||"children"),void 0===t[i]&&(t[i]=null),e&&!t[i]&&(t[i]=[]),t[i]},e.prototype.updateChildren=function(){var e=this,t=this.getChildren()||[],n=this.childNodes.map((function(e){return e.data})),i={},r=[];t.forEach((function(e,t){var o=e[ou],a=!!o&&Object(y["arrayFindIndex"])(n,(function(e){return e[ou]===o}))>=0;a?i[o]={index:t,data:e}:r.push({index:t,data:e})})),this.store.lazy||n.forEach((function(t){i[t[ou]]||e.removeChildByData(t)})),r.forEach((function(t){var n=t.index,i=t.data;e.insertChild({data:i},n)})),this.updateLeafState()},e.prototype.loadData=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(n).length)e&&e.call(this);else{this.loading=!0;var i=function(i){t.childNodes=[],t.doCreateChildren(i,n),t.loaded=!0,t.loading=!1,t.updateLeafState(),e&&e.call(t,i)};this.store.load(this,i)}},uu(e,[{key:"label",get:function(){return fu(this,"label")}},{key:"key",get:function(){var e=this.store.key;return this.data?this.data[e]:null}},{key:"disabled",get:function(){return fu(this,"disabled")}},{key:"nextSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return e.childNodes[t+1]}return null}},{key:"previousSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}}]),e}(),mu=gu,vu="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function yu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var bu=function(){function e(t){var n=this;for(var i in yu(this,e),this.currentNode=null,this.currentNodeKey=null,t)t.hasOwnProperty(i)&&(this[i]=t[i]);if(this.nodesMap={},this.root=new mu({data:this.data,store:this}),this.lazy&&this.load){var r=this.load;r(this.root,(function(e){n.root.doCreateChildren(e),n._initDefaultCheckedNodes()}))}else this._initDefaultCheckedNodes()}return e.prototype.filter=function(e){var t=this.filterNodeMethod,n=this.lazy,i=function i(r){var o=r.root?r.root.childNodes:r.childNodes;if(o.forEach((function(n){n.visible=t.call(n,e,n.data,n),i(n)})),!r.visible&&o.length){var a=!0;a=!o.some((function(e){return e.visible})),r.root?r.root.visible=!1===a:r.visible=!1===a}e&&(!r.visible||r.isLeaf||n||r.expand())};i(this)},e.prototype.setData=function(e){var t=e!==this.root.data;t?(this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()},e.prototype.getNode=function(e){if(e instanceof mu)return e;var t="object"!==("undefined"===typeof e?"undefined":vu(e))?e:su(this.key,e);return this.nodesMap[t]||null},e.prototype.insertBefore=function(e,t){var n=this.getNode(t);n.parent.insertBefore({data:e},n)},e.prototype.insertAfter=function(e,t){var n=this.getNode(t);n.parent.insertAfter({data:e},n)},e.prototype.remove=function(e){var t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))},e.prototype.append=function(e,t){var n=t?this.getNode(t):this.root;n&&n.insertChild({data:e})},e.prototype._initDefaultCheckedNodes=function(){var e=this,t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach((function(t){var i=n[t];i&&i.setChecked(!0,!e.checkStrictly)}))},e.prototype._initDefaultCheckedNode=function(e){var t=this.defaultCheckedKeys||[];-1!==t.indexOf(e.key)&&e.setChecked(!0,!this.checkStrictly)},e.prototype.setDefaultCheckedKey=function(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())},e.prototype.registerNode=function(e){var t=this.key;if(t&&e&&e.data){var n=e.key;void 0!==n&&(this.nodesMap[e.key]=e)}},e.prototype.deregisterNode=function(e){var t=this,n=this.key;n&&e&&e.data&&(e.childNodes.forEach((function(e){t.deregisterNode(e)})),delete this.nodesMap[e.key])},e.prototype.getCheckedNodes=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[],i=function i(r){var o=r.root?r.root.childNodes:r.childNodes;o.forEach((function(r){(r.checked||t&&r.indeterminate)&&(!e||e&&r.isLeaf)&&n.push(r.data),i(r)}))};return i(this),n},e.prototype.getCheckedKeys=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.getCheckedNodes(t).map((function(t){return(t||{})[e.key]}))},e.prototype.getHalfCheckedNodes=function(){var e=[],t=function t(n){var i=n.root?n.root.childNodes:n.childNodes;i.forEach((function(n){n.indeterminate&&e.push(n.data),t(n)}))};return t(this),e},e.prototype.getHalfCheckedKeys=function(){var e=this;return this.getHalfCheckedNodes().map((function(t){return(t||{})[e.key]}))},e.prototype._getAllNodes=function(){var e=[],t=this.nodesMap;for(var n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e},e.prototype.updateChildren=function(e,t){var n=this.nodesMap[e];if(n){for(var i=n.childNodes,r=i.length-1;r>=0;r--){var o=i[r];this.remove(o.data)}for(var a=0,s=t.length;a<s;a++){var l=t[a];this.append(l,n.data)}}},e.prototype._setCheckedKeys=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments[2],i=this._getAllNodes().sort((function(e,t){return t.level-e.level})),r=Object.create(null),o=Object.keys(n);i.forEach((function(e){return e.setChecked(!1,!1)}));for(var a=0,s=i.length;a<s;a++){var l=i[a],u=l.data[e].toString(),c=o.indexOf(u)>-1;if(c){var h=l.parent;while(h&&h.level>0)r[h.data[e]]=!0,h=h.parent;l.isLeaf||this.checkStrictly?l.setChecked(!0,!1):(l.setChecked(!0,!0),t&&function(){l.setChecked(!1,!1);var e=function e(t){var n=t.childNodes;n.forEach((function(t){t.isLeaf||t.setChecked(!1,!1),e(t)}))};e(l)}())}else l.checked&&!r[u]&&l.setChecked(!1,!1)}},e.prototype.setCheckedNodes=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.key,i={};e.forEach((function(e){i[(e||{})[n]]=!0})),this._setCheckedKeys(n,t,i)},e.prototype.setCheckedKeys=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.defaultCheckedKeys=e;var n=this.key,i={};e.forEach((function(e){i[e]=!0})),this._setCheckedKeys(n,t,i)},e.prototype.setDefaultExpandedKeys=function(e){var t=this;e=e||[],this.defaultExpandedKeys=e,e.forEach((function(e){var n=t.getNode(e);n&&n.expand(null,t.autoExpandParent)}))},e.prototype.setChecked=function(e,t,n){var i=this.getNode(e);i&&i.setChecked(!!t,n)},e.prototype.getCurrentNode=function(){return this.currentNode},e.prototype.setCurrentNode=function(e){var t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0},e.prototype.setUserCurrentNode=function(e){var t=e[this.key],n=this.nodesMap[t];this.setCurrentNode(n)},e.prototype.setCurrentNodeKey=function(e){if(null===e||void 0===e)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);var t=this.getNode(e);t&&this.setCurrentNode(t)},e}(),xu=bu,_u=function(){var e=this,t=this,n=t.$createElement,i=t._self._c||n;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.node.visible,expression:"node.visible"}],ref:"node",staticClass:"el-tree-node",class:{"is-expanded":t.expanded,"is-current":t.node.isCurrent,"is-hidden":!t.node.visible,"is-focusable":!t.node.disabled,"is-checked":!t.node.disabled&&t.node.checked},attrs:{role:"treeitem",tabindex:"-1","aria-expanded":t.expanded,"aria-disabled":t.node.disabled,"aria-checked":t.node.checked,draggable:t.tree.draggable},on:{click:function(e){return e.stopPropagation(),t.handleClick(e)},contextmenu:function(t){return e.handleContextMenu(t)},dragstart:function(e){return e.stopPropagation(),t.handleDragStart(e)},dragover:function(e){return e.stopPropagation(),t.handleDragOver(e)},dragend:function(e){return e.stopPropagation(),t.handleDragEnd(e)},drop:function(e){return e.stopPropagation(),t.handleDrop(e)}}},[i("div",{staticClass:"el-tree-node__content",style:{"padding-left":(t.node.level-1)*t.tree.indent+"px"}},[i("span",{class:[{"is-leaf":t.node.isLeaf,expanded:!t.node.isLeaf&&t.expanded},"el-tree-node__expand-icon",t.tree.iconClass?t.tree.iconClass:"el-icon-caret-right"],on:{click:function(e){return e.stopPropagation(),t.handleExpandIconClick(e)}}}),t.showCheckbox?i("el-checkbox",{attrs:{indeterminate:t.node.indeterminate,disabled:!!t.node.disabled},on:{change:t.handleCheckChange},nativeOn:{click:function(e){e.stopPropagation()}},model:{value:t.node.checked,callback:function(e){t.$set(t.node,"checked",e)},expression:"node.checked"}}):t._e(),t.node.loading?i("span",{staticClass:"el-tree-node__loading-icon el-icon-loading"}):t._e(),i("node-content",{attrs:{node:t.node}})],1),i("el-collapse-transition",[!t.renderAfterExpand||t.childNodeRendered?i("div",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"expanded"}],staticClass:"el-tree-node__children",attrs:{role:"group","aria-expanded":t.expanded}},t._l(t.node.childNodes,(function(e){return i("el-tree-node",{key:t.getNodeKey(e),attrs:{"render-content":t.renderContent,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,node:e},on:{"node-expand":t.handleChildNodeExpand}})})),1):t._e()])],1)},wu=[];_u._withStripped=!0;var Cu={name:"ElTreeNode",componentName:"ElTreeNode",mixins:[E.a],props:{node:{default:function(){return{}}},props:{},renderContent:Function,renderAfterExpand:{type:Boolean,default:!0},showCheckbox:{type:Boolean,default:!1}},components:{ElCollapseTransition:Ue.a,ElCheckbox:Li.a,NodeContent:{props:{node:{required:!0}},render:function(e){var t=this.$parent,n=t.tree,i=this.node,r=i.data,o=i.store;return t.renderContent?t.renderContent.call(t._renderProxy,e,{_self:n.$vnode.context,node:i,data:r,store:o}):n.$scopedSlots.default?n.$scopedSlots.default({node:i,data:r}):e("span",{class:"el-tree-node__label"},[i.label])}}},data:function(){return{tree:null,expanded:!1,childNodeRendered:!1,oldChecked:null,oldIndeterminate:null}},watch:{"node.indeterminate":function(e){this.handleSelectChange(this.node.checked,e)},"node.checked":function(e){this.handleSelectChange(e,this.node.indeterminate)},"node.expanded":function(e){var t=this;this.$nextTick((function(){return t.expanded=e})),e&&(this.childNodeRendered=!0)}},methods:{getNodeKey:function(e){return su(this.tree.nodeKey,e.data)},handleSelectChange:function(e,t){this.oldChecked!==e&&this.oldIndeterminate!==t&&this.tree.$emit("check-change",this.node.data,e,t),this.oldChecked=e,this.indeterminate=t},handleClick:function(){var e=this.tree.store;e.setCurrentNode(this.node),this.tree.$emit("current-change",e.currentNode?e.currentNode.data:null,e.currentNode),this.tree.currentNode=this,this.tree.expandOnClickNode&&this.handleExpandIconClick(),this.tree.checkOnClickNode&&!this.node.disabled&&this.handleCheckChange(null,{target:{checked:!this.node.checked}}),this.tree.$emit("node-click",this.node.data,this.node,this)},handleContextMenu:function(e){this.tree._events["node-contextmenu"]&&this.tree._events["node-contextmenu"].length>0&&(e.stopPropagation(),e.preventDefault()),this.tree.$emit("node-contextmenu",e,this.node.data,this.node,this)},handleExpandIconClick:function(){this.node.isLeaf||(this.expanded?(this.tree.$emit("node-collapse",this.node.data,this.node,this),this.node.collapse()):(this.node.expand(),this.$emit("node-expand",this.node.data,this.node,this)))},handleCheckChange:function(e,t){var n=this;this.node.setChecked(t.target.checked,!this.tree.checkStrictly),this.$nextTick((function(){var e=n.tree.store;n.tree.$emit("check",n.node.data,{checkedNodes:e.getCheckedNodes(),checkedKeys:e.getCheckedKeys(),halfCheckedNodes:e.getHalfCheckedNodes(),halfCheckedKeys:e.getHalfCheckedKeys()})}))},handleChildNodeExpand:function(e,t,n){this.broadcast("ElTreeNode","tree-node-expand",t),this.tree.$emit("node-expand",e,t,n)},handleDragStart:function(e){this.tree.draggable&&this.tree.$emit("tree-node-drag-start",e,this)},handleDragOver:function(e){this.tree.draggable&&(this.tree.$emit("tree-node-drag-over",e,this),e.preventDefault())},handleDrop:function(e){e.preventDefault()},handleDragEnd:function(e){this.tree.draggable&&this.tree.$emit("tree-node-drag-end",e,this)}},created:function(){var e=this,t=this.$parent;t.isTree?this.tree=t:this.tree=t.tree;var n=this.tree;n||console.warn("Can not find node's tree.");var i=n.props||{},r=i["children"]||"children";this.$watch("node.data."+r,(function(){e.node.updateChildren()})),this.node.expanded&&(this.expanded=!0,this.childNodeRendered=!0),this.tree.accordion&&this.$on("tree-node-expand",(function(t){e.node!==t&&e.node.collapse()}))}},Su=Cu,ku=s(Su,_u,wu,!1,null,null,null);ku.options.__file="packages/tree/src/tree-node.vue";var Mu=ku.exports,Tu={name:"ElTree",mixins:[E.a],components:{ElTreeNode:Mu},data:function(){return{store:null,root:null,currentNode:null,treeItems:null,checkboxItems:[],dragState:{showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0}}},props:{data:{type:Array},emptyText:{type:String,default:function(){return Object(vs["t"])("el.tree.emptyText")}},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{default:function(){return{children:"children",label:"label",disabled:"disabled"}}},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},iconClass:String},computed:{children:{set:function(e){this.data=e},get:function(){return this.data}},treeItemArray:function(){return Array.prototype.slice.call(this.treeItems)},isEmpty:function(){var e=this.root.childNodes;return!e||0===e.length||e.every((function(e){var t=e.visible;return!t}))}},watch:{defaultCheckedKeys:function(e){this.store.setDefaultCheckedKey(e)},defaultExpandedKeys:function(e){this.store.defaultExpandedKeys=e,this.store.setDefaultExpandedKeys(e)},data:function(e){this.store.setData(e)},checkboxItems:function(e){Array.prototype.forEach.call(e,(function(e){e.setAttribute("tabindex",-1)}))},checkStrictly:function(e){this.store.checkStrictly=e}},methods:{filter:function(e){if(!this.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");this.store.filter(e)},getNodeKey:function(e){return su(this.nodeKey,e.data)},getNodePath:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");var t=this.store.getNode(e);if(!t)return[];var n=[t.data],i=t.parent;while(i&&i!==this.root)n.push(i.data),i=i.parent;return n.reverse()},getCheckedNodes:function(e,t){return this.store.getCheckedNodes(e,t)},getCheckedKeys:function(e){return this.store.getCheckedKeys(e)},getCurrentNode:function(){var e=this.store.getCurrentNode();return e?e.data:null},getCurrentKey:function(){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");var e=this.getCurrentNode();return e?e[this.nodeKey]:null},setCheckedNodes:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");this.store.setCheckedNodes(e,t)},setCheckedKeys:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");this.store.setCheckedKeys(e,t)},setChecked:function(e,t,n){this.store.setChecked(e,t,n)},getHalfCheckedNodes:function(){return this.store.getHalfCheckedNodes()},getHalfCheckedKeys:function(){return this.store.getHalfCheckedKeys()},setCurrentNode:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");this.store.setUserCurrentNode(e)},setCurrentKey:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");this.store.setCurrentNodeKey(e)},getNode:function(e){return this.store.getNode(e)},remove:function(e){this.store.remove(e)},append:function(e,t){this.store.append(e,t)},insertBefore:function(e,t){this.store.insertBefore(e,t)},insertAfter:function(e,t){this.store.insertAfter(e,t)},handleNodeExpand:function(e,t,n){this.broadcast("ElTreeNode","tree-node-expand",t),this.$emit("node-expand",e,t,n)},updateKeyChildren:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");this.store.updateChildren(e,t)},initTabIndex:function(){this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]");var e=this.$el.querySelectorAll(".is-checked[role=treeitem]");e.length?e[0].setAttribute("tabindex",0):this.treeItems[0]&&this.treeItems[0].setAttribute("tabindex",0)},handleKeydown:function(e){var t=e.target;if(-1!==t.className.indexOf("el-tree-node")){var n=e.keyCode;this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]");var i=this.treeItemArray.indexOf(t),r=void 0;[38,40].indexOf(n)>-1&&(e.preventDefault(),r=38===n?0!==i?i-1:0:i<this.treeItemArray.length-1?i+1:0,this.treeItemArray[r].focus()),[37,39].indexOf(n)>-1&&(e.preventDefault(),t.click());var o=t.querySelector('[type="checkbox"]');[13,32].indexOf(n)>-1&&o&&(e.preventDefault(),o.click())}}},created:function(){var e=this;this.isTree=!0,this.store=new xu({key:this.nodeKey,data:this.data,lazy:this.lazy,props:this.props,load:this.load,currentNodeKey:this.currentNodeKey,checkStrictly:this.checkStrictly,checkDescendants:this.checkDescendants,defaultCheckedKeys:this.defaultCheckedKeys,defaultExpandedKeys:this.defaultExpandedKeys,autoExpandParent:this.autoExpandParent,defaultExpandAll:this.defaultExpandAll,filterNodeMethod:this.filterNodeMethod}),this.root=this.store.root;var t=this.dragState;this.$on("tree-node-drag-start",(function(n,i){if("function"===typeof e.allowDrag&&!e.allowDrag(i.node))return n.preventDefault(),!1;n.dataTransfer.effectAllowed="move";try{n.dataTransfer.setData("text/plain","")}catch(r){}t.draggingNode=i,e.$emit("node-drag-start",i.node,n)})),this.$on("tree-node-drag-over",(function(n,i){var r=lu(n.target,"ElTreeNode"),o=t.dropNode;o&&o!==r&&Object($e["removeClass"])(o.$el,"is-drop-inner");var a=t.draggingNode;if(a&&r){var s=!0,l=!0,u=!0,c=!0;"function"===typeof e.allowDrop&&(s=e.allowDrop(a.node,r.node,"prev"),c=l=e.allowDrop(a.node,r.node,"inner"),u=e.allowDrop(a.node,r.node,"next")),n.dataTransfer.dropEffect=l?"move":"none",(s||l||u)&&o!==r&&(o&&e.$emit("node-drag-leave",a.node,o.node,n),e.$emit("node-drag-enter",a.node,r.node,n)),(s||l||u)&&(t.dropNode=r),r.node.nextSibling===a.node&&(u=!1),r.node.previousSibling===a.node&&(s=!1),r.node.contains(a.node,!1)&&(l=!1),(a.node===r.node||a.node.contains(r.node))&&(s=!1,l=!1,u=!1);var h=r.$el.getBoundingClientRect(),d=e.$el.getBoundingClientRect(),f=void 0,p=s?l?.25:u?.45:1:-1,g=u?l?.75:s?.55:0:1,m=-9999,v=n.clientY-h.top;f=v<h.height*p?"before":v>h.height*g?"after":l?"inner":"none";var y=r.$el.querySelector(".el-tree-node__expand-icon").getBoundingClientRect(),b=e.$refs.dropIndicator;"before"===f?m=y.top-d.top:"after"===f&&(m=y.bottom-d.top),b.style.top=m+"px",b.style.left=y.right-d.left+"px","inner"===f?Object($e["addClass"])(r.$el,"is-drop-inner"):Object($e["removeClass"])(r.$el,"is-drop-inner"),t.showDropIndicator="before"===f||"after"===f,t.allowDrop=t.showDropIndicator||c,t.dropType=f,e.$emit("node-drag-over",a.node,r.node,n)}})),this.$on("tree-node-drag-end",(function(n){var i=t.draggingNode,r=t.dropType,o=t.dropNode;if(n.preventDefault(),n.dataTransfer.dropEffect="move",i&&o){var a={data:i.node.data};"none"!==r&&i.node.remove(),"before"===r?o.node.parent.insertBefore(a,o.node):"after"===r?o.node.parent.insertAfter(a,o.node):"inner"===r&&o.node.insertChild(a),"none"!==r&&e.store.registerNode(a),Object($e["removeClass"])(o.$el,"is-drop-inner"),e.$emit("node-drag-end",i.node,o.node,r,n),"none"!==r&&e.$emit("node-drop",i.node,o.node,r,n)}i&&!o&&e.$emit("node-drag-end",i.node,null,r,n),t.showDropIndicator=!1,t.draggingNode=null,t.dropNode=null,t.allowDrop=!0}))},mounted:function(){this.initTabIndex(),this.$el.addEventListener("keydown",this.handleKeydown)},updated:function(){this.treeItems=this.$el.querySelectorAll("[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]")}},Eu=Tu,Du=s(Eu,iu,ru,!1,null,null,null);Du.options.__file="packages/tree/src/tree.vue";var Pu=Du.exports;Pu.install=function(e){e.component(Pu.name,Pu)};var Ou=Pu,Iu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-alert-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-alert",class:[e.typeClass,e.center?"is-center":"","is-"+e.effect],attrs:{role:"alert"}},[e.showIcon?n("i",{staticClass:"el-alert__icon",class:[e.iconClass,e.isBigIcon]}):e._e(),n("div",{staticClass:"el-alert__content"},[e.title||e.$slots.title?n("span",{staticClass:"el-alert__title",class:[e.isBoldTitle]},[e._t("title",[e._v(e._s(e.title))])],2):e._e(),e.$slots.default&&!e.description?n("p",{staticClass:"el-alert__description"},[e._t("default")],2):e._e(),e.description&&!e.$slots.default?n("p",{staticClass:"el-alert__description"},[e._v(e._s(e.description))]):e._e(),n("i",{directives:[{name:"show",rawName:"v-show",value:e.closable,expression:"closable"}],staticClass:"el-alert__closebtn",class:{"is-customed":""!==e.closeText,"el-icon-close":""===e.closeText},on:{click:function(t){e.close()}}},[e._v(e._s(e.closeText))])])])])},Au=[];Iu._withStripped=!0;var Lu={success:"el-icon-success",warning:"el-icon-warning",error:"el-icon-error"},Nu={name:"ElAlert",props:{title:{type:String,default:""},description:{type:String,default:""},type:{type:String,default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,default:"light",validator:function(e){return-1!==["light","dark"].indexOf(e)}}},data:function(){return{visible:!0}},methods:{close:function(){this.visible=!1,this.$emit("close")}},computed:{typeClass:function(){return"el-alert--"+this.type},iconClass:function(){return Lu[this.type]||"el-icon-info"},isBigIcon:function(){return this.description||this.$slots.default?"is-big":""},isBoldTitle:function(){return this.description||this.$slots.default?"is-bold":""}}},Ru=Nu,zu=s(Ru,Iu,Au,!1,null,null,null);zu.options.__file="packages/alert/src/main.vue";var $u=zu.exports;$u.install=function(e){e.component($u.name,$u)};var Bu=$u,Fu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-notification-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-notification",e.customClass,e.horizontalClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:function(t){e.clearTimer()},mouseleave:function(t){e.startTimer()},click:e.click}},[e.type||e.iconClass?n("i",{staticClass:"el-notification__icon",class:[e.typeClass,e.iconClass]}):e._e(),n("div",{staticClass:"el-notification__group",class:{"is-with-icon":e.typeClass||e.iconClass}},[n("h2",{staticClass:"el-notification__title",domProps:{textContent:e._s(e.title)}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.message,expression:"message"}],staticClass:"el-notification__content"},[e._t("default",[e.dangerouslyUseHTMLString?n("p",{domProps:{innerHTML:e._s(e.message)}}):n("p",[e._v(e._s(e.message))])])],2),e.showClose?n("div",{staticClass:"el-notification__closeBtn el-icon-close",on:{click:function(t){return t.stopPropagation(),e.close(t)}}}):e._e()])])])},ju=[];Fu._withStripped=!0;var Vu={success:"success",info:"info",warning:"warning",error:"error"},Hu={data:function(){return{visible:!1,title:"",message:"",duration:4500,type:"",showClose:!0,customClass:"",iconClass:"",onClose:null,onClick:null,closed:!1,verticalOffset:0,timer:null,dangerouslyUseHTMLString:!1,position:"top-right"}},computed:{typeClass:function(){return this.type&&Vu[this.type]?"el-icon-"+Vu[this.type]:""},horizontalClass:function(){return this.position.indexOf("right")>-1?"right":"left"},verticalProperty:function(){return/^top-/.test(this.position)?"top":"bottom"},positionStyle:function(){var e;return e={},e[this.verticalProperty]=this.verticalOffset+"px",e}},watch:{closed:function(e){e&&(this.visible=!1,this.$el.addEventListener("transitionend",this.destroyElement))}},methods:{destroyElement:function(){this.$el.removeEventListener("transitionend",this.destroyElement),this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},click:function(){"function"===typeof this.onClick&&this.onClick()},close:function(){this.closed=!0,"function"===typeof this.onClose&&this.onClose()},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration))},keydown:function(e){46===e.keyCode||8===e.keyCode?this.clearTimer():27===e.keyCode?this.closed||this.close():this.startTimer()}},mounted:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration)),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},Wu=Hu,Gu=s(Wu,Fu,ju,!1,null,null,null);Gu.options.__file="packages/notification/src/main.vue";var qu=Gu.exports,Uu=Vi.a.extend(qu),Yu=void 0,Xu=[],Zu=1,Ku=function e(t){if(!Vi.a.prototype.$isServer){t=kt()({},t);var n=t.onClose,i="notification_"+Zu++,r=t.position||"top-right";t.onClose=function(){e.close(i,n)},Yu=new Uu({data:t}),Object(Ts["isVNode"])(t.message)&&(Yu.$slots.default=[t.message],t.message="REPLACED_BY_VNODE"),Yu.id=i,Yu.$mount(),document.body.appendChild(Yu.$el),Yu.visible=!0,Yu.dom=Yu.$el,Yu.dom.style.zIndex=C["PopupManager"].nextZIndex();var o=t.offset||0;return Xu.filter((function(e){return e.position===r})).forEach((function(e){o+=e.$el.offsetHeight+16})),o+=16,Yu.verticalOffset=o,Xu.push(Yu),Yu}};["success","warning","info","error"].forEach((function(e){Ku[e]=function(t){return("string"===typeof t||Object(Ts["isVNode"])(t))&&(t={message:t}),t.type=e,Ku(t)}})),Ku.close=function(e,t){var n=-1,i=Xu.length,r=Xu.filter((function(t,i){return t.id===e&&(n=i,!0)}))[0];if(r&&("function"===typeof t&&t(r),Xu.splice(n,1),!(i<=1)))for(var o=r.position,a=r.dom.offsetHeight,s=n;s<i-1;s++)Xu[s].position===o&&(Xu[s].dom.style[r.verticalProperty]=parseInt(Xu[s].dom.style[r.verticalProperty],10)-a-16+"px")},Ku.closeAll=function(){for(var e=Xu.length-1;e>=0;e--)Xu[e].close()};var Qu=Ku,Ju=Qu,ec=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-slider",class:{"is-vertical":e.vertical,"el-slider--with-input":e.showInput},attrs:{role:"slider","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":e.sliderDisabled}},[e.showInput&&!e.range?n("el-input-number",{ref:"input",staticClass:"el-slider__input",attrs:{step:e.step,disabled:e.sliderDisabled,controls:e.showInputControls,min:e.min,max:e.max,debounce:e.debounce,size:e.inputSize},on:{change:e.emitChange},model:{value:e.firstValue,callback:function(t){e.firstValue=t},expression:"firstValue"}}):e._e(),n("div",{ref:"slider",staticClass:"el-slider__runway",class:{"show-input":e.showInput,disabled:e.sliderDisabled},style:e.runwayStyle,on:{click:e.onSliderClick}},[n("div",{staticClass:"el-slider__bar",style:e.barStyle}),n("slider-button",{ref:"button1",attrs:{vertical:e.vertical,"tooltip-class":e.tooltipClass},model:{value:e.firstValue,callback:function(t){e.firstValue=t},expression:"firstValue"}}),e.range?n("slider-button",{ref:"button2",attrs:{vertical:e.vertical,"tooltip-class":e.tooltipClass},model:{value:e.secondValue,callback:function(t){e.secondValue=t},expression:"secondValue"}}):e._e(),e._l(e.stops,(function(t,i){return e.showStops?n("div",{key:i,staticClass:"el-slider__stop",style:e.getStopStyle(t)}):e._e()})),e.markList.length>0?[n("div",e._l(e.markList,(function(t,i){return n("div",{key:i,staticClass:"el-slider__stop el-slider__marks-stop",style:e.getStopStyle(t.position)})})),0),n("div",{staticClass:"el-slider__marks"},e._l(e.markList,(function(t,i){return n("slider-marker",{key:i,style:e.getStopStyle(t.position),attrs:{mark:t.mark}})})),1)]:e._e()],2)],1)},tc=[];ec._withStripped=!0;var nc=n(42),ic=n.n(nc),rc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"button",staticClass:"el-slider__button-wrapper",class:{hover:e.hovering,dragging:e.dragging},style:e.wrapperStyle,attrs:{tabindex:"0"},on:{mouseenter:e.handleMouseEnter,mouseleave:e.handleMouseLeave,mousedown:e.onButtonDown,touchstart:e.onButtonDown,focus:e.handleMouseEnter,blur:e.handleMouseLeave,keydown:[function(t){return!("button"in t)&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.onLeftKeyDown(t)},function(t){return!("button"in t)&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.onRightKeyDown(t)},function(t){return!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.onLeftKeyDown(t))},function(t){return!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.onRightKeyDown(t))}]}},[n("el-tooltip",{ref:"tooltip",attrs:{placement:"top","popper-class":e.tooltipClass,disabled:!e.showTooltip}},[n("span",{attrs:{slot:"content"},slot:"content"},[e._v(e._s(e.formatValue))]),n("div",{staticClass:"el-slider__button",class:{hover:e.hovering,dragging:e.dragging}})])],1)},oc=[];rc._withStripped=!0;var ac={name:"ElSliderButton",components:{ElTooltip:rt.a},props:{value:{type:Number,default:0},vertical:{type:Boolean,default:!1},tooltipClass:String},data:function(){return{hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:null,oldValue:this.value}},computed:{disabled:function(){return this.$parent.sliderDisabled},max:function(){return this.$parent.max},min:function(){return this.$parent.min},step:function(){return this.$parent.step},showTooltip:function(){return this.$parent.showTooltip},precision:function(){return this.$parent.precision},currentPosition:function(){return(this.value-this.min)/(this.max-this.min)*100+"%"},enableFormat:function(){return this.$parent.formatTooltip instanceof Function},formatValue:function(){return this.enableFormat&&this.$parent.formatTooltip(this.value)||this.value},wrapperStyle:function(){return this.vertical?{bottom:this.currentPosition}:{left:this.currentPosition}}},watch:{dragging:function(e){this.$parent.dragging=e}},methods:{displayTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!0)},hideTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!1)},handleMouseEnter:function(){this.hovering=!0,this.displayTooltip()},handleMouseLeave:function(){this.hovering=!1,this.hideTooltip()},onButtonDown:function(e){this.disabled||(e.preventDefault(),this.onDragStart(e),window.addEventListener("mousemove",this.onDragging),window.addEventListener("touchmove",this.onDragging),window.addEventListener("mouseup",this.onDragEnd),window.addEventListener("touchend",this.onDragEnd),window.addEventListener("contextmenu",this.onDragEnd))},onLeftKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)-this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onRightKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)+this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onDragStart:function(e){this.dragging=!0,this.isClick=!0,"touchstart"===e.type&&(e.clientY=e.touches[0].clientY,e.clientX=e.touches[0].clientX),this.vertical?this.startY=e.clientY:this.startX=e.clientX,this.startPosition=parseFloat(this.currentPosition),this.newPosition=this.startPosition},onDragging:function(e){if(this.dragging){this.isClick=!1,this.displayTooltip(),this.$parent.resetSize();var t=0;"touchmove"===e.type&&(e.clientY=e.touches[0].clientY,e.clientX=e.touches[0].clientX),this.vertical?(this.currentY=e.clientY,t=(this.startY-this.currentY)/this.$parent.sliderSize*100):(this.currentX=e.clientX,t=(this.currentX-this.startX)/this.$parent.sliderSize*100),this.newPosition=this.startPosition+t,this.setPosition(this.newPosition)}},onDragEnd:function(){var e=this;this.dragging&&(setTimeout((function(){e.dragging=!1,e.hideTooltip(),e.isClick||(e.setPosition(e.newPosition),e.$parent.emitChange())}),0),window.removeEventListener("mousemove",this.onDragging),window.removeEventListener("touchmove",this.onDragging),window.removeEventListener("mouseup",this.onDragEnd),window.removeEventListener("touchend",this.onDragEnd),window.removeEventListener("contextmenu",this.onDragEnd))},setPosition:function(e){var t=this;if(null!==e&&!isNaN(e)){e<0?e=0:e>100&&(e=100);var n=100/((this.max-this.min)/this.step),i=Math.round(e/n),r=i*n*(this.max-this.min)*.01+this.min;r=parseFloat(r.toFixed(this.precision)),this.$emit("input",r),this.$nextTick((function(){t.displayTooltip(),t.$refs.tooltip&&t.$refs.tooltip.updatePopper()})),this.dragging||this.value===this.oldValue||(this.oldValue=this.value)}}}},sc=ac,lc=s(sc,rc,oc,!1,null,null,null);lc.options.__file="packages/slider/src/button.vue";var uc=lc.exports,cc={name:"ElMarker",props:{mark:{type:[String,Object]}},render:function(){var e=arguments[0],t="string"===typeof this.mark?this.mark:this.mark.label;return e("div",{class:"el-slider__marks-text",style:this.mark.style||{}},[t])}},hc={name:"ElSlider",mixins:[E.a],inject:{elForm:{default:""}},props:{min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},value:{type:[Number,Array],default:0},showInput:{type:Boolean,default:!1},showInputControls:{type:Boolean,default:!0},inputSize:{type:String,default:"small"},showStops:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!0},formatTooltip:Function,disabled:{type:Boolean,default:!1},range:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},height:{type:String},debounce:{type:Number,default:300},label:{type:String},tooltipClass:String,marks:Object},components:{ElInputNumber:ic.a,SliderButton:uc,SliderMarker:cc},data:function(){return{firstValue:null,secondValue:null,oldValue:null,dragging:!1,sliderSize:1}},watch:{value:function(e,t){this.dragging||Array.isArray(e)&&Array.isArray(t)&&e.every((function(e,n){return e===t[n]}))||this.setValues()},dragging:function(e){e||this.setValues()},firstValue:function(e){this.range?this.$emit("input",[this.minValue,this.maxValue]):this.$emit("input",e)},secondValue:function(){this.range&&this.$emit("input",[this.minValue,this.maxValue])},min:function(){this.setValues()},max:function(){this.setValues()}},methods:{valueChanged:function(){var e=this;return this.range?![this.minValue,this.maxValue].every((function(t,n){return t===e.oldValue[n]})):this.value!==this.oldValue},setValues:function(){if(this.min>this.max)console.error("[Element Error][Slider]min should not be greater than max.");else{var e=this.value;this.range&&Array.isArray(e)?e[1]<this.min?this.$emit("input",[this.min,this.min]):e[0]>this.max?this.$emit("input",[this.max,this.max]):e[0]<this.min?this.$emit("input",[this.min,e[1]]):e[1]>this.max?this.$emit("input",[e[0],this.max]):(this.firstValue=e[0],this.secondValue=e[1],this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",[this.minValue,this.maxValue]),this.oldValue=e.slice())):this.range||"number"!==typeof e||isNaN(e)||(e<this.min?this.$emit("input",this.min):e>this.max?this.$emit("input",this.max):(this.firstValue=e,this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",e),this.oldValue=e)))}},setPosition:function(e){var t=this.min+e*(this.max-this.min)/100;if(this.range){var n=void 0;n=Math.abs(this.minValue-t)<Math.abs(this.maxValue-t)?this.firstValue<this.secondValue?"button1":"button2":this.firstValue>this.secondValue?"button1":"button2",this.$refs[n].setPosition(e)}else this.$refs.button1.setPosition(e)},onSliderClick:function(e){if(!this.sliderDisabled&&!this.dragging){if(this.resetSize(),this.vertical){var t=this.$refs.slider.getBoundingClientRect().bottom;this.setPosition((t-e.clientY)/this.sliderSize*100)}else{var n=this.$refs.slider.getBoundingClientRect().left;this.setPosition((e.clientX-n)/this.sliderSize*100)}this.emitChange()}},resetSize:function(){this.$refs.slider&&(this.sliderSize=this.$refs.slider["client"+(this.vertical?"Height":"Width")])},emitChange:function(){var e=this;this.$nextTick((function(){e.$emit("change",e.range?[e.minValue,e.maxValue]:e.value)}))},getStopStyle:function(e){return this.vertical?{bottom:e+"%"}:{left:e+"%"}}},computed:{stops:function(){var e=this;if(!this.showStops||this.min>this.max)return[];if(0===this.step)return[];for(var t=(this.max-this.min)/this.step,n=100*this.step/(this.max-this.min),i=[],r=1;r<t;r++)i.push(r*n);return this.range?i.filter((function(t){return t<100*(e.minValue-e.min)/(e.max-e.min)||t>100*(e.maxValue-e.min)/(e.max-e.min)})):i.filter((function(t){return t>100*(e.firstValue-e.min)/(e.max-e.min)}))},markList:function(){var e=this;if(!this.marks)return[];var t=Object.keys(this.marks);return t.map(parseFloat).sort((function(e,t){return e-t})).filter((function(t){return t<=e.max&&t>=e.min})).map((function(t){return{point:t,position:100*(t-e.min)/(e.max-e.min),mark:e.marks[t]}}))},minValue:function(){return Math.min(this.firstValue,this.secondValue)},maxValue:function(){return Math.max(this.firstValue,this.secondValue)},barSize:function(){return this.range?100*(this.maxValue-this.minValue)/(this.max-this.min)+"%":100*(this.firstValue-this.min)/(this.max-this.min)+"%"},barStart:function(){return this.range?100*(this.minValue-this.min)/(this.max-this.min)+"%":"0%"},precision:function(){var e=[this.min,this.max,this.step].map((function(e){var t=(""+e).split(".")[1];return t?t.length:0}));return Math.max.apply(null,e)},runwayStyle:function(){return this.vertical?{height:this.height}:{}},barStyle:function(){return this.vertical?{height:this.barSize,bottom:this.barStart}:{width:this.barSize,left:this.barStart}},sliderDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},mounted:function(){var e=void 0;this.range?(Array.isArray(this.value)?(this.firstValue=Math.max(this.min,this.value[0]),this.secondValue=Math.min(this.max,this.value[1])):(this.firstValue=this.min,this.secondValue=this.max),this.oldValue=[this.firstValue,this.secondValue],e=this.firstValue+"-"+this.secondValue):("number"!==typeof this.value||isNaN(this.value)?this.firstValue=this.min:this.firstValue=Math.min(this.max,Math.max(this.min,this.value)),this.oldValue=this.firstValue,e=this.firstValue),this.$el.setAttribute("aria-valuetext",e),this.$el.setAttribute("aria-label",this.label?this.label:"slider between "+this.min+" and "+this.max),this.resetSize(),window.addEventListener("resize",this.resetSize)},beforeDestroy:function(){window.removeEventListener("resize",this.resetSize)}},dc=hc,fc=s(dc,ec,tc,!1,null,null,null);fc.options.__file="packages/slider/src/main.vue";var pc=fc.exports;pc.install=function(e){e.component(pc.name,pc)};var gc=pc,mc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-loading-mask",class:[e.customClass,{"is-fullscreen":e.fullscreen}],style:{backgroundColor:e.background||""}},[n("div",{staticClass:"el-loading-spinner"},[e.spinner?n("i",{class:e.spinner}):n("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),e.text?n("p",{staticClass:"el-loading-text"},[e._v(e._s(e.text))]):e._e()])])])},vc=[];mc._withStripped=!0;var yc={data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(e){this.text=e}}},bc=yc,xc=s(bc,mc,vc,!1,null,null,null);xc.options.__file="packages/loading/src/loading.vue";var _c=xc.exports,wc=n(33),Cc=n.n(wc),Sc=Vi.a.extend(_c),kc={install:function(e){if(!e.prototype.$isServer){var t=function(t,i){i.value?e.nextTick((function(){i.modifiers.fullscreen?(t.originalPosition=Object($e["getStyle"])(document.body,"position"),t.originalOverflow=Object($e["getStyle"])(document.body,"overflow"),t.maskStyle.zIndex=C["PopupManager"].nextZIndex(),Object($e["addClass"])(t.mask,"is-fullscreen"),n(document.body,t,i)):(Object($e["removeClass"])(t.mask,"is-fullscreen"),i.modifiers.body?(t.originalPosition=Object($e["getStyle"])(document.body,"position"),["top","left"].forEach((function(e){var n="top"===e?"scrollTop":"scrollLeft";t.maskStyle[e]=t.getBoundingClientRect()[e]+document.body[n]+document.documentElement[n]-parseInt(Object($e["getStyle"])(document.body,"margin-"+e),10)+"px"})),["height","width"].forEach((function(e){t.maskStyle[e]=t.getBoundingClientRect()[e]+"px"})),n(document.body,t,i)):(t.originalPosition=Object($e["getStyle"])(t,"position"),n(t,t,i)))})):(Cc()(t.instance,(function(e){if(t.instance.hiding){t.domVisible=!1;var n=i.modifiers.fullscreen||i.modifiers.body?document.body:t;Object($e["removeClass"])(n,"el-loading-parent--relative"),Object($e["removeClass"])(n,"el-loading-parent--hidden"),t.instance.hiding=!1}}),300,!0),t.instance.visible=!1,t.instance.hiding=!0)},n=function(t,n,i){n.domVisible||"none"===Object($e["getStyle"])(n,"display")||"hidden"===Object($e["getStyle"])(n,"visibility")?n.domVisible&&!0===n.instance.hiding&&(n.instance.visible=!0,n.instance.hiding=!1):(Object.keys(n.maskStyle).forEach((function(e){n.mask.style[e]=n.maskStyle[e]})),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&"sticky"!==n.originalPosition&&Object($e["addClass"])(t,"el-loading-parent--relative"),i.modifiers.fullscreen&&i.modifiers.lock&&Object($e["addClass"])(t,"el-loading-parent--hidden"),n.domVisible=!0,t.appendChild(n.mask),e.nextTick((function(){n.instance.hiding?n.instance.$emit("after-leave"):n.instance.visible=!0})),n.domInserted=!0)};e.directive("loading",{bind:function(e,n,i){var r=e.getAttribute("element-loading-text"),o=e.getAttribute("element-loading-spinner"),a=e.getAttribute("element-loading-background"),s=e.getAttribute("element-loading-custom-class"),l=i.context,u=new Sc({el:document.createElement("div"),data:{text:l&&l[r]||r,spinner:l&&l[o]||o,background:l&&l[a]||a,customClass:l&&l[s]||s,fullscreen:!!n.modifiers.fullscreen}});e.instance=u,e.mask=u.$el,e.maskStyle={},n.value&&t(e,n)},update:function(e,n){e.instance.setText(e.getAttribute("element-loading-text")),n.oldValue!==n.value&&t(e,n)},unbind:function(e,n){e.domInserted&&(e.mask&&e.mask.parentNode&&e.mask.parentNode.removeChild(e.mask),t(e,{value:!1,modifiers:n.modifiers})),e.instance&&e.instance.$destroy()}})}}},Mc=kc,Tc=Vi.a.extend(_c),Ec={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},Dc=void 0;Tc.prototype.originalPosition="",Tc.prototype.originalOverflow="",Tc.prototype.close=function(){var e=this;this.fullscreen&&(Dc=void 0),Cc()(this,(function(t){var n=e.fullscreen||e.body?document.body:e.target;Object($e["removeClass"])(n,"el-loading-parent--relative"),Object($e["removeClass"])(n,"el-loading-parent--hidden"),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),e.$destroy()}),300),this.visible=!1};var Pc=function(e,t,n){var i={};e.fullscreen?(n.originalPosition=Object($e["getStyle"])(document.body,"position"),n.originalOverflow=Object($e["getStyle"])(document.body,"overflow"),i.zIndex=C["PopupManager"].nextZIndex()):e.body?(n.originalPosition=Object($e["getStyle"])(document.body,"position"),["top","left"].forEach((function(t){var n="top"===t?"scrollTop":"scrollLeft";i[t]=e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]+"px"})),["height","width"].forEach((function(t){i[t]=e.target.getBoundingClientRect()[t]+"px"}))):n.originalPosition=Object($e["getStyle"])(t,"position"),Object.keys(i).forEach((function(e){n.$el.style[e]=i[e]}))},Oc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Vi.a.prototype.$isServer){if(e=kt()({},Ec,e),"string"===typeof e.target&&(e.target=document.querySelector(e.target)),e.target=e.target||document.body,e.target!==document.body?e.fullscreen=!1:e.body=!0,e.fullscreen&&Dc)return Dc;var t=e.body?document.body:e.target,n=new Tc({el:document.createElement("div"),data:e});return Pc(e,t,n),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&"sticky"!==n.originalPosition&&Object($e["addClass"])(t,"el-loading-parent--relative"),e.fullscreen&&e.lock&&Object($e["addClass"])(t,"el-loading-parent--hidden"),t.appendChild(n.$el),Vi.a.nextTick((function(){n.visible=!0})),e.fullscreen&&(Dc=n),n}},Ic=Oc,Ac={install:function(e){e.use(Mc),e.prototype.$loading=Ic},directive:Mc,service:Ic},Lc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("i",{class:"el-icon-"+e.name})},Nc=[];Lc._withStripped=!0;var Rc={name:"ElIcon",props:{name:String}},zc=Rc,$c=s(zc,Lc,Nc,!1,null,null,null);$c.options.__file="packages/icon/src/icon.vue";var Bc=$c.exports;Bc.install=function(e){e.component(Bc.name,Bc)};var Fc=Bc,jc={name:"ElRow",componentName:"ElRow",props:{tag:{type:String,default:"div"},gutter:Number,type:String,justify:{type:String,default:"start"},align:String},computed:{style:function(){var e={};return this.gutter&&(e.marginLeft="-"+this.gutter/2+"px",e.marginRight=e.marginLeft),e}},render:function(e){return e(this.tag,{class:["el-row","start"!==this.justify?"is-justify-"+this.justify:"",this.align?"is-align-"+this.align:"",{"el-row--flex":"flex"===this.type}],style:this.style},this.$slots.default)},install:function(e){e.component(jc.name,jc)}},Vc=jc,Hc="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wc={name:"ElCol",props:{span:{type:Number,default:24},tag:{type:String,default:"div"},offset:Number,pull:Number,push:Number,xs:[Number,Object],sm:[Number,Object],md:[Number,Object],lg:[Number,Object],xl:[Number,Object]},computed:{gutter:function(){var e=this.$parent;while(e&&"ElRow"!==e.$options.componentName)e=e.$parent;return e?e.gutter:0}},render:function(e){var t=this,n=[],i={};return this.gutter&&(i.paddingLeft=this.gutter/2+"px",i.paddingRight=i.paddingLeft),["span","offset","pull","push"].forEach((function(e){(t[e]||0===t[e])&&n.push("span"!==e?"el-col-"+e+"-"+t[e]:"el-col-"+t[e])})),["xs","sm","md","lg","xl"].forEach((function(e){if("number"===typeof t[e])n.push("el-col-"+e+"-"+t[e]);else if("object"===Hc(t[e])){var i=t[e];Object.keys(i).forEach((function(t){n.push("span"!==t?"el-col-"+e+"-"+t+"-"+i[t]:"el-col-"+e+"-"+i[t])}))}})),e(this.tag,{class:["el-col",n],style:i},this.$slots.default)},install:function(e){e.component(Wc.name,Wc)}},Gc=Wc,qc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition-group",{class:["el-upload-list","el-upload-list--"+e.listType,{"is-disabled":e.disabled}],attrs:{tag:"ul",name:"el-list"}},e._l(e.files,(function(t){return n("li",{key:t.uid,class:["el-upload-list__item","is-"+t.status,e.focusing?"focusing":""],attrs:{tabindex:"0"},on:{keydown:function(n){if(!("button"in n)&&e._k(n.keyCode,"delete",[8,46],n.key,["Backspace","Delete","Del"]))return null;!e.disabled&&e.$emit("remove",t)},focus:function(t){e.focusing=!0},blur:function(t){e.focusing=!1},click:function(t){e.focusing=!1}}},[e._t("default",["uploading"!==t.status&&["picture-card","picture"].indexOf(e.listType)>-1?n("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:t.url,alt:""}}):e._e(),n("a",{staticClass:"el-upload-list__item-name",on:{click:function(n){e.handleClick(t)}}},[n("i",{staticClass:"el-icon-document"}),e._v(e._s(t.name)+"\n ")]),n("label",{staticClass:"el-upload-list__item-status-label"},[n("i",{class:{"el-icon-upload-success":!0,"el-icon-circle-check":"text"===e.listType,"el-icon-check":["picture-card","picture"].indexOf(e.listType)>-1}})]),e.disabled?e._e():n("i",{staticClass:"el-icon-close",on:{click:function(n){e.$emit("remove",t)}}}),e.disabled?e._e():n("i",{staticClass:"el-icon-close-tip"},[e._v(e._s(e.t("el.upload.deleteTip")))]),"uploading"===t.status?n("el-progress",{attrs:{type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:e.parsePercentage(t.percentage)}}):e._e(),"picture-card"===e.listType?n("span",{staticClass:"el-upload-list__item-actions"},[e.handlePreview&&"picture-card"===e.listType?n("span",{staticClass:"el-upload-list__item-preview",on:{click:function(n){e.handlePreview(t)}}},[n("i",{staticClass:"el-icon-zoom-in"})]):e._e(),e.disabled?e._e():n("span",{staticClass:"el-upload-list__item-delete",on:{click:function(n){e.$emit("remove",t)}}},[n("i",{staticClass:"el-icon-delete"})])]):e._e()],{file:t})],2)})),0)},Uc=[];qc._withStripped=!0;var Yc=n(34),Xc=n.n(Yc),Zc={name:"ElUploadList",mixins:[v.a],data:function(){return{focusing:!1}},components:{ElProgress:Xc.a},props:{files:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},handlePreview:Function,listType:String},methods:{parsePercentage:function(e){return parseInt(e,10)},handleClick:function(e){this.handlePreview&&this.handlePreview(e)}}},Kc=Zc,Qc=s(Kc,qc,Uc,!1,null,null,null);Qc.options.__file="packages/upload/src/upload-list.vue";var Jc=Qc.exports,eh=n(24),th=n.n(eh);function nh(e,t,n){var i=void 0;i=n.response?""+(n.response.error||n.response):n.responseText?""+n.responseText:"fail to post "+e+" "+n.status;var r=new Error(i);return r.status=n.status,r.method="post",r.url=e,r}function ih(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function rh(e){if("undefined"!==typeof XMLHttpRequest){var t=new XMLHttpRequest,n=e.action;t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var i=new FormData;e.data&&Object.keys(e.data).forEach((function(t){i.append(t,e.data[t])})),i.append(e.filename,e.file,e.file.name),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(nh(n,e,t));e.onSuccess(ih(t))},t.open("post",n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var o in r)r.hasOwnProperty(o)&&null!==r[o]&&t.setRequestHeader(o,r[o]);return t.send(i),t}}var oh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-upload-dragger",class:{"is-dragover":e.dragover},on:{drop:function(t){return t.preventDefault(),e.onDrop(t)},dragover:function(t){return t.preventDefault(),e.onDragover(t)},dragleave:function(t){t.preventDefault(),e.dragover=!1}}},[e._t("default")],2)},ah=[];oh._withStripped=!0;var sh={name:"ElUploadDrag",props:{disabled:Boolean},inject:{uploader:{default:""}},data:function(){return{dragover:!1}},methods:{onDragover:function(){this.disabled||(this.dragover=!0)},onDrop:function(e){if(!this.disabled&&this.uploader){var t=this.uploader.accept;this.dragover=!1,t?this.$emit("file",[].slice.call(e.dataTransfer.files).filter((function(e){var n=e.type,i=e.name,r=i.indexOf(".")>-1?"."+i.split(".").pop():"",o=n.replace(/\/.*$/,"");return t.split(",").map((function(e){return e.trim()})).filter((function(e){return e})).some((function(e){return/\..+$/.test(e)?r===e:/\/\*$/.test(e)?o===e.replace(/\/\*$/,""):!!/^[^\/]+\/[^\/]+$/.test(e)&&n===e}))}))):this.$emit("file",e.dataTransfer.files)}}}},lh=sh,uh=s(lh,oh,ah,!1,null,null,null);uh.options.__file="packages/upload/src/upload-dragger.vue";var ch,hh,dh=uh.exports,fh={inject:["uploader"],components:{UploadDragger:dh},props:{type:String,action:{type:String,required:!0},name:{type:String,default:"file"},data:Object,headers:Object,withCredentials:Boolean,multiple:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,drag:Boolean,onPreview:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},fileList:Array,autoUpload:Boolean,listType:String,httpRequest:{type:Function,default:rh},disabled:Boolean,limit:Number,onExceed:Function},data:function(){return{mouseover:!1,reqs:{}}},methods:{isImage:function(e){return-1!==e.indexOf("image")},handleChange:function(e){var t=e.target.files;t&&this.uploadFiles(t)},uploadFiles:function(e){var t=this;if(this.limit&&this.fileList.length+e.length>this.limit)this.onExceed&&this.onExceed(e,this.fileList);else{var n=Array.prototype.slice.call(e);this.multiple||(n=n.slice(0,1)),0!==n.length&&n.forEach((function(e){t.onStart(e),t.autoUpload&&t.upload(e)}))}},upload:function(e){var t=this;if(this.$refs.input.value=null,!this.beforeUpload)return this.post(e);var n=this.beforeUpload(e);n&&n.then?n.then((function(n){var i=Object.prototype.toString.call(n);if("[object File]"===i||"[object Blob]"===i){for(var r in"[object Blob]"===i&&(n=new File([n],e.name,{type:e.type})),e)e.hasOwnProperty(r)&&(n[r]=e[r]);t.post(n)}else t.post(e)}),(function(){t.onRemove(null,e)})):!1!==n?this.post(e):this.onRemove(null,e)},abort:function(e){var t=this.reqs;if(e){var n=e;e.uid&&(n=e.uid),t[n]&&t[n].abort()}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort(),delete t[e]}))},post:function(e){var t=this,n=e.uid,i={headers:this.headers,withCredentials:this.withCredentials,file:e,data:this.data,filename:this.name,action:this.action,onProgress:function(n){t.onProgress(n,e)},onSuccess:function(i){t.onSuccess(i,e),delete t.reqs[n]},onError:function(i){t.onError(i,e),delete t.reqs[n]}},r=this.httpRequest(i);this.reqs[n]=r,r&&r.then&&r.then(i.onSuccess,i.onError)},handleClick:function(){this.disabled||(this.$refs.input.value=null,this.$refs.input.click())},handleKeydown:function(e){e.target===e.currentTarget&&(13!==e.keyCode&&32!==e.keyCode||this.handleClick())}},render:function(e){var t=this.handleClick,n=this.drag,i=this.name,r=this.handleChange,o=this.multiple,a=this.accept,s=this.listType,l=this.uploadFiles,u=this.disabled,c=this.handleKeydown,h={class:{"el-upload":!0},on:{click:t,keydown:c}};return h.class["el-upload--"+s]=!0,e("div",th()([h,{attrs:{tabindex:"0"}}]),[n?e("upload-dragger",{attrs:{disabled:u},on:{file:l}},[this.$slots.default]):this.$slots.default,e("input",{class:"el-upload__input",attrs:{type:"file",name:i,multiple:o,accept:a},ref:"input",on:{change:r}})])}},ph=fh,gh=s(ph,ch,hh,!1,null,null,null);gh.options.__file="packages/upload/src/upload.vue";var mh=gh.exports;function vh(){}var yh,bh,xh={name:"ElUpload",mixins:[M.a],components:{ElProgress:Xc.a,UploadList:Jc,Upload:mh},provide:function(){return{uploader:this}},inject:{elForm:{default:""}},props:{action:{type:String,required:!0},headers:{type:Object,default:function(){return{}}},data:Object,multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,dragger:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:String,type:{type:String,default:"select"},beforeUpload:Function,beforeRemove:Function,onRemove:{type:Function,default:vh},onChange:{type:Function,default:vh},onPreview:{type:Function},onSuccess:{type:Function,default:vh},onProgress:{type:Function,default:vh},onError:{type:Function,default:vh},fileList:{type:Array,default:function(){return[]}},autoUpload:{type:Boolean,default:!0},listType:{type:String,default:"text"},httpRequest:Function,disabled:Boolean,limit:Number,onExceed:{type:Function,default:vh}},data:function(){return{uploadFiles:[],dragOver:!1,draging:!1,tempIndex:1}},computed:{uploadDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{listType:function(e){"picture-card"!==e&&"picture"!==e||(this.uploadFiles=this.uploadFiles.map((function(e){if(!e.url&&e.raw)try{e.url=URL.createObjectURL(e.raw)}catch(t){console.error("[Element Error][Upload]",t)}return e})))},fileList:{immediate:!0,handler:function(e){var t=this;this.uploadFiles=e.map((function(e){return e.uid=e.uid||Date.now()+t.tempIndex++,e.status=e.status||"success",e}))}}},methods:{handleStart:function(e){e.uid=Date.now()+this.tempIndex++;var t={status:"ready",name:e.name,size:e.size,percentage:0,uid:e.uid,raw:e};if("picture-card"===this.listType||"picture"===this.listType)try{t.url=URL.createObjectURL(e)}catch(n){return void console.error("[Element Error][Upload]",n)}this.uploadFiles.push(t),this.onChange(t,this.uploadFiles)},handleProgress:function(e,t){var n=this.getFile(t);this.onProgress(e,n,this.uploadFiles),n.status="uploading",n.percentage=e.percent||0},handleSuccess:function(e,t){var n=this.getFile(t);n&&(n.status="success",n.response=e,this.onSuccess(e,n,this.uploadFiles),this.onChange(n,this.uploadFiles))},handleError:function(e,t){var n=this.getFile(t),i=this.uploadFiles;n.status="fail",i.splice(i.indexOf(n),1),this.onError(e,n,this.uploadFiles),this.onChange(n,this.uploadFiles)},handleRemove:function(e,t){var n=this;t&&(e=this.getFile(t));var i=function(){n.abort(e);var t=n.uploadFiles;t.splice(t.indexOf(e),1),n.onRemove(e,t)};if(this.beforeRemove){if("function"===typeof this.beforeRemove){var r=this.beforeRemove(e,this.uploadFiles);r&&r.then?r.then((function(){i()}),vh):!1!==r&&i()}}else i()},getFile:function(e){var t=this.uploadFiles,n=void 0;return t.every((function(t){return n=e.uid===t.uid?t:null,!n})),n},abort:function(e){this.$refs["upload-inner"].abort(e)},clearFiles:function(){this.uploadFiles=[]},submit:function(){var e=this;this.uploadFiles.filter((function(e){return"ready"===e.status})).forEach((function(t){e.$refs["upload-inner"].upload(t.raw)}))},getMigratingConfig:function(){return{props:{"default-file-list":"default-file-list is renamed to file-list.","show-upload-list":"show-upload-list is renamed to show-file-list.","thumbnail-mode":"thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan"}}}},beforeDestroy:function(){this.uploadFiles.forEach((function(e){e.url&&0===e.url.indexOf("blob:")&&URL.revokeObjectURL(e.url)}))},render:function(e){var t=this,n=void 0;this.showFileList&&(n=e(Jc,{attrs:{disabled:this.uploadDisabled,listType:this.listType,files:this.uploadFiles,handlePreview:this.onPreview},on:{remove:this.handleRemove}},[function(e){if(t.$scopedSlots.file)return t.$scopedSlots.file({file:e.file})}]));var i={props:{type:this.type,drag:this.drag,action:this.action,multiple:this.multiple,"before-upload":this.beforeUpload,"with-credentials":this.withCredentials,headers:this.headers,name:this.name,data:this.data,accept:this.accept,fileList:this.uploadFiles,autoUpload:this.autoUpload,listType:this.listType,disabled:this.uploadDisabled,limit:this.limit,"on-exceed":this.onExceed,"on-start":this.handleStart,"on-progress":this.handleProgress,"on-success":this.handleSuccess,"on-error":this.handleError,"on-preview":this.onPreview,"on-remove":this.handleRemove,"http-request":this.httpRequest},ref:"upload-inner"},r=this.$slots.trigger||this.$slots.default,o=e("upload",i,[r]);return e("div",["picture-card"===this.listType?n:"",this.$slots.trigger?[o,this.$slots.default]:o,this.$slots.tip,"picture-card"!==this.listType?n:""])}},_h=xh,wh=s(_h,yh,bh,!1,null,null,null);wh.options.__file="packages/upload/src/index.vue";var Ch=wh.exports;Ch.install=function(e){e.component(Ch.name,Ch)};var Sh=Ch,kh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?n("div",{staticClass:"el-progress-bar"},[n("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px",backgroundColor:e.defineBackColor}},[n("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?n("div",{staticClass:"el-progress-bar__innerText",style:{color:e.textColor}},[e._v(e._s(e.content))]):e._e()])])]):n("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[n("svg",{attrs:{viewBox:"0 0 100 100"}},[n("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:e.defineBackColor,"stroke-width":e.relativeStrokeWidth,fill:"none"}}),n("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?n("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px",color:e.textColor}},[e.status?n("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])},Mh=[];kh._withStripped=!0;var Th={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},defineBackColor:{type:[String,Array,Function],default:"#ebeef5"},textColor:{type:[String,Array,Function],default:"#606266"},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){var e=-1*this.perimeter*(1-this.rate)/2;return e+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"===typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"===typeof this.color?this.color(e):"string"===typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort((function(e,t){return e.percentage-t.percentage})),n=0;n<t.length;n++)if(t[n].percentage>e)return t[n].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map((function(e,n){return"string"===typeof e?{color:e,percentage:(n+1)*t}:e}))}}},Eh=Th,Dh=s(Eh,kh,Mh,!1,null,null,null);Dh.options.__file="packages/progress/src/progress.vue";var Ph=Dh.exports;Ph.install=function(e){e.component(Ph.name,Ph)};var Oh=Ph,Ih=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"el-spinner"},[n("svg",{staticClass:"el-spinner-inner",style:{width:e.radius/2+"px",height:e.radius/2+"px"},attrs:{viewBox:"0 0 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"25",cy:"25",r:"20",fill:"none",stroke:e.strokeColor,"stroke-width":e.strokeWidth}})])])},Ah=[];Ih._withStripped=!0;var Lh={name:"ElSpinner",props:{type:String,radius:{type:Number,default:100},strokeWidth:{type:Number,default:5},strokeColor:{type:String,default:"#efefef"}}},Nh=Lh,Rh=s(Nh,Ih,Ah,!1,null,null,null);Rh.options.__file="packages/spinner/src/spinner.vue";var zh=Rh.exports;zh.install=function(e){e.component(zh.name,zh)};var $h=zh,Bh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-message",e.type&&!e.iconClass?"el-message--"+e.type:"",e.center?"is-center":"",e.showClose?"is-closable":"",e.customClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:e.clearTimer,mouseleave:e.startTimer}},[e.iconClass?n("i",{class:e.iconClass}):n("i",{class:e.typeClass}),e._t("default",[e.dangerouslyUseHTMLString?n("p",{staticClass:"el-message__content",domProps:{innerHTML:e._s(e.message)}}):n("p",{staticClass:"el-message__content"},[e._v(e._s(e.message))])]),e.showClose?n("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:e.close}}):e._e()],2)])},Fh=[];Bh._withStripped=!0;var jh={success:"success",info:"info",warning:"warning",error:"error"},Vh={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+jh[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(e){e&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"===typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration))},keydown:function(e){27===e.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},Hh=Vh,Wh=s(Hh,Bh,Fh,!1,null,null,null);Wh.options.__file="packages/message/src/main.vue";var Gh=Wh.exports,qh=n(16),Uh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Yh=Vi.a.extend(Gh),Xh=void 0,Zh=[],Kh=1,Qh=function e(t){if(!Vi.a.prototype.$isServer){t=t||{},"string"===typeof t&&(t={message:t});var n=t.onClose,i="message_"+Kh++;t.onClose=function(){e.close(i,n)},Xh=new Yh({data:t}),Xh.id=i,Object(Ts["isVNode"])(Xh.message)&&(Xh.$slots.default=[Xh.message],Xh.message=null),Xh.$mount(),document.body.appendChild(Xh.$el);var r=t.offset||20;return Zh.forEach((function(e){r+=e.$el.offsetHeight+16})),Xh.verticalOffset=r,Xh.visible=!0,Xh.$el.style.zIndex=C["PopupManager"].nextZIndex(),Zh.push(Xh),Xh}};["success","warning","info","error"].forEach((function(e){Qh[e]=function(t){return Object(qh["isObject"])(t)&&!Object(Ts["isVNode"])(t)?Qh(Uh({},t,{type:e})):Qh({type:e,message:t})}})),Qh.close=function(e,t){for(var n=Zh.length,i=-1,r=void 0,o=0;o<n;o++)if(e===Zh[o].id){r=Zh[o].$el.offsetHeight,i=o,"function"===typeof t&&t(Zh[o]),Zh.splice(o,1);break}if(!(n<=1||-1===i||i>Zh.length-1))for(var a=i;a<n-1;a++){var s=Zh[a].$el;s.style["top"]=parseInt(s.style["top"],10)-r-16+"px"}},Qh.closeAll=function(){for(var e=Zh.length-1;e>=0;e--)Zh[e].close()};var Jh=Qh,ed=Jh,td=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-badge"},[e._t("default"),n("transition",{attrs:{name:"el-zoom-in-center"}},[n("sup",{directives:[{name:"show",rawName:"v-show",value:!e.hidden&&(e.content||0===e.content||e.isDot),expression:"!hidden && (content || content === 0 || isDot)"}],staticClass:"el-badge__content",class:[e.type?"el-badge__content--"+e.type:null,{"is-fixed":e.$slots.default,"is-dot":e.isDot}],domProps:{textContent:e._s(e.content)}})])],2)},nd=[];td._withStripped=!0;var id={name:"ElBadge",props:{value:[String,Number],max:Number,isDot:Boolean,hidden:Boolean,type:{type:String,validator:function(e){return["primary","success","warning","info","danger"].indexOf(e)>-1}}},computed:{content:function(){if(!this.isDot){var e=this.value,t=this.max;return"number"===typeof e&&"number"===typeof t&&t<e?t+"+":e}}}},rd=id,od=s(rd,td,nd,!1,null,null,null);od.options.__file="packages/badge/src/main.vue";var ad=od.exports;ad.install=function(e){e.component(ad.name,ad)};var sd=ad,ld=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-card",class:e.shadow?"is-"+e.shadow+"-shadow":"is-always-shadow"},[e.$slots.header||e.header?n("div",{staticClass:"el-card__header"},[e._t("header",[e._v(e._s(e.header))])],2):e._e(),n("div",{staticClass:"el-card__body",style:e.bodyStyle},[e._t("default")],2)])},ud=[];ld._withStripped=!0;var cd={name:"ElCard",props:{header:{},bodyStyle:{},shadow:{type:String}}},hd=cd,dd=s(hd,ld,ud,!1,null,null,null);dd.options.__file="packages/card/src/main.vue";var fd=dd.exports;fd.install=function(e){e.component(fd.name,fd)};var pd=fd,gd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-rate",attrs:{role:"slider","aria-valuenow":e.currentValue,"aria-valuetext":e.text,"aria-valuemin":"0","aria-valuemax":e.max,tabindex:"0"},on:{keydown:e.handleKey}},[e._l(e.max,(function(t,i){return n("span",{key:i,staticClass:"el-rate__item",style:{cursor:e.rateDisabled?"auto":"pointer"},on:{mousemove:function(n){e.setCurrentValue(t,n)},mouseleave:e.resetCurrentValue,click:function(n){e.selectValue(t)}}},[n("i",{staticClass:"el-rate__icon",class:[e.classes[t-1],{hover:e.hoverIndex===t}],style:e.getIconStyle(t)},[e.showDecimalIcon(t)?n("i",{staticClass:"el-rate__decimal",class:e.decimalIconClass,style:e.decimalStyle}):e._e()])])})),e.showText||e.showScore?n("span",{staticClass:"el-rate__text",style:{color:e.textColor}},[e._v(e._s(e.text))]):e._e()],2)},md=[];gd._withStripped=!0;var vd={name:"ElRate",mixins:[M.a],inject:{elForm:{default:""}},data:function(){return{pointerAtLeftHalf:!0,currentValue:this.value,hoverIndex:-1}},props:{value:{type:Number,default:0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:[Array,Object],default:function(){return["#F7BA2A","#F7BA2A","#F7BA2A"]}},voidColor:{type:String,default:"#C6D1DE"},disabledVoidColor:{type:String,default:"#EFF2F7"},iconClasses:{type:[Array,Object],default:function(){return["el-icon-star-on","el-icon-star-on","el-icon-star-on"]}},voidIconClass:{type:String,default:"el-icon-star-off"},disabledVoidIconClass:{type:String,default:"el-icon-star-on"},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},showText:{type:Boolean,default:!1},showScore:{type:Boolean,default:!1},textColor:{type:String,default:"#1f2d3d"},texts:{type:Array,default:function(){return["极差","失望","一般","满意","惊喜"]}},scoreTemplate:{type:String,default:"{value}"}},computed:{text:function(){var e="";return this.showScore?e=this.scoreTemplate.replace(/\{\s*value\s*\}/,this.rateDisabled?this.value:this.currentValue):this.showText&&(e=this.texts[Math.ceil(this.currentValue)-1]),e},decimalStyle:function(){var e="";return this.rateDisabled?e=this.valueDecimal+"%":this.allowHalf&&(e="50%"),{color:this.activeColor,width:e}},valueDecimal:function(){return 100*this.value-100*Math.floor(this.value)},classMap:function(){var e;return Array.isArray(this.iconClasses)?(e={},e[this.lowThreshold]=this.iconClasses[0],e[this.highThreshold]={value:this.iconClasses[1],excluded:!0},e[this.max]=this.iconClasses[2],e):this.iconClasses},decimalIconClass:function(){return this.getValueFromMap(this.value,this.classMap)},voidClass:function(){return this.rateDisabled?this.disabledVoidIconClass:this.voidIconClass},activeClass:function(){return this.getValueFromMap(this.currentValue,this.classMap)},colorMap:function(){var e;return Array.isArray(this.colors)?(e={},e[this.lowThreshold]=this.colors[0],e[this.highThreshold]={value:this.colors[1],excluded:!0},e[this.max]=this.colors[2],e):this.colors},activeColor:function(){return this.getValueFromMap(this.currentValue,this.colorMap)},classes:function(){var e=[],t=0,n=this.currentValue;for(this.allowHalf&&this.currentValue!==Math.floor(this.currentValue)&&n--;t<n;t++)e.push(this.activeClass);for(;t<this.max;t++)e.push(this.voidClass);return e},rateDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{value:function(e){this.currentValue=e,this.pointerAtLeftHalf=this.value!==Math.floor(this.value)}},methods:{getMigratingConfig:function(){return{props:{"text-template":"text-template is renamed to score-template."}}},getValueFromMap:function(e,t){var n=Object.keys(t).filter((function(n){var i=t[n],r=!!Object(qh["isObject"])(i)&&i.excluded;return r?e<n:e<=n})).sort((function(e,t){return e-t})),i=t[n[0]];return Object(qh["isObject"])(i)?i.value:i||""},showDecimalIcon:function(e){var t=this.rateDisabled&&this.valueDecimal>0&&e-1<this.value&&e>this.value,n=this.allowHalf&&this.pointerAtLeftHalf&&e-.5<=this.currentValue&&e>this.currentValue;return t||n},getIconStyle:function(e){var t=this.rateDisabled?this.disabledVoidColor:this.voidColor;return{color:e<=this.currentValue?this.activeColor:t}},selectValue:function(e){this.rateDisabled||(this.allowHalf&&this.pointerAtLeftHalf?(this.$emit("input",this.currentValue),this.$emit("change",this.currentValue)):(this.$emit("input",e),this.$emit("change",e)))},handleKey:function(e){if(!this.rateDisabled){var t=this.currentValue,n=e.keyCode;38===n||39===n?(this.allowHalf?t+=.5:t+=1,e.stopPropagation(),e.preventDefault()):37!==n&&40!==n||(this.allowHalf?t-=.5:t-=1,e.stopPropagation(),e.preventDefault()),t=t<0?0:t,t=t>this.max?this.max:t,this.$emit("input",t),this.$emit("change",t)}},setCurrentValue:function(e,t){if(!this.rateDisabled){if(this.allowHalf){var n=t.target;Object($e["hasClass"])(n,"el-rate__item")&&(n=n.querySelector(".el-rate__icon")),Object($e["hasClass"])(n,"el-rate__decimal")&&(n=n.parentNode),this.pointerAtLeftHalf=2*t.offsetX<=n.clientWidth,this.currentValue=this.pointerAtLeftHalf?e-.5:e}else this.currentValue=e;this.hoverIndex=e}},resetCurrentValue:function(){this.rateDisabled||(this.allowHalf&&(this.pointerAtLeftHalf=this.value!==Math.floor(this.value)),this.currentValue=this.value,this.hoverIndex=-1)}},created:function(){this.value||this.$emit("input",0)}},yd=vd,bd=s(yd,gd,md,!1,null,null,null);bd.options.__file="packages/rate/src/main.vue";var xd=bd.exports;xd.install=function(e){e.component(xd.name,xd)};var _d=xd,wd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-steps",class:[!e.simple&&"el-steps--"+e.direction,e.simple&&"el-steps--simple"]},[e._t("default")],2)},Cd=[];wd._withStripped=!0;var Sd={name:"ElSteps",mixins:[M.a],props:{space:[Number,String],active:Number,direction:{type:String,default:"horizontal"},alignCenter:Boolean,simple:Boolean,finishStatus:{type:String,default:"finish"},processStatus:{type:String,default:"process"}},data:function(){return{steps:[],stepOffset:0}},methods:{getMigratingConfig:function(){return{props:{center:"center is removed."}}}},watch:{active:function(e,t){this.$emit("change",e,t)},steps:function(e){e.forEach((function(e,t){e.index=t}))}}},kd=Sd,Md=s(kd,wd,Cd,!1,null,null,null);Md.options.__file="packages/steps/src/steps.vue";var Td=Md.exports;Td.install=function(e){e.component(Td.name,Td)};var Ed=Td,Dd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-step",class:[!e.isSimple&&"is-"+e.$parent.direction,e.isSimple&&"is-simple",e.isLast&&!e.space&&!e.isCenter&&"is-flex",e.isCenter&&!e.isVertical&&!e.isSimple&&"is-center"],style:e.style},[n("div",{staticClass:"el-step__head",class:"is-"+e.currentStatus},[n("div",{staticClass:"el-step__line",style:e.isLast?"":{marginRight:e.$parent.stepOffset+"px"}},[n("i",{staticClass:"el-step__line-inner",style:e.lineStyle})]),n("div",{staticClass:"el-step__icon",class:"is-"+(e.icon?"icon":"text")},["success"!==e.currentStatus&&"error"!==e.currentStatus?e._t("icon",[e.icon?n("i",{staticClass:"el-step__icon-inner",class:[e.icon]}):e._e(),e.icon||e.isSimple?e._e():n("div",{staticClass:"el-step__icon-inner"},[e._v(e._s(e.index+1))])]):n("i",{staticClass:"el-step__icon-inner is-status",class:["el-icon-"+("success"===e.currentStatus?"check":"close")]})],2)]),n("div",{staticClass:"el-step__main"},[n("div",{ref:"title",staticClass:"el-step__title",class:["is-"+e.currentStatus]},[e._t("title",[e._v(e._s(e.title))])],2),e.isSimple?n("div",{staticClass:"el-step__arrow"}):n("div",{staticClass:"el-step__description",class:["is-"+e.currentStatus]},[e._t("description",[e._v(e._s(e.description))])],2)])])},Pd=[];Dd._withStripped=!0;var Od={name:"ElStep",props:{title:String,icon:String,description:String,status:String},data:function(){return{index:-1,lineStyle:{},internalStatus:""}},beforeCreate:function(){this.$parent.steps.push(this)},beforeDestroy:function(){var e=this.$parent.steps,t=e.indexOf(this);t>=0&&e.splice(t,1)},computed:{currentStatus:function(){return this.status||this.internalStatus},prevStatus:function(){var e=this.$parent.steps[this.index-1];return e?e.currentStatus:"wait"},isCenter:function(){return this.$parent.alignCenter},isVertical:function(){return"vertical"===this.$parent.direction},isSimple:function(){return this.$parent.simple},isLast:function(){var e=this.$parent;return e.steps[e.steps.length-1]===this},stepsCount:function(){return this.$parent.steps.length},space:function(){var e=this.isSimple,t=this.$parent.space;return e?"":t},style:function(){var e={},t=this.$parent,n=t.steps.length,i="number"===typeof this.space?this.space+"px":this.space?this.space:100/(n-(this.isCenter?0:1))+"%";return e.flexBasis=i,this.isVertical||(this.isLast?e.maxWidth=100/this.stepsCount+"%":e.marginRight=-this.$parent.stepOffset+"px"),e}},methods:{updateStatus:function(e){var t=this.$parent.$children[this.index-1];e>this.index?this.internalStatus=this.$parent.finishStatus:e===this.index&&"error"!==this.prevStatus?this.internalStatus=this.$parent.processStatus:this.internalStatus="wait",t&&t.calcProgress(this.internalStatus)},calcProgress:function(e){var t=100,n={};n.transitionDelay=150*this.index+"ms",e===this.$parent.processStatus?(this.currentStatus,t=0):"wait"===e&&(t=0,n.transitionDelay=-150*this.index+"ms"),n.borderWidth=t&&!this.isSimple?"1px":0,"vertical"===this.$parent.direction?n.height=t+"%":n.width=t+"%",this.lineStyle=n}},mounted:function(){var e=this,t=this.$watch("index",(function(n){e.$watch("$parent.active",e.updateStatus,{immediate:!0}),e.$watch("$parent.processStatus",(function(){var t=e.$parent.active;e.updateStatus(t)}),{immediate:!0}),t()}))}},Id=Od,Ad=s(Id,Dd,Pd,!1,null,null,null);Ad.options.__file="packages/steps/src/step.vue";var Ld=Ad.exports;Ld.install=function(e){e.component(Ld.name,Ld)};var Nd=Ld,Rd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.carouselClasses,on:{mouseenter:function(t){return t.stopPropagation(),e.handleMouseEnter(t)},mouseleave:function(t){return t.stopPropagation(),e.handleMouseLeave(t)}}},[n("div",{staticClass:"el-carousel__container",style:{height:e.height}},[e.arrowDisplay?n("transition",{attrs:{name:"carousel-arrow-left"}},[n("button",{directives:[{name:"show",rawName:"v-show",value:("always"===e.arrow||e.hover)&&(e.loop||e.activeIndex>0),expression:"(arrow === 'always' || hover) && (loop || activeIndex > 0)"}],staticClass:"el-carousel__arrow el-carousel__arrow--left",attrs:{type:"button"},on:{mouseenter:function(t){e.handleButtonEnter("left")},mouseleave:e.handleButtonLeave,click:function(t){t.stopPropagation(),e.throttledArrowClick(e.activeIndex-1)}}},[n("i",{staticClass:"el-icon-arrow-left"})])]):e._e(),e.arrowDisplay?n("transition",{attrs:{name:"carousel-arrow-right"}},[n("button",{directives:[{name:"show",rawName:"v-show",value:("always"===e.arrow||e.hover)&&(e.loop||e.activeIndex<e.items.length-1),expression:"(arrow === 'always' || hover) && (loop || activeIndex < items.length - 1)"}],staticClass:"el-carousel__arrow el-carousel__arrow--right",attrs:{type:"button"},on:{mouseenter:function(t){e.handleButtonEnter("right")},mouseleave:e.handleButtonLeave,click:function(t){t.stopPropagation(),e.throttledArrowClick(e.activeIndex+1)}}},[n("i",{staticClass:"el-icon-arrow-right"})])]):e._e(),e._t("default")],2),"none"!==e.indicatorPosition?n("ul",{class:e.indicatorsClasses},e._l(e.items,(function(t,i){return n("li",{key:i,class:["el-carousel__indicator","el-carousel__indicator--"+e.direction,{"is-active":i===e.activeIndex}],on:{mouseenter:function(t){e.throttledIndicatorHover(i)},click:function(t){t.stopPropagation(),e.handleIndicatorClick(i)}}},[n("button",{staticClass:"el-carousel__button"},[e.hasLabel?n("span",[e._v(e._s(t.label))]):e._e()])])})),0):e._e()])},zd=[];Rd._withStripped=!0;var $d=n(25),Bd=n.n($d),Fd={name:"ElCarousel",props:{initialIndex:{type:Number,default:0},height:String,trigger:{type:String,default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:String,indicator:{type:Boolean,default:!0},arrow:{type:String,default:"hover"},type:String,loop:{type:Boolean,default:!0},direction:{type:String,default:"horizontal",validator:function(e){return-1!==["horizontal","vertical"].indexOf(e)}}},data:function(){return{items:[],activeIndex:-1,containerWidth:0,timer:null,hover:!1}},computed:{arrowDisplay:function(){return"never"!==this.arrow&&"vertical"!==this.direction},hasLabel:function(){return this.items.some((function(e){return e.label.toString().length>0}))},carouselClasses:function(){var e=["el-carousel","el-carousel--"+this.direction];return"card"===this.type&&e.push("el-carousel--card"),e},indicatorsClasses:function(){var e=["el-carousel__indicators","el-carousel__indicators--"+this.direction];return this.hasLabel&&e.push("el-carousel__indicators--labels"),"outside"!==this.indicatorPosition&&"card"!==this.type||e.push("el-carousel__indicators--outside"),e}},watch:{items:function(e){e.length>0&&this.setActiveItem(this.initialIndex)},activeIndex:function(e,t){this.resetItemPosition(t),t>-1&&this.$emit("change",e,t)},autoplay:function(e){e?this.startTimer():this.pauseTimer()},loop:function(){this.setActiveItem(this.activeIndex)},interval:function(){this.pauseTimer(),this.startTimer()}},methods:{handleMouseEnter:function(){this.hover=!0,this.pauseTimer()},handleMouseLeave:function(){this.hover=!1,this.startTimer()},itemInStage:function(e,t){var n=this.items.length;return t===n-1&&e.inStage&&this.items[0].active||e.inStage&&this.items[t+1]&&this.items[t+1].active?"left":!!(0===t&&e.inStage&&this.items[n-1].active||e.inStage&&this.items[t-1]&&this.items[t-1].active)&&"right"},handleButtonEnter:function(e){var t=this;"vertical"!==this.direction&&this.items.forEach((function(n,i){e===t.itemInStage(n,i)&&(n.hover=!0)}))},handleButtonLeave:function(){"vertical"!==this.direction&&this.items.forEach((function(e){e.hover=!1}))},updateItems:function(){this.items=this.$children.filter((function(e){return"ElCarouselItem"===e.$options.name}))},resetItemPosition:function(e){var t=this;this.items.forEach((function(n,i){n.translateItem(i,t.activeIndex,e)}))},playSlides:function(){this.activeIndex<this.items.length-1?this.activeIndex++:this.loop&&(this.activeIndex=0)},pauseTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},startTimer:function(){this.interval<=0||!this.autoplay||this.timer||(this.timer=setInterval(this.playSlides,this.interval))},resetTimer:function(){this.pauseTimer(),this.startTimer()},setActiveItem:function(e){if("string"===typeof e){var t=this.items.filter((function(t){return t.name===e}));t.length>0&&(e=this.items.indexOf(t[0]))}if(e=Number(e),isNaN(e)||e!==Math.floor(e))console.warn("[Element Warn][Carousel]index must be an integer.");else{var n=this.items.length,i=this.activeIndex;this.activeIndex=e<0?this.loop?n-1:0:e>=n?this.loop?0:n-1:e,i===this.activeIndex&&this.resetItemPosition(i),this.resetTimer()}},prev:function(){this.setActiveItem(this.activeIndex-1)},next:function(){this.setActiveItem(this.activeIndex+1)},handleIndicatorClick:function(e){this.activeIndex=e},handleIndicatorHover:function(e){"hover"===this.trigger&&e!==this.activeIndex&&(this.activeIndex=e)}},created:function(){var e=this;this.throttledArrowClick=Bd()(300,!0,(function(t){e.setActiveItem(t)})),this.throttledIndicatorHover=Bd()(300,(function(t){e.handleIndicatorHover(t)}))},mounted:function(){var e=this;this.updateItems(),this.$nextTick((function(){Object(ei["addResizeListener"])(e.$el,e.resetItemPosition),e.initialIndex<e.items.length&&e.initialIndex>=0&&(e.activeIndex=e.initialIndex),e.startTimer()}))},beforeDestroy:function(){this.$el&&Object(ei["removeResizeListener"])(this.$el,this.resetItemPosition),this.pauseTimer()}},jd=Fd,Vd=s(jd,Rd,zd,!1,null,null,null);Vd.options.__file="packages/carousel/src/main.vue";var Hd=Vd.exports;Hd.install=function(e){e.component(Hd.name,Hd)};var Wd=Hd,Gd={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function qd(e){var t=e.move,n=e.size,i=e.bar,r={},o="translate"+i.axis+"("+t+"%)";return r[i.size]=n,r.transform=o,r.msTransform=o,r.webkitTransform=o,r}var Ud={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return Gd[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:qd({size:t,move:n,bar:i})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object($e["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object($e["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object($e["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object($e["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},Yd={name:"ElScrollbar",components:{Bar:Ud},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=vr()(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(y["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"===typeof this.wrapStyle?n+=r:n=r}var o=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),a=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[o]]),s=void 0;return s=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[o]])]:[a,e(Ud,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(Ud,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},s)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(ei["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(ei["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(Yd.name,Yd)}},Xd=Yd,Zd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],staticClass:"el-carousel__item",class:{"is-active":e.active,"el-carousel__item--card":"card"===e.$parent.type,"is-in-stage":e.inStage,"is-hover":e.hover,"is-animating":e.animating},style:e.itemStyle,on:{click:e.handleItemClick}},["card"===e.$parent.type?n("div",{directives:[{name:"show",rawName:"v-show",value:!e.active,expression:"!active"}],staticClass:"el-carousel__mask"}):e._e(),e._t("default")],2)},Kd=[];Zd._withStripped=!0;var Qd=.83,Jd={name:"ElCarouselItem",props:{name:String,label:{type:[String,Number],default:""}},data:function(){return{hover:!1,translate:0,scale:1,active:!1,ready:!1,inStage:!1,animating:!1}},methods:{processIndex:function(e,t,n){return 0===t&&e===n-1?-1:t===n-1&&0===e?n:e<t-1&&t-e>=n/2?n+1:e>t+1&&e-t>=n/2?-2:e},calcCardTranslate:function(e,t){var n=this.$parent.$el.offsetWidth;return this.inStage?n*((2-Qd)*(e-t)+1)/4:e<t?-(1+Qd)*n/4:(3+Qd)*n/4},calcTranslate:function(e,t,n){var i=this.$parent.$el[n?"offsetHeight":"offsetWidth"];return i*(e-t)},translateItem:function(e,t,n){var i=this.$parent.type,r=this.parentDirection,o=this.$parent.items.length;if("card"!==i&&void 0!==n&&(this.animating=e===t||e===n),e!==t&&o>2&&this.$parent.loop&&(e=this.processIndex(e,t,o)),"card"===i)"vertical"===r&&console.warn("[Element Warn][Carousel]vertical direction is not supported in card mode"),this.inStage=Math.round(Math.abs(e-t))<=1,this.active=e===t,this.translate=this.calcCardTranslate(e,t),this.scale=this.active?1:Qd;else{this.active=e===t;var a="vertical"===r;this.translate=this.calcTranslate(e,t,a),this.scale=1}this.ready=!0},handleItemClick:function(){var e=this.$parent;if(e&&"card"===e.type){var t=e.items.indexOf(this);e.setActiveItem(t)}}},computed:{parentDirection:function(){return this.$parent.direction},itemStyle:function(){var e="vertical"===this.parentDirection?"translateY":"translateX",t=e+"("+this.translate+"px) scale("+this.scale+")",n={transform:t};return Object(y["autoprefixer"])(n)}},created:function(){this.$parent&&this.$parent.updateItems()},destroyed:function(){this.$parent&&this.$parent.updateItems()}},ef=Jd,tf=s(ef,Zd,Kd,!1,null,null,null);tf.options.__file="packages/carousel/src/item.vue";var nf=tf.exports;nf.install=function(e){e.component(nf.name,nf)};var rf=nf,of=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-collapse",attrs:{role:"tablist","aria-multiselectable":"true"}},[e._t("default")],2)},af=[];of._withStripped=!0;var sf={name:"ElCollapse",componentName:"ElCollapse",props:{accordion:Boolean,value:{type:[Array,String,Number],default:function(){return[]}}},data:function(){return{activeNames:[].concat(this.value)}},provide:function(){return{collapse:this}},watch:{value:function(e){this.activeNames=[].concat(e)}},methods:{setActiveNames:function(e){e=[].concat(e);var t=this.accordion?e[0]:e;this.activeNames=e,this.$emit("input",t),this.$emit("change",t)},handleItemClick:function(e){if(this.accordion)this.setActiveNames(!this.activeNames[0]&&0!==this.activeNames[0]||this.activeNames[0]!==e.name?e.name:"");else{var t=this.activeNames.slice(0),n=t.indexOf(e.name);n>-1?t.splice(n,1):t.push(e.name),this.setActiveNames(t)}}},created:function(){this.$on("item-click",this.handleItemClick)}},lf=sf,uf=s(lf,of,af,!1,null,null,null);uf.options.__file="packages/collapse/src/collapse.vue";var cf=uf.exports;cf.install=function(e){e.component(cf.name,cf)};var hf=cf,df=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-collapse-item",class:{"is-active":e.isActive,"is-disabled":e.disabled}},[n("div",{attrs:{role:"tab","aria-expanded":e.isActive,"aria-controls":"el-collapse-content-"+e.id,"aria-describedby":"el-collapse-content-"+e.id}},[n("div",{staticClass:"el-collapse-item__header",class:{focusing:e.focusing,"is-active":e.isActive},attrs:{role:"button",id:"el-collapse-head-"+e.id,tabindex:e.disabled?void 0:0},on:{click:e.handleHeaderClick,keyup:function(t){return!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.handleEnterClick(t))},focus:e.handleFocus,blur:function(t){e.focusing=!1}}},[e._t("title",[e._v(e._s(e.title))]),n("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right",class:{"is-active":e.isActive}})],2)]),n("el-collapse-transition",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"el-collapse-item__wrap",attrs:{role:"tabpanel","aria-hidden":!e.isActive,"aria-labelledby":"el-collapse-head-"+e.id,id:"el-collapse-content-"+e.id}},[n("div",{staticClass:"el-collapse-item__content"},[e._t("default")],2)])])],1)},ff=[];df._withStripped=!0;var pf={name:"ElCollapseItem",componentName:"ElCollapseItem",mixins:[E.a],components:{ElCollapseTransition:Ue.a},data:function(){return{contentWrapStyle:{height:"auto",display:"block"},contentHeight:0,focusing:!1,isClick:!1,id:Object(y["generateId"])()}},inject:["collapse"],props:{title:String,name:{type:[String,Number],default:function(){return this._uid}},disabled:Boolean},computed:{isActive:function(){return this.collapse.activeNames.indexOf(this.name)>-1}},methods:{handleFocus:function(){var e=this;setTimeout((function(){e.isClick?e.isClick=!1:e.focusing=!0}),50)},handleHeaderClick:function(){this.disabled||(this.dispatch("ElCollapse","item-click",this),this.focusing=!1,this.isClick=!0)},handleEnterClick:function(){this.dispatch("ElCollapse","item-click",this)}}},gf=pf,mf=s(gf,df,ff,!1,null,null,null);mf.options.__file="packages/collapse/src/collapse-item.vue";var vf=mf.exports;vf.install=function(e){e.component(vf.name,vf)};var yf=vf,bf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:function(){return e.toggleDropDownVisible(!1)},expression:"() => toggleDropDownVisible(false)"}],ref:"reference",class:["el-cascader",e.realSize&&"el-cascader--"+e.realSize,{"is-disabled":e.isDisabled}],on:{mouseenter:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1},click:function(){return e.toggleDropDownVisible(!e.readonly||void 0)},keydown:e.handleKeyDown}},[n("el-input",{ref:"input",class:{"is-focus":e.dropDownVisible},attrs:{size:e.realSize,placeholder:e.placeholder,readonly:e.readonly,disabled:e.isDisabled,"validate-event":!1},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.handleInput},model:{value:e.multiple?e.presentText:e.inputValue,callback:function(t){e.multiple?e.presentText:e.inputValue=t},expression:"multiple ? presentText : inputValue"}},[n("template",{slot:"suffix"},[e.clearBtnVisible?n("i",{key:"clear",staticClass:"el-input__icon el-icon-circle-close",on:{click:function(t){return t.stopPropagation(),e.handleClear(t)}}}):n("i",{key:"arrow-down",class:["el-input__icon","el-icon-arrow-down",e.dropDownVisible&&"is-reverse"],on:{click:function(t){t.stopPropagation(),e.toggleDropDownVisible()}}})])],2),e.multiple?n("div",{staticClass:"el-cascader__tags"},[e._l(e.presentTags,(function(t){return n("el-tag",{key:t.key,attrs:{type:"info",size:e.tagSize,hit:t.hitState,closable:t.closable,"disable-transitions":""},on:{close:function(n){e.deleteTag(t)}}},[n("span",[e._v(e._s(t.text))])])})),e.filterable&&!e.isDisabled?n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.inputValue,expression:"inputValue",modifiers:{trim:!0}}],staticClass:"el-cascader__search-input",attrs:{type:"text",placeholder:e.presentTags.length?"":e.placeholder},domProps:{value:e.inputValue},on:{input:[function(t){t.target.composing||(e.inputValue=t.target.value.trim())},function(t){return e.handleInput(e.inputValue,t)}],click:function(t){t.stopPropagation(),e.toggleDropDownVisible(!0)},keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.handleDelete(t)},blur:function(t){e.$forceUpdate()}}}):e._e()],2):e._e(),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.handleDropdownLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.dropDownVisible,expression:"dropDownVisible"}],ref:"popper",class:["el-popper","el-cascader__dropdown",e.popperClass]},[n("el-cascader-panel",{directives:[{name:"show",rawName:"v-show",value:!e.filtering,expression:"!filtering"}],ref:"panel",attrs:{options:e.options,props:e.config,border:!1,"render-label":e.$scopedSlots.default},on:{"expand-change":e.handleExpandChange,close:function(t){e.toggleDropDownVisible(!1)}},model:{value:e.checkedValue,callback:function(t){e.checkedValue=t},expression:"checkedValue"}}),e.filterable?n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.filtering,expression:"filtering"}],ref:"suggestionPanel",staticClass:"el-cascader__suggestion-panel",attrs:{tag:"ul","view-class":"el-cascader__suggestion-list"},nativeOn:{keydown:function(t){return e.handleSuggestionKeyDown(t)}}},[e.suggestions.length?e._l(e.suggestions,(function(t,i){return n("li",{key:t.uid,class:["el-cascader__suggestion-item",t.checked&&"is-checked"],attrs:{tabindex:-1},on:{click:function(t){e.handleSuggestionClick(i)}}},[n("span",[e._v(e._s(t.text))]),t.checked?n("i",{staticClass:"el-icon-check"}):e._e()])})):e._t("empty",[n("li",{staticClass:"el-cascader__empty-text"},[e._v(e._s(e.t("el.cascader.noMatch")))])])],2):e._e()],1)])],1)},xf=[];bf._withStripped=!0;var _f=n(43),wf=n.n(_f),Cf=n(35),Sf=n.n(Cf),kf=Sf.a.keys,Mf={expandTrigger:{newProp:"expandTrigger",type:String},changeOnSelect:{newProp:"checkStrictly",type:Boolean},hoverThreshold:{newProp:"hoverThreshold",type:Number}},Tf={props:{placement:{type:String,default:"bottom-start"},appendToBody:H.a.props.appendToBody,visibleArrow:{type:Boolean,default:!0},arrowOffset:H.a.props.arrowOffset,offset:H.a.props.offset,boundariesPadding:H.a.props.boundariesPadding,popperOptions:H.a.props.popperOptions,transformOrigin:H.a.props.transformOrigin},methods:H.a.methods,data:H.a.data,beforeDestroy:H.a.beforeDestroy},Ef={medium:36,small:32,mini:28},Df={name:"ElCascader",directives:{Clickoutside:B.a},mixins:[Tf,E.a,v.a,M.a],inject:{elForm:{default:""},elFormItem:{default:""}},components:{ElInput:g.a,ElTag:Jn.a,ElScrollbar:G.a,ElCascaderPanel:wf.a},props:{value:{},options:Array,props:Object,size:String,placeholder:{type:String,default:function(){return Object(vs["t"])("el.cascader.placeholder")}},disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:Function,separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,debounce:{type:Number,default:300},beforeFilter:{type:Function,default:function(){return function(){}}},popperClass:String},data:function(){return{dropDownVisible:!1,checkedValue:this.value,inputHover:!1,inputValue:null,presentText:null,presentTags:[],checkedNodes:[],filtering:!1,suggestions:[],inputInitialHeight:0,pressDeleteCount:0}},computed:{realSize:function(){var e=(this.elFormItem||{}).elFormItemSize;return this.size||e||(this.$ELEMENT||{}).size},tagSize:function(){return["small","mini"].indexOf(this.realSize)>-1?"mini":"small"},isDisabled:function(){return this.disabled||(this.elForm||{}).disabled},config:function(){var e=this.props||{},t=this.$attrs;return Object.keys(Mf).forEach((function(n){var i=Mf[n],r=i.newProp,o=i.type,a=t[n]||t[Object(y["kebabCase"])(n)];Object(Mt["isDef"])(n)&&!Object(Mt["isDef"])(e[r])&&(o===Boolean&&""===a&&(a=!0),e[r]=a)})),e},multiple:function(){return this.config.multiple},leafOnly:function(){return!this.config.checkStrictly},readonly:function(){return!this.filterable||this.multiple},clearBtnVisible:function(){return!(!this.clearable||this.isDisabled||this.filtering||!this.inputHover)&&(this.multiple?!!this.checkedNodes.filter((function(e){return!e.isDisabled})).length:!!this.presentText)},panel:function(){return this.$refs.panel}},watch:{disabled:function(){this.computePresentContent()},value:function(e){Object(y["isEqual"])(e,this.checkedValue)||(this.checkedValue=e,this.computePresentContent())},checkedValue:function(e){var t=this.value,n=this.dropDownVisible,i=this.config,r=i.checkStrictly,o=i.multiple;Object(y["isEqual"])(e,t)&&!Object(qh["isUndefined"])(t)||(this.computePresentContent(),o||r||!n||this.toggleDropDownVisible(!1),this.$emit("input",e),this.$emit("change",e),this.dispatch("ElFormItem","el.form.change",[e]))},options:{handler:function(){this.$nextTick(this.computePresentContent)},deep:!0},presentText:function(e){this.inputValue=e},presentTags:function(e,t){this.multiple&&(e.length||t.length)&&this.$nextTick(this.updateStyle)},filtering:function(e){this.$nextTick(this.updatePopper)}},mounted:function(){var e=this,t=this.$refs.input;t&&t.$el&&(this.inputInitialHeight=t.$el.offsetHeight||Ef[this.realSize]||40),this.isEmptyValue(this.value)||this.computePresentContent(),this.filterHandler=z()(this.debounce,(function(){var t=e.inputValue;if(t){var n=e.beforeFilter(t);n&&n.then?n.then(e.getSuggestions):!1!==n?e.getSuggestions():e.filtering=!1}else e.filtering=!1})),Object(ei["addResizeListener"])(this.$el,this.updateStyle)},beforeDestroy:function(){Object(ei["removeResizeListener"])(this.$el,this.updateStyle)},methods:{getMigratingConfig:function(){return{props:{"expand-trigger":"expand-trigger is removed, use `props.expandTrigger` instead.","change-on-select":"change-on-select is removed, use `props.checkStrictly` instead.","hover-threshold":"hover-threshold is removed, use `props.hoverThreshold` instead"},events:{"active-item-change":"active-item-change is renamed to expand-change"}}},toggleDropDownVisible:function(e){var t=this;if(!this.isDisabled){var n=this.dropDownVisible,i=this.$refs.input;e=Object(Mt["isDef"])(e)?e:!n,e!==n&&(this.dropDownVisible=e,e&&this.$nextTick((function(){t.updatePopper(),t.panel.scrollIntoView()})),i.$refs.input.setAttribute("aria-expanded",e),this.$emit("visible-change",e))}},handleDropdownLeave:function(){this.filtering=!1,this.inputValue=this.presentText,this.doDestroy()},handleKeyDown:function(e){switch(e.keyCode){case kf.enter:this.toggleDropDownVisible();break;case kf.down:this.toggleDropDownVisible(!0),this.focusFirstNode(),e.preventDefault();break;case kf.esc:case kf.tab:this.toggleDropDownVisible(!1);break}},handleFocus:function(e){this.$emit("focus",e)},handleBlur:function(e){this.$emit("blur",e)},handleInput:function(e,t){!this.dropDownVisible&&this.toggleDropDownVisible(!0),t&&t.isComposing||(e?this.filterHandler():this.filtering=!1)},handleClear:function(){this.presentText="",this.panel.clearCheckedNodes()},handleExpandChange:function(e){this.$nextTick(this.updatePopper.bind(this)),this.$emit("expand-change",e),this.$emit("active-item-change",e)},focusFirstNode:function(){var e=this;this.$nextTick((function(){var t=e.filtering,n=e.$refs,i=n.popper,r=n.suggestionPanel,o=null;if(t&&r)o=r.$el.querySelector(".el-cascader__suggestion-item");else{var a=i.querySelector(".el-cascader-menu");o=a.querySelector('.el-cascader-node[tabindex="-1"]')}o&&(o.focus(),!t&&o.click())}))},computePresentContent:function(){var e=this;this.$nextTick((function(){e.config.multiple?(e.computePresentTags(),e.presentText=e.presentTags.length?" ":null):e.computePresentText()}))},isEmptyValue:function(e){var t=this.multiple,n=this.panel.config.emitPath;return!(!t&&!n)&&Object(y["isEmpty"])(e)},computePresentText:function(){var e=this.checkedValue,t=this.config;if(!this.isEmptyValue(e)){var n=this.panel.getNodeByValue(e);if(n&&(t.checkStrictly||n.isLeaf))return void(this.presentText=n.getText(this.showAllLevels,this.separator))}this.presentText=null},computePresentTags:function(){var e=this.isDisabled,t=this.leafOnly,n=this.showAllLevels,i=this.separator,r=this.collapseTags,o=this.getCheckedNodes(t),a=[],s=function(t){return{node:t,key:t.uid,text:t.getText(n,i),hitState:!1,closable:!e&&!t.isDisabled}};if(o.length){var l=o[0],u=o.slice(1),c=u.length;a.push(s(l)),c&&(r?a.push({key:-1,text:"+ "+c,closable:!1}):u.forEach((function(e){return a.push(s(e))})))}this.checkedNodes=o,this.presentTags=a},getSuggestions:function(){var e=this,t=this.filterMethod;Object(qh["isFunction"])(t)||(t=function(e,t){return e.text.includes(t)});var n=this.panel.getFlattedNodes(this.leafOnly).filter((function(n){return!n.isDisabled&&(n.text=n.getText(e.showAllLevels,e.separator)||"",t(n,e.inputValue))}));this.multiple?this.presentTags.forEach((function(e){e.hitState=!1})):n.forEach((function(t){t.checked=Object(y["isEqual"])(e.checkedValue,t.getValueByOption())})),this.filtering=!0,this.suggestions=n,this.$nextTick(this.updatePopper)},handleSuggestionKeyDown:function(e){var t=e.keyCode,n=e.target;switch(t){case kf.enter:n.click();break;case kf.up:var i=n.previousElementSibling;i&&i.focus();break;case kf.down:var r=n.nextElementSibling;r&&r.focus();break;case kf.esc:case kf.tab:this.toggleDropDownVisible(!1);break}},handleDelete:function(){var e=this.inputValue,t=this.pressDeleteCount,n=this.presentTags,i=n.length-1,r=n[i];this.pressDeleteCount=e?0:t+1,r&&this.pressDeleteCount&&(r.hitState?this.deleteTag(r):r.hitState=!0)},handleSuggestionClick:function(e){var t=this.multiple,n=this.suggestions[e];if(t){var i=n.checked;n.doCheck(!i),this.panel.calculateMultiCheckedValue()}else this.checkedValue=n.getValueByOption(),this.toggleDropDownVisible(!1)},deleteTag:function(e){var t=this.checkedValue,n=e.node.getValueByOption(),i=t.find((function(e){return Object(y["isEqual"])(e,n)}));this.checkedValue=t.filter((function(e){return!Object(y["isEqual"])(e,n)})),this.$emit("remove-tag",i)},updateStyle:function(){var e=this.$el,t=this.inputInitialHeight;if(!this.$isServer&&e){var n=this.$refs.suggestionPanel,i=e.querySelector(".el-input__inner");if(i){var r=e.querySelector(".el-cascader__tags"),o=null;if(n&&(o=n.$el)){var a=o.querySelector(".el-cascader__suggestion-list");a.style.minWidth=i.offsetWidth+"px"}if(r){var s=Math.round(r.getBoundingClientRect().height),l=Math.max(s+6,t)+"px";i.style.height=l,this.dropDownVisible&&this.updatePopper()}}}},getCheckedNodes:function(e){return this.panel.getCheckedNodes(e)}}},Pf=Df,Of=s(Pf,bf,xf,!1,null,null,null);Of.options.__file="packages/cascader/src/cascader.vue";var If=Of.exports;If.install=function(e){e.component(If.name,If)};var Af=If,Lf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.hide,expression:"hide"}],class:["el-color-picker",e.colorDisabled?"is-disabled":"",e.colorSize?"el-color-picker--"+e.colorSize:""]},[e.colorDisabled?n("div",{staticClass:"el-color-picker__mask"}):e._e(),n("div",{staticClass:"el-color-picker__trigger",on:{click:e.handleTrigger}},[n("span",{staticClass:"el-color-picker__color",class:{"is-alpha":e.showAlpha}},[n("span",{staticClass:"el-color-picker__color-inner",style:{backgroundColor:e.displayedColor}}),e.value||e.showPanelColor?e._e():n("span",{staticClass:"el-color-picker__empty el-icon-close"})]),n("span",{directives:[{name:"show",rawName:"v-show",value:e.value||e.showPanelColor,expression:"value || showPanelColor"}],staticClass:"el-color-picker__icon el-icon-arrow-down"})]),n("picker-dropdown",{ref:"dropdown",class:["el-color-picker__panel",e.popperClass||""],attrs:{color:e.color,"show-alpha":e.showAlpha,predefine:e.predefine},on:{pick:e.confirmValue,clear:e.clearValue},model:{value:e.showPicker,callback:function(t){e.showPicker=t},expression:"showPicker"}})],1)},Nf=[];Lf._withStripped=!0;var Rf="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function zf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var $f=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},Bf=function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)},Ff=function(e){return"string"===typeof e&&-1!==e.indexOf("%")},jf=function(e,t){Bf(e)&&(e="100%");var n=Ff(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)},Vf={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Hf=function(e){var t=e.r,n=e.g,i=e.b,r=function(e){e=Math.min(Math.round(e),255);var t=Math.floor(e/16),n=e%16;return""+(Vf[t]||t)+(Vf[n]||n)};return isNaN(t)||isNaN(n)||isNaN(i)?"":"#"+r(t)+r(n)+r(i)},Wf={A:10,B:11,C:12,D:13,E:14,F:15},Gf=function(e){return 2===e.length?16*(Wf[e[0].toUpperCase()]||+e[0])+(Wf[e[1].toUpperCase()]||+e[1]):Wf[e[1].toUpperCase()]||+e[1]},qf=function(e,t,n){t/=100,n/=100;var i=t,r=Math.max(n,.01),o=void 0,a=void 0;return n*=2,t*=n<=1?n:2-n,i*=r<=1?r:2-r,a=(n+t)/2,o=0===n?2*i/(r+i):2*t/(n+t),{h:e,s:100*o,v:100*a}},Uf=function(e,t,n){e=jf(e,255),t=jf(t,255),n=jf(n,255);var i=Math.max(e,t,n),r=Math.min(e,t,n),o=void 0,a=void 0,s=i,l=i-r;if(a=0===i?0:l/i,i===r)o=0;else{switch(i){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4;break}o/=6}return{h:360*o,s:100*a,v:100*s}},Yf=function(e,t,n){e=6*jf(e,360),t=jf(t,100),n=jf(n,100);var i=Math.floor(e),r=e-i,o=n*(1-t),a=n*(1-r*t),s=n*(1-(1-r)*t),l=i%6,u=[n,a,o,o,s,n][l],c=[s,n,n,a,o,o][l],h=[o,o,s,n,n,a][l];return{r:Math.round(255*u),g:Math.round(255*c),b:Math.round(255*h)}},Xf=function(){function e(t){for(var n in zf(this,e),this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="",t=t||{},t)t.hasOwnProperty(n)&&(this[n]=t[n]);this.doOnChange()}return e.prototype.set=function(e,t){if(1!==arguments.length||"object"!==("undefined"===typeof e?"undefined":Rf(e)))this["_"+e]=t,this.doOnChange();else for(var n in e)e.hasOwnProperty(n)&&this.set(n,e[n])},e.prototype.get=function(e){return this["_"+e]},e.prototype.toRgb=function(){return Yf(this._hue,this._saturation,this._value)},e.prototype.fromString=function(e){var t=this;if(!e)return this._hue=0,this._saturation=100,this._value=100,void this.doOnChange();var n=function(e,n,i){t._hue=Math.max(0,Math.min(360,e)),t._saturation=Math.max(0,Math.min(100,n)),t._value=Math.max(0,Math.min(100,i)),t.doOnChange()};if(-1!==e.indexOf("hsl")){var i=e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter((function(e){return""!==e})).map((function(e,t){return t>2?parseFloat(e):parseInt(e,10)}));if(4===i.length?this._alpha=Math.floor(100*parseFloat(i[3])):3===i.length&&(this._alpha=100),i.length>=3){var r=qf(i[0],i[1],i[2]),o=r.h,a=r.s,s=r.v;n(o,a,s)}}else if(-1!==e.indexOf("hsv")){var l=e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter((function(e){return""!==e})).map((function(e,t){return t>2?parseFloat(e):parseInt(e,10)}));4===l.length?this._alpha=Math.floor(100*parseFloat(l[3])):3===l.length&&(this._alpha=100),l.length>=3&&n(l[0],l[1],l[2])}else if(-1!==e.indexOf("rgb")){var u=e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter((function(e){return""!==e})).map((function(e,t){return t>2?parseFloat(e):parseInt(e,10)}));if(4===u.length?this._alpha=Math.floor(100*parseFloat(u[3])):3===u.length&&(this._alpha=100),u.length>=3){var c=Uf(u[0],u[1],u[2]),h=c.h,d=c.s,f=c.v;n(h,d,f)}}else if(-1!==e.indexOf("#")){var p=e.replace("#","").trim();if(!/^(?:[0-9a-fA-F]{3}){1,2}|[0-9a-fA-F]{8}$/.test(p))return;var g=void 0,m=void 0,v=void 0;3===p.length?(g=Gf(p[0]+p[0]),m=Gf(p[1]+p[1]),v=Gf(p[2]+p[2])):6!==p.length&&8!==p.length||(g=Gf(p.substring(0,2)),m=Gf(p.substring(2,4)),v=Gf(p.substring(4,6))),8===p.length?this._alpha=Math.floor(Gf(p.substring(6))/255*100):3!==p.length&&6!==p.length||(this._alpha=100);var y=Uf(g,m,v),b=y.h,x=y.s,_=y.v;n(b,x,_)}},e.prototype.compare=function(e){return Math.abs(e._hue-this._hue)<2&&Math.abs(e._saturation-this._saturation)<1&&Math.abs(e._value-this._value)<1&&Math.abs(e._alpha-this._alpha)<1},e.prototype.doOnChange=function(){var e=this._hue,t=this._saturation,n=this._value,i=this._alpha,r=this.format;if(this.enableAlpha)switch(r){case"hsl":var o=$f(e,t/100,n/100);this.value="hsla("+e+", "+Math.round(100*o[1])+"%, "+Math.round(100*o[2])+"%, "+i/100+")";break;case"hsv":this.value="hsva("+e+", "+Math.round(t)+"%, "+Math.round(n)+"%, "+i/100+")";break;default:var a=Yf(e,t,n),s=a.r,l=a.g,u=a.b;this.value="rgba("+s+", "+l+", "+u+", "+i/100+")"}else switch(r){case"hsl":var c=$f(e,t/100,n/100);this.value="hsl("+e+", "+Math.round(100*c[1])+"%, "+Math.round(100*c[2])+"%)";break;case"hsv":this.value="hsv("+e+", "+Math.round(t)+"%, "+Math.round(n)+"%)";break;case"rgb":var h=Yf(e,t,n),d=h.r,f=h.g,p=h.b;this.value="rgb("+d+", "+f+", "+p+")";break;default:this.value=Hf(Yf(e,t,n))}},e}(),Zf=Xf,Kf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-color-dropdown"},[n("div",{staticClass:"el-color-dropdown__main-wrapper"},[n("hue-slider",{ref:"hue",staticStyle:{float:"right"},attrs:{color:e.color,vertical:""}}),n("sv-panel",{ref:"sl",attrs:{color:e.color}})],1),e.showAlpha?n("alpha-slider",{ref:"alpha",attrs:{color:e.color}}):e._e(),e.predefine?n("predefine",{attrs:{color:e.color,colors:e.predefine}}):e._e(),n("div",{staticClass:"el-color-dropdown__btns"},[n("span",{staticClass:"el-color-dropdown__value"},[n("el-input",{attrs:{"validate-event":!1,size:"mini"},on:{blur:e.handleConfirm},nativeOn:{keyup:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleConfirm(t)}},model:{value:e.customInput,callback:function(t){e.customInput=t},expression:"customInput"}})],1),n("el-button",{staticClass:"el-color-dropdown__link-btn",attrs:{size:"mini",type:"text"},on:{click:function(t){e.$emit("clear")}}},[e._v("\n "+e._s(e.t("el.colorpicker.clear"))+"\n ")]),n("el-button",{staticClass:"el-color-dropdown__btn",attrs:{plain:"",size:"mini"},on:{click:e.confirmValue}},[e._v("\n "+e._s(e.t("el.colorpicker.confirm"))+"\n ")])],1)],1)])},Qf=[];Kf._withStripped=!0;var Jf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-color-svpanel",style:{backgroundColor:e.background}},[n("div",{staticClass:"el-color-svpanel__white"}),n("div",{staticClass:"el-color-svpanel__black"}),n("div",{staticClass:"el-color-svpanel__cursor",style:{top:e.cursorTop+"px",left:e.cursorLeft+"px"}},[n("div")])])},ep=[];Jf._withStripped=!0;var tp=!1,np=function(e,t){if(!Vi.a.prototype.$isServer){var n=function(e){t.drag&&t.drag(e)},i=function e(i){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",e),document.onselectstart=null,document.ondragstart=null,tp=!1,t.end&&t.end(i)};e.addEventListener("mousedown",(function(e){tp||(document.onselectstart=function(){return!1},document.ondragstart=function(){return!1},document.addEventListener("mousemove",n),document.addEventListener("mouseup",i),tp=!0,t.start&&t.start(e))}))}},ip={name:"el-sl-panel",props:{color:{required:!0}},computed:{colorValue:function(){var e=this.color.get("hue"),t=this.color.get("value");return{hue:e,value:t}}},watch:{colorValue:function(){this.update()}},methods:{update:function(){var e=this.color.get("saturation"),t=this.color.get("value"),n=this.$el,i=n.clientWidth,r=n.clientHeight;this.cursorLeft=e*i/100,this.cursorTop=(100-t)*r/100,this.background="hsl("+this.color.get("hue")+", 100%, 50%)"},handleDrag:function(e){var t=this.$el,n=t.getBoundingClientRect(),i=e.clientX-n.left,r=e.clientY-n.top;i=Math.max(0,i),i=Math.min(i,n.width),r=Math.max(0,r),r=Math.min(r,n.height),this.cursorLeft=i,this.cursorTop=r,this.color.set({saturation:i/n.width*100,value:100-r/n.height*100})}},mounted:function(){var e=this;np(this.$el,{drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}}),this.update()},data:function(){return{cursorTop:0,cursorLeft:0,background:"hsl(0, 100%, 50%)"}}},rp=ip,op=s(rp,Jf,ep,!1,null,null,null);op.options.__file="packages/color-picker/src/components/sv-panel.vue";var ap=op.exports,sp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-color-hue-slider",class:{"is-vertical":e.vertical}},[n("div",{ref:"bar",staticClass:"el-color-hue-slider__bar",on:{click:e.handleClick}}),n("div",{ref:"thumb",staticClass:"el-color-hue-slider__thumb",style:{left:e.thumbLeft+"px",top:e.thumbTop+"px"}})])},lp=[];sp._withStripped=!0;var up={name:"el-color-hue-slider",props:{color:{required:!0},vertical:Boolean},data:function(){return{thumbLeft:0,thumbTop:0}},computed:{hueValue:function(){var e=this.color.get("hue");return e}},watch:{hueValue:function(){this.update()}},methods:{handleClick:function(e){var t=this.$refs.thumb,n=e.target;n!==t&&this.handleDrag(e)},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),n=this.$refs.thumb,i=void 0;if(this.vertical){var r=e.clientY-t.top;r=Math.min(r,t.height-n.offsetHeight/2),r=Math.max(n.offsetHeight/2,r),i=Math.round((r-n.offsetHeight/2)/(t.height-n.offsetHeight)*360)}else{var o=e.clientX-t.left;o=Math.min(o,t.width-n.offsetWidth/2),o=Math.max(n.offsetWidth/2,o),i=Math.round((o-n.offsetWidth/2)/(t.width-n.offsetWidth)*360)}this.color.set("hue",i)},getThumbLeft:function(){if(this.vertical)return 0;var e=this.$el,t=this.color.get("hue");if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetWidth-n.offsetWidth/2)/360)},getThumbTop:function(){if(!this.vertical)return 0;var e=this.$el,t=this.color.get("hue");if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetHeight-n.offsetHeight/2)/360)},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop()}},mounted:function(){var e=this,t=this.$refs,n=t.bar,i=t.thumb,r={drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}};np(n,r),np(i,r),this.update()}},cp=up,hp=s(cp,sp,lp,!1,null,null,null);hp.options.__file="packages/color-picker/src/components/hue-slider.vue";var dp=hp.exports,fp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-color-alpha-slider",class:{"is-vertical":e.vertical}},[n("div",{ref:"bar",staticClass:"el-color-alpha-slider__bar",style:{background:e.background},on:{click:e.handleClick}}),n("div",{ref:"thumb",staticClass:"el-color-alpha-slider__thumb",style:{left:e.thumbLeft+"px",top:e.thumbTop+"px"}})])},pp=[];fp._withStripped=!0;var gp={name:"el-color-alpha-slider",props:{color:{required:!0},vertical:Boolean},watch:{"color._alpha":function(){this.update()},"color.value":function(){this.update()}},methods:{handleClick:function(e){var t=this.$refs.thumb,n=e.target;n!==t&&this.handleDrag(e)},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),n=this.$refs.thumb;if(this.vertical){var i=e.clientY-t.top;i=Math.max(n.offsetHeight/2,i),i=Math.min(i,t.height-n.offsetHeight/2),this.color.set("alpha",Math.round((i-n.offsetHeight/2)/(t.height-n.offsetHeight)*100))}else{var r=e.clientX-t.left;r=Math.max(n.offsetWidth/2,r),r=Math.min(r,t.width-n.offsetWidth/2),this.color.set("alpha",Math.round((r-n.offsetWidth/2)/(t.width-n.offsetWidth)*100))}},getThumbLeft:function(){if(this.vertical)return 0;var e=this.$el,t=this.color._alpha;if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetWidth-n.offsetWidth/2)/100)},getThumbTop:function(){if(!this.vertical)return 0;var e=this.$el,t=this.color._alpha;if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetHeight-n.offsetHeight/2)/100)},getBackground:function(){if(this.color&&this.color.value){var e=this.color.toRgb(),t=e.r,n=e.g,i=e.b;return"linear-gradient(to right, rgba("+t+", "+n+", "+i+", 0) 0%, rgba("+t+", "+n+", "+i+", 1) 100%)"}return null},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop(),this.background=this.getBackground()}},data:function(){return{thumbLeft:0,thumbTop:0,background:null}},mounted:function(){var e=this,t=this.$refs,n=t.bar,i=t.thumb,r={drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}};np(n,r),np(i,r),this.update()}},mp=gp,vp=s(mp,fp,pp,!1,null,null,null);vp.options.__file="packages/color-picker/src/components/alpha-slider.vue";var yp=vp.exports,bp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-color-predefine"},[n("div",{staticClass:"el-color-predefine__colors"},e._l(e.rgbaColors,(function(t,i){return n("div",{key:e.colors[i],staticClass:"el-color-predefine__color-selector",class:{selected:t.selected,"is-alpha":t._alpha<100},on:{click:function(t){e.handleSelect(i)}}},[n("div",{style:{"background-color":t.value}})])})),0)])},xp=[];bp._withStripped=!0;var _p={props:{colors:{type:Array,required:!0},color:{required:!0}},data:function(){return{rgbaColors:this.parseColors(this.colors,this.color)}},methods:{handleSelect:function(e){this.color.fromString(this.colors[e])},parseColors:function(e,t){return e.map((function(e){var n=new Zf;return n.enableAlpha=!0,n.format="rgba",n.fromString(e),n.selected=n.value===t.value,n}))}},watch:{"$parent.currentColor":function(e){var t=new Zf;t.fromString(e),this.rgbaColors.forEach((function(e){e.selected=t.compare(e)}))},colors:function(e){this.rgbaColors=this.parseColors(e,this.color)},color:function(e){this.rgbaColors=this.parseColors(this.colors,e)}}},wp=_p,Cp=s(wp,bp,xp,!1,null,null,null);Cp.options.__file="packages/color-picker/src/components/predefine.vue";var Sp=Cp.exports,kp={name:"el-color-picker-dropdown",mixins:[H.a,v.a],components:{SvPanel:ap,HueSlider:dp,AlphaSlider:yp,ElInput:g.a,ElButton:ae.a,Predefine:Sp},props:{color:{required:!0},showAlpha:Boolean,predefine:Array},data:function(){return{customInput:""}},computed:{currentColor:function(){var e=this.$parent;return e.value||e.showPanelColor?e.color.value:""}},methods:{confirmValue:function(){this.$emit("pick")},handleConfirm:function(){this.color.fromString(this.customInput)}},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$el},watch:{showPopper:function(e){var t=this;!0===e&&this.$nextTick((function(){var e=t.$refs,n=e.sl,i=e.hue,r=e.alpha;n&&n.update(),i&&i.update(),r&&r.update()}))},currentColor:{immediate:!0,handler:function(e){this.customInput=e}}}},Mp=kp,Tp=s(Mp,Kf,Qf,!1,null,null,null);Tp.options.__file="packages/color-picker/src/components/picker-dropdown.vue";var Ep=Tp.exports,Dp={name:"ElColorPicker",mixins:[E.a],props:{value:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:String,popperClass:String,predefine:Array},inject:{elForm:{default:""},elFormItem:{default:""}},directives:{Clickoutside:B.a},computed:{displayedColor:function(){return this.value||this.showPanelColor?this.displayedRgb(this.color,this.showAlpha):"transparent"},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},colorSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},colorDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{value:function(e){e?e&&e!==this.color.value&&this.color.fromString(e):this.showPanelColor=!1},color:{deep:!0,handler:function(){this.showPanelColor=!0}},displayedColor:function(e){if(this.showPicker){var t=new Zf({enableAlpha:this.showAlpha,format:this.colorFormat});t.fromString(this.value);var n=this.displayedRgb(t,this.showAlpha);e!==n&&this.$emit("active-change",e)}}},methods:{handleTrigger:function(){this.colorDisabled||(this.showPicker=!this.showPicker)},confirmValue:function(){var e=this.color.value;this.$emit("input",e),this.$emit("change",e),this.dispatch("ElFormItem","el.form.change",e),this.showPicker=!1},clearValue:function(){this.$emit("input",null),this.$emit("change",null),null!==this.value&&this.dispatch("ElFormItem","el.form.change",null),this.showPanelColor=!1,this.showPicker=!1,this.resetColor()},hide:function(){this.showPicker=!1,this.resetColor()},resetColor:function(){var e=this;this.$nextTick((function(t){e.value?e.color.fromString(e.value):e.showPanelColor=!1}))},displayedRgb:function(e,t){if(!(e instanceof Zf))throw Error("color should be instance of Color Class");var n=e.toRgb(),i=n.r,r=n.g,o=n.b;return t?"rgba("+i+", "+r+", "+o+", "+e.get("alpha")/100+")":"rgb("+i+", "+r+", "+o+")"}},mounted:function(){var e=this.value;e&&this.color.fromString(e),this.popperElm=this.$refs.dropdown.$el},data:function(){var e=new Zf({enableAlpha:this.showAlpha,format:this.colorFormat});return{color:e,showPicker:!1,showPanelColor:!1}},components:{PickerDropdown:Ep}},Pp=Dp,Op=s(Pp,Lf,Nf,!1,null,null,null);Op.options.__file="packages/color-picker/src/main.vue";var Ip=Op.exports;Ip.install=function(e){e.component(Ip.name,Ip)};var Ap=Ip,Lp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-transfer"},[n("transfer-panel",e._b({ref:"leftPanel",attrs:{data:e.sourceData,title:e.titles[0]||e.t("el.transfer.titles.0"),"default-checked":e.leftDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onSourceCheckedChange}},"transfer-panel",e.$props,!1),[e._t("left-footer")],2),n("div",{staticClass:"el-transfer__buttons"},[n("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.rightChecked.length},nativeOn:{click:function(t){return e.addToLeft(t)}}},[n("i",{staticClass:"el-icon-arrow-left"}),void 0!==e.buttonTexts[0]?n("span",[e._v(e._s(e.buttonTexts[0]))]):e._e()]),n("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.leftChecked.length},nativeOn:{click:function(t){return e.addToRight(t)}}},[void 0!==e.buttonTexts[1]?n("span",[e._v(e._s(e.buttonTexts[1]))]):e._e(),n("i",{staticClass:"el-icon-arrow-right"})])],1),n("transfer-panel",e._b({ref:"rightPanel",attrs:{data:e.targetData,title:e.titles[1]||e.t("el.transfer.titles.1"),"default-checked":e.rightDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onTargetCheckedChange}},"transfer-panel",e.$props,!1),[e._t("right-footer")],2)],1)},Np=[];Lp._withStripped=!0;var Rp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-transfer-panel"},[n("p",{staticClass:"el-transfer-panel__header"},[n("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleAllCheckedChange},model:{value:e.allChecked,callback:function(t){e.allChecked=t},expression:"allChecked"}},[e._v("\n "+e._s(e.title)+"\n "),n("span",[e._v(e._s(e.checkedSummary))])])],1),n("div",{class:["el-transfer-panel__body",e.hasFooter?"is-with-footer":""]},[e.filterable?n("el-input",{staticClass:"el-transfer-panel__filter",attrs:{size:"small",placeholder:e.placeholder},nativeOn:{mouseenter:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}},[n("i",{class:["el-input__icon","el-icon-"+e.inputIcon],attrs:{slot:"prefix"},on:{click:e.clearQuery},slot:"prefix"})]):e._e(),n("el-checkbox-group",{directives:[{name:"show",rawName:"v-show",value:!e.hasNoMatch&&e.data.length>0,expression:"!hasNoMatch && data.length > 0"}],staticClass:"el-transfer-panel__list",class:{"is-filterable":e.filterable},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},e._l(e.filteredData,(function(t){return n("el-checkbox",{key:t[e.keyProp],staticClass:"el-transfer-panel__item",attrs:{label:t[e.keyProp],disabled:t[e.disabledProp]}},[n("option-content",{attrs:{option:t}})],1)})),1),n("p",{directives:[{name:"show",rawName:"v-show",value:e.hasNoMatch,expression:"hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noMatch")))]),n("p",{directives:[{name:"show",rawName:"v-show",value:0===e.data.length&&!e.hasNoMatch,expression:"data.length === 0 && !hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noData")))])],1),e.hasFooter?n("p",{staticClass:"el-transfer-panel__footer"},[e._t("default")],2):e._e()])},zp=[];Rp._withStripped=!0;var $p={mixins:[v.a],name:"ElTransferPanel",componentName:"ElTransferPanel",components:{ElCheckboxGroup:Ir.a,ElCheckbox:Li.a,ElInput:g.a,OptionContent:{props:{option:Object},render:function(e){var t=function e(t){return"ElTransferPanel"===t.$options.componentName?t:t.$parent?e(t.$parent):t},n=t(this),i=n.$parent||n;return n.renderContent?n.renderContent(e,this.option):i.$scopedSlots.default?i.$scopedSlots.default({option:this.option}):e("span",[this.option[n.labelProp]||this.option[n.keyProp]])}}},props:{data:{type:Array,default:function(){return[]}},renderContent:Function,placeholder:String,title:String,filterable:Boolean,format:Object,filterMethod:Function,defaultChecked:Array,props:Object},data:function(){return{checked:[],allChecked:!1,query:"",inputHover:!1,checkChangeByUser:!0}},watch:{checked:function(e,t){if(this.updateAllChecked(),this.checkChangeByUser){var n=e.concat(t).filter((function(n){return-1===e.indexOf(n)||-1===t.indexOf(n)}));this.$emit("checked-change",e,n)}else this.$emit("checked-change",e),this.checkChangeByUser=!0},data:function(){var e=this,t=[],n=this.filteredData.map((function(t){return t[e.keyProp]}));this.checked.forEach((function(e){n.indexOf(e)>-1&&t.push(e)})),this.checkChangeByUser=!1,this.checked=t},checkableData:function(){this.updateAllChecked()},defaultChecked:{immediate:!0,handler:function(e,t){var n=this;if(!t||e.length!==t.length||!e.every((function(e){return t.indexOf(e)>-1}))){var i=[],r=this.checkableData.map((function(e){return e[n.keyProp]}));e.forEach((function(e){r.indexOf(e)>-1&&i.push(e)})),this.checkChangeByUser=!1,this.checked=i}}}},computed:{filteredData:function(){var e=this;return this.data.filter((function(t){if("function"===typeof e.filterMethod)return e.filterMethod(e.query,t);var n=t[e.labelProp]||t[e.keyProp].toString();return n.toLowerCase().indexOf(e.query.toLowerCase())>-1}))},checkableData:function(){var e=this;return this.filteredData.filter((function(t){return!t[e.disabledProp]}))},checkedSummary:function(){var e=this.checked.length,t=this.data.length,n=this.format,i=n.noChecked,r=n.hasChecked;return i&&r?e>0?r.replace(/\${checked}/g,e).replace(/\${total}/g,t):i.replace(/\${total}/g,t):e+"/"+t},isIndeterminate:function(){var e=this.checked.length;return e>0&&e<this.checkableData.length},hasNoMatch:function(){return this.query.length>0&&0===this.filteredData.length},inputIcon:function(){return this.query.length>0&&this.inputHover?"circle-close":"search"},labelProp:function(){return this.props.label||"label"},keyProp:function(){return this.props.key||"key"},disabledProp:function(){return this.props.disabled||"disabled"},hasFooter:function(){return!!this.$slots.default}},methods:{updateAllChecked:function(){var e=this,t=this.checkableData.map((function(t){return t[e.keyProp]}));this.allChecked=t.length>0&&t.every((function(t){return e.checked.indexOf(t)>-1}))},handleAllCheckedChange:function(e){var t=this;this.checked=e?this.checkableData.map((function(e){return e[t.keyProp]})):[]},clearQuery:function(){"circle-close"===this.inputIcon&&(this.query="")}}},Bp=$p,Fp=s(Bp,Rp,zp,!1,null,null,null);Fp.options.__file="packages/transfer/src/transfer-panel.vue";var jp=Fp.exports,Vp={name:"ElTransfer",mixins:[E.a,v.a,M.a],components:{TransferPanel:jp,ElButton:ae.a},props:{data:{type:Array,default:function(){return[]}},titles:{type:Array,default:function(){return[]}},buttonTexts:{type:Array,default:function(){return[]}},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:function(){return[]}},rightDefaultChecked:{type:Array,default:function(){return[]}},renderContent:Function,value:{type:Array,default:function(){return[]}},format:{type:Object,default:function(){return{}}},filterable:Boolean,props:{type:Object,default:function(){return{label:"label",key:"key",disabled:"disabled"}}},targetOrder:{type:String,default:"original"}},data:function(){return{leftChecked:[],rightChecked:[]}},computed:{dataObj:function(){var e=this.props.key;return this.data.reduce((function(t,n){return(t[n[e]]=n)&&t}),{})},sourceData:function(){var e=this;return this.data.filter((function(t){return-1===e.value.indexOf(t[e.props.key])}))},targetData:function(){var e=this;return"original"===this.targetOrder?this.data.filter((function(t){return e.value.indexOf(t[e.props.key])>-1})):this.value.reduce((function(t,n){var i=e.dataObj[n];return i&&t.push(i),t}),[])},hasButtonTexts:function(){return 2===this.buttonTexts.length}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}},methods:{getMigratingConfig:function(){return{props:{"footer-format":"footer-format is renamed to format."}}},onSourceCheckedChange:function(e,t){this.leftChecked=e,void 0!==t&&this.$emit("left-check-change",e,t)},onTargetCheckedChange:function(e,t){this.rightChecked=e,void 0!==t&&this.$emit("right-check-change",e,t)},addToLeft:function(){var e=this.value.slice();this.rightChecked.forEach((function(t){var n=e.indexOf(t);n>-1&&e.splice(n,1)})),this.$emit("input",e),this.$emit("change",e,"left",this.rightChecked)},addToRight:function(){var e=this,t=this.value.slice(),n=[],i=this.props.key;this.data.forEach((function(t){var r=t[i];e.leftChecked.indexOf(r)>-1&&-1===e.value.indexOf(r)&&n.push(r)})),t="unshift"===this.targetOrder?n.concat(t):t.concat(n),this.$emit("input",t),this.$emit("change",t,"right",this.leftChecked)},clearQuery:function(e){"left"===e?this.$refs.leftPanel.query="":"right"===e&&(this.$refs.rightPanel.query="")}}},Hp=Vp,Wp=s(Hp,Lp,Np,!1,null,null,null);Wp.options.__file="packages/transfer/src/main.vue";var Gp=Wp.exports;Gp.install=function(e){e.component(Gp.name,Gp)};var qp=Gp,Up=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"el-container",class:{"is-vertical":e.isVertical}},[e._t("default")],2)},Yp=[];Up._withStripped=!0;var Xp={name:"ElContainer",componentName:"ElContainer",props:{direction:String},computed:{isVertical:function(){return"vertical"===this.direction||"horizontal"!==this.direction&&(!(!this.$slots||!this.$slots.default)&&this.$slots.default.some((function(e){var t=e.componentOptions&&e.componentOptions.tag;return"el-header"===t||"el-footer"===t})))}}},Zp=Xp,Kp=s(Zp,Up,Yp,!1,null,null,null);Kp.options.__file="packages/container/src/main.vue";var Qp=Kp.exports;Qp.install=function(e){e.component(Qp.name,Qp)};var Jp=Qp,eg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{staticClass:"el-header",style:{height:e.height}},[e._t("default")],2)},tg=[];eg._withStripped=!0;var ng={name:"ElHeader",componentName:"ElHeader",props:{height:{type:String,default:"60px"}}},ig=ng,rg=s(ig,eg,tg,!1,null,null,null);rg.options.__file="packages/header/src/main.vue";var og=rg.exports;og.install=function(e){e.component(og.name,og)};var ag=og,sg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("aside",{staticClass:"el-aside",style:{width:e.width}},[e._t("default")],2)},lg=[];sg._withStripped=!0;var ug={name:"ElAside",componentName:"ElAside",props:{width:{type:String,default:"300px"}}},cg=ug,hg=s(cg,sg,lg,!1,null,null,null);hg.options.__file="packages/aside/src/main.vue";var dg=hg.exports;dg.install=function(e){e.component(dg.name,dg)};var fg=dg,pg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("main",{staticClass:"el-main"},[e._t("default")],2)},gg=[];pg._withStripped=!0;var mg={name:"ElMain",componentName:"ElMain"},vg=mg,yg=s(vg,pg,gg,!1,null,null,null);yg.options.__file="packages/main/src/main.vue";var bg=yg.exports;bg.install=function(e){e.component(bg.name,bg)};var xg=bg,_g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"el-footer",style:{height:e.height}},[e._t("default")],2)},wg=[];_g._withStripped=!0;var Cg={name:"ElFooter",componentName:"ElFooter",props:{height:{type:String,default:"60px"}}},Sg=Cg,kg=s(Sg,_g,wg,!1,null,null,null);kg.options.__file="packages/footer/src/main.vue";var Mg=kg.exports;Mg.install=function(e){e.component(Mg.name,Mg)};var Tg,Eg,Dg=Mg,Pg={name:"ElTimeline",props:{reverse:{type:Boolean,default:!1}},provide:function(){return{timeline:this}},render:function(){var e=arguments[0],t=this.reverse,n={"el-timeline":!0,"is-reverse":t},i=this.$slots.default||[];return t&&(i=i.reverse()),e("ul",{class:n},[i])}},Og=Pg,Ig=s(Og,Tg,Eg,!1,null,null,null);Ig.options.__file="packages/timeline/src/main.vue";var Ag=Ig.exports;Ag.install=function(e){e.component(Ag.name,Ag)};var Lg=Ag,Ng=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-timeline-item"},[n("div",{staticClass:"el-timeline-item__tail"}),e.$slots.dot?e._e():n("div",{staticClass:"el-timeline-item__node",class:["el-timeline-item__node--"+(e.size||""),"el-timeline-item__node--"+(e.type||"")],style:{backgroundColor:e.color}},[e.icon?n("i",{staticClass:"el-timeline-item__icon",class:e.icon}):e._e()]),e.$slots.dot?n("div",{staticClass:"el-timeline-item__dot"},[e._t("dot")],2):e._e(),n("div",{staticClass:"el-timeline-item__wrapper"},[e.hideTimestamp||"top"!==e.placement?e._e():n("div",{staticClass:"el-timeline-item__timestamp is-top"},[e._v("\n "+e._s(e.timestamp)+"\n ")]),n("div",{staticClass:"el-timeline-item__content"},[e._t("default")],2),e.hideTimestamp||"bottom"!==e.placement?e._e():n("div",{staticClass:"el-timeline-item__timestamp is-bottom"},[e._v("\n "+e._s(e.timestamp)+"\n ")])])])},Rg=[];Ng._withStripped=!0;var zg={name:"ElTimelineItem",inject:["timeline"],props:{timestamp:String,hideTimestamp:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},type:String,color:String,size:{type:String,default:"normal"},icon:String}},$g=zg,Bg=s($g,Ng,Rg,!1,null,null,null);Bg.options.__file="packages/timeline/src/item.vue";var Fg=Bg.exports;Fg.install=function(e){e.component(Fg.name,Fg)};var jg=Fg,Vg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",e._b({class:["el-link",e.type?"el-link--"+e.type:"",e.disabled&&"is-disabled",e.underline&&!e.disabled&&"is-underline"],attrs:{href:e.disabled?null:e.href},on:{click:e.handleClick}},"a",e.$attrs,!1),[e.icon?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",{staticClass:"el-link--inner"},[e._t("default")],2):e._e(),e.$slots.icon?[e.$slots.icon?e._t("icon"):e._e()]:e._e()],2)},Hg=[];Vg._withStripped=!0;var Wg={name:"ElLink",props:{type:{type:String,default:"default"},underline:{type:Boolean,default:!0},disabled:Boolean,href:String,icon:String},methods:{handleClick:function(e){this.disabled||this.href||this.$emit("click",e)}}},Gg=Wg,qg=s(Gg,Vg,Hg,!1,null,null,null);qg.options.__file="packages/link/src/main.vue";var Ug=qg.exports;Ug.install=function(e){e.component(Ug.name,Ug)};var Yg=Ug,Xg=function(e,t){var n=t._c;return n("div",t._g(t._b({class:[t.data.staticClass,"el-divider","el-divider--"+t.props.direction]},"div",t.data.attrs,!1),t.listeners),[t.slots().default&&"vertical"!==t.props.direction?n("div",{class:["el-divider__text","is-"+t.props.contentPosition]},[t._t("default")],2):t._e()])},Zg=[];Xg._withStripped=!0;var Kg={name:"ElDivider",props:{direction:{type:String,default:"horizontal",validator:function(e){return-1!==["horizontal","vertical"].indexOf(e)}},contentPosition:{type:String,default:"center",validator:function(e){return-1!==["left","center","right"].indexOf(e)}}}},Qg=Kg,Jg=s(Qg,Xg,Zg,!0,null,null,null);Jg.options.__file="packages/divider/src/main.vue";var em=Jg.exports;em.install=function(e){e.component(em.name,em)};var tm=em,nm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-image"},[e.loading?e._t("placeholder",[n("div",{staticClass:"el-image__placeholder"})]):e.error?e._t("error",[n("div",{staticClass:"el-image__error"},[e._v(e._s(e.t("el.image.error")))])]):n("img",e._g(e._b({staticClass:"el-image__inner",class:{"el-image__inner--center":e.alignCenter,"el-image__preview":e.preview},style:e.imageStyle,attrs:{src:e.src},on:{click:e.clickHandler}},"img",e.$attrs,!1),e.$listeners)),e.preview?[e.showViewer?n("image-viewer",{attrs:{"z-index":e.zIndex,"initial-index":e.imageIndex,"on-close":e.closeViewer,"url-list":e.previewSrcList}}):e._e()]:e._e()],2)},im=[];nm._withStripped=!0;var rm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"viewer-fade"}},[n("div",{ref:"el-image-viewer__wrapper",staticClass:"el-image-viewer__wrapper",style:{"z-index":e.viewerZIndex},attrs:{tabindex:"-1"}},[n("div",{staticClass:"el-image-viewer__mask",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleMaskClick(t)}}}),n("span",{staticClass:"el-image-viewer__btn el-image-viewer__close",on:{click:e.hide}},[n("i",{staticClass:"el-icon-close"})]),e.isSingle?e._e():[n("span",{staticClass:"el-image-viewer__btn el-image-viewer__prev",class:{"is-disabled":!e.infinite&&e.isFirst},on:{click:e.prev}},[n("i",{staticClass:"el-icon-arrow-left"})]),n("span",{staticClass:"el-image-viewer__btn el-image-viewer__next",class:{"is-disabled":!e.infinite&&e.isLast},on:{click:e.next}},[n("i",{staticClass:"el-icon-arrow-right"})])],n("div",{staticClass:"el-image-viewer__btn el-image-viewer__actions"},[n("div",{staticClass:"el-image-viewer__actions__inner"},[n("i",{staticClass:"el-icon-zoom-out",on:{click:function(t){e.handleActions("zoomOut")}}}),n("i",{staticClass:"el-icon-zoom-in",on:{click:function(t){e.handleActions("zoomIn")}}}),n("i",{staticClass:"el-image-viewer__actions__divider"}),n("i",{class:e.mode.icon,on:{click:e.toggleMode}}),n("i",{staticClass:"el-image-viewer__actions__divider"}),n("i",{staticClass:"el-icon-refresh-left",on:{click:function(t){e.handleActions("anticlocelise")}}}),n("i",{staticClass:"el-icon-refresh-right",on:{click:function(t){e.handleActions("clocelise")}}})])]),n("div",{staticClass:"el-image-viewer__canvas"},e._l(e.urlList,(function(t,i){return i===e.index?n("img",{key:t,ref:"img",refInFor:!0,staticClass:"el-image-viewer__img",style:e.imgStyle,attrs:{src:e.currentImg,referrerpolicy:"no-referrer"},on:{load:e.handleImgLoad,error:e.handleImgError,mousedown:e.handleMouseDown}}):e._e()})),0)],2)])},om=[];rm._withStripped=!0;var am=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},sm={CONTAIN:{name:"contain",icon:"el-icon-full-screen"},ORIGINAL:{name:"original",icon:"el-icon-c-scale-to-original"}},lm=Object(y["isFirefox"])()?"DOMMouseScroll":"mousewheel",um={name:"elImageViewer",props:{urlList:{type:Array,default:function(){return[]}},zIndex:{type:Number,default:2e3},onSwitch:{type:Function,default:function(){}},onClose:{type:Function,default:function(){}},initialIndex:{type:Number,default:0},appendToBody:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0}},data:function(){return{index:this.initialIndex,isShow:!1,infinite:!0,loading:!1,mode:sm.CONTAIN,transform:{scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}},computed:{isSingle:function(){return this.urlList.length<=1},isFirst:function(){return 0===this.index},isLast:function(){return this.index===this.urlList.length-1},currentImg:function(){return this.urlList[this.index]},imgStyle:function(){var e=this.transform,t=e.scale,n=e.deg,i=e.offsetX,r=e.offsetY,o=e.enableTransition,a={transform:"scale("+t+") rotate("+n+"deg)",transition:o?"transform .3s":"","margin-left":i+"px","margin-top":r+"px"};return this.mode===sm.CONTAIN&&(a.maxWidth=a.maxHeight="100%"),a},viewerZIndex:function(){var e=C["PopupManager"].nextZIndex();return this.zIndex>e?this.zIndex:e}},watch:{index:{handler:function(e){this.reset(),this.onSwitch(e)}},currentImg:function(e){var t=this;this.$nextTick((function(e){var n=t.$refs.img[0];n.complete||(t.loading=!0)}))}},methods:{hide:function(){this.deviceSupportUninstall(),this.onClose()},deviceSupportInstall:function(){var e=this;this._keyDownHandler=function(t){t.stopPropagation();var n=t.keyCode;switch(n){case 27:e.hide();break;case 32:e.toggleMode();break;case 37:e.prev();break;case 38:e.handleActions("zoomIn");break;case 39:e.next();break;case 40:e.handleActions("zoomOut");break}},this._mouseWheelHandler=Object(y["rafThrottle"])((function(t){var n=t.wheelDelta?t.wheelDelta:-t.detail;n>0?e.handleActions("zoomIn",{zoomRate:.015,enableTransition:!1}):e.handleActions("zoomOut",{zoomRate:.015,enableTransition:!1})})),Object($e["on"])(document,"keydown",this._keyDownHandler),Object($e["on"])(document,lm,this._mouseWheelHandler)},deviceSupportUninstall:function(){Object($e["off"])(document,"keydown",this._keyDownHandler),Object($e["off"])(document,lm,this._mouseWheelHandler),this._keyDownHandler=null,this._mouseWheelHandler=null},handleImgLoad:function(e){this.loading=!1},handleImgError:function(e){this.loading=!1,e.target.alt="加载失败"},handleMouseDown:function(e){var t=this;if(!this.loading&&0===e.button){var n=this.transform,i=n.offsetX,r=n.offsetY,o=e.pageX,a=e.pageY;this._dragHandler=Object(y["rafThrottle"])((function(e){t.transform.offsetX=i+e.pageX-o,t.transform.offsetY=r+e.pageY-a})),Object($e["on"])(document,"mousemove",this._dragHandler),Object($e["on"])(document,"mouseup",(function(e){Object($e["off"])(document,"mousemove",t._dragHandler)})),e.preventDefault()}},handleMaskClick:function(){this.maskClosable&&this.hide()},reset:function(){this.transform={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}},toggleMode:function(){if(!this.loading){var e=Object.keys(sm),t=Object.values(sm),n=t.indexOf(this.mode),i=(n+1)%e.length;this.mode=sm[e[i]],this.reset()}},prev:function(){if(!this.isFirst||this.infinite){var e=this.urlList.length;this.index=(this.index-1+e)%e}},next:function(){if(!this.isLast||this.infinite){var e=this.urlList.length;this.index=(this.index+1)%e}},handleActions:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.loading){var n=am({zoomRate:.2,rotateDeg:90,enableTransition:!0},t),i=n.zoomRate,r=n.rotateDeg,o=n.enableTransition,a=this.transform;switch(e){case"zoomOut":a.scale>.2&&(a.scale=parseFloat((a.scale-i).toFixed(3)));break;case"zoomIn":a.scale=parseFloat((a.scale+i).toFixed(3));break;case"clocelise":a.deg+=r;break;case"anticlocelise":a.deg-=r;break}a.enableTransition=o}}},mounted:function(){this.deviceSupportInstall(),this.appendToBody&&document.body.appendChild(this.$el),this.$refs["el-image-viewer__wrapper"].focus()},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},cm=um,hm=s(cm,rm,om,!1,null,null,null);hm.options.__file="packages/image/src/image-viewer.vue";var dm=hm.exports,fm=function(){return void 0!==document.documentElement.style.objectFit},pm={NONE:"none",CONTAIN:"contain",COVER:"cover",FILL:"fill",SCALE_DOWN:"scale-down"},gm="",mm={name:"ElImage",mixins:[v.a],inheritAttrs:!1,components:{ImageViewer:dm},props:{src:String,fit:String,lazy:Boolean,scrollContainer:{},previewSrcList:{type:Array,default:function(){return[]}},zIndex:{type:Number,default:2e3},initialIndex:Number},data:function(){return{loading:!0,error:!1,show:!this.lazy,imageWidth:0,imageHeight:0,showViewer:!1}},computed:{imageStyle:function(){var e=this.fit;return!this.$isServer&&e?fm()?{"object-fit":e}:this.getImageStyle(e):{}},alignCenter:function(){return!this.$isServer&&!fm()&&this.fit!==pm.FILL},preview:function(){var e=this.previewSrcList;return Array.isArray(e)&&e.length>0},imageIndex:function(){var e=0,t=this.initialIndex;if(t>=0)return e=t,e;var n=this.previewSrcList.indexOf(this.src);return n>=0?(e=n,e):e}},watch:{src:function(e){this.show&&this.loadImage()},show:function(e){e&&this.loadImage()}},mounted:function(){this.lazy?this.addLazyLoadListener():this.loadImage()},beforeDestroy:function(){this.lazy&&this.removeLazyLoadListener()},methods:{loadImage:function(){var e=this;if(!this.$isServer){this.loading=!0,this.error=!1;var t=new Image;t.onload=function(n){return e.handleLoad(n,t)},t.onerror=this.handleError.bind(this),Object.keys(this.$attrs).forEach((function(n){var i=e.$attrs[n];t.setAttribute(n,i)})),t.src=this.src}},handleLoad:function(e,t){this.imageWidth=t.width,this.imageHeight=t.height,this.loading=!1,this.error=!1},handleError:function(e){this.loading=!1,this.error=!0,this.$emit("error",e)},handleLazyLoad:function(){Object($e["isInContainer"])(this.$el,this._scrollContainer)&&(this.show=!0,this.removeLazyLoadListener())},addLazyLoadListener:function(){if(!this.$isServer){var e=this.scrollContainer,t=null;t=Object(qh["isHtmlElement"])(e)?e:Object(qh["isString"])(e)?document.querySelector(e):Object($e["getScrollContainer"])(this.$el),t&&(this._scrollContainer=t,this._lazyLoadHandler=Bd()(200,this.handleLazyLoad),Object($e["on"])(t,"scroll",this._lazyLoadHandler),this.handleLazyLoad())}},removeLazyLoadListener:function(){var e=this._scrollContainer,t=this._lazyLoadHandler;!this.$isServer&&e&&t&&(Object($e["off"])(e,"scroll",t),this._scrollContainer=null,this._lazyLoadHandler=null)},getImageStyle:function(e){var t=this.imageWidth,n=this.imageHeight,i=this.$el,r=i.clientWidth,o=i.clientHeight;if(!t||!n||!r||!o)return{};var a=t/n,s=r/o;if(e===pm.SCALE_DOWN){var l=t<r&&n<o;e=l?pm.NONE:pm.CONTAIN}switch(e){case pm.NONE:return{width:"auto",height:"auto"};case pm.CONTAIN:return a<s?{width:"auto"}:{height:"auto"};case pm.COVER:return a<s?{height:"auto"}:{width:"auto"};default:return{}}},clickHandler:function(){this.preview&&(gm=document.body.style.overflow,document.body.style.overflow="hidden",this.showViewer=!0)},closeViewer:function(){document.body.style.overflow=gm,this.showViewer=!1}}},vm=mm,ym=s(vm,nm,im,!1,null,null,null);ym.options.__file="packages/image/src/main.vue";var bm=ym.exports;bm.install=function(e){e.component(bm.name,bm)};var xm=bm,_m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-calendar"},[n("div",{staticClass:"el-calendar__header"},[n("div",{staticClass:"el-calendar__title"},[e._v("\n "+e._s(e.i18nDate)+"\n ")]),0===e.validatedRange.length?n("div",{staticClass:"el-calendar__button-group"},[n("el-button-group",[n("el-button",{attrs:{type:"plain",size:"mini"},on:{click:function(t){e.selectDate("prev-month")}}},[e._v("\n "+e._s(e.t("el.datepicker.prevMonth"))+"\n ")]),n("el-button",{attrs:{type:"plain",size:"mini"},on:{click:function(t){e.selectDate("today")}}},[e._v("\n "+e._s(e.t("el.datepicker.today"))+"\n ")]),n("el-button",{attrs:{type:"plain",size:"mini"},on:{click:function(t){e.selectDate("next-month")}}},[e._v("\n "+e._s(e.t("el.datepicker.nextMonth"))+"\n ")])],1)],1):e._e()]),0===e.validatedRange.length?n("div",{key:"no-range",staticClass:"el-calendar__body"},[n("date-table",{attrs:{date:e.date,"selected-day":e.realSelectedDay,"first-day-of-week":e.realFirstDayOfWeek},on:{pick:e.pickDay}})],1):n("div",{key:"has-range",staticClass:"el-calendar__body"},e._l(e.validatedRange,(function(t,i){return n("date-table",{key:i,attrs:{date:t[0],"selected-day":e.realSelectedDay,range:t,"hide-header":0!==i,"first-day-of-week":e.realFirstDayOfWeek},on:{pick:e.pickDay}})})),1)])},wm=[];_m._withStripped=!0;var Cm,Sm,km=n(20),Mm=n.n(km),Tm={props:{selectedDay:String,range:{type:Array,validator:function(e){if(!e||!e.length)return!0;var t=e[0],n=e[1];return Object(ao["validateRangeInOneMonth"])(t,n)}},date:Date,hideHeader:Boolean,firstDayOfWeek:Number},inject:["elCalendar"],methods:{toNestedArr:function(e){return Object(ao["range"])(e.length/7).map((function(t,n){var i=7*n;return e.slice(i,i+7)}))},getFormateDate:function(e,t){if(!e||-1===["prev","current","next"].indexOf(t))throw new Error("invalid day or type");var n=this.curMonthDatePrefix;return"prev"===t?n=this.prevMonthDatePrefix:"next"===t&&(n=this.nextMonthDatePrefix),e=("00"+e).slice(-2),n+"-"+e},getCellClass:function(e){var t=e.text,n=e.type,i=[n];if("current"===n){var r=this.getFormateDate(t,n);r===this.selectedDay&&i.push("is-selected"),r===this.formatedToday&&i.push("is-today")}return i},pickDay:function(e){var t=e.text,n=e.type,i=this.getFormateDate(t,n);this.$emit("pick",i)},cellRenderProxy:function(e){var t=e.text,n=e.type,i=this.$createElement,r=this.elCalendar.$scopedSlots.dateCell;if(!r)return i("span",[t]);var o=this.getFormateDate(t,n),a=new Date(o),s={isSelected:this.selectedDay===o,type:n+"-month",day:o};return r({date:a,data:s})}},computed:{WEEK_DAYS:function(){return Object(ao["getI18nSettings"])().dayNames},prevMonthDatePrefix:function(){var e=new Date(this.date.getTime());return e.setDate(0),Mm.a.format(e,"yyyy-MM")},curMonthDatePrefix:function(){return Mm.a.format(this.date,"yyyy-MM")},nextMonthDatePrefix:function(){var e=new Date(this.date.getFullYear(),this.date.getMonth()+1,1);return Mm.a.format(e,"yyyy-MM")},formatedToday:function(){return this.elCalendar.formatedToday},isInRange:function(){return this.range&&this.range.length},rows:function(){var e=[];if(this.isInRange){var t=this.range,n=t[0],i=t[1],r=Object(ao["range"])(i.getDate()-n.getDate()+1).map((function(e,t){return{text:n.getDate()+t,type:"current"}})),o=r.length%7;o=0===o?0:7-o;var a=Object(ao["range"])(o).map((function(e,t){return{text:t+1,type:"next"}}));e=r.concat(a)}else{var s=this.date,l=Object(ao["getFirstDayOfMonth"])(s);l=0===l?7:l;var u="number"===typeof this.firstDayOfWeek?this.firstDayOfWeek:1,c=(7+l-u)%7,h=Object(ao["getPrevMonthLastDays"])(s,c).map((function(e){return{text:e,type:"prev"}})),d=Object(ao["getMonthDays"])(s).map((function(e){return{text:e,type:"current"}}));e=[].concat(h,d);var f=Object(ao["range"])(42-e.length).map((function(e,t){return{text:t+1,type:"next"}}));e=e.concat(f)}return this.toNestedArr(e)},weekDays:function(){var e=this.firstDayOfWeek,t=this.WEEK_DAYS;return"number"!==typeof e||0===e?t.slice():t.slice(e).concat(t.slice(0,e))}},render:function(){var e=this,t=arguments[0],n=this.hideHeader?null:t("thead",[this.weekDays.map((function(e){return t("th",{key:e},[e])}))]);return t("table",{class:{"el-calendar-table":!0,"is-range":this.isInRange},attrs:{cellspacing:"0",cellpadding:"0"}},[n,t("tbody",[this.rows.map((function(n,i){return t("tr",{class:{"el-calendar-table__row":!0,"el-calendar-table__row--hide-border":0===i&&e.hideHeader},key:i},[n.map((function(n,i){return t("td",{key:i,class:e.getCellClass(n),on:{click:e.pickDay.bind(e,n)}},[t("div",{class:"el-calendar-day"},[e.cellRenderProxy(n)])])}))])}))])])}},Em=Tm,Dm=s(Em,Cm,Sm,!1,null,null,null);Dm.options.__file="packages/calendar/src/date-table.vue";var Pm=Dm.exports,Om=["prev-month","today","next-month"],Im=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Am=864e5,Lm={name:"ElCalendar",mixins:[v.a],components:{DateTable:Pm,ElButton:ae.a,ElButtonGroup:le.a},props:{value:[Date,String,Number],range:{type:Array,validator:function(e){return!Array.isArray(e)||2===e.length&&e.every((function(e){return"string"===typeof e||"number"===typeof e||e instanceof Date}))}},firstDayOfWeek:{type:Number,default:1}},provide:function(){return{elCalendar:this}},methods:{pickDay:function(e){this.realSelectedDay=e},selectDate:function(e){if(-1===Om.indexOf(e))throw new Error("invalid type "+e);var t="";t="prev-month"===e?this.prevMonthDatePrefix+"-01":"next-month"===e?this.nextMonthDatePrefix+"-01":this.formatedToday,t!==this.formatedDate&&this.pickDay(t)},toDate:function(e){if(!e)throw new Error("invalid val");return e instanceof Date?e:new Date(e)},rangeValidator:function(e,t){var n=this.realFirstDayOfWeek,i=t?n:0===n?6:n-1,r=(t?"start":"end")+" of range should be "+Im[i]+".";return e.getDay()===i||(console.warn("[ElementCalendar]",r,"Invalid range will be ignored."),!1)}},computed:{prevMonthDatePrefix:function(){var e=new Date(this.date.getTime());return e.setDate(0),Mm.a.format(e,"yyyy-MM")},curMonthDatePrefix:function(){return Mm.a.format(this.date,"yyyy-MM")},nextMonthDatePrefix:function(){var e=new Date(this.date.getFullYear(),this.date.getMonth()+1,1);return Mm.a.format(e,"yyyy-MM")},formatedDate:function(){return Mm.a.format(this.date,"yyyy-MM-dd")},i18nDate:function(){var e=this.date.getFullYear(),t=this.date.getMonth()+1;return e+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+t)},formatedToday:function(){return Mm.a.format(this.now,"yyyy-MM-dd")},realSelectedDay:{get:function(){return this.value?this.formatedDate:this.selectedDay},set:function(e){this.selectedDay=e;var t=new Date(e);this.$emit("input",t)}},date:function(){if(this.value)return this.toDate(this.value);if(this.realSelectedDay){var e=this.selectedDay.split("-");return new Date(e[0],e[1]-1,e[2])}return this.validatedRange.length?this.validatedRange[0][0]:this.now},validatedRange:function(){var e=this,t=this.range;if(!t)return[];if(t=t.reduce((function(t,n,i){var r=e.toDate(n);return e.rangeValidator(r,0===i)&&(t=t.concat(r)),t}),[]),2===t.length){var n=t,i=n[0],r=n[1];if(i>r)return console.warn("[ElementCalendar]end time should be greater than start time"),[];if(Object(ao["validateRangeInOneMonth"])(i,r))return[[i,r]];var o=[],a=new Date(i.getFullYear(),i.getMonth()+1,1),s=this.toDate(a.getTime()-Am);if(!Object(ao["validateRangeInOneMonth"])(a,r))return console.warn("[ElementCalendar]start time and end time interval must not exceed two months"),[];o.push([i,s]);var l=this.realFirstDayOfWeek,u=a.getDay(),c=0;return u!==l&&(0===l?c=7-u:(c=l-u,c=c>0?c:7+c)),a=this.toDate(a.getTime()+c*Am),a.getDate()<r.getDate()&&o.push([a,r]),o}return[]},realFirstDayOfWeek:function(){return this.firstDayOfWeek<1||this.firstDayOfWeek>6?0:Math.floor(this.firstDayOfWeek)}},data:function(){return{selectedDay:"",now:new Date}}},Nm=Lm,Rm=s(Nm,_m,wm,!1,null,null,null);Rm.options.__file="packages/calendar/src/main.vue";var zm=Rm.exports;zm.install=function(e){e.component(zm.name,zm)};var $m=zm,Bm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-fade-in"}},[e.visible?n("div",{staticClass:"el-backtop",style:{right:e.styleRight,bottom:e.styleBottom},on:{click:function(t){return t.stopPropagation(),e.handleClick(t)}}},[e._t("default",[n("el-icon",{attrs:{name:"caret-top"}})])],2):e._e()])},Fm=[];Bm._withStripped=!0;var jm=function(e){return Math.pow(e,3)},Vm=function(e){return e<.5?jm(2*e)/2:1-jm(2*(1-e))/2},Hm={name:"ElBacktop",props:{visibilityHeight:{type:Number,default:200},target:[String],right:{type:Number,default:40},bottom:{type:Number,default:40}},data:function(){return{el:null,container:null,visible:!1}},computed:{styleBottom:function(){return this.bottom+"px"},styleRight:function(){return this.right+"px"}},mounted:function(){this.init(),this.throttledScrollHandler=Bd()(300,this.onScroll),this.container.addEventListener("scroll",this.throttledScrollHandler)},methods:{init:function(){if(this.container=document,this.el=document.documentElement,this.target){if(this.el=document.querySelector(this.target),!this.el)throw new Error("target is not existed: "+this.target);this.container=this.el}},onScroll:function(){var e=this.el.scrollTop;this.visible=e>=this.visibilityHeight},handleClick:function(e){this.scrollToTop(),this.$emit("click",e)},scrollToTop:function(){var e=this.el,t=Date.now(),n=e.scrollTop,i=window.requestAnimationFrame||function(e){return setTimeout(e,16)},r=function r(){var o=(Date.now()-t)/500;o<1?(e.scrollTop=n*(1-Vm(o)),i(r)):e.scrollTop=0};i(r)}},beforeDestroy:function(){this.container.removeEventListener("scroll",this.throttledScrollHandler)}},Wm=Hm,Gm=s(Wm,Bm,Fm,!1,null,null,null);Gm.options.__file="packages/backtop/src/main.vue";var qm=Gm.exports;qm.install=function(e){e.component(qm.name,qm)};var Um=qm,Ym=function(e,t){if(e===window&&(e=document.documentElement),1!==e.nodeType)return[];var n=window.getComputedStyle(e,null);return t?n[t]:n},Xm=function(e){return Object.keys(e||{}).map((function(t){return[t,e[t]]}))},Zm=function(e,t){return e===window||e===document?document.documentElement[t]:e[t]},Km=function(e){return Zm(e,"offsetHeight")},Qm=function(e){return Zm(e,"clientHeight")},Jm="ElInfiniteScroll",ev={delay:{type:Number,default:200},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},tv=function(e,t){return Object(qh["isHtmlElement"])(e)?Xm(ev).reduce((function(n,i){var r=i[0],o=i[1],a=o.type,s=o.default,l=e.getAttribute("infinite-scroll-"+r);switch(l=Object(qh["isUndefined"])(t[l])?l:t[l],a){case Number:l=Number(l),l=Number.isNaN(l)?s:l;break;case Boolean:l=Object(qh["isDefined"])(l)?"false"!==l&&Boolean(l):s;break;default:l=a(l)}return n[r]=l,n}),{}):{}},nv=function(e){return e.getBoundingClientRect().top},iv=function(e){var t=this[Jm],n=t.el,i=t.vm,r=t.container,o=t.observer,a=tv(n,i),s=a.distance,l=a.disabled;if(!l){var u=r.getBoundingClientRect();if(u.width||u.height){var c=!1;if(r===n){var h=r.scrollTop+Qm(r);c=r.scrollHeight-h<=s}else{var d=Km(n)+nv(n)-nv(r),f=Km(r),p=Number.parseFloat(Ym(r,"borderBottomWidth"));c=d-f+p<=s}c&&Object(qh["isFunction"])(e)?e.call(i):o&&(o.disconnect(),this[Jm].observer=null)}}},rv={name:"InfiniteScroll",inserted:function(e,t,n){var i=t.value,r=n.context,o=Object($e["getScrollContainer"])(e,!0),a=tv(e,r),s=a.delay,l=a.immediate,u=z()(s,iv.bind(e,i));if(e[Jm]={el:e,vm:r,container:o,onScroll:u},o&&(o.addEventListener("scroll",u),l)){var c=e[Jm].observer=new MutationObserver(u);c.observe(o,{childList:!0,subtree:!0}),u()}},unbind:function(e){var t=e[Jm],n=t.container,i=t.onScroll;n&&n.removeEventListener("scroll",i)},install:function(e){e.directive(rv.name,rv)}},ov=rv,av=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-page-header"},[n("div",{staticClass:"el-page-header__left",on:{click:function(t){e.$emit("back")}}},[n("i",{staticClass:"el-icon-back"}),n("div",{staticClass:"el-page-header__title"},[e._t("title",[e._v(e._s(e.title))])],2)]),n("div",{staticClass:"el-page-header__content"},[e._t("content",[e._v(e._s(e.content))])],2)])},sv=[];av._withStripped=!0;var lv={name:"ElPageHeader",props:{title:{type:String,default:function(){return Object(vs["t"])("el.pageHeader.title")}},content:String}},uv=lv,cv=s(uv,av,sv,!1,null,null,null);cv.options.__file="packages/page-header/src/main.vue";var hv=cv.exports;hv.install=function(e){e.component(hv.name,hv)};var dv=hv,fv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},pv=[];fv._withStripped=!0;var gv,mv,vv=n(44),yv=n.n(vv),bv=function(e){return e.stopPropagation()},xv={inject:["panel"],components:{ElCheckbox:Li.a,ElRadio:yv.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,i=this.isDisabled,r=this.config,o=r.multiple,a=r.checkStrictly;!a&&i||n.loading||(r.lazy&&!n.loaded?t.lazyLoad(n,(function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var i=!!t&&n.checked;e.handleMultiCheckChange(i)}})):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,i=this.config,r=i.checkStrictly,o=i.multiple;return o?this.renderCheckbox(e):r?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,i=this.isDisabled,r={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(r.nativeOn.click=bv),e("el-checkbox",th()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:i}},r]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,i=this.isDisabled;return Object(y["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:bv}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,i=t.renderLabelFn,r=i?i({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[r||n.label])}},render:function(e){var t=this,n=this.inActivePath,i=this.inCheckedPath,r=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,l=this.nodeId,u=s.expandTrigger,c=s.checkStrictly,h=s.multiple,d=!c&&a,f={on:{}};return"click"===u?f.on.click=this.handleExpand:(f.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},f.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||a||c||h||(f.on.click=this.handleCheckChange),e("li",th()([{attrs:{role:"menuitem",id:l,"aria-expanded":n,tabindex:d?null:-1},class:{"el-cascader-node":!0,"is-selectable":c,"in-active-path":n,"in-checked-path":i,"is-active":r,"is-disabled":d}},f]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},_v=xv,wv=s(_v,gv,mv,!1,null,null,null);wv.options.__file="packages/cascader-panel/src/cascader-node.vue";var Cv,Sv,kv=wv.exports,Mv={name:"ElCascaderMenu",mixins:[v.a],inject:["panel"],components:{ElScrollbar:G.a,CascaderNode:kv},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(y["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(t&&i)if(t.contains(e.target)){clearTimeout(n);var r=this.$el.getBoundingClientRect(),o=r.left,a=e.clientX-o,s=this.$el,l=s.offsetWidth,u=s.offsetHeight,c=t.offsetTop,h=c+t.offsetHeight;i.innerHTML='\n <path style="pointer-events: auto;" fill="transparent" d="M'+a+" "+c+" L"+l+" 0 V"+c+' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M'+a+" "+h+" L"+l+" "+u+" V"+h+' Z" />\n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var r=this.nodes.map((function(n,r){var o=n.hasChildren;return e("cascader-node",th()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+r,"aria-haspopup":o,"aria-owns":o?t:null}},i]))}));return[].concat(r,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",th()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},i]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},Tv=Mv,Ev=s(Tv,Cv,Sv,!1,null,null,null);Ev.options.__file="packages/cascader-panel/src/cascader-menu.vue";var Dv=Ev.exports,Pv=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function Ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Iv=0,Av=function(){function e(t,n,i){Ov(this,e),this.data=t,this.config=n,this.parent=i||null,this.level=this.parent?this.parent.level+1:1,this.uid=Iv++,this.initState(),this.initChildren()}return e.prototype.initState=function(){var e=this.config,t=e.value,n=e.label;this.value=this.data[t],this.label=this.data[n],this.pathNodes=this.calculatePathNodes(),this.path=this.pathNodes.map((function(e){return e.value})),this.pathLabels=this.pathNodes.map((function(e){return e.label})),this.loading=!1,this.loaded=!1},e.prototype.initChildren=function(){var t=this,n=this.config,i=n.children,r=this.data[i];this.hasChildren=Array.isArray(r),this.children=(r||[]).map((function(i){return new e(i,n,t)}))},e.prototype.calculatePathNodes=function(){var e=[this],t=this.parent;while(t)e.unshift(t),t=t.parent;return e},e.prototype.getPath=function(){return this.path},e.prototype.getValue=function(){return this.value},e.prototype.getValueByOption=function(){return this.config.emitPath?this.getPath():this.getValue()},e.prototype.getText=function(e,t){return e?this.pathLabels.join(t):this.label},e.prototype.isSameNode=function(e){var t=this.getValueByOption();return this.config.multiple&&Array.isArray(e)?e.some((function(e){return Object(y["isEqual"])(e,t)})):Object(y["isEqual"])(e,t)},e.prototype.broadcast=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r="onParent"+Object(y["capitalize"])(e);this.children.forEach((function(t){t&&(t.broadcast.apply(t,[e].concat(n)),t[r]&&t[r].apply(t,n))}))},e.prototype.emit=function(e){var t=this.parent,n="onChild"+Object(y["capitalize"])(e);if(t){for(var i=arguments.length,r=Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];t[n]&&t[n].apply(t,r),t.emit.apply(t,[e].concat(r))}},e.prototype.onParentCheck=function(e){this.isDisabled||this.setCheckState(e)},e.prototype.onChildCheck=function(){var e=this.children,t=e.filter((function(e){return!e.isDisabled})),n=!!t.length&&t.every((function(e){return e.checked}));this.setCheckState(n)},e.prototype.setCheckState=function(e){var t=this.children.length,n=this.children.reduce((function(e,t){var n=t.checked?1:t.indeterminate?.5:0;return e+n}),0);this.checked=e,this.indeterminate=n!==t&&n>0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},Pv(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,i=n.disabled,r=n.checkStrictly;return e[i]||!r&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,i=this.children,r=this.config,o=r.lazy,a=r.leaf;if(o){var s=Object(Mt["isDef"])(e[a])?e[a]:!!t&&!i.length;return this.hasChildren=!s,s}return!n}}]),e}(),Lv=Av;function Nv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Rv=function e(t,n){return t.reduce((function(t,i){return i.isLeaf?t.push(i):(!n&&t.push(i),t=t.concat(e(i.children,n))),t}),[])},zv=function(){function e(t,n){Nv(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(y["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new Lv(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new Lv(e,this.config,t),i=t?t.children:this.nodes;i.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(y["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:Rv(this.nodes,e)},e.prototype.getNodeByValue=function(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(y["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null},e}(),$v=zv,Bv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Fv=Sf.a.keys,jv={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:y["noop"],value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},Vv=function(e){return!e.getAttribute("aria-owns")},Hv=function(e,t){var n=e.parentNode;if(n){var i=n.querySelectorAll('.el-cascader-node[tabindex="-1"]'),r=Array.prototype.indexOf.call(i,e);return i[r+t]||null}return null},Wv=function(e,t){if(e){var n=e.id.split("-");return Number(n[n.length-2])}},Gv=function(e){e&&(e.focus(),!Vv(e)&&e.click())},qv=function(e){if(e){var t=e.querySelector("input");t?t.click():Vv(e)&&e.click()}},Uv={name:"ElCascaderPanel",components:{CascaderMenu:Dv},props:{value:{},options:Array,props:Object,border:{type:Boolean,default:!0},renderLabel:Function},provide:function(){return{panel:this}},data:function(){return{checkedValue:null,checkedNodePaths:[],store:[],menus:[],activePath:[],loadCount:0}},computed:{config:function(){return kt()(Bv({},jv),this.props||{})},multiple:function(){return this.config.multiple},checkStrictly:function(){return this.config.checkStrictly},leafOnly:function(){return!this.checkStrictly},isHoverMenu:function(){return"hover"===this.config.expandTrigger},renderLabelFn:function(){return this.renderLabel||this.$scopedSlots.default}},watch:{value:function(){this.syncCheckedValue(),this.checkStrictly&&this.calculateCheckedNodePaths()},options:{handler:function(){this.initStore()},immediate:!0,deep:!0},checkedValue:function(e){Object(y["isEqual"])(e,this.value)||(this.checkStrictly&&this.calculateCheckedNodePaths(),this.$emit("input",e),this.$emit("change",e))}},mounted:function(){this.isEmptyValue(this.value)||this.syncCheckedValue()},methods:{initStore:function(){var e=this.config,t=this.options;e.lazy&&Object(y["isEmpty"])(t)?this.lazyLoad():(this.store=new $v(t,e),this.menus=[this.store.getNodes()],this.syncMenuState())},syncCheckedValue:function(){var e=this.value,t=this.checkedValue;Object(y["isEqual"])(e,t)||(this.activePath=[],this.checkedValue=e,this.syncMenuState())},syncMenuState:function(){var e=this.multiple,t=this.checkStrictly;this.syncActivePath(),e&&this.syncMultiCheckState(),t&&this.calculateCheckedNodePaths(),this.$nextTick(this.scrollIntoView)},syncMultiCheckState:function(){var e=this,t=this.getFlattedNodes(this.leafOnly);t.forEach((function(t){t.syncCheckState(e.checkedValue)}))},isEmptyValue:function(e){var t=this.multiple,n=this.config,i=n.emitPath;return!(!t&&!i)&&Object(y["isEmpty"])(e)},syncActivePath:function(){var e=this,t=this.store,n=this.multiple,i=this.activePath,r=this.checkedValue;if(Object(y["isEmpty"])(i))if(this.isEmptyValue(r))this.activePath=[],this.menus=[t.getNodes()];else{var o=n?r[0]:r,a=this.getNodeByValue(o)||{},s=(a.pathNodes||[]).slice(0,-1);this.expandNodes(s)}else{var l=i.map((function(t){return e.getNodeByValue(t.getValue())}));this.expandNodes(l)}},expandNodes:function(e){var t=this;e.forEach((function(e){return t.handleExpand(e,!0)}))},calculateCheckedNodePaths:function(){var e=this,t=this.checkedValue,n=this.multiple,i=n?Object(y["coerceTruthyValueToArray"])(t):[t];this.checkedNodePaths=i.map((function(t){var n=e.getNodeByValue(t);return n?n.pathNodes:[]}))},handleKeyDown:function(e){var t=e.target,n=e.keyCode;switch(n){case Fv.up:var i=Hv(t,-1);Gv(i);break;case Fv.down:var r=Hv(t,1);Gv(r);break;case Fv.left:var o=this.$refs.menu[Wv(t)-1];if(o){var a=o.$el.querySelector('.el-cascader-node[aria-expanded="true"]');Gv(a)}break;case Fv.right:var s=this.$refs.menu[Wv(t)+1];if(s){var l=s.$el.querySelector('.el-cascader-node[tabindex="-1"]');Gv(l)}break;case Fv.enter:qv(t);break;case Fv.esc:case Fv.tab:this.$emit("close");break;default:return}},handleExpand:function(e,t){var n=this.activePath,i=e.level,r=n.slice(0,i-1),o=this.menus.slice(0,i);if(e.isLeaf||(r.push(e),o.push(e.children)),this.activePath=r,this.menus=o,!t){var a=r.map((function(e){return e.getValue()})),s=n.map((function(e){return e.getValue()}));Object(y["valueEquals"])(a,s)||(this.$emit("active-item-change",a),this.$emit("expand-change",a))}},handleCheckChange:function(e){this.checkedValue=e},lazyLoad:function(e,t){var n=this,i=this.config;e||(e=e||{root:!0,level:0},this.store=new $v([],i),this.menus=[this.store.getNodes()]),e.loading=!0;var r=function(i){var r=e.root?null:e;if(i&&i.length&&n.store.appendNodes(i,r),e.loading=!1,e.loaded=!0,Array.isArray(n.checkedValue)){var o=n.checkedValue[n.loadCount++],a=n.config.value,s=n.config.leaf;if(Array.isArray(i)&&i.filter((function(e){return e[a]===o})).length>0){var l=n.store.getNodeByValue(o);l.data[s]||n.lazyLoad(l,(function(){n.handleExpand(l)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(i)};i.lazyLoad(e,r)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),i=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");ni()(n,i)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var i=this.getFlattedNodes(e);return i.filter((function(e){return e.checked}))}return this.isEmptyValue(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,i=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},Yv=Uv,Xv=s(Yv,fv,pv,!1,null,null,null);Xv.options.__file="packages/cascader-panel/src/cascader-panel.vue";var Zv=Xv.exports;Zv.install=function(e){e.component(Zv.name,Zv)};var Kv,Qv,Jv=Zv,ey={name:"ElAvatar",props:{size:{type:[Number,String],validator:function(e){return"string"===typeof e?["large","medium","small"].includes(e):"number"===typeof e}},shape:{type:String,default:"circle",validator:function(e){return["circle","square"].includes(e)}},icon:String,src:String,alt:String,srcSet:String,error:Function,fit:{type:String,default:"cover"}},data:function(){return{isImageExist:!0}},computed:{avatarClass:function(){var e=this.size,t=this.icon,n=this.shape,i=["el-avatar"];return e&&"string"===typeof e&&i.push("el-avatar--"+e),t&&i.push("el-avatar--icon"),n&&i.push("el-avatar--"+n),i.join(" ")}},methods:{handleError:function(){var e=this.error,t=e?e():void 0;!1!==t&&(this.isImageExist=!1)},renderAvatar:function(){var e=this.$createElement,t=this.icon,n=this.src,i=this.alt,r=this.isImageExist,o=this.srcSet,a=this.fit;return r&&n?e("img",{attrs:{src:n,alt:i,srcSet:o},on:{error:this.handleError},style:{"object-fit":a}}):t?e("i",{class:t}):this.$slots.default}},render:function(){var e=arguments[0],t=this.avatarClass,n=this.size,i="number"===typeof n?{height:n+"px",width:n+"px",lineHeight:n+"px"}:{};return e("span",{class:t,style:i},[this.renderAvatar()])}},ty=ey,ny=s(ty,Kv,Qv,!1,null,null,null);ny.options.__file="packages/avatar/src/main.vue";var iy=ny.exports;iy.install=function(e){e.component(iy.name,iy)};var ry=iy,oy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-drawer-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-drawer__wrapper",attrs:{tabindex:"-1"}},[n("div",{staticClass:"el-drawer__container",class:e.visible&&"el-drawer__open",attrs:{role:"document",tabindex:"-1"},on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[n("div",{ref:"drawer",staticClass:"el-drawer",class:[e.direction,e.customClass],style:e.isHorizontal?"width: "+e.drawerSize:"height: "+e.drawerSize,attrs:{"aria-modal":"true","aria-labelledby":"el-drawer__title","aria-label":e.title,role:"dialog",tabindex:"-1"}},[e.withHeader?n("header",{staticClass:"el-drawer__header",attrs:{id:"el-drawer__title"}},[e._t("title",[n("span",{attrs:{role:"heading",title:e.title}},[e._v(e._s(e.title))])]),e.showClose?n("button",{staticClass:"el-drawer__close-btn",attrs:{"aria-label":"close "+(e.title||"drawer"),type:"button"},on:{click:e.closeDrawer}},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):e._e()],2):e._e(),e.rendered?n("section",{staticClass:"el-drawer__body"},[e._t("default")],2):e._e()])])])])},ay=[];oy._withStripped=!0;var sy={name:"ElDrawer",mixins:[S.a,E.a],props:{appendToBody:{type:Boolean,default:!1},beforeClose:{type:Function},customClass:{type:String,default:""},closeOnPressEscape:{type:Boolean,default:!0},destroyOnClose:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},direction:{type:String,default:"rtl",validator:function(e){return-1!==["ltr","rtl","ttb","btt"].indexOf(e)}},modalAppendToBody:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},size:{type:[Number,String],default:"30%"},title:{type:String,default:""},visible:{type:Boolean},wrapperClosable:{type:Boolean,default:!0},withHeader:{type:Boolean,default:!0}},computed:{isHorizontal:function(){return"rtl"===this.direction||"ltr"===this.direction},drawerSize:function(){return"number"===typeof this.size?this.size+"px":this.size}},data:function(){return{closed:!1,prevActiveElement:null}},watch:{visible:function(e){var t=this;e?(this.closed=!1,this.$emit("open"),this.appendToBody&&document.body.appendChild(this.$el),this.prevActiveElement=document.activeElement):(this.closed||(this.$emit("close"),!0===this.destroyOnClose&&(this.rendered=!1)),this.$nextTick((function(){t.prevActiveElement&&t.prevActiveElement.focus()})))}},methods:{afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")},hide:function(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),!0===this.destroyOnClose&&(this.rendered=!1),this.closed=!0)},handleWrapperClick:function(){this.wrapperClosable&&this.closeDrawer()},closeDrawer:function(){"function"===typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},handleClose:function(){this.closeDrawer()}},mounted:function(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},ly=sy,uy=s(ly,oy,ay,!1,null,null,null);uy.options.__file="packages/drawer/src/main.vue";var cy=uy.exports;cy.install=function(e){e.component(cy.name,cy)};var hy=cy,dy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-statistic"},[e.title||e.$slots.title?n("div",{staticClass:"head"},[e._t("title",[n("span",{staticClass:"title"},[e._v("\n "+e._s(e.title)+"\n ")])])],2):e._e(),n("div",{staticClass:"con"},[e.prefix||e.$slots.prefix?n("span",{staticClass:"prefix"},[e._t("prefix",[e._v("\n "+e._s(e.prefix)+"\n ")])],2):e._e(),n("span",{staticClass:"number",style:e.valueStyle},[e._t("formatter",[e._v(" "+e._s(e.disposeValue))])],2),e.suffix||e.$slots.suffix?n("span",{staticClass:"suffix"},[e._t("suffix",[e._v("\n "+e._s(e.suffix)+"\n ")])],2):e._e()])])},fy=[];dy._withStripped=!0;var py=n(28),gy={name:"ElStatistic",data:function(){return{disposeValue:"",timeTask:null,REFRESH_INTERVAL:1e3/30}},props:{decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:""},precision:{type:Number,default:null},value:{type:[String,Number],default:""},prefix:{type:String,default:""},suffix:{type:String,default:""},title:{type:[String,Number],default:""},timeIndices:{type:Boolean,default:!1},valueStyle:{type:Object,default:function(){return{}}},format:{type:String,default:"HH:mm:ss:SSS"},rate:{type:Number,default:1e3}},created:function(){this.branch()},watch:{value:function(){this.branch()}},methods:{branch:function(){var e=this.timeIndices,t=this.countDown,n=this.dispose;e?t():n()},magnification:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:",",i=String(t).length-1,r=new RegExp("\\d{1,"+i+"}(?=(\\d{"+i+"})+$)","g"),o=String(e).replace(r,"$&,").split(",").join(n);return o},dispose:function(){var e=this.value,t=this.precision,n=this.groupSeparator,i=this.rate;if(!Object(py["isNumber"])(e))return!1;var r=String(e).split("."),o=r[0],a=r[1];t&&(a=""+(a||"")+1..toFixed(t).replace(".","").slice(1),a=a.slice(0,t));var s=0;return n&&(o=this.magnification(o,i,n)),s=[o,a].join(a?this.decimalSeparator:""),this.disposeValue=s,s},diffDate:function(e,t){return Math.max(e-t,0)},suspend:function(e){return e?this.timeTask&&(clearInterval(this.timeTask),this.timeTask=null):this.branch(),this.disposeValue},formatTimeStr:function(e){var t=this.format,n=/\[[^\]]*]/g,i=(t.match(n)||[]).map((function(e){return e.slice(1,-1)})),r=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],o=Object(py["reduce"])(r,(function(t,n){var i=n[0];return t.replace(new RegExp(i+"+","g"),(function(t){var i=Object(py["chain"])(e).divide(n[1]).floor(0).value();return e-=Object(py["multiply"])(i,n[1]),Object(py["padStart"])(String(i),String(t).length,0)}))}),t),a=0;return o.replace(n,(function(){var e=i[a];return a+=1,e}))},stopTime:function(e){var t=!0;return e?(this.$emit("change",e),t=!1):(t=!0,this.suspend(!0),this.$emit("finish",!0)),t},countDown:function(){var e=this.REFRESH_INTERVAL,t=this.timeTask,n=this.diffDate,i=this.formatTimeStr,r=this.stopTime,o=this.suspend;if(!t){var a=this;this.timeTask=setInterval((function(){var e=n(a.value,Date.now());a.disposeValue=i(e),r(e)}),e),this.$once("hook:beforeDestroy",(function(){o(!0)}))}}}},my=gy,vy=s(my,dy,fy,!1,null,null,null);vy.options.__file="packages/statistic/src/main.vue";var yy=vy.exports;yy.install=function(e){e.component(yy.name,yy)};var by=yy,xy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-popover",e._b({attrs:{trigger:"click"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},"el-popover",e.$attrs,!1),[n("div",{staticClass:"el-popconfirm"},[n("p",{staticClass:"el-popconfirm__main"},[e.hideIcon?e._e():n("i",{staticClass:"el-popconfirm__icon",class:e.icon,style:{color:e.iconColor}}),e._v("\n "+e._s(e.title)+"\n ")]),n("div",{staticClass:"el-popconfirm__action"},[n("el-button",{attrs:{size:"mini",type:e.cancelButtonType},on:{click:e.cancel}},[e._v("\n "+e._s(e.displayCancelButtonText)+"\n ")]),n("el-button",{attrs:{size:"mini",type:e.confirmButtonType},on:{click:e.confirm}},[e._v("\n "+e._s(e.displayConfirmButtonText)+"\n ")])],1)]),e._t("reference",null,{slot:"reference"})],2)},_y=[];xy._withStripped=!0;var wy=n(45),Cy=n.n(wy),Sy={name:"ElPopconfirm",props:{title:{type:String},confirmButtonText:{type:String},cancelButtonText:{type:String},confirmButtonType:{type:String,default:"primary"},cancelButtonType:{type:String,default:"text"},icon:{type:String,default:"el-icon-question"},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1}},components:{ElPopover:Cy.a,ElButton:ae.a},data:function(){return{visible:!1}},computed:{displayConfirmButtonText:function(){return this.confirmButtonText||Object(vs["t"])("el.popconfirm.confirmButtonText")},displayCancelButtonText:function(){return this.cancelButtonText||Object(vs["t"])("el.popconfirm.cancelButtonText")}},methods:{confirm:function(){this.visible=!1,this.$emit("confirm")},cancel:function(){this.visible=!1,this.$emit("cancel")}}},ky=Sy,My=s(ky,xy,_y,!1,null,null,null);My.options.__file="packages/popconfirm/src/main.vue";var Ty=My.exports;Ty.install=function(e){e.component(Ty.name,Ty)};var Ey=Ty,Dy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.uiLoading?[n("div",e._b({class:["el-skeleton",e.animated?"is-animated":""]},"div",e.$attrs,!1),[e._l(e.count,(function(t){return[e.loading?e._t("template",e._l(e.rows,(function(i){return n("el-skeleton-item",{key:t+"-"+i,class:{"el-skeleton__paragraph":1!==i,"is-first":1===i,"is-last":i===e.rows&&e.rows>1},attrs:{variant:"p"}})}))):e._e()]}))],2)]:[e._t("default",null,null,e.$attrs)]],2)},Py=[];Dy._withStripped=!0;var Oy={name:"ElSkeleton",props:{animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:4},loading:{type:Boolean,default:!0},throttle:{type:Number,default:0}},watch:{loading:{handler:function(e){var t=this;this.throttle<=0?this.uiLoading=e:e?(clearTimeout(this.timeoutHandle),this.timeoutHandle=setTimeout((function(){t.uiLoading=t.loading}),this.throttle)):this.uiLoading=e},immediate:!0}},data:function(){return{uiLoading:this.throttle<=0&&this.loading}}},Iy=Oy,Ay=s(Iy,Dy,Py,!1,null,null,null);Ay.options.__file="packages/skeleton/src/index.vue";var Ly=Ay.exports;Ly.install=function(e){e.component(Ly.name,Ly)};var Ny=Ly,Ry=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-skeleton__item","el-skeleton__"+e.variant]},["image"===e.variant?n("img-placeholder"):e._e()],1)},zy=[];Ry._withStripped=!0;var $y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M64 896V128h896v768H64z m64-128l192-192 116.352 116.352L640 448l256 307.2V192H128v576z m224-480a96 96 0 1 1-0.064 192.064A96 96 0 0 1 352 288z"}})])},By=[];$y._withStripped=!0;var Fy={name:"ImgPlaceholder"},jy=Fy,Vy=s(jy,$y,By,!1,null,null,null);Vy.options.__file="packages/skeleton/src/img-placeholder.vue";var Hy,Wy=Vy.exports,Gy={name:"ElSkeletonItem",props:{variant:{type:String,default:"text"}},components:(Hy={},Hy[Wy.name]=Wy,Hy)},qy=Gy,Uy=s(qy,Ry,zy,!1,null,null,null);Uy.options.__file="packages/skeleton/src/item.vue";var Yy=Uy.exports;Yy.install=function(e){e.component(Yy.name,Yy)};var Xy=Yy,Zy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-empty"},[n("div",{staticClass:"el-empty__image",style:e.imageStyle},[e.image?n("img",{attrs:{src:e.image,ondragstart:"return false"}}):e._t("image",[n("img-empty")])],2),n("div",{staticClass:"el-empty__description"},[e.$slots.description?e._t("description"):n("p",[e._v(e._s(e.emptyDescription))])],2),e.$slots.default?n("div",{staticClass:"el-empty__bottom"},[e._t("default")],2):e._e()])},Ky=[];Zy._withStripped=!0;var Qy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("defs",[n("linearGradient",{attrs:{id:"linearGradient-1-"+e.id,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"}},[n("stop",{attrs:{"stop-color":"#FCFCFD",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#EEEFF3",offset:"100%"}})],1),n("linearGradient",{attrs:{id:"linearGradient-2-"+e.id,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"}},[n("stop",{attrs:{"stop-color":"#FCFCFD",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#E9EBEF",offset:"100%"}})],1),n("rect",{attrs:{id:"path-3-"+e.id,x:"0",y:"0",width:"17",height:"36"}})],1),n("g",{attrs:{id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("g",{attrs:{id:"B-type",transform:"translate(-1268.000000, -535.000000)"}},[n("g",{attrs:{id:"Group-2",transform:"translate(1268.000000, 535.000000)"}},[n("path",{attrs:{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:"#F7F8FC"}}),n("polygon",{attrs:{id:"Rectangle-Copy-14",fill:"#E5E7E9",transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"}}),n("g",{attrs:{id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"}},[n("polygon",{attrs:{id:"Rectangle-Copy-10",fill:"#E5E7E9",transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"}}),n("polygon",{attrs:{id:"Rectangle-Copy-11",fill:"#EDEEF2",points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"}}),n("rect",{attrs:{id:"Rectangle-Copy-12",fill:"url(#linearGradient-1-"+e.id+")",transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"}}),n("polygon",{attrs:{id:"Rectangle-Copy-13",fill:"#F8F9FB",transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"}})]),n("rect",{attrs:{id:"Rectangle-Copy-15",fill:"url(#linearGradient-2-"+e.id+")",x:"13",y:"45",width:"40",height:"36"}}),n("g",{attrs:{id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"}},[n("mask",{attrs:{id:"mask-4-"+e.id,fill:"white"}},[n("use",{attrs:{"xlink:href":"#path-3-"+e.id}})]),n("use",{attrs:{id:"Mask",fill:"#E0E3E9",transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":"#path-3-"+e.id}}),n("polygon",{attrs:{id:"Rectangle-Copy",fill:"#D5D7DE",mask:"url(#mask-4-"+e.id+")",transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 -1.70530257e-13 16"}})]),n("polygon",{attrs:{id:"Rectangle-Copy-18",fill:"#F8F9FB",transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"}})])])])])},Jy=[];Qy._withStripped=!0;var eb=0,tb={name:"ImgEmpty",data:function(){return{id:++eb}}},nb=tb,ib=s(nb,Qy,Jy,!1,null,null,null);ib.options.__file="packages/empty/src/img-empty.vue";var rb,ob=ib.exports,ab={name:"ElEmpty",components:(rb={},rb[ob.name]=ob,rb),props:{image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},computed:{emptyDescription:function(){return this.description||Object(vs["t"])("el.empty.description")},imageStyle:function(){return{width:this.imageSize?this.imageSize+"px":""}}}},sb=ab,lb=s(sb,Zy,Ky,!1,null,null,null);lb.options.__file="packages/empty/src/index.vue";var ub=lb.exports;ub.install=function(e){e.component(ub.name,ub)};var cb,hb=ub,db=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fb={name:"ElDescriptionsRow",props:{row:{type:Array}},inject:["elDescriptions"],render:function(e){var t=this.elDescriptions,n=(this.row||[]).map((function(e){return db({},e,{label:e.slots.label||e.props.label},["labelClassName","contentClassName","labelStyle","contentStyle"].reduce((function(n,i){return n[i]=e.props[i]||t[i],n}),{}))}));return"vertical"===t.direction?e("tbody",[e("tr",{class:"el-descriptions-row"},[n.map((function(n){var i;return e("th",{class:(i={"el-descriptions-item__cell":!0,"el-descriptions-item__label":!0,"has-colon":!t.border&&t.colon,"is-bordered-label":t.border},i[n.labelClassName]=!0,i),style:n.labelStyle,attrs:{colSpan:n.props.span}},[n.label])}))]),e("tr",{class:"el-descriptions-row"},[n.map((function(t){return e("td",{class:["el-descriptions-item__cell","el-descriptions-item__content",t.contentClassName],style:t.contentStyle,attrs:{colSpan:t.props.span}},[t.slots.default])}))])]):t.border?e("tbody",[e("tr",{class:"el-descriptions-row"},[n.map((function(n){var i;return[e("th",{class:(i={"el-descriptions-item__cell":!0,"el-descriptions-item__label":!0,"is-bordered-label":t.border},i[n.labelClassName]=!0,i),style:n.labelStyle,attrs:{colSpan:"1"}},[n.label]),e("td",{class:["el-descriptions-item__cell","el-descriptions-item__content",n.contentClassName],style:n.contentStyle,attrs:{colSpan:2*n.props.span-1}},[n.slots.default])]}))])]):e("tbody",[e("tr",{class:"el-descriptions-row"},[n.map((function(n){var i;return e("td",{class:"el-descriptions-item el-descriptions-item__cell",attrs:{colSpan:n.props.span}},[e("div",{class:"el-descriptions-item__container"},[e("span",{class:(i={"el-descriptions-item__label":!0,"has-colon":t.colon},i[n.labelClassName]=!0,i),style:n.labelStyle},[n.label]),e("span",{class:["el-descriptions-item__content",n.contentClassName],style:n.contentStyle},[n.slots.default])])])}))])])}},pb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},gb={name:"ElDescriptions",components:(cb={},cb[fb.name]=fb,cb),props:{border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,default:"horizontal"},size:{type:String},title:{type:String,default:""},extra:{type:String,default:""},labelStyle:{type:Object},contentStyle:{type:Object},labelClassName:{type:String,default:""},contentClassName:{type:String,default:""},colon:{type:Boolean,default:!0}},computed:{descriptionsSize:function(){return this.size||(this.$ELEMENT||{}).size}},provide:function(){return{elDescriptions:this}},methods:{getOptionProps:function(e){if(e.componentOptions){var t=e.componentOptions,n=t.propsData,i=void 0===n?{}:n,r=t.Ctor,o=void 0===r?{}:r,a=(o.options||{}).props||{},s={};for(var l in a){var u=a[l],c=u.default;void 0!==c&&(s[l]=Object(qh["isFunction"])(c)?c.call(e):c)}return pb({},s,i)}return{}},getSlots:function(e){var t=this,n=e.componentOptions||{},i=e.children||n.children||[],r={};return i.forEach((function(e){if(!t.isEmptyElement(e)){var n=e.data&&e.data.slot||"default";r[n]=r[n]||[],"template"===e.tag?r[n].push(e.children):r[n].push(e)}})),pb({},r)},isEmptyElement:function(e){return!(e.tag||e.text&&""!==e.text.trim())},filledNode:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return e.props||(e.props={}),t>n&&(e.props.span=n),i&&(e.props.span=n),e},getRows:function(){var e=this,t=(this.$slots.default||[]).filter((function(e){return e.tag&&e.componentOptions&&"ElDescriptionsItem"===e.componentOptions.Ctor.options.name})),n=t.map((function(t){return{props:e.getOptionProps(t),slots:e.getSlots(t),vnode:t}})),i=[],r=[],o=this.column;return n.forEach((function(n,a){var s=n.props.span||1;if(a===t.length-1)return r.push(e.filledNode(n,s,o,!0)),void i.push(r);s<o?(o-=s,r.push(n)):(r.push(e.filledNode(n,s,o)),i.push(r),o=e.column,r=[])})),i}},render:function(){var e=arguments[0],t=this.title,n=this.extra,i=this.border,r=this.descriptionsSize,o=this.$slots,a=this.getRows();return e("div",{class:"el-descriptions"},[t||n||o.title||o.extra?e("div",{class:"el-descriptions__header"},[e("div",{class:"el-descriptions__title"},[o.title?o.title:t]),e("div",{class:"el-descriptions__extra"},[o.extra?o.extra:n])]):null,e("div",{class:"el-descriptions__body"},[e("table",{class:["el-descriptions__table",{"is-bordered":i},r?"el-descriptions--"+r:""]},[a.map((function(t){return e(fb,{attrs:{row:t}})}))])])])},install:function(e){e.component(gb.name,gb)}},mb=gb,vb={name:"ElDescriptionsItem",props:{label:{type:String,default:""},span:{type:Number,default:1},contentClassName:{type:String,default:""},contentStyle:{type:Object},labelClassName:{type:String,default:""},labelStyle:{type:Object}},render:function(){return null},install:function(e){e.component(vb.name,vb)}},yb=vb,bb=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-result"},[n("div",{staticClass:"el-result__icon"},[e._t("icon",[n(e.iconElement,{tag:"component",class:e.iconElement})])],2),e.title||e.$slots.title?n("div",{staticClass:"el-result__title"},[e._t("title",[n("p",[e._v(e._s(e.title))])])],2):e._e(),e.subTitle||e.$slots.subTitle?n("div",{staticClass:"el-result__subtitle"},[e._t("subTitle",[n("p",[e._v(e._s(e.subTitle))])])],2):e._e(),e.$slots.extra?n("div",{staticClass:"el-result__extra"},[e._t("extra")],2):e._e()])},xb=[];bb._withStripped=!0;var _b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M34.5548098,16.4485711 C33.9612228,15.8504763 32.9988282,15.8504763 32.4052412,16.4485711 L32.4052412,16.4485711 L21.413757,27.5805811 L21.413757,27.5805811 L21.4034642,27.590855 C21.0097542,27.9781674 20.3766105,27.9729811 19.9892981,27.5792711 L19.9892981,27.5792711 L15.5947588,23.1121428 C15.0011718,22.514048 14.0387772,22.514048 13.4451902,23.1121428 C12.8516033,23.7102376 12.8516033,24.6799409 13.4451902,25.2780357 L13.4451902,25.2780357 L19.6260786,31.5514289 C20.2196656,32.1495237 21.1820602,32.1495237 21.7756472,31.5514289 L21.7756472,31.5514289 L34.5548098,18.614464 C35.1483967,18.0163692 35.1483967,17.0466659 34.5548098,16.4485711 Z"}})])},wb=[];_b._withStripped=!0;var Cb={name:"IconSuccess"},Sb=Cb,kb=s(Sb,_b,wb,!1,null,null,null);kb.options.__file="packages/result/src/icon-success.vue";var Mb=kb.exports,Tb=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.57818,15.42182 C32.0157534,14.8593933 31.1038797,14.8593933 30.541453,15.42182 L30.541453,15.42182 L24.0006789,21.9625941 L17.458547,15.42182 C16.8961203,14.8593933 15.9842466,14.8593933 15.42182,15.42182 C14.8593933,15.9842466 14.8593933,16.8961203 15.42182,17.458547 L15.42182,17.458547 L21.9639519,23.9993211 L15.42182,30.541453 C14.8593933,31.1038797 14.8593933,32.0157534 15.42182,32.57818 C15.9842466,33.1406067 16.8961203,33.1406067 17.458547,32.57818 L17.458547,32.57818 L24.0006789,26.0360481 L30.541453,32.57818 C31.1038797,33.1406067 32.0157534,33.1406067 32.57818,32.57818 C33.1406067,32.0157534 33.1406067,31.1038797 32.57818,30.541453 L32.57818,30.541453 L26.0374059,23.9993211 L32.57818,17.458547 C33.1406067,16.8961203 33.1406067,15.9842466 32.57818,15.42182 Z"}})])},Eb=[];Tb._withStripped=!0;var Db={name:"IconError"},Pb=Db,Ob=s(Pb,Tb,Eb,!1,null,null,null);Ob.options.__file="packages/result/src/icon-error.vue";var Ib=Ob.exports,Ab=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M24,31 C22.8954305,31 22,31.8954305 22,33 C22,34.1045695 22.8954305,35 24,35 C25.1045695,35 26,34.1045695 26,33 C26,31.8954305 25.1045695,31 24,31 Z M24,14 C23.1715729,14 22.5,14.6715729 22.5,15.5 L22.5,15.5 L22.5,27.5 C22.5,28.3284271 23.1715729,29 24,29 C24.8284271,29 25.5,28.3284271 25.5,27.5 L25.5,27.5 L25.5,15.5 C25.5,14.6715729 24.8284271,14 24,14 Z"}})])},Lb=[];Ab._withStripped=!0;var Nb={name:"IconWarning"},Rb=Nb,zb=s(Rb,Ab,Lb,!1,null,null,null);zb.options.__file="packages/result/src/icon-warning.vue";var $b=zb.exports,Bb=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M24,19 L21,19 C20.1715729,19 19.5,19.6715729 19.5,20.5 C19.5,21.3284271 20.1715729,22 21,22 L21,22 L22.5,22 L22.5,31 L21,31 C20.1715729,31 19.5,31.6715729 19.5,32.5 C19.5,33.3284271 20.1715729,34 21,34 L21,34 L27,34 C27.8284271,34 28.5,33.3284271 28.5,32.5 C28.5,31.6715729 27.8284271,31 27,31 L27,31 L25.5,31 L25.5,20.5 C25.5,19.6715729 24.8284271,19 24,19 L24,19 Z M24,13 C22.8954305,13 22,13.8954305 22,15 C22,16.1045695 22.8954305,17 24,17 C25.1045695,17 26,16.1045695 26,15 C26,13.8954305 25.1045695,13 24,13 Z"}})])},Fb=[];Bb._withStripped=!0;var jb={name:"IconInfo"},Vb=jb,Hb=s(Vb,Bb,Fb,!1,null,null,null);Hb.options.__file="packages/result/src/icon-info.vue";var Wb,Gb=Hb.exports,qb={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},Ub={name:"ElResult",components:(Wb={},Wb[Mb.name]=Mb,Wb[Ib.name]=Ib,Wb[$b.name]=$b,Wb[Gb.name]=Gb,Wb),props:{title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,default:"info"}},computed:{iconElement:function(){var e=this.icon;return e&&qb[e]?qb[e]:"icon-info"}}},Yb=Ub,Xb=s(Yb,bb,xb,!1,null,null,null);Xb.options.__file="packages/result/src/index.vue";var Zb=Xb.exports;Zb.install=function(e){e.component(Zb.name,Zb)};var Kb=Zb,Qb=[x,A,re,fe,xe,Te,Ge,et,ut,mt,Ot,Bt,qt,en,ln,gn,wn,Dn,Rn,li,ui,mi,Ci,Pi,Xr,io,Ia,Wa,is,ds,ps,qs,Js,al,_l,Vl,Kl,nu,Ou,Bu,gc,Fc,Vc,Gc,Sh,Oh,$h,sd,pd,_d,Ed,Nd,Wd,Xd,rf,hf,yf,Af,Ap,qp,Jp,ag,fg,xg,Dg,Lg,jg,Yg,tm,xm,$m,Um,dv,Jv,ry,hy,by,Ey,Ny,Xy,hb,mb,yb,Kb,Ue.a],Jb=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ys.a.use(t.locale),ys.a.i18n(t.i18n),Qb.forEach((function(t){e.component(t.name,t)})),e.use(ov),e.use(Ac.directive),e.prototype.$ELEMENT={size:t.size||"",zIndex:t.zIndex||2e3},e.prototype.$loading=Ac.service,e.prototype.$msgbox=Bs,e.prototype.$alert=Bs.alert,e.prototype.$confirm=Bs.confirm,e.prototype.$prompt=Bs.prompt,e.prototype.$notify=Ju,e.prototype.$message=ed};"undefined"!==typeof window&&window.Vue&&Jb(window.Vue);t["default"]={version:"2.15.13",locale:ys.a.use,i18n:ys.a.i18n,install:Jb,CollapseTransition:Ue.a,Loading:Ac,Pagination:x,Dialog:A,Autocomplete:re,Dropdown:fe,DropdownMenu:xe,DropdownItem:Te,Menu:Ge,Submenu:et,MenuItem:ut,MenuItemGroup:mt,Input:Ot,InputNumber:Bt,Radio:qt,RadioGroup:en,RadioButton:ln,Checkbox:gn,CheckboxButton:wn,CheckboxGroup:Dn,Switch:Rn,Select:li,Option:ui,OptionGroup:mi,Button:Ci,ButtonGroup:Pi,Table:Xr,TableColumn:io,DatePicker:Ia,TimeSelect:Wa,TimePicker:is,Popover:ds,Tooltip:ps,MessageBox:Bs,Breadcrumb:qs,BreadcrumbItem:Js,Form:al,FormItem:_l,Tabs:Vl,TabPane:Kl,Tag:nu,Tree:Ou,Alert:Bu,Notification:Ju,Slider:gc,Icon:Fc,Row:Vc,Col:Gc,Upload:Sh,Progress:Oh,Spinner:$h,Message:ed,Badge:sd,Card:pd,Rate:_d,Steps:Ed,Step:Nd,Carousel:Wd,Scrollbar:Xd,CarouselItem:rf,Collapse:hf,CollapseItem:yf,Cascader:Af,ColorPicker:Ap,Transfer:qp,Container:Jp,Header:ag,Aside:fg,Main:xg,Footer:Dg,Timeline:Lg,TimelineItem:jg,Link:Yg,Divider:tm,Image:xm,Calendar:$m,Backtop:Um,InfiniteScroll:ov,PageHeader:dv,CascaderPanel:Jv,Avatar:ry,Drawer:hy,Statistic:by,Popconfirm:Ey,Skeleton:Ny,SkeletonItem:Xy,Empty:hb,Descriptions:mb,DescriptionsItem:yb,Result:Kb}}])["default"]},23892:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=87)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},10:function(e,t){e.exports=n(45981)},2:function(e,t){e.exports=n(53766)},22:function(e,t){e.exports=n(49528)},3:function(e,t){e.exports=n(45402)},30:function(e,t,n){"use strict";var i=n(2),r=n(3);t["a"]={bind:function(e,t,n){var o=null,a=void 0,s=Object(r["isMac"])()?100:200,l=function(){return n.context[t.expression].apply()},u=function(){Date.now()-a<s&&l(),clearInterval(o),o=null};Object(i["on"])(e,"mousedown",(function(e){0===e.button&&(a=Date.now(),Object(i["once"])(document,"mouseup",u),clearInterval(o),o=setInterval(l,s))}))}}},87:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.decrease(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-down":"minus")})]):e._e(),e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.increase(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-up":"plus")})]):e._e(),n("el-input",{ref:"input",attrs:{value:e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,input:e.handleInput,change:e.handleInputChange},nativeOn:{keydown:[function(t){return!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.increase(t))},function(t){return!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.decrease(t))}]}})],1)},r=[];i._withStripped=!0;var o=n(10),a=n.n(o),s=n(22),l=n.n(s),u=n(30),c={name:"ElInputNumber",mixins:[l()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:u["a"]},components:{ElInput:a.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(e){return e>=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);t=Math.round(t/this.step)*i*this.step/i}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,i=this.precision,r=n(t);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(e),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),i=0;return-1!==n&&(i=t.length-n-1),i},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},h=c,d=n(0),f=Object(d["a"])(h,i,r,!1,null,null,null);f.options.__file="packages/input-number/src/input-number.vue";var p=f.exports;p.install=function(e){e.component(p.name,p)};t["default"]=p}})},45981:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=75)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},11:function(e,t){e.exports=n(34511)},21:function(e,t){e.exports=n(96927)},4:function(e,t){e.exports=n(38816)},75:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon",class:e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon",class:e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s=n(11),l=n.n(s),u=void 0,c="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",h=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function d(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),i=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width")),o=h.map((function(e){return e+":"+t.getPropertyValue(e)})).join(";");return{contextStyle:o,paddingSize:i,borderSize:r,boxSizing:n}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;u||(u=document.createElement("textarea"),document.body.appendChild(u));var i=d(e),r=i.paddingSize,o=i.borderSize,a=i.boxSizing,s=i.contextStyle;u.setAttribute("style",s+";"+c),u.value=e.value||e.placeholder||"";var l=u.scrollHeight,h={};"border-box"===a?l+=o:"content-box"===a&&(l-=r),u.value="";var f=u.scrollHeight-r;if(null!==t){var p=f*t;"border-box"===a&&(p=p+r+o),l=Math.max(p,l),h.minHeight=p+"px"}if(null!==n){var g=f*n;"border-box"===a&&(g=g+r+o),l=Math.min(g,l)}return h.height=l+"px",u.parentNode&&u.parentNode.removeChild(u),u=null,h}var p=n(9),g=n.n(p),m=n(21),v={name:"ElInput",componentName:"ElInput",mixins:[a.a,l.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return g()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"===typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick((function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()}))}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize,t=this.type;if("textarea"===t)if(e){var n=e.minRows,i=e.maxRows;this.textareaCalcStyle=f(this.$refs.textarea,n,i)}else this.textareaCalcStyle={minHeight:f(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(m["isKorean"])(n)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,i=0;i<t.length;i++)if(t[i].parentNode===this.$el){n=t[i];break}if(n){var r={suffix:"append",prefix:"prepend"},o=r[e];this.$slots[o]?n.style.transform="translateX("+("suffix"===e?"-":"")+this.$el.querySelector(".el-input-group__"+o).offsetWidth+"px)":n.removeAttribute("style")}}},updateIconOffset:function(){this.calcIconOffset("prefix"),this.calcIconOffset("suffix")},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")},handlePasswordVisible:function(){var e=this;this.passwordVisible=!this.passwordVisible,this.$nextTick((function(){e.focus()}))},getInput:function(){return this.$refs.input||this.$refs.textarea},getSuffixVisible:function(){return this.$slots.suffix||this.suffixIcon||this.showClear||this.showPassword||this.isWordLimitVisible||this.validateState&&this.needStatusIcon}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.setNativeInputValue(),this.resizeTextarea(),this.updateIconOffset()},updated:function(){this.$nextTick(this.updateIconOffset)}},y=v,b=n(0),x=Object(b["a"])(y,i,r,!1,null,null,null);x.options.__file="packages/input/src/input.vue";var _=x.exports;_.install=function(e){e.component(_.name,_)};t["default"]=_},9:function(e,t){e.exports=n(47734)}})},93909:function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t["default"]=function(e){function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return 1===n.length&&"object"===i(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(o,(function(t,i,o,a){var s=void 0;return"{"===e[a-1]&&"}"===e[a+t.length]?o:(s=(0,r.hasOwn)(n,o)?n[o]:null,null===s||void 0===s?"":s)}))}return t};var r=n(45402),o=/(%|)\{([0-9a-zA-Z_]+)\}/g},54582:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var i=n(80407),r=h(i),o=n(36369),a=h(o),s=n(7669),l=h(s),u=n(93909),c=h(u);function h(e){return e&&e.__esModule?e:{default:e}}var d=(0,c.default)(a.default),f=r.default,p=!1,g=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return p||(p=!0,a.default.locale(a.default.config.lang,(0,l.default)(f,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},m=t.t=function(e,t){var n=g.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var i=e.split("."),r=f,o=0,a=i.length;o<a;o++){var s=i[o];if(n=r[s],o===a-1)return d(n,t);if(!n)return"";r=n}return""},v=t.use=function(e){f=e||f},y=t.i18n=function(e){g=e||g};t["default"]={use:v,t:m,i18n:y}},80407:function(e,t){"use strict";t.__esModule=!0,t["default"]={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},empty:{description:"暂无数据"}}}},38816:function(e,t){"use strict";function n(e,t,i){this.$children.forEach((function(r){var o=r.$options.componentName;o===e?r.$emit.apply(r,[t].concat(i)):n.apply(r,[e,t].concat([i]))}))}t.__esModule=!0,t["default"]={methods:{dispatch:function(e,t,n){var i=this.$parent||this.$root,r=i.$options.componentName;while(i&&(!r||r!==e))i=i.$parent,i&&(r=i.$options.componentName);i&&i.$emit.apply(i,[t].concat(n))},broadcast:function(e,t,i){n.call(this,e,t,i)}}}},49528:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},83647:function(e,t,n){"use strict";t.__esModule=!0;var i=n(54582);t["default"]={methods:{t:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.t.apply(this,t)}}}},34511:function(e,t,n){"use strict";t.__esModule=!0;n(45402);t["default"]={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},67342:function(e,t,n){n(57658),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=54)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},3:function(e,t){e.exports=n(45402)},33:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[n("span",[e._v(e._s(e.currentLabel))])])],2)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s=n(3),l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u={mixins:[a.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===("undefined"===typeof e?"undefined":l(e))&&"object"===("undefined"===typeof t?"undefined":l(t))&&e[r]===t[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some((function(e){return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(s["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,i=n?t:[t],r=this.select.cachedOptions.indexOf(this),o=i.indexOf(this);r>-1&&o<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=u,h=n(0),d=Object(h["a"])(c,i,r,!1,null,null,null);d.options.__file="packages/select/src/option.vue";t["a"]=d.exports},4:function(e,t){e.exports=n(38816)},54:function(e,t,n){"use strict";n.r(t);var i=n(33);i["a"].install=function(e){e.component(i["a"].name,i["a"])},t["default"]=i["a"]}})},68902:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=78)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},2:function(e,t){e.exports=n(53766)},3:function(e,t){e.exports=n(45402)},5:function(e,t){e.exports=n(54857)},7:function(e,t){e.exports=n(36369)},78:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[e.popperClass,e.content&&"el-popover--plain"],style:{width:e.width+"px"},attrs:{role:"tooltip",id:e.tooltipId,"aria-hidden":e.disabled||!e.showPopper?"true":"false"}},[e.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",[e._v(e._s(e.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[e._t("reference")],2)],1)},r=[];i._withStripped=!0;var o=n(5),a=n.n(o),s=n(2),l=n(3),u={name:"ElPopover",mixins:[a.a],props:{trigger:{type:String,default:"click",validator:function(e){return["click","focus","hover","manual"].indexOf(e)>-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(l["generateId"])()}},watch:{showPopper:function(e){this.disabled||(e?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var e=this,t=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),t&&(Object(s["addClass"])(t,"el-popover__reference"),t.setAttribute("aria-describedby",this.tooltipId),t.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(s["on"])(t,"focusin",(function(){e.handleFocus();var n=t.__vue__;n&&"function"===typeof n.focus&&n.focus()})),Object(s["on"])(n,"focusin",this.handleFocus),Object(s["on"])(t,"focusout",this.handleBlur),Object(s["on"])(n,"focusout",this.handleBlur)),Object(s["on"])(t,"keydown",this.handleKeydown),Object(s["on"])(t,"click",this.handleClick)),"click"===this.trigger?(Object(s["on"])(t,"click",this.doToggle),Object(s["on"])(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(s["on"])(t,"mouseenter",this.handleMouseEnter),Object(s["on"])(n,"mouseenter",this.handleMouseEnter),Object(s["on"])(t,"mouseleave",this.handleMouseLeave),Object(s["on"])(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),t.querySelector("input, textarea")?(Object(s["on"])(t,"focusin",this.doShow),Object(s["on"])(t,"focusout",this.doClose)):(Object(s["on"])(t,"mousedown",this.doShow),Object(s["on"])(t,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(s["addClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(s["removeClass"])(this.referenceElm,"focusing")},handleBlur:function(){Object(s["removeClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var e=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout((function(){e.showPopper=!0}),this.openDelay):this.showPopper=!0},handleKeydown:function(e){27===e.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var e=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout((function(){e.showPopper=!1}),this.closeDelay):this.showPopper=!1},handleDocumentClick:function(e){var t=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&t&&!this.$el.contains(e.target)&&!t.contains(e.target)&&n&&!n.contains(e.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var e=this.reference;Object(s["off"])(e,"click",this.doToggle),Object(s["off"])(e,"mouseup",this.doClose),Object(s["off"])(e,"mousedown",this.doShow),Object(s["off"])(e,"focusin",this.doShow),Object(s["off"])(e,"focusout",this.doClose),Object(s["off"])(e,"mousedown",this.doShow),Object(s["off"])(e,"mouseup",this.doClose),Object(s["off"])(e,"mouseleave",this.handleMouseLeave),Object(s["off"])(e,"mouseenter",this.handleMouseEnter),Object(s["off"])(document,"click",this.handleDocumentClick)}},c=u,h=n(0),d=Object(h["a"])(c,i,r,!1,null,null,null);d.options.__file="packages/popover/src/main.vue";var f=d.exports,p=function(e,t,n){var i=t.expression?t.value:t.arg,r=n.context.$refs[i];r&&(Array.isArray(r)?r[0].$refs.reference=e:r.$refs.reference=e)},g={bind:function(e,t,n){p(e,t,n)},inserted:function(e,t,n){p(e,t,n)}},m=n(7),v=n.n(m);v.a.directive("popover",g),f.install=function(e){e.directive("popover",g),e.component(f.name,f)},f.directive=g;t["default"]=f}})},47509:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=104)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},104:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?n("div",{staticClass:"el-progress-bar"},[n("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px",backgroundColor:e.defineBackColor}},[n("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?n("div",{staticClass:"el-progress-bar__innerText",style:{color:e.textColor}},[e._v(e._s(e.content))]):e._e()])])]):n("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[n("svg",{attrs:{viewBox:"0 0 100 100"}},[n("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:e.defineBackColor,"stroke-width":e.relativeStrokeWidth,fill:"none"}}),n("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?n("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px",color:e.textColor}},[e.status?n("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])},r=[];i._withStripped=!0;var o={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},defineBackColor:{type:[String,Array,Function],default:"#ebeef5"},textColor:{type:[String,Array,Function],default:"#606266"},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){var e=-1*this.perimeter*(1-this.rate)/2;return e+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"===typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"===typeof this.color?this.color(e):"string"===typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort((function(e,t){return e.percentage-t.percentage})),n=0;n<t.length;n++)if(t[n].percentage>e)return t[n].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map((function(e,n){return"string"===typeof e?{color:e,percentage:(n+1)*t}:e}))}}},a=o,s=n(0),l=Object(s["a"])(a,i,r,!1,null,null,null);l.options.__file="packages/progress/src/progress.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},28192:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=88)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},4:function(e,t){e.exports=n(38816)},88:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio",class:[e.border&&e.radioSize?"el-radio--"+e.radioSize:"",{"is-disabled":e.isDisabled},{"is-focus":e.focus},{"is-bordered":e.border},{"is-checked":e.model===e.label}],attrs:{role:"radio","aria-checked":e.model===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.model=e.isDisabled?e.model:e.label}}},[n("span",{staticClass:"el-radio__input",class:{"is-disabled":e.isDisabled,"is-checked":e.model===e.label}},[n("span",{staticClass:"el-radio__inner"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:e.name,disabled:e.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:e.label,checked:e._q(e.model,e.label)},on:{focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},change:[function(t){e.model=e.label},e.handleChange]}})]),n("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElRadio",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){var e=this.$parent;while(e){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick((function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)}))}}},l=s,u=n(0),c=Object(u["a"])(l,i,r,!1,null,null,null);c.options.__file="packages/radio/src/radio.vue";var h=c.exports;h.install=function(e){e.component(h.name,h)};t["default"]=h}})},95095:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=133)}({133:function(e,t,n){"use strict";n.r(t);var i=n(16),r=n(39),o=n.n(r),a=n(3),s=n(2),l={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function u(e){var t=e.move,n=e.size,i=e.bar,r={},o="translate"+i.axis+"("+t+"%)";return r[i.size]=n,r.transform=o,r.msTransform=o,r.webkitTransform=o,r}var c={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:u({size:t,move:n,bar:i})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(s["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(s["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(s["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},h={name:"ElScrollbar",components:{Bar:c},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=o()(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(a["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"===typeof this.wrapStyle?n+=r:n=r}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]),u=void 0;return u=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[l,e(c,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(c,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},u)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(i["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(i["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(h.name,h)}};t["default"]=h},16:function(e,t){e.exports=n(62740)},2:function(e,t){e.exports=n(53766)},3:function(e,t){e.exports=n(45402)},39:function(e,t){e.exports=n(48667)}})},62572:function(e,t,n){n(57658),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=62)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},10:function(e,t){e.exports=n(45981)},12:function(e,t){e.exports=n(19305)},15:function(e,t){e.exports=n(95095)},16:function(e,t){e.exports=n(62740)},19:function(e,t){e.exports=n(8973)},21:function(e,t){e.exports=n(96927)},22:function(e,t){e.exports=n(49528)},3:function(e,t){e.exports=n(45402)},31:function(e,t){e.exports=n(4510)},33:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[n("span",[e._v(e._s(e.currentLabel))])])],2)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s=n(3),l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u={mixins:[a.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===("undefined"===typeof e?"undefined":l(e))&&"object"===("undefined"===typeof t?"undefined":l(t))&&e[r]===t[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some((function(e){return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(s["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,i=n?t:[t],r=this.select.cachedOptions.indexOf(this),o=i.indexOf(this);r>-1&&o<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=u,h=n(0),d=Object(h["a"])(c,i,r,!1,null,null,null);d.options.__file="packages/select/src/option.vue";t["a"]=d.exports},38:function(e,t){e.exports=n(73256)},4:function(e,t){e.exports=n(38816)},5:function(e,t){e.exports=n(54857)},6:function(e,t){e.exports=n(83647)},62:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?n("span",[n("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?n("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():n("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,(function(t){return n("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(n){e.deleteTag(n,t)}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])})),1),e.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deletePrevTag(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),n("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.debouncedOnInputChange,compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?n("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")])]:e._e()],2)],1)],1)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s=n(22),l=n.n(s),u=n(6),c=n.n(u),h=n(10),d=n.n(h),f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":e.$parent.multiple},e.popperClass],style:{minWidth:e.minWidth}},[e._t("default")],2)},p=[];f._withStripped=!0;var g=n(5),m=n.n(g),v={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[m.a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",(function(){e.$parent.visible&&e.updatePopper()})),this.$on("destroyPopper",this.destroyPopper)}},y=v,b=n(0),x=Object(b["a"])(y,f,p,!1,null,null,null);x.options.__file="packages/select/src/select-dropdown.vue";var _=x.exports,w=n(33),C=n(38),S=n.n(C),k=n(15),M=n.n(k),T=n(19),E=n.n(T),D=n(12),P=n.n(D),O=n(16),I=n(31),A=n.n(I),L=n(3),N={data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter((function(e){return e.visible})).every((function(e){return e.disabled}))}},watch:{hoverIndex:function(e){var t=this;"number"===typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach((function(e){e.hover=t.hoverOption===e}))}},methods:{navigateOptions:function(e){var t=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===e&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(e),this.$nextTick((function(){return t.scrollToOption(t.hoverOption)}))}}else this.visible=!0}}},R=n(21),z={mixins:[a.a,c.a,l()("reference"),N],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(L["isIE"])()&&!Object(L["isEdge"])()&&!this.visible},showClose:function(){var e=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value,t=this.clearable&&!this.selectDisabled&&this.inputHovering&&e;return t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter((function(e){return!e.created})).some((function(t){return t.currentLabel===e.query}));return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return"undefined"!==typeof this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:d.a,ElSelectMenu:_,ElOption:w["a"],ElTag:S.a,ElScrollbar:M.a},directives:{Clickoutside:P.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick((function(){e.resetInputHeight()}))},propPlaceholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e,t){this.multiple&&(this.resetInputHeight(),e&&e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(L["valueEquals"])(e,t)||this.dispatch("ElFormItem","el.form.change",e)},visible:function(e){var t=this;e?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick((function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick((function(){e.broadcast("ElSelectDropdown","updatePopper")})),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleNavigate:function(e){this.isOnComposition||this.navigateOptions(e)},handleComposition:function(e){var t=this,n=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.$nextTick((function(e){return t.handleQueryChange(n)}));else{var i=n[n.length-1]||"";this.isOnComposition=!Object(R["isKorean"])(i)}},handleQueryChange:function(e){var t=this;this.previousQuery===e||this.isOnComposition||(null!==this.previousQuery||"function"!==typeof this.filterMethod&&"function"!==typeof this.remoteMethod?(this.previousQuery=e,this.$nextTick((function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")})),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick((function(){var e=15*t.$refs.input.value.length+20;t.inputLength=t.collapseTags?Math.min(50,e):e,t.managePlaceholder(),t.resetInputHeight()})),this.remote&&"function"===typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"===typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=e)},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");A()(n,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick((function(){return e.scrollToOption(e.selected)}))},emitChange:function(e){Object(L["valueEquals"])(this.value,e)||this.$emit("change",e)},getOption:function(e){for(var t=void 0,n="[object object]"===Object.prototype.toString.call(e).toLowerCase(),i="[object null]"===Object.prototype.toString.call(e).toLowerCase(),r="[object undefined]"===Object.prototype.toString.call(e).toLowerCase(),o=this.cachedOptions.length-1;o>=0;o--){var a=this.cachedOptions[o],s=n?Object(L["getValueByPath"])(a.value,this.valueKey)===Object(L["getValueByPath"])(e,this.valueKey):a.value===e;if(s){t=a;break}}if(t)return t;var l=n||i||r?"":String(e),u={value:e,currentLabel:l};return this.multiple&&(u.hitState=!1),u},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach((function(t){n.push(e.getOption(t))})),this.selected=n,this.$nextTick((function(){e.resetInputHeight()}))},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.filterable&&!this.visible&&(this.menuVisibleOnFocus=!0),this.visible=!0),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout((function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)}),50),this.softFocus=!1},handleClearClick:function(e){this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick((function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,n=[].filter.call(t,(function(e){return"INPUT"===e.tagName}))[0],i=e.$refs.tags,r=i?Math.round(i.getBoundingClientRect().height):0,o=e.initialInputHeight||40;n.style.height=0===e.selected.length?o+"px":Math.max(i?r+(r>o?6:0):0,o)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}}))},resetHoverIndex:function(){var e=this;setTimeout((function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map((function(t){return e.options.indexOf(t)}))):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)}),300)},handleOptionSelect:function(e,t){var n=this;if(this.multiple){var i=(this.value||[]).slice(),r=this.getValueIndex(i,e.value);r>-1?i.splice(r,1):(this.multipleLimit<=0||i.length<this.multipleLimit)&&i.push(e.value),this.$emit("input",i),this.emitChange(i),e.created&&(this.query="",this.handleQueryChange(""),this.inputLength=20),this.filterable&&this.$refs.input.focus()}else this.$emit("input",e.value),this.emitChange(e.value),this.visible=!1;this.isSilentBlur=t,this.setSoftFocus(),this.visible||this.$nextTick((function(){n.scrollToOption(e)}))},setSoftFocus:function(){this.softFocus=!0;var e=this.$refs.input||this.$refs.reference;e&&e.focus()},getValueIndex:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n="[object object]"===Object.prototype.toString.call(t).toLowerCase();if(n){var i=this.valueKey,r=-1;return e.some((function(e,n){return Object(L["getValueByPath"])(e,i)===Object(L["getValueByPath"])(t,i)&&(r=n,!0)})),r}return e.indexOf(t)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation();var t=this.multiple?[]:"";this.$emit("input",t),this.emitChange(t),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var n=this.selected.indexOf(t);if(n>-1&&!this.selectDisabled){var i=this.value.slice();i.splice(n,1),this.$emit("input",i),this.emitChange(i),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var n=0;n!==this.options.length;++n){var i=this.options[n];if(this.query){if(!i.disabled&&!i.groupDisabled&&i.visible){this.hoverIndex=n;break}}else if(i.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:Object(L["getValueByPath"])(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=E()(this.debounce,(function(){e.onInputChange()})),this.debouncedQueryChange=E()(this.debounce,(function(t){e.handleQueryChange(t.target.value)})),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(O["addResizeListener"])(this.$el,this.handleResize);var t=this.$refs.reference;if(t&&t.$el){var n={medium:36,small:32,mini:28},i=t.$el.querySelector("input");this.initialInputHeight=i.getBoundingClientRect().height||n[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick((function(){t&&t.$el&&(e.inputWidth=t.$el.getBoundingClientRect().width)})),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(O["removeResizeListener"])(this.$el,this.handleResize)}},$=z,B=Object(b["a"])($,i,r,!1,null,null,null);B.options.__file="packages/select/src/select.vue";var F=B.exports;F.install=function(e){e.component(F.name,F)};t["default"]=F}})},73256:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=132)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},132:function(e,t,n){"use strict";n.r(t);var i,r,o={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,n=this.tagSize,i=this.hit,r=this.effect,o=["el-tag",t?"el-tag--"+t:"",n?"el-tag--"+n:"",r?"el-tag--"+r:"",i&&"is-hit"],a=e("span",{class:o,style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?a:e("transition",{attrs:{name:"el-zoom-in-center"}},[a])}},a=o,s=n(0),l=Object(s["a"])(a,i,r,!1,null,null,null);l.options.__file="packages/tag/src/tag.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},60488:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=138)}({138:function(e,t,n){"use strict";n.r(t);var i=n(5),r=n.n(i),o=n(19),a=n.n(o),s=n(2),l=n(3),u=n(7),c=n.n(u),h={name:"ElTooltip",mixins:[r.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new c.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s["on"])(this.referenceElm,"mouseenter",this.show),Object(s["on"])(this.referenceElm,"mouseleave",this.hide),Object(s["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(s["on"])(this.referenceElm,"blur",this.handleBlur),Object(s["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(s["addClass"])(this.referenceElm,"focusing"):Object(s["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n<e.length;n++)if(e[n]&&e[n].tag){t=e[n];break}return t}},beforeDestroy:function(){this.popperVM&&this.popperVM.$destroy()},destroyed:function(){var e=this.referenceElm;1===e.nodeType&&(Object(s["off"])(e,"mouseenter",this.show),Object(s["off"])(e,"mouseleave",this.hide),Object(s["off"])(e,"focus",this.handleFocus),Object(s["off"])(e,"blur",this.handleBlur),Object(s["off"])(e,"click",this.removeFocusing))},install:function(e){e.component(h.name,h)}};t["default"]=h},19:function(e,t){e.exports=n(8973)},2:function(e,t){e.exports=n(53766)},3:function(e,t){e.exports=n(45402)},5:function(e,t){e.exports=n(54857)},7:function(e,t){e.exports=n(36369)}})},57374:function(e,t,n){"use strict";t.__esModule=!0;var i=n(53766);function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){r(this,e)}return e.prototype.beforeEnter=function(e){(0,i.addClass)(e,"collapse-transition"),e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height="0",e.style.paddingTop=0,e.style.paddingBottom=0},e.prototype.enter=function(e){e.dataset.oldOverflow=e.style.overflow,0!==e.scrollHeight?(e.style.height=e.scrollHeight+"px",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom):(e.style.height="",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom),e.style.overflow="hidden"},e.prototype.afterEnter=function(e){(0,i.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow},e.prototype.beforeLeave=function(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.height=e.scrollHeight+"px",e.style.overflow="hidden"},e.prototype.leave=function(e){0!==e.scrollHeight&&((0,i.addClass)(e,"collapse-transition"),e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0)},e.prototype.afterLeave=function(e){(0,i.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},e}();t["default"]={name:"ElCollapseTransition",functional:!0,render:function(e,t){var n=t.children,i={on:new o};return e("transition",i,n)}}},85050:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var r=!1,o=function(){r||(r=!0,t&&t.apply(null,arguments))};i?e.$once("after-leave",o):e.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},15408:function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=n(69506),o=a(r);function a(e){return e&&e.__esModule?e:{default:e}}var s,l=l||{};l.Dialog=function(e,t,n){var r=this;if(this.dialogNode=e,null===this.dialogNode||"dialog"!==this.dialogNode.getAttribute("role"))throw new Error("Dialog() requires a DOM element with ARIA role of dialog.");"string"===typeof t?this.focusAfterClosed=document.getElementById(t):"object"===("undefined"===typeof t?"undefined":i(t))?this.focusAfterClosed=t:this.focusAfterClosed=null,"string"===typeof n?this.focusFirst=document.getElementById(n):"object"===("undefined"===typeof n?"undefined":i(n))?this.focusFirst=n:this.focusFirst=null,this.focusFirst?this.focusFirst.focus():o.default.focusFirstDescendant(this.dialogNode),this.lastFocus=document.activeElement,s=function(e){r.trapFocus(e)},this.addListeners()},l.Dialog.prototype.addListeners=function(){document.addEventListener("focus",s,!0)},l.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",s,!0)},l.Dialog.prototype.closeDialog=function(){var e=this;this.removeListeners(),this.focusAfterClosed&&setTimeout((function(){e.focusAfterClosed.focus()}))},l.Dialog.prototype.trapFocus=function(e){o.default.IgnoreUtilFocusChanges||(this.dialogNode.contains(e.target)?this.lastFocus=e.target:(o.default.focusFirstDescendant(this.dialogNode),this.lastFocus===document.activeElement&&o.default.focusLastDescendant(this.dialogNode),this.lastFocus=document.activeElement))},t["default"]=l.Dialog},69506:function(e,t){"use strict";t.__esModule=!0;var n=n||{};n.Utils=n.Utils||{},n.Utils.focusFirstDescendant=function(e){for(var t=0;t<e.childNodes.length;t++){var i=e.childNodes[t];if(n.Utils.attemptFocus(i)||n.Utils.focusFirstDescendant(i))return!0}return!1},n.Utils.focusLastDescendant=function(e){for(var t=e.childNodes.length-1;t>=0;t--){var i=e.childNodes[t];if(n.Utils.attemptFocus(i)||n.Utils.focusLastDescendant(i))return!0}return!1},n.Utils.attemptFocus=function(e){if(!n.Utils.isFocusable(e))return!1;n.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(t){}return n.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},n.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},n.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];return i.initEvent.apply(i,[t].concat(o)),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent("on"+t,i),e},n.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27},t["default"]=n.Utils},19305:function(e,t,n){"use strict";n(57658),t.__esModule=!0;var i=n(36369),r=a(i),o=n(53766);function a(e){return e&&e.__esModule?e:{default:e}}var s=[],l="@@clickoutsideContext",u=void 0,c=0;function h(e,t,n){return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&i.target&&r.target)||e.contains(i.target)||e.contains(r.target)||e===i.target||n.context.popperElm&&(n.context.popperElm.contains(i.target)||n.context.popperElm.contains(r.target))||(t.expression&&e[l].methodName&&n.context[e[l].methodName]?n.context[e[l].methodName]():e[l].bindingFn&&e[l].bindingFn())}}!r.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return u=e})),!r.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){s.forEach((function(t){return t[l].documentHandler(e,u)}))})),t["default"]={bind:function(e,t,n){s.push(e);var i=c++;e[l]={id:i,documentHandler:h(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[l].documentHandler=h(e,t,n),e[l].methodName=t.expression,e[l].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n<t;n++)if(s[n][l].id===e[l].id){s.splice(n,1);break}delete e[l]}}},33026:function(e,t,n){"use strict";n(57658),t.__esModule=!0,t.validateRangeInOneMonth=t.extractTimeFormat=t.extractDateFormat=t.nextYear=t.prevYear=t.nextMonth=t.prevMonth=t.changeYearMonthAndClampDate=t.timeWithinRange=t.limitTimeRange=t.clearMilliseconds=t.clearTime=t.modifyWithTimeString=t.modifyTime=t.modifyDate=t.range=t.getRangeMinutes=t.getMonthDays=t.getPrevMonthLastDays=t.getRangeHours=t.getWeekNumber=t.getStartDateOfMonth=t.nextDate=t.prevDate=t.getFirstDayOfMonth=t.getDayCountOfYear=t.getDayCountOfMonth=t.parseDate=t.formatDate=t.isDateObject=t.isDate=t.toDate=t.getI18nSettings=void 0;var i=n(29992),r=a(i),o=n(54582);function a(e){return e&&e.__esModule?e:{default:e}}var s=["sun","mon","tue","wed","thu","fri","sat"],l=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],u=function(e,t){for(var n=[],i=e;i<=t;i++)n.push(i);return n},c=t.getI18nSettings=function(){return{dayNamesShort:s.map((function(e){return(0,o.t)("el.datepicker.weeks."+e)})),dayNames:s.map((function(e){return(0,o.t)("el.datepicker.weeks."+e)})),monthNamesShort:l.map((function(e){return(0,o.t)("el.datepicker.months."+e)})),monthNames:l.map((function(e,t){return(0,o.t)("el.datepicker.month"+(t+1))})),amPm:["am","pm"]}},h=t.toDate=function(e){return d(e)?new Date(e):null},d=t.isDate=function(e){return null!==e&&void 0!==e&&(!isNaN(new Date(e).getTime())&&!Array.isArray(e))},f=(t.isDateObject=function(e){return e instanceof Date},t.formatDate=function(e,t){return e=h(e),e?r.default.format(e,t||"yyyy-MM-dd",c()):""},t.parseDate=function(e,t){return r.default.parse(e,t||"yyyy-MM-dd",c())}),p=t.getDayCountOfMonth=function(e,t){return isNaN(+t)?31:new Date(e,+t+1,0).getDate()},g=(t.getDayCountOfYear=function(e){var t=e%400===0||e%100!==0&&e%4===0;return t?366:365},t.getFirstDayOfMonth=function(e){var t=new Date(e.getTime());return t.setDate(1),t.getDay()},t.prevDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()-t)});t.nextDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t)},t.getStartDateOfMonth=function(e,t){var n=new Date(e,t,1),i=n.getDay();return g(n,0===i?7:i)},t.getWeekNumber=function(e){if(!d(e))return null;var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},t.getRangeHours=function(e){var t=[],n=[];if((e||[]).forEach((function(e){var t=e.map((function(e){return e.getHours()}));n=n.concat(u(t[0],t[1]))})),n.length)for(var i=0;i<24;i++)t[i]=-1===n.indexOf(i);else for(var r=0;r<24;r++)t[r]=!1;return t},t.getPrevMonthLastDays=function(e,t){if(t<=0)return[];var n=new Date(e.getTime());n.setDate(0);var i=n.getDate();return v(t).map((function(e,n){return i-(t-n-1)}))},t.getMonthDays=function(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0),n=t.getDate();return v(n).map((function(e,t){return t+1}))};function m(e,t,n,i){for(var r=t;r<n;r++)e[r]=i}t.getRangeMinutes=function(e,t){var n=new Array(60);return e.length>0?e.forEach((function(e){var i=e[0],r=e[1],o=i.getHours(),a=i.getMinutes(),s=r.getHours(),l=r.getMinutes();o===t&&s!==t?m(n,a,60,!0):o===t&&s===t?m(n,a,l+1,!0):o!==t&&s===t?m(n,0,l+1,!0):o<t&&s>t&&m(n,0,60,!0)})):m(n,0,60,!0),n};var v=t.range=function(e){return Array.apply(null,{length:e}).map((function(e,t){return t}))},y=t.modifyDate=function(e,t,n,i){return new Date(t,n,i,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())},b=t.modifyTime=function(e,t,n,i){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),t,n,i,e.getMilliseconds())},x=(t.modifyWithTimeString=function(e,t){return null!=e&&t?(t=f(t,"HH:mm:ss"),b(e,t.getHours(),t.getMinutes(),t.getSeconds())):e},t.clearTime=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())},t.clearMilliseconds=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),0)},t.limitTimeRange=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"HH:mm:ss";if(0===t.length)return e;var i=function(e){return r.default.parse(r.default.format(e,n),n)},o=i(e),a=t.map((function(e){return e.map(i)}));if(a.some((function(e){return o>=e[0]&&o<=e[1]})))return e;var s=a[0][0],l=a[0][0];a.forEach((function(e){s=new Date(Math.min(e[0],s)),l=new Date(Math.max(e[1],s))}));var u=o<s?s:l;return y(u,e.getFullYear(),e.getMonth(),e.getDate())}),_=(t.timeWithinRange=function(e,t,n){var i=x(e,t,n);return i.getTime()===e.getTime()},t.changeYearMonthAndClampDate=function(e,t,n){var i=Math.min(e.getDate(),p(t,n));return y(e,t,n,i)});t.prevMonth=function(e){var t=e.getFullYear(),n=e.getMonth();return 0===n?_(e,t-1,11):_(e,t,n-1)},t.nextMonth=function(e){var t=e.getFullYear(),n=e.getMonth();return 11===n?_(e,t+1,0):_(e,t,n+1)},t.prevYear=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.getFullYear(),i=e.getMonth();return _(e,n-t,i)},t.nextYear=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.getFullYear(),i=e.getMonth();return _(e,n+t,i)},t.extractDateFormat=function(e){return e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim()},t.extractTimeFormat=function(e){return e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g,"").trim()},t.validateRangeInOneMonth=function(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}},29992:function(e,t,n){"use strict";var i;n(57658),function(r){var o={},a=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,s="\\d\\d?",l="\\d{3}",u="\\d{4}",c="[^\\s]+",h=/\[([^]*?)\]/gm,d=function(){};function f(e){return e.replace(/[|\\{()[^$+*?.-]/g,"\\$&")}function p(e,t){for(var n=[],i=0,r=e.length;i<r;i++)n.push(e[i].substr(0,t));return n}function g(e){return function(t,n,i){var r=i[e].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~r&&(t.month=r)}}function m(e,t){e=String(e),t=t||2;while(e.length<t)e="0"+e;return e}var v=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],y=["January","February","March","April","May","June","July","August","September","October","November","December"],b=p(y,3),x=p(v,3);o.i18n={dayNamesShort:x,dayNames:v,monthNamesShort:b,monthNames:y,amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:(e-e%10!==10)*e%10]}};var _={D:function(e){return e.getDay()},DD:function(e){return m(e.getDay())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return e.getDate()},dd:function(e){return m(e.getDate())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return e.getMonth()+1},MM:function(e){return m(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},yy:function(e){return m(String(e.getFullYear()),4).substr(2)},yyyy:function(e){return m(e.getFullYear(),4)},h:function(e){return e.getHours()%12||12},hh:function(e){return m(e.getHours()%12||12)},H:function(e){return e.getHours()},HH:function(e){return m(e.getHours())},m:function(e){return e.getMinutes()},mm:function(e){return m(e.getMinutes())},s:function(e){return e.getSeconds()},ss:function(e){return m(e.getSeconds())},S:function(e){return Math.round(e.getMilliseconds()/100)},SS:function(e){return m(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return m(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return e.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+m(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)}},w={d:[s,function(e,t){e.day=t}],Do:[s+c,function(e,t){e.day=parseInt(t,10)}],M:[s,function(e,t){e.month=t-1}],yy:[s,function(e,t){var n=new Date,i=+(""+n.getFullYear()).substr(0,2);e.year=""+(t>68?i-1:i)+t}],h:[s,function(e,t){e.hour=t}],m:[s,function(e,t){e.minute=t}],s:[s,function(e,t){e.second=t}],yyyy:[u,function(e,t){e.year=t}],S:["\\d",function(e,t){e.millisecond=100*t}],SS:["\\d{2}",function(e,t){e.millisecond=10*t}],SSS:[l,function(e,t){e.millisecond=t}],D:[s,d],ddd:[c,d],MMM:[c,g("monthNamesShort")],MMMM:[c,g("monthNames")],a:[c,function(e,t,n){var i=t.toLowerCase();i===n.amPm[0]?e.isPm=!1:i===n.amPm[1]&&(e.isPm=!0)}],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",function(e,t){var n,i=(t+"").match(/([+-]|\d\d)/gi);i&&(n=60*i[1]+parseInt(i[2],10),e.timezoneOffset="+"===i[0]?n:-n)}]};w.dd=w.d,w.dddd=w.ddd,w.DD=w.D,w.mm=w.m,w.hh=w.H=w.HH=w.h,w.MM=w.M,w.ss=w.s,w.A=w.a,o.masks={default:"ddd MMM dd yyyy HH:mm:ss",shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},o.format=function(e,t,n){var i=n||o.i18n;if("number"===typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error("Invalid Date in fecha.format");t=o.masks[t]||t||o.masks["default"];var r=[];return t=t.replace(h,(function(e,t){return r.push(t),"@@@"})),t=t.replace(a,(function(t){return t in _?_[t](e,i):t.slice(1,t.length-1)})),t.replace(/@@@/g,(function(){return r.shift()}))},o.parse=function(e,t,n){var i=n||o.i18n;if("string"!==typeof t)throw new Error("Invalid format in fecha.parse");if(t=o.masks[t]||t,e.length>1e3)return null;var r={},s=[],l=[];t=t.replace(h,(function(e,t){return l.push(t),"@@@"}));var u=f(t).replace(a,(function(e){if(w[e]){var t=w[e];return s.push(t[1]),"("+t[0]+")"}return e}));u=u.replace(/@@@/g,(function(){return l.shift()}));var c=e.match(new RegExp(u,"i"));if(!c)return null;for(var d=1;d<c.length;d++)s[d-1](r,c[d],i);var p,g=new Date;return!0===r.isPm&&null!=r.hour&&12!==+r.hour?r.hour=+r.hour+12:!1===r.isPm&&12===+r.hour&&(r.hour=0),null!=r.timezoneOffset?(r.minute=+(r.minute||0)-+r.timezoneOffset,p=new Date(Date.UTC(r.year||g.getFullYear(),r.month||0,r.day||1,r.hour||0,r.minute||0,r.second||0,r.millisecond||0))):p=new Date(r.year||g.getFullYear(),r.month||0,r.day||1,r.hour||0,r.minute||0,r.second||0,r.millisecond||0),p},e.exports?e.exports=o:(i=function(){return o}.call(t,n,t,e),void 0===i||(e.exports=i))}()},53766:function(e,t,n){"use strict";t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.hasClass=g,t.addClass=m,t.removeClass=v,t.setStyle=b;var r=n(36369),o=a(r);function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.prototype.$isServer,l=/([\:\-\_]+(.))/g,u=/^moz([A-Z])/,c=s?0:Number(document.documentMode),h=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},d=function(e){return e.replace(l,(function(e,t,n,i){return i?n.toUpperCase():n})).replace(u,"Moz$1")},f=t.on=function(){return!s&&document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)}}(),p=t.off=function(){return!s&&document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!1)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)}}();t.once=function(e,t,n){var i=function i(){n&&n.apply(this,arguments),p(e,t,i)};f(e,t,i)};function g(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}function m(e,t){if(e){for(var n=e.className,i=(t||"").split(" "),r=0,o=i.length;r<o;r++){var a=i[r];a&&(e.classList?e.classList.add(a):g(e,a)||(n+=" "+a))}e.classList||e.setAttribute("class",n)}}function v(e,t){if(e&&t){for(var n=t.split(" "),i=" "+e.className+" ",r=0,o=n.length;r<o;r++){var a=n[r];a&&(e.classList?e.classList.remove(a):g(e,a)&&(i=i.replace(" "+a+" "," ")))}e.classList||e.setAttribute("class",h(i))}}var y=t.getStyle=c<9?function(e,t){if(!s){if(!e||!t)return null;t=d(t),"float"===t&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(n){return 1}default:return e.style[t]||e.currentStyle?e.currentStyle[t]:null}}catch(n){return e.style[t]}}}:function(e,t){if(!s){if(!e||!t)return null;t=d(t),"float"===t&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(i){return e.style[t]}}};function b(e,t,n){if(e&&t)if("object"===("undefined"===typeof t?"undefined":i(t)))for(var r in t)t.hasOwnProperty(r)&&b(e,r,t[r]);else t=d(t),"opacity"===t&&c<9?e.style.filter=isNaN(n)?"":"alpha(opacity="+100*n+")":e.style[t]=n}var x=t.isScroll=function(e,t){if(!s){var n=null!==t&&void 0!==t,i=y(e,n?t?"overflow-y":"overflow-x":"overflow");return i.match(/(scroll|auto|overlay)/)}};t.getScrollContainer=function(e,t){if(!s){var n=e;while(n){if([window,document,document.documentElement].includes(n))return window;if(x(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(s||!e||!t)return!1;var n=e.getBoundingClientRect(),i=void 0;return i=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.top<i.bottom&&n.bottom>i.top&&n.right>i.left&&n.left<i.right}},46128:function(e,t,n){"use strict";var i;e=n.nmd(e),n(57658);var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};
/**
* @license
* Lodash <https://lodash.com/>
* Copyright JS Foundation and other contributors <https://js.foundation/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){var o,a="4.17.10",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",f=1,p=2,g=4,m=1,v=2,y=1,b=2,x=4,_=8,w=16,C=32,S=64,k=128,M=256,T=512,E=30,D="...",P=800,O=16,I=1,A=2,L=3,N=1/0,R=9007199254740991,z=17976931348623157e292,$=NaN,B=4294967295,F=B-1,j=B>>>1,V=[["ary",k],["bind",y],["bindKey",b],["curry",_],["curryRight",w],["flip",T],["partial",C],["partialRight",S],["rearg",M]],H="[object Arguments]",W="[object Array]",G="[object AsyncFunction]",q="[object Boolean]",U="[object Date]",Y="[object DOMException]",X="[object Error]",Z="[object Function]",K="[object GeneratorFunction]",Q="[object Map]",J="[object Number]",ee="[object Null]",te="[object Object]",ne="[object Promise]",ie="[object Proxy]",re="[object RegExp]",oe="[object Set]",ae="[object String]",se="[object Symbol]",le="[object Undefined]",ue="[object WeakMap]",ce="[object WeakSet]",he="[object ArrayBuffer]",de="[object DataView]",fe="[object Float32Array]",pe="[object Float64Array]",ge="[object Int8Array]",me="[object Int16Array]",ve="[object Int32Array]",ye="[object Uint8Array]",be="[object Uint8ClampedArray]",xe="[object Uint16Array]",_e="[object Uint32Array]",we=/\b__p \+= '';/g,Ce=/\b(__p \+=) '' \+/g,Se=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ke=/&(?:amp|lt|gt|quot|#39);/g,Me=/[&<>"']/g,Te=RegExp(ke.source),Ee=RegExp(Me.source),De=/<%-([\s\S]+?)%>/g,Pe=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,Ie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ae=/^\w*$/,Le=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ne=/[\\^$.*+?()[\]{}|]/g,Re=RegExp(Ne.source),ze=/^\s+|\s+$/g,$e=/^\s+/,Be=/\s+$/,Fe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,je=/\{\n\/\* \[wrapped with (.+)\] \*/,Ve=/,? & /,He=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,We=/\\(\\)?/g,Ge=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qe=/\w*$/,Ue=/^[-+]0x[0-9a-f]+$/i,Ye=/^0b[01]+$/i,Xe=/^\[object .+?Constructor\]$/,Ze=/^0o[0-7]+$/i,Ke=/^(?:0|[1-9]\d*)$/,Qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=/($^)/,et=/['\n\r\u2028\u2029\\]/g,tt="\\ud800-\\udfff",nt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",rt="\\u20d0-\\u20ff",ot=nt+it+rt,at="\\u2700-\\u27bf",st="a-z\\xdf-\\xf6\\xf8-\\xff",lt="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ct="\\u2000-\\u206f",ht=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dt="A-Z\\xc0-\\xd6\\xd8-\\xde",ft="\\ufe0e\\ufe0f",pt=lt+ut+ct+ht,gt="[']",mt="["+tt+"]",vt="["+pt+"]",yt="["+ot+"]",bt="\\d+",xt="["+at+"]",_t="["+st+"]",wt="[^"+tt+pt+bt+at+st+dt+"]",Ct="\\ud83c[\\udffb-\\udfff]",St="(?:"+yt+"|"+Ct+")",kt="[^"+tt+"]",Mt="(?:\\ud83c[\\udde6-\\uddff]){2}",Tt="[\\ud800-\\udbff][\\udc00-\\udfff]",Et="["+dt+"]",Dt="\\u200d",Pt="(?:"+_t+"|"+wt+")",Ot="(?:"+Et+"|"+wt+")",It="(?:"+gt+"(?:d|ll|m|re|s|t|ve))?",At="(?:"+gt+"(?:D|LL|M|RE|S|T|VE))?",Lt=St+"?",Nt="["+ft+"]?",Rt="(?:"+Dt+"(?:"+[kt,Mt,Tt].join("|")+")"+Nt+Lt+")*",zt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$t="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Bt=Nt+Lt+Rt,Ft="(?:"+[xt,Mt,Tt].join("|")+")"+Bt,jt="(?:"+[kt+yt+"?",yt,Mt,Tt,mt].join("|")+")",Vt=RegExp(gt,"g"),Ht=RegExp(yt,"g"),Wt=RegExp(Ct+"(?="+Ct+")|"+jt+Bt,"g"),Gt=RegExp([Et+"?"+_t+"+"+It+"(?="+[vt,Et,"$"].join("|")+")",Ot+"+"+At+"(?="+[vt,Et+Pt,"$"].join("|")+")",Et+"?"+Pt+"+"+It,Et+"+"+At,$t,zt,bt,Ft].join("|"),"g"),qt=RegExp("["+Dt+tt+ot+ft+"]"),Ut=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Yt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xt=-1,Zt={};Zt[fe]=Zt[pe]=Zt[ge]=Zt[me]=Zt[ve]=Zt[ye]=Zt[be]=Zt[xe]=Zt[_e]=!0,Zt[H]=Zt[W]=Zt[he]=Zt[q]=Zt[de]=Zt[U]=Zt[X]=Zt[Z]=Zt[Q]=Zt[J]=Zt[te]=Zt[re]=Zt[oe]=Zt[ae]=Zt[ue]=!1;var Kt={};Kt[H]=Kt[W]=Kt[he]=Kt[de]=Kt[q]=Kt[U]=Kt[fe]=Kt[pe]=Kt[ge]=Kt[me]=Kt[ve]=Kt[Q]=Kt[J]=Kt[te]=Kt[re]=Kt[oe]=Kt[ae]=Kt[se]=Kt[ye]=Kt[be]=Kt[xe]=Kt[_e]=!0,Kt[X]=Kt[Z]=Kt[ue]=!1;var Qt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Jt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},en={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},tn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"===("undefined"===typeof n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,an="object"===("undefined"===typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,sn=on||an||Function("return this")(),ln="object"===r(t)&&t&&!t.nodeType&&t,un=ln&&"object"===r(e)&&e&&!e.nodeType&&e,cn=un&&un.exports===ln,hn=cn&&on.process,dn=function(){try{var e=un&&un.require&&un.require("util").types;return e||hn&&hn.binding&&hn.binding("util")}catch(t){}}(),fn=dn&&dn.isArrayBuffer,pn=dn&&dn.isDate,gn=dn&&dn.isMap,mn=dn&&dn.isRegExp,vn=dn&&dn.isSet,yn=dn&&dn.isTypedArray;function bn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function xn(e,t,n,i){var r=-1,o=null==e?0:e.length;while(++r<o){var a=e[r];t(i,a,n(a),e)}return i}function _n(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(!1===t(e[n],n,e))break;return e}function wn(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}function Cn(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(!t(e[n],n,e))return!1;return!0}function Sn(e,t){var n=-1,i=null==e?0:e.length,r=0,o=[];while(++n<i){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}function kn(e,t){var n=null==e?0:e.length;return!!n&&zn(e,t,0)>-1}function Mn(e,t,n){var i=-1,r=null==e?0:e.length;while(++i<r)if(n(t,e[i]))return!0;return!1}function Tn(e,t){var n=-1,i=null==e?0:e.length,r=Array(i);while(++n<i)r[n]=t(e[n],n,e);return r}function En(e,t){var n=-1,i=t.length,r=e.length;while(++n<i)e[r+n]=t[n];return e}function Dn(e,t,n,i){var r=-1,o=null==e?0:e.length;i&&o&&(n=e[++r]);while(++r<o)n=t(n,e[r],r,e);return n}function Pn(e,t,n,i){var r=null==e?0:e.length;i&&r&&(n=e[--r]);while(r--)n=t(n,e[r],r,e);return n}function On(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(t(e[n],n,e))return!0;return!1}var In=jn("length");function An(e){return e.split("")}function Ln(e){return e.match(He)||[]}function Nn(e,t,n){var i;return n(e,(function(e,n,r){if(t(e,n,r))return i=n,!1})),i}function Rn(e,t,n,i){var r=e.length,o=n+(i?1:-1);while(i?o--:++o<r)if(t(e[o],o,e))return o;return-1}function zn(e,t,n){return t===t?fi(e,t,n):Rn(e,Bn,n)}function $n(e,t,n,i){var r=n-1,o=e.length;while(++r<o)if(i(e[r],t))return r;return-1}function Bn(e){return e!==e}function Fn(e,t){var n=null==e?0:e.length;return n?Gn(e,t)/n:$}function jn(e){return function(t){return null==t?o:t[e]}}function Vn(e){return function(t){return null==e?o:e[t]}}function Hn(e,t,n,i,r){return r(e,(function(e,r,o){n=i?(i=!1,e):t(n,e,r,o)})),n}function Wn(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}function Gn(e,t){var n,i=-1,r=e.length;while(++i<r){var a=t(e[i]);a!==o&&(n=n===o?a:n+a)}return n}function qn(e,t){var n=-1,i=Array(e);while(++n<e)i[n]=t(n);return i}function Un(e,t){return Tn(t,(function(t){return[t,e[t]]}))}function Yn(e){return function(t){return e(t)}}function Xn(e,t){return Tn(t,(function(t){return e[t]}))}function Zn(e,t){return e.has(t)}function Kn(e,t){var n=-1,i=e.length;while(++n<i&&zn(t,e[n],0)>-1);return n}function Qn(e,t){var n=e.length;while(n--&&zn(t,e[n],0)>-1);return n}function Jn(e,t){var n=e.length,i=0;while(n--)e[n]===t&&++i;return i}var ei=Vn(Qt),ti=Vn(Jt);function ni(e){return"\\"+tn[e]}function ii(e,t){return null==e?o:e[t]}function ri(e){return qt.test(e)}function oi(e){return Ut.test(e)}function ai(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function si(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function li(e,t){return function(n){return e(t(n))}}function ui(e,t){var n=-1,i=e.length,r=0,o=[];while(++n<i){var a=e[n];a!==t&&a!==d||(e[n]=d,o[r++]=n)}return o}function ci(e,t){return"__proto__"==t?o:e[t]}function hi(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function di(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function fi(e,t,n){var i=n-1,r=e.length;while(++i<r)if(e[i]===t)return i;return-1}function pi(e,t,n){var i=n+1;while(i--)if(e[i]===t)return i;return i}function gi(e){return ri(e)?yi(e):In(e)}function mi(e){return ri(e)?bi(e):An(e)}var vi=Vn(en);function yi(e){var t=Wt.lastIndex=0;while(Wt.test(e))++t;return t}function bi(e){return e.match(Wt)||[]}function xi(e){return e.match(Gt)||[]}var _i=function e(t){t=null==t?sn:wi.defaults(sn.Object(),t,wi.pick(sn,Yt));var n=t.Array,i=t.Date,He=t.Error,tt=t.Function,nt=t.Math,it=t.Object,rt=t.RegExp,ot=t.String,at=t.TypeError,st=n.prototype,lt=tt.prototype,ut=it.prototype,ct=t["__core-js_shared__"],ht=lt.toString,dt=ut.hasOwnProperty,ft=0,pt=function(){var e=/[^.]+$/.exec(ct&&ct.keys&&ct.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),gt=ut.toString,mt=ht.call(it),vt=sn._,yt=rt("^"+ht.call(dt).replace(Ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=cn?t.Buffer:o,xt=t.Symbol,_t=t.Uint8Array,wt=bt?bt.allocUnsafe:o,Ct=li(it.getPrototypeOf,it),St=it.create,kt=ut.propertyIsEnumerable,Mt=st.splice,Tt=xt?xt.isConcatSpreadable:o,Et=xt?xt.iterator:o,Dt=xt?xt.toStringTag:o,Pt=function(){try{var e=Ua(it,"defineProperty");return e({},"",{}),e}catch(t){}}(),Ot=t.clearTimeout!==sn.clearTimeout&&t.clearTimeout,It=i&&i.now!==sn.Date.now&&i.now,At=t.setTimeout!==sn.setTimeout&&t.setTimeout,Lt=nt.ceil,Nt=nt.floor,Rt=it.getOwnPropertySymbols,zt=bt?bt.isBuffer:o,$t=t.isFinite,Bt=st.join,Ft=li(it.keys,it),jt=nt.max,Wt=nt.min,Gt=i.now,qt=t.parseInt,Ut=nt.random,Qt=st.reverse,Jt=Ua(t,"DataView"),en=Ua(t,"Map"),tn=Ua(t,"Promise"),on=Ua(t,"Set"),an=Ua(t,"WeakMap"),ln=Ua(it,"create"),un=an&&new an,hn={},dn=Os(Jt),In=Os(en),An=Os(tn),Vn=Os(on),fi=Os(an),yi=xt?xt.prototype:o,bi=yi?yi.valueOf:o,_i=yi?yi.toString:o;function Ci(e){if(Sc(e)&&!sc(e)&&!(e instanceof Ti)){if(e instanceof Mi)return e;if(dt.call(e,"__wrapped__"))return As(e)}return new Mi(e)}var Si=function(){function e(){}return function(t){if(!Cc(t))return{};if(St)return St(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function ki(){}function Mi(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Ti(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=B,this.__views__=[]}function Ei(){var e=new Ti(this.__wrapped__);return e.__actions__=ra(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ra(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ra(this.__views__),e}function Di(){if(this.__filtered__){var e=new Ti(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Pi(){var e=this.__wrapped__.value(),t=this.__dir__,n=sc(e),i=t<0,r=n?e.length:0,o=Qa(0,r,this.__views__),a=o.start,s=o.end,l=s-a,u=i?s:a-1,c=this.__iteratees__,h=c.length,d=0,f=Wt(l,this.__takeCount__);if(!n||!i&&r==l&&f==l)return Bo(e,this.__actions__);var p=[];e:while(l--&&d<f){u+=t;var g=-1,m=e[u];while(++g<h){var v=c[g],y=v.iteratee,b=v.type,x=y(m);if(b==A)m=x;else if(!x){if(b==I)continue e;break e}}p[d++]=m}return p}function Oi(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}function Ii(){this.__data__=ln?ln(null):{},this.size=0}function Ai(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Li(e){var t=this.__data__;if(ln){var n=t[e];return n===c?o:n}return dt.call(t,e)?t[e]:o}function Ni(e){var t=this.__data__;return ln?t[e]!==o:dt.call(t,e)}function Ri(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ln&&t===o?c:t,this}function zi(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}function $i(){this.__data__=[],this.size=0}function Bi(e){var t=this.__data__,n=cr(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():Mt.call(t,n,1),--this.size,!0}function Fi(e){var t=this.__data__,n=cr(t,e);return n<0?o:t[n][1]}function ji(e){return cr(this.__data__,e)>-1}function Vi(e,t){var n=this.__data__,i=cr(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}function Hi(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}function Wi(){this.size=0,this.__data__={hash:new Oi,map:new(en||zi),string:new Oi}}function Gi(e){var t=Ga(this,e)["delete"](e);return this.size-=t?1:0,t}function qi(e){return Ga(this,e).get(e)}function Ui(e){return Ga(this,e).has(e)}function Yi(e,t){var n=Ga(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}function Xi(e){var t=-1,n=null==e?0:e.length;this.__data__=new Hi;while(++t<n)this.add(e[t])}function Zi(e){return this.__data__.set(e,c),this}function Ki(e){return this.__data__.has(e)}function Qi(e){var t=this.__data__=new zi(e);this.size=t.size}function Ji(){this.__data__=new zi,this.size=0}function er(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}function tr(e){return this.__data__.get(e)}function nr(e){return this.__data__.has(e)}function ir(e,t){var n=this.__data__;if(n instanceof zi){var i=n.__data__;if(!en||i.length<s-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Hi(i)}return n.set(e,t),this.size=n.size,this}function rr(e,t){var n=sc(e),i=!n&&ac(e),r=!n&&!i&&dc(e),o=!n&&!i&&!r&&Bc(e),a=n||i||r||o,s=a?qn(e.length,ot):[],l=s.length;for(var u in e)!t&&!dt.call(e,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||as(u,l))||s.push(u);return s}function or(e){var t=e.length;return t?e[yo(0,t-1)]:o}function ar(e,t){return Es(ra(e),mr(t,0,e.length))}function sr(e){return Es(ra(e))}function lr(e,t,n){(n!==o&&!ic(e[t],n)||n===o&&!(t in e))&&pr(e,t,n)}function ur(e,t,n){var i=e[t];dt.call(e,t)&&ic(i,n)&&(n!==o||t in e)||pr(e,t,n)}function cr(e,t){var n=e.length;while(n--)if(ic(e[n][0],t))return n;return-1}function hr(e,t,n,i){return wr(e,(function(e,r,o){t(i,e,n(e),o)})),i}function dr(e,t){return e&&oa(t,_h(t),e)}function fr(e,t){return e&&oa(t,wh(t),e)}function pr(e,t,n){"__proto__"==t&&Pt?Pt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function gr(e,t){var i=-1,r=t.length,a=n(r),s=null==e;while(++i<r)a[i]=s?o:gh(e,t[i]);return a}function mr(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function vr(e,t,n,i,r,a){var s,l=t&f,u=t&p,c=t&g;if(n&&(s=r?n(e,i,r,a):n(e)),s!==o)return s;if(!Cc(e))return e;var h=sc(e);if(h){if(s=ts(e),!l)return ra(e,s)}else{var d=Ka(e),m=d==Z||d==K;if(dc(e))return Yo(e,l);if(d==te||d==H||m&&!r){if(s=u||m?{}:ns(e),!l)return u?sa(e,fr(s,e)):aa(e,dr(s,e))}else{if(!Kt[d])return r?e:{};s=is(e,d,l)}}a||(a=new Qi);var v=a.get(e);if(v)return v;if(a.set(e,s),Rc(e))return e.forEach((function(i){s.add(vr(i,t,n,i,e,a))})),s;if(kc(e))return e.forEach((function(i,r){s.set(r,vr(i,t,n,r,e,a))})),s;var y=c?u?Fa:Ba:u?wh:_h,b=h?o:y(e);return _n(b||e,(function(i,r){b&&(r=i,i=e[r]),ur(s,r,vr(i,t,n,r,e,a))})),s}function yr(e){var t=_h(e);return function(n){return br(n,e,t)}}function br(e,t,n){var i=n.length;if(null==e)return!i;e=it(e);while(i--){var r=n[i],a=t[r],s=e[r];if(s===o&&!(r in e)||!a(s))return!1}return!0}function xr(e,t,n){if("function"!==typeof e)throw new at(u);return Ss((function(){e.apply(o,n)}),t)}function _r(e,t,n,i){var r=-1,o=kn,a=!0,l=e.length,u=[],c=t.length;if(!l)return u;n&&(t=Tn(t,Yn(n))),i?(o=Mn,a=!1):t.length>=s&&(o=Zn,a=!1,t=new Xi(t));e:while(++r<l){var h=e[r],d=null==n?h:n(h);if(h=i||0!==h?h:0,a&&d===d){var f=c;while(f--)if(t[f]===d)continue e;u.push(h)}else o(t,d,i)||u.push(h)}return u}Ci.templateSettings={escape:De,evaluate:Pe,interpolate:Oe,variable:"",imports:{_:Ci}},Ci.prototype=ki.prototype,Ci.prototype.constructor=Ci,Mi.prototype=Si(ki.prototype),Mi.prototype.constructor=Mi,Ti.prototype=Si(ki.prototype),Ti.prototype.constructor=Ti,Oi.prototype.clear=Ii,Oi.prototype["delete"]=Ai,Oi.prototype.get=Li,Oi.prototype.has=Ni,Oi.prototype.set=Ri,zi.prototype.clear=$i,zi.prototype["delete"]=Bi,zi.prototype.get=Fi,zi.prototype.has=ji,zi.prototype.set=Vi,Hi.prototype.clear=Wi,Hi.prototype["delete"]=Gi,Hi.prototype.get=qi,Hi.prototype.has=Ui,Hi.prototype.set=Yi,Xi.prototype.add=Xi.prototype.push=Zi,Xi.prototype.has=Ki,Qi.prototype.clear=Ji,Qi.prototype["delete"]=er,Qi.prototype.get=tr,Qi.prototype.has=nr,Qi.prototype.set=ir;var wr=ca(Or),Cr=ca(Ir,!0);function Sr(e,t){var n=!0;return wr(e,(function(e,i,r){return n=!!t(e,i,r),n})),n}function kr(e,t,n){var i=-1,r=e.length;while(++i<r){var a=e[i],s=t(a);if(null!=s&&(l===o?s===s&&!$c(s):n(s,l)))var l=s,u=a}return u}function Mr(e,t,n,i){var r=e.length;n=Uc(n),n<0&&(n=-n>r?0:r+n),i=i===o||i>r?r:Uc(i),i<0&&(i+=r),i=n>i?0:Yc(i);while(n<i)e[n++]=t;return e}function Tr(e,t){var n=[];return wr(e,(function(e,i,r){t(e,i,r)&&n.push(e)})),n}function Er(e,t,n,i,r){var o=-1,a=e.length;n||(n=os),r||(r=[]);while(++o<a){var s=e[o];t>0&&n(s)?t>1?Er(s,t-1,n,i,r):En(r,s):i||(r[r.length]=s)}return r}var Dr=ha(),Pr=ha(!0);function Or(e,t){return e&&Dr(e,t,_h)}function Ir(e,t){return e&&Pr(e,t,_h)}function Ar(e,t){return Sn(t,(function(t){return xc(e[t])}))}function Lr(e,t){t=Wo(t,e);var n=0,i=t.length;while(null!=e&&n<i)e=e[Ps(t[n++])];return n&&n==i?e:o}function Nr(e,t,n){var i=t(e);return sc(e)?i:En(i,n(e))}function Rr(e){return null==e?e===o?le:ee:Dt&&Dt in it(e)?Ya(e):bs(e)}function zr(e,t){return e>t}function $r(e,t){return null!=e&&dt.call(e,t)}function Br(e,t){return null!=e&&t in it(e)}function Fr(e,t,n){return e>=Wt(t,n)&&e<jt(t,n)}function jr(e,t,i){var r=i?Mn:kn,a=e[0].length,s=e.length,l=s,u=n(s),c=1/0,h=[];while(l--){var d=e[l];l&&t&&(d=Tn(d,Yn(t))),c=Wt(d.length,c),u[l]=!i&&(t||a>=120&&d.length>=120)?new Xi(l&&d):o}d=e[0];var f=-1,p=u[0];e:while(++f<a&&h.length<c){var g=d[f],m=t?t(g):g;if(g=i||0!==g?g:0,!(p?Zn(p,m):r(h,m,i))){l=s;while(--l){var v=u[l];if(!(v?Zn(v,m):r(e[l],m,i)))continue e}p&&p.push(m),h.push(g)}}return h}function Vr(e,t,n,i){return Or(e,(function(e,r,o){t(i,n(e),r,o)})),i}function Hr(e,t,n){t=Wo(t,e),e=_s(e,t);var i=null==e?e:e[Ps(rl(t))];return null==i?o:bn(i,e,n)}function Wr(e){return Sc(e)&&Rr(e)==H}function Gr(e){return Sc(e)&&Rr(e)==he}function qr(e){return Sc(e)&&Rr(e)==U}function Ur(e,t,n,i,r){return e===t||(null==e||null==t||!Sc(e)&&!Sc(t)?e!==e&&t!==t:Yr(e,t,n,i,Ur,r))}function Yr(e,t,n,i,r,o){var a=sc(e),s=sc(t),l=a?W:Ka(e),u=s?W:Ka(t);l=l==H?te:l,u=u==H?te:u;var c=l==te,h=u==te,d=l==u;if(d&&dc(e)){if(!dc(t))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new Qi),a||Bc(e)?Na(e,t,n,i,r,o):Ra(e,t,l,n,i,r,o);if(!(n&m)){var f=c&&dt.call(e,"__wrapped__"),p=h&&dt.call(t,"__wrapped__");if(f||p){var g=f?e.value():e,v=p?t.value():t;return o||(o=new Qi),r(g,v,n,i,o)}}return!!d&&(o||(o=new Qi),za(e,t,n,i,r,o))}function Xr(e){return Sc(e)&&Ka(e)==Q}function Zr(e,t,n,i){var r=n.length,a=r,s=!i;if(null==e)return!a;e=it(e);while(r--){var l=n[r];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}while(++r<a){l=n[r];var u=l[0],c=e[u],h=l[1];if(s&&l[2]){if(c===o&&!(u in e))return!1}else{var d=new Qi;if(i)var f=i(c,h,u,e,t,d);if(!(f===o?Ur(h,c,m|v,i,d):f))return!1}}return!0}function Kr(e){if(!Cc(e)||hs(e))return!1;var t=xc(e)?yt:Xe;return t.test(Os(e))}function Qr(e){return Sc(e)&&Rr(e)==re}function Jr(e){return Sc(e)&&Ka(e)==oe}function eo(e){return Sc(e)&&wc(e.length)&&!!Zt[Rr(e)]}function to(e){return"function"===typeof e?e:null==e?Dd:"object"===("undefined"===typeof e?"undefined":r(e))?sc(e)?so(e[0],e[1]):ao(e):Vd(e)}function no(e){if(!fs(e))return Ft(e);var t=[];for(var n in it(e))dt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function io(e){if(!Cc(e))return ys(e);var t=fs(e),n=[];for(var i in e)("constructor"!=i||!t&&dt.call(e,i))&&n.push(i);return n}function ro(e,t){return e<t}function oo(e,t){var i=-1,r=uc(e)?n(e.length):[];return wr(e,(function(e,n,o){r[++i]=t(e,n,o)})),r}function ao(e){var t=qa(e);return 1==t.length&&t[0][2]?gs(t[0][0],t[0][1]):function(n){return n===e||Zr(n,e,t)}}function so(e,t){return ls(e)&&ps(t)?gs(Ps(e),t):function(n){var i=gh(n,e);return i===o&&i===t?vh(n,e):Ur(t,i,m|v)}}function lo(e,t,n,i,r){e!==t&&Dr(t,(function(a,s){if(Cc(a))r||(r=new Qi),uo(e,t,s,n,lo,i,r);else{var l=i?i(ci(e,s),a,s+"",e,t,r):o;l===o&&(l=a),lr(e,s,l)}}),wh)}function uo(e,t,n,i,r,a,s){var l=ci(e,n),u=ci(t,n),c=s.get(u);if(c)lr(e,n,c);else{var h=a?a(l,u,n+"",e,t,s):o,d=h===o;if(d){var f=sc(u),p=!f&&dc(u),g=!f&&!p&&Bc(u);h=u,f||p||g?sc(l)?h=l:cc(l)?h=ra(l):p?(d=!1,h=Yo(u,!0)):g?(d=!1,h=Jo(u,!0)):h=[]:Ac(u)||ac(u)?(h=l,ac(l)?h=Zc(l):(!Cc(l)||i&&xc(l))&&(h=ns(u))):d=!1}d&&(s.set(u,h),r(h,u,i,a,s),s["delete"](u)),lr(e,n,h)}}function co(e,t){var n=e.length;if(n)return t+=t<0?n:0,as(t,n)?e[t]:o}function ho(e,t,n){var i=-1;t=Tn(t.length?t:[Dd],Yn(Wa()));var r=oo(e,(function(e,n,r){var o=Tn(t,(function(t){return t(e)}));return{criteria:o,index:++i,value:e}}));return Wn(r,(function(e,t){return ta(e,t,n)}))}function fo(e,t){return po(e,t,(function(t,n){return vh(e,n)}))}function po(e,t,n){var i=-1,r=t.length,o={};while(++i<r){var a=t[i],s=Lr(e,a);n(s,a)&&So(o,Wo(a,e),s)}return o}function go(e){return function(t){return Lr(t,e)}}function mo(e,t,n,i){var r=i?$n:zn,o=-1,a=t.length,s=e;e===t&&(t=ra(t)),n&&(s=Tn(e,Yn(n)));while(++o<a){var l=0,u=t[o],c=n?n(u):u;while((l=r(s,c,l,i))>-1)s!==e&&Mt.call(s,l,1),Mt.call(e,l,1)}return e}function vo(e,t){var n=e?t.length:0,i=n-1;while(n--){var r=t[n];if(n==i||r!==o){var o=r;as(r)?Mt.call(e,r,1):Ro(e,r)}}return e}function yo(e,t){return e+Nt(Ut()*(t-e+1))}function bo(e,t,i,r){var o=-1,a=jt(Lt((t-e)/(i||1)),0),s=n(a);while(a--)s[r?a:++o]=e,e+=i;return s}function xo(e,t){var n="";if(!e||t<1||t>R)return n;do{t%2&&(n+=e),t=Nt(t/2),t&&(e+=e)}while(t);return n}function _o(e,t){return ks(xs(e,t,Dd),e+"")}function wo(e){return or(Fh(e))}function Co(e,t){var n=Fh(e);return Es(n,mr(t,0,n.length))}function So(e,t,n,i){if(!Cc(e))return e;t=Wo(t,e);var r=-1,a=t.length,s=a-1,l=e;while(null!=l&&++r<a){var u=Ps(t[r]),c=n;if(r!=s){var h=l[u];c=i?i(h,u,l):o,c===o&&(c=Cc(h)?h:as(t[r+1])?[]:{})}ur(l,u,c),l=l[u]}return e}var ko=un?function(e,t){return un.set(e,t),e}:Dd,Mo=Pt?function(e,t){return Pt(e,"toString",{configurable:!0,enumerable:!1,value:kd(t),writable:!0})}:Dd;function To(e){return Es(Fh(e))}function Eo(e,t,i){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),i=i>o?o:i,i<0&&(i+=o),o=t>i?0:i-t>>>0,t>>>=0;var a=n(o);while(++r<o)a[r]=e[r+t];return a}function Do(e,t){var n;return wr(e,(function(e,i,r){return n=t(e,i,r),!n})),!!n}function Po(e,t,n){var i=0,r=null==e?i:e.length;if("number"===typeof t&&t===t&&r<=j){while(i<r){var o=i+r>>>1,a=e[o];null!==a&&!$c(a)&&(n?a<=t:a<t)?i=o+1:r=o}return r}return Oo(e,t,Dd,n)}function Oo(e,t,n,i){t=n(t);var r=0,a=null==e?0:e.length,s=t!==t,l=null===t,u=$c(t),c=t===o;while(r<a){var h=Nt((r+a)/2),d=n(e[h]),f=d!==o,p=null===d,g=d===d,m=$c(d);if(s)var v=i||g;else v=c?g&&(i||f):l?g&&f&&(i||!p):u?g&&f&&!p&&(i||!m):!p&&!m&&(i?d<=t:d<t);v?r=h+1:a=h}return Wt(a,F)}function Io(e,t){var n=-1,i=e.length,r=0,o=[];while(++n<i){var a=e[n],s=t?t(a):a;if(!n||!ic(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function Ao(e){return"number"===typeof e?e:$c(e)?$:+e}function Lo(e){if("string"===typeof e)return e;if(sc(e))return Tn(e,Lo)+"";if($c(e))return _i?_i.call(e):"";var t=e+"";return"0"==t&&1/e==-N?"-0":t}function No(e,t,n){var i=-1,r=kn,o=e.length,a=!0,l=[],u=l;if(n)a=!1,r=Mn;else if(o>=s){var c=t?null:Da(e);if(c)return hi(c);a=!1,r=Zn,u=new Xi}else u=t?[]:l;e:while(++i<o){var h=e[i],d=t?t(h):h;if(h=n||0!==h?h:0,a&&d===d){var f=u.length;while(f--)if(u[f]===d)continue e;t&&u.push(d),l.push(h)}else r(u,d,n)||(u!==l&&u.push(d),l.push(h))}return l}function Ro(e,t){return t=Wo(t,e),e=_s(e,t),null==e||delete e[Ps(rl(t))]}function zo(e,t,n,i){return So(e,t,n(Lr(e,t)),i)}function $o(e,t,n,i){var r=e.length,o=i?r:-1;while((i?o--:++o<r)&&t(e[o],o,e));return n?Eo(e,i?0:o,i?o+1:r):Eo(e,i?o+1:0,i?r:o)}function Bo(e,t){var n=e;return n instanceof Ti&&(n=n.value()),Dn(t,(function(e,t){return t.func.apply(t.thisArg,En([e],t.args))}),n)}function Fo(e,t,i){var r=e.length;if(r<2)return r?No(e[0]):[];var o=-1,a=n(r);while(++o<r){var s=e[o],l=-1;while(++l<r)l!=o&&(a[o]=_r(a[o]||s,e[l],t,i))}return No(Er(a,1),t,i)}function jo(e,t,n){var i=-1,r=e.length,a=t.length,s={};while(++i<r){var l=i<a?t[i]:o;n(s,e[i],l)}return s}function Vo(e){return cc(e)?e:[]}function Ho(e){return"function"===typeof e?e:Dd}function Wo(e,t){return sc(e)?e:ls(e,t)?[e]:Ds(Qc(e))}var Go=_o;function qo(e,t,n){var i=e.length;return n=n===o?i:n,!t&&n>=i?e:Eo(e,t,n)}var Uo=Ot||function(e){return sn.clearTimeout(e)};function Yo(e,t){if(t)return e.slice();var n=e.length,i=wt?wt(n):new e.constructor(n);return e.copy(i),i}function Xo(e){var t=new e.constructor(e.byteLength);return new _t(t).set(new _t(e)),t}function Zo(e,t){var n=t?Xo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ko(e){var t=new e.constructor(e.source,qe.exec(e));return t.lastIndex=e.lastIndex,t}function Qo(e){return bi?it(bi.call(e)):{}}function Jo(e,t){var n=t?Xo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ea(e,t){if(e!==t){var n=e!==o,i=null===e,r=e===e,a=$c(e),s=t!==o,l=null===t,u=t===t,c=$c(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!r)return 1;if(!i&&!a&&!c&&e<t||c&&n&&r&&!i&&!a||l&&n&&r||!s&&r||!u)return-1}return 0}function ta(e,t,n){var i=-1,r=e.criteria,o=t.criteria,a=r.length,s=n.length;while(++i<a){var l=ea(r[i],o[i]);if(l){if(i>=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return e.index-t.index}function na(e,t,i,r){var o=-1,a=e.length,s=i.length,l=-1,u=t.length,c=jt(a-s,0),h=n(u+c),d=!r;while(++l<u)h[l]=t[l];while(++o<s)(d||o<a)&&(h[i[o]]=e[o]);while(c--)h[l++]=e[o++];return h}function ia(e,t,i,r){var o=-1,a=e.length,s=-1,l=i.length,u=-1,c=t.length,h=jt(a-l,0),d=n(h+c),f=!r;while(++o<h)d[o]=e[o];var p=o;while(++u<c)d[p+u]=t[u];while(++s<l)(f||o<a)&&(d[p+i[s]]=e[o++]);return d}function ra(e,t){var i=-1,r=e.length;t||(t=n(r));while(++i<r)t[i]=e[i];return t}function oa(e,t,n,i){var r=!n;n||(n={});var a=-1,s=t.length;while(++a<s){var l=t[a],u=i?i(n[l],e[l],l,n,e):o;u===o&&(u=e[l]),r?pr(n,l,u):ur(n,l,u)}return n}function aa(e,t){return oa(e,Xa(e),t)}function sa(e,t){return oa(e,Za(e),t)}function la(e,t){return function(n,i){var r=sc(n)?xn:hr,o=t?t():{};return r(n,e,Wa(i,2),o)}}function ua(e){return _o((function(t,n){var i=-1,r=n.length,a=r>1?n[r-1]:o,s=r>2?n[2]:o;a=e.length>3&&"function"===typeof a?(r--,a):o,s&&ss(n[0],n[1],s)&&(a=r<3?o:a,r=1),t=it(t);while(++i<r){var l=n[i];l&&e(t,l,i,a)}return t}))}function ca(e,t){return function(n,i){if(null==n)return n;if(!uc(n))return e(n,i);var r=n.length,o=t?r:-1,a=it(n);while(t?o--:++o<r)if(!1===i(a[o],o,a))break;return n}}function ha(e){return function(t,n,i){var r=-1,o=it(t),a=i(t),s=a.length;while(s--){var l=a[e?s:++r];if(!1===n(o[l],l,o))break}return t}}function da(e,t,n){var i=t&y,r=ga(e);function o(){var t=this&&this!==sn&&this instanceof o?r:e;return t.apply(i?n:this,arguments)}return o}function fa(e){return function(t){t=Qc(t);var n=ri(t)?mi(t):o,i=n?n[0]:t.charAt(0),r=n?qo(n,1).join(""):t.slice(1);return i[e]()+r}}function pa(e){return function(t){return Dn(xd(Uh(t).replace(Vt,"")),e,"")}}function ga(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Si(e.prototype),i=e.apply(n,t);return Cc(i)?i:n}}function ma(e,t,i){var r=ga(e);function a(){var s=arguments.length,l=n(s),u=s,c=Ha(a);while(u--)l[u]=arguments[u];var h=s<3&&l[0]!==c&&l[s-1]!==c?[]:ui(l,c);if(s-=h.length,s<i)return Ta(e,t,ba,a.placeholder,o,l,h,o,o,i-s);var d=this&&this!==sn&&this instanceof a?r:e;return bn(d,this,l)}return a}function va(e){return function(t,n,i){var r=it(t);if(!uc(t)){var a=Wa(n,3);t=_h(t),n=function(e){return a(r[e],e,r)}}var s=e(t,n,i);return s>-1?r[a?t[s]:s]:o}}function ya(e){return $a((function(t){var n=t.length,i=n,r=Mi.prototype.thru;e&&t.reverse();while(i--){var a=t[i];if("function"!==typeof a)throw new at(u);if(r&&!s&&"wrapper"==Va(a))var s=new Mi([],!0)}i=s?i:n;while(++i<n){a=t[i];var l=Va(a),c="wrapper"==l?ja(a):o;s=c&&cs(c[0])&&c[1]==(k|_|C|M)&&!c[4].length&&1==c[9]?s[Va(c[0])].apply(s,c[3]):1==a.length&&cs(a)?s[l]():s.thru(a)}return function(){var e=arguments,i=e[0];if(s&&1==e.length&&sc(i))return s.plant(i).value();var r=0,o=n?t[r].apply(this,e):i;while(++r<n)o=t[r].call(this,o);return o}}))}function ba(e,t,i,r,a,s,l,u,c,h){var d=t&k,f=t&y,p=t&b,g=t&(_|w),m=t&T,v=p?o:ga(e);function x(){var o=arguments.length,y=n(o),b=o;while(b--)y[b]=arguments[b];if(g)var _=Ha(x),w=Jn(y,_);if(r&&(y=na(y,r,a,g)),s&&(y=ia(y,s,l,g)),o-=w,g&&o<h){var C=ui(y,_);return Ta(e,t,ba,x.placeholder,i,y,C,u,c,h-o)}var S=f?i:this,k=p?S[e]:e;return o=y.length,u?y=ws(y,u):m&&o>1&&y.reverse(),d&&c<o&&(y.length=c),this&&this!==sn&&this instanceof x&&(k=v||ga(k)),k.apply(S,y)}return x}function xa(e,t){return function(n,i){return Vr(n,e,t(i),{})}}function _a(e,t){return function(n,i){var r;if(n===o&&i===o)return t;if(n!==o&&(r=n),i!==o){if(r===o)return i;"string"===typeof n||"string"===typeof i?(n=Lo(n),i=Lo(i)):(n=Ao(n),i=Ao(i)),r=e(n,i)}return r}}function wa(e){return $a((function(t){return t=Tn(t,Yn(Wa())),_o((function(n){var i=this;return e(t,(function(e){return bn(e,i,n)}))}))}))}function Ca(e,t){t=t===o?" ":Lo(t);var n=t.length;if(n<2)return n?xo(t,e):t;var i=xo(t,Lt(e/gi(t)));return ri(t)?qo(mi(i),0,e).join(""):i.slice(0,e)}function Sa(e,t,i,r){var o=t&y,a=ga(e);function s(){var t=-1,l=arguments.length,u=-1,c=r.length,h=n(c+l),d=this&&this!==sn&&this instanceof s?a:e;while(++u<c)h[u]=r[u];while(l--)h[u++]=arguments[++t];return bn(d,o?i:this,h)}return s}function ka(e){return function(t,n,i){return i&&"number"!==typeof i&&ss(t,n,i)&&(n=i=o),t=qc(t),n===o?(n=t,t=0):n=qc(n),i=i===o?t<n?1:-1:qc(i),bo(t,n,i,e)}}function Ma(e){return function(t,n){return"string"===typeof t&&"string"===typeof n||(t=Xc(t),n=Xc(n)),e(t,n)}}function Ta(e,t,n,i,r,a,s,l,u,c){var h=t&_,d=h?s:o,f=h?o:s,p=h?a:o,g=h?o:a;t|=h?C:S,t&=~(h?S:C),t&x||(t&=~(y|b));var m=[e,t,r,p,d,g,f,l,u,c],v=n.apply(o,m);return cs(e)&&Cs(v,m),v.placeholder=i,Ms(v,e,t)}function Ea(e){var t=nt[e];return function(e,n){if(e=Xc(e),n=null==n?0:Wt(Uc(n),292),n){var i=(Qc(e)+"e").split("e"),r=t(i[0]+"e"+(+i[1]+n));return i=(Qc(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return t(e)}}var Da=on&&1/hi(new on([,-0]))[1]==N?function(e){return new on(e)}:zd;function Pa(e){return function(t){var n=Ka(t);return n==Q?si(t):n==oe?di(t):Un(t,e(t))}}function Oa(e,t,n,i,r,a,s,l){var c=t&b;if(!c&&"function"!==typeof e)throw new at(u);var h=i?i.length:0;if(h||(t&=~(C|S),i=r=o),s=s===o?s:jt(Uc(s),0),l=l===o?l:Uc(l),h-=r?r.length:0,t&S){var d=i,f=r;i=r=o}var p=c?o:ja(e),g=[e,t,n,i,r,d,f,a,s,l];if(p&&vs(g,p),e=g[0],t=g[1],n=g[2],i=g[3],r=g[4],l=g[9]=g[9]===o?c?0:e.length:jt(g[9]-h,0),!l&&t&(_|w)&&(t&=~(_|w)),t&&t!=y)m=t==_||t==w?ma(e,t,l):t!=C&&t!=(y|C)||r.length?ba.apply(o,g):Sa(e,t,n,i);else var m=da(e,t,n);var v=p?ko:Cs;return Ms(v(m,g),e,t)}function Ia(e,t,n,i){return e===o||ic(e,ut[n])&&!dt.call(i,n)?t:e}function Aa(e,t,n,i,r,a){return Cc(e)&&Cc(t)&&(a.set(t,e),lo(e,t,o,Aa,a),a["delete"](t)),e}function La(e){return Ac(e)?o:e}function Na(e,t,n,i,r,a){var s=n&m,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var h=-1,d=!0,f=n&v?new Xi:o;a.set(e,t),a.set(t,e);while(++h<l){var p=e[h],g=t[h];if(i)var y=s?i(g,p,h,t,e,a):i(p,g,h,e,t,a);if(y!==o){if(y)continue;d=!1;break}if(f){if(!On(t,(function(e,t){if(!Zn(f,t)&&(p===e||r(p,e,n,i,a)))return f.push(t)}))){d=!1;break}}else if(p!==g&&!r(p,g,n,i,a)){d=!1;break}}return a["delete"](e),a["delete"](t),d}function Ra(e,t,n,i,r,o,a){switch(n){case de:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case he:return!(e.byteLength!=t.byteLength||!o(new _t(e),new _t(t)));case q:case U:case J:return ic(+e,+t);case X:return e.name==t.name&&e.message==t.message;case re:case ae:return e==t+"";case Q:var s=si;case oe:var l=i&m;if(s||(s=hi),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;i|=v,a.set(e,t);var c=Na(s(e),s(t),i,r,o,a);return a["delete"](e),c;case se:if(bi)return bi.call(e)==bi.call(t)}return!1}function za(e,t,n,i,r,a){var s=n&m,l=Ba(e),u=l.length,c=Ba(t),h=c.length;if(u!=h&&!s)return!1;var d=u;while(d--){var f=l[d];if(!(s?f in t:dt.call(t,f)))return!1}var p=a.get(e);if(p&&a.get(t))return p==t;var g=!0;a.set(e,t),a.set(t,e);var v=s;while(++d<u){f=l[d];var y=e[f],b=t[f];if(i)var x=s?i(b,y,f,t,e,a):i(y,b,f,e,t,a);if(!(x===o?y===b||r(y,b,n,i,a):x)){g=!1;break}v||(v="constructor"==f)}if(g&&!v){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"===typeof _&&_ instanceof _&&"function"===typeof w&&w instanceof w||(g=!1)}return a["delete"](e),a["delete"](t),g}function $a(e){return ks(xs(e,o,Us),e+"")}function Ba(e){return Nr(e,_h,Xa)}function Fa(e){return Nr(e,wh,Za)}var ja=un?function(e){return un.get(e)}:zd;function Va(e){var t=e.name+"",n=hn[t],i=dt.call(hn,t)?n.length:0;while(i--){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}function Ha(e){var t=dt.call(Ci,"placeholder")?Ci:e;return t.placeholder}function Wa(){var e=Ci.iteratee||Pd;return e=e===Pd?to:e,arguments.length?e(arguments[0],arguments[1]):e}function Ga(e,t){var n=e.__data__;return us(t)?n["string"===typeof t?"string":"hash"]:n.map}function qa(e){var t=_h(e),n=t.length;while(n--){var i=t[n],r=e[i];t[n]=[i,r,ps(r)]}return t}function Ua(e,t){var n=ii(e,t);return Kr(n)?n:o}function Ya(e){var t=dt.call(e,Dt),n=e[Dt];try{e[Dt]=o;var i=!0}catch(a){}var r=gt.call(e);return i&&(t?e[Dt]=n:delete e[Dt]),r}var Xa=Rt?function(e){return null==e?[]:(e=it(e),Sn(Rt(e),(function(t){return kt.call(e,t)})))}:qd,Za=Rt?function(e){var t=[];while(e)En(t,Xa(e)),e=Ct(e);return t}:qd,Ka=Rr;function Qa(e,t,n){var i=-1,r=n.length;while(++i<r){var o=n[i],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Wt(t,e+a);break;case"takeRight":e=jt(e,t-a);break}}return{start:e,end:t}}function Ja(e){var t=e.match(je);return t?t[1].split(Ve):[]}function es(e,t,n){t=Wo(t,e);var i=-1,r=t.length,o=!1;while(++i<r){var a=Ps(t[i]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++i!=r?o:(r=null==e?0:e.length,!!r&&wc(r)&&as(a,r)&&(sc(e)||ac(e)))}function ts(e){var t=e.length,n=new e.constructor(t);return t&&"string"===typeof e[0]&&dt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function ns(e){return"function"!==typeof e.constructor||fs(e)?{}:Si(Ct(e))}function is(e,t,n){var i=e.constructor;switch(t){case he:return Xo(e);case q:case U:return new i(+e);case de:return Zo(e,n);case fe:case pe:case ge:case me:case ve:case ye:case be:case xe:case _e:return Jo(e,n);case Q:return new i;case J:case ae:return new i(e);case re:return Ko(e);case oe:return new i;case se:return Qo(e)}}function rs(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(Fe,"{\n/* [wrapped with "+t+"] */\n")}function os(e){return sc(e)||ac(e)||!!(Tt&&e&&e[Tt])}function as(e,t){var n="undefined"===typeof e?"undefined":r(e);return t=null==t?R:t,!!t&&("number"==n||"symbol"!=n&&Ke.test(e))&&e>-1&&e%1==0&&e<t}function ss(e,t,n){if(!Cc(n))return!1;var i="undefined"===typeof t?"undefined":r(t);return!!("number"==i?uc(n)&&as(t,n.length):"string"==i&&t in n)&&ic(n[t],e)}function ls(e,t){if(sc(e))return!1;var n="undefined"===typeof e?"undefined":r(e);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!$c(e))||(Ae.test(e)||!Ie.test(e)||null!=t&&e in it(t))}function us(e){var t="undefined"===typeof e?"undefined":r(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function cs(e){var t=Va(e),n=Ci[t];if("function"!==typeof n||!(t in Ti.prototype))return!1;if(e===n)return!0;var i=ja(n);return!!i&&e===i[0]}function hs(e){return!!pt&&pt in e}(Jt&&Ka(new Jt(new ArrayBuffer(1)))!=de||en&&Ka(new en)!=Q||tn&&Ka(tn.resolve())!=ne||on&&Ka(new on)!=oe||an&&Ka(new an)!=ue)&&(Ka=function(e){var t=Rr(e),n=t==te?e.constructor:o,i=n?Os(n):"";if(i)switch(i){case dn:return de;case In:return Q;case An:return ne;case Vn:return oe;case fi:return ue}return t});var ds=ct?xc:Ud;function fs(e){var t=e&&e.constructor,n="function"===typeof t&&t.prototype||ut;return e===n}function ps(e){return e===e&&!Cc(e)}function gs(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in it(n)))}}function ms(e){var t=Bu(e,(function(e){return n.size===h&&n.clear(),e})),n=t.cache;return t}function vs(e,t){var n=e[1],i=t[1],r=n|i,o=r<(y|b|k),a=i==k&&n==_||i==k&&n==M&&e[7].length<=t[8]||i==(k|M)&&t[7].length<=t[8]&&n==_;if(!o&&!a)return e;i&y&&(e[2]=t[2],r|=n&y?0:x);var s=t[3];if(s){var l=e[3];e[3]=l?na(l,s,t[4]):s,e[4]=l?ui(e[3],d):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?ia(l,s,t[6]):s,e[6]=l?ui(e[5],d):t[6]),s=t[7],s&&(e[7]=s),i&k&&(e[8]=null==e[8]?t[8]:Wt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r,e}function ys(e){var t=[];if(null!=e)for(var n in it(e))t.push(n);return t}function bs(e){return gt.call(e)}function xs(e,t,i){return t=jt(t===o?e.length-1:t,0),function(){var r=arguments,o=-1,a=jt(r.length-t,0),s=n(a);while(++o<a)s[o]=r[t+o];o=-1;var l=n(t+1);while(++o<t)l[o]=r[o];return l[t]=i(s),bn(e,this,l)}}function _s(e,t){return t.length<2?e:Lr(e,Eo(t,0,-1))}function ws(e,t){var n=e.length,i=Wt(t.length,n),r=ra(e);while(i--){var a=t[i];e[i]=as(a,n)?r[a]:o}return e}var Cs=Ts(ko),Ss=At||function(e,t){return sn.setTimeout(e,t)},ks=Ts(Mo);function Ms(e,t,n){var i=t+"";return ks(e,rs(i,Is(Ja(i),n)))}function Ts(e){var t=0,n=0;return function(){var i=Gt(),r=O-(i-n);if(n=i,r>0){if(++t>=P)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Es(e,t){var n=-1,i=e.length,r=i-1;t=t===o?i:t;while(++n<t){var a=yo(n,r),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Ds=ms((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Le,(function(e,n,i,r){t.push(i?r.replace(We,"$1"):n||e)})),t}));function Ps(e){if("string"===typeof e||$c(e))return e;var t=e+"";return"0"==t&&1/e==-N?"-0":t}function Os(e){if(null!=e){try{return ht.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Is(e,t){return _n(V,(function(n){var i="_."+n[0];t&n[1]&&!kn(e,i)&&e.push(i)})),e.sort()}function As(e){if(e instanceof Ti)return e.clone();var t=new Mi(e.__wrapped__,e.__chain__);return t.__actions__=ra(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Ls(e,t,i){t=(i?ss(e,t,i):t===o)?1:jt(Uc(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];var a=0,s=0,l=n(Lt(r/t));while(a<r)l[s++]=Eo(e,a,a+=t);return l}function Ns(e){var t=-1,n=null==e?0:e.length,i=0,r=[];while(++t<n){var o=e[t];o&&(r[i++]=o)}return r}function Rs(){var e=arguments.length;if(!e)return[];var t=n(e-1),i=arguments[0],r=e;while(r--)t[r-1]=arguments[r];return En(sc(i)?ra(i):[i],Er(t,1))}var zs=_o((function(e,t){return cc(e)?_r(e,Er(t,1,cc,!0)):[]})),$s=_o((function(e,t){var n=rl(t);return cc(n)&&(n=o),cc(e)?_r(e,Er(t,1,cc,!0),Wa(n,2)):[]})),Bs=_o((function(e,t){var n=rl(t);return cc(n)&&(n=o),cc(e)?_r(e,Er(t,1,cc,!0),o,n):[]}));function Fs(e,t,n){var i=null==e?0:e.length;return i?(t=n||t===o?1:Uc(t),Eo(e,t<0?0:t,i)):[]}function js(e,t,n){var i=null==e?0:e.length;return i?(t=n||t===o?1:Uc(t),t=i-t,Eo(e,0,t<0?0:t)):[]}function Vs(e,t){return e&&e.length?$o(e,Wa(t,3),!0,!0):[]}function Hs(e,t){return e&&e.length?$o(e,Wa(t,3),!0):[]}function Ws(e,t,n,i){var r=null==e?0:e.length;return r?(n&&"number"!==typeof n&&ss(e,t,n)&&(n=0,i=r),Mr(e,t,n,i)):[]}function Gs(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Uc(n);return r<0&&(r=jt(i+r,0)),Rn(e,Wa(t,3),r)}function qs(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return n!==o&&(r=Uc(n),r=n<0?jt(i+r,0):Wt(r,i-1)),Rn(e,Wa(t,3),r,!0)}function Us(e){var t=null==e?0:e.length;return t?Er(e,1):[]}function Ys(e){var t=null==e?0:e.length;return t?Er(e,N):[]}function Xs(e,t){var n=null==e?0:e.length;return n?(t=t===o?1:Uc(t),Er(e,t)):[]}function Zs(e){var t=-1,n=null==e?0:e.length,i={};while(++t<n){var r=e[t];i[r[0]]=r[1]}return i}function Ks(e){return e&&e.length?e[0]:o}function Qs(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Uc(n);return r<0&&(r=jt(i+r,0)),zn(e,t,r)}function Js(e){var t=null==e?0:e.length;return t?Eo(e,0,-1):[]}var el=_o((function(e){var t=Tn(e,Vo);return t.length&&t[0]===e[0]?jr(t):[]})),tl=_o((function(e){var t=rl(e),n=Tn(e,Vo);return t===rl(n)?t=o:n.pop(),n.length&&n[0]===e[0]?jr(n,Wa(t,2)):[]})),nl=_o((function(e){var t=rl(e),n=Tn(e,Vo);return t="function"===typeof t?t:o,t&&n.pop(),n.length&&n[0]===e[0]?jr(n,o,t):[]}));function il(e,t){return null==e?"":Bt.call(e,t)}function rl(e){var t=null==e?0:e.length;return t?e[t-1]:o}function ol(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;return n!==o&&(r=Uc(n),r=r<0?jt(i+r,0):Wt(r,i-1)),t===t?pi(e,t,r):Rn(e,Bn,r,!0)}function al(e,t){return e&&e.length?co(e,Uc(t)):o}var sl=_o(ll);function ll(e,t){return e&&e.length&&t&&t.length?mo(e,t):e}function ul(e,t,n){return e&&e.length&&t&&t.length?mo(e,t,Wa(n,2)):e}function cl(e,t,n){return e&&e.length&&t&&t.length?mo(e,t,o,n):e}var hl=$a((function(e,t){var n=null==e?0:e.length,i=gr(e,t);return vo(e,Tn(t,(function(e){return as(e,n)?+e:e})).sort(ea)),i}));function dl(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],o=e.length;t=Wa(t,3);while(++i<o){var a=e[i];t(a,i,e)&&(n.push(a),r.push(i))}return vo(e,r),n}function fl(e){return null==e?e:Qt.call(e)}function pl(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!==typeof n&&ss(e,t,n)?(t=0,n=i):(t=null==t?0:Uc(t),n=n===o?i:Uc(n)),Eo(e,t,n)):[]}function gl(e,t){return Po(e,t)}function ml(e,t,n){return Oo(e,t,Wa(n,2))}function vl(e,t){var n=null==e?0:e.length;if(n){var i=Po(e,t);if(i<n&&ic(e[i],t))return i}return-1}function yl(e,t){return Po(e,t,!0)}function bl(e,t,n){return Oo(e,t,Wa(n,2),!0)}function xl(e,t){var n=null==e?0:e.length;if(n){var i=Po(e,t,!0)-1;if(ic(e[i],t))return i}return-1}function _l(e){return e&&e.length?Io(e):[]}function wl(e,t){return e&&e.length?Io(e,Wa(t,2)):[]}function Cl(e){var t=null==e?0:e.length;return t?Eo(e,1,t):[]}function Sl(e,t,n){return e&&e.length?(t=n||t===o?1:Uc(t),Eo(e,0,t<0?0:t)):[]}function kl(e,t,n){var i=null==e?0:e.length;return i?(t=n||t===o?1:Uc(t),t=i-t,Eo(e,t<0?0:t,i)):[]}function Ml(e,t){return e&&e.length?$o(e,Wa(t,3),!1,!0):[]}function Tl(e,t){return e&&e.length?$o(e,Wa(t,3)):[]}var El=_o((function(e){return No(Er(e,1,cc,!0))})),Dl=_o((function(e){var t=rl(e);return cc(t)&&(t=o),No(Er(e,1,cc,!0),Wa(t,2))})),Pl=_o((function(e){var t=rl(e);return t="function"===typeof t?t:o,No(Er(e,1,cc,!0),o,t)}));function Ol(e){return e&&e.length?No(e):[]}function Il(e,t){return e&&e.length?No(e,Wa(t,2)):[]}function Al(e,t){return t="function"===typeof t?t:o,e&&e.length?No(e,o,t):[]}function Ll(e){if(!e||!e.length)return[];var t=0;return e=Sn(e,(function(e){if(cc(e))return t=jt(e.length,t),!0})),qn(t,(function(t){return Tn(e,jn(t))}))}function Nl(e,t){if(!e||!e.length)return[];var n=Ll(e);return null==t?n:Tn(n,(function(e){return bn(t,o,e)}))}var Rl=_o((function(e,t){return cc(e)?_r(e,t):[]})),zl=_o((function(e){return Fo(Sn(e,cc))})),$l=_o((function(e){var t=rl(e);return cc(t)&&(t=o),Fo(Sn(e,cc),Wa(t,2))})),Bl=_o((function(e){var t=rl(e);return t="function"===typeof t?t:o,Fo(Sn(e,cc),o,t)})),Fl=_o(Ll);function jl(e,t){return jo(e||[],t||[],ur)}function Vl(e,t){return jo(e||[],t||[],So)}var Hl=_o((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"===typeof n?(e.pop(),n):o,Nl(e,n)}));function Wl(e){var t=Ci(e);return t.__chain__=!0,t}function Gl(e,t){return t(e),e}function ql(e,t){return t(e)}var Ul=$a((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return gr(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Ti&&as(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:ql,args:[r],thisArg:o}),new Mi(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(r)}));function Yl(){return Wl(this)}function Xl(){return new Mi(this.value(),this.__chain__)}function Zl(){this.__values__===o&&(this.__values__=Gc(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function Kl(){return this}function Ql(e){var t,n=this;while(n instanceof ki){var i=As(n);i.__index__=0,i.__values__=o,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t}function Jl(){var e=this.__wrapped__;if(e instanceof Ti){var t=e;return this.__actions__.length&&(t=new Ti(this)),t=t.reverse(),t.__actions__.push({func:ql,args:[fl],thisArg:o}),new Mi(t,this.__chain__)}return this.thru(fl)}function eu(){return Bo(this.__wrapped__,this.__actions__)}var tu=la((function(e,t,n){dt.call(e,n)?++e[n]:pr(e,n,1)}));function nu(e,t,n){var i=sc(e)?Cn:Sr;return n&&ss(e,t,n)&&(t=o),i(e,Wa(t,3))}function iu(e,t){var n=sc(e)?Sn:Tr;return n(e,Wa(t,3))}var ru=va(Gs),ou=va(qs);function au(e,t){return Er(gu(e,t),1)}function su(e,t){return Er(gu(e,t),N)}function lu(e,t,n){return n=n===o?1:Uc(n),Er(gu(e,t),n)}function uu(e,t){var n=sc(e)?_n:wr;return n(e,Wa(t,3))}function cu(e,t){var n=sc(e)?wn:Cr;return n(e,Wa(t,3))}var hu=la((function(e,t,n){dt.call(e,n)?e[n].push(t):pr(e,n,[t])}));function du(e,t,n,i){e=uc(e)?e:Fh(e),n=n&&!i?Uc(n):0;var r=e.length;return n<0&&(n=jt(r+n,0)),zc(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&zn(e,t,n)>-1}var fu=_o((function(e,t,i){var r=-1,o="function"===typeof t,a=uc(e)?n(e.length):[];return wr(e,(function(e){a[++r]=o?bn(t,e,i):Hr(e,t,i)})),a})),pu=la((function(e,t,n){pr(e,n,t)}));function gu(e,t){var n=sc(e)?Tn:oo;return n(e,Wa(t,3))}function mu(e,t,n,i){return null==e?[]:(sc(t)||(t=null==t?[]:[t]),n=i?o:n,sc(n)||(n=null==n?[]:[n]),ho(e,t,n))}var vu=la((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function yu(e,t,n){var i=sc(e)?Dn:Hn,r=arguments.length<3;return i(e,Wa(t,4),n,r,wr)}function bu(e,t,n){var i=sc(e)?Pn:Hn,r=arguments.length<3;return i(e,Wa(t,4),n,r,Cr)}function xu(e,t){var n=sc(e)?Sn:Tr;return n(e,Fu(Wa(t,3)))}function _u(e){var t=sc(e)?or:wo;return t(e)}function wu(e,t,n){t=(n?ss(e,t,n):t===o)?1:Uc(t);var i=sc(e)?ar:Co;return i(e,t)}function Cu(e){var t=sc(e)?sr:To;return t(e)}function Su(e){if(null==e)return 0;if(uc(e))return zc(e)?gi(e):e.length;var t=Ka(e);return t==Q||t==oe?e.size:no(e).length}function ku(e,t,n){var i=sc(e)?On:Do;return n&&ss(e,t,n)&&(t=o),i(e,Wa(t,3))}var Mu=_o((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ss(e,t[0],t[1])?t=[]:n>2&&ss(t[0],t[1],t[2])&&(t=[t[0]]),ho(e,Er(t,1),[])})),Tu=It||function(){return sn.Date.now()};function Eu(e,t){if("function"!==typeof t)throw new at(u);return e=Uc(e),function(){if(--e<1)return t.apply(this,arguments)}}function Du(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Oa(e,k,o,o,o,o,t)}function Pu(e,t){var n;if("function"!==typeof t)throw new at(u);return e=Uc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ou=_o((function(e,t,n){var i=y;if(n.length){var r=ui(n,Ha(Ou));i|=C}return Oa(e,i,t,n,r)})),Iu=_o((function(e,t,n){var i=y|b;if(n.length){var r=ui(n,Ha(Iu));i|=C}return Oa(t,i,e,n,r)}));function Au(e,t,n){t=n?o:t;var i=Oa(e,_,o,o,o,o,o,t);return i.placeholder=Au.placeholder,i}function Lu(e,t,n){t=n?o:t;var i=Oa(e,w,o,o,o,o,o,t);return i.placeholder=Lu.placeholder,i}function Nu(e,t,n){var i,r,a,s,l,c,h=0,d=!1,f=!1,p=!0;if("function"!==typeof e)throw new at(u);function g(t){var n=i,a=r;return i=r=o,h=t,s=e.apply(a,n),s}function m(e){return h=e,l=Ss(b,t),d?g(e):s}function v(e){var n=e-c,i=e-h,r=t-n;return f?Wt(r,a-i):r}function y(e){var n=e-c,i=e-h;return c===o||n>=t||n<0||f&&i>=a}function b(){var e=Tu();if(y(e))return x(e);l=Ss(b,v(e))}function x(e){return l=o,p&&i?g(e):(i=r=o,s)}function _(){l!==o&&Uo(l),h=0,i=c=r=l=o}function w(){return l===o?s:x(Tu())}function C(){var e=Tu(),n=y(e);if(i=arguments,r=this,c=e,n){if(l===o)return m(c);if(f)return l=Ss(b,t),g(c)}return l===o&&(l=Ss(b,t)),s}return t=Xc(t)||0,Cc(n)&&(d=!!n.leading,f="maxWait"in n,a=f?jt(Xc(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),C.cancel=_,C.flush=w,C}var Ru=_o((function(e,t){return xr(e,1,t)})),zu=_o((function(e,t,n){return xr(e,Xc(t)||0,n)}));function $u(e){return Oa(e,T)}function Bu(e,t){if("function"!==typeof e||null!=t&&"function"!==typeof t)throw new at(u);var n=function n(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Bu.Cache||Hi),n}function Fu(e){if("function"!==typeof e)throw new at(u);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function ju(e){return Pu(2,e)}Bu.Cache=Hi;var Vu=Go((function(e,t){t=1==t.length&&sc(t[0])?Tn(t[0],Yn(Wa())):Tn(Er(t,1),Yn(Wa()));var n=t.length;return _o((function(i){var r=-1,o=Wt(i.length,n);while(++r<o)i[r]=t[r].call(this,i[r]);return bn(e,this,i)}))})),Hu=_o((function(e,t){var n=ui(t,Ha(Hu));return Oa(e,C,o,t,n)})),Wu=_o((function(e,t){var n=ui(t,Ha(Wu));return Oa(e,S,o,t,n)})),Gu=$a((function(e,t){return Oa(e,M,o,o,o,t)}));function qu(e,t){if("function"!==typeof e)throw new at(u);return t=t===o?t:Uc(t),_o(e,t)}function Uu(e,t){if("function"!==typeof e)throw new at(u);return t=null==t?0:jt(Uc(t),0),_o((function(n){var i=n[t],r=qo(n,0,t);return i&&En(r,i),bn(e,this,r)}))}function Yu(e,t,n){var i=!0,r=!0;if("function"!==typeof e)throw new at(u);return Cc(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Nu(e,t,{leading:i,maxWait:t,trailing:r})}function Xu(e){return Du(e,1)}function Zu(e,t){return Hu(Ho(t),e)}function Ku(){if(!arguments.length)return[];var e=arguments[0];return sc(e)?e:[e]}function Qu(e){return vr(e,g)}function Ju(e,t){return t="function"===typeof t?t:o,vr(e,g,t)}function ec(e){return vr(e,f|g)}function tc(e,t){return t="function"===typeof t?t:o,vr(e,f|g,t)}function nc(e,t){return null==t||br(e,t,_h(t))}function ic(e,t){return e===t||e!==e&&t!==t}var rc=Ma(zr),oc=Ma((function(e,t){return e>=t})),ac=Wr(function(){return arguments}())?Wr:function(e){return Sc(e)&&dt.call(e,"callee")&&!kt.call(e,"callee")},sc=n.isArray,lc=fn?Yn(fn):Gr;function uc(e){return null!=e&&wc(e.length)&&!xc(e)}function cc(e){return Sc(e)&&uc(e)}function hc(e){return!0===e||!1===e||Sc(e)&&Rr(e)==q}var dc=zt||Ud,fc=pn?Yn(pn):qr;function pc(e){return Sc(e)&&1===e.nodeType&&!Ac(e)}function gc(e){if(null==e)return!0;if(uc(e)&&(sc(e)||"string"===typeof e||"function"===typeof e.splice||dc(e)||Bc(e)||ac(e)))return!e.length;var t=Ka(e);if(t==Q||t==oe)return!e.size;if(fs(e))return!no(e).length;for(var n in e)if(dt.call(e,n))return!1;return!0}function mc(e,t){return Ur(e,t)}function vc(e,t,n){n="function"===typeof n?n:o;var i=n?n(e,t):o;return i===o?Ur(e,t,o,n):!!i}function yc(e){if(!Sc(e))return!1;var t=Rr(e);return t==X||t==Y||"string"===typeof e.message&&"string"===typeof e.name&&!Ac(e)}function bc(e){return"number"===typeof e&&$t(e)}function xc(e){if(!Cc(e))return!1;var t=Rr(e);return t==Z||t==K||t==G||t==ie}function _c(e){return"number"===typeof e&&e==Uc(e)}function wc(e){return"number"===typeof e&&e>-1&&e%1==0&&e<=R}function Cc(e){var t="undefined"===typeof e?"undefined":r(e);return null!=e&&("object"==t||"function"==t)}function Sc(e){return null!=e&&"object"===("undefined"===typeof e?"undefined":r(e))}var kc=gn?Yn(gn):Xr;function Mc(e,t){return e===t||Zr(e,t,qa(t))}function Tc(e,t,n){return n="function"===typeof n?n:o,Zr(e,t,qa(t),n)}function Ec(e){return Ic(e)&&e!=+e}function Dc(e){if(ds(e))throw new He(l);return Kr(e)}function Pc(e){return null===e}function Oc(e){return null==e}function Ic(e){return"number"===typeof e||Sc(e)&&Rr(e)==J}function Ac(e){if(!Sc(e)||Rr(e)!=te)return!1;var t=Ct(e);if(null===t)return!0;var n=dt.call(t,"constructor")&&t.constructor;return"function"===typeof n&&n instanceof n&&ht.call(n)==mt}var Lc=mn?Yn(mn):Qr;function Nc(e){return _c(e)&&e>=-R&&e<=R}var Rc=vn?Yn(vn):Jr;function zc(e){return"string"===typeof e||!sc(e)&&Sc(e)&&Rr(e)==ae}function $c(e){return"symbol"===("undefined"===typeof e?"undefined":r(e))||Sc(e)&&Rr(e)==se}var Bc=yn?Yn(yn):eo;function Fc(e){return e===o}function jc(e){return Sc(e)&&Ka(e)==ue}function Vc(e){return Sc(e)&&Rr(e)==ce}var Hc=Ma(ro),Wc=Ma((function(e,t){return e<=t}));function Gc(e){if(!e)return[];if(uc(e))return zc(e)?mi(e):ra(e);if(Et&&e[Et])return ai(e[Et]());var t=Ka(e),n=t==Q?si:t==oe?hi:Fh;return n(e)}function qc(e){if(!e)return 0===e?e:0;if(e=Xc(e),e===N||e===-N){var t=e<0?-1:1;return t*z}return e===e?e:0}function Uc(e){var t=qc(e),n=t%1;return t===t?n?t-n:t:0}function Yc(e){return e?mr(Uc(e),0,B):0}function Xc(e){if("number"===typeof e)return e;if($c(e))return $;if(Cc(e)){var t="function"===typeof e.valueOf?e.valueOf():e;e=Cc(t)?t+"":t}if("string"!==typeof e)return 0===e?e:+e;e=e.replace(ze,"");var n=Ye.test(e);return n||Ze.test(e)?rn(e.slice(2),n?2:8):Ue.test(e)?$:+e}function Zc(e){return oa(e,wh(e))}function Kc(e){return e?mr(Uc(e),-R,R):0===e?e:0}function Qc(e){return null==e?"":Lo(e)}var Jc=ua((function(e,t){if(fs(t)||uc(t))oa(t,_h(t),e);else for(var n in t)dt.call(t,n)&&ur(e,n,t[n])})),eh=ua((function(e,t){oa(t,wh(t),e)})),th=ua((function(e,t,n,i){oa(t,wh(t),e,i)})),nh=ua((function(e,t,n,i){oa(t,_h(t),e,i)})),ih=$a(gr);function rh(e,t){var n=Si(e);return null==t?n:dr(n,t)}var oh=_o((function(e,t){e=it(e);var n=-1,i=t.length,r=i>2?t[2]:o;r&&ss(t[0],t[1],r)&&(i=1);while(++n<i){var a=t[n],s=wh(a),l=-1,u=s.length;while(++l<u){var c=s[l],h=e[c];(h===o||ic(h,ut[c])&&!dt.call(e,c))&&(e[c]=a[c])}}return e})),ah=_o((function(e){return e.push(o,Aa),bn(Mh,o,e)}));function sh(e,t){return Nn(e,Wa(t,3),Or)}function lh(e,t){return Nn(e,Wa(t,3),Ir)}function uh(e,t){return null==e?e:Dr(e,Wa(t,3),wh)}function ch(e,t){return null==e?e:Pr(e,Wa(t,3),wh)}function hh(e,t){return e&&Or(e,Wa(t,3))}function dh(e,t){return e&&Ir(e,Wa(t,3))}function fh(e){return null==e?[]:Ar(e,_h(e))}function ph(e){return null==e?[]:Ar(e,wh(e))}function gh(e,t,n){var i=null==e?o:Lr(e,t);return i===o?n:i}function mh(e,t){return null!=e&&es(e,t,$r)}function vh(e,t){return null!=e&&es(e,t,Br)}var yh=xa((function(e,t,n){null!=t&&"function"!==typeof t.toString&&(t=gt.call(t)),e[t]=n}),kd(Dd)),bh=xa((function(e,t,n){null!=t&&"function"!==typeof t.toString&&(t=gt.call(t)),dt.call(e,t)?e[t].push(n):e[t]=[n]}),Wa),xh=_o(Hr);function _h(e){return uc(e)?rr(e):no(e)}function wh(e){return uc(e)?rr(e,!0):io(e)}function Ch(e,t){var n={};return t=Wa(t,3),Or(e,(function(e,i,r){pr(n,t(e,i,r),e)})),n}function Sh(e,t){var n={};return t=Wa(t,3),Or(e,(function(e,i,r){pr(n,i,t(e,i,r))})),n}var kh=ua((function(e,t,n){lo(e,t,n)})),Mh=ua((function(e,t,n,i){lo(e,t,n,i)})),Th=$a((function(e,t){var n={};if(null==e)return n;var i=!1;t=Tn(t,(function(t){return t=Wo(t,e),i||(i=t.length>1),t})),oa(e,Fa(e),n),i&&(n=vr(n,f|p|g,La));var r=t.length;while(r--)Ro(n,t[r]);return n}));function Eh(e,t){return Ph(e,Fu(Wa(t)))}var Dh=$a((function(e,t){return null==e?{}:fo(e,t)}));function Ph(e,t){if(null==e)return{};var n=Tn(Fa(e),(function(e){return[e]}));return t=Wa(t),po(e,n,(function(e,n){return t(e,n[0])}))}function Oh(e,t,n){t=Wo(t,e);var i=-1,r=t.length;r||(r=1,e=o);while(++i<r){var a=null==e?o:e[Ps(t[i])];a===o&&(i=r,a=n),e=xc(a)?a.call(e):a}return e}function Ih(e,t,n){return null==e?e:So(e,t,n)}function Ah(e,t,n,i){return i="function"===typeof i?i:o,null==e?e:So(e,t,n,i)}var Lh=Pa(_h),Nh=Pa(wh);function Rh(e,t,n){var i=sc(e),r=i||dc(e)||Bc(e);if(t=Wa(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:Cc(e)&&xc(o)?Si(Ct(e)):{}}return(r?_n:Or)(e,(function(e,i,r){return t(n,e,i,r)})),n}function zh(e,t){return null==e||Ro(e,t)}function $h(e,t,n){return null==e?e:zo(e,t,Ho(n))}function Bh(e,t,n,i){return i="function"===typeof i?i:o,null==e?e:zo(e,t,Ho(n),i)}function Fh(e){return null==e?[]:Xn(e,_h(e))}function jh(e){return null==e?[]:Xn(e,wh(e))}function Vh(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=Xc(n),n=n===n?n:0),t!==o&&(t=Xc(t),t=t===t?t:0),mr(Xc(e),t,n)}function Hh(e,t,n){return t=qc(t),n===o?(n=t,t=0):n=qc(n),e=Xc(e),Fr(e,t,n)}function Wh(e,t,n){if(n&&"boolean"!==typeof n&&ss(e,t,n)&&(t=n=o),n===o&&("boolean"===typeof t?(n=t,t=o):"boolean"===typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=qc(e),t===o?(t=e,e=0):t=qc(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var r=Ut();return Wt(e+r*(t-e+nn("1e-"+((r+"").length-1))),t)}return yo(e,t)}var Gh=pa((function(e,t,n){return t=t.toLowerCase(),e+(n?qh(t):t)}));function qh(e){return bd(Qc(e).toLowerCase())}function Uh(e){return e=Qc(e),e&&e.replace(Qe,ei).replace(Ht,"")}function Yh(e,t,n){e=Qc(e),t=Lo(t);var i=e.length;n=n===o?i:mr(Uc(n),0,i);var r=n;return n-=t.length,n>=0&&e.slice(n,r)==t}function Xh(e){return e=Qc(e),e&&Ee.test(e)?e.replace(Me,ti):e}function Zh(e){return e=Qc(e),e&&Re.test(e)?e.replace(Ne,"\\$&"):e}var Kh=pa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Qh=pa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Jh=fa("toLowerCase");function ed(e,t,n){e=Qc(e),t=Uc(t);var i=t?gi(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return Ca(Nt(r),n)+e+Ca(Lt(r),n)}function td(e,t,n){e=Qc(e),t=Uc(t);var i=t?gi(e):0;return t&&i<t?e+Ca(t-i,n):e}function nd(e,t,n){e=Qc(e),t=Uc(t);var i=t?gi(e):0;return t&&i<t?Ca(t-i,n)+e:e}function id(e,t,n){return n||null==t?t=0:t&&(t=+t),qt(Qc(e).replace($e,""),t||0)}function rd(e,t,n){return t=(n?ss(e,t,n):t===o)?1:Uc(t),xo(Qc(e),t)}function od(){var e=arguments,t=Qc(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var ad=pa((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));function sd(e,t,n){return n&&"number"!==typeof n&&ss(e,t,n)&&(t=n=o),n=n===o?B:n>>>0,n?(e=Qc(e),e&&("string"===typeof t||null!=t&&!Lc(t))&&(t=Lo(t),!t&&ri(e))?qo(mi(e),0,n):e.split(t,n)):[]}var ld=pa((function(e,t,n){return e+(n?" ":"")+bd(t)}));function ud(e,t,n){return e=Qc(e),n=null==n?0:mr(Uc(n),0,e.length),t=Lo(t),e.slice(n,n+t.length)==t}function cd(e,t,n){var i=Ci.templateSettings;n&&ss(e,t,n)&&(t=o),e=Qc(e),t=th({},t,i,Ia);var r,a,s=th({},t.imports,i.imports,Ia),l=_h(s),u=Xn(s,l),c=0,h=t.interpolate||Je,d="__p += '",f=rt((t.escape||Je).source+"|"+h.source+"|"+(h===Oe?Ge:Je).source+"|"+(t.evaluate||Je).source+"|$","g"),p="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Xt+"]")+"\n";e.replace(f,(function(t,n,i,o,s,l){return i||(i=o),d+=e.slice(c,l).replace(et,ni),n&&(r=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var g=t.variable;g||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(we,""):d).replace(Ce,"$1").replace(Se,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=_d((function(){return tt(l,p+"return "+d).apply(o,u)}));if(m.source=d,yc(m))throw m;return m}function hd(e){return Qc(e).toLowerCase()}function dd(e){return Qc(e).toUpperCase()}function fd(e,t,n){if(e=Qc(e),e&&(n||t===o))return e.replace(ze,"");if(!e||!(t=Lo(t)))return e;var i=mi(e),r=mi(t),a=Kn(i,r),s=Qn(i,r)+1;return qo(i,a,s).join("")}function pd(e,t,n){if(e=Qc(e),e&&(n||t===o))return e.replace(Be,"");if(!e||!(t=Lo(t)))return e;var i=mi(e),r=Qn(i,mi(t))+1;return qo(i,0,r).join("")}function gd(e,t,n){if(e=Qc(e),e&&(n||t===o))return e.replace($e,"");if(!e||!(t=Lo(t)))return e;var i=mi(e),r=Kn(i,mi(t));return qo(i,r).join("")}function md(e,t){var n=E,i=D;if(Cc(t)){var r="separator"in t?t.separator:r;n="length"in t?Uc(t.length):n,i="omission"in t?Lo(t.omission):i}e=Qc(e);var a=e.length;if(ri(e)){var s=mi(e);a=s.length}if(n>=a)return e;var l=n-gi(i);if(l<1)return i;var u=s?qo(s,0,l).join(""):e.slice(0,l);if(r===o)return u+i;if(s&&(l+=u.length-l),Lc(r)){if(e.slice(l).search(r)){var c,h=u;r.global||(r=rt(r.source,Qc(qe.exec(r))+"g")),r.lastIndex=0;while(c=r.exec(h))var d=c.index;u=u.slice(0,d===o?l:d)}}else if(e.indexOf(Lo(r),l)!=l){var f=u.lastIndexOf(r);f>-1&&(u=u.slice(0,f))}return u+i}function vd(e){return e=Qc(e),e&&Te.test(e)?e.replace(ke,vi):e}var yd=pa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),bd=fa("toUpperCase");function xd(e,t,n){return e=Qc(e),t=n?o:t,t===o?oi(e)?xi(e):Ln(e):e.match(t)||[]}var _d=_o((function(e,t){try{return bn(e,o,t)}catch(n){return yc(n)?n:new He(n)}})),wd=$a((function(e,t){return _n(t,(function(t){t=Ps(t),pr(e,t,Ou(e[t],e))})),e}));function Cd(e){var t=null==e?0:e.length,n=Wa();return e=t?Tn(e,(function(e){if("function"!==typeof e[1])throw new at(u);return[n(e[0]),e[1]]})):[],_o((function(n){var i=-1;while(++i<t){var r=e[i];if(bn(r[0],this,n))return bn(r[1],this,n)}}))}function Sd(e){return yr(vr(e,f))}function kd(e){return function(){return e}}function Md(e,t){return null==e||e!==e?t:e}var Td=ya(),Ed=ya(!0);function Dd(e){return e}function Pd(e){return to("function"===typeof e?e:vr(e,f))}function Od(e){return ao(vr(e,f))}function Id(e,t){return so(e,vr(t,f))}var Ad=_o((function(e,t){return function(n){return Hr(n,e,t)}})),Ld=_o((function(e,t){return function(n){return Hr(e,n,t)}}));function Nd(e,t,n){var i=_h(t),r=Ar(t,i);null!=n||Cc(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=Ar(t,_h(t)));var o=!(Cc(n)&&"chain"in n)||!!n.chain,a=xc(e);return _n(r,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=ra(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,En([this.value()],arguments))})})),e}function Rd(){return sn._===this&&(sn._=vt),this}function zd(){}function $d(e){return e=Uc(e),_o((function(t){return co(t,e)}))}var Bd=wa(Tn),Fd=wa(Cn),jd=wa(On);function Vd(e){return ls(e)?jn(Ps(e)):go(e)}function Hd(e){return function(t){return null==e?o:Lr(e,t)}}var Wd=ka(),Gd=ka(!0);function qd(){return[]}function Ud(){return!1}function Yd(){return{}}function Xd(){return""}function Zd(){return!0}function Kd(e,t){if(e=Uc(e),e<1||e>R)return[];var n=B,i=Wt(e,B);t=Wa(t),e-=B;var r=qn(i,t);while(++n<e)t(n);return r}function Qd(e){return sc(e)?Tn(e,Ps):$c(e)?[e]:ra(Ds(Qc(e)))}function Jd(e){var t=++ft;return Qc(e)+t}var ef=_a((function(e,t){return e+t}),0),tf=Ea("ceil"),nf=_a((function(e,t){return e/t}),1),rf=Ea("floor");function of(e){return e&&e.length?kr(e,Dd,zr):o}function af(e,t){return e&&e.length?kr(e,Wa(t,2),zr):o}function sf(e){return Fn(e,Dd)}function lf(e,t){return Fn(e,Wa(t,2))}function uf(e){return e&&e.length?kr(e,Dd,ro):o}function cf(e,t){return e&&e.length?kr(e,Wa(t,2),ro):o}var hf=_a((function(e,t){return e*t}),1),df=Ea("round"),ff=_a((function(e,t){return e-t}),0);function pf(e){return e&&e.length?Gn(e,Dd):0}function gf(e,t){return e&&e.length?Gn(e,Wa(t,2)):0}return Ci.after=Eu,Ci.ary=Du,Ci.assign=Jc,Ci.assignIn=eh,Ci.assignInWith=th,Ci.assignWith=nh,Ci.at=ih,Ci.before=Pu,Ci.bind=Ou,Ci.bindAll=wd,Ci.bindKey=Iu,Ci.castArray=Ku,Ci.chain=Wl,Ci.chunk=Ls,Ci.compact=Ns,Ci.concat=Rs,Ci.cond=Cd,Ci.conforms=Sd,Ci.constant=kd,Ci.countBy=tu,Ci.create=rh,Ci.curry=Au,Ci.curryRight=Lu,Ci.debounce=Nu,Ci.defaults=oh,Ci.defaultsDeep=ah,Ci.defer=Ru,Ci.delay=zu,Ci.difference=zs,Ci.differenceBy=$s,Ci.differenceWith=Bs,Ci.drop=Fs,Ci.dropRight=js,Ci.dropRightWhile=Vs,Ci.dropWhile=Hs,Ci.fill=Ws,Ci.filter=iu,Ci.flatMap=au,Ci.flatMapDeep=su,Ci.flatMapDepth=lu,Ci.flatten=Us,Ci.flattenDeep=Ys,Ci.flattenDepth=Xs,Ci.flip=$u,Ci.flow=Td,Ci.flowRight=Ed,Ci.fromPairs=Zs,Ci.functions=fh,Ci.functionsIn=ph,Ci.groupBy=hu,Ci.initial=Js,Ci.intersection=el,Ci.intersectionBy=tl,Ci.intersectionWith=nl,Ci.invert=yh,Ci.invertBy=bh,Ci.invokeMap=fu,Ci.iteratee=Pd,Ci.keyBy=pu,Ci.keys=_h,Ci.keysIn=wh,Ci.map=gu,Ci.mapKeys=Ch,Ci.mapValues=Sh,Ci.matches=Od,Ci.matchesProperty=Id,Ci.memoize=Bu,Ci.merge=kh,Ci.mergeWith=Mh,Ci.method=Ad,Ci.methodOf=Ld,Ci.mixin=Nd,Ci.negate=Fu,Ci.nthArg=$d,Ci.omit=Th,Ci.omitBy=Eh,Ci.once=ju,Ci.orderBy=mu,Ci.over=Bd,Ci.overArgs=Vu,Ci.overEvery=Fd,Ci.overSome=jd,Ci.partial=Hu,Ci.partialRight=Wu,Ci.partition=vu,Ci.pick=Dh,Ci.pickBy=Ph,Ci.property=Vd,Ci.propertyOf=Hd,Ci.pull=sl,Ci.pullAll=ll,Ci.pullAllBy=ul,Ci.pullAllWith=cl,Ci.pullAt=hl,Ci.range=Wd,Ci.rangeRight=Gd,Ci.rearg=Gu,Ci.reject=xu,Ci.remove=dl,Ci.rest=qu,Ci.reverse=fl,Ci.sampleSize=wu,Ci.set=Ih,Ci.setWith=Ah,Ci.shuffle=Cu,Ci.slice=pl,Ci.sortBy=Mu,Ci.sortedUniq=_l,Ci.sortedUniqBy=wl,Ci.split=sd,Ci.spread=Uu,Ci.tail=Cl,Ci.take=Sl,Ci.takeRight=kl,Ci.takeRightWhile=Ml,Ci.takeWhile=Tl,Ci.tap=Gl,Ci.throttle=Yu,Ci.thru=ql,Ci.toArray=Gc,Ci.toPairs=Lh,Ci.toPairsIn=Nh,Ci.toPath=Qd,Ci.toPlainObject=Zc,Ci.transform=Rh,Ci.unary=Xu,Ci.union=El,Ci.unionBy=Dl,Ci.unionWith=Pl,Ci.uniq=Ol,Ci.uniqBy=Il,Ci.uniqWith=Al,Ci.unset=zh,Ci.unzip=Ll,Ci.unzipWith=Nl,Ci.update=$h,Ci.updateWith=Bh,Ci.values=Fh,Ci.valuesIn=jh,Ci.without=Rl,Ci.words=xd,Ci.wrap=Zu,Ci.xor=zl,Ci.xorBy=$l,Ci.xorWith=Bl,Ci.zip=Fl,Ci.zipObject=jl,Ci.zipObjectDeep=Vl,Ci.zipWith=Hl,Ci.entries=Lh,Ci.entriesIn=Nh,Ci.extend=eh,Ci.extendWith=th,Nd(Ci,Ci),Ci.add=ef,Ci.attempt=_d,Ci.camelCase=Gh,Ci.capitalize=qh,Ci.ceil=tf,Ci.clamp=Vh,Ci.clone=Qu,Ci.cloneDeep=ec,Ci.cloneDeepWith=tc,Ci.cloneWith=Ju,Ci.conformsTo=nc,Ci.deburr=Uh,Ci.defaultTo=Md,Ci.divide=nf,Ci.endsWith=Yh,Ci.eq=ic,Ci.escape=Xh,Ci.escapeRegExp=Zh,Ci.every=nu,Ci.find=ru,Ci.findIndex=Gs,Ci.findKey=sh,Ci.findLast=ou,Ci.findLastIndex=qs,Ci.findLastKey=lh,Ci.floor=rf,Ci.forEach=uu,Ci.forEachRight=cu,Ci.forIn=uh,Ci.forInRight=ch,Ci.forOwn=hh,Ci.forOwnRight=dh,Ci.get=gh,Ci.gt=rc,Ci.gte=oc,Ci.has=mh,Ci.hasIn=vh,Ci.head=Ks,Ci.identity=Dd,Ci.includes=du,Ci.indexOf=Qs,Ci.inRange=Hh,Ci.invoke=xh,Ci.isArguments=ac,Ci.isArray=sc,Ci.isArrayBuffer=lc,Ci.isArrayLike=uc,Ci.isArrayLikeObject=cc,Ci.isBoolean=hc,Ci.isBuffer=dc,Ci.isDate=fc,Ci.isElement=pc,Ci.isEmpty=gc,Ci.isEqual=mc,Ci.isEqualWith=vc,Ci.isError=yc,Ci.isFinite=bc,Ci.isFunction=xc,Ci.isInteger=_c,Ci.isLength=wc,Ci.isMap=kc,Ci.isMatch=Mc,Ci.isMatchWith=Tc,Ci.isNaN=Ec,Ci.isNative=Dc,Ci.isNil=Oc,Ci.isNull=Pc,Ci.isNumber=Ic,Ci.isObject=Cc,Ci.isObjectLike=Sc,Ci.isPlainObject=Ac,Ci.isRegExp=Lc,Ci.isSafeInteger=Nc,Ci.isSet=Rc,Ci.isString=zc,Ci.isSymbol=$c,Ci.isTypedArray=Bc,Ci.isUndefined=Fc,Ci.isWeakMap=jc,Ci.isWeakSet=Vc,Ci.join=il,Ci.kebabCase=Kh,Ci.last=rl,Ci.lastIndexOf=ol,Ci.lowerCase=Qh,Ci.lowerFirst=Jh,Ci.lt=Hc,Ci.lte=Wc,Ci.max=of,Ci.maxBy=af,Ci.mean=sf,Ci.meanBy=lf,Ci.min=uf,Ci.minBy=cf,Ci.stubArray=qd,Ci.stubFalse=Ud,Ci.stubObject=Yd,Ci.stubString=Xd,Ci.stubTrue=Zd,Ci.multiply=hf,Ci.nth=al,Ci.noConflict=Rd,Ci.noop=zd,Ci.now=Tu,Ci.pad=ed,Ci.padEnd=td,Ci.padStart=nd,Ci.parseInt=id,Ci.random=Wh,Ci.reduce=yu,Ci.reduceRight=bu,Ci.repeat=rd,Ci.replace=od,Ci.result=Oh,Ci.round=df,Ci.runInContext=e,Ci.sample=_u,Ci.size=Su,Ci.snakeCase=ad,Ci.some=ku,Ci.sortedIndex=gl,Ci.sortedIndexBy=ml,Ci.sortedIndexOf=vl,Ci.sortedLastIndex=yl,Ci.sortedLastIndexBy=bl,Ci.sortedLastIndexOf=xl,Ci.startCase=ld,Ci.startsWith=ud,Ci.subtract=ff,Ci.sum=pf,Ci.sumBy=gf,Ci.template=cd,Ci.times=Kd,Ci.toFinite=qc,Ci.toInteger=Uc,Ci.toLength=Yc,Ci.toLower=hd,Ci.toNumber=Xc,Ci.toSafeInteger=Kc,Ci.toString=Qc,Ci.toUpper=dd,Ci.trim=fd,Ci.trimEnd=pd,Ci.trimStart=gd,Ci.truncate=md,Ci.unescape=vd,Ci.uniqueId=Jd,Ci.upperCase=yd,Ci.upperFirst=bd,Ci.each=uu,Ci.eachRight=cu,Ci.first=Ks,Nd(Ci,function(){var e={};return Or(Ci,(function(t,n){dt.call(Ci.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Ci.VERSION=a,_n(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Ci[e].placeholder=Ci})),_n(["drop","take"],(function(e,t){Ti.prototype[e]=function(n){n=n===o?1:jt(Uc(n),0);var i=this.__filtered__&&!t?new Ti(this):this.clone();return i.__filtered__?i.__takeCount__=Wt(n,i.__takeCount__):i.__views__.push({size:Wt(n,B),type:e+(i.__dir__<0?"Right":"")}),i},Ti.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),_n(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=n==I||n==L;Ti.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Wa(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),_n(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Ti.prototype[e]=function(){return this[n](1).value()[0]}})),_n(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Ti.prototype[e]=function(){return this.__filtered__?new Ti(this):this[n](1)}})),Ti.prototype.compact=function(){return this.filter(Dd)},Ti.prototype.find=function(e){return this.filter(e).head()},Ti.prototype.findLast=function(e){return this.reverse().find(e)},Ti.prototype.invokeMap=_o((function(e,t){return"function"===typeof e?new Ti(this):this.map((function(n){return Hr(n,e,t)}))})),Ti.prototype.reject=function(e){return this.filter(Fu(Wa(e)))},Ti.prototype.slice=function(e,t){e=Uc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Ti(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=Uc(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Ti.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ti.prototype.toArray=function(){return this.take(B)},Or(Ti.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=Ci[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);r&&(Ci.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof Ti,u=s[0],c=l||sc(t),h=function(e){var t=r.apply(Ci,En([e],s));return i&&d?t[0]:t};c&&n&&"function"===typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,f=!!this.__actions__.length,p=a&&!d,g=l&&!f;if(!a&&c){t=g?t:new Ti(this);var m=e.apply(t,s);return m.__actions__.push({func:ql,args:[h],thisArg:o}),new Mi(m,d)}return p&&g?e.apply(this,s):(m=this.thru(h),p?i?m.value()[0]:m.value():m)})})),_n(["pop","push","shift","sort","splice","unshift"],(function(e){var t=st[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Ci.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(sc(r)?r:[],e)}return this[n]((function(n){return t.apply(sc(n)?n:[],e)}))}})),Or(Ti.prototype,(function(e,t){var n=Ci[t];if(n){var i=n.name+"",r=hn[i]||(hn[i]=[]);r.push({name:t,func:n})}})),hn[ba(o,b).name]=[{name:"wrapper",func:o}],Ti.prototype.clone=Ei,Ti.prototype.reverse=Di,Ti.prototype.value=Pi,Ci.prototype.at=Ul,Ci.prototype.chain=Yl,Ci.prototype.commit=Xl,Ci.prototype.next=Zl,Ci.prototype.plant=Ql,Ci.prototype.reverse=Jl,Ci.prototype.toJSON=Ci.prototype.valueOf=Ci.prototype.value=eu,Ci.prototype.first=Ci.prototype.head,Et&&(Ci.prototype[Et]=Kl),Ci},wi=_i();"object"===r(n.amdO)&&n.amdO?(sn._=wi,i=function(){return wi}.call(t,n,t,e),i===o||(e.exports=i)):un?((un.exports=wi)._=wi,ln._=wi):sn._=wi}).call(void 0)},47734:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){for(var t=1,n=arguments.length;t<n;t++){var i=arguments[t]||{};for(var r in i)if(i.hasOwnProperty(r)){var o=i[r];void 0!==o&&(e[r]=o)}}return e}},14556:function(e,t,n){"use strict";var i,r;"function"===typeof Symbol&&Symbol.iterator;(function(o,a){i=a,r="function"===typeof i?i.call(t,n,t,e):i,void 0===r||(e.exports=r)})(0,(function(){var e=window,t={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function n(e,n,i){this._reference=e.jquery?e[0]:e,this.state={};var r="undefined"===typeof n||null===n,o=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=r||o?this.parse(o?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},t,i),this._options.modifiers=this._options.modifiers.map(function(e){if(-1===this._options.modifiersIgnored.indexOf(e))return"applyStyle"===e&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[e]||e}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),h(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function i(t){var n=t.style.display,i=t.style.visibility;t.style.display="block",t.style.visibility="hidden";t.offsetWidth;var r=e.getComputedStyle(t),o=parseFloat(r.marginTop)+parseFloat(r.marginBottom),a=parseFloat(r.marginLeft)+parseFloat(r.marginRight),s={width:t.offsetWidth+a,height:t.offsetHeight+o};return t.style.display=n,t.style.visibility=i,s}function r(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function o(e){var t=Object.assign({},e);return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function a(e,t){var n,i=0;for(n in e){if(e[n]===t)return i;i++}return null}function s(t,n){var i=e.getComputedStyle(t,null);return i[n]}function l(t){var n=t.offsetParent;return n!==e.document.body&&n?n:e.document.documentElement}function u(t){var n=t.parentNode;return n?n===e.document?e.document.body.scrollTop||e.document.body.scrollLeft?e.document.body:e.document.documentElement:-1!==["scroll","auto"].indexOf(s(n,"overflow"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-x"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-y"))?n:u(t.parentNode):t}function c(t){return t!==e.document.body&&("fixed"===s(t,"position")||(t.parentNode?c(t.parentNode):t))}function h(e,t){function n(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}Object.keys(t).forEach((function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&n(t[i])&&(r="px"),e.style[i]=t[i]+r}))}function d(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function f(e){var t={width:e.offsetWidth,height:e.offsetHeight,left:e.offsetLeft,top:e.offsetTop};return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function p(e){var t=e.getBoundingClientRect(),n=-1!=navigator.userAgent.indexOf("MSIE"),i=n&&"HTML"===e.tagName?-e.scrollTop:t.top;return{left:t.left,top:i,right:t.right,bottom:t.bottom,width:t.right-t.left,height:t.bottom-i}}function g(e,t,n){var i=p(e),r=p(t);if(n){var o=u(t);r.top+=o.scrollTop,r.bottom+=o.scrollTop,r.left+=o.scrollLeft,r.right+=o.scrollLeft}var a={top:i.top-r.top,left:i.left-r.left,bottom:i.top-r.top+i.height,right:i.left-r.left+i.width,width:i.width,height:i.height};return a}function m(t){for(var n=["","ms","webkit","moz","o"],i=0;i<n.length;i++){var r=n[i]?n[i]+t.charAt(0).toUpperCase()+t.slice(1):t;if("undefined"!==typeof e.document.body.style[r])return r}return null}return n.prototype.destroy=function(){return this._popper.removeAttribute("x-placement"),this._popper.style.left="",this._popper.style.position="",this._popper.style.top="",this._popper.style[m("transform")]="",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this},n.prototype.update=function(){var e={instance:this,styles:{}};e.placement=this._options.placement,e._originalPlacement=this._options.placement,e.offsets=this._getOffsets(this._popper,this._reference,e.placement),e.boundaries=this._getBoundaries(e,this._options.boundariesPadding,this._options.boundariesElement),e=this.runModifiers(e,this._options.modifiers),"function"===typeof this.state.updateCallback&&this.state.updateCallback(e)},n.prototype.onCreate=function(e){return e(this),this},n.prototype.onUpdate=function(e){return this.state.updateCallback=e,this},n.prototype.parse=function(t){var n={tagName:"div",classNames:["popper"],attributes:[],parent:e.document.body,content:"",contentType:"text",arrowTagName:"div",arrowClassNames:["popper__arrow"],arrowAttributes:["x-arrow"]};t=Object.assign({},n,t);var i=e.document,r=i.createElement(t.tagName);if(s(r,t.classNames),l(r,t.attributes),"node"===t.contentType?r.appendChild(t.content.jquery?t.content[0]:t.content):"html"===t.contentType?r.innerHTML=t.content:r.textContent=t.content,t.arrowTagName){var o=i.createElement(t.arrowTagName);s(o,t.arrowClassNames),l(o,t.arrowAttributes),r.appendChild(o)}var a=t.parent.jquery?t.parent[0]:t.parent;if("string"===typeof a){if(a=i.querySelectorAll(t.parent),a.length>1&&console.warn("WARNING: the given `parent` query("+t.parent+") matched more than one element, the first one will be used"),0===a.length)throw"ERROR: the given `parent` doesn't exists!";a=a[0]}return a.length>1&&a instanceof Element===!1&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),a=a[0]),a.appendChild(r),r;function s(e,t){t.forEach((function(t){e.classList.add(t)}))}function l(e,t){t.forEach((function(t){e.setAttribute(t.split(":")[0],t.split(":")[1]||"")}))}},n.prototype._getPosition=function(e,t){var n=l(t);if(this._options.forceAbsolute)return"absolute";var i=c(t,n);return i?"fixed":"absolute"},n.prototype._getOffsets=function(e,t,n){n=n.split("-")[0];var r={};r.position=this.state.position;var o="fixed"===r.position,a=g(t,l(e),o),s=i(e);return-1!==["right","left"].indexOf(n)?(r.top=a.top+a.height/2-s.height/2,r.left="left"===n?a.left-s.width:a.right):(r.left=a.left+a.width/2-s.width/2,r.top="top"===n?a.top-s.height:a.bottom),r.width=s.width,r.height=s.height,{popper:r,reference:a}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),e.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var t=u(this._reference);t!==e.document.body&&t!==e.document.documentElement||(t=e),t.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=t}},n.prototype._removeEventListeners=function(){e.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(t,n,i){var r,o,a={};if("window"===i){var s=e.document.body,c=e.document.documentElement;o=Math.max(s.scrollHeight,s.offsetHeight,c.clientHeight,c.scrollHeight,c.offsetHeight),r=Math.max(s.scrollWidth,s.offsetWidth,c.clientWidth,c.scrollWidth,c.offsetWidth),a={top:0,right:r,bottom:o,left:0}}else if("viewport"===i){var h=l(this._popper),d=u(this._popper),p=f(h),g=function(e){return e==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},m=function(e){return e==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):e.scrollLeft},v="fixed"===t.offsets.popper.position?0:g(d),y="fixed"===t.offsets.popper.position?0:m(d);a={top:0-(p.top-v),right:e.document.documentElement.clientWidth-(p.left-y),bottom:e.document.documentElement.clientHeight-(p.top-v),left:0-(p.left-y)}}else a=l(this._popper)===i?{top:0,left:0,right:i.clientWidth,bottom:i.clientHeight}:f(i);return a.left+=n,a.right-=n,a.top=a.top+n,a.bottom=a.bottom-n,a},n.prototype.runModifiers=function(e,t,n){var i=t.slice();return void 0!==n&&(i=this._options.modifiers.slice(0,a(this._options.modifiers,n))),i.forEach(function(t){d(t)&&(e=t.call(this,e))}.bind(this)),e},n.prototype.isModifierRequired=function(e,t){var n=a(this._options.modifiers,e);return!!this._options.modifiers.slice(0,n).filter((function(e){return e===t})).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(e){var t,n={position:e.offsets.popper.position},i=Math.round(e.offsets.popper.left),r=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration&&(t=m("transform"))?(n[t]="translate3d("+i+"px, "+r+"px, 0)",n.top=0,n.left=0):(n.left=i,n.top=r),Object.assign(n,e.styles),h(this._popper,n),this._popper.setAttribute("x-placement",e.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&e.offsets.arrow&&h(e.arrowElement,e.offsets.arrow),e},n.prototype.modifiers.shift=function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets.reference,a=o(e.offsets.popper),s={y:{start:{top:r.top},end:{top:r.top+r.height-a.height}},x:{start:{left:r.left},end:{left:r.left+r.width-a.width}}},l=-1!==["bottom","top"].indexOf(n)?"x":"y";e.offsets.popper=Object.assign(a,s[l][i])}return e},n.prototype.modifiers.preventOverflow=function(e){var t=this._options.preventOverflowOrder,n=o(e.offsets.popper),i={left:function(){var t=n.left;return n.left<e.boundaries.left&&(t=Math.max(n.left,e.boundaries.left)),{left:t}},right:function(){var t=n.left;return n.right>e.boundaries.right&&(t=Math.min(n.left,e.boundaries.right-n.width)),{left:t}},top:function(){var t=n.top;return n.top<e.boundaries.top&&(t=Math.max(n.top,e.boundaries.top)),{top:t}},bottom:function(){var t=n.top;return n.bottom>e.boundaries.bottom&&(t=Math.min(n.top,e.boundaries.bottom-n.height)),{top:t}}};return t.forEach((function(t){e.offsets.popper=Object.assign(n,i[t]())})),e},n.prototype.modifiers.keepTogether=function(e){var t=o(e.offsets.popper),n=e.offsets.reference,i=Math.floor;return t.right<i(n.left)&&(e.offsets.popper.left=i(n.left)-t.width),t.left>i(n.right)&&(e.offsets.popper.left=i(n.right)),t.bottom<i(n.top)&&(e.offsets.popper.top=i(n.top)-t.height),t.top>i(n.bottom)&&(e.offsets.popper.top=i(n.bottom)),e},n.prototype.modifiers.flip=function(e){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),e;if(e.flipped&&e.placement===e._originalPlacement)return e;var t=e.placement.split("-")[0],n=r(t),i=e.placement.split("-")[1]||"",a=[];return a="flip"===this._options.flipBehavior?[t,n]:this._options.flipBehavior,a.forEach(function(s,l){if(t===s&&a.length!==l+1){t=e.placement.split("-")[0],n=r(t);var u=o(e.offsets.popper),c=-1!==["right","bottom"].indexOf(t);(c&&Math.floor(e.offsets.reference[t])>Math.floor(u[n])||!c&&Math.floor(e.offsets.reference[t])<Math.floor(u[n]))&&(e.flipped=!0,e.placement=a[l+1],i&&(e.placement+="-"+i),e.offsets.popper=this._getOffsets(this._popper,this._reference,e.placement).popper,e=this.runModifiers(e,this._options.modifiers,this._flip))}}.bind(this)),e},n.prototype.modifiers.offset=function(e){var t=this._options.offset,n=e.offsets.popper;return-1!==e.placement.indexOf("left")?n.top-=t:-1!==e.placement.indexOf("right")?n.top+=t:-1!==e.placement.indexOf("top")?n.left-=t:-1!==e.placement.indexOf("bottom")&&(n.left+=t),e},n.prototype.modifiers.arrow=function(e){var t=this._options.arrowElement,n=this._options.arrowOffset;if("string"===typeof t&&(t=this._popper.querySelector(t)),!t)return e;if(!this._popper.contains(t))return console.warn("WARNING: `arrowElement` must be child of its popper element!"),e;if(!this.isModifierRequired(this.modifiers.arrow,this.modifiers.keepTogether))return console.warn("WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!"),e;var r={},a=e.placement.split("-")[0],s=o(e.offsets.popper),l=e.offsets.reference,u=-1!==["left","right"].indexOf(a),c=u?"height":"width",h=u?"top":"left",d=u?"left":"top",f=u?"bottom":"right",p=i(t)[c];l[f]-p<s[h]&&(e.offsets.popper[h]-=s[h]-(l[f]-p)),l[h]+p>s[f]&&(e.offsets.popper[h]+=l[h]+p-s[f]);var g=l[h]+(n||l[c]/2-p/2),m=g-s[h];return m=Math.max(Math.min(s[c]-p-8,m),8),r[h]=m,r[d]="",e.offsets.arrow=r,e.arrowElement=t,e},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(void 0!==i&&null!==i){i=Object(i);for(var r=Object.keys(i),o=0,a=r.length;o<a;o++){var s=r[o],l=Object.getOwnPropertyDescriptor(i,s);void 0!==l&&l.enumerable&&(t[s]=i[s])}}}return t}}),n}))},63630:function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=void 0;var i=n(36369),r=d(i),o=n(47734),a=d(o),s=n(18084),l=d(s),u=n(48667),c=d(u),h=n(53766);function d(e){return e&&e.__esModule?e:{default:e}}var f=1,p=void 0;t["default"]={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+f++,l.default.register(this._popupId,this)},beforeDestroy:function(){l.default.deregister(this._popupId),l.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,r.default.nextTick((function(){t.open()})))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var n=(0,a.default)({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var i=Number(n.openDelay);i>0?this._openTimer=setTimeout((function(){t._openTimer=null,t.doOpen(n)}),i):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,i=e.zIndex;if(i&&(l.default.zIndex=i),n&&(this._closing&&(l.default.closeModal(this._popupId),this._closing=!1),l.default.openModal(this._popupId,l.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,h.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,h.getStyle)(document.body,"paddingRight"),10)),p=(0,c.default)();var r=document.documentElement.clientHeight<document.body.scrollHeight,o=(0,h.getStyle)(document.body,"overflowY");p>0&&(r||"scroll"===o)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+p+"px"),(0,h.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=l.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout((function(){e._closeTimer=null,e.doClose()}),t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){l.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,h.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=l.default},18084:function(e,t,n){"use strict";n(57658),t.__esModule=!0;var i=n(36369),r=a(i),o=n(53766);function a(e){return e&&e.__esModule?e:{default:e}}var s=!1,l=!1,u=void 0,c=function(){if(!r.default.prototype.$isServer){var e=d.modalDom;return e?s=!0:(s=!1,e=document.createElement("div"),d.modalDom=e,e.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation()})),e.addEventListener("click",(function(){d.doOnModalClick&&d.doOnModalClick()}))),e}},h={},d={modalFade:!0,getInstance:function(e){return h[e]},register:function(e,t){e&&t&&(h[e]=t)},deregister:function(e){e&&(h[e]=null,delete h[e])},nextZIndex:function(){return d.zIndex++},modalStack:[],doOnModalClick:function(){var e=d.modalStack[d.modalStack.length-1];if(e){var t=d.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,i,a){if(!r.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=a;for(var l=this.modalStack,u=0,h=l.length;u<h;u++){var d=l[u];if(d.id===e)return}var f=c();if((0,o.addClass)(f,"v-modal"),this.modalFade&&!s&&(0,o.addClass)(f,"v-modal-enter"),i){var p=i.trim().split(/\s+/);p.forEach((function(e){return(0,o.addClass)(f,e)}))}setTimeout((function(){(0,o.removeClass)(f,"v-modal-enter")}),200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(f):document.body.appendChild(f),t&&(f.style.zIndex=t),f.tabIndex=0,f.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:i})}},closeModal:function(e){var t=this.modalStack,n=c();if(t.length>0){var i=t[t.length-1];if(i.id===e){if(i.modalClass){var r=i.modalClass.trim().split(/\s+/);r.forEach((function(e){return(0,o.removeClass)(n,e)}))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var a=t.length-1;a>=0;a--)if(t[a].id===e){t.splice(a,1);break}}0===t.length&&(this.modalFade&&(0,o.addClass)(n,"v-modal-leave"),setTimeout((function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",d.modalDom=void 0),(0,o.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(d,"zIndex",{configurable:!0,get:function(){return l||(u=u||(r.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),u},set:function(e){u=e}});var f=function(){if(!r.default.prototype.$isServer&&d.modalStack.length>0){var e=d.modalStack[d.modalStack.length-1];if(!e)return;var t=d.getInstance(e.id);return t}};r.default.prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.keyCode){var t=f();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}})),t["default"]=d},62740:function(e,t,n){"use strict";n(57658),t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var i=n(70566),r=a(i),o=n(9070);function a(e){return e&&e.__esModule?e:{default:e}}var s="undefined"===typeof window,l=function(e){var t=e,n=Array.isArray(t),i=0;for(t=n?t:t[Symbol.iterator]();;){var r;if(n){if(i>=t.length)break;r=t[i++]}else{if(i=t.next(),i.done)break;r=i.value}var o=r,a=o.target.__resizeListeners__||[];a.length&&a.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new r.default((0,o.debounce)(16,l)),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},4510:function(e,t,n){"use strict";n(57658),t.__esModule=!0,t["default"]=a;var i=n(36369),r=o(i);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!r.default.prototype.$isServer)if(t){var n=[],i=t.offsetParent;while(i&&e!==i&&e.contains(i))n.push(i),i=i.offsetParent;var o=t.offsetTop+n.reduce((function(e,t){return e+t.offsetTop}),0),a=o+t.offsetHeight,s=e.scrollTop,l=s+e.clientHeight;o<s?e.scrollTop=o:a>l&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},48667:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){if(r.default.prototype.$isServer)return 0;if(void 0!==a)return a;var e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var i=n.offsetWidth;return e.parentNode.removeChild(e),a=t-i,a};var i=n(36369),r=o(i);function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0},96927:function(e,t){"use strict";function n(e){return void 0!==e&&null!==e}function i(e){var t=/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi;return t.test(e)}t.__esModule=!0,t.isDef=n,t.isKorean=i},31639:function(e,t,n){"use strict";n(1439),n(87585),n(55315),t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isString=s,t.isObject=l,t.isHtmlElement=u;var r=n(36369),o=a(r);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return"[object String]"===Object.prototype.toString.call(e)}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return e&&e.nodeType===Node.ELEMENT_NODE}var c=function(e){var t={};return e&&"[object Function]"===t.toString.call(e)};"object"===("undefined"===typeof Int8Array?"undefined":i(Int8Array))||!o.default.prototype.$isServer&&"function"===typeof document.childNodes||(t.isFunction=c=function(e){return"function"===typeof e||!1}),t.isFunction=c;t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return void 0!==e&&null!==e}},45402:function(e,t,n){"use strict";t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=c,t.toObject=d,t.getPropByPath=f,t.rafThrottle=y,t.objToArray=b;var r=n(36369),o=s(r),a=n(31639);function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function h(e,t){for(var n in t)e[n]=t[n];return e}function d(e){for(var t={},n=0;n<e.length;n++)e[n]&&h(t,e[n]);return t}t.getValueByPath=function(e,t){t=t||"";for(var n=t.split("."),i=e,r=null,o=0,a=n.length;o<a;o++){var s=n[o];if(!i)break;if(o===a-1){r=i[s];break}i=i[s]}return r};function f(e,t,n){var i=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var r=t.split("."),o=0,a=r.length;o<a-1;++o){if(!i&&!n)break;var s=r[o];if(!(s in i)){if(n)throw new Error("please transfer a valid prop path to form item!");break}i=i[s]}return{o:i,k:r[o],v:i?i[r[o]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var p=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},g=(t.arrayFind=function(e,t){var n=p(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":i(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var i=e[t];t&&i&&n.forEach((function(n){e[n+t]=i}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),i=(0,a.isObject)(t);return n&&i?JSON.stringify(e)===JSON.stringify(t):!n&&!i&&String(e)===String(t)}),m=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!g(e[n],t[n]))return!1;return!0},v=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?m(e,t):g(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function y(e){var t=!1;return function(){for(var n=this,i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];t||(t=!0,window.requestAnimationFrame((function(i){e.apply(n,r),t=!1})))}}function b(e){return Array.isArray(e)?e:v(e)?[]:[e]}t.isMac=function(){return!o.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},31937:function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isVNode=o;var r=n(45402);function o(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":i(e))&&(0,r.hasOwn)(e,"componentOptions")}},54857:function(e,t,n){"use strict";t.__esModule=!0;var i=n(36369),r=a(i),o=n(63630);function a(e){return e&&e.__esModule?e:{default:e}}var s=r.default.prototype.$isServer?function(){}:n(14556),l=function(e){return e.stopPropagation()};t["default"]={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(e){this.showPopper=e,this.$emit("input",e)}},showPopper:function(e){this.disabled||(e?this.updatePopper():this.destroyPopper(),this.$emit("input",e))}},methods:{createPopper:function(){var e=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var t=this.popperOptions,n=this.popperElm=this.popperElm||this.popper||this.$refs.popper,i=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!i&&this.$slots.reference&&this.$slots.reference[0]&&(i=this.referenceElm=this.$slots.reference[0].elm),n&&i&&(this.visibleArrow&&this.appendArrow(n),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),t.placement=this.currentPlacement,t.offset=this.offset,t.arrowOffset=this.arrowOffset,this.popperJS=new s(i,n,t),this.popperJS.onCreate((function(t){e.$emit("created",e),e.resetTransformOrigin(),e.$nextTick(e.updatePopper)})),"function"===typeof t.onUpdate&&this.popperJS.onUpdate(t.onUpdate),this.popperJS._popper.style.zIndex=o.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",l))}},updatePopper:function(){var e=this.popperJS;e?(e.update(),e._popper&&(e._popper.style.zIndex=o.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(e){!this.popperJS||this.showPopper&&!e||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(this.transformOrigin){var e={top:"bottom",bottom:"top",left:"right",right:"left"},t=this.popperJS._popper.getAttribute("x-placement").split("-")[0],n=e[t];this.popperJS._popper.style.transformOrigin="string"===typeof this.transformOrigin?this.transformOrigin:["top","bottom"].indexOf(t)>-1?"center "+n:n+" center"}},appendArrow:function(e){var t=void 0;if(!this.appended){for(var n in this.appended=!0,e.attributes)if(/^_v-/.test(e.attributes[n].name)){t=e.attributes[n].name;break}var i=document.createElement("div");t&&i.setAttribute(t,""),i.setAttribute("x-arrow",""),i.className="popper__arrow",e.appendChild(i)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",l),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},85847:function(e,t,n){"use strict";n(57658);var i="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";e.exports=function(e){var t=this;if("function"!==typeof t||o.call(t)!==a)throw new TypeError(i+t);for(var n,s=r.call(arguments,1),l=function(){if(this instanceof n){var i=t.apply(this,s.concat(r.call(arguments)));return Object(i)===i?i:this}return t.apply(e,s.concat(r.call(arguments)))},u=Math.max(0,t.length-s.length),c=[],h=0;h<u;h++)c.push("$"+h);if(n=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(l),t.prototype){var d=function(){};d.prototype=t.prototype,n.prototype=new d,d.prototype=null}return n}},49148:function(e,t,n){"use strict";var i=n(85847);e.exports=Function.prototype.bind||i},8692:function(e,t,n){"use strict";var i;n(1439),n(87585),n(55315);var r=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(O){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(t){return u}}}():u,h=n(82763)(),d=n(27182)(),f=Object.getPrototypeOf||(d?function(e){return e.__proto__}:null),p={},g="undefined"!==typeof Uint8Array&&f?f(Uint8Array):i,m={"%AggregateError%":"undefined"===typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":h&&f?f([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"===typeof Atomics?i:Atomics,"%BigInt%":"undefined"===typeof BigInt?i:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?i:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"===typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&f?f(f([][Symbol.iterator]())):i,"%JSON%":"object"===typeof JSON?JSON:i,"%Map%":"undefined"===typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&h&&f?f((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?i:Promise,"%Proxy%":"undefined"===typeof Proxy?i:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&h&&f?f((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&f?f(""[Symbol.iterator]()):i,"%Symbol%":h?Symbol:i,"%SyntaxError%":r,"%ThrowTypeError%":c,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?i:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?i:WeakSet};if(f)try{null.error}catch(O){var v=f(f(O));m["%Error.prototype%"]=v}var y=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&f&&(n=f(r.prototype))}return m[t]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=n(49148),_=n(5769),w=x.call(Function.call,Array.prototype.concat),C=x.call(Function.apply,Array.prototype.splice),S=x.call(Function.call,String.prototype.replace),k=x.call(Function.call,String.prototype.slice),M=x.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,D=function(e){var t=k(e,0,1),n=k(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return S(e,T,(function(e,t,n,r){i[i.length]=n?S(r,E,"$1"):t||e})),i},P=function(e,t){var n,i=e;if(_(b,i)&&(n=b[i],i="%"+n[0]+"%"),_(m,i)){var o=m[i];if(o===p&&(o=y(i)),"undefined"===typeof o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:o}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===M(/^%?[^%]*%?$/,e))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=D(e),i=n.length>0?n[0]:"",o=P("%"+i+"%",t),s=o.name,u=o.value,c=!1,h=o.alias;h&&(i=h[0],C(n,w([0,1],h)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],g=k(p,0,1),v=k(p,-1);if(('"'===g||"'"===g||"`"===g||'"'===v||"'"===v||"`"===v)&&g!==v)throw new r("property names with quotes must have matching quotes");if("constructor"!==p&&f||(c=!0),i+="."+p,s="%"+i+"%",_(m,s))u=m[s];else if(null!=u){if(!(p in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&d+1>=n.length){var y=l(u,p);f=!!y,u=f&&"get"in y&&!("originalValue"in y.get)?y.get:u[p]}else f=_(u,p),u=u[p];f&&!c&&(m[s]=u)}}return u}},27182:function(e){"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},82763:function(e,t,n){"use strict";var i="undefined"!==typeof Symbol&&Symbol,r=n(33994);e.exports=function(){return"function"===typeof i&&("function"===typeof Symbol&&("symbol"===typeof i("foo")&&("symbol"===typeof Symbol("bar")&&r())))}},33994:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var i=42;for(t in e[t]=i,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==i||!0!==o.enumerable)return!1}return!0}},5769:function(e,t,n){"use strict";var i=n(49148);e.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},70172:function(e,t,n){e.exports=n(10572)},10572:function(e,t,n){var i,r,o;n(57658),function(){var n,a,s,l,u,c,h,d,f,p,g,m,v,y,b;s=Math.floor,p=Math.min,a=function(e,t){return e<t?-1:e>t?1:0},f=function(e,t,n,i,r){var o;if(null==n&&(n=0),null==r&&(r=a),n<0)throw new Error("lo must be non-negative");null==i&&(i=e.length);while(n<i)o=s((n+i)/2),r(t,e[o])<0?i=o:n=o+1;return[].splice.apply(e,[n,n-n].concat(t)),t},c=function(e,t,n){return null==n&&(n=a),e.push(t),y(e,0,e.length-1,n)},u=function(e,t){var n,i;return null==t&&(t=a),n=e.pop(),e.length?(i=e[0],e[0]=n,b(e,0,t)):i=n,i},d=function(e,t,n){var i;return null==n&&(n=a),i=e[0],e[0]=t,b(e,0,n),i},h=function(e,t,n){var i;return null==n&&(n=a),e.length&&n(e[0],t)<0&&(i=[e[0],t],t=i[0],e[0]=i[1],b(e,0,n)),t},l=function(e,t){var n,i,r,o,l,u;for(null==t&&(t=a),o=function(){u=[];for(var t=0,n=s(e.length/2);0<=n?t<n:t>n;0<=n?t++:t--)u.push(t);return u}.apply(this).reverse(),l=[],i=0,r=o.length;i<r;i++)n=o[i],l.push(b(e,n,t));return l},v=function(e,t,n){var i;if(null==n&&(n=a),i=e.indexOf(t),-1!==i)return y(e,0,i,n),b(e,i,n)},g=function(e,t,n){var i,r,o,s,u;if(null==n&&(n=a),r=e.slice(0,t),!r.length)return r;for(l(r,n),u=e.slice(t),o=0,s=u.length;o<s;o++)i=u[o],h(r,i,n);return r.sort(n).reverse()},m=function(e,t,n){var i,r,o,s,c,h,d,g,m;if(null==n&&(n=a),10*t<=e.length){if(o=e.slice(0,t).sort(n),!o.length)return o;for(r=o[o.length-1],d=e.slice(t),s=0,h=d.length;s<h;s++)i=d[s],n(i,r)<0&&(f(o,i,0,null,n),o.pop(),r=o[o.length-1]);return o}for(l(e,n),m=[],c=0,g=p(t,e.length);0<=g?c<g:c>g;0<=g?++c:--c)m.push(u(e,n));return m},y=function(e,t,n,i){var r,o,s;null==i&&(i=a),r=e[n];while(n>t){if(s=n-1>>1,o=e[s],!(i(r,o)<0))break;e[n]=o,n=s}return e[n]=r},b=function(e,t,n){var i,r,o,s,l;null==n&&(n=a),r=e.length,l=t,o=e[t],i=2*t+1;while(i<r)s=i+1,s<r&&!(n(e[i],e[s])<0)&&(i=s),e[t]=e[i],t=i,i=2*t+1;return e[t]=o,y(e,l,t,n)},n=function(){function e(e){this.cmp=null!=e?e:a,this.nodes=[]}return e.push=c,e.pop=u,e.replace=d,e.pushpop=h,e.heapify=l,e.updateItem=v,e.nlargest=g,e.nsmallest=m,e.prototype.push=function(e){return c(this.nodes,e,this.cmp)},e.prototype.pop=function(){return u(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return-1!==this.nodes.indexOf(e)},e.prototype.replace=function(e){return d(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return h(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return l(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return v(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return t=new e,t.nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),function(n,a){r=[],i=a,o="function"===typeof i?i.apply(t,r):i,void 0!==o&&(e.exports=o)}(0,(function(){return n}))}.call(this)},22689:function(e,t,n){var i="Expected a function",r=NaN,o="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,h="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,f=h||d||Function("return this")(),p=Object.prototype,g=p.toString,m=Math.max,v=Math.min,y=function(){return f.Date.now()};function b(e,t,n){var r,o,a,s,l,u,c=0,h=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError(i);function p(t){var n=r,i=o;return r=o=void 0,c=t,s=e.apply(i,n),s}function g(e){return c=e,l=setTimeout(w,t),h?p(e):s}function b(e){var n=e-u,i=e-c,r=t-n;return d?v(r,a-i):r}function x(e){var n=e-u,i=e-c;return void 0===u||n>=t||n<0||d&&i>=a}function w(){var e=y();if(x(e))return C(e);l=setTimeout(w,b(e))}function C(e){return l=void 0,f&&r?p(e):(r=o=void 0,s)}function k(){void 0!==l&&clearTimeout(l),c=0,r=u=o=l=void 0}function M(){return void 0===l?s:C(y())}function T(){var e=y(),n=x(e);if(r=arguments,o=this,u=e,n){if(void 0===l)return g(u);if(d)return l=setTimeout(w,t),p(u)}return void 0===l&&(l=setTimeout(w,t)),s}return t=S(t)||0,_(n)&&(h=!!n.leading,d="maxWait"in n,a=d?m(S(n.maxWait)||0,t):a,f="trailing"in n?!!n.trailing:f),T.cancel=k,T.flush=M,T}function x(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(i);return _(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),b(e,t,{leading:r,maxWait:t,trailing:o})}function _(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){return!!e&&"object"==typeof e}function C(e){return"symbol"==typeof e||w(e)&&g.call(e)==o}function S(e){if("number"==typeof e)return e;if(C(e))return r;if(_(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=_(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?r:+e}e.exports=x},45623:function(e,t,n){var i=n(53301),r=n(3992),o=n(92762),a=n(3584),s=n(15745);function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype["delete"]=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},25094:function(e,t,n){var i=n(14209),r=n(96326),o=n(64697),a=n(50556),s=n(12405);function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype["delete"]=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},19014:function(e,t,n){var i=n(16213),r=n(69159),o=i(r,"Map");e.exports=o},58082:function(e,t,n){var i=n(41052),r=n(99240),o=n(68843),a=n(80027),s=n(19154);function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype["delete"]=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},99016:function(e,t,n){var i=n(69159),r=i.Symbol;e.exports=r},58664:function(e){function t(e,t){var n=-1,i=null==e?0:e.length,r=Array(i);while(++n<i)r[n]=t(e[n],n,e);return r}e.exports=t},61767:function(e,t,n){var i=n(53883),r=n(64240),o=Object.prototype,a=o.hasOwnProperty;function s(e,t,n){var o=e[t];a.call(e,t)&&r(o,n)&&(void 0!==n||t in e)||i(e,t,n)}e.exports=s},46637:function(e,t,n){var i=n(64240);function r(e,t){var n=e.length;while(n--)if(i(e[n][0],t))return n;return-1}e.exports=r},53883:function(e,t,n){var i=n(26105);function r(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}e.exports=r},77727:function(e,t,n){var i=n(5299),r=n(88952);function o(e,t){t=i(t,e);var n=0,o=t.length;while(null!=e&&n<o)e=e[r(t[n++])];return n&&n==o?e:void 0}e.exports=o},96423:function(e,t,n){var i=n(99016),r=n(52366),o=n(52886),a="[object Null]",s="[object Undefined]",l=i?i.toStringTag:void 0;function u(e){return null==e?void 0===e?s:a:l&&l in Object(e)?r(e):o(e)}e.exports=u},36853:function(e,t,n){var i=n(59314),r=n(22604),o=n(70150),a=n(30627),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,h=u.toString,d=c.hasOwnProperty,f=RegExp("^"+h.call(d).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(e){if(!o(e)||r(e))return!1;var t=i(e)?f:l;return t.test(a(e))}e.exports=p},60483:function(e,t,n){var i=n(61767),r=n(5299),o=n(38286),a=n(70150),s=n(88952);function l(e,t,n,l){if(!a(e))return e;t=r(t,e);var u=-1,c=t.length,h=c-1,d=e;while(null!=d&&++u<c){var f=s(t[u]),p=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(u!=h){var g=d[f];p=l?l(g,f,d):void 0,void 0===p&&(p=a(g)?g:o(t[u+1])?[]:{})}i(d,f,p),d=d[f]}return e}e.exports=l},13973:function(e,t,n){var i=n(99016),r=n(58664),o=n(26602),a=n(17691),s=1/0,l=i?i.prototype:void 0,u=l?l.toString:void 0;function c(e){if("string"==typeof e)return e;if(o(e))return r(e,c)+"";if(a(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}e.exports=c},66009:function(e,t,n){var i=n(71626),r=/^\s+/;function o(e){return e?e.slice(0,i(e)+1).replace(r,""):e}e.exports=o},5299:function(e,t,n){var i=n(26602),r=n(9020),o=n(45946),a=n(59459);function s(e,t){return i(e)?e:r(e,t)?[e]:o(a(e))}e.exports=s},61548:function(e){function t(e,t){var n=-1,i=e.length;t||(t=Array(i));while(++n<i)t[n]=e[n];return t}e.exports=t},69749:function(e,t,n){var i=n(69159),r=i["__core-js_shared__"];e.exports=r},26105:function(e,t,n){var i=n(16213),r=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=r},791:function(e,t,n){var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=i},93582:function(e,t,n){var i=n(75462);function r(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=r},16213:function(e,t,n){var i=n(36853),r=n(38474);function o(e,t){var n=r(e,t);return i(n)?n:void 0}e.exports=o},52366:function(e,t,n){var i=n(99016),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=i?i.toStringTag:void 0;function l(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(l){}var r=a.call(e);return i&&(t?e[s]=n:delete e[s]),r}e.exports=l},38474:function(e){function t(e,t){return null==e?void 0:e[t]}e.exports=t},53301:function(e,t,n){var i=n(90988);function r(){this.__data__=i?i(null):{},this.size=0}e.exports=r},3992:function(e){function t(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=t},92762:function(e,t,n){var i=n(90988),r="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function s(e){var t=this.__data__;if(i){var n=t[e];return n===r?void 0:n}return a.call(t,e)?t[e]:void 0}e.exports=s},3584:function(e,t,n){var i=n(90988),r=Object.prototype,o=r.hasOwnProperty;function a(e){var t=this.__data__;return i?void 0!==t[e]:o.call(t,e)}e.exports=a},15745:function(e,t,n){var i=n(90988),r="__lodash_hash_undefined__";function o(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?r:t,this}e.exports=o},38286:function(e){var t=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(e,i){var r=typeof e;return i=null==i?t:i,!!i&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<i}e.exports=i},9020:function(e,t,n){var i=n(26602),r=n(17691),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}e.exports=s},75462:function(e){function t(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=t},22604:function(e,t,n){var i=n(69749),r=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function o(e){return!!r&&r in e}e.exports=o},14209:function(e){function t(){this.__data__=[],this.size=0}e.exports=t},96326:function(e,t,n){var i=n(46637),r=Array.prototype,o=r.splice;function a(e){var t=this.__data__,n=i(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():o.call(t,n,1),--this.size,!0}e.exports=a},64697:function(e,t,n){var i=n(46637);function r(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}e.exports=r},50556:function(e,t,n){var i=n(46637);function r(e){return i(this.__data__,e)>-1}e.exports=r},12405:function(e,t,n){n(57658);var i=n(46637);function r(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}e.exports=r},41052:function(e,t,n){var i=n(45623),r=n(25094),o=n(19014);function a(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}e.exports=a},99240:function(e,t,n){var i=n(93582);function r(e){var t=i(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=r},68843:function(e,t,n){var i=n(93582);function r(e){return i(this,e).get(e)}e.exports=r},80027:function(e,t,n){var i=n(93582);function r(e){return i(this,e).has(e)}e.exports=r},19154:function(e,t,n){var i=n(93582);function r(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}e.exports=r},94541:function(e,t,n){var i=n(36564),r=500;function o(e){var t=i(e,(function(e){return n.size===r&&n.clear(),e})),n=t.cache;return t}e.exports=o},90988:function(e,t,n){var i=n(16213),r=i(Object,"create");e.exports=r},52886:function(e){var t=Object.prototype,n=t.toString;function i(e){return n.call(e)}e.exports=i},69159:function(e,t,n){var i=n(791),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();e.exports=o},45946:function(e,t,n){n(57658);var i=n(94541),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=i((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,(function(e,n,i,r){t.push(i?r.replace(o,"$1"):n||e)})),t}));e.exports=a},88952:function(e,t,n){var i=n(17691),r=1/0;function o(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}e.exports=o},30627:function(e){var t=Function.prototype,n=t.toString;function i(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}e.exports=i},71626:function(e){var t=/\s/;function n(e){var n=e.length;while(n--&&t.test(e.charAt(n)));return n}e.exports=n},73738:function(e,t,n){var i=n(70150),r=n(14705),o=n(62012),a="Expected a function",s=Math.max,l=Math.min;function u(e,t,n){var u,c,h,d,f,p,g=0,m=!1,v=!1,y=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=u,i=c;return u=c=void 0,g=t,d=e.apply(i,n),d}function x(e){return g=e,f=setTimeout(C,t),m?b(e):d}function _(e){var n=e-p,i=e-g,r=t-n;return v?l(r,h-i):r}function w(e){var n=e-p,i=e-g;return void 0===p||n>=t||n<0||v&&i>=h}function C(){var e=r();if(w(e))return S(e);f=setTimeout(C,_(e))}function S(e){return f=void 0,y&&u?b(e):(u=c=void 0,d)}function k(){void 0!==f&&clearTimeout(f),g=0,u=p=c=f=void 0}function M(){return void 0===f?d:S(r())}function T(){var e=r(),n=w(e);if(u=arguments,c=this,p=e,n){if(void 0===f)return x(p);if(v)return clearTimeout(f),f=setTimeout(C,t),b(p)}return void 0===f&&(f=setTimeout(C,t)),d}return t=o(t)||0,i(n)&&(m=!!n.leading,v="maxWait"in n,h=v?s(o(n.maxWait)||0,t):h,y="trailing"in n?!!n.trailing:y),T.cancel=k,T.flush=M,T}e.exports=u},64240:function(e){function t(e,t){return e===t||e!==e&&t!==t}e.exports=t},15309:function(e,t,n){var i=n(77727);function r(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}e.exports=r},26602:function(e){var t=Array.isArray;e.exports=t},59314:function(e,t,n){var i=n(96423),r=n(70150),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(e){if(!r(e))return!1;var t=i(e);return t==a||t==s||t==o||t==l}e.exports=u},70150:function(e){function t(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=t},74430:function(e){function t(e){return null!=e&&"object"==typeof e}e.exports=t},17691:function(e,t,n){var i=n(96423),r=n(74430),o="[object Symbol]";function a(e){return"symbol"==typeof e||r(e)&&i(e)==o}e.exports=a},36564:function(e,t,n){var i=n(58082),r="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(r);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(o.Cache||i),n}o.Cache=i,e.exports=o},14705:function(e,t,n){var i=n(69159),r=function(){return i.Date.now()};e.exports=r},39418:function(e,t,n){var i=n(60483);function r(e,t,n){return null==e?e:i(e,t,n)}e.exports=r},62012:function(e,t,n){var i=n(66009),r=n(70150),o=n(17691),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function h(e){if("number"==typeof e)return e;if(o(e))return a;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=h},85736:function(e,t,n){var i=n(58664),r=n(61548),o=n(26602),a=n(17691),s=n(45946),l=n(88952),u=n(59459);function c(e){return o(e)?i(e,l):a(e)?[e]:r(s(u(e)))}e.exports=c},59459:function(e,t,n){var i=n(13973);function r(e){return null==e?"":i(e)}e.exports=r},34451:function(e,t,n){e.exports=n(69981)},1119:function(e){"use strict";var t=!("undefined"===typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},57490:function(e){var t,n,i,r,o,a,s,l,u,c,h,d,f,p,g,m=!1;function v(){if(!m){m=!0;var e=navigator.userAgent,v=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(d=/\b(iPhone|iP[ao]d)/.exec(e),f=/\b(iP[ao]d)/.exec(e),c=/Android/i.exec(e),p=/FBAN\/\w+;/i.exec(e),g=/Mobile/i.exec(e),h=!!/Win64/.exec(e),v){t=v[1]?parseFloat(v[1]):v[5]?parseFloat(v[5]):NaN,t&&document&&document.documentMode&&(t=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);a=b?parseFloat(b[1])+4:t,n=v[2]?parseFloat(v[2]):NaN,i=v[3]?parseFloat(v[3]):NaN,r=v[4]?parseFloat(v[4]):NaN,r?(v=/(?:Chrome\/(\d+\.\d+))/.exec(e),o=v&&v[1]?parseFloat(v[1]):NaN):o=NaN}else t=n=i=o=r=NaN;if(y){if(y[1]){var x=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);s=!x||parseFloat(x[1].replace("_","."))}else s=!1;l=!!y[2],u=!!y[3]}else s=l=u=!1}}var y={ie:function(){return v()||t},ieCompatibilityMode:function(){return v()||a>t},ie64:function(){return y.ie()&&h},firefox:function(){return v()||n},opera:function(){return v()||i},webkit:function(){return v()||r},safari:function(){return y.webkit()},chrome:function(){return v()||o},windows:function(){return v()||l},osx:function(){return v()||s},linux:function(){return v()||u},iphone:function(){return v()||d},mobile:function(){return v()||d||f||c||g},nativeApp:function(){return v()||p},android:function(){return v()||c},ipad:function(){return v()||f}};e.exports=y},24935:function(e,t,n){"use strict";var i,r=n(1119);
/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/
function o(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[n]}return!o&&i&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},69981:function(e,t,n){"use strict";var i=n(57490),r=n(24935),o=10,a=40,s=800;function l(e){var t=0,n=0,i=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=t*o,r=n*o,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||r)&&e.deltaMode&&(1==e.deltaMode?(i*=a,r*=a):(i*=s,r*=s)),i&&!t&&(t=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:r}}l.getEventType=function(){return i.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=l},35812:function(e,t,n){n(57658);var i="function"===typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&r&&"function"===typeof r.get?r.get:null,a=i&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"===typeof l.get?l.get:null,c=s&&Set.prototype.forEach,h="function"===typeof WeakMap&&WeakMap.prototype,d=h?WeakMap.prototype.has:null,f="function"===typeof WeakSet&&WeakSet.prototype,p=f?WeakSet.prototype.has:null,g="function"===typeof WeakRef&&WeakRef.prototype,m=g?WeakRef.prototype.deref:null,v=Boolean.prototype.valueOf,y=Object.prototype.toString,b=Function.prototype.toString,x=String.prototype.match,_=String.prototype.slice,w=String.prototype.replace,C=String.prototype.toUpperCase,S=String.prototype.toLowerCase,k=RegExp.prototype.test,M=Array.prototype.concat,T=Array.prototype.join,E=Array.prototype.slice,D=Math.floor,P="function"===typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,I="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,A="function"===typeof Symbol&&"object"===typeof Symbol.iterator,L="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===A||"symbol")?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,R=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function z(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||k.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var i=e<0?-D(-e):D(e);if(i!==e){var r=String(i),o=_.call(t,r.length+1);return w.call(r,n,"$&_")+"."+w.call(w.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(t,n,"$&_")}var $=n(24654),B=$.custom,F=Z(B)?B:null;function j(e,t,n){var i="double"===(n.quoteStyle||t)?'"':"'";return i+e+i}function V(e){return w.call(String(e),/"/g,"&quot;")}function H(e){return"[object Array]"===ee(e)&&(!L||!("object"===typeof e&&L in e))}function W(e){return"[object Date]"===ee(e)&&(!L||!("object"===typeof e&&L in e))}function G(e){return"[object RegExp]"===ee(e)&&(!L||!("object"===typeof e&&L in e))}function q(e){return"[object Error]"===ee(e)&&(!L||!("object"===typeof e&&L in e))}function U(e){return"[object String]"===ee(e)&&(!L||!("object"===typeof e&&L in e))}function Y(e){return"[object Number]"===ee(e)&&(!L||!("object"===typeof e&&L in e))}function X(e){return"[object Boolean]"===ee(e)&&(!L||!("object"===typeof e&&L in e))}function Z(e){if(A)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!I)return!1;try{return I.call(e),!0}catch(t){}return!1}function K(e){if(!e||"object"!==typeof e||!P)return!1;try{return P.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,i,r){var s=n||{};if(J(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(J(s,"maxStringLength")&&("number"===typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!J(s,"customInspect")||s.customInspect;if("boolean"!==typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(J(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(J(s,"numericSeparator")&&"boolean"!==typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=s.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return ue(t,s);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var d=String(t);return h?z(t,d):d}if("bigint"===typeof t){var f=String(t)+"n";return h?z(t,f):f}var p="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof i&&(i=0),i>=p&&p>0&&"object"===typeof t)return H(t)?"[Array]":"[Object]";var g=ge(s,i);if("undefined"===typeof r)r=[];else if(ne(r,t)>=0)return"[Circular]";function m(t,n,o){if(n&&(r=E.call(r),r.push(n)),o){var a={depth:s.depth};return J(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,i+1,r)}return e(t,s,i+1,r)}if("function"===typeof t&&!G(t)){var y=te(t),b=ve(t,m);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(b.length>0?" { "+T.call(b,", ")+" }":"")}if(Z(t)){var x=A?w.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(t);return"object"!==typeof t||A?x:he(x)}if(le(t)){for(var C="<"+S.call(String(t.nodeName)),k=t.attributes||[],D=0;D<k.length;D++)C+=" "+k[D].name+"="+j(V(k[D].value),"double",s);return C+=">",t.childNodes&&t.childNodes.length&&(C+="..."),C+="</"+S.call(String(t.nodeName))+">",C}if(H(t)){if(0===t.length)return"[]";var O=ve(t,m);return g&&!pe(O)?"["+me(O,g)+"]":"[ "+T.call(O,", ")+" ]"}if(q(t)){var B=ve(t,m);return"cause"in Error.prototype||!("cause"in t)||N.call(t,"cause")?0===B.length?"["+String(t)+"]":"{ ["+String(t)+"] "+T.call(B,", ")+" }":"{ ["+String(t)+"] "+T.call(M.call("[cause]: "+m(t.cause),B),", ")+" }"}if("object"===typeof t&&l){if(F&&"function"===typeof t[F]&&$)return $(t,{depth:p-i});if("symbol"!==l&&"function"===typeof t.inspect)return t.inspect()}if(ie(t)){var Q=[];return a&&a.call(t,(function(e,n){Q.push(m(n,t,!0)+" => "+m(e,t))})),fe("Map",o.call(t),Q,g)}if(ae(t)){var ce=[];return c&&c.call(t,(function(e){ce.push(m(e,t))})),fe("Set",u.call(t),ce,g)}if(re(t))return de("WeakMap");if(se(t))return de("WeakSet");if(oe(t))return de("WeakRef");if(Y(t))return he(m(Number(t)));if(K(t))return he(m(P.call(t)));if(X(t))return he(v.call(t));if(U(t))return he(m(String(t)));if(!W(t)&&!G(t)){var ye=ve(t,m),be=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,xe=t instanceof Object?"":"null prototype",_e=!be&&L&&Object(t)===t&&L in t?_.call(ee(t),8,-1):xe?"Object":"",we=be||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",Ce=we+(_e||xe?"["+T.call(M.call([],_e||[],xe||[]),": ")+"] ":"");return 0===ye.length?Ce+"{}":g?Ce+"{"+me(ye,g)+"}":Ce+"{ "+T.call(ye,", ")+" }"}return String(t)};var Q=Object.prototype.hasOwnProperty||function(e){return e in this};function J(e,t){return Q.call(e,t)}function ee(e){return y.call(e)}function te(e){if(e.name)return e.name;var t=x.call(b.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ne(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}function ie(e){if(!o||!e||"object"!==typeof e)return!1;try{o.call(e);try{u.call(e)}catch(t){return!0}return e instanceof Map}catch(n){}return!1}function re(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(t){return!0}return e instanceof WeakMap}catch(n){}return!1}function oe(e){if(!m||!e||"object"!==typeof e)return!1;try{return m.call(e),!0}catch(t){}return!1}function ae(e){if(!u||!e||"object"!==typeof e)return!1;try{u.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}function se(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(t){return!0}return e instanceof WeakSet}catch(n){}return!1}function le(e){return!(!e||"object"!==typeof e)&&("undefined"!==typeof HTMLElement&&e instanceof HTMLElement||"string"===typeof e.nodeName&&"function"===typeof e.getAttribute)}function ue(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return ue(_.call(e,0,t.maxStringLength),t)+i}var r=w.call(w.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ce);return j(r,"single",t)}function ce(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+C.call(t.toString(16))}function he(e){return"Object("+e+")"}function de(e){return e+" { ? }"}function fe(e,t,n,i){var r=i?me(n,i):T.call(n,", ");return e+" ("+t+") {"+r+"}"}function pe(e){for(var t=0;t<e.length;t++)if(ne(e[t],"\n")>=0)return!1;return!0}function ge(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=T.call(Array(e.indent+1)," ")}return{base:n,prev:T.call(Array(t+1),n)}}function me(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+T.call(e,","+n)+"\n"+t.prev}function ve(e,t){var n=H(e),i=[];if(n){i.length=e.length;for(var r=0;r<e.length;r++)i[r]=J(e,r)?t(e[r],e):""}var o,a="function"===typeof O?O(e):[];if(A){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var l in e)J(e,l)&&(n&&String(Number(l))===l&&l<e.length||A&&o["$"+l]instanceof Symbol||(k.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e))));if("function"===typeof O)for(var u=0;u<a.length;u++)N.call(e,a[u])&&i.push("["+t(a[u])+"]: "+t(e[a[u]],e));return i}},49734:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,i={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}},95410:function(e,t,n){"use strict";var i=n(56383),r=n(15730),o=n(49734);e.exports={formats:o,parse:r,stringify:i}},15730:function(e,t,n){"use strict";n(57658);var i=n(92898),r=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:i.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",h=function(e,t){var n,h={},d=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=d.split(t.delimiter,f),g=-1,m=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&(p[n]===c?m="utf-8":p[n]===u&&(m="iso-8859-1"),g=n,n=p.length);for(n=0;n<p.length;++n)if(n!==g){var v,y,b=p[n],x=b.indexOf("]="),_=-1===x?b.indexOf("="):x+1;-1===_?(v=t.decoder(b,a.decoder,m,"key"),y=t.strictNullHandling?null:""):(v=t.decoder(b.slice(0,_),a.decoder,m,"key"),y=i.maybeMap(l(b.slice(_+1),t),(function(e){return t.decoder(e,a.decoder,m,"value")}))),y&&t.interpretNumericEntities&&"iso-8859-1"===m&&(y=s(y)),b.indexOf("[]=")>-1&&(y=o(y)?[y]:y),r.call(h,v)?h[v]=i.combine(h[v],y):h[v]=y}return h},d=function(e,t,n,i){for(var r=i?t:l(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(r);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(u,10);n.parseArrays||""!==u?!isNaN(c)&&s!==u&&String(c)===u&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[],a[c]=r):"__proto__"!==u&&(a[u]=r):a={0:r}}r=a}return r},f=function(e,t,n,i){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=n.depth>0&&a.exec(o),u=l?o.slice(0,l.index):o,c=[];if(u){if(!n.plainObjects&&r.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}var h=0;while(n.depth>0&&null!==(l=s.exec(o))&&h<n.depth){if(h+=1,!n.plainObjects&&r.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+o.slice(l.index)+"]"),d(c,t,n,i)}},p=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?a.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||i.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}};e.exports=function(e,t){var n=p(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var r="string"===typeof e?h(e,n):e,o=n.plainObjects?Object.create(null):{},a=Object.keys(r),s=0;s<a.length;++s){var l=a[s],u=f(l,r[l],n,"string"===typeof e);o=i.merge(o,u,n)}return!0===n.allowSparse?o:i.compact(o)}},56383:function(e,t,n){"use strict";n(57658);var i=n(14525),r=n(92898),o=n(49734),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=String.prototype.split,c=Array.prototype.push,h=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,f=o["default"],p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},g=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},m={},v=function e(t,n,o,a,s,c,d,f,v,y,b,x,_,w,C,S){var k=t,M=S,T=0,E=!1;while(void 0!==(M=M.get(m))&&!E){var D=M.get(t);if(T+=1,"undefined"!==typeof D){if(D===T)throw new RangeError("Cyclic object value");E=!0}"undefined"===typeof M.get(m)&&(T=0)}if("function"===typeof f?k=f(n,k):k instanceof Date?k=b(k):"comma"===o&&l(k)&&(k=r.maybeMap(k,(function(e){return e instanceof Date?b(e):e}))),null===k){if(s)return d&&!w?d(n,p.encoder,C,"key",x):n;k=""}if(g(k)||r.isBuffer(k)){if(d){var P=w?n:d(n,p.encoder,C,"key",x);if("comma"===o&&w){for(var O=u.call(String(k),","),I="",A=0;A<O.length;++A)I+=(0===A?"":",")+_(d(O[A],p.encoder,C,"value",x));return[_(P)+(a&&l(k)&&1===O.length?"[]":"")+"="+I]}return[_(P)+"="+_(d(k,p.encoder,C,"value",x))]}return[_(n)+"="+_(String(k))]}var L,N=[];if("undefined"===typeof k)return N;if("comma"===o&&l(k))L=[{value:k.length>0?k.join(",")||null:void 0}];else if(l(f))L=f;else{var R=Object.keys(k);L=v?R.sort(v):R}for(var z=a&&l(k)&&1===k.length?n+"[]":n,$=0;$<L.length;++$){var B=L[$],F="object"===typeof B&&"undefined"!==typeof B.value?B.value:k[B];if(!c||null!==F){var j=l(k)?"function"===typeof o?o(z,B):z:z+(y?"."+B:"["+B+"]");S.set(t,T);var V=i();V.set(m,S),h(N,e(F,j,o,a,s,c,d,f,v,y,b,x,_,w,C,V))}}return N},y=function(e){if(!e)return p;if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o["default"];if("undefined"!==typeof e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=o.formatters[n],r=p.filter;return("function"===typeof e.filter||l(e.filter))&&(r=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?p.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:p.encode,encoder:"function"===typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:r,format:n,formatter:i,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var n,r,o=e,a=y(t);"function"===typeof a.filter?(r=a.filter,o=r("",o)):l(a.filter)&&(r=a.filter,n=r);var u,c=[];if("object"!==typeof o||null===o)return"";u=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=s[u];if(t&&"commaRoundTrip"in t&&"boolean"!==typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f="comma"===d&&t&&t.commaRoundTrip;n||(n=Object.keys(o)),a.sort&&n.sort(a.sort);for(var p=i(),g=0;g<n.length;++g){var m=n[g];a.skipNulls&&null===o[m]||h(c,v(o[m],m,d,f,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,p))}var b=c.join(a.delimiter),x=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?x+="utf8=%26%2310003%3B&":x+="utf8=%E2%9C%93&"),b.length>0?x+b:""}},92898:function(e,t,n){"use strict";n(57658);var i=n(49734),r=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var i=[],r=0;r<n.length;++r)"undefined"!==typeof n[r]&&i.push(n[r]);t.obj[t.prop]=i}}},l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},i=0;i<e.length;++i)"undefined"!==typeof e[i]&&(n[i]=e[i]);return n},u=function e(t,n,i){if(!n)return t;if("object"!==typeof n){if(o(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=l(t,i)),o(t)&&o(n)?(n.forEach((function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"===typeof a&&n&&"object"===typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),a)},c=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},h=function(e,t,n){var i=e.replace(/\+/g," ");if("iso-8859-1"===n)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(r){return i}},d=function(e,t,n,r,o){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",u=0;u<s.length;++u){var c=s.charCodeAt(u);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===i.RFC1738&&(40===c||41===c)?l+=s.charAt(u):c<128?l+=a[c]:c<2048?l+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?l+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(u+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(u)),l+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return l},f=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],i=0;i<t.length;++i)for(var r=t[i],o=r.obj[r.prop],a=Object.keys(o),l=0;l<a.length;++l){var u=a[l],c=o[u];"object"===typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:o,prop:u}),n.push(c))}return s(t),e},p=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},g=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},m=function(e,t){return[].concat(e,t)},v=function(e,t){if(o(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(t(e[i]));return n}return t(e)};e.exports={arrayToObject:l,assign:c,combine:m,compact:f,decode:h,encode:d,isBuffer:g,isRegExp:p,maybeMap:v,merge:u}},70566:function(e,t,n){"use strict";n.r(t);n(57658);var i=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,i){return e[0]===t&&(n=i,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];e.call(t,r[1],r[0])}},t}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,o=function(){return"undefined"!==typeof n.g&&n.g.Math===Math?n.g:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),s=2;function l(e,t){var n=!1,i=!1,r=0;function o(){n&&(n=!1,e()),i&&u()}function l(){a(o)}function u(){var e=Date.now();if(n){if(e-r<s)return;i=!0}else n=!0,i=!1,setTimeout(l,t);r=e}return u}var u=20,c=["top","right","bottom","left","width","height","size","weight"],h="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=l(this.refresh.bind(this),u)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),h?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,i=c.some((function(e){return!!~n.indexOf(e)}));i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||o},g=k(0,0,0,0);function m(e){return parseFloat(e)||0}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var i=e["border-"+n+"-width"];return t+m(i)}),0)}function y(e){for(var t=["top","right","bottom","left"],n={},i=0,r=t;i<r.length;i++){var o=r[i],a=e["padding-"+o];n[o]=m(a)}return n}function b(e){var t=e.getBBox();return k(0,0,t.width,t.height)}function x(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return g;var i=p(e).getComputedStyle(e),r=y(i),o=r.left+r.right,a=r.top+r.bottom,s=m(i.width),l=m(i.height);if("border-box"===i.boxSizing&&(Math.round(s+o)!==t&&(s-=v(i,"left","right")+o),Math.round(l+a)!==n&&(l-=v(i,"top","bottom")+a)),!w(e)){var u=Math.round(s+o)-t,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return k(r.left,r.top,s,l)}var _=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"===typeof e.getBBox}}();function w(e){return e===p(e).document.documentElement}function C(e){return r?_(e)?b(e):x(e):g}function S(e){var t=e.x,n=e.y,i=e.width,r=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return f(a,{x:t,y:n,width:i,height:r,top:n,right:t+i,bottom:r+n,left:t}),a}function k(e,t,n,i){return{x:e,y:t,width:n,height:i}}var M=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=k(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=C(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),T=function(){function e(e,t){var n=S(t);f(this,{target:e,contentRect:n})}return e}(),E=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new i,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new M(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new T(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),D="undefined"!==typeof WeakMap?new WeakMap:new i,P=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),i=new E(t,n,this);D.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach((function(e){P.prototype[e]=function(){var t;return(t=D.get(this))[e].apply(t,arguments)}}));var O=function(){return"undefined"!==typeof o.ResizeObserver?o.ResizeObserver:P}();t["default"]=O},14525:function(e,t,n){"use strict";var i=n(8692),r=n(15477),o=n(35812),a=i("%TypeError%"),s=i("%WeakMap%",!0),l=i("%Map%",!0),u=r("WeakMap.prototype.get",!0),c=r("WeakMap.prototype.set",!0),h=r("WeakMap.prototype.has",!0),d=r("Map.prototype.get",!0),f=r("Map.prototype.set",!0),p=r("Map.prototype.has",!0),g=function(e,t){for(var n,i=e;null!==(n=i.next);i=n)if(n.key===t)return i.next=n.next,n.next=e.next,e.next=n,n},m=function(e,t){var n=g(e,t);return n&&n.value},v=function(e,t,n){var i=g(e,t);i?i.value=n:e.next={key:t,next:e.next,value:n}},y=function(e,t){return!!g(e,t)};e.exports=function(){var e,t,n,i={assert:function(e){if(!i.has(e))throw new a("Side channel does not contain "+o(e))},get:function(i){if(s&&i&&("object"===typeof i||"function"===typeof i)){if(e)return u(e,i)}else if(l){if(t)return d(t,i)}else if(n)return m(n,i)},has:function(i){if(s&&i&&("object"===typeof i||"function"===typeof i)){if(e)return h(e,i)}else if(l){if(t)return p(t,i)}else if(n)return y(n,i);return!1},set:function(i,r){s&&i&&("object"===typeof i||"function"===typeof i)?(e||(e=new s),c(e,i,r)):l?(t||(t=new l),f(t,i,r)):(n||(n={key:{},next:null}),v(n,i,r))}};return i}},8973:function(e,t,n){var i=n(62895);e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},9070:function(e,t,n){var i=n(62895),r=n(8973);e.exports={throttle:i,debounce:r}},62895:function(e){e.exports=function(e,t,n,i){var r,o=0;function a(){var a=this,s=Number(new Date)-o,l=arguments;function u(){o=Number(new Date),n.apply(a,l)}function c(){r=void 0}i&&!r&&u(),r&&clearTimeout(r),void 0===i&&s>e?u():!0!==t&&(r=setTimeout(i?c:u,void 0===i?e-s:e))}return"boolean"!==typeof t&&(i=n,n=t,t=void 0),a}},7813:function(e,t,n){n(57658),n(82801),function(t,n){e.exports=n()}(0,(function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=6)}([function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t){e.exports=function(e,t,n,i,r){var o,a=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(o=e,a=e.default);var l,u="function"==typeof a?a.options:a;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns),i&&(u._scopeId=i),r?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},u._ssrRegister=l):n&&(l=n),l){var c=u.functional,h=c?u.render:u.beforeCreate;c?u.render=function(e,t){return l.call(t),h(e,t)}:u.beforeCreate=h?[].concat(h,l):[l]}return{esModule:o,exports:a,options:u}}},function(e,t,n){function i(e){for(var t=0;t<e.length;t++){var n=e[t],i=c[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(o(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(o(n.parts[r]));c[n.id]={id:n.id,refs:1,parts:a}}}}function r(){var e=document.createElement("style");return e.type="text/css",h.appendChild(e),e}function o(e){var t,n,i=document.querySelector("style["+v+'~="'+e.id+'"]');if(i){if(p)return g;i.parentNode.removeChild(i)}if(y){var o=f++;i=d||(d=r()),t=a.bind(null,i,o,!1),n=a.bind(null,i,o,!0)}else i=r(),t=s.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}function a(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=b(t,r);else{var o=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function s(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),m.ssrId&&e.setAttribute(v,t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u=n(14),c={},h=l&&(document.head||document.getElementsByTagName("head")[0]),d=null,f=0,p=!1,g=function(){},m=null,v="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,r){p=n,m=r||{};var o=u(e,t);return i(o),function(t){for(var n=[],r=0;r<o.length;r++){var a=o[r],s=c[a.id];s.refs--,n.push(s)}t?(o=u(e,t),i(o)):o=[];for(r=0;r<n.length;r++){s=n[r];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete c[s.id]}}}};var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){function i(e){n(12)}var r=n(1)(n(5),n(10),i,"data-v-1931f86e",null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"tree-child-component",props:["itemchildren","float"],methods:{fnHandler:function(e){this.$emit("childhandler",e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9),r=n.n(i);t.default={name:"context-menu-component",components:{Tree:r.a},data:function(){return{floatDirection:"float-statue-1"}},props:{contextMenuData:{type:Object,requred:!1,default:function(){return{menuName:null,axis:{x:null,y:null},menulists:[{fnHandler:"",icoName:"",btnName:""}]}}},transferIndex:{type:Number,default:0}},watch:{"contextMenuData.axis":function(e){var t=e.x,n=e.y,i=window.innerWidth,r=window.innerHeight,o=this,a=o.transferIndex,s="vue-contextmenuName-"+o.contextMenuData.menuName,l=document.getElementsByClassName(s)[a];l.style.display="block";var u=30*this.contextMenuData.menulists.length;l.style.top=(n+u>r?r-u:n)+"px",l.style.left=(t+150>i?i-150:t)+"px",document.addEventListener("mouseup",(function(e){0===e.button&&(l.style.display="none")}),!1),t+300>i&&n+2*u>r&&(this.floatDirection="float-status-4"),t+300<i&&n+2*u>r&&(this.floatDirection="float-status-1"),t+300>i&&n+2*u<r&&(this.floatDirection="float-status-3"),t+300<i&&n+2*u<r&&(this.floatDirection="float-status-2")}},methods:{fnHandler:function(e){this.$emit(e.fnHandler)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),r=n.n(i),o={install:function(e){e.component("VueContextMenu",r.a)}};t.default=o},function(e,t,n){t=e.exports=n(0)(),t.push([e.i,".vue-contextmenu-listWrapper[data-v-1931f86e]{display:none;position:fixed;z-index:9999;background:#fff;top:0;left:0;border-radius:2px;box-shadow:0 2px 2px 0 #ccc;font-family:Courier New,Courier,monospace;font-size:12px}.vue-contextmenu-listWrapper .context-menu-list[data-v-1931f86e]{position:relative;background:#fff;text-decoration:none;list-style:none;margin:3px 0}.context-menu-list[data-v-1931f86e]:hover{background:#2894f8}.context-menu-list .has-child[data-v-1931f86e]{position:relative;cursor:pointer;padding:5px 10px}.context-menu-list:hover>.has-child>.child-ul-wrapper[data-v-1931f86e]{display:block}.parent-name .icon[data-v-1931f86e]{position:absolute;display:block;top:4px;right:0;border-top:4px solid transparent;border-left:8px solid #111;border-bottom:4px solid transparent;border-right:4px solid transparent}.no-child-btn[data-v-1931f86e]{padding:5px 10px;cursor:pointer}.nav-icon-fontawe[data-v-1931f86e]{position:absolute;left:0}.nav-name-right[data-v-1931f86e]{margin:0 20px;height:16px;line-height:16px;display:block}.no-allow[data-v-1931f86e]{color:#d3cfcf;cursor:not-allowed}.btn-wrapper-simple[data-v-1931f86e]{position:relative;height:16px;line-height:16px}",""])},function(e,t,n){t=e.exports=n(0)(),t.push([e.i,".float-status-1[data-v-65699d5f]{left:100%;bottom:-1px;z-index:10001}.float-status-2[data-v-65699d5f]{left:100%;top:-1px;z-index:10001}.float-status-3[data-v-65699d5f]{right:100%;top:-1px;z-index:10001}.float-status-4[data-v-65699d5f]{right:100%;bottom:-1px;z-index:10001}.child-ul-wrapper .has-child[data-v-65699d5f]{padding:5px 10px;position:relative}li[data-v-65699d5f]{list-style:none}.parent-name .icon[data-v-65699d5f]{position:absolute;display:block;top:4px;right:0;border-top:4px solid transparent;border-left:8px solid #111;border-bottom:4px solid transparent;border-right:4px solid transparent}.no-child-btn[data-v-65699d5f]{padding:5px 10px}.child-ul-wrapper[data-v-65699d5f]{background:#fff;position:absolute;display:none;border:1px solid #e8e8e8;border-radius:3px}.child-li-wrapper:hover>.has-child>.child-ul-wrapper[data-v-65699d5f]{display:block}.child-li-wrapper[data-v-65699d5f]:hover,.context-menu-list[data-v-65699d5f]:hover{background:#2894f8}.nav-icon-fontawe[data-v-65699d5f]{position:absolute}.nav-name-right[data-v-65699d5f]{white-space:nowrap;display:block;margin:auto 20px}.btn-wrapper-simple[data-v-65699d5f]{position:relative;height:16px;line-height:16px}",""])},function(e,t,n){function i(e){n(13)}var r=n(1)(n(4),n(11),i,"data-v-65699d5f",null);e.exports=r.exports},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"vue-contextmenu-listWrapper",class:"vue-contextmenuName-"+e.contextMenuData.menuName,on:{contextmenu:function(e){e.stopPropagation()}}},e._l(e.contextMenuData.menulists,(function(t){return n("li",{key:t.btnName,staticClass:"context-menu-list"},[t.children&&t.children.length>0?n("div",{staticClass:"has-child"},[n("div",{staticClass:"parent-name btn-wrapper-simple",class:{"no-allow":!!t.disabled&&t.disabled}},[n("i",{staticClass:"nav-icon-fontawe",class:t.icoName?t.icoName:""}),e._v(" "),n("span",{staticClass:"nav-name-right"},[e._v(e._s(t.btnName))]),e._v(" "),n("i",{staticClass:"icon"})]),e._v(" "),n("Tree",{attrs:{itemchildren:t.children,float:e.floatDirection},on:{childhandler:e.fnHandler}})],1):n("div",[n("div",{staticClass:"no-child-btn btn-wrapper-simple",class:{"no-allow":!!t.disabled&&t.disabled},on:{click:function(n){n.stopPropagation(),!0===t.disabled||e.fnHandler(t)}}},[n("i",{staticClass:"nav-icon-fontawe",class:t.icoName?t.icoName:""}),e._v(" "),n("span",{staticClass:"nav-name-right"},[e._v(e._s(t.btnName))])])])])})),0)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"child-ul-wrapper",class:e.float},e._l(e.itemchildren,(function(t){return n("li",{key:t.name,staticClass:"child-li-wrapper"},[t.children&&t.children.length>0?n("div",{staticClass:"has-child"},[n("div",{staticClass:"parent-name btn-wrapper-simple"},[n("i",{staticClass:"nav-icon-fontawe",class:t.icoName?t.icoName:""}),e._v(" "),n("span",{staticClass:"nav-name-right"},[e._v(e._s(t.btnName))]),e._v(" "),n("i",{staticClass:"icon"})]),e._v(" "),n("tree-child-component",{attrs:{itemchildren:t.children,float:e.float},on:{childhandler:e.fnHandler}})],1):n("div",[n("div",{staticClass:"no-child-btn btn-wrapper-simple",on:{click:function(n){return n.stopPropagation(),e.fnHandler(t)}}},[n("i",{staticClass:"nav-icon-fontawe",class:t.icoName?t.icoName:""}),e._v(" "),n("span",{staticClass:"nav-name-right"},[e._v(e._s(t.btnName))])])])])})),0)},staticRenderFns:[]}},function(e,t,n){var i=n(7);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(2)("6b12b0a8",i,!0,{})},function(e,t,n){var i=n(8);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),n(2)("007c7502",i,!0,{})},function(e,t){e.exports=function(e,t){for(var n=[],i={},r=0;r<t.length;r++){var o=t[r],a=o[0],s=o[1],l=o[2],u=o[3],c={id:e+":"+r,css:s,media:l,sourceMap:u};i[a]?i[a].parts.push(c):n.push(i[a]={id:a,parts:[c]})}return n}}])}))},72631:function(e,t,n){"use strict";n.d(t,{ZP:function(){return wt}});n(57658);function i(e,t){for(var n in t)e[n]=t[n];return e}var r=/[!'()*]/g,o=function(e){return"%"+e.charCodeAt(0).toString(16)},a=/%2C/g,s=function(e){return encodeURIComponent(e).replace(r,o).replace(a,",")};function l(e){try{return decodeURIComponent(e)}catch(t){0}return e}function u(e,t,n){void 0===t&&(t={});var i,r=n||h;try{i=r(e||"")}catch(s){i={}}for(var o in t){var a=t[o];i[o]=Array.isArray(a)?a.map(c):c(a)}return i}var c=function(e){return null==e||"object"===typeof e?e:String(e)};function h(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),i=l(n.shift()),r=n.length>0?l(n.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]})),t):t}function d(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return s(t);if(Array.isArray(n)){var i=[];return n.forEach((function(e){void 0!==e&&(null===e?i.push(s(t)):i.push(s(t)+"="+s(e)))})),i.join("&")}return s(t)+"="+s(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var f=/\/?$/;function p(e,t,n,i){var r=i&&i.options.stringifyQuery,o=t.query||{};try{o=g(o)}catch(s){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:y(t,r),matched:e?v(e):[]};return n&&(a.redirectedFrom=y(n,r)),Object.freeze(a)}function g(e){if(Array.isArray(e))return e.map(g);if(e&&"object"===typeof e){var t={};for(var n in e)t[n]=g(e[n]);return t}return e}var m=p(null,{path:"/"});function v(e){var t=[];while(e)t.unshift(e),e=e.parent;return t}function y(e,t){var n=e.path,i=e.query;void 0===i&&(i={});var r=e.hash;void 0===r&&(r="");var o=t||d;return(n||"/")+o(i)+r}function b(e,t,n){return t===m?e===t:!!t&&(e.path&&t.path?e.path.replace(f,"")===t.path.replace(f,"")&&(n||e.hash===t.hash&&x(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(n||e.hash===t.hash&&x(e.query,t.query)&&x(e.params,t.params))))}function x(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),i=Object.keys(t).sort();return n.length===i.length&&n.every((function(n,r){var o=e[n],a=i[r];if(a!==n)return!1;var s=t[n];return null==o||null==s?o===s:"object"===typeof o&&"object"===typeof s?x(o,s):String(o)===String(s)}))}function _(e,t){return 0===e.path.replace(f,"/").indexOf(t.path.replace(f,"/"))&&(!t.hash||e.hash===t.hash)&&w(e.query,t.query)}function w(e,t){for(var n in t)if(!(n in e))return!1;return!0}function C(e){for(var t=0;t<e.matched.length;t++){var n=e.matched[t];for(var i in n.instances){var r=n.instances[i],o=n.enteredCbs[i];if(r&&o){delete n.enteredCbs[i];for(var a=0;a<o.length;a++)r._isBeingDestroyed||o[a](r)}}}}var S={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,o=t.parent,a=t.data;a.routerView=!0;var s=o.$createElement,l=n.name,u=o.$route,c=o._routerViewCache||(o._routerViewCache={}),h=0,d=!1;while(o&&o._routerRoot!==o){var f=o.$vnode?o.$vnode.data:{};f.routerView&&h++,f.keepAlive&&o._directInactive&&o._inactive&&(d=!0),o=o.$parent}if(a.routerViewDepth=h,d){var p=c[l],g=p&&p.component;return g?(p.configProps&&k(g,a,p.route,p.configProps),s(g,a,r)):s()}var m=u.matched[h],v=m&&m.components[l];if(!m||!v)return c[l]=null,s();c[l]={component:v},a.registerRouteInstance=function(e,t){var n=m.instances[l];(t&&n!==e||!t&&n===e)&&(m.instances[l]=t)},(a.hook||(a.hook={})).prepatch=function(e,t){m.instances[l]=t.componentInstance},a.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==m.instances[l]&&(m.instances[l]=e.componentInstance),C(u)};var y=m.props&&m.props[l];return y&&(i(c[l],{route:u,configProps:y}),k(v,a,u,y)),s(v,a,r)}};function k(e,t,n,r){var o=t.props=M(n,r);if(o){o=t.props=i({},o);var a=t.attrs=t.attrs||{};for(var s in o)e.props&&s in e.props||(a[s]=o[s],delete o[s])}}function M(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}function T(e,t,n){var i=e.charAt(0);if("/"===i)return e;if("?"===i||"#"===i)return t+e;var r=t.split("/");n&&r[r.length-1]||r.pop();for(var o=e.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?r.pop():"."!==s&&r.push(s)}return""!==r[0]&&r.unshift(""),r.join("/")}function E(e){var t="",n="",i=e.indexOf("#");i>=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{path:e,query:n,hash:t}}function D(e){return e.replace(/\/(?:\s*\/)+/g,"/")}var P=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},O=Z,I=z,A=$,L=j,N=X,R=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function z(e,t){var n,i=[],r=0,o=0,a="",s=t&&t.delimiter||"/";while(null!=(n=R.exec(e))){var l=n[0],u=n[1],c=n.index;if(a+=e.slice(o,c),o=c+l.length,u)a+=u[1];else{var h=e[o],d=n[2],f=n[3],p=n[4],g=n[5],m=n[6],v=n[7];a&&(i.push(a),a="");var y=null!=d&&null!=h&&h!==d,b="+"===m||"*"===m,x="?"===m||"*"===m,_=n[2]||s,w=p||g;i.push({name:f||r++,prefix:d||"",delimiter:_,optional:x,repeat:b,partial:y,asterisk:!!v,pattern:w?H(w):v?".*":"[^"+V(_)+"]+?"})}}return o<e.length&&(a+=e.substr(o)),a&&i.push(a),i}function $(e,t){return j(z(e,t),t)}function B(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function F(e){return encodeURI(e).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function j(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"===typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",G(t)));return function(t,i){for(var r="",o=t||{},a=i||{},s=a.pretty?B:encodeURIComponent,l=0;l<e.length;l++){var u=e[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(P(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 d=0;d<h.length;d++){if(c=s(h[d]),!n[l].test(c))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(c)+"`");r+=(0===d?u.prefix:u.delimiter)+c}}else{if(c=u.asterisk?F(h):s(h),!n[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 V(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function H(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function W(e,t){return e.keys=t,e}function G(e){return e&&e.sensitive?"":"i"}function q(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return W(e,t)}function U(e,t,n){for(var i=[],r=0;r<e.length;r++)i.push(Z(e[r],t,n).source);var o=new RegExp("(?:"+i.join("|")+")",G(n));return W(o,t)}function Y(e,t,n){return X(z(e,n),t,n)}function X(e,t,n){P(t)||(n=t||n,t=[]),n=n||{};for(var i=n.strict,r=!1!==n.end,o="",a=0;a<e.length;a++){var s=e[a];if("string"===typeof s)o+=V(s);else{var l=V(s.prefix),u="(?:"+s.pattern+")";t.push(s),s.repeat&&(u+="(?:"+l+u+")*"),u=s.optional?s.partial?l+"("+u+")?":"(?:"+l+"("+u+"))?":l+"("+u+")",o+=u}}var c=V(n.delimiter||"/"),h=o.slice(-c.length)===c;return i||(o=(h?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=r?"$":i&&h?"":"(?="+c+"|$)",W(new RegExp("^"+o,G(n)),t)}function Z(e,t,n){return P(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?q(e,t):P(e)?U(e,t,n):Y(e,t,n)}O.parse=I,O.compile=A,O.tokensToFunction=L,O.tokensToRegExp=N;var K=Object.create(null);function Q(e,t,n){t=t||{};try{var i=K[e]||(K[e]=O.compile(e));return"string"===typeof t.pathMatch&&(t[0]=t.pathMatch),i(t,{pretty:!0})}catch(r){return""}finally{delete t[0]}}function J(e,t,n,r){var o="string"===typeof e?{path:e}:e;if(o._normalized)return o;if(o.name){o=i({},e);var a=o.params;return a&&"object"===typeof a&&(o.params=i({},a)),o}if(!o.path&&o.params&&t){o=i({},o),o._normalized=!0;var s=i(i({},t.params),o.params);if(t.name)o.name=t.name,o.params=s;else if(t.matched.length){var l=t.matched[t.matched.length-1].path;o.path=Q(l,s,"path "+t.path)}else 0;return o}var c=E(o.path||""),h=t&&t.path||"/",d=c.path?T(c.path,h,n||o.append):h,f=u(c.query,o.query,r&&r.options.parseQuery),p=o.hash||c.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:d,query:f,hash:p}}var ee,te=[String,Object],ne=[String,Array],ie=function(){},re={name:"RouterLink",props:{to:{type:te,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:ne,default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,s=o.route,l=o.href,u={},c=n.options.linkActiveClass,h=n.options.linkExactActiveClass,d=null==c?"router-link-active":c,f=null==h?"router-link-exact-active":h,g=null==this.activeClass?d:this.activeClass,m=null==this.exactActiveClass?f:this.exactActiveClass,v=s.redirectedFrom?p(null,J(s.redirectedFrom),null,n):s;u[m]=b(r,v,this.exactPath),u[g]=this.exact||this.exactPath?u[m]:_(r,v);var y=u[m]?this.ariaCurrentValue:null,x=function(e){oe(e)&&(t.replace?n.replace(a,ie):n.push(a,ie))},w={click:oe};Array.isArray(this.event)?this.event.forEach((function(e){w[e]=x})):w[this.event]=x;var C={class:u},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:x,isActive:u[g],isExactActive:u[m]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?e():e("span",{},S)}if("a"===this.tag)C.on=w,C.attrs={href:l,"aria-current":y};else{var k=ae(this.$slots.default);if(k){k.isStatic=!1;var M=k.data=i({},k.data);for(var T in M.on=M.on||{},M.on){var E=M.on[T];T in w&&(M.on[T]=Array.isArray(E)?E:[E])}for(var D in w)D in M.on?M.on[D].push(w[D]):M.on[D]=x;var P=k.data.attrs=i({},k.data.attrs);P.href=l,P["aria-current"]=y}else C.on=w}return e(this.tag,C,this.$slots.default)}};function oe(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ae(e){if(e)for(var t,n=0;n<e.length;n++){if(t=e[n],"a"===t.tag)return t;if(t.children&&(t=ae(t.children)))return t}}function se(e){if(!se.installed||ee!==e){se.installed=!0,ee=e;var t=function(e){return void 0!==e},n=function(e,n){var i=e.$options._parentVnode;t(i)&&t(i=i.data)&&t(i=i.registerRouteInstance)&&i(e,n)};e.mixin({beforeCreate:function(){t(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",S),e.component("RouterLink",re);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}}var le="undefined"!==typeof window;function ue(e,t,n,i,r){var o=t||[],a=n||Object.create(null),s=i||Object.create(null);e.forEach((function(e){ce(o,a,s,e,r)}));for(var l=0,u=o.length;l<u;l++)"*"===o[l]&&(o.push(o.splice(l,1)[0]),u--,l--);return{pathList:o,pathMap:a,nameMap:s}}function ce(e,t,n,i,r,o){var a=i.path,s=i.name;var l=i.pathToRegexpOptions||{},u=de(a,r,l.strict);"boolean"===typeof i.caseSensitive&&(l.sensitive=i.caseSensitive);var c={path:u,regex:he(u,l),components:i.components||{default:i.component},alias:i.alias?"string"===typeof i.alias?[i.alias]:i.alias:[],instances:{},enteredCbs:{},name:s,parent:r,matchAs:o,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};if(i.children&&i.children.forEach((function(i){var r=o?D(o+"/"+i.path):void 0;ce(e,t,n,i,c,r)})),t[c.path]||(e.push(c.path),t[c.path]=c),void 0!==i.alias)for(var h=Array.isArray(i.alias)?i.alias:[i.alias],d=0;d<h.length;++d){var f=h[d];0;var p={path:f,children:i.children};ce(e,t,n,p,r,c.path||"/")}s&&(n[s]||(n[s]=c))}function he(e,t){var n=O(e,[],t);return n}function de(e,t,n){return n||(e=e.replace(/\/$/,"")),"/"===e[0]||null==t?e:D(t.path+"/"+e)}function fe(e,t){var n=ue(e),i=n.pathList,r=n.pathMap,o=n.nameMap;function a(e){ue(e,i,r,o)}function s(e,t){var n="object"!==typeof e?o[e]:void 0;ue([t||e],i,r,o,n),n&&n.alias.length&&ue(n.alias.map((function(e){return{path:e,children:[t]}})),i,r,o,n)}function l(){return i.map((function(e){return r[e]}))}function u(e,n,a){var s=J(e,n,!1,t),l=s.name;if(l){var u=o[l];if(!u)return d(null,s);var c=u.regex.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}));if("object"!==typeof s.params&&(s.params={}),n&&"object"===typeof n.params)for(var h in n.params)!(h in s.params)&&c.indexOf(h)>-1&&(s.params[h]=n.params[h]);return s.path=Q(u.path,s.params,'named route "'+l+'"'),d(u,s,a)}if(s.path){s.params={};for(var f=0;f<i.length;f++){var p=i[f],g=r[p];if(pe(g.regex,s.path,s.params))return d(g,s,a)}}return d(null,s)}function c(e,n){var i=e.redirect,r="function"===typeof i?i(p(e,n,null,t)):i;if("string"===typeof r&&(r={path:r}),!r||"object"!==typeof r)return d(null,n);var a=r,s=a.name,l=a.path,c=n.query,h=n.hash,f=n.params;if(c=a.hasOwnProperty("query")?a.query:c,h=a.hasOwnProperty("hash")?a.hash:h,f=a.hasOwnProperty("params")?a.params:f,s){o[s];return u({_normalized:!0,name:s,query:c,hash:h,params:f},void 0,n)}if(l){var g=ge(l,e),m=Q(g,f,'redirect route with path "'+g+'"');return u({_normalized:!0,path:m,query:c,hash:h},void 0,n)}return d(null,n)}function h(e,t,n){var i=Q(n,t.params,'aliased route with path "'+n+'"'),r=u({_normalized:!0,path:i});if(r){var o=r.matched,a=o[o.length-1];return t.params=r.params,d(a,t)}return d(null,t)}function d(e,n,i){return e&&e.redirect?c(e,i||n):e&&e.matchAs?h(e,n,e.matchAs):p(e,n,i,t)}return{match:u,addRoute:s,getRoutes:l,addRoutes:a}}function pe(e,t,n){var i=t.match(e);if(!i)return!1;if(!n)return!0;for(var r=1,o=i.length;r<o;++r){var a=e.keys[r-1];a&&(n[a.name||"pathMatch"]="string"===typeof i[r]?l(i[r]):i[r])}return!0}function ge(e,t){return T(e,t.parent?t.parent.path:"/",!0)}var me=le&&window.performance&&window.performance.now?window.performance:Date;function ve(){return me.now().toFixed(3)}var ye=ve();function be(){return ye}function xe(e){return ye=e}var _e=Object.create(null);function we(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,""),n=i({},window.history.state);return n.key=be(),window.history.replaceState(n,"",t),window.addEventListener("popstate",ke),function(){window.removeEventListener("popstate",ke)}}function Ce(e,t,n,i){if(e.app){var r=e.options.scrollBehavior;r&&e.app.$nextTick((function(){var o=Me(),a=r.call(e,t,n,i?o:null);a&&("function"===typeof a.then?a.then((function(e){Ae(e,o)})).catch((function(e){0})):Ae(a,o))}))}}function Se(){var e=be();e&&(_e[e]={x:window.pageXOffset,y:window.pageYOffset})}function ke(e){Se(),e.state&&e.state.key&&xe(e.state.key)}function Me(){var e=be();if(e)return _e[e]}function Te(e,t){var n=document.documentElement,i=n.getBoundingClientRect(),r=e.getBoundingClientRect();return{x:r.left-i.left-t.x,y:r.top-i.top-t.y}}function Ee(e){return Oe(e.x)||Oe(e.y)}function De(e){return{x:Oe(e.x)?e.x:window.pageXOffset,y:Oe(e.y)?e.y:window.pageYOffset}}function Pe(e){return{x:Oe(e.x)?e.x:0,y:Oe(e.y)?e.y:0}}function Oe(e){return"number"===typeof e}var Ie=/^#\d/;function Ae(e,t){var n="object"===typeof e;if(n&&"string"===typeof e.selector){var i=Ie.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(i){var r=e.offset&&"object"===typeof e.offset?e.offset:{};r=Pe(r),t=Te(i,r)}else Ee(e)&&(t=De(e))}else n&&Ee(e)&&(t=De(e));t&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:t.x,top:t.y,behavior:e.behavior}):window.scrollTo(t.x,t.y))}var Le=le&&function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function Ne(e,t){Se();var n=window.history;try{if(t){var r=i({},n.state);r.key=be(),n.replaceState(r,"",e)}else n.pushState({key:xe(ve())},"",e)}catch(o){window.location[t?"replace":"assign"](e)}}function Re(e){Ne(e,!0)}var ze={redirected:2,aborted:4,cancelled:8,duplicated:16};function $e(e,t){return Ve(e,t,ze.redirected,'Redirected when going from "'+e.fullPath+'" to "'+We(t)+'" via a navigation guard.')}function Be(e,t){var n=Ve(e,t,ze.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return n.name="NavigationDuplicated",n}function Fe(e,t){return Ve(e,t,ze.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function je(e,t){return Ve(e,t,ze.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function Ve(e,t,n,i){var r=new Error(i);return r._isRouter=!0,r.from=e,r.to=t,r.type=n,r}var He=["params","query","hash"];function We(e){if("string"===typeof e)return e;if("path"in e)return e.path;var t={};return He.forEach((function(n){n in e&&(t[n]=e[n])})),JSON.stringify(t,null,2)}function Ge(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function qe(e,t){return Ge(e)&&e._isRouter&&(null==t||e.type===t)}function Ue(e,t,n){var i=function(r){r>=e.length?n():e[r]?t(e[r],(function(){i(r+1)})):i(r+1)};i(0)}function Ye(e){return function(t,n,i){var r=!1,o=0,a=null;Xe(e,(function(e,t,n,s){if("function"===typeof e&&void 0===e.cid){r=!0,o++;var l,u=Je((function(t){Qe(t)&&(t=t.default),e.resolved="function"===typeof t?t:ee.extend(t),n.components[s]=t,o--,o<=0&&i()})),c=Je((function(e){var t="Failed to resolve async component "+s+": "+e;a||(a=Ge(e)?e:new Error(t),i(a))}));try{l=e(u,c)}catch(d){c(d)}if(l)if("function"===typeof l.then)l.then(u,c);else{var h=l.component;h&&"function"===typeof h.then&&h.then(u,c)}}})),r||i()}}function Xe(e,t){return Ze(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function Ze(e){return Array.prototype.concat.apply([],e)}var Ke="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Qe(e){return e.__esModule||Ke&&"Module"===e[Symbol.toStringTag]}function Je(e){var t=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!t)return t=!0,e.apply(this,n)}}var et=function(e,t){this.router=e,this.base=tt(t),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function tt(e){if(!e)if(le){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function nt(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n<i;n++)if(e[n]!==t[n])break;return{updated:t.slice(0,n),activated:t.slice(n),deactivated:e.slice(n)}}function it(e,t,n,i){var r=Xe(e,(function(e,i,r,o){var a=rt(e,t);if(a)return Array.isArray(a)?a.map((function(e){return n(e,i,r,o)})):n(a,i,r,o)}));return Ze(i?r.reverse():r)}function rt(e,t){return"function"!==typeof e&&(e=ee.extend(e)),e.options[t]}function ot(e){return it(e,"beforeRouteLeave",st,!0)}function at(e){return it(e,"beforeRouteUpdate",st)}function st(e,t){if(t)return function(){return e.apply(t,arguments)}}function lt(e){return it(e,"beforeRouteEnter",(function(e,t,n,i){return ut(e,n,i)}))}function ut(e,t,n){return function(i,r,o){return e(i,r,(function(e){"function"===typeof e&&(t.enteredCbs[n]||(t.enteredCbs[n]=[]),t.enteredCbs[n].push(e)),o(e)}))}}et.prototype.listen=function(e){this.cb=e},et.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},et.prototype.onError=function(e){this.errorCbs.push(e)},et.prototype.transitionTo=function(e,t,n){var i,r=this;try{i=this.router.match(e,this.current)}catch(a){throw this.errorCbs.forEach((function(e){e(a)})),a}var o=this.current;this.confirmTransition(i,(function(){r.updateRoute(i),t&&t(i),r.ensureURL(),r.router.afterHooks.forEach((function(e){e&&e(i,o)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(e){e(i)})))}),(function(e){n&&n(e),e&&!r.ready&&(qe(e,ze.redirected)&&o===m||(r.ready=!0,r.readyErrorCbs.forEach((function(t){t(e)}))))}))},et.prototype.confirmTransition=function(e,t,n){var i=this,r=this.current;this.pending=e;var o=function(e){!qe(e)&&Ge(e)&&(i.errorCbs.length?i.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)},a=e.matched.length-1,s=r.matched.length-1;if(b(e,r)&&a===s&&e.matched[a]===r.matched[s])return this.ensureURL(),e.hash&&Ce(this.router,r,e,!1),o(Be(r,e));var l=nt(this.current.matched,e.matched),u=l.updated,c=l.deactivated,h=l.activated,d=[].concat(ot(c),this.router.beforeHooks,at(u),h.map((function(e){return e.beforeEnter})),Ye(h)),f=function(t,n){if(i.pending!==e)return o(Fe(r,e));try{t(e,r,(function(t){!1===t?(i.ensureURL(!0),o(je(r,e))):Ge(t)?(i.ensureURL(!0),o(t)):"string"===typeof t||"object"===typeof t&&("string"===typeof t.path||"string"===typeof t.name)?(o($e(r,e)),"object"===typeof t&&t.replace?i.replace(t):i.push(t)):n(t)}))}catch(a){o(a)}};Ue(d,f,(function(){var n=lt(h),a=n.concat(i.router.resolveHooks);Ue(a,f,(function(){if(i.pending!==e)return o(Fe(r,e));i.pending=null,t(e),i.router.app&&i.router.app.$nextTick((function(){C(e)}))}))}))},et.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)},et.prototype.setupListeners=function(){},et.prototype.teardown=function(){this.listeners.forEach((function(e){e()})),this.listeners=[],this.current=m,this.pending=null};var ct=function(e){function t(t,n){e.call(this,t,n),this._startLocation=ht(this.base)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,n=t.options.scrollBehavior,i=Le&&n;i&&this.listeners.push(we());var r=function(){var n=e.current,r=ht(e.base);e.current===m&&r===e._startLocation||e.transitionTo(r,(function(e){i&&Ce(t,e,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var i=this,r=this,o=r.current;this.transitionTo(e,(function(e){Ne(D(i.base+e.fullPath)),Ce(i.router,e,o,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this,o=r.current;this.transitionTo(e,(function(e){Re(D(i.base+e.fullPath)),Ce(i.router,e,o,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(ht(this.base)!==this.current.fullPath){var t=D(this.base+this.current.fullPath);e?Ne(t):Re(t)}},t.prototype.getCurrentLocation=function(){return ht(this.base)},t}(et);function ht(e){var t=window.location.pathname,n=t.toLowerCase(),i=e.toLowerCase();return!e||n!==i&&0!==n.indexOf(D(i+"/"))||(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var dt=function(e){function t(t,n,i){e.call(this,t,n),i&&ft(this.base)||pt()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,n=t.options.scrollBehavior,i=Le&&n;i&&this.listeners.push(we());var r=function(){var t=e.current;pt()&&e.transitionTo(gt(),(function(n){i&&Ce(e.router,n,t,!0),Le||yt(n.fullPath)}))},o=Le?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},t.prototype.push=function(e,t,n){var i=this,r=this,o=r.current;this.transitionTo(e,(function(e){vt(e.fullPath),Ce(i.router,e,o,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this,o=r.current;this.transitionTo(e,(function(e){yt(e.fullPath),Ce(i.router,e,o,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;gt()!==t&&(e?vt(t):yt(t))},t.prototype.getCurrentLocation=function(){return gt()},t}(et);function ft(e){var t=ht(e);if(!/^\/#/.test(t))return window.location.replace(D(e+"/#"+t)),!0}function pt(){var e=gt();return"/"===e.charAt(0)||(yt("/"+e),!1)}function gt(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function mt(e){var t=window.location.href,n=t.indexOf("#"),i=n>=0?t.slice(0,n):t;return i+"#"+e}function vt(e){Le?Ne(mt(e)):window.location.hash=e}function yt(e){Le?Re(mt(e)):window.location.replace(mt(e))}var bt=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var e=t.current;t.index=n,t.updateRoute(i),t.router.afterHooks.forEach((function(t){t&&t(i,e)}))}),(function(e){qe(e,ze.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(et),xt=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=fe(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Le&&!1!==e.fallback,this.fallback&&(t="hash"),le||(t="abstract"),this.mode=t,t){case"history":this.history=new ct(this,e.base);break;case"hash":this.history=new dt(this,e.base,this.fallback);break;case"abstract":this.history=new bt(this,e.base);break;default:0}},_t={currentRoute:{configurable:!0}};xt.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},_t.currentRoute.get=function(){return this.history&&this.history.current},xt.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof ct||n instanceof dt){var i=function(e){var i=n.current,r=t.options.scrollBehavior,o=Le&&r;o&&"fullPath"in e&&Ce(t,e,i,!1)},r=function(e){n.setupListeners(),i(e)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},xt.prototype.beforeEach=function(e){return Ct(this.beforeHooks,e)},xt.prototype.beforeResolve=function(e){return Ct(this.resolveHooks,e)},xt.prototype.afterEach=function(e){return Ct(this.afterHooks,e)},xt.prototype.onReady=function(e,t){this.history.onReady(e,t)},xt.prototype.onError=function(e){this.history.onError(e)},xt.prototype.push=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){i.history.push(e,t,n)}));this.history.push(e,t,n)},xt.prototype.replace=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){i.history.replace(e,t,n)}));this.history.replace(e,t,n)},xt.prototype.go=function(e){this.history.go(e)},xt.prototype.back=function(){this.go(-1)},xt.prototype.forward=function(){this.go(1)},xt.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},xt.prototype.resolve=function(e,t,n){t=t||this.history.current;var i=J(e,t,n,this),r=this.match(i,t),o=r.redirectedFrom||r.fullPath,a=this.history.base,s=St(a,o,this.mode);return{location:i,route:r,href:s,normalizedTo:i,resolved:r}},xt.prototype.getRoutes=function(){return this.matcher.getRoutes()},xt.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},xt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(xt.prototype,_t);var wt=xt;function Ct(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function St(e,t,n){var i="hash"===n?"#"+t:t;return e?D(e+"/"+i):i}xt.install=se,xt.version="3.6.5",xt.isNavigationFailure=qe,xt.NavigationFailureType=ze,xt.START_LOCATION=m,le&&window.Vue&&window.Vue.use(xt)},99039:function(e){!function(t,n){e.exports=n()}("undefined"!=typeof self&&self,(function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(4)();var i=n(5),r=n(6);t.default={name:"vue-seamless-scroll",data:function(){return{xPos:0,yPos:0,delay:0,copyHtml:"",height:0,width:0,realBoxWidth:0}},props:{data:{type:Array,default:function(){return[]}},classOption:{type:Object,default:function(){return{}}}},computed:{leftSwitchState:function(){return this.xPos<0},rightSwitchState:function(){return Math.abs(this.xPos)<this.realBoxWidth-this.width},leftSwitchClass:function(){return this.leftSwitchState?"":this.options.switchDisabledClass},rightSwitchClass:function(){return this.rightSwitchState?"":this.options.switchDisabledClass},leftSwitch:function(){return{position:"absolute",margin:this.height/2+"px 0 0 -"+this.options.switchOffset+"px",transform:"translate(-100%,-50%)"}},rightSwitch:function(){return{position:"absolute",margin:this.height/2+"px 0 0 "+(this.width+this.options.switchOffset)+"px",transform:"translateY(-50%)"}},float:function(){return this.isHorizontal?{float:"left",overflow:"hidden"}:{overflow:"hidden"}},pos:function(){return{transform:"translate("+this.xPos+"px,"+this.yPos+"px)",transition:"all "+this.ease+" "+this.delay+"ms",overflow:"hidden"}},defaultOption:function(){return{step:1,limitMoveNum:5,hoverStop:!0,direction:1,openTouch:!0,singleHeight:0,singleWidth:0,waitTime:1e3,switchOffset:30,autoPlay:!0,navigation:!1,switchSingleStep:134,switchDelay:400,switchDisabledClass:"disabled",isSingleRemUnit:!1}},options:function(){return r({},this.defaultOption,this.classOption)},navigation:function(){return this.options.navigation},autoPlay:function(){return!this.navigation&&this.options.autoPlay},scrollSwitch:function(){return this.data.length>=this.options.limitMoveNum},hoverStopSwitch:function(){return this.options.hoverStop&&this.autoPlay&&this.scrollSwitch},canTouchScroll:function(){return this.options.openTouch},isHorizontal:function(){return this.options.direction>1},baseFontSize:function(){return this.options.isSingleRemUnit?parseInt(window.getComputedStyle(document.documentElement,null).fontSize):1},realSingleStopWidth:function(){return this.options.singleWidth*this.baseFontSize},realSingleStopHeight:function(){return this.options.singleHeight*this.baseFontSize},step:function(){var e=this.options.step;return this.isHorizontal?this.realSingleStopWidth:this.realSingleStopHeight,e}},methods:{reset:function(){this._cancle(),this._initMove()},leftSwitchClick:function(){if(this.leftSwitchState)return Math.abs(this.xPos)<this.options.switchSingleStep?void(this.xPos=0):void(this.xPos+=this.options.switchSingleStep)},rightSwitchClick:function(){if(this.rightSwitchState)return this.realBoxWidth-this.width+this.xPos<this.options.switchSingleStep?void(this.xPos=this.width-this.realBoxWidth):void(this.xPos-=this.options.switchSingleStep)},_cancle:function(){cancelAnimationFrame(this.reqFrame||"")},touchStart:function(e){var t=this;if(this.canTouchScroll){var n=void 0,i=e.targetTouches[0],r=this.options,o=r.waitTime,a=r.singleHeight,s=r.singleWidth;this.startPos={x:i.pageX,y:i.pageY},this.startPosY=this.yPos,this.startPosX=this.xPos,a&&s?(n&&clearTimeout(n),n=setTimeout((function(){t._cancle()}),o+20)):this._cancle()}},touchMove:function(e){if(!(!this.canTouchScroll||e.targetTouches.length>1||e.scale&&1!==e.scale)){var t=e.targetTouches[0],n=this.options.direction;this.endPos={x:t.pageX-this.startPos.x,y:t.pageY-this.startPos.y},event.preventDefault();var i=Math.abs(this.endPos.x)<Math.abs(this.endPos.y)?1:0;1===i&&n<2?this.yPos=this.startPosY+this.endPos.y:0===i&&n>1&&(this.xPos=this.startPosX+this.endPos.x)}},touchEnd:function(){var e=this;if(this.canTouchScroll){var t=void 0,n=this.options.direction;if(this.delay=50,1===n)this.yPos>0&&(this.yPos=0);else if(0===n){var i=this.realBoxHeight/2*-1;this.yPos<i&&(this.yPos=i)}else if(2===n)this.xPos>0&&(this.xPos=0);else if(3===n){var r=-1*this.realBoxWidth;this.xPos<r&&(this.xPos=r)}t&&clearTimeout(t),t=setTimeout((function(){e.delay=0,e._move()}),this.delay)}},enter:function(){this.hoverStopSwitch&&this._stopMove()},leave:function(){this.hoverStopSwitch&&this._startMove()},_move:function(){this.isHover||(this._cancle(),this.reqFrame=requestAnimationFrame(function(){var e=this,t=this.realBoxHeight/2,n=this.realBoxWidth/2,i=this.options,r=i.direction,o=i.waitTime,a=this.step;1===r?(Math.abs(this.yPos)>=t&&(this.$emit("ScrollEnd"),this.yPos=0),this.yPos-=a):0===r?(this.yPos>=0&&(this.$emit("ScrollEnd"),this.yPos=-1*t),this.yPos+=a):2===r?(Math.abs(this.xPos)>=n&&(this.$emit("ScrollEnd"),this.xPos=0),this.xPos-=a):3===r&&(this.xPos>=0&&(this.$emit("ScrollEnd"),this.xPos=-1*n),this.xPos+=a),this.singleWaitTime&&clearTimeout(this.singleWaitTime),this.realSingleStopHeight?Math.abs(this.yPos)%this.realSingleStopHeight<a?this.singleWaitTime=setTimeout((function(){e._move()}),o):this._move():this.realSingleStopWidth&&Math.abs(this.xPos)%this.realSingleStopWidth<a?this.singleWaitTime=setTimeout((function(){e._move()}),o):this._move()}.bind(this)))},_initMove:function(){var e=this;this.$nextTick((function(){var t=e.options.switchDelay,n=e.autoPlay,i=e.isHorizontal;if(e._dataWarm(e.data),e.copyHtml="",i){e.height=e.$refs.wrap.offsetHeight,e.width=e.$refs.wrap.offsetWidth;var r=e.$refs.slotList.offsetWidth;n&&(r=2*r+1),e.$refs.realBox.style.width=r+"px",e.realBoxWidth=r}if(!n)return e.ease="linear",void(e.delay=t);e.ease="ease-in",e.delay=0,e.scrollSwitch?(e.copyHtml=e.$refs.slotList.innerHTML,setTimeout((function(){e.realBoxHeight=e.$refs.realBox.offsetHeight,e._move()}),0)):(e._cancle(),e.yPos=e.xPos=0)}))},_dataWarm:function(e){e.length},_startMove:function(){this.isHover=!1,this._move()},_stopMove:function(){this.isHover=!0,this.singleWaitTime&&clearTimeout(this.singleWaitTime),this._cancle()}},mounted:function(){this._initMove()},watch:{data:function(e,t){this._dataWarm(e),i(e,t)||this.reset()},autoPlay:function(e){e?this.reset():this._stopMove()}},beforeCreate:function(){this.reqFrame=null,this.singleWaitTime=null,this.isHover=!1,this.ease="ease-in"},beforeDestroy:function(){this._cancle(),clearTimeout(this.singleWaitTime)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),r=function(e){return e&&e.__esModule?e:{default:e}}(i);r.default.install=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.component(t.componentName||r.default.name,r.default)},"undefined"!=typeof window&&window.Vue&&Vue.component(r.default.name,r.default),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var a=n(7),s=n(3),l=s(r.a,a.a,!1,null,null,null);t.default=l.exports},function(e,t){e.exports=function(e,t,n,i,r,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var u,c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId=r),o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=u):i&&(u=i),u){var h=c.functional,d=h?c.render:c.beforeCreate;h?(c._injectStyles=u,c.render=function(e,t){return u.call(t),d(e,t)}):c.beforeCreate=d?[].concat(d,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t){var n=function(){window.cancelAnimationFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(e){return window.clearTimeout(e)}}(),window.requestAnimationFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)}}()};e.exports=n},function(e,t){var n=function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0};e.exports=n},function(e,t){function n(){Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e=void 0,t=void 0,r=void 0,o=void 0,a=void 0,s=void 0,l=1,u=arguments[0]||{},c=!1,h=arguments.length;if("boolean"==typeof u&&(c=u,u=arguments[1]||{},l++),"object"!==(void 0===u?"undefined":i(u))&&"function"!=typeof u&&(u={}),l===h)return u;for(;l<h;l++)if(null!=(t=arguments[l]))for(e in t)r=u[e],o=t[e],a=Array.isArray(o),c&&o&&("object"===(void 0===o?"undefined":i(o))||a)?(a?(a=!1,s=r&&Array.isArray(r)?r:[]):s=r&&"object"===(void 0===r?"undefined":i(r))?r:{},u[e]=n(c,s,o)):void 0!==o&&(u[e]=o);return u}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=n},function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"wrap"},[e.navigation?n("div",{class:e.leftSwitchClass,style:e.leftSwitch,on:{click:e.leftSwitchClick}},[e._t("left-switch")],2):e._e(),e._v(" "),e.navigation?n("div",{class:e.rightSwitchClass,style:e.rightSwitch,on:{click:e.rightSwitchClick}},[e._t("right-switch")],2):e._e(),e._v(" "),n("div",{ref:"realBox",style:e.pos,on:{mouseenter:e.enter,mouseleave:e.leave,touchstart:e.touchStart,touchmove:e.touchMove,touchend:e.touchEnd}},[n("div",{ref:"slotList",style:e.float},[e._t("default")],2),e._v(" "),n("div",{style:e.float,domProps:{innerHTML:e._s(e.copyHtml)}})])])},r=[],o={render:i,staticRenderFns:r};t.a=o}]).default}))},36369:function(e,t,n){"use strict";n.r(t),n.d(t,{EffectScope:function(){return Et},computed:function(){return mt},customRef:function(){return st},default:function(){return io},defineAsyncComponent:function(){return ti},defineComponent:function(){return yi},del:function(){return je},effectScope:function(){return Dt},getCurrentInstance:function(){return me},getCurrentScope:function(){return Ot},h:function(){return $n},inject:function(){return Nt},isProxy:function(){return Xe},isReactive:function(){return qe},isReadonly:function(){return Ye},isRef:function(){return Je},isShallow:function(){return Ue},markRaw:function(){return Ke},mergeDefaults:function(){return Sn},nextTick:function(){return Qn},onActivated:function(){return ci},onBeforeMount:function(){return ri},onBeforeUnmount:function(){return li},onBeforeUpdate:function(){return ai},onDeactivated:function(){return hi},onErrorCaptured:function(){return mi},onMounted:function(){return oi},onRenderTracked:function(){return fi},onRenderTriggered:function(){return pi},onScopeDispose:function(){return It},onServerPrefetch:function(){return di},onUnmounted:function(){return ui},onUpdated:function(){return si},provide:function(){return At},proxyRefs:function(){return ot},reactive:function(){return He},readonly:function(){return dt},ref:function(){return et},set:function(){return Fe},shallowReactive:function(){return We},shallowReadonly:function(){return gt},shallowRef:function(){return tt},toRaw:function(){return Ze},toRef:function(){return ut},toRefs:function(){return lt},triggerRef:function(){return it},unref:function(){return rt},useAttrs:function(){return _n},useCssModule:function(){return Jn},useCssVars:function(){return ei},useListeners:function(){return wn},useSlots:function(){return xn},version:function(){return vi},watch:function(){return Mt},watchEffect:function(){return _t},watchPostEffect:function(){return wt},watchSyncEffect:function(){return Ct}});n(57658),n(84633);var i=Object.freeze({}),r=Array.isArray;function o(e){return void 0===e||null===e}function a(e){return void 0!==e&&null!==e}function s(e){return!0===e}function l(e){return!1===e}function u(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return"function"===typeof e}function h(e){return null!==e&&"object"===typeof e}var d=Object.prototype.toString;function f(e){return"[object Object]"===d.call(e)}function p(e){return"[object RegExp]"===d.call(e)}function g(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return a(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||f(e)&&e.toString===d?JSON.stringify(e,null,2):String(e)}function y(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}b("slot,component",!0);var x=b("key,ref,slot,slot-scope,is");function _(e,t){var n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);var i=e.indexOf(t);if(i>-1)return e.splice(i,1)}}var w=Object.prototype.hasOwnProperty;function C(e,t){return w.call(e,t)}function S(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var k=/-(\w)/g,M=S((function(e){return e.replace(k,(function(e,t){return t?t.toUpperCase():""}))})),T=S((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),E=/\B([A-Z])/g,D=S((function(e){return e.replace(E,"-$1").toLowerCase()}));function P(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function O(e,t){return e.bind(t)}var I=Function.prototype.bind?O:P;function A(e,t){t=t||0;var n=e.length-t,i=new Array(n);while(n--)i[n]=e[n+t];return i}function L(e,t){for(var n in t)e[n]=t[n];return e}function N(e){for(var t={},n=0;n<e.length;n++)e[n]&&L(t,e[n]);return t}function R(e,t,n){}var z=function(e,t,n){return!1},$=function(e){return e};function B(e,t){if(e===t)return!0;var n=h(e),i=h(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var r=Array.isArray(e),o=Array.isArray(t);if(r&&o)return e.length===t.length&&e.every((function(e,n){return B(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(r||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return B(e[n],t[n])}))}catch(l){return!1}}function F(e,t){for(var n=0;n<e.length;n++)if(B(e[n],t))return n;return-1}function j(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function V(e,t){return e===t?0===e&&1/e!==1/t:e===e||t===t}var H="data-server-rendered",W=["component","directive","filter"],G=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],q={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:z,isReservedAttr:z,isUnknownElement:z,getTagNamespace:R,parsePlatformTagName:$,mustUseProp:z,async:!0,_lifecycleHooks:G},U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Y(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function X(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var Z=new RegExp("[^".concat(U.source,".$_\\d]"));function K(e){if(!Z.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var Q="__proto__"in{},J="undefined"!==typeof window,ee=J&&window.navigator.userAgent.toLowerCase(),te=ee&&/msie|trident/.test(ee),ne=ee&&ee.indexOf("msie 9.0")>0,ie=ee&&ee.indexOf("edge/")>0;ee&&ee.indexOf("android");var re=ee&&/iphone|ipad|ipod|ios/.test(ee);ee&&/chrome\/\d+/.test(ee),ee&&/phantomjs/.test(ee);var oe,ae=ee&&ee.match(/firefox\/(\d+)/),se={}.watch,le=!1;if(J)try{var ue={};Object.defineProperty(ue,"passive",{get:function(){le=!0}}),window.addEventListener("test-passive",null,ue)}catch(rl){}var ce=function(){return void 0===oe&&(oe=!J&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),oe},he=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function de(e){return"function"===typeof e&&/native code/.test(e.toString())}var fe,pe="undefined"!==typeof Symbol&&de(Symbol)&&"undefined"!==typeof Reflect&&de(Reflect.ownKeys);fe="undefined"!==typeof Set&&de(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ge=null;function me(){return ge&&{proxy:ge}}function ve(e){void 0===e&&(e=null),e||ge&&ge._scope.off(),ge=e,e&&e._scope.on()}var ye=function(){function e(e,t,n,i,r,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.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,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),be=function(e){void 0===e&&(e="");var t=new ye;return t.text=e,t.isComment=!0,t};function xe(e){return new ye(void 0,void 0,void 0,String(e))}function _e(e){var t=new ye(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var we=0,Ce=[],Se=function(){for(var e=0;e<Ce.length;e++){var t=Ce[e];t.subs=t.subs.filter((function(e){return e})),t._pending=!1}Ce.length=0},ke=function(){function e(){this._pending=!1,this.id=we++,this.subs=[]}return e.prototype.addSub=function(e){this.subs.push(e)},e.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,Ce.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(e){var t=this.subs.filter((function(e){return e}));for(var n=0,i=t.length;n<i;n++){var r=t[n];0,r.update()}},e}();ke.target=null;var Me=[];function Te(e){Me.push(e),ke.target=e}function Ee(){Me.pop(),ke.target=Me[Me.length-1]}var De=Array.prototype,Pe=Object.create(De),Oe=["push","pop","shift","unshift","splice","sort","reverse"];Oe.forEach((function(e){var t=De[e];X(Pe,e,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2);break}return r&&a.observeArray(r),a.dep.notify(),o}))}));var Ie=Object.getOwnPropertyNames(Pe),Ae={},Le=!0;function Ne(e){Le=e}var Re={notify:R,depend:R,addSub:R,removeSub:R},ze=function(){function e(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),this.value=e,this.shallow=t,this.mock=n,this.dep=n?Re:new ke,this.vmCount=0,X(e,"__ob__",this),r(e)){if(!n)if(Q)e.__proto__=Pe;else for(var i=0,o=Ie.length;i<o;i++){var a=Ie[i];X(e,a,Pe[a])}t||this.observeArray(e)}else{var s=Object.keys(e);for(i=0;i<s.length;i++){a=s[i];Be(e,a,Ae,void 0,t,n)}}}return e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)$e(e[t],!1,this.mock)},e}();function $e(e,t,n){return e&&C(e,"__ob__")&&e.__ob__ instanceof ze?e.__ob__:!Le||!n&&ce()||!r(e)&&!f(e)||!Object.isExtensible(e)||e.__v_skip||Je(e)||e instanceof ye?void 0:new ze(e,t,n)}function Be(e,t,n,i,o,a){var s=new ke,l=Object.getOwnPropertyDescriptor(e,t);if(!l||!1!==l.configurable){var u=l&&l.get,c=l&&l.set;u&&!c||n!==Ae&&2!==arguments.length||(n=e[t]);var h=!o&&$e(n,!1,a);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=u?u.call(e):n;return ke.target&&(s.depend(),h&&(h.dep.depend(),r(t)&&Ve(t))),Je(t)&&!o?t.value:t},set:function(t){var i=u?u.call(e):n;if(V(i,t)){if(c)c.call(e,t);else{if(u)return;if(!o&&Je(i)&&!Je(t))return void(i.value=t);n=t}h=!o&&$e(t,!1,a),s.notify()}}}),s}}function Fe(e,t,n){if(!Ye(e)){var i=e.__ob__;return r(e)&&g(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),i&&!i.shallow&&i.mock&&$e(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||i&&i.vmCount?n:i?(Be(i.value,t,n,void 0,i.shallow,i.mock),i.dep.notify(),n):(e[t]=n,n)}}function je(e,t){if(r(e)&&g(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||Ye(e)||C(e,t)&&(delete e[t],n&&n.dep.notify())}}function Ve(e){for(var t=void 0,n=0,i=e.length;n<i;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),r(t)&&Ve(t)}function He(e){return Ge(e,!1),e}function We(e){return Ge(e,!0),X(e,"__v_isShallow",!0),e}function Ge(e,t){if(!Ye(e)){$e(e,t,ce());0}}function qe(e){return Ye(e)?qe(e["__v_raw"]):!(!e||!e.__ob__)}function Ue(e){return!(!e||!e.__v_isShallow)}function Ye(e){return!(!e||!e.__v_isReadonly)}function Xe(e){return qe(e)||Ye(e)}function Ze(e){var t=e&&e["__v_raw"];return t?Ze(t):e}function Ke(e){return Object.isExtensible(e)&&X(e,"__v_skip",!0),e}var Qe="__v_isRef";function Je(e){return!(!e||!0!==e.__v_isRef)}function et(e){return nt(e,!1)}function tt(e){return nt(e,!0)}function nt(e,t){if(Je(e))return e;var n={};return X(n,Qe,!0),X(n,"__v_isShallow",t),X(n,"dep",Be(n,"value",e,null,t,ce())),n}function it(e){e.dep&&e.dep.notify()}function rt(e){return Je(e)?e.value:e}function ot(e){if(qe(e))return e;for(var t={},n=Object.keys(e),i=0;i<n.length;i++)at(t,e,n[i]);return t}function at(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];if(Je(e))return e.value;var i=e&&e.__ob__;return i&&i.dep.depend(),e},set:function(e){var i=t[n];Je(i)&&!Je(e)?i.value=e:t[n]=e}})}function st(e){var t=new ke,n=e((function(){t.depend()}),(function(){t.notify()})),i=n.get,r=n.set,o={get value(){return i()},set value(e){r(e)}};return X(o,Qe,!0),o}function lt(e){var t=r(e)?new Array(e.length):{};for(var n in e)t[n]=ut(e,n);return t}function ut(e,t,n){var i=e[t];if(Je(i))return i;var r={get value(){var i=e[t];return void 0===i?n:i},set value(n){e[t]=n}};return X(r,Qe,!0),r}var ct="__v_rawToReadonly",ht="__v_rawToShallowReadonly";function dt(e){return ft(e,!1)}function ft(e,t){if(!f(e))return e;if(Ye(e))return e;var n=t?ht:ct,i=e[n];if(i)return i;var r=Object.create(Object.getPrototypeOf(e));X(e,n,r),X(r,"__v_isReadonly",!0),X(r,"__v_raw",e),Je(e)&&X(r,Qe,!0),(t||Ue(e))&&X(r,"__v_isShallow",!0);for(var o=Object.keys(e),a=0;a<o.length;a++)pt(r,e,o[a],t);return r}function pt(e,t,n,i){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];return i||!f(e)?e:dt(e)},set:function(){}})}function gt(e){return ft(e,!0)}function mt(e,t){var n,i,r=c(e);r?(n=e,i=R):(n=e.get,i=e.set);var o=ce()?null:new Si(ge,n,R,{lazy:!0});var a={effect:o,get value(){return o?(o.dirty&&o.evaluate(),ke.target&&o.depend(),o.value):n()},set value(e){i(e)}};return X(a,Qe,!0),X(a,"__v_isReadonly",r),a}var vt="watcher",yt="".concat(vt," callback"),bt="".concat(vt," getter"),xt="".concat(vt," cleanup");function _t(e,t){return Tt(e,null,t)}function wt(e,t){return Tt(e,null,{flush:"post"})}function Ct(e,t){return Tt(e,null,{flush:"sync"})}var St,kt={};function Mt(e,t,n){return Tt(e,t,n)}function Tt(e,t,n){var o=void 0===n?i:n,a=o.immediate,s=o.deep,l=o.flush,u=void 0===l?"pre":l;o.onTrack,o.onTrigger;var h,d,f=ge,p=function(e,t,n){return void 0===n&&(n=null),Fn(e,null,n,f,t)},g=!1,m=!1;if(Je(e)?(h=function(){return e.value},g=Ue(e)):qe(e)?(h=function(){return e.__ob__.dep.depend(),e},s=!0):r(e)?(m=!0,g=e.some((function(e){return qe(e)||Ue(e)})),h=function(){return e.map((function(e){return Je(e)?e.value:qe(e)?xi(e):c(e)?p(e,bt):void 0}))}):h=c(e)?t?function(){return p(e,bt)}:function(){if(!f||!f._isDestroyed)return d&&d(),p(e,vt,[y])}:R,t&&s){var v=h;h=function(){return xi(v())}}var y=function(e){d=b.onStop=function(){p(e,xt)}};if(ce())return y=R,t?a&&p(t,yt,[h(),m?[]:void 0,y]):h(),R;var b=new Si(ge,h,R,{lazy:!0});b.noRecurse=!t;var x=m?[]:kt;return b.run=function(){if(b.active)if(t){var e=b.get();(s||g||(m?e.some((function(e,t){return V(e,x[t])})):V(e,x)))&&(d&&d(),p(t,yt,[e,x===kt?void 0:x,y]),x=e)}else b.get()},"sync"===u?b.update=b.run:"post"===u?(b.post=!0,b.update=function(){return nr(b)}):b.update=function(){if(f&&f===ge&&!f._isMounted){var e=f._preWatchers||(f._preWatchers=[]);e.indexOf(b)<0&&e.push(b)}else nr(b)},t?a?b.run():x=b.get():"post"===u&&f?f.$once("hook:mounted",(function(){return b.get()})):b.get(),function(){b.teardown()}}var Et=function(){function e(e){void 0===e&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=St,!e&&St&&(this.index=(St.scopes||(St.scopes=[])).push(this)-1)}return e.prototype.run=function(e){if(this.active){var t=St;try{return St=this,e()}finally{St=t}}else 0},e.prototype.on=function(){St=this},e.prototype.off=function(){St=this.parent},e.prototype.stop=function(e){if(this.active){var t=void 0,n=void 0;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].teardown();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},e}();function Dt(e){return new Et(e)}function Pt(e,t){void 0===t&&(t=St),t&&t.active&&t.effects.push(e)}function Ot(){return St}function It(e){St&&St.cleanups.push(e)}function At(e,t){ge&&(Lt(ge)[e]=t)}function Lt(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}function Nt(e,t,n){void 0===n&&(n=!1);var i=ge;if(i){var r=i.$parent&&i.$parent._provided;if(r&&e in r)return r[e];if(arguments.length>1)return n&&c(t)?t.call(i):t}else 0}var Rt=S((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var i="!"===e.charAt(0);return e=i?e.slice(1):e,{name:e,once:n,capture:i,passive:t}}));function zt(e,t){function n(){var e=n.fns;if(!r(e))return Fn(e,null,arguments,t,"v-on handler");for(var i=e.slice(),o=0;o<i.length;o++)Fn(i[o],null,arguments,t,"v-on handler")}return n.fns=e,n}function $t(e,t,n,i,r,a){var l,u,c,h;for(l in e)u=e[l],c=t[l],h=Rt(l),o(u)||(o(c)?(o(u.fns)&&(u=e[l]=zt(u,a)),s(h.once)&&(u=e[l]=r(h.name,u,h.capture)),n(h.name,u,h.capture,h.passive,h.params)):u!==c&&(c.fns=u,e[l]=c));for(l in t)o(e[l])&&(h=Rt(l),i(h.name,t[l],h.capture))}function Bt(e,t,n){var i;e instanceof ye&&(e=e.data.hook||(e.data.hook={}));var r=e[t];function l(){n.apply(this,arguments),_(i.fns,l)}o(r)?i=zt([l]):a(r.fns)&&s(r.merged)?(i=r,i.fns.push(l)):i=zt([r,l]),i.merged=!0,e[t]=i}function Ft(e,t,n){var i=t.options.props;if(!o(i)){var r={},s=e.attrs,l=e.props;if(a(s)||a(l))for(var u in i){var c=D(u);jt(r,l,u,c,!0)||jt(r,s,u,c,!1)}return r}}function jt(e,t,n,i,r){if(a(t)){if(C(t,n))return e[n]=t[n],r||delete t[n],!0;if(C(t,i))return e[n]=t[i],r||delete t[i],!0}return!1}function Vt(e){for(var t=0;t<e.length;t++)if(r(e[t]))return Array.prototype.concat.apply([],e);return e}function Ht(e){return u(e)?[xe(e)]:r(e)?Gt(e):void 0}function Wt(e){return a(e)&&a(e.text)&&l(e.isComment)}function Gt(e,t){var n,i,l,c,h=[];for(n=0;n<e.length;n++)i=e[n],o(i)||"boolean"===typeof i||(l=h.length-1,c=h[l],r(i)?i.length>0&&(i=Gt(i,"".concat(t||"","_").concat(n)),Wt(i[0])&&Wt(c)&&(h[l]=xe(c.text+i[0].text),i.shift()),h.push.apply(h,i)):u(i)?Wt(c)?h[l]=xe(c.text+i):""!==i&&h.push(xe(i)):Wt(i)&&Wt(c)?h[l]=xe(c.text+i.text):(s(e._isVList)&&a(i.tag)&&o(i.key)&&a(t)&&(i.key="__vlist".concat(t,"_").concat(n,"__")),h.push(i)));return h}function qt(e,t){var n,i,o,s,l=null;if(r(e)||"string"===typeof e)for(l=new Array(e.length),n=0,i=e.length;n<i;n++)l[n]=t(e[n],n);else if("number"===typeof e)for(l=new Array(e),n=0;n<e;n++)l[n]=t(n+1,n);else if(h(e))if(pe&&e[Symbol.iterator]){l=[];var u=e[Symbol.iterator](),c=u.next();while(!c.done)l.push(t(c.value,l.length)),c=u.next()}else for(o=Object.keys(e),l=new Array(o.length),n=0,i=o.length;n<i;n++)s=o[n],l[n]=t(e[s],s,n);return a(l)||(l=[]),l._isVList=!0,l}function Ut(e,t,n,i){var r,o=this.$scopedSlots[e];o?(n=n||{},i&&(n=L(L({},i),n)),r=o(n)||(c(t)?t():t)):r=this.$slots[e]||(c(t)?t():t);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function Yt(e){return Pr(this.$options,"filters",e,!0)||$}function Xt(e,t){return r(e)?-1===e.indexOf(t):e!==t}function Zt(e,t,n,i,r){var o=q.keyCodes[t]||n;return r&&i&&!q.keyCodes[t]?Xt(r,i):o?Xt(o,e):i?D(i)!==t:void 0===e}function Kt(e,t,n,i,o){if(n)if(h(n)){r(n)&&(n=N(n));var a=void 0,s=function(r){if("class"===r||"style"===r||x(r))a=e;else{var s=e.attrs&&e.attrs.type;a=i||q.mustUseProp(t,s,r)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=M(r),u=D(r);if(!(l in a)&&!(u in a)&&(a[r]=n[r],o)){var c=e.on||(e.on={});c["update:".concat(r)]=function(e){n[r]=e}}};for(var l in n)s(l)}else;return e}function Qt(e,t){var n=this._staticTrees||(this._staticTrees=[]),i=n[e];return i&&!t||(i=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),en(i,"__static__".concat(e),!1)),i}function Jt(e,t,n){return en(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function en(e,t,n){if(r(e))for(var i=0;i<e.length;i++)e[i]&&"string"!==typeof e[i]&&tn(e[i],"".concat(t,"_").concat(i),n);else tn(e,t,n)}function tn(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function nn(e,t){if(t)if(f(t)){var n=e.on=e.on?L({},e.on):{};for(var i in t){var r=n[i],o=t[i];n[i]=r?[].concat(r,o):o}}else;return e}function rn(e,t,n,i){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var a=e[o];r(a)?rn(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return i&&(t.$key=i),t}function on(e,t){for(var n=0;n<t.length;n+=2){var i=t[n];"string"===typeof i&&i&&(e[t[n]]=t[n+1])}return e}function an(e,t){return"string"===typeof e?t+e:e}function sn(e){e._o=Jt,e._n=y,e._s=v,e._l=qt,e._t=Ut,e._q=B,e._i=F,e._m=Qt,e._f=Yt,e._k=Zt,e._b=Kt,e._v=xe,e._e=be,e._u=rn,e._g=nn,e._d=on,e._p=an}function ln(e,t){if(!e||!e.length)return{};for(var n={},i=0,r=e.length;i<r;i++){var o=e[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var u in n)n[u].every(un)&&delete n[u];return n}function un(e){return e.isComment&&!e.asyncFactory||" "===e.text}function cn(e){return e.isComment&&e.asyncFactory}function hn(e,t,n,r){var o,a=Object.keys(n).length>0,s=t?!!t.$stable:!a,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&r&&r!==i&&l===r.$key&&!a&&!r.$hasNormal)return r;for(var u in o={},t)t[u]&&"$"!==u[0]&&(o[u]=dn(e,n,u,t[u]))}else o={};for(var c in n)c in o||(o[c]=fn(n,c));return t&&Object.isExtensible(t)&&(t._normalized=o),X(o,"$stable",s),X(o,"$key",l),X(o,"$hasNormal",a),o}function dn(e,t,n,i){var o=function(){var t=ge;ve(e);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!r(n)?[n]:Ht(n);var o=n&&n[0];return ve(t),n&&(!o||1===n.length&&o.isComment&&!cn(o))?void 0:n};return i.proxy&&Object.defineProperty(t,n,{get:o,enumerable:!0,configurable:!0}),o}function fn(e,t){return function(){return e[t]}}function pn(e){var t=e.$options,n=t.setup;if(n){var i=e._setupContext=gn(e);ve(e),Te();var r=Fn(n,null,[e._props||We({}),i],e,"setup");if(Ee(),ve(),c(r))t.render=r;else if(h(r))if(e._setupState=r,r.__sfc){var o=e._setupProxy={};for(var a in r)"__sfc"!==a&&at(o,r,a)}else for(var a in r)Y(a)||at(e,r,a);else 0}}function gn(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};X(t,"_v_attr_proxy",!0),mn(t,e.$attrs,i,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};mn(t,e.$listeners,i,e,"$listeners")}return e._listenersProxy},get slots(){return yn(e)},emit:I(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach((function(n){return at(e,t,n)}))}}}function mn(e,t,n,i,r){var o=!1;for(var a in t)a in e?t[a]!==n[a]&&(o=!0):(o=!0,vn(e,a,i,r));for(var a in e)a in t||(o=!0,delete e[a]);return o}function vn(e,t,n,i){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[i][t]}})}function yn(e){return e._slotsProxy||bn(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function bn(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function xn(){return Cn().slots}function _n(){return Cn().attrs}function wn(){return Cn().listeners}function Cn(){var e=ge;return e._setupContext||(e._setupContext=gn(e))}function Sn(e,t){var n=r(e)?e.reduce((function(e,t){return e[t]={},e}),{}):e;for(var i in t){var o=n[i];o?r(o)||c(o)?n[i]={type:o,default:t[i]}:o.default=t[i]:null===o&&(n[i]={default:t[i]})}return n}function kn(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=ln(t._renderChildren,r),e.$scopedSlots=n?hn(e.$parent,n.data.scopedSlots,e.$slots):i,e._c=function(t,n,i,r){return Ln(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return Ln(e,t,n,i,r,!0)};var o=n&&n.data;Be(e,"$attrs",o&&o.attrs||i,null,!0),Be(e,"$listeners",t._parentListeners||i,null,!0)}var Mn=null;function Tn(e){sn(e.prototype),e.prototype.$nextTick=function(e){return Qn(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,o=n._parentVnode;o&&t._isMounted&&(t.$scopedSlots=hn(t.$parent,o.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&bn(t._slotsProxy,t.$scopedSlots)),t.$vnode=o;try{ve(t),Mn=t,e=i.call(t._renderProxy,t.$createElement)}catch(rl){Bn(rl,t,"render"),e=t._vnode}finally{Mn=null,ve()}return r(e)&&1===e.length&&(e=e[0]),e instanceof ye||(e=be()),e.parent=o,e}}function En(e,t){return(e.__esModule||pe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),h(e)?t.extend(e):e}function Dn(e,t,n,i,r){var o=be();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}function Pn(e,t){if(s(e.error)&&a(e.errorComp))return e.errorComp;if(a(e.resolved))return e.resolved;var n=Mn;if(n&&a(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),s(e.loading)&&a(e.loadingComp))return e.loadingComp;if(n&&!a(e.owners)){var i=e.owners=[n],r=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return _(i,n)}));var c=function(e){for(var t=0,n=i.length;t<n;t++)i[t].$forceUpdate();e&&(i.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},d=j((function(n){e.resolved=En(n,t),r?i.length=0:c(!0)})),f=j((function(t){a(e.errorComp)&&(e.error=!0,c(!0))})),p=e(d,f);return h(p)&&(m(p)?o(e.resolved)&&p.then(d,f):m(p.component)&&(p.component.then(d,f),a(p.error)&&(e.errorComp=En(p.error,t)),a(p.loading)&&(e.loadingComp=En(p.loading,t),0===p.delay?e.loading=!0:l=setTimeout((function(){l=null,o(e.resolved)&&o(e.error)&&(e.loading=!0,c(!1))}),p.delay||200)),a(p.timeout)&&(u=setTimeout((function(){u=null,o(e.resolved)&&f(null)}),p.timeout)))),r=!1,e.loading?e.loadingComp:e.resolved}}function On(e){if(r(e))for(var t=0;t<e.length;t++){var n=e[t];if(a(n)&&(a(n.componentOptions)||cn(n)))return n}}var In=1,An=2;function Ln(e,t,n,i,o,a){return(r(n)||u(n))&&(o=i,i=n,n=void 0),s(a)&&(o=An),Nn(e,t,n,i,o)}function Nn(e,t,n,i,o){if(a(n)&&a(n.__ob__))return be();if(a(n)&&a(n.is)&&(t=n.is),!t)return be();var s,l;if(r(i)&&c(i[0])&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),o===An?i=Ht(i):o===In&&(i=Vt(i)),"string"===typeof t){var u=void 0;l=e.$vnode&&e.$vnode.ns||q.getTagNamespace(t),s=q.isReservedTag(t)?new ye(q.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!a(u=Pr(e.$options,"components",t))?new ye(t,n,i,void 0,void 0,e):fr(u,n,e,i,t)}else s=fr(t,n,e,i);return r(s)?s:a(s)?(a(l)&&Rn(s,l),a(n)&&zn(n),s):be()}function Rn(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),a(e.children))for(var i=0,r=e.children.length;i<r;i++){var l=e.children[i];a(l.tag)&&(o(l.ns)||s(n)&&"svg"!==l.tag)&&Rn(l,t,n)}}function zn(e){h(e.style)&&xi(e.style),h(e.class)&&xi(e.class)}function $n(e,t,n){return Ln(ge,e,t,n,2,!0)}function Bn(e,t,n){Te();try{if(t){var i=t;while(i=i.$parent){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{var a=!1===r[o].call(i,e,t,n);if(a)return}catch(rl){jn(rl,i,"errorCaptured hook")}}}jn(e,t,n)}finally{Ee()}}function Fn(e,t,n,i,r){var o;try{o=n?e.apply(t,n):e.call(t),o&&!o._isVue&&m(o)&&!o._handled&&(o.catch((function(e){return Bn(e,i,r+" (Promise/async)")})),o._handled=!0)}catch(rl){Bn(rl,i,r)}return o}function jn(e,t,n){if(q.errorHandler)try{return q.errorHandler.call(null,e,t,n)}catch(rl){rl!==e&&Vn(rl,null,"config.errorHandler")}Vn(e,t,n)}function Vn(e,t,n){if(!J||"undefined"===typeof console)throw e;console.error(e)}var Hn,Wn=!1,Gn=[],qn=!1;function Un(){qn=!1;var e=Gn.slice(0);Gn.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&de(Promise)){var Yn=Promise.resolve();Hn=function(){Yn.then(Un),re&&setTimeout(R)},Wn=!0}else if(te||"undefined"===typeof MutationObserver||!de(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Hn="undefined"!==typeof setImmediate&&de(setImmediate)?function(){setImmediate(Un)}:function(){setTimeout(Un,0)};else{var Xn=1,Zn=new MutationObserver(Un),Kn=document.createTextNode(String(Xn));Zn.observe(Kn,{characterData:!0}),Hn=function(){Xn=(Xn+1)%2,Kn.data=String(Xn)},Wn=!0}function Qn(e,t){var n;if(Gn.push((function(){if(e)try{e.call(t)}catch(rl){Bn(rl,t,"nextTick")}else n&&n(t)})),qn||(qn=!0,Hn()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}function Jn(e){if(void 0===e&&(e="$style"),!ge)return i;var t=ge[e];return t||i}function ei(e){if(J){var t=ge;t&&wt((function(){var n=t.$el,i=e(t,t._setupProxy);if(n&&1===n.nodeType){var r=n.style;for(var o in i)r.setProperty("--".concat(o),i[o])}}))}}function ti(e){c(e)&&(e={loader:e});var t=e.loader,n=e.loadingComponent,i=e.errorComponent,r=e.delay,o=void 0===r?200:r,a=e.timeout,s=(e.suspensible,e.onError);var l=null,u=0,h=function(){return u++,l=null,d()},d=function(){var e;return l||(e=l=t().catch((function(e){if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise((function(t,n){var i=function(){return t(h())},r=function(){return n(e)};s(e,i,r,u+1)}));throw e})).then((function(t){return e!==l&&l?l:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),t)})))};return function(){var e=d();return{component:e,delay:o,timeout:a,error:i,loading:n}}}function ni(e){return function(t,n){if(void 0===n&&(n=ge),n)return ii(n,e,t)}}function ii(e,t,n){var i=e.$options;i[t]=wr(i[t],n)}var ri=ni("beforeMount"),oi=ni("mounted"),ai=ni("beforeUpdate"),si=ni("updated"),li=ni("beforeDestroy"),ui=ni("destroyed"),ci=ni("activated"),hi=ni("deactivated"),di=ni("serverPrefetch"),fi=ni("renderTracked"),pi=ni("renderTriggered"),gi=ni("errorCaptured");function mi(e,t){void 0===t&&(t=ge),gi(e,t)}var vi="2.7.14";function yi(e){return e}var bi=new fe;function xi(e){return _i(e,bi),bi.clear(),e}function _i(e,t){var n,i,o=r(e);if(!(!o&&!h(e)||e.__v_skip||Object.isFrozen(e)||e instanceof ye)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o){n=e.length;while(n--)_i(e[n],t)}else if(Je(e))_i(e.value,t);else{i=Object.keys(e),n=i.length;while(n--)_i(e[i[n]],t)}}}var wi,Ci=0,Si=function(){function e(e,t,n,i,r){Pt(this,St&&!St._vm?St:e?e._scope:void 0),(this.vm=e)&&r&&(e._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ci,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new fe,this.newDepIds=new fe,this.expression="",c(t)?this.getter=t:(this.getter=K(t),this.getter||(this.getter=R)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){var e;Te(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(rl){if(!this.user)throw rl;Bn(rl,t,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&xi(e),Ee(),this.cleanupDeps()}return e},e.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},e.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():nr(this)},e.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||h(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');Fn(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&_(this.vm._scope.effects,this),this.active){var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}();function ki(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Di(e,t)}function Mi(e,t){wi.$on(e,t)}function Ti(e,t){wi.$off(e,t)}function Ei(e,t){var n=wi;return function i(){var r=t.apply(null,arguments);null!==r&&n.$off(e,i)}}function Di(e,t,n){wi=e,$t(t,n||{},Mi,Ti,Ei,e),wi=void 0}function Pi(e){var t=/^hook:/;e.prototype.$on=function(e,n){var i=this;if(r(e))for(var o=0,a=e.length;o<a;o++)i.$on(e[o],n);else(i._events[e]||(i._events[e]=[])).push(n),t.test(e)&&(i._hasHookEvent=!0);return i},e.prototype.$once=function(e,t){var n=this;function i(){n.$off(e,i),t.apply(n,arguments)}return i.fn=t,n.$on(e,i),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(e)){for(var i=0,o=e.length;i<o;i++)n.$off(e[i],t);return n}var a,s=n._events[e];if(!s)return n;if(!t)return n._events[e]=null,n;var l=s.length;while(l--)if(a=s[l],a===t||a.fn===t){s.splice(l,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?A(n):n;for(var i=A(arguments,1),r='event handler for "'.concat(e,'"'),o=0,a=n.length;o<a;o++)Fn(n[o],t,i,t,r)}return t}}var Oi=null;function Ii(e){var t=Oi;return Oi=e,function(){Oi=t}}function Ai(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Li(e){e.prototype._update=function(e,t){var n=this,i=n.$el,r=n._vnode,o=Ii(n);n._vnode=e,n.$el=r?n.__patch__(r,e):n.__patch__(n.$el,e,t,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);var a=n;while(a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode)a.$parent.$el=a.$el,a=a.$parent},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Fi(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||_(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Fi(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Ni(e,t,n){var i;e.$el=t,e.$options.render||(e.$options.render=be),Fi(e,"beforeMount"),i=function(){e._update(e._render(),n)};var r={before:function(){e._isMounted&&!e._isDestroyed&&Fi(e,"beforeUpdate")}};new Si(e,i,R,r,!0),n=!1;var o=e._preWatchers;if(o)for(var a=0;a<o.length;a++)o[a].run();return null==e.$vnode&&(e._isMounted=!0,Fi(e,"mounted")),e}function Ri(e,t,n,r,o){var a=r.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key||!a&&e.$scopedSlots.$key),u=!!(o||e.$options._renderChildren||l),c=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o;var h=r.data.attrs||i;e._attrsProxy&&mn(e._attrsProxy,h,c.data&&c.data.attrs||i,e,"$attrs")&&(u=!0),e.$attrs=h,n=n||i;var d=e.$options._parentListeners;if(e._listenersProxy&&mn(e._listenersProxy,n,d||i,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,Di(e,n,d),t&&e.$options.props){Ne(!1);for(var f=e._props,p=e.$options._propKeys||[],g=0;g<p.length;g++){var m=p[g],v=e.$options.props;f[m]=Or(m,v,t,e)}Ne(!0),e.$options.propsData=t}u&&(e.$slots=ln(o,r.context),e.$forceUpdate())}function zi(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function $i(e,t){if(t){if(e._directInactive=!1,zi(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)$i(e.$children[n]);Fi(e,"activated")}}function Bi(e,t){if((!t||(e._directInactive=!0,!zi(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Bi(e.$children[n]);Fi(e,"deactivated")}}function Fi(e,t,n,i){void 0===i&&(i=!0),Te();var r=ge;i&&ve(e);var o=e.$options[t],a="".concat(t," hook");if(o)for(var s=0,l=o.length;s<l;s++)Fn(o[s],e,n||null,e,a);e._hasHookEvent&&e.$emit("hook:"+t),i&&ve(r),Ee()}var ji=[],Vi=[],Hi={},Wi=!1,Gi=!1,qi=0;function Ui(){qi=ji.length=Vi.length=0,Hi={},Wi=Gi=!1}var Yi=0,Xi=Date.now;if(J&&!te){var Zi=window.performance;Zi&&"function"===typeof Zi.now&&Xi()>document.createEvent("Event").timeStamp&&(Xi=function(){return Zi.now()})}var Ki=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Qi(){var e,t;for(Yi=Xi(),Gi=!0,ji.sort(Ki),qi=0;qi<ji.length;qi++)e=ji[qi],e.before&&e.before(),t=e.id,Hi[t]=null,e.run();var n=Vi.slice(),i=ji.slice();Ui(),tr(n),Ji(i),Se(),he&&q.devtools&&he.emit("flush")}function Ji(e){var t=e.length;while(t--){var n=e[t],i=n.vm;i&&i._watcher===n&&i._isMounted&&!i._isDestroyed&&Fi(i,"updated")}}function er(e){e._inactive=!1,Vi.push(e)}function tr(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,$i(e[t],!0)}function nr(e){var t=e.id;if(null==Hi[t]&&(e!==ke.target||!e.noRecurse)){if(Hi[t]=!0,Gi){var n=ji.length-1;while(n>qi&&ji[n].id>e.id)n--;ji.splice(n+1,0,e)}else ji.push(e);Wi||(Wi=!0,Qn(Qi))}}function ir(e){var t=e.$options.provide;if(t){var n=c(t)?t.call(e):t;if(!h(n))return;for(var i=Lt(e),r=pe?Reflect.ownKeys(n):Object.keys(n),o=0;o<r.length;o++){var a=r[o];Object.defineProperty(i,a,Object.getOwnPropertyDescriptor(n,a))}}}function rr(e){var t=or(e.$options.inject,e);t&&(Ne(!1),Object.keys(t).forEach((function(n){Be(e,n,t[n])})),Ne(!0))}function or(e,t){if(e){for(var n=Object.create(null),i=pe?Reflect.ownKeys(e):Object.keys(e),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){var a=e[o].from;if(a in t._provided)n[o]=t._provided[a];else if("default"in e[o]){var s=e[o].default;n[o]=c(s)?s.call(t):s}else 0}}return n}}function ar(e,t,n,o,a){var l,u=this,c=a.options;C(o,"_uid")?(l=Object.create(o),l._original=o):(l=o,o=o._original);var h=s(c._compiled),d=!h;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||i,this.injections=or(c.inject,o),this.slots=function(){return u.$slots||hn(o,e.scopedSlots,u.$slots=ln(n,o)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return hn(o,e.scopedSlots,this.slots())}}),h&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=hn(o,e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,i){var a=Ln(l,e,t,n,i,d);return a&&!r(a)&&(a.fnScopeId=c._scopeId,a.fnContext=o),a}:this._c=function(e,t,n,i){return Ln(l,e,t,n,i,d)}}function sr(e,t,n,o,s){var l=e.options,u={},c=l.props;if(a(c))for(var h in c)u[h]=Or(h,c,t||i);else a(n.attrs)&&ur(u,n.attrs),a(n.props)&&ur(u,n.props);var d=new ar(n,u,s,o,e),f=l.render.call(null,d._c,d);if(f instanceof ye)return lr(f,n,d.parent,l,d);if(r(f)){for(var p=Ht(f)||[],g=new Array(p.length),m=0;m<p.length;m++)g[m]=lr(p[m],n,d.parent,l,d);return g}}function lr(e,t,n,i,r){var o=_e(e);return o.fnContext=n,o.fnOptions=i,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function ur(e,t){for(var n in t)e[M(n)]=t[n]}function cr(e){return e.name||e.__name||e._componentTag}sn(ar.prototype);var hr={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;hr.prepatch(n,n)}else{var i=e.componentInstance=pr(e,Oi);i.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,i=t.componentInstance=e.componentInstance;Ri(i,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Fi(n,"mounted")),e.data.keepAlive&&(t._isMounted?er(n):$i(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Bi(t,!0):t.$destroy())}},dr=Object.keys(hr);function fr(e,t,n,i,r){if(!o(e)){var l=n.$options._base;if(h(e)&&(e=l.extend(e)),"function"===typeof e){var u;if(o(e.cid)&&(u=e,e=Pn(u,l),void 0===e))return Dn(u,t,n,i,r);t=t||{},to(e),a(t.model)&&vr(e.options,t);var c=Ft(t,e,r);if(s(e.options.functional))return sr(e,c,t,n,i);var d=t.on;if(t.on=t.nativeOn,s(e.options.abstract)){var f=t.slot;t={},f&&(t.slot=f)}gr(t);var p=cr(e.options)||r,g=new ye("vue-component-".concat(e.cid).concat(p?"-".concat(p):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:c,listeners:d,tag:r,children:i},u);return g}}}function pr(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;return a(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(n)}function gr(e){for(var t=e.hook||(e.hook={}),n=0;n<dr.length;n++){var i=dr[n],r=t[i],o=hr[i];r===o||r&&r._merged||(t[i]=r?mr(o,r):o)}}function mr(e,t){var n=function(n,i){e(n,i),t(n,i)};return n._merged=!0,n}function vr(e,t){var n=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),s=o[i],l=t.model.callback;a(s)?(r(s)?-1===s.indexOf(l):s!==l)&&(o[i]=[l].concat(s)):o[i]=l}var yr=R,br=q.optionMergeStrategies;function xr(e,t,n){if(void 0===n&&(n=!0),!t)return e;for(var i,r,o,a=pe?Reflect.ownKeys(t):Object.keys(t),s=0;s<a.length;s++)i=a[s],"__ob__"!==i&&(r=e[i],o=t[i],n&&C(e,i)?r!==o&&f(r)&&f(o)&&xr(r,o):Fe(e,i,o));return e}function _r(e,t,n){return n?function(){var i=c(t)?t.call(n,n):t,r=c(e)?e.call(n,n):e;return i?xr(i,r):r}:t?e?function(){return xr(c(t)?t.call(this,this):t,c(e)?e.call(this,this):e)}:t:e}function wr(e,t){var n=t?e?e.concat(t):r(t)?t:[t]:e;return n?Cr(n):n}function Cr(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function Sr(e,t,n,i){var r=Object.create(e||null);return t?L(r,t):r}br.data=function(e,t,n){return n?_r(e,t,n):t&&"function"!==typeof t?e:_r(e,t)},G.forEach((function(e){br[e]=wr})),W.forEach((function(e){br[e+"s"]=Sr})),br.watch=function(e,t,n,i){if(e===se&&(e=void 0),t===se&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var a in L(o,e),t){var s=o[a],l=t[a];s&&!r(s)&&(s=[s]),o[a]=s?s.concat(l):r(l)?l:[l]}return o},br.props=br.methods=br.inject=br.computed=function(e,t,n,i){if(!e)return t;var r=Object.create(null);return L(r,e),t&&L(r,t),r},br.provide=function(e,t){return e?function(){var n=Object.create(null);return xr(n,c(e)?e.call(this):e),t&&xr(n,c(t)?t.call(this):t,!1),n}:t};var kr=function(e,t){return void 0===t?e:t};function Mr(e,t){var n=e.props;if(n){var i,o,a,s={};if(r(n)){i=n.length;while(i--)o=n[i],"string"===typeof o&&(a=M(o),s[a]={type:null})}else if(f(n))for(var l in n)o=n[l],a=M(l),s[a]=f(o)?o:{type:o};else 0;e.props=s}}function Tr(e,t){var n=e.inject;if(n){var i=e.inject={};if(r(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(f(n))for(var a in n){var s=n[a];i[a]=f(s)?L({from:a},s):{from:s}}else 0}}function Er(e){var t=e.directives;if(t)for(var n in t){var i=t[n];c(i)&&(t[n]={bind:i,update:i})}}function Dr(e,t,n){if(c(t)&&(t=t.options),Mr(t,n),Tr(t,n),Er(t),!t._base&&(t.extends&&(e=Dr(e,t.extends,n)),t.mixins))for(var i=0,r=t.mixins.length;i<r;i++)e=Dr(e,t.mixins[i],n);var o,a={};for(o in e)s(o);for(o in t)C(e,o)||s(o);function s(i){var r=br[i]||kr;a[i]=r(e[i],t[i],n,i)}return a}function Pr(e,t,n,i){if("string"===typeof n){var r=e[t];if(C(r,n))return r[n];var o=M(n);if(C(r,o))return r[o];var a=T(o);if(C(r,a))return r[a];var s=r[n]||r[o]||r[a];return s}}function Or(e,t,n,i){var r=t[e],o=!C(n,e),a=n[e],s=Rr(Boolean,r.type);if(s>-1)if(o&&!C(r,"default"))a=!1;else if(""===a||a===D(e)){var l=Rr(String,r.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=Ir(i,r,e);var u=Le;Ne(!0),$e(a),Ne(u)}return a}function Ir(e,t,n){if(C(t,"default")){var i=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:c(i)&&"Function"!==Lr(t.type)?i.call(e):i}}var Ar=/^\s*function (\w+)/;function Lr(e){var t=e&&e.toString().match(Ar);return t?t[1]:""}function Nr(e,t){return Lr(e)===Lr(t)}function Rr(e,t){if(!r(t))return Nr(t,e)?0:-1;for(var n=0,i=t.length;n<i;n++)if(Nr(t[n],e))return n;return-1}var zr={enumerable:!0,configurable:!0,get:R,set:R};function $r(e,t,n){zr.get=function(){return this[t][n]},zr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,zr)}function Br(e){var t=e.$options;if(t.props&&Fr(e,t.props),pn(e),t.methods&&Yr(e,t.methods),t.data)jr(e);else{var n=$e(e._data={});n&&n.vmCount++}t.computed&&Wr(e,t.computed),t.watch&&t.watch!==se&&Xr(e,t.watch)}function Fr(e,t){var n=e.$options.propsData||{},i=e._props=We({}),r=e.$options._propKeys=[],o=!e.$parent;o||Ne(!1);var a=function(o){r.push(o);var a=Or(o,t,n,e);Be(i,o,a),o in e||$r(e,"_props",o)};for(var s in t)a(s);Ne(!0)}function jr(e){var t=e.$options.data;t=e._data=c(t)?Vr(t,e):t||{},f(t)||(t={});var n=Object.keys(t),i=e.$options.props,r=(e.$options.methods,n.length);while(r--){var o=n[r];0,i&&C(i,o)||Y(o)||$r(e,"_data",o)}var a=$e(t);a&&a.vmCount++}function Vr(e,t){Te();try{return e.call(t,t)}catch(rl){return Bn(rl,t,"data()"),{}}finally{Ee()}}var Hr={lazy:!0};function Wr(e,t){var n=e._computedWatchers=Object.create(null),i=ce();for(var r in t){var o=t[r],a=c(o)?o:o.get;0,i||(n[r]=new Si(e,a||R,R,Hr)),r in e||Gr(e,r,o)}}function Gr(e,t,n){var i=!ce();c(n)?(zr.get=i?qr(t):Ur(n),zr.set=R):(zr.get=n.get?i&&!1!==n.cache?qr(t):Ur(n.get):R,zr.set=n.set||R),Object.defineProperty(e,t,zr)}function qr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ke.target&&t.depend(),t.value}}function Ur(e){return function(){return e.call(this,this)}}function Yr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?R:I(t[n],e)}function Xr(e,t){for(var n in t){var i=t[n];if(r(i))for(var o=0;o<i.length;o++)Zr(e,n,i[o]);else Zr(e,n,i)}}function Zr(e,t,n,i){return f(n)&&(i=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,i)}function Kr(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Fe,e.prototype.$delete=je,e.prototype.$watch=function(e,t,n){var i=this;if(f(t))return Zr(i,e,t,n);n=n||{},n.user=!0;var r=new Si(i,e,t,n);if(n.immediate){var o='callback for immediate watcher "'.concat(r.expression,'"');Te(),Fn(t,i,[r.value],i,o),Ee()}return function(){r.teardown()}}}var Qr=0;function Jr(e){e.prototype._init=function(e){var t=this;t._uid=Qr++,t._isVue=!0,t.__v_skip=!0,t._scope=new Et(!0),t._scope._vm=!0,e&&e._isComponent?eo(t,e):t.$options=Dr(to(t.constructor),e||{},t),t._renderProxy=t,t._self=t,Ai(t),ki(t),kn(t),Fi(t,"beforeCreate",void 0,!1),rr(t),Br(t),ir(t),Fi(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function eo(e,t){var n=e.$options=Object.create(e.constructor.options),i=t._parentVnode;n.parent=t.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function to(e){var t=e.options;if(e.super){var n=to(e.super),i=e.superOptions;if(n!==i){e.superOptions=n;var r=no(e);r&&L(e.extendOptions,r),t=e.options=Dr(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function no(e){var t,n=e.options,i=e.sealedOptions;for(var r in n)n[r]!==i[r]&&(t||(t={}),t[r]=n[r]);return t}function io(e){this._init(e)}function ro(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=A(arguments,1);return n.unshift(this),c(e.install)?e.install.apply(e,n):c(e)&&e.apply(null,n),t.push(e),this}}function oo(e){e.mixin=function(e){return this.options=Dr(this.options,e),this}}function ao(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var o=cr(e)||cr(n.options);var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Dr(n.options,e),a["super"]=n,a.options.props&&so(a),a.options.computed&&lo(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,W.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=L({},a.options),r[i]=a,a}}function so(e){var t=e.options.props;for(var n in t)$r(e.prototype,"_props",n)}function lo(e){var t=e.options.computed;for(var n in t)Gr(e.prototype,n,t[n])}function uo(e){W.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&f(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&c(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function co(e){return e&&(cr(e.Ctor.options)||e.tag)}function ho(e,t){return r(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function fo(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!t(s)&&po(n,o,i,r)}}}function po(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,_(n,t)}Jr(io),Kr(io),Pi(io),Li(io),Tn(io);var go=[String,RegExp,Array],mo={name:"keep-alive",abstract:!0,props:{include:go,exclude:go,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,i=e.vnodeToCache,r=e.keyToCache;if(i){var o=i.tag,a=i.componentInstance,s=i.componentOptions;t[r]={name:co(s),tag:o,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&po(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)po(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){fo(e,(function(e){return ho(t,e)}))})),this.$watch("exclude",(function(t){fo(e,(function(e){return!ho(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=On(e),n=t&&t.componentOptions;if(n){var i=co(n),r=this,o=r.include,a=r.exclude;if(o&&(!i||!ho(o,i))||a&&i&&ho(a,i))return t;var s=this,l=s.cache,u=s.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;l[c]?(t.componentInstance=l[c].componentInstance,_(u,c),u.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}},vo={KeepAlive:mo};function yo(e){var t={get:function(){return q}};Object.defineProperty(e,"config",t),e.util={warn:yr,extend:L,mergeOptions:Dr,defineReactive:Be},e.set=Fe,e.delete=je,e.nextTick=Qn,e.observable=function(e){return $e(e),e},e.options=Object.create(null),W.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,L(e.options.components,vo),ro(e),oo(e),ao(e),uo(e)}yo(io),Object.defineProperty(io.prototype,"$isServer",{get:ce}),Object.defineProperty(io.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(io,"FunctionalRenderContext",{value:ar}),io.version=vi;var bo=b("style,class"),xo=b("input,textarea,option,select,progress"),_o=function(e,t,n){return"value"===n&&xo(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},wo=b("contenteditable,draggable,spellcheck"),Co=b("events,caret,typing,plaintext-only"),So=function(e,t){return Do(t)||"false"===t?"false":"contenteditable"===e&&Co(t)?t:"true"},ko=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Mo="http://www.w3.org/1999/xlink",To=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Eo=function(e){return To(e)?e.slice(6,e.length):""},Do=function(e){return null==e||!1===e};function Po(e){var t=e.data,n=e,i=e;while(a(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(t=Oo(i.data,t));while(a(n=n.parent))n&&n.data&&(t=Oo(t,n.data));return Io(t.staticClass,t.class)}function Oo(e,t){return{staticClass:Ao(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Io(e,t){return a(e)||a(t)?Ao(e,Lo(t)):""}function Ao(e,t){return e?t?e+" "+t:e:t||""}function Lo(e){return Array.isArray(e)?No(e):h(e)?Ro(e):"string"===typeof e?e:""}function No(e){for(var t,n="",i=0,r=e.length;i<r;i++)a(t=Lo(e[i]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function Ro(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var zo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},$o=b("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,picture,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,blockquote,iframe,tfoot"),Bo=b("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Fo=function(e){return $o(e)||Bo(e)};function jo(e){return Bo(e)?"svg":"math"===e?"math":void 0}var Vo=Object.create(null);function Ho(e){if(!J)return!0;if(Fo(e))return!1;if(e=e.toLowerCase(),null!=Vo[e])return Vo[e];var t=document.createElement(e);return e.indexOf("-")>-1?Vo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Vo[e]=/HTMLUnknownElement/.test(t.toString())}var Wo=b("text,number,password,search,email,tel,url");function Go(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function qo(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Uo(e,t){return document.createElementNS(zo[e],t)}function Yo(e){return document.createTextNode(e)}function Xo(e){return document.createComment(e)}function Zo(e,t,n){e.insertBefore(t,n)}function Ko(e,t){e.removeChild(t)}function Qo(e,t){e.appendChild(t)}function Jo(e){return e.parentNode}function ea(e){return e.nextSibling}function ta(e){return e.tagName}function na(e,t){e.textContent=t}function ia(e,t){e.setAttribute(t,"")}var ra=Object.freeze({__proto__:null,createElement:qo,createElementNS:Uo,createTextNode:Yo,createComment:Xo,insertBefore:Zo,removeChild:Ko,appendChild:Qo,parentNode:Jo,nextSibling:ea,tagName:ta,setTextContent:na,setStyleScope:ia}),oa={create:function(e,t){aa(t)},update:function(e,t){e.data.ref!==t.data.ref&&(aa(e,!0),aa(t))},destroy:function(e){aa(e,!0)}};function aa(e,t){var n=e.data.ref;if(a(n)){var i=e.context,o=e.componentInstance||e.elm,s=t?null:o,l=t?void 0:o;if(c(n))Fn(n,i,[s],i,"template ref function");else{var u=e.data.refInFor,h="string"===typeof n||"number"===typeof n,d=Je(n),f=i.$refs;if(h||d)if(u){var p=h?f[n]:n.value;t?r(p)&&_(p,o):r(p)?p.includes(o)||p.push(o):h?(f[n]=[o],sa(i,n,f[n])):n.value=[o]}else if(h){if(t&&f[n]!==o)return;f[n]=l,sa(i,n,s)}else if(d){if(t&&n.value!==o)return;n.value=s}else 0}}}function sa(e,t,n){var i=e._setupState;i&&C(i,t)&&(Je(i[t])?i[t].value=n:i[t]=n)}var la=new ye("",{},[]),ua=["create","activate","update","remove","destroy"];function ca(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&ha(e,t)||s(e.isAsyncPlaceholder)&&o(t.asyncFactory.error))}function ha(e,t){if("input"!==e.tag)return!0;var n,i=a(n=e.data)&&a(n=n.attrs)&&n.type,r=a(n=t.data)&&a(n=n.attrs)&&n.type;return i===r||Wo(i)&&Wo(r)}function da(e,t,n){var i,r,o={};for(i=t;i<=n;++i)r=e[i].key,a(r)&&(o[r]=i);return o}function fa(e){var t,n,i={},l=e.modules,c=e.nodeOps;for(t=0;t<ua.length;++t)for(i[ua[t]]=[],n=0;n<l.length;++n)a(l[n][ua[t]])&&i[ua[t]].push(l[n][ua[t]]);function h(e){return new ye(c.tagName(e).toLowerCase(),{},[],void 0,e)}function d(e,t){function n(){0===--n.listeners&&f(e)}return n.listeners=t,n}function f(e){var t=c.parentNode(e);a(t)&&c.removeChild(t,e)}function p(e,t,n,i,r,o,l){if(a(e.elm)&&a(o)&&(e=o[l]=_e(e)),e.isRootInsert=!r,!g(e,t,n,i)){var u=e.data,h=e.children,d=e.tag;a(d)?(e.elm=e.ns?c.createElementNS(e.ns,d):c.createElement(d,e),C(e),x(e,h,t),a(u)&&w(e,t),y(n,e.elm,i)):s(e.isComment)?(e.elm=c.createComment(e.text),y(n,e.elm,i)):(e.elm=c.createTextNode(e.text),y(n,e.elm,i))}}function g(e,t,n,i){var r=e.data;if(a(r)){var o=a(e.componentInstance)&&r.keepAlive;if(a(r=r.hook)&&a(r=r.init)&&r(e,!1),a(e.componentInstance))return m(e,t),y(n,e.elm,i),s(o)&&v(e,t,n,i),!0}}function m(e,t){a(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,_(e)?(w(e,t),C(e)):(aa(e),t.push(e))}function v(e,t,n,r){var o,s=e;while(s.componentInstance)if(s=s.componentInstance._vnode,a(o=s.data)&&a(o=o.transition)){for(o=0;o<i.activate.length;++o)i.activate[o](la,s);t.push(s);break}y(n,e.elm,r)}function y(e,t,n){a(e)&&(a(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function x(e,t,n){if(r(t)){0;for(var i=0;i<t.length;++i)p(t[i],n,e.elm,null,!0,t,i)}else u(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function _(e){while(e.componentInstance)e=e.componentInstance._vnode;return a(e.tag)}function w(e,n){for(var r=0;r<i.create.length;++r)i.create[r](la,e);t=e.data.hook,a(t)&&(a(t.create)&&t.create(la,e),a(t.insert)&&n.push(e))}function C(e){var t;if(a(t=e.fnScopeId))c.setStyleScope(e.elm,t);else{var n=e;while(n)a(t=n.context)&&a(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent}a(t=Oi)&&t!==e.context&&t!==e.fnContext&&a(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function S(e,t,n,i,r,o){for(;i<=r;++i)p(n[i],o,e,t,!1,n,i)}function k(e){var t,n,r=e.data;if(a(r))for(a(t=r.hook)&&a(t=t.destroy)&&t(e),t=0;t<i.destroy.length;++t)i.destroy[t](e);if(a(t=e.children))for(n=0;n<e.children.length;++n)k(e.children[n])}function M(e,t,n){for(;t<=n;++t){var i=e[t];a(i)&&(a(i.tag)?(T(i),k(i)):f(i.elm))}}function T(e,t){if(a(t)||a(e.data)){var n,r=i.remove.length+1;for(a(t)?t.listeners+=r:t=d(e.elm,r),a(n=e.componentInstance)&&a(n=n._vnode)&&a(n.data)&&T(n,t),n=0;n<i.remove.length;++n)i.remove[n](e,t);a(n=e.data.hook)&&a(n=n.remove)?n(e,t):t()}else f(e.elm)}function E(e,t,n,i,r){var s,l,u,h,d=0,f=0,g=t.length-1,m=t[0],v=t[g],y=n.length-1,b=n[0],x=n[y],_=!r;while(d<=g&&f<=y)o(m)?m=t[++d]:o(v)?v=t[--g]:ca(m,b)?(P(m,b,i,n,f),m=t[++d],b=n[++f]):ca(v,x)?(P(v,x,i,n,y),v=t[--g],x=n[--y]):ca(m,x)?(P(m,x,i,n,y),_&&c.insertBefore(e,m.elm,c.nextSibling(v.elm)),m=t[++d],x=n[--y]):ca(v,b)?(P(v,b,i,n,f),_&&c.insertBefore(e,v.elm,m.elm),v=t[--g],b=n[++f]):(o(s)&&(s=da(t,d,g)),l=a(b.key)?s[b.key]:D(b,t,d,g),o(l)?p(b,i,e,m.elm,!1,n,f):(u=t[l],ca(u,b)?(P(u,b,i,n,f),t[l]=void 0,_&&c.insertBefore(e,u.elm,m.elm)):p(b,i,e,m.elm,!1,n,f)),b=n[++f]);d>g?(h=o(n[y+1])?null:n[y+1].elm,S(e,h,n,f,y,i)):f>y&&M(t,d,g)}function D(e,t,n,i){for(var r=n;r<i;r++){var o=t[r];if(a(o)&&ca(e,o))return r}}function P(e,t,n,r,l,u){if(e!==t){a(t.elm)&&a(r)&&(t=r[l]=_e(t));var h=t.elm=e.elm;if(s(e.isAsyncPlaceholder))a(t.asyncFactory.resolved)?A(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(s(t.isStatic)&&s(e.isStatic)&&t.key===e.key&&(s(t.isCloned)||s(t.isOnce)))t.componentInstance=e.componentInstance;else{var d,f=t.data;a(f)&&a(d=f.hook)&&a(d=d.prepatch)&&d(e,t);var p=e.children,g=t.children;if(a(f)&&_(t)){for(d=0;d<i.update.length;++d)i.update[d](e,t);a(d=f.hook)&&a(d=d.update)&&d(e,t)}o(t.text)?a(p)&&a(g)?p!==g&&E(h,p,g,n,u):a(g)?(a(e.text)&&c.setTextContent(h,""),S(h,null,g,0,g.length-1,n)):a(p)?M(p,0,p.length-1):a(e.text)&&c.setTextContent(h,""):e.text!==t.text&&c.setTextContent(h,t.text),a(f)&&a(d=f.hook)&&a(d=d.postpatch)&&d(e,t)}}}function O(e,t,n){if(s(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var I=b("attrs,class,staticClass,staticStyle,key");function A(e,t,n,i){var r,o=t.tag,l=t.data,u=t.children;if(i=i||l&&l.pre,t.elm=e,s(t.isComment)&&a(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(a(l)&&(a(r=l.hook)&&a(r=r.init)&&r(t,!0),a(r=t.componentInstance)))return m(t,n),!0;if(a(o)){if(a(u))if(e.hasChildNodes())if(a(r=l)&&a(r=r.domProps)&&a(r=r.innerHTML)){if(r!==e.innerHTML)return!1}else{for(var c=!0,h=e.firstChild,d=0;d<u.length;d++){if(!h||!A(h,u[d],n,i)){c=!1;break}h=h.nextSibling}if(!c||h)return!1}else x(t,u,n);if(a(l)){var f=!1;for(var p in l)if(!I(p)){f=!0,w(t,n);break}!f&&l["class"]&&xi(l["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,r){if(!o(t)){var l=!1,u=[];if(o(e))l=!0,p(t,u);else{var d=a(e.nodeType);if(!d&&ca(e,t))P(e,t,u,null,null,r);else{if(d){if(1===e.nodeType&&e.hasAttribute(H)&&(e.removeAttribute(H),n=!0),s(n)&&A(e,t,u))return O(t,u,!0),e;e=h(e)}var f=e.elm,g=c.parentNode(f);if(p(t,u,f._leaveCb?null:g,c.nextSibling(f)),a(t.parent)){var m=t.parent,v=_(t);while(m){for(var y=0;y<i.destroy.length;++y)i.destroy[y](m);if(m.elm=t.elm,v){for(var b=0;b<i.create.length;++b)i.create[b](la,m);var x=m.data.hook.insert;if(x.merged)for(var w=1;w<x.fns.length;w++)x.fns[w]()}else aa(m);m=m.parent}}a(g)?M([e],0,0):a(e.tag)&&k(e)}}return O(t,u,l),t.elm}a(e)&&k(e)}}var pa={create:ga,update:ga,destroy:function(e){ga(e,la)}};function ga(e,t){(e.data.directives||t.data.directives)&&ma(e,t)}function ma(e,t){var n,i,r,o=e===la,a=t===la,s=ya(e.data.directives,e.context),l=ya(t.data.directives,t.context),u=[],c=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,xa(r,"update",t,e),r.def&&r.def.componentUpdated&&c.push(r)):(xa(r,"bind",t,e),r.def&&r.def.inserted&&u.push(r));if(u.length){var h=function(){for(var n=0;n<u.length;n++)xa(u[n],"inserted",t,e)};o?Bt(t,"insert",h):h()}if(c.length&&Bt(t,"postpatch",(function(){for(var n=0;n<c.length;n++)xa(c[n],"componentUpdated",t,e)})),!o)for(n in s)l[n]||xa(s[n],"unbind",e,e,a)}var va=Object.create(null);function ya(e,t){var n,i,r=Object.create(null);if(!e)return r;for(n=0;n<e.length;n++){if(i=e[n],i.modifiers||(i.modifiers=va),r[ba(i)]=i,t._setupState&&t._setupState.__sfc){var o=i.def||Pr(t,"_setupState","v-"+i.name);i.def="function"===typeof o?{bind:o,update:o}:o}i.def=i.def||Pr(t.$options,"directives",i.name,!0)}return r}function ba(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function xa(e,t,n,i,r){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,i,r)}catch(rl){Bn(rl,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var _a=[oa,pa];function wa(e,t){var n=t.componentOptions;if((!a(n)||!1!==n.Ctor.options.inheritAttrs)&&(!o(e.data.attrs)||!o(t.data.attrs))){var i,r,l,u=t.elm,c=e.data.attrs||{},h=t.data.attrs||{};for(i in(a(h.__ob__)||s(h._v_attr_proxy))&&(h=t.data.attrs=L({},h)),h)r=h[i],l=c[i],l!==r&&Ca(u,i,r,t.data.pre);for(i in(te||ie)&&h.value!==c.value&&Ca(u,"value",h.value),c)o(h[i])&&(To(i)?u.removeAttributeNS(Mo,Eo(i)):wo(i)||u.removeAttribute(i))}}function Ca(e,t,n,i){i||e.tagName.indexOf("-")>-1?Sa(e,t,n):ko(t)?Do(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):wo(t)?e.setAttribute(t,So(t,n)):To(t)?Do(n)?e.removeAttributeNS(Mo,Eo(t)):e.setAttributeNS(Mo,t,n):Sa(e,t,n)}function Sa(e,t,n){if(Do(n))e.removeAttribute(t);else{if(te&&!ne&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var ka={create:wa,update:wa};function Ma(e,t){var n=t.elm,i=t.data,r=e.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var s=Po(t),l=n._transitionClasses;a(l)&&(s=Ao(s,Lo(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ta,Ea={create:Ma,update:Ma},Da="__r",Pa="__c";function Oa(e){if(a(e[Da])){var t=te?"change":"input";e[t]=[].concat(e[Da],e[t]||[]),delete e[Da]}a(e[Pa])&&(e.change=[].concat(e[Pa],e.change||[]),delete e[Pa])}function Ia(e,t,n){var i=Ta;return function r(){var o=t.apply(null,arguments);null!==o&&Na(e,r,n,i)}}var Aa=Wn&&!(ae&&Number(ae[1])<=53);function La(e,t,n,i){if(Aa){var r=Yi,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Ta.addEventListener(e,t,le?{capture:n,passive:i}:n)}function Na(e,t,n,i){(i||Ta).removeEventListener(e,t._wrapper||t,n)}function Ra(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Ta=t.elm||e.elm,Oa(n),$t(n,i,La,Na,Ia,t.context),Ta=void 0}}var za,$a={create:Ra,update:Ra,destroy:function(e){return Ra(e,la)}};function Ba(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,i,r=t.elm,l=e.data.domProps||{},u=t.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=t.data.domProps=L({},u)),l)n in u||(r[n]="");for(n in u){if(i=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===l[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var c=o(i)?"":String(i);Fa(r,c)&&(r.value=c)}else if("innerHTML"===n&&Bo(r.tagName)&&o(r.innerHTML)){za=za||document.createElement("div"),za.innerHTML="<svg>".concat(i,"</svg>");var h=za.firstChild;while(r.firstChild)r.removeChild(r.firstChild);while(h.firstChild)r.appendChild(h.firstChild)}else if(i!==l[n])try{r[n]=i}catch(rl){}}}}function Fa(e,t){return!e.composing&&("OPTION"===e.tagName||ja(e,t)||Va(e,t))}function ja(e,t){var n=!0;try{n=document.activeElement!==e}catch(rl){}return n&&e.value!==t}function Va(e,t){var n=e.value,i=e._vModifiers;if(a(i)){if(i.number)return y(n)!==y(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var Ha={create:Ba,update:Ba},Wa=S((function(e){var t={},n=/;(?![^(]*\))/g,i=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Ga(e){var t=qa(e.style);return e.staticStyle?L(e.staticStyle,t):t}function qa(e){return Array.isArray(e)?N(e):"string"===typeof e?Wa(e):e}function Ua(e,t){var n,i={};if(t){var r=e;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=Ga(r.data))&&L(i,n)}(n=Ga(e.data))&&L(i,n);var o=e;while(o=o.parent)o.data&&(n=Ga(o.data))&&L(i,n);return i}var Ya,Xa=/^--/,Za=/\s*!important$/,Ka=function(e,t,n){if(Xa.test(t))e.style.setProperty(t,n);else if(Za.test(n))e.style.setProperty(D(t),n.replace(Za,""),"important");else{var i=Ja(t);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)e.style[i]=n[r];else e.style[i]=n}},Qa=["Webkit","Moz","ms"],Ja=S((function(e){if(Ya=Ya||document.createElement("div").style,e=M(e),"filter"!==e&&e in Ya)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Qa.length;n++){var i=Qa[n]+t;if(i in Ya)return i}}));function es(e,t){var n=t.data,i=e.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var r,s,l=t.elm,u=i.staticStyle,c=i.normalizedStyle||i.style||{},h=u||c,d=qa(t.data.style)||{};t.data.normalizedStyle=a(d.__ob__)?L({},d):d;var f=Ua(t,!0);for(s in h)o(f[s])&&Ka(l,s,"");for(s in f)r=f[s],r!==h[s]&&Ka(l,s,null==r?"":r)}}var ts={create:es,update:es},ns=/\s+/;function is(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ns).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function rs(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ns).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" ".concat(e.getAttribute("class")||""," "),i=" "+t+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function os(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&L(t,as(e.name||"v")),L(t,e),t}return"string"===typeof e?as(e):void 0}}var as=S((function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}})),ss=J&&!ne,ls="transition",us="animation",cs="transition",hs="transitionend",ds="animation",fs="animationend";ss&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(cs="WebkitTransition",hs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ds="WebkitAnimation",fs="webkitAnimationEnd"));var ps=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function gs(e){ps((function(){ps(e)}))}function ms(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),is(e,t))}function vs(e,t){e._transitionClasses&&_(e._transitionClasses,t),rs(e,t)}function ys(e,t,n){var i=xs(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===ls?hs:fs,l=0,u=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),o+1),e.addEventListener(s,c)}var bs=/\b(transform|all)(,|$)/;function xs(e,t){var n,i=window.getComputedStyle(e),r=(i[cs+"Delay"]||"").split(", "),o=(i[cs+"Duration"]||"").split(", "),a=_s(r,o),s=(i[ds+"Delay"]||"").split(", "),l=(i[ds+"Duration"]||"").split(", "),u=_s(s,l),c=0,h=0;t===ls?a>0&&(n=ls,c=a,h=o.length):t===us?u>0&&(n=us,c=u,h=l.length):(c=Math.max(a,u),n=c>0?a>u?ls:us:null,h=n?n===ls?o.length:l.length:0);var d=n===ls&&bs.test(i[cs+"Property"]);return{type:n,timeout:c,propCount:h,hasTransform:d}}function _s(e,t){while(e.length<t.length)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return ws(t)+ws(e[n])})))}function ws(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Cs(e,t){var n=e.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=os(e.data.transition);if(!o(i)&&!a(n._enterCb)&&1===n.nodeType){var r=i.css,s=i.type,l=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,f=i.appearClass,p=i.appearToClass,g=i.appearActiveClass,m=i.beforeEnter,v=i.enter,b=i.afterEnter,x=i.enterCancelled,_=i.beforeAppear,w=i.appear,C=i.afterAppear,S=i.appearCancelled,k=i.duration,M=Oi,T=Oi.$vnode;while(T&&T.parent)M=T.context,T=T.parent;var E=!M._isMounted||!e.isRootInsert;if(!E||w||""===w){var D=E&&f?f:l,P=E&&g?g:d,O=E&&p?p:u,I=E&&_||m,A=E&&c(w)?w:v,L=E&&C||b,N=E&&S||x,R=y(h(k)?k.enter:k);0;var z=!1!==r&&!ne,$=Ms(A),B=n._enterCb=j((function(){z&&(vs(n,O),vs(n,P)),B.cancelled?(z&&vs(n,D),N&&N(n)):L&&L(n),n._enterCb=null}));e.data.show||Bt(e,"insert",(function(){var t=n.parentNode,i=t&&t._pending&&t._pending[e.key];i&&i.tag===e.tag&&i.elm._leaveCb&&i.elm._leaveCb(),A&&A(n,B)})),I&&I(n),z&&(ms(n,D),ms(n,P),gs((function(){vs(n,D),B.cancelled||(ms(n,O),$||(ks(R)?setTimeout(B,R):ys(n,s,B)))}))),e.data.show&&(t&&t(),A&&A(n,B)),z||$||B()}}}function Ss(e,t){var n=e.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=os(e.data.transition);if(o(i)||1!==n.nodeType)return t();if(!a(n._leaveCb)){var r=i.css,s=i.type,l=i.leaveClass,u=i.leaveToClass,c=i.leaveActiveClass,d=i.beforeLeave,f=i.leave,p=i.afterLeave,g=i.leaveCancelled,m=i.delayLeave,v=i.duration,b=!1!==r&&!ne,x=Ms(f),_=y(h(v)?v.leave:v);0;var w=n._leaveCb=j((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),b&&(vs(n,u),vs(n,c)),w.cancelled?(b&&vs(n,l),g&&g(n)):(t(),p&&p(n)),n._leaveCb=null}));m?m(C):C()}function C(){w.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),d&&d(n),b&&(ms(n,l),ms(n,c),gs((function(){vs(n,l),w.cancelled||(ms(n,u),x||(ks(_)?setTimeout(w,_):ys(n,s,w)))}))),f&&f(n,w),b||x||w())}}function ks(e){return"number"===typeof e&&!isNaN(e)}function Ms(e){if(o(e))return!1;var t=e.fns;return a(t)?Ms(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ts(e,t){!0!==t.data.show&&Cs(t)}var Es=J?{create:Ts,activate:Ts,remove:function(e,t){!0!==e.data.show?Ss(e,t):t()}}:{},Ds=[ka,Ea,$a,Ha,ts,Es],Ps=Ds.concat(_a),Os=fa({nodeOps:ra,modules:Ps});ne&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&Bs(e,"input")}));var Is={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Bt(n,"postpatch",(function(){Is.componentUpdated(e,t,n)})):As(e,t,n.context),e._vOptions=[].map.call(e.options,Rs)):("textarea"===n.tag||Wo(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",zs),e.addEventListener("compositionend",$s),e.addEventListener("change",$s),ne&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){As(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,Rs);if(r.some((function(e,t){return!B(e,i[t])}))){var o=e.multiple?t.value.some((function(e){return Ns(e,r)})):t.value!==t.oldValue&&Ns(t.value,r);o&&Bs(e,"change")}}}};function As(e,t,n){Ls(e,t,n),(te||ie)&&setTimeout((function(){Ls(e,t,n)}),0)}function Ls(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],r)o=F(i,Rs(a))>-1,a.selected!==o&&(a.selected=o);else if(B(Rs(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function Ns(e,t){return t.every((function(t){return!B(t,e)}))}function Rs(e){return"_value"in e?e._value:e.value}function zs(e){e.target.composing=!0}function $s(e){e.target.composing&&(e.target.composing=!1,Bs(e.target,"input"))}function Bs(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Fs(e){return!e.componentInstance||e.data&&e.data.transition?e:Fs(e.componentInstance._vnode)}var js={bind:function(e,t,n){var i=t.value;n=Fs(n);var r=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,Cs(n,(function(){e.style.display=o}))):e.style.display=i?o:"none"},update:function(e,t,n){var i=t.value,r=t.oldValue;if(!i!==!r){n=Fs(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?Cs(n,(function(){e.style.display=e.__vOriginalDisplay})):Ss(n,(function(){e.style.display="none"}))):e.style.display=i?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}},Vs={model:Is,show:js},Hs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ws(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ws(On(t.children)):e}function Gs(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var i in r)t[M(i)]=r[i];return t}function qs(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Us(e){while(e=e.parent)if(e.data.transition)return!0}function Ys(e,t){return t.key===e.key&&t.tag===e.tag}var Xs=function(e){return e.tag||cn(e)},Zs=function(e){return"show"===e.name},Ks={name:"transition",props:Hs,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Xs),n.length)){0;var i=this.mode;0;var r=n[0];if(Us(this.$vnode))return r;var o=Ws(r);if(!o)return r;if(this._leaving)return qs(e,r);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:u(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Gs(this),l=this._vnode,c=Ws(l);if(o.data.directives&&o.data.directives.some(Zs)&&(o.data.show=!0),c&&c.data&&!Ys(o,c)&&!cn(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=L({},s);if("out-in"===i)return this._leaving=!0,Bt(h,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),qs(e,r);if("in-out"===i){if(cn(o))return l;var d,f=function(){d()};Bt(s,"afterEnter",f),Bt(s,"enterCancelled",f),Bt(h,"delayLeave",(function(e){d=e}))}}return r}}},Qs=L({tag:String,moveClass:String},Hs);delete Qs.mode;var Js={props:Qs,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Ii(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Gs(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){var u=[],c=[];for(s=0;s<i.length;s++){l=i[s];l.data.transition=a,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?u.push(l):c.push(l)}this.kept=e(t,null,u),this.removed=c}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(el),e.forEach(tl),e.forEach(nl),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,i=n.style;ms(n,t),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(hs,n._moveCb=function e(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(hs,e),n._moveCb=null,vs(n,t))})}})))},methods:{hasMove:function(e,t){if(!ss)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){rs(n,e)})),is(n,t),n.style.display="none",this.$el.appendChild(n);var i=xs(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function el(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function tl(e){e.data.newPos=e.elm.getBoundingClientRect()}function nl(e){var t=e.data.pos,n=e.data.newPos,i=t.left-n.left,r=t.top-n.top;if(i||r){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate(".concat(i,"px,").concat(r,"px)"),o.transitionDuration="0s"}}var il={Transition:Ks,TransitionGroup:Js};io.config.mustUseProp=_o,io.config.isReservedTag=Fo,io.config.isReservedAttr=bo,io.config.getTagNamespace=jo,io.config.isUnknownElement=Ho,L(io.options.directives,Vs),L(io.options.components,il),io.prototype.__patch__=J?Os:R,io.prototype.$mount=function(e,t){return e=e&&J?Go(e):void 0,Ni(this,e,t)},J&&setTimeout((function(){q.devtools&&he&&he.emit("init",io)}),0)},63822:function(e,t,n){"use strict";n.d(t,{OI:function(){return L},rn:function(){return A}});n(57658);
/*!
* vuex v3.6.2
* (c) 2021 Evan You
* @license MIT
*/
function i(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:i});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[i].concat(e.init):i,n.call(this,e)}}function i(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var r="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(n){i[n]=l(e[n],t)})),i}function u(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function h(e){return e&&"function"===typeof e.then}function d(e,t){return function(){return e(t)}}var f=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(e,t){this._children[e]=t},f.prototype.removeChild=function(e){delete this._children[e]},f.prototype.getChild=function(e){return this._children[e]},f.prototype.hasChild=function(e){return e in this._children},f.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},f.prototype.forEachChild=function(e){u(this._children,e)},f.prototype.forEachGetter=function(e){this._rawModule.getters&&u(this._rawModule.getters,e)},f.prototype.forEachAction=function(e){this._rawModule.actions&&u(this._rawModule.actions,e)},f.prototype.forEachMutation=function(e){this._rawModule.mutations&&u(this._rawModule.mutations,e)},Object.defineProperties(f.prototype,p);var g=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return void 0;m(e.concat(i),t.getChild(i),n.modules[i])}}g.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},g.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},g.prototype.update=function(e){m([],this.root,e)},g.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var r=new f(t,n);if(0===e.length)this.root=r;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],r)}t.modules&&u(t.modules,(function(t,r){i.register(e.concat(r),t,n)}))},g.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i&&i.runtime&&t.removeChild(n)},g.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var v;var y=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&I(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new g(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var r=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,n){return l.call(r,e,t,n)},this.strict=i;var u=this._modules.root.state;C(this,u,[],this._modules.root),w(this,u),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:v.config.devtools;c&&a(this)},b={state:{configurable:!0}};function x(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function _(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;C(e,n,[],e._modules.root,!0),w(e,n,t)}function w(e,t,n){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,o={};u(r,(function(t,n){o[n]=d(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=v.config.silent;v.config.silent=!0,e._vm=new v({data:{$$state:t},computed:o}),v.config.silent=a,e.strict&&D(e),i&&(n&&e._withCommit((function(){i._data.$$state=null})),v.nextTick((function(){return i.$destroy()})))}function C(e,t,n,i,r){var o=!n.length,a=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=i),!o&&!r){var s=P(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){v.set(s,l,i.state)}))}var u=i.context=S(e,a,n);i.forEachMutation((function(t,n){var i=a+n;M(e,i,t,u)})),i.forEachAction((function(t,n){var i=t.root?n:a+n,r=t.handler||t;T(e,i,r,u)})),i.forEachGetter((function(t,n){var i=a+n;E(e,i,t,u)})),i.forEachChild((function(i,o){C(e,t,n.concat(o),i,r)}))}function S(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){var o=O(n,i,r),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:i?e.commit:function(n,i,r){var o=O(n,i,r),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return P(e.state,n)}}}),r}function k(e,t){if(!e._makeLocalGettersCache[t]){var n={},i=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,i)===t){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function M(e,t,n,i){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){n.call(e,i.state,t)}))}function T(e,t,n,i){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return h(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function E(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function D(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function P(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function I(e){v&&e===v||(v=e,i(v))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var i=this,r=O(e,t,n),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,i.state)})))},y.prototype.dispatch=function(e,t){var n=this,i=O(e,t),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(u){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return x(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return x(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),C(this,this.state,e,this._modules.get(e),n.preserveState),w(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=P(t.state,e.slice(0,-1));v.delete(n,e[e.length-1])})),_(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),_(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var A=F((function(e,t){var n={};return $(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=j(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,t,n):t[r]},n[i].vuex=!0})),n})),L=F((function(e,t){var n={};return $(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.commit;if(e){var o=j(this.$store,"mapMutations",e);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n})),N=F((function(e,t){var n={};return $(t).forEach((function(t){var i=t.key,r=t.val;r=e+r,n[i]=function(){if(!e||j(this.$store,"mapGetters",e))return this.$store.getters[r]},n[i].vuex=!0})),n})),R=F((function(e,t){var n={};return $(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var o=j(this.$store,"mapActions",e);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n})),z=function(e){return{mapState:A.bind(null,e),mapGetters:N.bind(null,e),mapMutations:L.bind(null,e),mapActions:R.bind(null,e)}};function $(e){return B(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function B(e){return Array.isArray(e)||c(e)}function F(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function j(e,t,n){var i=e._modulesNamespaceMap[n];return i}function V(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var i=e.transformer;void 0===i&&(i=function(e){return e});var r=e.mutationTransformer;void 0===r&&(r=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var u=e.logActions;void 0===u&&(u=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var h=l(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,o){var a=l(o);if(n(e,h,a)){var s=G(),u=r(e),d="mutation "+e.type+s;H(c,d,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",i(a)),W(c)}h=a})),u&&e.subscribeAction((function(e,n){if(o(e,n)){var i=G(),r=a(e),s="action "+e.type+i;H(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",r),W(c)}})))}}function H(e,t,n){var i=n?e.groupCollapsed:e.group;try{i.call(e,t)}catch(r){e.log(t)}}function W(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function G(){var e=new Date;return" @ "+U(e.getHours(),2)+":"+U(e.getMinutes(),2)+":"+U(e.getSeconds(),2)+"."+U(e.getMilliseconds(),3)}function q(e,t){return new Array(t+1).join(e)}function U(e,t){return q("0",t-e.toString().length)+e}var Y={Store:y,install:I,version:"3.6.2",mapState:A,mapMutations:L,mapGetters:N,mapActions:R,createNamespacedHelpers:z,createLogger:V};t.ZP=Y},33666:function(e,t,n){var i=n(26469),r=n(65836),o=n(71082),a=n(4845),s=n(63122),l=function(e){o.call(this,e),r.call(this,e),a.call(this,e),this.id=e.id||i()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(e,t){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(e,t){},attrKV:function(e,t){if("position"===e||"scale"===e||"origin"===e){if(t){var n=this[e];n||(n=this[e]=[]),n[0]=t[0],n[1]=t[1]}}else this[e]=t},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(e,t){if("string"===typeof e)this.attrKV(e,t);else if(s.isObject(e))for(var n in e)e.hasOwnProperty(n)&&this.attrKV(n,e[n]);return this.dirty(!1),this},setClipPath:function(e){var t=this.__zr;t&&e.addSelfToZr(t),this.clipPath&&this.clipPath!==e&&this.removeClipPath(),this.clipPath=e,e.__zr=t,e.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var e=this.clipPath;e&&(e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this.clipPath&&this.clipPath.addSelfToZr(e)},removeSelfFromZr:function(e){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this.clipPath&&this.clipPath.removeSelfFromZr(e)}},s.mixin(l,a),s.mixin(l,o),s.mixin(l,r);var u=l;e.exports=u},58263:function(e,t,n){var i=n(63122),r=n(78244),o=n(78525),a=n(65836),s=n(13199),l=n(40271),u="silent";function c(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:h}}function h(){s.stop(this.event)}function d(){}d.prototype.dispose=function(){};var f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(e,t,n,i){a.call(this),this.storage=e,this.painter=t,this.painterRoot=i,n=n||new d,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,o.call(this),this.setHandlerProxy(n)};function g(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){var i,r=e;while(r){if(r.clipPath&&!r.clipPath.contain(t,n))return!1;r.silent&&(i=!0),r=r.parent}return!i||u}return!1}function m(e,t,n){var i=e.painter;return t<0||t>i.getWidth()||n<0||n>i.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(e){this.proxy&&this.proxy.dispose(),e&&(i.each(f,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},mousemove:function(e){var t=e.zrX,n=e.zrY,i=m(this,t,n),r=this._hovered,o=r.target;o&&!o.__zr&&(r=this.findHover(r.x,r.y),o=r.target);var a=this._hovered=i?{x:t,y:n}:this.findHover(t,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",e),this.dispatchToElement(a,"mousemove",e),s&&s!==o&&this.dispatchToElement(a,"mouseover",e)},mouseout:function(e){var t=e.zrEventControl,n=e.zrIsToLocalDOM;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&!n&&this.trigger("globalout",{type:"globalout",event:e})},resize:function(e){this._hovered={}},dispatch:function(e,t){var n=this[e];n&&n.call(this,t)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},dispatchToElement:function(e,t,n){e=e||{};var i=e.target;if(!i||!i.silent){var r="on"+t,o=c(t,e,n);while(i)if(i[r]&&(o.cancelBubble=i[r].call(i,o)),i.trigger(t,o),i=i.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer((function(e){"function"===typeof e[r]&&e[r].call(e,o),e.trigger&&e.trigger(t,o)})))}},findHover:function(e,t,n){for(var i=this.storage.getDisplayList(),r={x:e,y:t},o=i.length-1;o>=0;o--){var a;if(i[o]!==n&&!i[o].ignore&&(a=g(i[o],e,t))&&(!r.topTarget&&(r.topTarget=i[o]),a!==u)){r.target=i[o];break}}return r},processGesture:function(e,t){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===t&&n.clear();var i=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),i){var r=i.type;e.gestureEvent=r,this.dispatchToElement({target:i.target},r,i.event)}}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){p.prototype[e]=function(t){var n,i,o=t.zrX,a=t.zrY,s=m(this,o,a);if("mouseup"===e&&s||(n=this.findHover(o,a),i=n.target),"mousedown"===e)this._downEl=i,this._downPoint=[t.zrX,t.zrY],this._upEl=i;else if("mouseup"===e)this._upEl=i;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||r.dist(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}})),i.mixin(p,a),i.mixin(p,o);var v=p;e.exports=v},35110:function(e,t,n){var i=n(63122),r=n(52215),o=r.devicePixelRatio,a=n(82516),s=n(89872);function l(){return!1}function u(e,t,n){var r=i.createCanvas(),o=t.getWidth(),a=t.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=o+"px",s.height=a+"px",r.setAttribute("data-zr-dom-id",e)),r.width=o*n,r.height=a*n,r}var c=function(e,t,n){var r;n=n||o,"string"===typeof e?r=u(e,t,n):i.isObject(e)&&(r=e,e=r.id),this.id=e,this.dom=r;var a=r.style;a&&(r.onselectstart=l,a["-webkit-user-select"]="none",a["user-select"]="none",a["-webkit-touch-callout"]="none",a["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",a["padding"]=0,a["margin"]=0,a["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=t,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};c.prototype={constructor:c,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var e=this.dpr;this.domBack=u("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},resize:function(e,t){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=e+"px",r.height=t+"px"),i.width=e*n,i.height=t*n,o&&(o.width=e*n,o.height=t*n,1!==n&&this.ctxBack.scale(n,n))},clear:function(e,t){var n,i=this.dom,r=this.ctx,o=i.width,l=i.height,u=(t=t||this.clearColor,this.motionBlur&&!e),c=this.lastFrameAlpha,h=this.dpr;(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/h,l/h)),r.clearRect(0,0,o,l),t&&"transparent"!==t)&&(t.colorStops?(n=t.__canvasGradient||a.getGradient(r,t,{x:0,y:0,width:o,height:l}),t.__canvasGradient=n):t.image&&(n=s.prototype.getCanvasPattern.call(t,r)),r.save(),r.fillStyle=n||t,r.fillRect(0,0,o,l),r.restore());if(u){var d=this.domBack;r.save(),r.globalAlpha=c,r.drawImage(d,0,0,o,l),r.restore()}}};var h=c;e.exports=h},35960:function(e,t,n){n(57658);var i=n(52215),r=i.devicePixelRatio,o=n(63122),a=n(70083),s=n(46630),l=n(92757),u=n(35110),c=n(88983),h=n(45474),d=n(95160),f=1e5,p=314159,g=.01,m=.001;function v(e){return parseInt(e,10)}function y(e){return!!e&&(!!e.__builtin__||"function"===typeof e.resize&&"function"===typeof e.refresh)}var b=new s(0,0,0,0),x=new s(0,0,0,0);function _(e,t,n){return b.copy(e.getBoundingRect()),e.transform&&b.applyTransform(e.transform),x.width=t,x.height=n,!b.intersect(x)}function w(e,t){if(e===t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function C(e,t){for(var n=0;n<e.length;n++){var i=e[n];i.setTransform(t),t.beginPath(),i.buildPath(t,i.shape),t.clip(),i.restoreTransform(t)}}function S(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var k=function(e,t,n){this.type="canvas";var i=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=o.extend({},n||{}),this.dpr=n.devicePixelRatio||r,this._singleCanvas=i,this.root=e;var a=e.style;a&&(a["-webkit-tap-highlight-color"]="transparent",a["-webkit-user-select"]=a["user-select"]=a["-webkit-touch-callout"]="none",e.innerHTML=""),this.storage=t;var s=this._zlevelList=[],l=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,i){var c=e.width,h=e.height;null!=n.width&&(c=n.width),null!=n.height&&(h=n.height),this.dpr=n.devicePixelRatio||1,e.width=c*this.dpr,e.height=h*this.dpr,this._width=c,this._height=h;var d=new u(e,this,this.dpr);d.__builtin__=!0,d.initContext(),l[p]=d,d.zlevel=p,s.push(p),this._domRoot=e}else{this._width=this._getSize(0),this._height=this._getSize(1);var f=this._domRoot=S(this._width,this._height);e.appendChild(f)}this._hoverlayer=null,this._hoverElements=[]};k.prototype={constructor:k,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(e){var t=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,e,this._redrawId);for(var i=0;i<n.length;i++){var r=n[i],o=this._layers[r];if(!o.__builtin__&&o.refresh){var a=0===i?this._backgroundColor:null;o.refresh(a)}}return this.refreshHover(),this},addHover:function(e,t){if(!e.__hoverMir){var n=new e.constructor({style:e.style,shape:e.shape,z:e.z,z2:e.z2,silent:e.silent});return n.__from=e,e.__hoverMir=n,t&&n.setStyle(t),this._hoverElements.push(n),n}},removeHover:function(e){var t=e.__hoverMir,n=this._hoverElements,i=o.indexOf(n,t);i>=0&&n.splice(i,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,n=0;n<t.length;n++){var i=t[n].__from;i&&(i.__hoverMir=null)}t.length=0},refreshHover:function(){var e=this._hoverElements,t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){l(e,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(f));var i={};n.ctx.save();for(var r=0;r<t;){var o=e[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))):(e.splice(r,1),a.__hoverMir=null,t--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(f)},_paintList:function(e,t,n){if(this._redrawId===n){t=t||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t);if(this._needsManuallyCompositing&&this._compositeManually(),!i){var r=this;c((function(){r._paintList(e,t,n)}))}}},_compositeManually:function(){var e=this.getLayer(p).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(i){i.virtual&&e.drawImage(i.dom,0,0,t,n)}))},_doPaintList:function(e,t){for(var n=[],i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i],a=this._layers[r];a.__builtin__&&a!==this._hoverlayer&&(a.__dirty||t)&&n.push(a)}for(var s=!0,l=0;l<n.length;l++){a=n[l];var u=a.ctx,c={};u.save();var h=t?a.__startIndex:a.__drawIndex,f=!t&&a.incremental&&Date.now,p=f&&Date.now(),g=a.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(a.__startIndex===a.__endIndex)a.clear(!1,g);else if(h===a.__startIndex){var m=e[h];m.incremental&&m.notClear&&!t||a.clear(!1,g)}-1===h&&(console.error("For some unknown reason. drawIndex is -1"),h=a.__startIndex);for(var v=h;v<a.__endIndex;v++){var y=e[v];if(this._doPaintEl(y,a,t,c),y.__dirty=y.__dirtyText=!1,f){var b=Date.now()-p;if(b>15)break}}a.__drawIndex=v,a.__drawIndex<a.__endIndex&&(s=!1),c.prevElClipPaths&&u.restore(),u.restore()}return d.wxa&&o.each(this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),s},_doPaintEl:function(e,t,n,i){var r=t.ctx,o=e.transform;if((t.__dirty||n)&&!e.invisible&&0!==e.style.opacity&&(!o||o[0]||o[3])&&(!e.culling||!_(e,this._width,this._height))){var a=e.__clipPaths,s=i.prevElClipPaths;s&&!w(a,s)||(s&&(r.restore(),i.prevElClipPaths=null,i.prevEl=null),a&&(r.save(),C(a,r),i.prevElClipPaths=a)),e.beforeBrush&&e.beforeBrush(r),e.brush(r,i.prevEl||null),i.prevEl=e,e.afterBrush&&e.afterBrush(r)}},getLayer:function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=p);var n=this._layers[e];return n||(n=new u("zr_"+e,this,this.dpr),n.zlevel=e,n.__builtin__=!0,this._layerConfig[e]?o.merge(n,this._layerConfig[e],!0):this._layerConfig[e-g]&&o.merge(n,this._layerConfig[e-g],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},insertLayer:function(e,t){var n=this._layers,i=this._zlevelList,r=i.length,o=null,s=-1,l=this._domRoot;if(n[e])a("ZLevel "+e+" has been used already");else if(y(t)){if(r>0&&e>i[0]){for(s=0;s<r-1;s++)if(i[s]<e&&i[s+1]>e)break;o=n[i[s]]}if(i.splice(s+1,0,e),n[e]=t,!t.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(t.dom,u.nextSibling):l.appendChild(t.dom)}else l.firstChild?l.insertBefore(t.dom,l.firstChild):l.appendChild(t.dom)}else a("Layer of zlevel "+e+" is not valid")},eachLayer:function(e,t){var n,i,r=this._zlevelList;for(i=0;i<r.length;i++)n=r[i],e.call(t,this._layers[n],n)},eachBuiltinLayer:function(e,t){var n,i,r,o=this._zlevelList;for(r=0;r<o.length;r++)i=o[r],n=this._layers[i],n.__builtin__&&e.call(t,n,i)},eachOtherLayer:function(e,t){var n,i,r,o=this._zlevelList;for(r=0;r<o.length;r++)i=o[r],n=this._layers[i],n.__builtin__||e.call(t,n,i)},getLayers:function(){return this._layers},_updateLayerStatus:function(e){function t(e){o&&(o.__endIndex!==e&&(o.__dirty=!0),o.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++){var i=e[n];if(i.zlevel!==e[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var r,o=null,s=0;for(n=0;n<e.length;n++){i=e[n];var l,u=i.zlevel;r!==u&&(r=u,s=0),i.incremental?(l=this.getLayer(u+m,this._needsManuallyCompositing),l.incremental=!0,s=1):l=this.getLayer(u+(s>0?g:0),this._needsManuallyCompositing),l.__builtin__||a("ZLevel "+u+" has been used by unkown layer "+l.id),l!==o&&(l.__used=!0,l.__startIndex!==n&&(l.__dirty=!0),l.__startIndex=n,l.incremental?l.__drawIndex=-1:l.__drawIndex=n,t(n),o=l),i.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=n))}t(n),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(e){e.clear()},setBackgroundColor:function(e){this._backgroundColor=e},configLayer:function(e,t){if(t){var n=this._layerConfig;n[e]?o.merge(n[e],t,!0):n[e]=t;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===e||r===e+g){var a=this._layers[r];o.merge(a,n[e],!0)}}}},delLayer:function(e){var t=this._layers,n=this._zlevelList,i=t[e];i&&(i.dom.parentNode.removeChild(i.dom),delete t[e],n.splice(o.indexOf(n,e),1))},resize:function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts;if(null!=e&&(i.width=e),null!=t&&(i.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||t!==this._height){for(var r in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(e,t);o.each(this._progressiveLayers,(function(n){n.resize(e,t)})),this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(p).resize(e,t)}return this},clearLayer:function(e){var t=this._layers[e];t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[p].dom;var t=new u("image",this,e.pixelRatio||this.dpr);if(t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor),e.pixelRatio<=this.dpr){this.refresh();var n=t.dom.width,i=t.dom.height,r=t.ctx;this.eachLayer((function(e){e.__builtin__?r.drawImage(e.dom,0,0,n,i):e.renderToCanvas&&(t.ctx.save(),e.renderToCanvas(t.ctx),t.ctx.restore())}))}else for(var o={},a=this.storage.getDisplayList(!0),s=0;s<a.length;s++){var l=a[s];this._doPaintEl(l,t,!0,o)}return t.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],i=["clientWidth","clientHeight"][e],r=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||v(s[n])||v(a.style[n]))-(v(s[r])||0)-(v(s[o])||0)|0},pathToImage:function(e,t){t=t||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),r=e.getBoundingRect(),o=e.style,a=o.shadowBlur*t,s=o.shadowOffsetX*t,l=o.shadowOffsetY*t,u=o.hasStroke()?o.lineWidth:0,c=Math.max(u/2,-s+a),d=Math.max(u/2,s+a),f=Math.max(u/2,-l+a),p=Math.max(u/2,l+a),g=r.width+c+d,m=r.height+f+p;n.width=g*t,n.height=m*t,i.scale(t,t),i.clearRect(0,0,g,m),i.dpr=t;var v={position:e.position,rotation:e.rotation,scale:e.scale};e.position=[c-r.x,f-r.y],e.rotation=0,e.scale=[1,1],e.updateTransform(),e&&e.brush(i);var y=h,b=new y({style:{x:0,y:0,image:n}});return null!=v.position&&(b.position=e.position=v.position),null!=v.rotation&&(b.rotation=e.rotation=v.rotation),null!=v.scale&&(b.scale=e.scale=v.scale),b}};var M=k;e.exports=M},92494:function(e,t,n){n(57658);var i=n(63122),r=n(95160),o=n(79116),a=n(92757);function s(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},getDisplayList:function(e,t){return t=t||!1,e&&this.updateDisplayList(t),this._displayList},updateDisplayList:function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,i=0,o=t.length;i<o;i++)this._updateAndAddDisplayable(t[i],null,e);n.length=this._displayListLen,r.canvasSupported&&a(n,s)},_updateAndAddDisplayable:function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.__dirty&&e.update(),e.afterUpdate();var i=e.clipPath;if(i){t=t?t.slice():[];var r=i,o=e;while(r)r.parent=o,r.updateTransform(),t.push(r),o=r,r=r.clipPath}if(e.isGroup){for(var a=e._children,s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,t,n)}e.__dirty=!1}else e.__clipPaths=t,this._displayList[this._displayListLen++]=e}},addRoot:function(e){e.__storage!==this&&(e instanceof o&&e.addChildrenToStorage(this),this.addToStorage(e),this._roots.push(e))},delRoot:function(e){if(null==e){for(var t=0;t<this._roots.length;t++){var n=this._roots[t];n instanceof o&&n.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(e instanceof Array){t=0;for(var r=e.length;t<r;t++)this.delRoot(e[t])}else{var a=i.indexOf(this._roots,e);a>=0&&(this.delFromStorage(e),this._roots.splice(a,1),e instanceof o&&e.delChildrenFromStorage(this))}},addToStorage:function(e){return e&&(e.__storage=this,e.dirty(!1)),this},delFromStorage:function(e){return e&&(e.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;e.exports=u},14204:function(e,t,n){n(57658);var i=n(63122),r=n(13199),o=r.Dispatcher,a=n(88983),s=n(40925),l=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,o.call(this)};l.prototype={constructor:l,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),n=0;n<t.length;n++)this.addClip(t[n])},removeClip:function(e){var t=i.indexOf(this._clips,e);t>=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),n=0;n<t.length;n++)this.removeClip(t[n]);e.animation=null},_update:function(){for(var e=(new Date).getTime()-this._pausedTime,t=e-this._time,n=this._clips,i=n.length,r=[],o=[],a=0;a<i;a++){var s=n[a],l=s.step(e,t);l&&(r.push(l),o.push(s))}for(a=0;a<i;)n[a]._needsRemove?(n[a]=n[i-1],n.pop(),i--):a++;i=r.length;for(a=0;a<i;a++)o[a].fire(r[a]);this._time=e,this.onframe(t),this.trigger("frame",t),this.stage.update&&this.stage.update()},_startLoop:function(){var e=this;function t(){e._running&&(a(t),!e._paused&&e._update())}this._running=!0,a(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=[]},isFinished:function(){return!this._clips.length},animate:function(e,t){t=t||{};var n=new s(e,t.loop,t.getter,t.setter);return this.addAnimator(n),n}},i.mixin(l,o);var u=l;e.exports=u},40925:function(e,t,n){n(57658);var i=n(30347),r=n(7471),o=n(63122),a=o.isArrayLike,s=Array.prototype.slice;function l(e,t){return e[t]}function u(e,t,n){e[t]=n}function c(e,t,n){return(t-e)*n+e}function h(e,t,n){return n>.5?t:e}function d(e,t,n,i,r){var o=e.length;if(1===r)for(var a=0;a<o;a++)i[a]=c(e[a],t[a],n);else{var s=o&&e[0].length;for(a=0;a<o;a++)for(var l=0;l<s;l++)i[a][l]=c(e[a][l],t[a][l],n)}}function f(e,t,n){var i=e.length,r=t.length;if(i!==r){var o=i>r;if(o)e.length=r;else for(var a=i;a<r;a++)e.push(1===n?t[a]:s.call(t[a]))}var l=e[0]&&e[0].length;for(a=0;a<e.length;a++)if(1===n)isNaN(e[a])&&(e[a]=t[a]);else for(var u=0;u<l;u++)isNaN(e[a][u])&&(e[a][u]=t[a][u])}function p(e,t,n){if(e===t)return!0;var i=e.length;if(i!==t.length)return!1;if(1===n){for(var r=0;r<i;r++)if(e[r]!==t[r])return!1}else{var o=e[0].length;for(r=0;r<i;r++)for(var a=0;a<o;a++)if(e[r][a]!==t[r][a])return!1}return!0}function g(e,t,n,i,r,o,a,s,l){var u=e.length;if(1===l)for(var c=0;c<u;c++)s[c]=m(e[c],t[c],n[c],i[c],r,o,a);else{var h=e[0].length;for(c=0;c<u;c++)for(var d=0;d<h;d++)s[c][d]=m(e[c][d],t[c][d],n[c][d],i[c][d],r,o,a)}}function m(e,t,n,i,r,o,a){var s=.5*(n-e),l=.5*(i-t);return(2*(t-n)+s+l)*a+(-3*(t-n)-2*s-l)*o+s*r+t}function v(e){if(a(e)){var t=e.length;if(a(e[0])){for(var n=[],i=0;i<t;i++)n.push(s.call(e[i]));return n}return s.call(e)}return e}function y(e){return e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.floor(e[2]),"rgba("+e.join(",")+")"}function b(e){var t=e[e.length-1].value;return a(t&&t[0])?2:1}function x(e,t,n,o,s,l){var u=e._getter,v=e._setter,x="spline"===t,_=o.length;if(_){var w,C=o[0].value,S=a(C),k=!1,M=!1,T=S?b(o):0;o.sort((function(e,t){return e.time-t.time})),w=o[_-1].time;for(var E=[],D=[],P=o[0].value,O=!0,I=0;I<_;I++){E.push(o[I].time/w);var A=o[I].value;if(S&&p(A,P,T)||!S&&A===P||(O=!1),P=A,"string"===typeof A){var L=r.parse(A);L?(A=L,k=!0):M=!0}D.push(A)}if(l||!O){var N=D[_-1];for(I=0;I<_-1;I++)S?f(D[I],N,T):!isNaN(D[I])||isNaN(N)||M||k||(D[I]=N);S&&f(u(e._target,s),N,T);var R,z,$,B,F,j,V=0,H=0;if(k)var W=[0,0,0,0];var G=function(e,t){var n;if(t<0)n=0;else if(t<H){for(R=Math.min(V+1,_-1),n=R;n>=0;n--)if(E[n]<=t)break;n=Math.min(n,_-2)}else{for(n=V;n<_;n++)if(E[n]>t)break;n=Math.min(n-1,_-2)}V=n,H=t;var i=E[n+1]-E[n];if(0!==i)if(z=(t-E[n])/i,x)if(B=D[n],$=D[0===n?n:n-1],F=D[n>_-2?_-1:n+1],j=D[n>_-3?_-1:n+2],S)g($,B,F,j,z,z*z,z*z*z,u(e,s),T);else{if(k)r=g($,B,F,j,z,z*z,z*z*z,W,1),r=y(W);else{if(M)return h(B,F,z);r=m($,B,F,j,z,z*z,z*z*z)}v(e,s,r)}else if(S)d(D[n],D[n+1],z,u(e,s),T);else{var r;if(k)d(D[n],D[n+1],z,W,1),r=y(W);else{if(M)return h(D[n],D[n+1],z);r=c(D[n],D[n+1],z)}v(e,s,r)}},q=new i({target:e._target,life:w,loop:e._loop,delay:e._delay,onframe:G,ondestroy:n});return t&&"spline"!==t&&(q.easing=t),q}}}var _=function(e,t,n,i){this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||l,this._setter=i||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};_.prototype={when:function(e,t){var n=this._tracks;for(var i in t)if(t.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==e&&n[i].push({time:0,value:v(r)})}n[i].push({time:e,value:t[i]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].pause();this._paused=!0},resume:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var e=this._doneList,t=e.length,n=0;n<t;n++)e[n].call(this)},start:function(e,t){var n,i=this,r=0,o=function(){r--,r||i._doneCallback()};for(var a in this._tracks)if(this._tracks.hasOwnProperty(a)){var s=x(this,e,o,this._tracks[a],a,t);s&&(this._clipList.push(s),r++,this.animation&&this.animation.addClip(s),n=s)}if(n){var l=n.onframe;n.onframe=function(e,t){l(e,t);for(var n=0;n<i._onframeList.length;n++)i._onframeList[n](e,t)}}return r||this._doneCallback(),this},stop:function(e){for(var t=this._clipList,n=this.animation,i=0;i<t.length;i++){var r=t[i];e&&r.onframe(this._target,1),n&&n.removeClip(r)}t.length=0},delay:function(e){return this._delay=e,this},done:function(e){return e&&this._doneList.push(e),this},getClips:function(){return this._clipList}};var w=_;e.exports=w},30347:function(e,t,n){var i=n(18052);function r(e){this._target=e.target,this._life=e.life||1e3,this._delay=e.delay||0,this._initialized=!1,this.loop=null!=e.loop&&e.loop,this.gap=e.gap||0,this.easing=e.easing||"Linear",this.onframe=e.onframe,this.ondestroy=e.ondestroy,this.onrestart=e.onrestart,this._pausedTime=0,this._paused=!1}r.prototype={constructor:r,step:function(e,t){if(this._initialized||(this._startTime=e+this._delay,this._initialized=!0),this._paused)this._pausedTime+=t;else{var n=(e-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var r=this.easing,o="string"===typeof r?i[r]:r,a="function"===typeof o?o(n):n;return this.fire("frame",a),1===n?this.loop?(this.restart(e),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(e){var t=(e-this._startTime-this._pausedTime)%this._life;this._startTime=e-t+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(e,t){e="on"+e,this[e]&&this[e](this._target,t)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var o=r;e.exports=o},18052:function(e){var t={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,i=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=i/4):t=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i))},elasticOut:function(e){var t,n=.1,i=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=i/4):t=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/i)+1)},elasticInOut:function(e){var t,n=.1,i=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=i/4):t=i*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-t.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*t.bounceIn(2*e):.5*t.bounceOut(2*e-1)+.5}},n=t;e.exports=n},88983:function(e){var t="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){setTimeout(e,16)};e.exports=t},52215:function(e,t){var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var i=0,r=n;t.debugMode=i,t.devicePixelRatio=r},5606:function(e,t,n){var i=n(54099),r=i.normalizeRadian,o=2*Math.PI;function a(e,t,n,i,a,s,l,u,c){if(0===l)return!1;var h=l;u-=e,c-=t;var d=Math.sqrt(u*u+c*c);if(d-h>n||d+h<n)return!1;if(Math.abs(i-a)%o<1e-4)return!0;if(s){var f=i;i=r(a),a=r(f)}else i=r(i),a=r(a);i>a&&(a+=o);var p=Math.atan2(c,u);return p<0&&(p+=o),p>=i&&p<=a||p+o>=i&&p+o<=a}t.containStroke=a},29483:function(e,t,n){var i=n(85723);function r(e,t,n,r,o,a,s,l,u,c,h){if(0===u)return!1;var d=u;if(h>t+d&&h>r+d&&h>a+d&&h>l+d||h<t-d&&h<r-d&&h<a-d&&h<l-d||c>e+d&&c>n+d&&c>o+d&&c>s+d||c<e-d&&c<n-d&&c<o-d&&c<s-d)return!1;var f=i.cubicProjectPoint(e,t,n,r,o,a,s,l,c,h,null);return f<=d/2}t.containStroke=r},79537:function(e,t){function n(e,t,n,i,r,o,a){if(0===r)return!1;var s=r,l=0,u=e;if(a>t+s&&a>i+s||a<t-s&&a<i-s||o>e+s&&o>n+s||o<e-s&&o<n-s)return!1;if(e===n)return Math.abs(o-e)<=s/2;l=(t-i)/(e-n),u=(e*i-n*t)/(e-n);var c=l*o-a+u,h=c*c/(l*l+1);return h<=s/2*s/2}t.containStroke=n},17053:function(e,t,n){var i=n(11348),r=n(79537),o=n(29483),a=n(88337),s=n(5606),l=n(54099),u=l.normalizeRadian,c=n(85723),h=n(53208),d=i.CMD,f=2*Math.PI,p=1e-4;function g(e,t){return Math.abs(e-t)<p}var m=[-1,-1,-1],v=[-1,-1];function y(){var e=v[0];v[0]=v[1],v[1]=e}function b(e,t,n,i,r,o,a,s,l,u){if(u>t&&u>i&&u>o&&u>s||u<t&&u<i&&u<o&&u<s)return 0;var h=c.cubicRootAt(t,i,o,s,u,m);if(0===h)return 0;for(var d,f,p=0,g=-1,b=0;b<h;b++){var x=m[b],_=0===x||1===x?.5:1,w=c.cubicAt(e,n,r,a,x);w<l||(g<0&&(g=c.cubicExtrema(t,i,o,s,v),v[1]<v[0]&&g>1&&y(),d=c.cubicAt(t,i,o,s,v[0]),g>1&&(f=c.cubicAt(t,i,o,s,v[1]))),2===g?x<v[0]?p+=d<t?_:-_:x<v[1]?p+=f<d?_:-_:p+=s<f?_:-_:x<v[0]?p+=d<t?_:-_:p+=s<d?_:-_)}return p}function x(e,t,n,i,r,o,a,s){if(s>t&&s>i&&s>o||s<t&&s<i&&s<o)return 0;var l=c.quadraticRootAt(t,i,o,s,m);if(0===l)return 0;var u=c.quadraticExtremum(t,i,o);if(u>=0&&u<=1){for(var h=0,d=c.quadraticAt(t,i,o,u),f=0;f<l;f++){var p=0===m[f]||1===m[f]?.5:1,g=c.quadraticAt(e,n,r,m[f]);g<a||(m[f]<u?h+=d<t?p:-p:h+=o<d?p:-p)}return h}p=0===m[0]||1===m[0]?.5:1,g=c.quadraticAt(e,n,r,m[0]);return g<a?0:o<t?p:-p}function _(e,t,n,i,r,o,a,s){if(s-=t,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);m[0]=-l,m[1]=l;var c=Math.abs(i-r);if(c<1e-4)return 0;if(c%f<1e-4){i=0,r=f;var h=o?1:-1;return a>=m[0]+e&&a<=m[1]+e?h:0}if(o){l=i;i=u(r),r=u(l)}else i=u(i),r=u(r);i>r&&(r+=f);for(var d=0,p=0;p<2;p++){var g=m[p];if(g+e>a){var v=Math.atan2(s,g);h=o?1:-1;v<0&&(v=f+v),(v>=i&&v<=r||v+f>=i&&v+f<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),d+=h)}}return d}function w(e,t,n,i,l){for(var u=0,c=0,f=0,p=0,m=0,v=0;v<e.length;){var y=e[v++];switch(y===d.M&&v>1&&(n||(u+=h(c,f,p,m,i,l))),1===v&&(c=e[v],f=e[v+1],p=c,m=f),y){case d.M:p=e[v++],m=e[v++],c=p,f=m;break;case d.L:if(n){if(r.containStroke(c,f,e[v],e[v+1],t,i,l))return!0}else u+=h(c,f,e[v],e[v+1],i,l)||0;c=e[v++],f=e[v++];break;case d.C:if(n){if(o.containStroke(c,f,e[v++],e[v++],e[v++],e[v++],e[v],e[v+1],t,i,l))return!0}else u+=b(c,f,e[v++],e[v++],e[v++],e[v++],e[v],e[v+1],i,l)||0;c=e[v++],f=e[v++];break;case d.Q:if(n){if(a.containStroke(c,f,e[v++],e[v++],e[v],e[v+1],t,i,l))return!0}else u+=x(c,f,e[v++],e[v++],e[v],e[v+1],i,l)||0;c=e[v++],f=e[v++];break;case d.A:var w=e[v++],C=e[v++],S=e[v++],k=e[v++],M=e[v++],T=e[v++];v+=1;var E=1-e[v++],D=Math.cos(M)*S+w,P=Math.sin(M)*k+C;v>1?u+=h(c,f,D,P,i,l):(p=D,m=P);var O=(i-w)*k/S+w;if(n){if(s.containStroke(w,C,k,M,M+T,E,t,O,l))return!0}else u+=_(w,C,k,M,M+T,E,O,l);c=Math.cos(M+T)*S+w,f=Math.sin(M+T)*k+C;break;case d.R:p=c=e[v++],m=f=e[v++];var I=e[v++],A=e[v++];D=p+I,P=m+A;if(n){if(r.containStroke(p,m,D,m,t,i,l)||r.containStroke(D,m,D,P,t,i,l)||r.containStroke(D,P,p,P,t,i,l)||r.containStroke(p,P,p,m,t,i,l))return!0}else u+=h(D,m,D,P,i,l),u+=h(p,P,p,m,i,l);break;case d.Z:if(n){if(r.containStroke(c,f,p,m,t,i,l))return!0}else u+=h(c,f,p,m,i,l);c=p,f=m;break}}return n||g(f,m)||(u+=h(c,f,p,m,i,l)||0),0!==u}function C(e,t,n){return w(e,0,!1,t,n)}function S(e,t,n,i){return w(e,t,!0,n,i)}t.contain=C,t.containStroke=S},33:function(e,t,n){var i=n(53208),r=1e-8;function o(e,t){return Math.abs(e-t)<r}function a(e,t,n){var r=0,a=e[0];if(!a)return!1;for(var s=1;s<e.length;s++){var l=e[s];r+=i(a[0],a[1],l[0],l[1],t,n),a=l}var u=e[0];return o(a[0],u[0])&&o(a[1],u[1])||(r+=i(a[0],a[1],u[0],u[1],t,n)),0!==r}t.contain=a},88337:function(e,t,n){var i=n(85723),r=i.quadraticProjectPoint;function o(e,t,n,i,o,a,s,l,u){if(0===s)return!1;var c=s;if(u>t+c&&u>i+c&&u>a+c||u<t-c&&u<i-c&&u<a-c||l>e+c&&l>n+c&&l>o+c||l<e-c&&l<n-c&&l<o-c)return!1;var h=r(e,t,n,i,o,a,l,u,null);return h<=c/2}t.containStroke=o},2278:function(e,t,n){n(57658);var i=n(46630),r=n(44949),o=n(63122),a=o.getContext,s=o.extend,l=o.retrieve2,u=o.retrieve3,c=o.trim,h={},d=0,f=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",m={};function v(e,t){m[e]=t}function y(e,t){t=t||g;var n=e+":"+t;if(h[n])return h[n];for(var i=(e+"").split("\n"),r=0,o=0,a=i.length;o<a;o++)r=Math.max(O(i[o],t).width,r);return d>f&&(d=0,h={}),d++,h[n]=r,r}function b(e,t,n,i,r,o,a,s){return a?_(e,t,n,i,r,o,a,s):x(e,t,n,i,r,o,s)}function x(e,t,n,r,o,a,s){var l=I(e,t,o,a,s),u=y(e,t);o&&(u+=o[1]+o[3]);var c=l.outerHeight,h=w(0,u,n),d=C(0,c,r),f=new i(h,d,u,c);return f.lineHeight=l.lineHeight,f}function _(e,t,n,r,o,a,s,l){var u=A(e,{rich:s,truncate:l,font:t,textAlign:n,textPadding:o,textLineHeight:a}),c=u.outerWidth,h=u.outerHeight,d=w(0,c,n),f=C(0,h,r);return new i(d,f,c,h)}function w(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function C(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function S(e,t,n){var i=t.textPosition,r=t.textDistance,o=n.x,a=n.y;r=r||0;var s=n.height,l=n.width,u=s/2,c="left",h="top";switch(i){case"left":o-=r,a+=u,c="right",h="middle";break;case"right":o+=r+l,a+=u,h="middle";break;case"top":o+=l/2,a-=r,c="center",h="bottom";break;case"bottom":o+=l/2,a+=s+r,c="center";break;case"inside":o+=l/2,a+=u,c="center",h="middle";break;case"insideLeft":o+=r,a+=u,h="middle";break;case"insideRight":o+=l-r,a+=u,c="right",h="middle";break;case"insideTop":o+=l/2,a+=r,c="center";break;case"insideBottom":o+=l/2,a+=s-r,c="center",h="bottom";break;case"insideTopLeft":o+=r,a+=r;break;case"insideTopRight":o+=l-r,a+=r,c="right";break;case"insideBottomLeft":o+=r,a+=s-r,h="bottom";break;case"insideBottomRight":o+=l-r,a+=s-r,c="right",h="bottom";break}return e=e||{},e.x=o,e.y=a,e.textAlign=c,e.textVerticalAlign=h,e}function k(e,t,n){var i={textPosition:e,textDistance:n};return S({},i,t)}function M(e,t,n,i,r){if(!t)return"";var o=(e+"").split("\n");r=T(t,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=E(o[a],r);return o.join("\n")}function T(e,t,n,i){i=s({},i),i.font=t;n=l(n,"...");i.maxIterations=l(i.maxIterations,2);var r=i.minChar=l(i.minChar,0);i.cnCharWidth=y("国",t);var o=i.ascCharWidth=y("a",t);i.placeholder=l(i.placeholder,"");for(var a=e=Math.max(0,e-1),u=0;u<r&&a>=o;u++)a-=o;var c=y(n,t);return c>a&&(n="",c=0),a=e-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=a,i.containerWidth=e,i}function E(e,t){var n=t.containerWidth,i=t.font,r=t.contentWidth;if(!n)return"";var o=y(e,i);if(o<=n)return e;for(var a=0;;a++){if(o<=r||a>=t.maxIterations){e+=t.ellipsis;break}var s=0===a?D(e,r,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*r/o):0;e=e.substr(0,s),o=y(e,i)}return""===e&&(e=t.placeholder),e}function D(e,t,n,i){for(var r=0,o=0,a=e.length;o<a&&r<t;o++){var s=e.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}function P(e){return y("国",e)}function O(e,t){return m.measureText(e,t)}function I(e,t,n,i,r){null!=e&&(e+="");var o=l(i,P(t)),a=e?e.split("\n"):[],s=a.length*o,u=s,c=!0;if(n&&(u+=n[0]+n[2]),e&&r){c=!1;var h=r.outerHeight,d=r.outerWidth;if(null!=h&&u>h)e="",a=[];else if(null!=d)for(var f=T(d-(n?n[1]+n[3]:0),t,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),p=0,g=a.length;p<g;p++)a[p]=E(a[p],f)}return{lines:a,height:s,outerHeight:u,lineHeight:o,canCacheByTextString:c}}function A(e,t){var n={lines:[],width:0,height:0};if(null!=e&&(e+=""),!e)return n;var i,o=p.lastIndex=0;while(null!=(i=p.exec(e))){var a=i.index;a>o&&L(n,e.substring(o,a)),L(n,i[2],i[1]),o=p.lastIndex}o<e.length&&L(n,e.substring(o,e.length));var s=n.lines,c=0,h=0,d=[],f=t.textPadding,g=t.truncate,m=g&&g.outerWidth,v=g&&g.outerHeight;f&&(null!=m&&(m-=f[1]+f[3]),null!=v&&(v-=f[0]+f[2]));for(var b=0;b<s.length;b++){for(var x=s[b],_=0,w=0,C=0;C<x.tokens.length;C++){var S=x.tokens[C],k=S.styleName&&t.rich[S.styleName]||{},T=S.textPadding=k.textPadding,E=S.font=k.font||t.font,D=S.textHeight=l(k.textHeight,P(E));if(T&&(D+=T[0]+T[2]),S.height=D,S.lineHeight=u(k.textLineHeight,t.textLineHeight,D),S.textAlign=k&&k.textAlign||t.textAlign,S.textVerticalAlign=k&&k.textVerticalAlign||"middle",null!=v&&c+S.lineHeight>v)return{lines:[],width:0,height:0};S.textWidth=y(S.text,E);var O=k.textWidth,I=null==O||"auto"===O;if("string"===typeof O&&"%"===O.charAt(O.length-1))S.percentWidth=O,d.push(S),O=0;else{if(I){O=S.textWidth;var A=k.textBackgroundColor,N=A&&A.image;N&&(N=r.findExistImage(N),r.isImageReady(N)&&(O=Math.max(O,N.width*D/N.height)))}var R=T?T[1]+T[3]:0;O+=R;var z=null!=m?m-w:null;null!=z&&z<O&&(!I||z<R?(S.text="",S.textWidth=O=0):(S.text=M(S.text,z-R,E,g.ellipsis,{minChar:g.minChar}),S.textWidth=y(S.text,E),O=S.textWidth+R))}w+=S.width=O,k&&(_=Math.max(_,S.lineHeight))}x.width=w,x.lineHeight=_,c+=_,h=Math.max(h,w)}n.outerWidth=n.width=l(t.textWidth,h),n.outerHeight=n.height=l(t.textHeight,c),f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]);for(b=0;b<d.length;b++){S=d[b];var $=S.percentWidth;S.width=parseInt($,10)/100*h}return n}function L(e,t,n){for(var i=""===t,r=t.split("\n"),o=e.lines,a=0;a<r.length;a++){var s=r[a],l={styleName:n,text:s,isLineHolder:!s&&!i};if(a)o.push({tokens:[l]});else{var u=(o[o.length-1]||(o[0]={tokens:[]})).tokens,c=u.length;1===c&&u[0].isLineHolder?u[0]=l:(s||!c||i)&&u.push(l)}}}function N(e){var t=(e.fontSize||e.fontFamily)&&[e.fontStyle,e.fontWeight,(e.fontSize||12)+"px",e.fontFamily||"sans-serif"].join(" ");return t&&c(t)||e.textFont||e.font}m.measureText=function(e,t){var n=a();return n.font=t||g,n.measureText(e)},t.DEFAULT_FONT=g,t.$override=v,t.getWidth=y,t.getBoundingRect=b,t.adjustTextX=w,t.adjustTextY=C,t.calculateTextPosition=S,t.adjustTextPositionOnRect=k,t.truncateText=M,t.getLineHeight=P,t.measureText=O,t.parsePlainText=I,t.parseRichText=A,t.makeFont=N},54099:function(e,t){var n=2*Math.PI;function i(e){return e%=n,e<0&&(e+=n),e}t.normalizeRadian=i},53208:function(e){function t(e,t,n,i,r,o){if(o>t&&o>i||o<t&&o<i)return 0;if(i===t)return 0;var a=i<t?1:-1,s=(o-t)/(i-t);1!==s&&0!==s||(a=i<t?.5:-.5);var l=s*(n-e)+e;return l===r?1/0:l>r?a:0}e.exports=t},79116:function(e,t,n){n(57658);var i=n(63122),r=n(33666),o=n(46630),a=function(e){for(var t in e=e||{},r.call(this,e),e)e.hasOwnProperty(t)&&(this[t]=e[t]);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(e){return this._children[e]},childOfName:function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},childCount:function(){return this._children.length},add:function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},addBefore:function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,i=n.indexOf(t);i>=0&&(n.splice(i,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,n=this.__zr;t&&t!==e.__storage&&(t.addToStorage(e),e instanceof a&&e.addChildrenToStorage(t)),n&&n.refresh()},remove:function(e){var t=this.__zr,n=this.__storage,r=this._children,o=i.indexOf(r,e);return o<0||(r.splice(o,1),e.parent=null,n&&(n.delFromStorage(e),e instanceof a&&e.delChildrenFromStorage(n)),t&&t.refresh()),this},removeAll:function(){var e,t,n=this._children,i=this.__storage;for(t=0;t<n.length;t++)e=n[t],i&&(i.delFromStorage(e),e instanceof a&&e.delChildrenFromStorage(i)),e.parent=null;return n.length=0,this},eachChild:function(e,t){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];e.call(t,r,i)}return this},traverse:function(e,t){for(var n=0;n<this._children.length;n++){var i=this._children[n];e.call(t,i),"group"===i.type&&i.traverse(e,t)}return this},addChildrenToStorage:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.addToStorage(n),n instanceof a&&n.addChildrenToStorage(e)}},delChildrenFromStorage:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.delFromStorage(n),n instanceof a&&n.delChildrenFromStorage(e)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(e){for(var t=null,n=new o(0,0,0,0),i=e||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),t=t||n.clone(),t.union(n)):(t=t||l.clone(),t.union(l))}}return t||n}},i.inherits(a,r);var s=a;e.exports=s},46630:function(e,t,n){var i=n(78244),r=n(97333),o=i.applyTransform,a=Math.min,s=Math.max;function l(e,t,n,i){n<0&&(e+=n,n=-n),i<0&&(t+=i,i=-i),this.x=e,this.y=t,this.width=n,this.height=i}l.prototype={constructor:l,union:function(e){var t=a(e.x,this.x),n=a(e.y,this.y);this.width=s(e.x+e.width,this.x+this.width)-t,this.height=s(e.y+e.height,this.y+this.height)-n,this.x=t,this.y=n},applyTransform:function(){var e=[],t=[],n=[],i=[];return function(r){if(r){e[0]=n[0]=this.x,e[1]=i[1]=this.y,t[0]=i[0]=this.x+this.width,t[1]=n[1]=this.y+this.height,o(e,e,r),o(t,t,r),o(n,n,r),o(i,i,r),this.x=a(e[0],t[0],n[0],i[0]),this.y=a(e[1],t[1],n[1],i[1]);var l=s(e[0],t[0],n[0],i[0]),u=s(e[1],t[1],n[1],i[1]);this.width=l-this.x,this.height=u-this.y}}}(),calculateTransform:function(e){var t=this,n=e.width/t.width,i=e.height/t.height,o=r.create();return r.translate(o,o,[-t.x,-t.y]),r.scale(o,o,[n,i]),r.translate(o,o,[e.x,e.y]),o},intersect:function(e){if(!e)return!1;e instanceof l||(e=l.create(e));var t=this,n=t.x,i=t.x+t.width,r=t.y,o=t.y+t.height,a=e.x,s=e.x+e.width,u=e.y,c=e.y+e.height;return!(i<a||s<n||o<u||c<r)},contain:function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(e){return new l(e.x,e.y,e.width,e.height)};var u=l;e.exports=u},40271:function(e,t,n){n(57658);var i=n(13199),r=function(){this._track=[]};function o(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function a(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}r.prototype={constructor:r,recognize:function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},clear:function(){return this._track.length=0,this},_doTrack:function(e,t,n){var r=e.touches;if(r){for(var o={points:[],touches:[],target:t,event:e},a=0,s=r.length;a<s;a++){var l=r[a],u=i.clientToLocal(n,l,{});o.points.push([u.zrX,u.zrY]),o.touches.push(l)}this._track.push(o)}},_recognize:function(e){for(var t in s)if(s.hasOwnProperty(t)){var n=s[t](this._track,e);if(n)return n}}};var s={pinch:function(e,t){var n=e.length;if(n){var i=(e[n-1]||{}).points,r=(e[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var s=o(i)/o(r);!isFinite(s)&&(s=1),t.pinchScale=s;var l=a(i);return t.pinchX=l[0],t.pinchY=l[1],{type:"pinch",target:e[0].target,event:t}}}}},l=r;e.exports=l},45746:function(e){var t=function(){this.head=null,this.tail=null,this._len=0},n=t.prototype;n.insert=function(e){var t=new i(e);return this.insertEntry(t),t},n.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},n.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},n.len=function(){return this._len},n.clear=function(){this.head=this.tail=null,this._len=0};var i=function(e){this.value=e,this.next,this.prev},r=function(e){this._list=new t,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},o=r.prototype;o.put=function(e,t){var n=this._list,r=this._map,o=null;if(null==r[e]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new i(t),s.key=e,n.insertEntry(s),r[e]=s}return o},o.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},o.clear=function(){this._list.clear(),this._map={}};var a=r;e.exports=a},11348:function(e,t,n){n(1439),n(87585),n(55315);var i=n(85723),r=n(78244),o=n(9787),a=n(46630),s=n(52215),l=s.devicePixelRatio,u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],h=[],d=[],f=[],p=Math.min,g=Math.max,m=Math.cos,v=Math.sin,y=Math.sqrt,b=Math.abs,x="undefined"!==typeof Float32Array,_=function(e){this._saveData=!e,this._saveData&&(this.data=[]),this._ctx=null};_.prototype={constructor:_,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(e,t,n){n=n||0,this._ux=b(n/l/e)||0,this._uy=b(n/l/t)||0},getContext:function(){return this._ctx},beginPath:function(e){return this._ctx=e,e&&e.beginPath(),e&&(this.dpr=e.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(e,t){return this.addData(u.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},lineTo:function(e,t){var n=b(e-this._xi)>this._ux||b(t-this._yi)>this._uy||this._len<5;return this.addData(u.L,e,t),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),n&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,n,i,r,o){return this.addData(u.C,e,t,n,i,r,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,n,i,r,o):this._ctx.bezierCurveTo(e,t,n,i,r,o)),this._xi=r,this._yi=o,this},quadraticCurveTo:function(e,t,n,i){return this.addData(u.Q,e,t,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,n,i):this._ctx.quadraticCurveTo(e,t,n,i)),this._xi=n,this._yi=i,this},arc:function(e,t,n,i,r,o){return this.addData(u.A,e,t,n,n,i,r-i,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,i,r,o),this._xi=m(r)*n+e,this._yi=v(r)*n+t,this},arcTo:function(e,t,n,i,r){return this._ctx&&this._ctx.arcTo(e,t,n,i,r),this},rect:function(e,t,n,i){return this._ctx&&this._ctx.rect(e,t,n,i),this.addData(u.R,e,t,n,i),this},closePath:function(){this.addData(u.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,n),e.closePath()),this._xi=t,this._yi=n,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,n=0;n<e.length;n++)t+=e[n];this._dashSum=t}return this},setLineDashOffset:function(e){return this._dashOffset=e,this},len:function(){return this._len},setData:function(e){var t=e.length;this.data&&this.data.length===t||!x||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},appendPath:function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,i=this._len,r=0;r<t;r++)n+=e[r].len();x&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<t;r++)for(var o=e[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},addData:function(e){if(this._saveData){var t=this.data;this._len+arguments.length>t.length&&(this._expandData(),t=this.data);for(var n=0;n<arguments.length;n++)t[this._len++]=arguments[n];this._prevCmd=e}},_expandData:function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(e,t){var n,i,r=this._dashSum,o=this._dashOffset,a=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,c=e-l,h=t-u,d=y(c*c+h*h),f=l,m=u,v=a.length;c/=d,h/=d,o<0&&(o=r+o),o%=r,f-=o*c,m-=o*h;while(c>0&&f<=e||c<0&&f>=e||0===c&&(h>0&&m<=t||h<0&&m>=t))i=this._dashIdx,n=a[i],f+=c*n,m+=h*n,this._dashIdx=(i+1)%v,c>0&&f<l||c<0&&f>l||h>0&&m<u||h<0&&m>u||s[i%2?"moveTo":"lineTo"](c>=0?p(f,e):g(f,e),h>=0?p(m,t):g(m,t));c=f-e,h=m-t,this._dashOffset=-y(c*c+h*h)},_dashedBezierTo:function(e,t,n,r,o,a){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,v=this._yi,b=i.cubicAt,x=0,_=this._dashIdx,w=p.length,C=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=b(m,e,n,o,s+.1)-b(m,e,n,o,s),u=b(v,t,r,a,s+.1)-b(v,t,r,a,s),x+=y(l*l+u*u);for(;_<w;_++)if(C+=p[_],C>f)break;s=(C-f)/x;while(s<=1)c=b(m,e,n,o,s),h=b(v,t,r,a,s),_%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[_]/x,_=(_+1)%w;_%2!==0&&g.lineTo(o,a),l=o-c,u=a-h,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(e,t,n,i){var r=n,o=i;n=(n+2*e)/3,i=(i+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,n,i,r,o)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,x&&(this.data=new Float32Array(e)))},getBoundingRect:function(){c[0]=c[1]=d[0]=d[1]=Number.MAX_VALUE,h[0]=h[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,n=0,i=0,s=0,l=0;l<e.length;){var p=e[l++];switch(1===l&&(t=e[l],n=e[l+1],i=t,s=n),p){case u.M:i=e[l++],s=e[l++],t=i,n=s,d[0]=i,d[1]=s,f[0]=i,f[1]=s;break;case u.L:o.fromLine(t,n,e[l],e[l+1],d,f),t=e[l++],n=e[l++];break;case u.C:o.fromCubic(t,n,e[l++],e[l++],e[l++],e[l++],e[l],e[l+1],d,f),t=e[l++],n=e[l++];break;case u.Q:o.fromQuadratic(t,n,e[l++],e[l++],e[l],e[l+1],d,f),t=e[l++],n=e[l++];break;case u.A:var g=e[l++],y=e[l++],b=e[l++],x=e[l++],_=e[l++],w=e[l++]+_;l+=1;var C=1-e[l++];1===l&&(i=m(_)*b+g,s=v(_)*x+y),o.fromArc(g,y,b,x,_,w,C,d,f),t=m(w)*b+g,n=v(w)*x+y;break;case u.R:i=t=e[l++],s=n=e[l++];var S=e[l++],k=e[l++];o.fromLine(i,s,i+S,s+k,d,f);break;case u.Z:t=i,n=s;break}r.min(c,c,d),r.max(h,h,f)}return 0===l&&(c[0]=c[1]=h[0]=h[1]=0),new a(c[0],c[1],h[0]-c[0],h[1]-c[1])},rebuildPath:function(e){for(var t,n,i,r,o,a,s=this.data,l=this._ux,c=this._uy,h=this._len,d=0;d<h;){var f=s[d++];switch(1===d&&(i=s[d],r=s[d+1],t=i,n=r),f){case u.M:t=i=s[d++],n=r=s[d++],e.moveTo(i,r);break;case u.L:o=s[d++],a=s[d++],(b(o-i)>l||b(a-r)>c||d===h-1)&&(e.lineTo(o,a),i=o,r=a);break;case u.C:e.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),i=s[d-2],r=s[d-1];break;case u.Q:e.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),i=s[d-2],r=s[d-1];break;case u.A:var p=s[d++],g=s[d++],y=s[d++],x=s[d++],_=s[d++],w=s[d++],C=s[d++],S=s[d++],k=y>x?y:x,M=y>x?1:y/x,T=y>x?x/y:1,E=Math.abs(y-x)>.001,D=_+w;E?(e.translate(p,g),e.rotate(C),e.scale(M,T),e.arc(0,0,k,_,D,1-S),e.scale(1/M,1/T),e.rotate(-C),e.translate(-p,-g)):e.arc(p,g,k,_,D,1-S),1===d&&(t=m(_)*y+p,n=v(_)*x+g),i=m(D)*y+p,r=v(D)*x+g;break;case u.R:t=i=s[d],n=r=s[d+1],e.rect(s[d++],s[d++],s[d++],s[d++]);break;case u.Z:e.closePath(),i=t,r=n}}}},_.CMD=u;var w=_;e.exports=w},62732:function(e,t,n){function i(){}function r(e,t,n,i){for(var r=0,o=t.length,a=0,s=0;r<o;r++){var l=t[r];if(l.removed){for(u=[],c=s;c<s+l.count;c++)u.push(c);l.indices=u,s+=l.count}else{for(var u=[],c=a;c<a+l.count;c++)u.push(c);l.indices=u,a+=l.count,l.added||(s+=l.count)}}return t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}n(57658),i.prototype={diff:function(e,t,n){n||(n=function(e,t){return e===t}),this.equals=n;var i=this;e=e.slice(),t=t.slice();var a=t.length,s=e.length,l=1,u=a+s,c=[{newPos:-1,components:[]}],h=this.extractCommon(c[0],t,e,0);if(c[0].newPos+1>=a&&h+1>=s){for(var d=[],f=0;f<t.length;f++)d.push(f);return[{indices:d,count:t.length}]}function p(){for(var n=-1*l;n<=l;n+=2){var u,h=c[n-1],d=c[n+1],f=(d?d.newPos:0)-n;h&&(c[n-1]=void 0);var p=h&&h.newPos+1<a,g=d&&0<=f&&f<s;if(p||g){if(!p||g&&h.newPos<d.newPos?(u=o(d),i.pushComponent(u.components,void 0,!0)):(u=h,u.newPos++,i.pushComponent(u.components,!0,void 0)),f=i.extractCommon(u,t,e,n),u.newPos+1>=a&&f+1>=s)return r(i,u.components,t,e);c[n]=u}else c[n]=void 0}l++}while(l<=u){var g=p();if(g)return g}},pushComponent:function(e,t,n){var i=e[e.length-1];i&&i.added===t&&i.removed===n?e[e.length-1]={count:i.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,i){var r=t.length,o=n.length,a=e.newPos,s=a-i,l=0;while(a+1<r&&s+1<o&&this.equals(t[a+1],n[s+1]))a++,s++,l++;return l&&e.components.push({count:l}),e.newPos=a,s},tokenize:function(e){return e.slice()},join:function(e){return e.slice()}};var a=new i;function s(e,t,n){return a.diff(e,t,n)}e.exports=s},9787:function(e,t,n){var i=n(78244),r=n(85723),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=i.create(),h=i.create(),d=i.create();function f(e,t,n){if(0!==e.length){var i,r=e[0],s=r[0],l=r[0],u=r[1],c=r[1];for(i=1;i<e.length;i++)r=e[i],s=o(s,r[0]),l=a(l,r[0]),u=o(u,r[1]),c=a(c,r[1]);t[0]=s,t[1]=u,n[0]=l,n[1]=c}}function p(e,t,n,i,r,s){r[0]=o(e,n),r[1]=o(t,i),s[0]=a(e,n),s[1]=a(t,i)}var g=[],m=[];function v(e,t,n,i,s,l,u,c,h,d){var f,p=r.cubicExtrema,v=r.cubicAt,y=p(e,n,s,u,g);for(h[0]=1/0,h[1]=1/0,d[0]=-1/0,d[1]=-1/0,f=0;f<y;f++){var b=v(e,n,s,u,g[f]);h[0]=o(b,h[0]),d[0]=a(b,d[0])}for(y=p(t,i,l,c,m),f=0;f<y;f++){var x=v(t,i,l,c,m[f]);h[1]=o(x,h[1]),d[1]=a(x,d[1])}h[0]=o(e,h[0]),d[0]=a(e,d[0]),h[0]=o(u,h[0]),d[0]=a(u,d[0]),h[1]=o(t,h[1]),d[1]=a(t,d[1]),h[1]=o(c,h[1]),d[1]=a(c,d[1])}function y(e,t,n,i,s,l,u,c){var h=r.quadraticExtremum,d=r.quadraticAt,f=a(o(h(e,n,s),1),0),p=a(o(h(t,i,l),1),0),g=d(e,n,s,f),m=d(t,i,l,p);u[0]=o(e,s,g),u[1]=o(t,l,m),c[0]=a(e,s,g),c[1]=a(t,l,m)}function b(e,t,n,r,o,a,f,p,g){var m=i.min,v=i.max,y=Math.abs(o-a);if(y%u<1e-4&&y>1e-4)return p[0]=e-n,p[1]=t-r,g[0]=e+n,void(g[1]=t+r);if(c[0]=l(o)*n+e,c[1]=s(o)*r+t,h[0]=l(a)*n+e,h[1]=s(a)*r+t,m(p,c,h),v(g,c,h),o%=u,o<0&&(o+=u),a%=u,a<0&&(a+=u),o>a&&!f?a+=u:o<a&&f&&(o+=u),f){var b=a;a=o,o=b}for(var x=0;x<a;x+=Math.PI/2)x>o&&(d[0]=l(x)*n+e,d[1]=s(x)*r+t,m(p,d,p),v(g,d,g))}t.fromPoints=f,t.fromLine=p,t.fromCubic=v,t.fromQuadratic=y,t.fromArc=b},85723:function(e,t,n){var i=n(78244),r=i.create,o=i.distSquare,a=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,c=s(3),h=1/3,d=r(),f=r(),p=r();function g(e){return e>-l&&e<l}function m(e){return e>l||e<-l}function v(e,t,n,i,r){var o=1-r;return o*o*(o*e+3*r*t)+r*r*(r*i+3*o*n)}function y(e,t,n,i,r){var o=1-r;return 3*(((t-e)*o+2*(n-t)*r)*o+(i-n)*r*r)}function b(e,t,n,i,r,o){var l=i+3*(t-n)-e,u=3*(n-2*t+e),d=3*(t-e),f=e-r,p=u*u-3*l*d,m=u*d-9*l*f,v=d*d-3*u*f,y=0;if(g(p)&&g(m))if(g(u))o[0]=0;else{var b=-d/u;b>=0&&b<=1&&(o[y++]=b)}else{var x=m*m-4*p*v;if(g(x)){var _=m/p,w=(b=-u/l+_,-_/2);b>=0&&b<=1&&(o[y++]=b),w>=0&&w<=1&&(o[y++]=w)}else if(x>0){var C=s(x),S=p*u+1.5*l*(-m+C),k=p*u+1.5*l*(-m-C);S=S<0?-a(-S,h):a(S,h),k=k<0?-a(-k,h):a(k,h);b=(-u-(S+k))/(3*l);b>=0&&b<=1&&(o[y++]=b)}else{var M=(2*p*u-3*l*m)/(2*s(p*p*p)),T=Math.acos(M)/3,E=s(p),D=Math.cos(T),P=(b=(-u-2*E*D)/(3*l),w=(-u+E*(D+c*Math.sin(T)))/(3*l),(-u+E*(D-c*Math.sin(T)))/(3*l));b>=0&&b<=1&&(o[y++]=b),w>=0&&w<=1&&(o[y++]=w),P>=0&&P<=1&&(o[y++]=P)}}return y}function x(e,t,n,i,r){var o=6*n-12*t+6*e,a=9*t+3*i-3*e-9*n,l=3*t-3*e,u=0;if(g(a)){if(m(o)){var c=-l/o;c>=0&&c<=1&&(r[u++]=c)}}else{var h=o*o-4*a*l;if(g(h))r[0]=-o/(2*a);else if(h>0){var d=s(h),f=(c=(-o+d)/(2*a),(-o-d)/(2*a));c>=0&&c<=1&&(r[u++]=c),f>=0&&f<=1&&(r[u++]=f)}}return u}function _(e,t,n,i,r,o){var a=(t-e)*r+e,s=(n-t)*r+t,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=e,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i}function w(e,t,n,i,r,a,l,c,h,g,m){var y,b,x,_,w,C=.005,S=1/0;d[0]=h,d[1]=g;for(var k=0;k<1;k+=.05)f[0]=v(e,n,r,l,k),f[1]=v(t,i,a,c,k),_=o(d,f),_<S&&(y=k,S=_);S=1/0;for(var M=0;M<32;M++){if(C<u)break;b=y-C,x=y+C,f[0]=v(e,n,r,l,b),f[1]=v(t,i,a,c,b),_=o(f,d),b>=0&&_<S?(y=b,S=_):(p[0]=v(e,n,r,l,x),p[1]=v(t,i,a,c,x),w=o(p,d),x<=1&&w<S?(y=x,S=w):C*=.5)}return m&&(m[0]=v(e,n,r,l,y),m[1]=v(t,i,a,c,y)),s(S)}function C(e,t,n,i){var r=1-i;return r*(r*e+2*i*t)+i*i*n}function S(e,t,n,i){return 2*((1-i)*(t-e)+i*(n-t))}function k(e,t,n,i,r){var o=e-2*t+n,a=2*(t-e),l=e-i,u=0;if(g(o)){if(m(a)){var c=-l/a;c>=0&&c<=1&&(r[u++]=c)}}else{var h=a*a-4*o*l;if(g(h)){c=-a/(2*o);c>=0&&c<=1&&(r[u++]=c)}else if(h>0){var d=s(h),f=(c=(-a+d)/(2*o),(-a-d)/(2*o));c>=0&&c<=1&&(r[u++]=c),f>=0&&f<=1&&(r[u++]=f)}}return u}function M(e,t,n){var i=e+n-2*t;return 0===i?.5:(e-t)/i}function T(e,t,n,i,r){var o=(t-e)*i+e,a=(n-t)*i+t,s=(a-o)*i+o;r[0]=e,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function E(e,t,n,i,r,a,l,c,h){var g,m=.005,v=1/0;d[0]=l,d[1]=c;for(var y=0;y<1;y+=.05){f[0]=C(e,n,r,y),f[1]=C(t,i,a,y);var b=o(d,f);b<v&&(g=y,v=b)}v=1/0;for(var x=0;x<32;x++){if(m<u)break;var _=g-m,w=g+m;f[0]=C(e,n,r,_),f[1]=C(t,i,a,_);b=o(f,d);if(_>=0&&b<v)g=_,v=b;else{p[0]=C(e,n,r,w),p[1]=C(t,i,a,w);var S=o(p,d);w<=1&&S<v?(g=w,v=S):m*=.5}}return h&&(h[0]=C(e,n,r,g),h[1]=C(t,i,a,g)),s(v)}t.cubicAt=v,t.cubicDerivativeAt=y,t.cubicRootAt=b,t.cubicExtrema=x,t.cubicSubdivide=_,t.cubicProjectPoint=w,t.quadraticAt=C,t.quadraticDerivativeAt=S,t.quadraticRootAt=k,t.quadraticExtremum=M,t.quadraticSubdivide=T,t.quadraticProjectPoint=E},87086:function(e,t,n){n(57658);var i=n(95160),r=n(46093),o=r.buildTransformer,a="___zrEVENTSAVED",s=[];function l(e,t,n,i,r){return u(s,t,i,r,!0)&&u(e,n,s[0],s[1])}function u(e,t,n,r,o){if(t.getBoundingClientRect&&i.domSupported&&!d(t)){var s=t[a]||(t[a]={}),l=c(t,s),u=h(l,s,o);if(u)return u(e,n,r),!0}return!1}function c(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function h(e,t,n){for(var i=n?"invTrans":"trans",r=t[i],a=t.srcCoords,s=!0,l=[],u=[],c=0;c<4;c++){var h=e[c].getBoundingClientRect(),d=2*c,f=h.left,p=h.top;l.push(f,p),s=s&&a&&f===a[d]&&p===a[d+1],u.push(e[c].offsetLeft,e[c].offsetTop)}return s&&r?r:(t.srcCoords=l,t[i]=n?o(u,l):o(l,u))}function d(e){return"CANVAS"===e.nodeName.toUpperCase()}t.transformLocalCoord=l,t.transformCoordWithViewport=u,t.isCanvasEl=d},95160:function(e){var t={};t="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:i(navigator.userAgent);var n=t;function i(e){var t={},n={},i=e.match(/Firefox\/([\d.]+)/),r=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(e);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:t,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!==typeof document}}e.exports=n},13199:function(e,t,n){var i=n(65836);t.Dispatcher=i;var r=n(95160),o=n(87086),a=o.isCanvasEl,s=o.transformCoordWithViewport,l="undefined"!==typeof window&&!!window.addEventListener,u=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function h(e,t,n,i){return n=n||{},i||!r.canvasSupported?d(e,t,n):r.browser.firefox&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):d(e,t,n),n}function d(e,t,n){if(r.domSupported&&e.getBoundingClientRect){var i=t.clientX,o=t.clientY;if(a(e)){var l=e.getBoundingClientRect();return n.zrX=i-l.left,void(n.zrY=o-l.top)}if(s(c,e,i,o))return n.zrX=c[0],void(n.zrY=c[1])}n.zrX=n.zrY=0}function f(e){return e||window.event}function p(e,t,n){if(t=f(t),null!=t.zrX)return t;var i=t.type,r=i&&i.indexOf("touch")>=0;if(r){var o="touchend"!==i?t.targetTouches[0]:t.changedTouches[0];o&&h(e,o,t,n)}else h(e,t,t,n),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;var a=t.button;return null==t.which&&void 0!==a&&u.test(t.type)&&(t.which=1&a?1:2&a?3:4&a?2:0),t}function g(e,t,n,i){l?e.addEventListener(t,n,i):e.attachEvent("on"+t,n)}function m(e,t,n,i){l?e.removeEventListener(t,n,i):e.detachEvent("on"+t,n)}var v=l?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};function y(e){return 2===e.which||3===e.which}function b(e){return e.which>1}t.clientToLocal=h,t.getNativeEvent=f,t.normalizeEvent=p,t.addEventListener=g,t.removeEventListener=m,t.stop=v,t.isMiddleOrRightButtonOnMouseUpDown=y,t.notLeftMouse=b},46093:function(e,t){var n=Math.log(2);function i(e,t,r,o,a,s){var l=o+"-"+a,u=e.length;if(s.hasOwnProperty(l))return s[l];if(1===t){var c=Math.round(Math.log((1<<u)-1&~a)/n);return e[r][c]}var h=o|1<<r,d=r+1;while(o&1<<d)d++;for(var f=0,p=0,g=0;p<u;p++){var m=1<<p;m&a||(f+=(g%2?-1:1)*e[r][p]*i(e,t-1,d,h,a|m,s),g++)}return s[l]=f,f}function r(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},o=i(n,8,0,0,0,r);if(0!==o){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*i(n,7,0===s?1:0,1<<s,1<<l,r)/o*t[s];return function(e,t,n){var i=t*a[6]+n*a[7]+1;e[0]=(t*a[0]+n*a[1]+a[2])/i,e[1]=(t*a[3]+n*a[4]+a[5])/i}}}t.buildTransformer=r},26469:function(e){var t=2311;function n(){return t++}e.exports=n},70083:function(e,t,n){var i=n(52215),r=i.debugMode,o=function(){};1===r&&(o=console.error);var a=o;e.exports=a},97333:function(e,t,n){n(1439),n(87585),n(55315);var i="undefined"===typeof Float32Array?Array:Float32Array;function r(){var e=new i(6);return o(e),e}function o(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function s(e,t,n){var i=t[0]*n[0]+t[2]*n[1],r=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=i,e[1]=r,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function l(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function u(e,t,n){var i=t[0],r=t[2],o=t[4],a=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=i*c+a*u,e[1]=-i*u+a*c,e[2]=r*c+s*u,e[3]=-r*u+c*s,e[4]=c*o+u*l,e[5]=c*l-u*o,e}function c(e,t,n){var i=n[0],r=n[1];return e[0]=t[0]*i,e[1]=t[1]*r,e[2]=t[2]*i,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*r,e}function h(e,t){var n=t[0],i=t[2],r=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*i;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-i*l,e[3]=n*l,e[4]=(i*s-a*r)*l,e[5]=(o*r-n*s)*l,e):null}function d(e){var t=r();return a(t,e),t}t.create=r,t.identity=o,t.copy=a,t.mul=s,t.translate=l,t.rotate=u,t.scale=c,t.invert=h,t.clone=d},92757:function(e){var t=32,n=7;function i(e){var n=0;while(e>=t)n|=1&e,e>>=1;return e+n}function r(e,t,n,i){var r=t+1;if(r===n)return 1;if(i(e[r++],e[t])<0){while(r<n&&i(e[r],e[r-1])<0)r++;o(e,t,r)}else while(r<n&&i(e[r],e[r-1])>=0)r++;return r-t}function o(e,t,n){n--;while(t<n){var i=e[t];e[t++]=e[n],e[n--]=i}}function a(e,t,n,i,r){for(i===t&&i++;i<n;i++){var o,a=e[i],s=t,l=i;while(s<l)o=s+l>>>1,r(a,e[o])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:while(u>0)e[s+u]=e[s+u-1],u--}e[s]=a}}function s(e,t,n,i,r,o){var a=0,s=0,l=1;if(o(e,t[n+r])>0){s=i-r;while(l<s&&o(e,t[n+r+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{s=r+1;while(l<s&&o(e,t[n+r-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[n+c])>0?a=c+1:l=c}return l}function l(e,t,n,i,r,o){var a=0,s=0,l=1;if(o(e,t[n+r])<0){s=r+1;while(l<s&&o(e,t[n+r-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{s=i-r;while(l<s&&o(e,t[n+r+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[n+c])<0?l=c:a=c+1}return l}function u(e,t){var i,r,o=n,a=0,u=0;a=e.length;var c=[];function h(e,t){i[u]=e,r[u]=t,u+=1}function d(){while(u>1){var e=u-2;if(e>=1&&r[e-1]<=r[e]+r[e+1]||e>=2&&r[e-2]<=r[e]+r[e-1])r[e-1]<r[e+1]&&e--;else if(r[e]>r[e+1])break;p(e)}}function f(){while(u>1){var e=u-2;e>0&&r[e-1]<r[e+1]&&e--,p(e)}}function p(n){var o=i[n],a=r[n],c=i[n+1],h=r[n+1];r[n]=a+h,n===u-3&&(i[n+1]=i[n+2],r[n+1]=r[n+2]),u--;var d=l(e[c],e,o,a,0,t);o+=d,a-=d,0!==a&&(h=s(e[o+a-1],e,c,h,h-1,t),0!==h&&(a<=h?g(o,a,c,h):m(o,a,c,h)))}function g(i,r,a,u){var h=0;for(h=0;h<r;h++)c[h]=e[i+h];var d=0,f=a,p=i;if(e[p++]=e[f++],0!==--u)if(1!==r){var g,m,v,y=o;while(1){g=0,m=0,v=!1;do{if(t(e[f],c[d])<0){if(e[p++]=e[f++],m++,g=0,0===--u){v=!0;break}}else if(e[p++]=c[d++],g++,m=0,1===--r){v=!0;break}}while((g|m)<y);if(v)break;do{if(g=l(e[f],c,d,r,0,t),0!==g){for(h=0;h<g;h++)e[p+h]=c[d+h];if(p+=g,d+=g,r-=g,r<=1){v=!0;break}}if(e[p++]=e[f++],0===--u){v=!0;break}if(m=s(c[d],e,f,u,0,t),0!==m){for(h=0;h<m;h++)e[p+h]=e[f+h];if(p+=m,f+=m,u-=m,0===u){v=!0;break}}if(e[p++]=c[d++],1===--r){v=!0;break}y--}while(g>=n||m>=n);if(v)break;y<0&&(y=0),y+=2}if(o=y,o<1&&(o=1),1===r){for(h=0;h<u;h++)e[p+h]=e[f+h];e[p+u]=c[d]}else{if(0===r)throw new Error;for(h=0;h<r;h++)e[p+h]=c[d+h]}}else{for(h=0;h<u;h++)e[p+h]=e[f+h];e[p+u]=c[d]}else for(h=0;h<r;h++)e[p+h]=c[d+h]}function m(i,r,a,u){var h=0;for(h=0;h<u;h++)c[h]=e[a+h];var d=i+r-1,f=u-1,p=a+u-1,g=0,m=0;if(e[p--]=e[d--],0!==--r)if(1!==u){var v=o;while(1){var y=0,b=0,x=!1;do{if(t(c[f],e[d])<0){if(e[p--]=e[d--],y++,b=0,0===--r){x=!0;break}}else if(e[p--]=c[f--],b++,y=0,1===--u){x=!0;break}}while((y|b)<v);if(x)break;do{if(y=r-l(c[f],e,i,r,r-1,t),0!==y){for(p-=y,d-=y,r-=y,m=p+1,g=d+1,h=y-1;h>=0;h--)e[m+h]=e[g+h];if(0===r){x=!0;break}}if(e[p--]=c[f--],1===--u){x=!0;break}if(b=u-s(e[d],c,0,u,u-1,t),0!==b){for(p-=b,f-=b,u-=b,m=p+1,g=f+1,h=0;h<b;h++)e[m+h]=c[g+h];if(u<=1){x=!0;break}}if(e[p--]=e[d--],0===--r){x=!0;break}v--}while(y>=n||b>=n);if(x)break;v<0&&(v=0),v+=2}if(o=v,o<1&&(o=1),1===u){for(p-=r,d-=r,m=p+1,g=d+1,h=r-1;h>=0;h--)e[m+h]=e[g+h];e[p]=c[f]}else{if(0===u)throw new Error;for(g=p-(u-1),h=0;h<u;h++)e[g+h]=c[h]}}else{for(p-=r,d-=r,m=p+1,g=d+1,h=r-1;h>=0;h--)e[m+h]=e[g+h];e[p]=c[f]}else for(g=p-(u-1),h=0;h<u;h++)e[g+h]=c[h]}i=[],r=[],this.mergeRuns=d,this.forceMergeRuns=f,this.pushRun=h}function c(e,n,o,s){o||(o=0),s||(s=e.length);var l=s-o;if(!(l<2)){var c=0;if(l<t)return c=r(e,o,s,n),void a(e,o,s,o+c,n);var h=new u(e,n),d=i(l);do{if(c=r(e,o,s,n),c<d){var f=l;f>d&&(f=d),a(e,o,o+f,o+c,n),c=f}h.pushRun(o,c),h.mergeRuns(),l-=c,o+=c}while(0!==l);h.forceMergeRuns()}}e.exports=c},63122:function(e,t,n){n(57658);var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},r={"[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},o=Object.prototype.toString,a=Array.prototype,s=a.forEach,l=a.filter,u=a.slice,c=a.map,h=a.reduce,d={};function f(e,t){"createCanvas"===e&&(b=null),d[e]=t}function p(e){if(null==e||"object"!==typeof e)return e;var t=e,n=o.call(e);if("[object Array]"===n){if(!Z(e)){t=[];for(var a=0,s=e.length;a<s;a++)t[a]=p(e[a])}}else if(r[n]){if(!Z(e)){var l=e.constructor;if(e.constructor.from)t=l.from(e);else{t=new l(e.length);for(a=0,s=e.length;a<s;a++)t[a]=p(e[a])}}}else if(!i[n]&&!Z(e)&&!B(e))for(var u in t={},e)e.hasOwnProperty(u)&&(t[u]=p(e[u]));return t}function g(e,t,n){if(!R(t)||!R(e))return n?p(t):e;for(var i in t)if(t.hasOwnProperty(i)){var r=e[i],o=t[i];!R(o)||!R(r)||A(o)||A(r)||B(o)||B(r)||z(o)||z(r)||Z(o)||Z(r)?!n&&i in e||(e[i]=p(t[i],!0)):g(r,o,n)}return e}function m(e,t){for(var n=e[0],i=1,r=e.length;i<r;i++)n=g(n,e[i],t);return n}function v(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function y(e,t,n){for(var i in t)t.hasOwnProperty(i)&&(n?null!=t[i]:null==e[i])&&(e[i]=t[i]);return e}var b,x=function(){return d.createCanvas()};function _(){return b||(b=x().getContext("2d")),b}function w(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n}return-1}function C(e,t){var n=e.prototype;function i(){}for(var r in i.prototype=t.prototype,e.prototype=new i,n)n.hasOwnProperty(r)&&(e.prototype[r]=n[r]);e.prototype.constructor=e,e.superClass=t}function S(e,t,n){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,y(e,t,n)}function k(e){if(e)return"string"!==typeof e&&"number"===typeof e.length}function M(e,t,n){if(e&&t)if(e.forEach&&e.forEach===s)e.forEach(t,n);else if(e.length===+e.length)for(var i=0,r=e.length;i<r;i++)t.call(n,e[i],i,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function T(e,t,n){if(e&&t){if(e.map&&e.map===c)return e.map(t,n);for(var i=[],r=0,o=e.length;r<o;r++)i.push(t.call(n,e[r],r,e));return i}}function E(e,t,n,i){if(e&&t){if(e.reduce&&e.reduce===h)return e.reduce(t,n,i);for(var r=0,o=e.length;r<o;r++)n=t.call(i,n,e[r],r,e);return n}}function D(e,t,n){if(e&&t){if(e.filter&&e.filter===l)return e.filter(t,n);for(var i=[],r=0,o=e.length;r<o;r++)t.call(n,e[r],r,e)&&i.push(e[r]);return i}}function P(e,t,n){if(e&&t)for(var i=0,r=e.length;i<r;i++)if(t.call(n,e[i],i,e))return e[i]}function O(e,t){var n=u.call(arguments,2);return function(){return e.apply(t,n.concat(u.call(arguments)))}}function I(e){var t=u.call(arguments,1);return function(){return e.apply(this,t.concat(u.call(arguments)))}}function A(e){return"[object Array]"===o.call(e)}function L(e){return"function"===typeof e}function N(e){return"[object String]"===o.call(e)}function R(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function z(e){return!!i[o.call(e)]}function $(e){return!!r[o.call(e)]}function B(e){return"object"===typeof e&&"number"===typeof e.nodeType&&"object"===typeof e.ownerDocument}function F(e){return e!==e}function j(e){for(var t=0,n=arguments.length;t<n;t++)if(null!=arguments[t])return arguments[t]}function V(e,t){return null!=e?e:t}function H(e,t,n){return null!=e?e:null!=t?t:n}function W(){return Function.call.apply(u,arguments)}function G(e){if("number"===typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function q(e,t){if(!e)throw new Error(t)}function U(e){return null==e?null:"function"===typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}d.createCanvas=function(){return document.createElement("canvas")};var Y="__ec_primitive__";function X(e){e[Y]=!0}function Z(e){return e[Y]}function K(e){var t=A(e);this.data={};var n=this;function i(e,i){t?n.set(e,i):n.set(i,e)}e instanceof K?e.each(i):e&&M(e,i)}function Q(e){return new K(e)}function J(e,t){for(var n=new e.constructor(e.length+t.length),i=0;i<e.length;i++)n[i]=e[i];var r=e.length;for(i=0;i<t.length;i++)n[i+r]=t[i];return n}function ee(){}K.prototype={constructor:K,get:function(e){return this.data.hasOwnProperty(e)?this.data[e]:null},set:function(e,t){return this.data[e]=t},each:function(e,t){for(var n in void 0!==t&&(e=O(e,t)),this.data)this.data.hasOwnProperty(n)&&e(this.data[n],n)},removeKey:function(e){delete this.data[e]}},t.$override=f,t.clone=p,t.merge=g,t.mergeAll=m,t.extend=v,t.defaults=y,t.createCanvas=x,t.getContext=_,t.indexOf=w,t.inherits=C,t.mixin=S,t.isArrayLike=k,t.each=M,t.map=T,t.reduce=E,t.filter=D,t.find=P,t.bind=O,t.curry=I,t.isArray=A,t.isFunction=L,t.isString=N,t.isObject=R,t.isBuiltInObject=z,t.isTypedArray=$,t.isDom=B,t.eqNaN=F,t.retrieve=j,t.retrieve2=V,t.retrieve3=H,t.slice=W,t.normalizeCssArray=G,t.assert=q,t.trim=U,t.setAsPrimitive=X,t.isPrimitive=Z,t.createHashMap=Q,t.concatArray=J,t.noop=ee},78244:function(e,t,n){n(1439),n(87585),n(55315);var i="undefined"===typeof Float32Array?Array:Float32Array;function r(e,t){var n=new i(2);return null==e&&(e=0),null==t&&(t=0),n[0]=e,n[1]=t,n}function o(e,t){return e[0]=t[0],e[1]=t[1],e}function a(e){var t=new i(2);return t[0]=e[0],t[1]=e[1],t}function s(e,t,n){return e[0]=t,e[1]=n,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function u(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e}function c(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function h(e){return Math.sqrt(f(e))}var d=h;function f(e){return e[0]*e[0]+e[1]*e[1]}var p=f;function g(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function m(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function v(e,t){return e[0]*t[0]+e[1]*t[1]}function y(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function b(e,t){var n=h(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function x(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var _=x;function w(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var C=w;function S(e,t){return e[0]=-t[0],e[1]=-t[1],e}function k(e,t,n,i){return e[0]=t[0]+i*(n[0]-t[0]),e[1]=t[1]+i*(n[1]-t[1]),e}function M(e,t,n){var i=t[0],r=t[1];return e[0]=n[0]*i+n[2]*r+n[4],e[1]=n[1]*i+n[3]*r+n[5],e}function T(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function E(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}t.create=r,t.copy=o,t.clone=a,t.set=s,t.add=l,t.scaleAndAdd=u,t.sub=c,t.len=h,t.length=d,t.lenSquare=f,t.lengthSquare=p,t.mul=g,t.div=m,t.dot=v,t.scale=y,t.normalize=b,t.distance=x,t.dist=_,t.distanceSquare=w,t.distSquare=C,t.negate=S,t.lerp=k,t.applyTransform=M,t.min=T,t.max=E},48107:function(e,t,n){var i=n(13199),r=i.addEventListener,o=i.removeEventListener,a=i.normalizeEvent,s=i.getNativeEvent,l=n(63122),u=n(65836),c=n(95160),h=300,d=c.domSupported,f=function(){var e=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=l.map(e,(function(e){var t=e.replace("mouse","pointer");return n.hasOwnProperty(t)?t:e}));return{mouse:e,touch:t,pointer:i}}(),p={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function g(e){return"mousewheel"===e&&c.browser.firefox?"DOMMouseScroll":e}function m(e){var t=e.pointerType;return"pen"===t||"touch"===t}function v(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}function y(e){e&&(e.zrByTouch=!0)}function b(e,t){return a(e.dom,new _(e,t),!0)}function x(e,t){var n=t,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==t&&n===e.painterRoot))n=n.parentNode;return i}function _(e,t){this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}var w=_.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=l.noop;var C={mousedown:function(e){e=a(this.dom,e),this._mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=a(this.dom,e);var t=this._mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||D(this,!0),this.trigger("mousemove",e)},mouseup:function(e){e=a(this.dom,e),D(this,!1),this.trigger("mouseup",e)},mouseout:function(e){e=a(this.dom,e),this._pointerCapturing&&(e.zrEventControl="no_globalout");var t=e.toElement||e.relatedTarget;e.zrIsToLocalDOM=x(this,t),this.trigger("mouseout",e)},touchstart:function(e){e=a(this.dom,e),y(e),this._lastTouchMoment=new Date,this.handler.processGesture(e,"start"),C.mousemove.call(this,e),C.mousedown.call(this,e)},touchmove:function(e){e=a(this.dom,e),y(e),this.handler.processGesture(e,"change"),C.mousemove.call(this,e)},touchend:function(e){e=a(this.dom,e),y(e),this.handler.processGesture(e,"end"),C.mouseup.call(this,e),+new Date-this._lastTouchMoment<h&&C.click.call(this,e)},pointerdown:function(e){C.mousedown.call(this,e)},pointermove:function(e){m(e)||C.mousemove.call(this,e)},pointerup:function(e){C.mouseup.call(this,e)},pointerout:function(e){m(e)||C.mouseout.call(this,e)}};l.each(["click","mousewheel","dblclick","contextmenu"],(function(e){C[e]=function(t){t=a(this.dom,t),this.trigger(e,t)}}));var S={pointermove:function(e){m(e)||S.mousemove.call(this,e)},pointerup:function(e){S.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this._pointerCapturing;D(this,!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function k(e,t){var n=t.domHandlers;c.pointerEventsSupported?l.each(f.pointer,(function(i){T(t,i,(function(t){n[i].call(e,t)}))})):(c.touchEventsSupported&&l.each(f.touch,(function(i){T(t,i,(function(r){n[i].call(e,r),v(t)}))})),l.each(f.mouse,(function(i){T(t,i,(function(r){r=s(r),t.touching||n[i].call(e,r)}))})))}function M(e,t){function n(n){function i(i){i=s(i),x(e,i.target)||(i=b(e,i),t.domHandlers[n].call(e,i))}T(t,n,i,{capture:!0})}c.pointerEventsSupported?l.each(p.pointer,n):c.touchEventsSupported||l.each(p.mouse,n)}function T(e,t,n,i){e.mounted[t]=n,e.listenerOpts[t]=i,r(e.domTarget,g(t),n,i)}function E(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&o(e.domTarget,g(n),t[n],e.listenerOpts[n]);e.mounted={}}function D(e,t){if(e._mayPointerCapture=null,d&&e._pointerCapturing^t){e._pointerCapturing=t;var n=e._globalHandlerScope;t?M(e,n):E(n)}}function P(e,t){this.domTarget=e,this.domHandlers=t,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function O(e,t){u.call(this),this.dom=e,this.painterRoot=t,this._localHandlerScope=new P(e,C),d&&(this._globalHandlerScope=new P(document,S)),this._pointerCapturing=!1,this._mayPointerCapture=null,k(this,this._localHandlerScope)}var I=O.prototype;I.dispose=function(){E(this._localHandlerScope),d&&E(this._globalHandlerScope)},I.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},l.mixin(O,u);var A=O;e.exports=A},71179:function(e,t,n){var i=n(73477),r=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var e=this.__dirtyPath,t=this.shape.paths,n=0;n<t.length;n++)e=e||t[n].__dirtyPath;this.__dirtyPath=e,this.__dirty=this.__dirty||e},beforeBrush:function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},buildPath:function(e,t){for(var n=t.paths||[],i=0;i<n.length;i++)n[i].buildPath(e,n[i].shape,!0)},afterBrush:function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),i.prototype.getBoundingRect.call(this)}});e.exports=r},84093:function(e,t,n){var i=n(63122),r=n(82516),o=n(33666),a=n(73637);function s(e){for(var t in e=e||{},o.call(this,e),e)e.hasOwnProperty(t)&&"style"!==t&&(this[t]=e[t]);this.style=new r(e.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(e){},afterBrush:function(e){},brush:function(e,t){},getBoundingRect:function(){},contain:function(e,t){return this.rectContain(e,t)},traverse:function(e,t){e.call(t,this)},rectContain:function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect();return i.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(e){return this.animate("style",e)},attrKV:function(e,t){"style"!==e?o.prototype.attrKV.call(this,e,t):this.style.set(t)},setStyle:function(e,t){return this.style.set(e,t),this.dirty(!1),this},useStyle:function(e){return this.style=new r(e,this),this.dirty(!1),this},calculateTextPosition:null},i.inherits(s,o),i.mixin(s,a);var l=s;e.exports=l},80841:function(e,t,n){n(57658);var i=function(e){this.colorStops=e||[]};i.prototype={constructor:i,addColorStop:function(e,t){this.colorStops.push({offset:e,color:t})}};var r=i;e.exports=r},45474:function(e,t,n){var i=n(84093),r=n(46630),o=n(63122),a=n(44949);function s(e){i.call(this,e)}s.prototype={constructor:s,type:"image",brush:function(e,t){var n=this.style,i=n.image;n.bind(e,this,t);var r=this._image=a.createOrUpdateImage(i,this._image,this,this.onload);if(r&&a.isImageReady(r)){var o=n.x||0,s=n.y||0,l=n.width,u=n.height,c=r.width/r.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=r.width,u=r.height),this.setTransform(e),n.sWidth&&n.sHeight){var h=n.sx||0,d=n.sy||0;e.drawImage(r,h,d,n.sWidth,n.sHeight,o,s,l,u)}else if(n.sx&&n.sy){h=n.sx,d=n.sy;var f=l-h,p=u-d;e.drawImage(r,h,d,f,p,o,s,l,u)}else e.drawImage(r,o,s,l,u);null!=n.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))}},getBoundingRect:function(){var e=this.style;return this._rect||(this._rect=new r(e.x||0,e.y||0,e.width||0,e.height||0)),this._rect}},o.inherits(s,i);var l=s;e.exports=l},36418:function(e,t,n){n(57658);var i=n(63122),r=i.inherits,o=n(84093),a=n(46630);function s(e){o.call(this,e),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.dirty()},s.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},s.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},s.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var t=this._displayables[e];t.parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){t=this._temporaryDisplayables[e];t.parent=this,t.update(),t.parent=null}},s.prototype.brush=function(e,t){for(var n=this._cursor;n<this._displayables.length;n++){var i=this._displayables[n];i.beforeBrush&&i.beforeBrush(e),i.brush(e,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(e)}this._cursor=n;for(n=0;n<this._temporaryDisplayables.length;n++){i=this._temporaryDisplayables[n];i.beforeBrush&&i.beforeBrush(e),i.brush(e,0===n?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(e)}this._temporaryDisplayables=[],this.notClear=!0};var l=[];s.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new a(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(l)),e.union(i)}this._rect=e}return this._rect},s.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){var o=this._displayables[r];if(o.contain(e,t))return!0}return!1},r(s,o);var u=s;e.exports=u},48515:function(e,t,n){var i=n(63122),r=n(80841),o=function(e,t,n,i,o,a){this.x=null==e?0:e,this.y=null==t?0:t,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);var a=o;e.exports=a},73477:function(e,t,n){var i=n(84093),r=n(63122),o=n(11348),a=n(17053),s=n(89872),l=s.prototype.getCanvasPattern,u=Math.abs,c=new o(!0);function h(e){i.call(this,e),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(e,t){var n,i=this.style,r=this.path||c,o=i.hasStroke(),a=i.hasFill(),s=i.fill,u=i.stroke,h=a&&!!s.colorStops,d=o&&!!u.colorStops,f=a&&!!s.image,p=o&&!!u.image;(i.bind(e,this,t),this.setTransform(e),this.__dirty)&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(e,s,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(e,u,n)));h?e.fillStyle=this._fillGradient:f&&(e.fillStyle=l.call(s,e)),d?e.strokeStyle=this._strokeGradient:p&&(e.strokeStyle=l.call(u,e));var g=i.lineDash,m=i.lineDashOffset,v=!!e.setLineDash,y=this.getGlobalScale();if(r.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!v&&o?(r.beginPath(e),g&&!v&&(r.setLineDash(g),r.setLineDashOffset(m)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(e.beginPath(),this.path.rebuildPath(e)),a)if(null!=i.fillOpacity){var b=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,r.fill(e),e.globalAlpha=b}else r.fill(e);if(g&&v&&(e.setLineDash(g),e.lineDashOffset=m),o)if(null!=i.strokeOpacity){b=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,r.stroke(e),e.globalAlpha=b}else r.stroke(e);g&&v&&e.setLineDash([]),null!=i.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))},buildPath:function(e,t,n){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var e=this._rect,t=this.style,n=!e;if(n){var i=this.path;i||(i=this.path=new o),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),e=i.getBoundingRect()}if(this._rect=e,t.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=e.clone());if(this.__dirty||n){r.copy(e);var a=t.lineWidth,s=t.strokeNoScale?this.getLineScale():1;t.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),s>1e-10&&(r.width+=a/s,r.height+=a/s,r.x-=a/s/2,r.y-=a/s/2)}return r}return e},contain:function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect(),r=this.style;if(e=n[0],t=n[1],i.contain(e,t)){var o=this.path.data;if(r.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,e,t)))return!0}if(r.hasFill())return a.contain(o,e,t)}return!1},dirty:function(e){null==e&&(e=!0),e&&(this.__dirtyPath=e,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(e){return this.animate("shape",e)},attrKV:function(e,t){"shape"===e?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var n=this.shape;if(n){if(r.isObject(e))for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);else n[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&u(e[0]-1)>1e-10&&u(e[3]-1)>1e-10?Math.sqrt(u(e[0]*e[3]-e[2]*e[1])):1}},h.extend=function(e){var t=function(t){h.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var n=e.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}e.init&&e.init.call(this,t)};for(var n in r.inherits(t,h),e)"style"!==n&&"shape"!==n&&(t.prototype[n]=e[n]);return t},r.inherits(h,i);var d=h;e.exports=d},89872:function(e){var t=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};t.prototype.getCanvasPattern=function(e){return e.createPattern(this.image,this.repeat||"repeat")};var n=t;e.exports=n},58581:function(e,t,n){var i=n(63122),r=n(80841),o=function(e,t,n,i,o){this.x=null==e?.5:e,this.y=null==t?.5:t,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);var a=o;e.exports=a},82516:function(e,t,n){var i=n(84108),r=n(80023),o=r.ContextCachedBy,a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(e){this.extendFrom(e,!1)};function l(e,t,n){var i=null==t.x?0:t.x,r=null==t.x2?1:t.x2,o=null==t.y?0:t.y,a=null==t.y2?0:t.y2;t.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,o=isNaN(o)?0:o,a=isNaN(a)?0:a;var s=e.createLinearGradient(i,o,r,a);return s}function u(e,t,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;t.global||(a=a*i+n.x,s=s*r+n.y,l*=o);var u=e.createRadialGradient(a,s,0,a,s,l);return u}s.prototype={constructor:s,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(e,t,n){var r=this,s=n&&n.style,l=!s||e.__attrCachedBy!==o.STYLE_BIND;e.__attrCachedBy=o.STYLE_BIND;for(var u=0;u<a.length;u++){var c=a[u],h=c[0];(l||r[h]!==s[h])&&(e[h]=i(e,h,r[h]||c[1]))}if((l||r.fill!==s.fill)&&(e.fillStyle=r.fill),(l||r.stroke!==s.stroke)&&(e.strokeStyle=r.stroke),(l||r.opacity!==s.opacity)&&(e.globalAlpha=null==r.opacity?1:r.opacity),(l||r.blend!==s.blend)&&(e.globalCompositeOperation=r.blend||"source-over"),this.hasStroke()){var d=r.lineWidth;e.lineWidth=d/(this.strokeNoScale&&t&&t.getLineScale?t.getLineScale():1)}},hasFill:function(){var e=this.fill;return null!=e&&"none"!==e},hasStroke:function(){var e=this.stroke;return null!=e&&"none"!==e&&this.lineWidth>0},extendFrom:function(e,t){if(e)for(var n in e)!e.hasOwnProperty(n)||!0!==t&&(!1===t?this.hasOwnProperty(n):null==e[n])||(this[n]=e[n])},set:function(e,t){"string"===typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,n){for(var i="radial"===t.type?u:l,r=i(e,t,n),o=t.colorStops,a=0;a<o.length;a++)r.addColorStop(o[a].offset,o[a].color);return r}};for(var c=s.prototype,h=0;h<a.length;h++){var d=a[h];d[0]in c||(c[d[0]]=d[1])}s.getGradient=c.getGradient;var f=s;e.exports=f},84845:function(e,t,n){var i=n(84093),r=n(63122),o=n(2278),a=n(82076),s=n(80023),l=s.ContextCachedBy,u=function(e){i.call(this,e)};u.prototype={constructor:u,type:"text",brush:function(e,t){var n=this.style;this.__dirty&&a.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var i=n.text;null!=i&&(i+=""),a.needDrawText(i,n)?(this.setTransform(e),a.renderText(this,e,i,n,null,t),this.restoreTransform(e)):e.__attrCachedBy=l.NONE},getBoundingRect:function(){var e=this.style;if(this.__dirty&&a.normalizeTextStyle(e,!0),!this._rect){var t=e.text;null!=t?t+="":t="";var n=o.getBoundingRect(e.text+"",e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich);if(n.x+=e.x||0,n.y+=e.y||0,a.getStroke(e.textStroke,e.textStrokeWidth)){var i=e.textStrokeWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect}},r.inherits(u,i);var c=u;e.exports=c},80023:function(e,t){var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},i=9;t.ContextCachedBy=n,t.WILL_BE_RESTORED=i},73515:function(e,t,n){var i=n(95160),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function o(e){return i.browser.ie&&i.browser.version>=11?function(){var t,n=this.__clipPaths,i=this.style;if(n)for(var o=0;o<n.length;o++){var a=n[o],s=a&&a.shape,l=a&&a.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var u=0;u<r.length;u++)r[u][2]=i[r[u][0]],i[r[u][0]]=r[u][1];t=!0;break}}if(e.apply(this,arguments),t)for(u=0;u<r.length;u++)i[r[u][0]]=r[u][2]}:e}e.exports=o},84108:function(e){var t={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function n(e,n,i){return t.hasOwnProperty(n)?i*e.dpr:i}e.exports=n},44949:function(e,t,n){n(57658);var i=n(45746),r=new i(50);function o(e){if("string"===typeof e){var t=r.get(e);return t&&t.image}return e}function a(e,t,n,i,o){if(e){if("string"===typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var a=r.get(e),u={hostEl:n,cb:i,cbPayload:o};return a?(t=a.image,!l(t)&&a.pending.push(u)):(t=new Image,t.onload=t.onerror=s,r.put(e,t.__cachedImgObj={image:t,pending:[u]}),t.src=t.__zrImageSrc=e),t}return e}return t}function s(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function l(e){return e&&e.width&&e.height}t.findExistImage=o,t.createOrUpdateImage=a,t.isImageReady=l},22031:function(e,t,n){var i=n(45169),r=n(30028);function o(e,t,n){var o=t.points,a=t.smooth;if(o&&o.length>=2){if(a&&"spline"!==a){var s=r(o,a,n,t.smoothConstraint);e.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=o[(u+1)%l];e.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===a&&(o=i(o,n)),e.moveTo(o[0][0],o[0][1]);u=1;for(var f=o.length;u<f;u++)e.lineTo(o[u][0],o[u][1])}n&&e.closePath()}}t.buildPath=o},91611:function(e,t){function n(e,t){var n,i,r,o,a,s=t.x,l=t.y,u=t.width,c=t.height,h=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof h?n=i=r=o=h:h instanceof Array?1===h.length?n=i=r=o=h[0]:2===h.length?(n=r=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],o=h[3]):n=i=r=o=0,n+i>u&&(a=n+i,n*=u/a,i*=u/a),r+o>u&&(a=r+o,r*=u/a,o*=u/a),i+r>c&&(a=i+r,i*=c/a,r*=c/a),n+o>c&&(a=n+o,n*=c/a,o*=c/a),e.moveTo(s+n,l),e.lineTo(s+u-i,l),0!==i&&e.arc(s+u-i,l+i,i,-Math.PI/2,0),e.lineTo(s+u,l+c-r),0!==r&&e.arc(s+u-r,l+c-r,r,0,Math.PI/2),e.lineTo(s+o,l+c),0!==o&&e.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}t.buildPath=n},30028:function(e,t,n){n(57658);var i=n(78244),r=i.min,o=i.max,a=i.scale,s=i.distance,l=i.add,u=i.clone,c=i.sub;function h(e,t,n,i){var h,d,f,p,g=[],m=[],v=[],y=[];if(i){f=[1/0,1/0],p=[-1/0,-1/0];for(var b=0,x=e.length;b<x;b++)r(f,f,e[b]),o(p,p,e[b]);r(f,f,i[0]),o(p,p,i[1])}for(b=0,x=e.length;b<x;b++){var _=e[b];if(n)h=e[b?b-1:x-1],d=e[(b+1)%x];else{if(0===b||b===x-1){g.push(u(e[b]));continue}h=e[b-1],d=e[b+1]}c(m,d,h),a(m,m,t);var w=s(_,h),C=s(_,d),S=w+C;0!==S&&(w/=S,C/=S),a(v,m,-w),a(y,m,C);var k=l([],_,v),M=l([],_,y);i&&(o(k,k,f),r(k,k,p),o(M,M,f),r(M,M,p)),g.push(k),g.push(M)}return n&&g.push(g.shift()),g}e.exports=h},45169:function(e,t,n){n(57658);var i=n(78244),r=i.distance;function o(e,t,n,i,r,o,a){var s=.5*(n-e),l=.5*(i-t);return(2*(t-n)+s+l)*a+(-3*(t-n)-2*s-l)*o+s*r+t}function a(e,t){for(var n=e.length,i=[],a=0,s=1;s<n;s++)a+=r(e[s-1],e[s]);var l=a/2;l=l<n?n:l;for(s=0;s<l;s++){var u,c,h,d=s/(l-1)*(t?n:n-1),f=Math.floor(d),p=d-f,g=e[f%n];t?(u=e[(f-1+n)%n],c=e[(f+1)%n],h=e[(f+2)%n]):(u=e[0===f?f:f-1],c=e[f>n-2?n-1:f+1],h=e[f>n-3?n-1:f+2]);var m=p*p,v=p*m;i.push([o(u[0],g[0],c[0],h[0],p,m,v),o(u[1],g[1],c[1],h[1],p,m,v)])}return i}e.exports=a},88645:function(e,t){var n=Math.round;function i(e,t,i){if(t){var r=t.x1,a=t.x2,s=t.y1,l=t.y2;e.x1=r,e.x2=a,e.y1=s,e.y2=l;var u=i&&i.lineWidth;u&&(n(2*r)===n(2*a)&&(e.x1=e.x2=o(r,u,!0)),n(2*s)===n(2*l)&&(e.y1=e.y2=o(s,u,!0)))}}function r(e,t,n){if(t){var i=t.x,r=t.y,a=t.width,s=t.height;e.x=i,e.y=r,e.width=a,e.height=s;var l=n&&n.lineWidth;l&&(e.x=o(i,l,!0),e.y=o(r,l,!0),e.width=Math.max(o(i+a,l,!1)-e.x,0===a?0:1),e.height=Math.max(o(r+s,l,!1)-e.y,0===s?0:1))}}function o(e,t,i){if(!t)return e;var r=n(2*e);return(r+n(t))%2===0?r/2:(r+(i?1:-1))/2}t.subPixelOptimizeLine=i,t.subPixelOptimizeRect=r,t.subPixelOptimize=o},82076:function(e,t,n){var i=n(63122),r=i.retrieve2,o=i.retrieve3,a=i.each,s=i.normalizeCssArray,l=i.isString,u=i.isObject,c=n(2278),h=n(91611),d=n(44949),f=n(84108),p=n(80023),g=p.ContextCachedBy,m=p.WILL_BE_RESTORED,v=c.DEFAULT_FONT,y={left:1,right:1,center:1},b={top:1,bottom:1,middle:1},x=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],_={},w={};function C(e){return S(e),a(e.rich,S),e}function S(e){if(e){e.font=c.makeFont(e);var t=e.textAlign;"middle"===t&&(t="center"),e.textAlign=null==t||y[t]?t:"left";var n=e.textVerticalAlign||e.textBaseline;"center"===n&&(n="middle"),e.textVerticalAlign=null==n||b[n]?n:"top";var i=e.textPadding;i&&(e.textPadding=s(e.textPadding))}}function k(e,t,n,i,r,o){i.rich?T(e,t,n,i,r,o):M(e,t,n,i,r,o)}function M(e,t,n,i,r,o){"use strict";var a,s=O(i),l=!1,u=t.__attrCachedBy===g.PLAIN_TEXT;o!==m?(o&&(a=o.style,l=!s&&u&&a),t.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(t.__attrCachedBy=g.NONE);var h=i.font||v;l&&h===(a.font||v)||(t.font=h);var d=e.__computedFont;e.__styleFont!==h&&(e.__styleFont=h,d=e.__computedFont=t.font);var p=i.textPadding,y=i.textLineHeight,b=e.__textCotentBlock;b&&!e.__dirtyText||(b=e.__textCotentBlock=c.parsePlainText(n,d,p,y,i.truncate));var _=b.outerHeight,C=b.lines,S=b.lineHeight,k=L(w,e,i,r),M=k.baseX,T=k.baseY,E=k.textAlign||"left",P=k.textVerticalAlign;D(t,i,r,M,T);var A=c.adjustTextY(T,_,P),N=M,$=A;if(s||p){var F=c.getWidth(n,d),j=F;p&&(j+=p[1]+p[3]);var V=c.adjustTextX(M,j,E);s&&I(e,t,i,V,A,j,_),p&&(N=B(M,E,p),$+=p[0])}t.textAlign=E,t.textBaseline="middle",t.globalAlpha=i.opacity||1;for(var H=0;H<x.length;H++){var W=x[H],G=W[0],q=W[1],U=i[G];l&&U===a[G]||(t[q]=f(t,q,U||W[2]))}$+=S/2;var Y=i.textStrokeWidth,X=l?a.textStrokeWidth:null,Z=!l||Y!==X,K=!l||Z||i.textStroke!==a.textStroke,Q=R(i.textStroke,Y),J=z(i.textFill);if(Q&&(Z&&(t.lineWidth=Y),K&&(t.strokeStyle=Q)),J&&(l&&i.textFill===a.textFill||(t.fillStyle=J)),1===C.length)Q&&t.strokeText(C[0],N,$),J&&t.fillText(C[0],N,$);else for(H=0;H<C.length;H++)Q&&t.strokeText(C[H],N,$),J&&t.fillText(C[H],N,$),$+=S}function T(e,t,n,i,r,o){o!==m&&(t.__attrCachedBy=g.NONE);var a=e.__textCotentBlock;a&&!e.__dirtyText||(a=e.__textCotentBlock=c.parseRichText(n,i)),E(e,t,a,i,r)}function E(e,t,n,i,r){var o=n.width,a=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=L(w,e,i,r),h=u.baseX,d=u.baseY,f=u.textAlign,p=u.textVerticalAlign;D(t,i,r,h,d);var g=c.adjustTextX(h,a,f),m=c.adjustTextY(d,s,p),v=g,y=m;l&&(v+=l[3],y+=l[0]);var b=v+o;O(i)&&I(e,t,i,g,m,a,s);for(var x=0;x<n.lines.length;x++){var _,C=n.lines[x],S=C.tokens,k=S.length,M=C.lineHeight,T=C.width,E=0,A=v,N=b,R=k-1;while(E<k&&(_=S[E],!_.textAlign||"left"===_.textAlign))P(e,t,_,i,M,y,A,"left"),T-=_.width,A+=_.width,E++;while(R>=0&&(_=S[R],"right"===_.textAlign))P(e,t,_,i,M,y,N,"right"),T-=_.width,N-=_.width,R--;A+=(o-(A-v)-(b-N)-T)/2;while(E<=R)_=S[E],P(e,t,_,i,M,y,A+_.width/2,"center"),A+=_.width,E++;y+=M}}function D(e,t,n,i,r){if(n&&t.textRotation){var o=t.textOrigin;"center"===o?(i=n.width/2+n.x,r=n.height/2+n.y):o&&(i=o[0]+n.x,r=o[1]+n.y),e.translate(i,r),e.rotate(-t.textRotation),e.translate(-i,-r)}}function P(e,t,n,i,a,s,l,u){var c=i.rich[n.styleName]||{};c.text=n.text;var h=n.textVerticalAlign,d=s+a/2;"top"===h?d=s+n.height/2:"bottom"===h&&(d=s+a-n.height/2),!n.isLineHolder&&O(c)&&I(e,t,c,"right"===u?l-n.width:"center"===u?l-n.width/2:l,d-n.height/2,n.width,n.height);var f=n.textPadding;f&&(l=B(l,u,f),d-=n.height/2-f[2]-n.textHeight/2),N(t,"shadowBlur",o(c.textShadowBlur,i.textShadowBlur,0)),N(t,"shadowColor",c.textShadowColor||i.textShadowColor||"transparent"),N(t,"shadowOffsetX",o(c.textShadowOffsetX,i.textShadowOffsetX,0)),N(t,"shadowOffsetY",o(c.textShadowOffsetY,i.textShadowOffsetY,0)),N(t,"textAlign",u),N(t,"textBaseline","middle"),N(t,"font",n.font||v);var p=R(c.textStroke||i.textStroke,m),g=z(c.textFill||i.textFill),m=r(c.textStrokeWidth,i.textStrokeWidth);p&&(N(t,"lineWidth",m),N(t,"strokeStyle",p),t.strokeText(n.text,l,d)),g&&(N(t,"fillStyle",g),t.fillText(n.text,l,d))}function O(e){return!!(e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor)}function I(e,t,n,i,r,o,a){var s=n.textBackgroundColor,c=n.textBorderWidth,f=n.textBorderColor,p=l(s);if(N(t,"shadowBlur",n.textBoxShadowBlur||0),N(t,"shadowColor",n.textBoxShadowColor||"transparent"),N(t,"shadowOffsetX",n.textBoxShadowOffsetX||0),N(t,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||c&&f){t.beginPath();var g=n.textBorderRadius;g?h.buildPath(t,{x:i,y:r,width:o,height:a,r:g}):t.rect(i,r,o,a),t.closePath()}if(p)if(N(t,"fillStyle",s),null!=n.fillOpacity){var m=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,t.fill(),t.globalAlpha=m}else t.fill();else if(u(s)){var v=s.image;v=d.createOrUpdateImage(v,null,e,A,s),v&&d.isImageReady(v)&&t.drawImage(v,i,r,o,a)}if(c&&f)if(N(t,"lineWidth",c),N(t,"strokeStyle",f),null!=n.strokeOpacity){m=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,t.stroke(),t.globalAlpha=m}else t.stroke()}function A(e,t){t.image=e}function L(e,t,n,i){var r=n.x||0,o=n.y||0,a=n.textAlign,s=n.textVerticalAlign;if(i){var l=n.textPosition;if(l instanceof Array)r=i.x+$(l[0],i.width),o=i.y+$(l[1],i.height);else{var u=t&&t.calculateTextPosition?t.calculateTextPosition(_,n,i):c.calculateTextPosition(_,n,i);r=u.x,o=u.y,a=a||u.textAlign,s=s||u.textVerticalAlign}var h=n.textOffset;h&&(r+=h[0],o+=h[1])}return e=e||{},e.baseX=r,e.baseY=o,e.textAlign=a,e.textVerticalAlign=s,e}function N(e,t,n){return e[t]=f(e,t,n),e[t]}function R(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function z(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function $(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function B(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function F(e,t){return null!=e&&(e||t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor||t.textPadding)}t.normalizeTextStyle=C,t.renderText=k,t.getBoxPosition=L,t.getStroke=R,t.getFill=z,t.parsePercent=$,t.needDrawText=F},73637:function(e,t,n){var i=n(82076),r=n(46630),o=n(80023),a=o.WILL_BE_RESTORED,s=new r,l=function(){};l.prototype={constructor:l,drawRectText:function(e,t){var n=this.style;t=n.textRect||t,this.__dirty&&i.normalizeTextStyle(n,!0);var r=n.text;if(null!=r&&(r+=""),i.needDrawText(r,n)){e.save();var o=this.transform;n.transformText?this.setTransform(e):o&&(s.copy(t),s.applyTransform(o),t=s),i.renderText(this,e,r,n,t,a),e.restore()}}};var u=l;e.exports=u},46941:function(e,t,n){var i=n(73477),r=i.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(e,t){var n=t.cx,i=t.cy,r=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),u=Math.sin(o);e.moveTo(l*r+n,u*r+i),e.arc(n,i,r,o,a,!s)}});e.exports=r},73030:function(e,t,n){var i=n(73477),r=n(78244),o=n(85723),a=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,u=o.cubicAt,c=o.quadraticDerivativeAt,h=o.cubicDerivativeAt,d=[];function f(e,t,n){var i=e.cpx2,r=e.cpy2;return null===i||null===r?[(n?h:u)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?h:u)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?c:l)(e.x1,e.cpx1,e.x2,t),(n?c:l)(e.y1,e.cpy1,e.y2,t)]}var p=i.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.x1,i=t.y1,r=t.x2,o=t.y2,l=t.cpx1,u=t.cpy1,c=t.cpx2,h=t.cpy2,f=t.percent;0!==f&&(e.moveTo(n,i),null==c||null==h?(f<1&&(a(n,l,r,f,d),l=d[1],r=d[2],a(i,u,o,f,d),u=d[1],o=d[2]),e.quadraticCurveTo(l,u,r,o)):(f<1&&(s(n,l,c,r,f,d),l=d[1],c=d[2],r=d[3],s(i,u,h,o,f,d),u=d[1],h=d[2],o=d[3]),e.bezierCurveTo(l,u,c,h,r,o)))},pointAt:function(e){return f(this.shape,e,!1)},tangentAt:function(e){var t=f(this.shape,e,!0);return r.normalize(t,t)}});e.exports=p},96005:function(e,t,n){var i=n(73477),r=i.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(e,t,n){n&&e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI,!0)}});e.exports=r},85294:function(e,t,n){var i=n(73477),r=i.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(e,t){var n=.5522848,i=t.cx,r=t.cy,o=t.rx,a=t.ry,s=o*n,l=a*n;e.moveTo(i-o,r),e.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),e.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),e.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),e.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),e.closePath()}});e.exports=r},22923:function(e,t,n){var i=n(73477),r=n(88645),o=r.subPixelOptimizeLine,a={},s=i.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n,i,r,s;this.subPixelOptimize?(o(a,t,this.style),n=a.x1,i=a.y1,r=a.x2,s=a.y2):(n=t.x1,i=t.y1,r=t.x2,s=t.y2);var l=t.percent;0!==l&&(e.moveTo(n,i),l<1&&(r=n*(1-l)+r*l,s=i*(1-l)+s*l),e.lineTo(r,s))},pointAt:function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]}});e.exports=s},83286:function(e,t,n){var i=n(73477),r=n(22031),o=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(e,t){r.buildPath(e,t,!0)}});e.exports=o},23074:function(e,t,n){var i=n(73477),r=n(22031),o=i.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(e,t){r.buildPath(e,t,!1)}});e.exports=o},58195:function(e,t,n){var i=n(73477),r=n(91611),o=n(88645),a=o.subPixelOptimizeRect,s={},l=i.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(e,t){var n,i,o,l;this.subPixelOptimize?(a(s,t,this.style),n=s.x,i=s.y,o=s.width,l=s.height,s.r=t.r,t=s):(n=t.x,i=t.y,o=t.width,l=t.height),t.r?r.buildPath(e,t):e.rect(n,i,o,l),e.closePath()}});e.exports=l},66405:function(e,t,n){var i=n(73477),r=i.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=2*Math.PI;e.moveTo(n+t.r,i),e.arc(n,i,t.r,0,r,!1),e.moveTo(n+t.r0,i),e.arc(n,i,t.r0,0,r,!0)}});e.exports=r},71812:function(e,t,n){var i=n(73477),r=n(73515),o=i.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:r(i.prototype.brush),buildPath:function(e,t){var n=t.cx,i=t.cy,r=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=t.startAngle,s=t.endAngle,l=t.clockwise,u=Math.cos(a),c=Math.sin(a);e.moveTo(u*r+n,c*r+i),e.lineTo(u*o+n,c*o+i),e.arc(n,i,o,a,s,!l),e.lineTo(Math.cos(s)*r+n,Math.sin(s)*r+i),0!==r&&e.arc(n,i,r,s,a,l),e.closePath()}});e.exports=o},4845:function(e,t,n){n(57658);var i=n(40925),r=n(70083),o=n(63122),a=o.isString,s=o.isFunction,l=o.isObject,u=o.isArrayLike,c=o.indexOf,h=function(){this.animators=[]};function d(e,t,n,i,r,o,l,u){a(i)?(o=r,r=i,i=0):s(r)?(o=r,r="linear",i=0):s(i)?(o=i,i=0):s(n)?(o=n,n=500):n||(n=500),e.stopAnimation(),f(e,"",e,t,n,i,u);var c=e.animators.slice(),h=c.length;function d(){h--,h||o&&o()}h||o&&o();for(var p=0;p<c.length;p++)c[p].done(d).start(r,l)}function f(e,t,n,i,r,o,a){var s={},c=0;for(var h in i)i.hasOwnProperty(h)&&(null!=n[h]?l(i[h])&&!u(i[h])?f(e,t?t+"."+h:h,n[h],i[h],r,o,a):(a?(s[h]=n[h],p(e,t,h,i[h])):s[h]=i[h],c++):null==i[h]||a||p(e,t,h,i[h]));c>0&&e.animate(t,!1).when(null==r?500:r,s).delay(o||0)}function p(e,t,n,i){if(t){var r={};r[t]={},r[t][n]=i,e.attr(r)}else e.attr(n,i)}h.prototype={constructor:h,animate:function(e,t){var n,o=!1,a=this,s=this.__zr;if(e){var l=e.split("."),u=a;o="shape"===l[0];for(var h=0,d=l.length;h<d;h++)u&&(u=u[l[h]]);u&&(n=u)}else n=a;if(n){var f=a.animators,p=new i(n,t);return p.during((function(e){a.dirty(o)})).done((function(){f.splice(c(f,p),1)})),f.push(p),s&&s.animation.addAnimator(p),p}r('Property "'+e+'" is not existed in element '+a.id)},stopAnimation:function(e){for(var t=this.animators,n=t.length,i=0;i<n;i++)t[i].stop(e);return t.length=0,this},animateTo:function(e,t,n,i,r,o){d(this,e,t,n,i,r,o)},animateFrom:function(e,t,n,i,r,o){d(this,e,t,n,i,r,o,!0)}};var g=h;e.exports=g},78525:function(e){function t(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function n(e,t){return{target:e,topTarget:t&&t.topTarget}}t.prototype={constructor:t,_dragStart:function(e){var t=e.target;while(t&&!t.draggable)t=t.parent;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.dispatchToElement(n(t,e),"dragstart",e.event))},_drag:function(e){var t=this._draggingTarget;if(t){var i=e.offsetX,r=e.offsetY,o=i-this._x,a=r-this._y;this._x=i,this._y=r,t.drift(o,a,e),this.dispatchToElement(n(t,e),"drag",e.event);var s=this.findHover(i,r,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.dispatchToElement(n(l,e),"dragleave",e.event),s&&s!==l&&this.dispatchToElement(n(s,e),"dragenter",e.event))}},_dragEnd:function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(n(t,e),"dragend",e.event),this._dropTarget&&this.dispatchToElement(n(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null}};var i=t;e.exports=i},65836:function(e,t,n){n(57658);var i=Array.prototype.slice,r=function(e){this._$handlers={},this._$eventProcessor=e};function o(e,t){var n=e._$eventProcessor;return null!=t&&n&&n.normalizeQuery&&(t=n.normalizeQuery(t)),t}function a(e,t,n,i,r,a){var s=e._$handlers;if("function"===typeof n&&(r=i,i=n,n=null),!i||!t)return e;n=o(e,n),s[t]||(s[t]=[]);for(var l=0;l<s[t].length;l++)if(s[t][l].h===i)return e;var u={h:i,one:a,query:n,ctx:r||e,callAtLast:i.zrEventfulCallAtLast},c=s[t].length-1,h=s[t][c];return h&&h.callAtLast?s[t].splice(c,0,u):s[t].push(u),e}r.prototype={constructor:r,one:function(e,t,n,i){return a(this,e,t,n,i,!0)},on:function(e,t,n,i){return a(this,e,t,n,i,!1)},isSilent:function(e){var t=this._$handlers;return!t[e]||!t[e].length},off:function(e,t){var n=this._$handlers;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var i=[],r=0,o=n[e].length;r<o;r++)n[e][r].h!==t&&i.push(n[e][r]);n[e]=i}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},trigger:function(e){var t=this._$handlers[e],n=this._$eventProcessor;if(t){var r=arguments,o=r.length;o>3&&(r=i.call(r,1));for(var a=t.length,s=0;s<a;){var l=t[s];if(n&&n.filter&&null!=l.query&&!n.filter(e,l.query))s++;else{switch(o){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,r[1]);break;case 3:l.h.call(l.ctx,r[1],r[2]);break;default:l.h.apply(l.ctx,r);break}l.one?(t.splice(s,1),a--):s++}}}return n&&n.afterTrigger&&n.afterTrigger(e),this},triggerWithContext:function(e){var t=this._$handlers[e],n=this._$eventProcessor;if(t){var r=arguments,o=r.length;o>4&&(r=i.call(r,1,r.length-1));for(var a=r[r.length-1],s=t.length,l=0;l<s;){var u=t[l];if(n&&n.filter&&null!=u.query&&!n.filter(e,u.query))l++;else{switch(o){case 1:u.h.call(a);break;case 2:u.h.call(a,r[1]);break;case 3:u.h.call(a,r[1],r[2]);break;default:u.h.apply(a,r);break}u.one?(t.splice(l,1),s--):l++}}}return n&&n.afterTrigger&&n.afterTrigger(e),this}};var s=r;e.exports=s},71082:function(e,t,n){var i=n(97333),r=n(78244),o=i.identity,a=5e-5;function s(e){return e>a||e<-a}var l=function(e){e=e||{},e.position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var c=[];u.updateTransform=function(){var e=this.parent,t=e&&e.transform,n=this.needLocalTransform(),r=this.transform;if(n||t){r=r||i.create(),n?this.getLocalTransform(r):o(r),t&&(n?i.mul(r,e.transform,r):i.copy(r,e.transform)),this.transform=r;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*a+s)/c[0]||0,h=((c[1]-l)*a+l)/c[1]||0;r[0]*=u,r[1]*=u,r[2]*=h,r[3]*=h}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)}else r&&o(r)},u.getLocalTransform=function(e){return l.getLocalTransform(this,e)},u.setTransform=function(e){var t=this.transform,n=e.dpr||1;t?e.setTransform(n*t[0],n*t[1],n*t[2],n*t[3],n*t[4],n*t[5]):e.setTransform(n,0,0,n,0,0)},u.restoreTransform=function(e){var t=e.dpr||1;e.setTransform(t,0,0,t,0,0)};var h=[],d=i.create();u.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],i=this.position,r=this.scale;s(t-1)&&(t=Math.sqrt(t)),s(n-1)&&(n=Math.sqrt(n)),e[0]<0&&(t=-t),e[3]<0&&(n=-n),i[0]=e[4],i[1]=e[5],r[0]=t,r[1]=n,this.rotation=Math.atan2(-e[1]/n,e[0]/t)}},u.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(i.mul(h,e.invTransform,t),t=h);var n=this.origin;n&&(n[0]||n[1])&&(d[4]=n[0],d[5]=n[1],i.mul(h,t,d),h[4]-=n[0],h[5]-=n[1],t=h),this.setLocalTransform(t)}},u.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},u.transformCoordToLocal=function(e,t){var n=[e,t],i=this.invTransform;return i&&r.applyTransform(n,n,i),n},u.transformCoordToGlobal=function(e,t){var n=[e,t],i=this.transform;return i&&r.applyTransform(n,n,i),n},l.getLocalTransform=function(e,t){t=t||[],o(t);var n=e.origin,r=e.scale||[1,1],a=e.rotation||0,s=e.position||[0,0];return n&&(t[4]-=n[0],t[5]-=n[1]),i.scale(t,t,r),a&&i.rotate(t,t,a),n&&(t[4]+=n[0],t[5]+=n[1]),t[4]+=s[0],t[5]+=s[1],t};var f=l;e.exports=f},23372:function(e,t,n){n(57658);var i=n(18895),r=i.createElement,o=n(63122),a=n(70083),s=n(73477),l=n(45474),u=n(84845),c=n(62732),h=n(34881),d=n(82685),f=n(1465),p=n(97278),g=p.path,m=p.image,v=p.text;function y(e){return parseInt(e,10)}function b(e){return e instanceof s?g:e instanceof l?m:e instanceof u?v:g}function x(e,t){return t&&e&&t.parentNode!==e}function _(e,t,n){if(x(e,t)&&n){var i=n.nextSibling;i?e.insertBefore(t,i):e.appendChild(t)}}function w(e,t){if(x(e,t)){var n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}}function C(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function S(e){return e.__textSvgEl}function k(e){return e.__svgEl}var M=function(e,t,n,i){this.root=e,this.storage=t,this._opts=n=o.extend({},n||{});var a=r("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=r("g");a.appendChild(s);var l=r("g");a.appendChild(l),this.gradientManager=new h(i,l),this.clipPathManager=new d(i,l),this.shadowManager=new f(i,l);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=l,this._backgroundRoot=s,this._viewport=u,e.appendChild(u),u.appendChild(a),this.resize(n.width,n.height),this._visibleList=[]};function T(e){return function(){a('In SVG mode painter not support method "'+e+'"')}}M.prototype={constructor:M,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0);this._paintList(e)},setBackgroundColor:function(e){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var t=r("rect");t.setAttribute("width",this.getWidth()),t.setAttribute("height",this.getHeight()),t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("id",0),t.style.fill=e,this._backgroundRoot.appendChild(t),this._backgroundNode=t},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,n=this._svgRoot,i=this._visibleList,r=e.length,o=[];for(t=0;t<r;t++){var a=e[t],s=b(a),l=k(a)||S(a);a.invisible||(a.__dirty&&(s&&s.brush(a),this.clipPathManager.update(a),a.style&&(this.gradientManager.update(a.style.fill),this.gradientManager.update(a.style.stroke),this.shadowManager.update(l,a)),a.__dirty=!1),o.push(a))}var u,h=c(i,o);for(t=0;t<h.length;t++){var d=h[t];if(d.removed)for(var f=0;f<d.count;f++){a=i[d.indices[f]],l=k(a);var p=S(a);C(n,l),C(n,p)}}for(t=0;t<h.length;t++){d=h[t];if(d.added)for(f=0;f<d.count;f++){a=o[d.indices[f]],l=k(a),p=S(a);u?_(n,l,u):w(n,l),l?_(n,p,l):u?_(n,p,u):w(n,p),_(n,p,l),u=p||l||u,this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a)}else if(!d.removed)for(f=0;f<d.count;f++){a=o[d.indices[f]],l=k(a),p=S(a),l=k(a),p=S(a);this.gradientManager.markUsed(a),this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.markUsed(a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a),p&&_(n,p,l),u=l||p||u}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=o},_getDefs:function(e){var t=this._svgDom,n=t.getElementsByTagName("defs");if(0===n.length){if(e){n=t.insertBefore(r("defs"),t.firstChild);return n.contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var i=t.length-1;i>=0;--i)if(t[i]===e)return!0;return!1}),n}return null}return n[0]},resize:function(e,t){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=e&&(i.width=e),null!=t&&(i.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||this._height!==t){this._width=e,this._height=t;var r=n.style;r.width=e+"px",r.height=t+"px";var o=this._svgDom;o.setAttribute("width",e),o.setAttribute("height",t)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",e),this._backgroundNode.setAttribute("height",t))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],i=["clientWidth","clientHeight"][e],r=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||y(s[n])||y(a.style[n]))-(y(s[r])||0)-(y(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var e=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,">\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+e}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(e){M.prototype[e]=T(e)}));var E=M;e.exports=E},18895:function(e,t){var n="http://www.w3.org/2000/svg";function i(e){return document.createElementNS(n,e)}t.createElement=i},97278:function(e,t,n){n(57658);var i=n(18895),r=i.createElement,o=n(11348),a=n(46630),s=n(97333),l=n(2278),u=n(82076),c=n(84845),h=o.CMD,d=Array.prototype.join,f="none",p=Math.round,g=Math.sin,m=Math.cos,v=Math.PI,y=2*Math.PI,b=180/v,x=1e-4;function _(e){return p(1e4*e)/1e4}function w(e){return e<x&&e>-x}function C(e,t){var n=t?e.textFill:e.fill;return null!=n&&n!==f}function S(e,t){var n=t?e.textStroke:e.stroke;return null!=n&&n!==f}function k(e,t){t&&M(e,"transform","matrix("+d.call(t,",")+")")}function M(e,t,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&e.setAttribute(t,n)}function T(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function E(e,t,n,i){if(C(t,n)){var r=n?t.textFill:t.fill;r="transparent"===r?f:r,M(e,"fill",r),M(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else M(e,"fill",f);if(S(t,n)){var o=n?t.textStroke:t.stroke;o="transparent"===o?f:o,M(e,"stroke",o);var a=n?t.textStrokeWidth:t.lineWidth,s=!n&&t.strokeNoScale?i.getLineScale():1;M(e,"stroke-width",a/s),M(e,"paint-order",n?"stroke":"fill"),M(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity);var l=t.lineDash;l?(M(e,"stroke-dasharray",t.lineDash.join(",")),M(e,"stroke-dashoffset",p(t.lineDashOffset||0))):M(e,"stroke-dasharray",""),t.lineCap&&M(e,"stroke-linecap",t.lineCap),t.lineJoin&&M(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&M(e,"stroke-miterlimit",t.miterLimit)}else M(e,"stroke",f)}function D(e){for(var t=[],n=e.data,i=e.len(),r=0;r<i;){var o=n[r++],a="",s=0;switch(o){case h.M:a="M",s=2;break;case h.L:a="L",s=2;break;case h.Q:a="Q",s=4;break;case h.C:a="C",s=6;break;case h.A:var l=n[r++],u=n[r++],c=n[r++],d=n[r++],f=n[r++],x=n[r++],C=n[r++],S=n[r++],k=Math.abs(x),M=w(k-y)||(S?x>=y:-x>=y),T=x>0?x%y:x%y+y,E=!1;E=!!M||!w(k)&&T>=v===!!S;var D=_(l+c*m(f)),P=_(u+d*g(f));M&&(x=S?y-1e-4:1e-4-y,E=!0,9===r&&t.push("M",D,P));var O=_(l+c*m(f+x)),I=_(u+d*g(f+x));t.push("A",_(c),_(d),p(C*b),+E,+S,O,I);break;case h.Z:a="Z";break;case h.R:O=_(n[r++]),I=_(n[r++]);var A=_(n[r++]),L=_(n[r++]);t.push("M",O,I,"L",O+A,I,"L",O+A,I+L,"L",O,I+L,"L",O,I);break}a&&t.push(a);for(var N=0;N<s;N++)t.push(_(n[r++]))}return t.join(" ")}var P={brush:function(e){var t=e.style,n=e.__svgEl;n||(n=r("path"),e.__svgEl=n),e.path||e.createPathProxy();var i=e.path;if(e.__dirtyPath){i.beginPath(),i.subPixelOptimize=!1,e.buildPath(i,e.shape),e.__dirtyPath=!1;var o=D(i);o.indexOf("NaN")<0&&M(n,"d",o)}E(n,t,!1,e),k(n,e.transform),null!=t.text?z(e,e.getBoundingRect()):j(e)}},O={brush:function(e){var t=e.style,n=t.image;if(n instanceof HTMLImageElement){var i=n.src;n=i}if(n){var o=t.x||0,a=t.y||0,s=t.width,l=t.height,u=e.__svgEl;u||(u=r("image"),e.__svgEl=u),n!==e.__imageSrc&&(T(u,"href",n),e.__imageSrc=n),M(u,"width",s),M(u,"height",l),M(u,"x",o),M(u,"y",a),k(u,e.transform),null!=t.text?z(e,e.getBoundingRect()):j(e)}}},I={},A=new a,L={},N=[],R={left:"start",right:"end",center:"middle",middle:"middle"},z=function(e,t){var n=e.style,i=e.transform,o=e instanceof c||n.transformText;e.__dirty&&u.normalizeTextStyle(n,!0);var a=n.text;if(null!=a&&(a+=""),u.needDrawText(a,n)){null==a&&(a=""),!o&&i&&(A.copy(t),A.applyTransform(i),t=A);var s=e.__textSvgEl;s||(s=r("text"),e.__textSvgEl=s);var h=s.style,d=n.font||l.DEFAULT_FONT,f=s.__computedFont;d!==s.__styleFont&&(h.font=s.__styleFont=d,f=s.__computedFont=h.font);var p=n.textPadding,g=n.textLineHeight,m=e.__textCotentBlock;m&&!e.__dirtyText||(m=e.__textCotentBlock=l.parsePlainText(a,f,p,g,n.truncate));var v=m.outerHeight,y=m.lineHeight;u.getBoxPosition(L,e,n,t);var b=L.baseX,x=L.baseY,_=L.textAlign||"left",w=L.textVerticalAlign;$(s,o,i,n,t,b,x);var C=l.adjustTextY(x,v,w),S=b,k=C;p&&(S=B(b,_,p),k+=p[0]),k+=y/2,E(s,n,!0,e);var M=m.canCacheByTextString,T=e.__tspanList||(e.__tspanList=[]),D=T.length;if(M&&e.__canCacheByTextString&&e.__text===a){if(e.__dirtyText&&D)for(var P=0;P<D;++P)F(T[P],_,S,k+P*y)}else{e.__text=a,e.__canCacheByTextString=M;var O=m.lines,I=O.length;for(P=0;P<I;P++){var N=T[P],R=O[P];N?N.__zrText!==R&&(N.innerHTML="",N.appendChild(document.createTextNode(R))):(N=T[P]=r("tspan"),s.appendChild(N),N.appendChild(document.createTextNode(R))),F(N,_,S,k+P*y)}if(D>I){for(;P<D;P++)s.removeChild(T[P]);T.length=I}}}};function $(e,t,n,i,r,o,a){s.identity(N),t&&n&&s.copy(N,n);var l=i.textRotation;if(r&&l){var u=i.textOrigin;"center"===u?(o=r.width/2+r.x,a=r.height/2+r.y):u&&(o=u[0]+r.x,a=u[1]+r.y),N[4]-=o,N[5]-=a,s.rotate(N,N,l),N[4]+=o,N[5]+=a}k(e,N)}function B(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function F(e,t,n,i){M(e,"dominant-baseline","middle"),M(e,"text-anchor",R[t]),M(e,"x",n),M(e,"y",i)}function j(e){e&&e.__textSvgEl&&(e.__textSvgEl.parentNode&&e.__textSvgEl.parentNode.removeChild(e.__textSvgEl),e.__textSvgEl=null,e.__tspanList=[],e.__text=null)}I.drawRectText=z,I.brush=function(e){var t=e.style;null!=t.text?z(e,!1):j(e)},t.path=P,t.image=O,t.text=I},82685:function(e,t,n){var i=n(19184),r=n(63122),o=n(97333);function a(e,t){i.call(this,e,t,"clipPath","__clippath_in_use__")}r.inherits(a,i),a.prototype.update=function(e){var t=this.getSvgElement(e);t&&this.updateDom(t,e.__clipPaths,!1);var n=this.getTextSvgElement(e);n&&this.updateDom(n,e.__clipPaths,!0),this.markUsed(e)},a.prototype.updateDom=function(e,t,n){if(t&&t.length>0){var i,r,a=this.getDefs(!0),s=t[0],l=n?"_textDom":"_dom";s[l]?(r=s[l].getAttribute("id"),i=s[l],a.contains(i)||a.appendChild(i)):(r="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,i=this.createElement("clipPath"),i.setAttribute("id",r),a.appendChild(i),s[l]=i);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);i.innerHTML="",i.appendChild(h.cloneNode()),e.setAttribute("clip-path","url(#"+r+")"),t.length>1&&this.updateDom(i,t.slice(1),n)}else e&&e.setAttribute("clip-path","none")},a.prototype.markUsed=function(e){var t=this;e.__clipPaths&&r.each(e.__clipPaths,(function(e){e._dom&&i.prototype.markUsed.call(t,e._dom),e._textDom&&i.prototype.markUsed.call(t,e._textDom)}))};var s=a;e.exports=s},19184:function(e,t,n){var i=n(18895),r=i.createElement,o=n(63122),a=n(73477),s=n(45474),l=n(84845),u=n(97278),c=u.path,h=u.image,d=u.text,f="0",p="1";function g(e,t,n,i,r){this._zrId=e,this._svgRoot=t,this._tagNames="string"===typeof n?[n]:n,this._markLabel=i,this._domName=r||"_dom",this.nextId=0}g.prototype.createElement=r,g.prototype.getDefs=function(e){var t=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?e?(n=t.insertBefore(this.createElement("defs"),t.firstChild),n.contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var i=t.length-1;i>=0;--i)if(t[i]===e)return!0;return!1}),n):null:n[0]},g.prototype.update=function(e,t){if(e){var n=this.getDefs(!1);if(e[this._domName]&&n.contains(e[this._domName]))"function"===typeof t&&t(e);else{var i=this.add(e);i&&(e[this._domName]=i)}}},g.prototype.addDom=function(e){var t=this.getDefs(!0);t.appendChild(e)},g.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},g.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return o.each(this._tagNames,(function(n){var i=e.getElementsByTagName(n);t=t.concat([].slice.call(i))})),t},g.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;o.each(e,(function(e){e[t._markLabel]=f}))},g.prototype.markUsed=function(e){e&&(e[this._markLabel]=p)},g.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;o.each(t,(function(t){t[n._markLabel]!==p&&e.removeChild(t)}))}},g.prototype.getSvgProxy=function(e){return e instanceof a?c:e instanceof s?h:e instanceof l?d:c},g.prototype.getTextSvgElement=function(e){return e.__textSvgEl},g.prototype.getSvgElement=function(e){return e.__svgEl};var m=g;e.exports=m},34881:function(e,t,n){var i=n(19184),r=n(63122),o=n(70083),a=n(7471);function s(e,t){i.call(this,e,t,["linearGradient","radialGradient"],"__gradient_in_use__")}r.inherits(s,i),s.prototype.addWithoutUpdate=function(e,t){if(t&&t.style){var n=this;r.each(["fill","stroke"],(function(i){if(t.style[i]&&("linear"===t.style[i].type||"radial"===t.style[i].type)){var r,o=t.style[i],a=n.getDefs(!0);o._dom?(r=o._dom,a.contains(o._dom)||n.addDom(r)):r=n.add(o),n.markUsed(t);var s=r.getAttribute("id");e.setAttribute(i,"url(#"+s+")")}}))}},s.prototype.add=function(e){var t;if("linear"===e.type)t=this.createElement("linearGradient");else{if("radial"!==e.type)return o("Illegal gradient type."),null;t=this.createElement("radialGradient")}return e.id=e.id||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-gradient-"+e.id),this.updateDom(e,t),this.addDom(t),t},s.prototype.update=function(e){var t=this;i.prototype.update.call(this,e,(function(){var n=e.type,i=e._dom.tagName;"linear"===n&&"linearGradient"===i||"radial"===n&&"radialGradient"===i?t.updateDom(e,e._dom):(t.removeDom(e),t.add(e))}))},s.prototype.updateDom=function(e,t){if("linear"===e.type)t.setAttribute("x1",e.x),t.setAttribute("y1",e.y),t.setAttribute("x2",e.x2),t.setAttribute("y2",e.y2);else{if("radial"!==e.type)return void o("Illegal gradient type.");t.setAttribute("cx",e.x),t.setAttribute("cy",e.y),t.setAttribute("r",e.r)}e.global?t.setAttribute("gradientUnits","userSpaceOnUse"):t.setAttribute("gradientUnits","objectBoundingBox"),t.innerHTML="";for(var n=e.colorStops,i=0,r=n.length;i<r;++i){var s=this.createElement("stop");s.setAttribute("offset",100*n[i].offset+"%");var l=n[i].color;if(l.indexOf("rgba")>-1){var u=a.parse(l)[3],c=a.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",n[i].color);t.appendChild(s)}e._dom=t},s.prototype.markUsed=function(e){if(e.style){var t=e.style.fill;t&&t._dom&&i.prototype.markUsed.call(this,t._dom),t=e.style.stroke,t&&t._dom&&i.prototype.markUsed.call(this,t._dom)}};var l=s;e.exports=l},1465:function(e,t,n){var i=n(19184),r=n(63122);function o(e,t){i.call(this,e,t,["filter"],"__filter_in_use__","_shadowDom")}function a(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}r.inherits(o,i),o.prototype.addWithoutUpdate=function(e,t){if(t&&a(t.style)){var n;if(t._shadowDom){n=t._shadowDom;var i=this.getDefs(!0);i.contains(t._shadowDom)||this.addDom(n)}else n=this.add(t);this.markUsed(t);var r=n.getAttribute("id");e.style.filter="url(#"+r+")"}},o.prototype.add=function(e){var t=this.createElement("filter");return e._shadowDomId=e._shadowDomId||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-shadow-"+e._shadowDomId),this.updateDom(e,t),this.addDom(t),t},o.prototype.update=function(e,t){var n=t.style;if(a(n)){var r=this;i.prototype.update.call(this,t,(function(){r.updateDom(t,t._shadowDom)}))}else this.remove(e,t)},o.prototype.remove=function(e,t){null!=t._shadowDomId&&(this.removeDom(e),e.style.filter="")},o.prototype.updateDom=function(e,t){var n=t.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,r,o,a,s=e.style,l=e.scale&&e.scale[0]||1,u=e.scale&&e.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,r=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(t,s);i=s.textShadowOffsetX||0,r=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",r/u),n.setAttribute("flood-color",a);var c=o/2/l,h=o/2/u,d=c+" "+h;n.setAttribute("stdDeviation",d),t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width",Math.ceil(o/2*200)+"%"),t.setAttribute("height",Math.ceil(o/2*200)+"%"),t.appendChild(n),e._shadowDom=t},o.prototype.markUsed=function(e){e._shadowDom&&i.prototype.markUsed.call(this,e._shadowDom)};var s=o;e.exports=s},30681:function(e,t,n){n(97278);var i=n(89519),r=i.registerPainter,o=n(23372);r("svg",o)},7471:function(e,t,n){n(57658);var i=n(45746),r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(e){return e=Math.round(e),e<0?0:e>255?255:e}function a(e){return e=Math.round(e),e<0?0:e>360?360:e}function s(e){return e<0?0:e>1?1:e}function l(e){return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function u(e){return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function c(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function h(e,t,n){return e+(t-e)*n}function d(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=i,e[3]=r,e}function f(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var p=new i(20),g=null;function m(e,t){g&&f(g,t),g=p.put(e,g||t.slice())}function v(e,t){if(e){t=t||[];var n=p.get(e);if(n)return f(t,n);e+="";var i=e.replace(/ /g,"").toLowerCase();if(i in r)return f(t,r[i]),m(e,t),t;if("#"!==i.charAt(0)){var o=i.indexOf("("),a=i.indexOf(")");if(-1!==o&&a+1===i.length){var s=i.substr(0,o),c=i.substr(o+1,a-(o+1)).split(","),h=1;switch(s){case"rgba":if(4!==c.length)return void d(t,0,0,0,1);h=u(c.pop());case"rgb":return 3!==c.length?void d(t,0,0,0,1):(d(t,l(c[0]),l(c[1]),l(c[2]),h),m(e,t),t);case"hsla":return 4!==c.length?void d(t,0,0,0,1):(c[3]=u(c[3]),y(c,t),m(e,t),t);case"hsl":return 3!==c.length?void d(t,0,0,0,1):(y(c,t),m(e,t),t);default:return}}d(t,0,0,0,1)}else{if(4===i.length){var g=parseInt(i.substr(1),16);return g>=0&&g<=4095?(d(t,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),m(e,t),t):void d(t,0,0,0,1)}if(7===i.length){g=parseInt(i.substr(1),16);return g>=0&&g<=16777215?(d(t,(16711680&g)>>16,(65280&g)>>8,255&g,1),m(e,t),t):void d(t,0,0,0,1)}}}}function y(e,t){var n=(parseFloat(e[0])%360+360)%360/360,i=u(e[1]),r=u(e[2]),a=r<=.5?r*(i+1):r+i-r*i,s=2*r-a;return t=t||[],d(t,o(255*c(s,a,n+1/3)),o(255*c(s,a,n)),o(255*c(s,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function b(e){if(e){var t,n,i=e[0]/255,r=e[1]/255,o=e[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?t=d-h:r===s?t=1/3+c-d:o===s&&(t=2/3+h-c),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,u];return null!=e[3]&&f.push(e[3]),f}}function x(e,t){var n=v(e);if(n){for(var i=0;i<3;i++)n[i]=t<0?n[i]*(1-t)|0:(255-n[i])*t+n[i]|0,n[i]>255?n[i]=255:e[i]<0&&(n[i]=0);return E(n,4===n.length?"rgba":"rgb")}}function _(e){var t=v(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function w(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var i=e*(t.length-1),r=Math.floor(i),a=Math.ceil(i),l=t[r],u=t[a],c=i-r;return n[0]=o(h(l[0],u[0],c)),n[1]=o(h(l[1],u[1],c)),n[2]=o(h(l[2],u[2],c)),n[3]=s(h(l[3],u[3],c)),n}}var C=w;function S(e,t,n){if(t&&t.length&&e>=0&&e<=1){var i=e*(t.length-1),r=Math.floor(i),a=Math.ceil(i),l=v(t[r]),u=v(t[a]),c=i-r,d=E([o(h(l[0],u[0],c)),o(h(l[1],u[1],c)),o(h(l[2],u[2],c)),s(h(l[3],u[3],c))],"rgba");return n?{color:d,leftIndex:r,rightIndex:a,value:i}:d}}var k=S;function M(e,t,n,i){if(e=v(e),e)return e=b(e),null!=t&&(e[0]=a(t)),null!=n&&(e[1]=u(n)),null!=i&&(e[2]=u(i)),E(y(e),"rgba")}function T(e,t){if(e=v(e),e&&null!=t)return e[3]=s(t),E(e,"rgba")}function E(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}t.parse=v,t.lift=x,t.toHex=_,t.fastLerp=w,t.fastMapToColor=C,t.lerp=S,t.mapToColor=k,t.modifyHSL=M,t.modifyAlpha=T,t.stringify=E},61234:function(e,t,n){n(57658);var i=n(79116),r=n(45474),o=n(84845),a=n(96005),s=n(58195),l=n(85294),u=n(22923),c=n(73477),h=n(83286),d=n(23074),f=n(48515),p=n(82516),g=n(97333),m=n(74315),v=m.createFromString,y=n(63122),b=y.isString,x=y.extend,_=y.defaults,w=y.trim,C=y.each,S=/[\s,]+/;function k(e){if(b(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}9===e.nodeType&&(e=e.firstChild);while("svg"!==e.nodeName.toLowerCase()||1!==e.nodeType)e=e.nextSibling;return e}function M(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}M.prototype.parse=function(e,t){t=t||{};var n=k(e);if(!n)throw new Error("Illegal svg");var r=new i;this._root=r;var o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||t.width),l=parseFloat(n.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(l)&&(l=null),A(n,r,null,!0);var u,c,h=n.firstChild;while(h)this._parseNode(h,r),h=h.nextSibling;if(o){var d=w(o).split(S);d.length>=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=a&&null!=l&&(c=F(u,a,l),!t.ignoreViewBox)){var f=r;r=new i,r.add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return t.ignoreRootClip||null==a||null==l||r.setClipPath(new s({shape:{x:0,y:0,width:a,height:l}})),{root:r,width:a,height:l,viewBoxRect:u,viewBoxTransform:c}},M.prototype._parseNode=function(e,t){var n,i=e.nodeName.toLowerCase();if("defs"===i?this._isDefine=!0:"text"===i&&(this._isText=!0),this._isDefine){var r=E[i];if(r){var o=r.call(this,e),a=e.getAttribute("id");a&&(this._defs[a]=o)}}else{r=T[i];r&&(n=r.call(this,e,t),t.add(n))}var s=e.firstChild;while(s)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===i?this._isDefine=!1:"text"===i&&(this._isText=!1)},M.prototype._parseText=function(e,t){if(1===e.nodeType){var n=e.getAttribute("dx")||0,i=e.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var r=new o({style:{text:e.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});P(t,r),A(e,r,this._defs);var a=r.style.fontSize;a&&a<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=a/9,r.scale[1]*=a/9);var s=r.getBoundingRect();return this._textX+=s.width,t.add(r),r};var T={g:function(e,t){var n=new i;return P(t,n),A(e,n,this._defs),n},rect:function(e,t){var n=new s;return P(t,n),A(e,n,this._defs),n.setShape({x:parseFloat(e.getAttribute("x")||0),y:parseFloat(e.getAttribute("y")||0),width:parseFloat(e.getAttribute("width")||0),height:parseFloat(e.getAttribute("height")||0)}),n},circle:function(e,t){var n=new a;return P(t,n),A(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),r:parseFloat(e.getAttribute("r")||0)}),n},line:function(e,t){var n=new u;return P(t,n),A(e,n,this._defs),n.setShape({x1:parseFloat(e.getAttribute("x1")||0),y1:parseFloat(e.getAttribute("y1")||0),x2:parseFloat(e.getAttribute("x2")||0),y2:parseFloat(e.getAttribute("y2")||0)}),n},ellipse:function(e,t){var n=new l;return P(t,n),A(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),rx:parseFloat(e.getAttribute("rx")||0),ry:parseFloat(e.getAttribute("ry")||0)}),n},polygon:function(e,t){var n=e.getAttribute("points");n&&(n=O(n));var i=new h({shape:{points:n||[]}});return P(t,i),A(e,i,this._defs),i},polyline:function(e,t){var n=new c;P(t,n),A(e,n,this._defs);var i=e.getAttribute("points");i&&(i=O(i));var r=new d({shape:{points:i||[]}});return r},image:function(e,t){var n=new r;return P(t,n),A(e,n,this._defs),n.setStyle({image:e.getAttribute("xlink:href"),x:e.getAttribute("x"),y:e.getAttribute("y"),width:e.getAttribute("width"),height:e.getAttribute("height")}),n},text:function(e,t){var n=e.getAttribute("x")||0,r=e.getAttribute("y")||0,o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(r)+parseFloat(a);var s=new i;return P(t,s),A(e,s,this._defs),s},tspan:function(e,t){var n=e.getAttribute("x"),r=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0,s=new i;return P(t,s),A(e,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(e,t){var n=e.getAttribute("d")||"",i=v(n);return P(t,i),A(e,i,this._defs),i}},E={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||0,10),n=parseInt(e.getAttribute("y1")||0,10),i=parseInt(e.getAttribute("x2")||10,10),r=parseInt(e.getAttribute("y2")||0,10),o=new f(t,n,i,r);return D(e,o),o},radialgradient:function(e){}};function D(e,t){var n=e.firstChild;while(n){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";t.addColorStop(i,r)}n=n.nextSibling}}function P(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),_(t.__inheritedStyle,e.__inheritedStyle))}function O(e){for(var t=w(e).split(S),n=[],i=0;i<t.length;i+=2){var r=parseFloat(t[i]),o=parseFloat(t[i+1]);n.push([r,o])}return n}var I={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function A(e,t,n,i){var r=t.__inheritedStyle||{},o="text"===t.type;if(1===e.nodeType&&(z(e,t),x(r,B(e)),!i))for(var a in I)if(I.hasOwnProperty(a)){var s=e.getAttribute(a);null!=s&&(r[I[a]]=s)}var l=o?"textFill":"fill",u=o?"textStroke":"stroke";t.style=t.style||new p;var c=t.style;null!=r.fill&&c.set(l,N(r.fill,n)),null!=r.stroke&&c.set(u,N(r.stroke,n)),C(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){var t="lineWidth"===e&&o?"textStrokeWidth":e;null!=r[e]&&c.set(t,parseFloat(r[e]))})),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),C(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(e){null!=r[e]&&c.set(e,r[e])})),r.lineDash&&(t.style.lineDash=w(r.lineDash).split(S)),c[u]&&"none"!==c[u]&&(t[u]=!0),t.__inheritedStyle=r}var L=/url\(\s*#(.*?)\)/;function N(e,t){var n=t&&e&&e.match(L);if(n){var i=w(n[1]),r=t[i];return r}return e}var R=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function z(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=null,r=[];n.replace(R,(function(e,t,n){r.push(t,n)}));for(var o=r.length-1;o>0;o-=2){var a=r[o],s=r[o-1];switch(i=i||g.create(),s){case"translate":a=w(a).split(S),g.translate(i,i,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=w(a).split(S),g.scale(i,i,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=w(a).split(S),g.rotate(i,i,parseFloat(a[0]));break;case"skew":a=w(a).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":a=w(a).split(S);i[0]=parseFloat(a[0]),i[1]=parseFloat(a[1]),i[2]=parseFloat(a[2]),i[3]=parseFloat(a[3]),i[4]=parseFloat(a[4]),i[5]=parseFloat(a[5]);break}}t.setLocalTransform(i)}}var $=/([^\s:;]+)\s*:\s*([^:;]+)/g;function B(e){var t=e.getAttribute("style"),n={};if(!t)return n;var i,r={};$.lastIndex=0;while(null!=(i=$.exec(t)))r[i[1]]=i[2];for(var o in I)I.hasOwnProperty(o)&&null!=r[o]&&(n[I[o]]=r[o]);return n}function F(e,t,n){var i=t/e.width,r=n/e.height,o=Math.min(i,r),a=[o,o],s=[-(e.x+e.width/2)*o+t/2,-(e.y+e.height/2)*o+n/2];return{scale:a,position:s}}function j(e,t){var n=new M;return n.parse(e,t)}t.parseXML=k,t.makeViewBoxTransform=F,t.parseSVG=j},74315:function(e,t,n){n(57658);var i=n(73477),r=n(11348),o=n(6600),a=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},h=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(c(e)*c(t))},d=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(h(e,t))};function f(e,t,n,i,r,o,c,f,p,g,m){var v=p*(u/180),y=l(v)*(e-n)/2+s(v)*(t-i)/2,b=-1*s(v)*(e-n)/2+l(v)*(t-i)/2,x=y*y/(c*c)+b*b/(f*f);x>1&&(c*=a(x),f*=a(x));var _=(r===o?-1:1)*a((c*c*(f*f)-c*c*(b*b)-f*f*(y*y))/(c*c*(b*b)+f*f*(y*y)))||0,w=_*c*b/f,C=_*-f*y/c,S=(e+n)/2+l(v)*w-s(v)*C,k=(t+i)/2+s(v)*w+l(v)*C,M=d([1,0],[(y-w)/c,(b-C)/f]),T=[(y-w)/c,(b-C)/f],E=[(-1*y-w)/c,(-1*b-C)/f],D=d(T,E);h(T,E)<=-1&&(D=u),h(T,E)>=1&&(D=0),0===o&&D>0&&(D-=2*u),1===o&&D<0&&(D+=2*u),m.addData(g,S,k,c,f,M,D,v,o)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(e){if(!e)return new r;for(var t,n=0,i=0,o=n,a=i,s=new r,l=r.CMD,u=e.match(p),c=0;c<u.length;c++){for(var h,d=u[c],m=d.charAt(0),v=d.match(g)||[],y=v.length,b=0;b<y;b++)v[b]=parseFloat(v[b]);var x=0;while(x<y){var _,w,C,S,k,M,T,E=n,D=i;switch(m){case"l":n+=v[x++],i+=v[x++],h=l.L,s.addData(h,n,i);break;case"L":n=v[x++],i=v[x++],h=l.L,s.addData(h,n,i);break;case"m":n+=v[x++],i+=v[x++],h=l.M,s.addData(h,n,i),o=n,a=i,m="l";break;case"M":n=v[x++],i=v[x++],h=l.M,s.addData(h,n,i),o=n,a=i,m="L";break;case"h":n+=v[x++],h=l.L,s.addData(h,n,i);break;case"H":n=v[x++],h=l.L,s.addData(h,n,i);break;case"v":i+=v[x++],h=l.L,s.addData(h,n,i);break;case"V":i=v[x++],h=l.L,s.addData(h,n,i);break;case"C":h=l.C,s.addData(h,v[x++],v[x++],v[x++],v[x++],v[x++],v[x++]),n=v[x-2],i=v[x-1];break;case"c":h=l.C,s.addData(h,v[x++]+n,v[x++]+i,v[x++]+n,v[x++]+i,v[x++]+n,v[x++]+i),n+=v[x-2],i+=v[x-1];break;case"S":_=n,w=i;var P=s.len(),O=s.data;t===l.C&&(_+=n-O[P-4],w+=i-O[P-3]),h=l.C,E=v[x++],D=v[x++],n=v[x++],i=v[x++],s.addData(h,_,w,E,D,n,i);break;case"s":_=n,w=i;P=s.len(),O=s.data;t===l.C&&(_+=n-O[P-4],w+=i-O[P-3]),h=l.C,E=n+v[x++],D=i+v[x++],n+=v[x++],i+=v[x++],s.addData(h,_,w,E,D,n,i);break;case"Q":E=v[x++],D=v[x++],n=v[x++],i=v[x++],h=l.Q,s.addData(h,E,D,n,i);break;case"q":E=v[x++]+n,D=v[x++]+i,n+=v[x++],i+=v[x++],h=l.Q,s.addData(h,E,D,n,i);break;case"T":_=n,w=i;P=s.len(),O=s.data;t===l.Q&&(_+=n-O[P-4],w+=i-O[P-3]),n=v[x++],i=v[x++],h=l.Q,s.addData(h,_,w,n,i);break;case"t":_=n,w=i;P=s.len(),O=s.data;t===l.Q&&(_+=n-O[P-4],w+=i-O[P-3]),n+=v[x++],i+=v[x++],h=l.Q,s.addData(h,_,w,n,i);break;case"A":C=v[x++],S=v[x++],k=v[x++],M=v[x++],T=v[x++],E=n,D=i,n=v[x++],i=v[x++],h=l.A,f(E,D,n,i,M,T,C,S,k,h,s);break;case"a":C=v[x++],S=v[x++],k=v[x++],M=v[x++],T=v[x++],E=n,D=i,n+=v[x++],i+=v[x++],h=l.A,f(E,D,n,i,M,T,C,S,k,h,s);break}}"z"!==m&&"Z"!==m||(h=l.Z,s.addData(h),n=o,i=a),t=h}return s.toStatic(),s}function v(e,t){var n=m(e);return t=t||{},t.buildPath=function(e){if(e.setData){e.setData(n.data);var t=e.getContext();t&&e.rebuildPath(t)}else{t=e;n.rebuildPath(t)}},t.applyTransform=function(e){o(n,e),this.dirty(!0)},t}function y(e,t){return new i(v(e,t))}function b(e,t){return i.extend(v(e,t))}function x(e,t){for(var n=[],r=e.length,o=0;o<r;o++){var a=e[o];a.path||a.createPathProxy(),a.__dirtyPath&&a.buildPath(a.path,a.shape,!0),n.push(a.path)}var s=new i(t);return s.createPathProxy(),s.buildPath=function(e){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t)},s}t.createFromString=y,t.extendFromString=b,t.mergePath=x},6600:function(e,t,n){var i=n(11348),r=n(78244),o=r.applyTransform,a=i.CMD,s=[[],[],[]],l=Math.sqrt,u=Math.atan2;function c(e,t){var n,i,r,c,h,d=e.data,f=a.M,p=a.C,g=a.L,m=a.R,v=a.A,y=a.Q;for(r=0,c=0;r<d.length;){switch(n=d[r++],c=r,i=0,n){case f:i=1;break;case g:i=1;break;case p:i=3;break;case y:i=2;break;case v:var b=t[4],x=t[5],_=l(t[0]*t[0]+t[1]*t[1]),w=l(t[2]*t[2]+t[3]*t[3]),C=u(-t[1]/w,t[0]/_);d[r]*=_,d[r++]+=b,d[r]*=w,d[r++]+=x,d[r++]*=_,d[r++]*=w,d[r++]+=C,d[r++]+=C,r+=2,c=r;break;case m:S[0]=d[r++],S[1]=d[r++],o(S,S,t),d[c++]=S[0],d[c++]=S[1],S[0]+=d[r++],S[1]+=d[r++],o(S,S,t),d[c++]=S[0],d[c++]=S[1]}for(h=0;h<i;h++){var S=s[h];S[0]=d[r++],S[1]=d[r++],o(S,S,t),d[c++]=S[0],d[c++]=S[1]}}}e.exports=c},39544:function(e,t,n){var i=n(70083),r=n(88997),o=n(63122),a=o.each;function s(e){return parseInt(e,10)}function l(e,t){r.initVML(),this.root=e,this.storage=t;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;",e.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize();var o=t.delFromStorage,a=t.addToStorage;t.delFromStorage=function(e){o.call(t,e),e&&e.onRemove&&e.onRemove(i)},t.addToStorage=function(e){e.onAdd&&e.onAdd(i),a.call(t,e)},this._firstPaint=!0}function u(e){return function(){i('In IE8.0 VML mode painter not support method "'+e+'"')}}l.prototype={constructor:l,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0,!0);this._paintList(e)},_paintList:function(e){for(var t=this._vmlRoot,n=0;n<e.length;n++){var i=e[n];i.invisible||i.ignore?(i.__alreadyNotVisible||i.onRemove(t),i.__alreadyNotVisible=!0):(i.__alreadyNotVisible&&i.onAdd(t),i.__alreadyNotVisible=!1,i.__dirty&&(i.beforeBrush&&i.beforeBrush(),(i.brushVML||i.brush).call(i,t),i.afterBrush&&i.afterBrush())),i.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(t),this._firstPaint=!1)},resize:function(e,t){e=null==e?this._getWidth():e,t=null==t?this._getHeight():t;if(this._width!==e||this._height!==t){this._width=e,this._height=t;var n=this._vmlViewport.style;n.width=e+"px",n.height=t+"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 e=this.root,t=e.currentStyle;return(e.clientWidth||s(t.width))-s(t.paddingLeft)-s(t.paddingRight)|0},_getHeight:function(){var e=this.root,t=e.currentStyle;return(e.clientHeight||s(t.height))-s(t.paddingTop)-s(t.paddingBottom)|0}},a(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(e){l.prototype[e]=u(e)}));var c=l;e.exports=c},88997:function(e,t,n){var i,r=n(95160),o="urn:schemas-microsoft-com:vml",a="undefined"===typeof window?null:window,s=!1,l=a&&a.document;function u(e){return i(e)}if(l&&!r.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",o),i=function(e){return l.createElement("<zrvml:"+e+' class="zrvml">')}}catch(h){i=function(e){return l.createElement("<"+e+' xmlns="'+o+'" class="zrvml">')}}function c(){if(!s&&l){s=!0;var e=l.styleSheets;e.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}t.doc=l,t.createNode=u,t.initVML=c},3861:function(e,t,n){n(57658);var i=n(95160),r=n(78244),o=r.applyTransform,a=n(46630),s=n(7471),l=n(2278),u=n(82076),c=n(73637),h=n(84093),d=n(45474),f=n(84845),p=n(73477),g=n(11348),m=n(80841),v=n(88997),y=g.CMD,b=Math.round,x=Math.sqrt,_=Math.abs,w=Math.cos,C=Math.sin,S=Math.max;if(!i.canvasSupported){var k=",",M="progid:DXImageTransform.Microsoft",T=21600,E=T/2,D=1e5,P=1e3,O=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=T+","+T,e.coordorigin="0,0"},I=function(e){return String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},A=function(e,t,n){return"rgb("+[e,t,n].join(",")+")"},L=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},N=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},R=function(e,t,n){return(parseFloat(e)||0)*D+(parseFloat(t)||0)*P+n},z=u.parsePercent,$=function(e,t,n){var i=s.parse(t);n=+n,isNaN(n)&&(n=1),i&&(e.color=A(i[0],i[1],i[2]),e.opacity=n*i[3])},B=function(e){var t=s.parse(e);return[A(t[0],t[1],t[2]),t[3]]},F=function(e,t,n){var i=t.fill;if(null!=i)if(i instanceof m){var r,a=0,s=[0,0],l=0,u=1,c=n.getBoundingRect(),h=c.width,d=c.height;if("linear"===i.type){r="gradient";var f=n.transform,p=[i.x*h,i.y*d],g=[i.x2*h,i.y2*d];f&&(o(p,p,f),o(g,g,f));var v=g[0]-p[0],y=g[1]-p[1];a=180*Math.atan2(v,y)/Math.PI,a<0&&(a+=360),a<1e-6&&(a=0)}else{r="gradientradial";p=[i.x*h,i.y*d],f=n.transform;var b=n.scale,x=h,_=d;s=[(p[0]-c.x)/x,(p[1]-c.y)/_],f&&o(p,p,f),x/=b[0]*T,_/=b[1]*T;var w=S(x,_);l=0/w,u=2*i.r/w-l}var C=i.colorStops.slice();C.sort((function(e,t){return e.offset-t.offset}));for(var k=C.length,M=[],E=[],D=0;D<k;D++){var P=C[D],O=B(P.color);E.push(P.offset*u+l+" "+O[0]),0!==D&&D!==k-1||M.push(O)}if(k>=2){var I=M[0][0],A=M[1][0],L=M[0][1]*t.opacity,N=M[1][1]*t.opacity;e.type=r,e.method="none",e.focus="100%",e.angle=a,e.color=I,e.color2=A,e.colors=E.join(","),e.opacity=N,e.opacity2=L}"radial"===r&&(e.focusposition=s.join(","))}else $(e,i,t.opacity)},j=function(e,t){t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof m||$(e,t.stroke,t.opacity)},V=function(e,t,n,i){var r="fill"===t,o=e.getElementsByTagName(t)[0];null!=n[t]&&"none"!==n[t]&&(r||!r&&n.lineWidth)?(e[r?"filled":"stroked"]="true",n[t]instanceof m&&N(e,o),o||(o=v.createNode(t)),r?F(o,n,i):j(o,n),L(e,o)):(e[r?"filled":"stroked"]="false",N(e,o))},H=[[],[],[]],W=function(e,t){var n,i,r,a,s,l,u=y.M,c=y.C,h=y.L,d=y.A,f=y.Q,p=[],g=e.data,m=e.len();for(a=0;a<m;){switch(r=g[a++],i="",n=0,r){case u:i=" m ",n=1,s=g[a++],l=g[a++],H[0][0]=s,H[0][1]=l;break;case h:i=" l ",n=1,s=g[a++],l=g[a++],H[0][0]=s,H[0][1]=l;break;case f:case c:i=" c ",n=3;var v,_,S=g[a++],M=g[a++],D=g[a++],P=g[a++];r===f?(v=D,_=P,D=(D+2*S)/3,P=(P+2*M)/3,S=(s+2*S)/3,M=(l+2*M)/3):(v=g[a++],_=g[a++]),H[0][0]=S,H[0][1]=M,H[1][0]=D,H[1][1]=P,H[2][0]=v,H[2][1]=_,s=v,l=_;break;case d:var O=0,I=0,A=1,L=1,N=0;t&&(O=t[4],I=t[5],A=x(t[0]*t[0]+t[1]*t[1]),L=x(t[2]*t[2]+t[3]*t[3]),N=Math.atan2(-t[1]/L,t[0]/A));var R=g[a++],z=g[a++],$=g[a++],B=g[a++],F=g[a++]+N,j=g[a++]+F+N;a++;var V=g[a++],W=R+w(F)*$,G=z+C(F)*B,q=(S=R+w(j)*$,M=z+C(j)*B,V?" wa ":" at ");Math.abs(W-S)<1e-4&&(Math.abs(j-F)>.01?V&&(W+=270/T):Math.abs(G-z)<1e-4?V&&W<R||!V&&W>R?M-=270/T:M+=270/T:V&&G<z||!V&&G>z?S+=270/T:S-=270/T),p.push(q,b(((R-$)*A+O)*T-E),k,b(((z-B)*L+I)*T-E),k,b(((R+$)*A+O)*T-E),k,b(((z+B)*L+I)*T-E),k,b((W*A+O)*T-E),k,b((G*L+I)*T-E),k,b((S*A+O)*T-E),k,b((M*L+I)*T-E)),s=S,l=M;break;case y.R:var U=H[0],Y=H[1];U[0]=g[a++],U[1]=g[a++],Y[0]=U[0]+g[a++],Y[1]=U[1]+g[a++],t&&(o(U,U,t),o(Y,Y,t)),U[0]=b(U[0]*T-E),Y[0]=b(Y[0]*T-E),U[1]=b(U[1]*T-E),Y[1]=b(Y[1]*T-E),p.push(" m ",U[0],k,U[1]," l ",Y[0],k,U[1]," l ",Y[0],k,Y[1]," l ",U[0],k,Y[1]);break;case y.Z:p.push(" x ")}if(n>0){p.push(i);for(var X=0;X<n;X++){var Z=H[X];t&&o(Z,Z,t),p.push(b(Z[0]*T-E),k,b(Z[1]*T-E),X<n-1?k:"")}}}return p.join("")};p.prototype.brushVML=function(e){var t=this.style,n=this._vmlEl;n||(n=v.createNode("shape"),O(n),this._vmlEl=n),V(n,"fill",t,this),V(n,"stroke",t,this);var i=this.transform,r=null!=i,o=n.getElementsByTagName("stroke")[0];if(o){var a=t.lineWidth;if(r&&!t.strokeNoScale){var s=i[0]*i[3]-i[1]*i[2];a*=x(_(s))}o.weight=a+"px"}var l=this.path||(this.path=new g);this.__dirtyPath&&(l.beginPath(),l.subPixelOptimize=!1,this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),n.path=W(l,this.transform),n.style.zIndex=R(this.zlevel,this.z,this.z2),L(e,n),null!=t.text?this.drawRectText(e,this.getBoundingRect()):this.removeRectText(e)},p.prototype.onRemove=function(e){N(e,this._vmlEl),this.removeRectText(e)},p.prototype.onAdd=function(e){L(e,this._vmlEl),this.appendRectText(e)};var G=function(e){return"object"===typeof e&&e.tagName&&"IMG"===e.tagName.toUpperCase()};d.prototype.brushVML=function(e){var t,n,i=this.style,r=i.image;if(G(r)){var a=r.src;if(a===this._imageSrc)t=this._imageWidth,n=this._imageHeight;else{var s=r.runtimeStyle,l=s.width,u=s.height;s.width="auto",s.height="auto",t=r.width,n=r.height,s.width=l,s.height=u,this._imageSrc=a,this._imageWidth=t,this._imageHeight=n}r=a}else r===this._imageSrc&&(t=this._imageWidth,n=this._imageHeight);if(r){var c=i.x||0,h=i.y||0,d=i.width,f=i.height,p=i.sWidth,g=i.sHeight,m=i.sx||0,y=i.sy||0,_=p&&g,w=this._vmlEl;w||(w=v.doc.createElement("div"),O(w),this._vmlEl=w);var C,T=w.style,E=!1,D=1,P=1;if(this.transform&&(C=this.transform,D=x(C[0]*C[0]+C[1]*C[1]),P=x(C[2]*C[2]+C[3]*C[3]),E=C[1]||C[2]),E){var I=[c,h],A=[c+d,h],N=[c,h+f],z=[c+d,h+f];o(I,I,C),o(A,A,C),o(N,N,C),o(z,z,C);var $=S(I[0],A[0],N[0],z[0]),B=S(I[1],A[1],N[1],z[1]),F=[];F.push("M11=",C[0]/D,k,"M12=",C[2]/P,k,"M21=",C[1]/D,k,"M22=",C[3]/P,k,"Dx=",b(c*D+C[4]),k,"Dy=",b(h*P+C[5])),T.padding="0 "+b($)+"px "+b(B)+"px 0",T.filter=M+".Matrix("+F.join("")+", SizingMethod=clip)"}else C&&(c=c*D+C[4],h=h*P+C[5]),T.filter="",T.left=b(c)+"px",T.top=b(h)+"px";var j=this._imageEl,V=this._cropEl;j||(j=v.doc.createElement("div"),this._imageEl=j);var H=j.style;if(_){if(t&&n)H.width=b(D*t*d/p)+"px",H.height=b(P*n*f/g)+"px";else{var W=new Image,q=this;W.onload=function(){W.onload=null,t=W.width,n=W.height,H.width=b(D*t*d/p)+"px",H.height=b(P*n*f/g)+"px",q._imageWidth=t,q._imageHeight=n,q._imageSrc=r},W.src=r}V||(V=v.doc.createElement("div"),V.style.overflow="hidden",this._cropEl=V);var U=V.style;U.width=b((d+m*d/p)*D),U.height=b((f+y*f/g)*P),U.filter=M+".Matrix(Dx="+-m*d/p*D+",Dy="+-y*f/g*P+")",V.parentNode||w.appendChild(V),j.parentNode!==V&&V.appendChild(j)}else H.width=b(D*d)+"px",H.height=b(P*f)+"px",w.appendChild(j),V&&V.parentNode&&(w.removeChild(V),this._cropEl=null);var Y="",X=i.opacity;X<1&&(Y+=".Alpha(opacity="+b(100*X)+") "),Y+=M+".AlphaImageLoader(src="+r+", SizingMethod=scale)",H.filter=Y,w.style.zIndex=R(this.zlevel,this.z,this.z2),L(e,w),null!=i.text&&this.drawRectText(e,this.getBoundingRect())}},d.prototype.onRemove=function(e){N(e,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(e)},d.prototype.onAdd=function(e){L(e,this._vmlEl),this.appendRectText(e)};var q,U="normal",Y={},X=0,Z=100,K=document.createElement("div"),Q=function(e){var t=Y[e];if(!t){X>Z&&(X=0,Y={});var n,i=K.style;try{i.font=e,n=i.fontFamily.split(",")[0]}catch(r){}t={style:i.fontStyle||U,variant:i.fontVariant||U,weight:i.fontWeight||U,size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},Y[e]=t,X++}return t};l.$override("measureText",(function(e,t){var n=v.doc;q||(q=n.createElement("div"),q.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",v.doc.body.appendChild(q));try{q.style.font=t}catch(i){}return q.innerHTML="",q.appendChild(n.createTextNode(e)),{width:q.offsetWidth}}));for(var J=new a,ee=function(e,t,n,i){var r=this.style;this.__dirty&&u.normalizeTextStyle(r,!0);var a=r.text;if(null!=a&&(a+=""),a){if(r.rich){var s=l.parseRichText(a,r);a=[];for(var c=0;c<s.lines.length;c++){for(var h=s.lines[c].tokens,d=[],f=0;f<h.length;f++)d.push(h[f].text);a.push(d.join(""))}a=a.join("\n")}var p,g,m=r.textAlign,y=r.textVerticalAlign,x=Q(r.font),_=x.style+" "+x.variant+" "+x.weight+" "+x.size+'px "'+x.family+'"';n=n||l.getBoundingRect(a,_,m,y,r.textPadding,r.textLineHeight);var w=this.transform;if(w&&!i&&(J.copy(t),J.applyTransform(w),t=J),i)p=t.x,g=t.y;else{var C=r.textPosition;if(C instanceof Array)p=t.x+z(C[0],t.width),g=t.y+z(C[1],t.height),m=m||"left";else{var S=this.calculateTextPosition?this.calculateTextPosition({},r,t):l.calculateTextPosition({},r,t);p=S.x,g=S.y,m=m||S.textAlign,y=y||S.textVerticalAlign}}p=l.adjustTextX(p,n.width,m),g=l.adjustTextY(g,n.height,y),g+=n.height/2;var M,T,E,D=v.createNode,P=this._textVmlEl;P?(E=P.firstChild,M=E.nextSibling,T=M.nextSibling):(P=D("line"),M=D("path"),T=D("textpath"),E=D("skew"),T.style["v-text-align"]="left",O(P),M.textpathok=!0,T.on=!0,P.from="0 0",P.to="1000 0.05",L(P,E),L(P,M),L(P,T),this._textVmlEl=P);var A=[p,g],N=P.style;w&&i?(o(A,A,w),E.on=!0,E.matrix=w[0].toFixed(3)+k+w[2].toFixed(3)+k+w[1].toFixed(3)+k+w[3].toFixed(3)+",0,0",E.offset=(b(A[0])||0)+","+(b(A[1])||0),E.origin="0 0",N.left="0px",N.top="0px"):(E.on=!1,N.left=b(p)+"px",N.top=b(g)+"px"),T.string=I(a);try{T.style.font=_}catch($){}V(P,"fill",{fill:r.textFill,opacity:r.opacity},this),V(P,"stroke",{stroke:r.textStroke,opacity:r.opacity,lineDash:r.lineDash||null},this),P.style.zIndex=R(this.zlevel,this.z,this.z2),L(e,P)}},te=function(e){N(e,this._textVmlEl),this._textVmlEl=null},ne=function(e){L(e,this._textVmlEl)},ie=[c,h,d,p,f],re=0;re<ie.length;re++){var oe=ie[re].prototype;oe.drawRectText=ee,oe.removeRectText=te,oe.appendRectText=ne}f.prototype.brushVML=function(e){var t=this.style;null!=t.text?this.drawRectText(e,{x:t.x||0,y:t.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(e)},f.prototype.onRemove=function(e){this.removeRectText(e)},f.prototype.onAdd=function(e){this.appendRectText(e)}}},39607:function(e,t,n){n(3861);var i=n(89519),r=i.registerPainter,o=n(39544);r("vml",o)},89519:function(e,t,n){var i=n(26469),r=n(95160),o=n(63122),a=n(58263),s=n(92494),l=n(35960),u=n(14204),c=n(48107),h=!r.canvasSupported,d={canvas:l},f={},p="4.3.2";function g(e,t){var n=new x(i(),e,t);return f[n.id]=n,n}function m(e){if(e)e.dispose();else{for(var t in f)f.hasOwnProperty(t)&&f[t].dispose();f={}}return this}function v(e){return f[e]}function y(e,t){d[e]=t}function b(e){delete f[e]}var x=function(e,t,n){n=n||{},this.dom=t,this.id=e;var i=this,l=new s,f=n.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&d[f]||(f="canvas");var p=new d[f](t,l,n,e);this.storage=l,this.painter=p;var g=r.node||r.worker?null:new c(p.getViewportRoot(),p.root);this.handler=new a(l,p,g,p.root),this.animation=new u({stage:{update:o.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=l.delFromStorage,v=l.addToStorage;l.delFromStorage=function(e){m.call(l,e),e&&e.removeSelfFromZr(i)},l.addToStorage=function(e){v.call(l,e),e.addSelfToZr(i)}};x.prototype={constructor:x,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this._needsRefresh=!0},setBackgroundColor:function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var e;this._needsRefresh&&(e=!0,this.refreshImmediately()),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately()),e&&this.trigger("rendered")},addHover:function(e,t){if(this.painter.addHover){var n=this.painter.addHover(e,t);return this.refreshHover(),n}},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),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(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},findHover:function(e,t){return this.handler.findHover(e,t)},on:function(e,t,n){this.handler.on(e,t,n)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},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,b(this.id)}},t.version=p,t.init=g,t.dispose=m,t.getInstance=v,t.registerPainter=y},98605:function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},33608:function(e){function t(e){if(Array.isArray(e))return e}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},44866:function(e,t,n){var i=n(98605);function r(e){if(Array.isArray(e))return i(e)}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},25736:function(e){function t(e,t,n,i,r,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(i,r)}function n(e){return function(){var n=this,i=arguments;return new Promise((function(r,o){var a=e.apply(n,i);function s(e){t(a,r,o,s,l,"next",e)}function l(e){t(a,r,o,s,l,"throw",e)}s(void 0)}))}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},11469:function(e){function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},34344:function(e,t,n){var i=n(41071);function r(e,t,n){return t=i(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},63965:function(e){function t(e){return e&&e.__esModule?e:{default:e}}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},54337:function(e){function t(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},47440:function(e,t,n){function i(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(c){u=!0,r=c}finally{try{if(!l&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(u)throw r}}return s}}n(57658),e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},423:function(e){function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},47929:function(e){function t(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},53898:function(e,t,n){n(57658);var i=n(54614)["default"];function r(){"use strict";
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=r=function(){return t},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(O){h=function(e,t,n){return e[t]=n}}function d(e,t,n,i){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new E(i||[]);return a(o,"_invoke",{value:S(e,n,s)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}t.wrap=d;var p={};function g(){}function m(){}function v(){}var y={};h(y,l,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(D([])));x&&x!==n&&o.call(x,l)&&(y=x);var _=v.prototype=g.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(r,a,s,l){var u=f(e[r],e,a);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==i(h)&&o.call(h,"__await")?t.resolve(h.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(h).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,l)}))}l(u.arg)}var r;a(this,"_invoke",{value:function(e,i){function o(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(o,o):o()}})}function S(e,t,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return P()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=f(e,t,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function k(e,t){var n=t.method,i=e.iterator[n];if(void 0===i)return t.delegate=null,"throw"===n&&e.iterator["return"]&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var r=f(i,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function D(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return m.prototype=v,a(_,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:m,configurable:!0}),m.displayName=h(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,h(e,c,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},w(C.prototype),h(C.prototype,u,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,i,r,o){void 0===o&&(o=Promise);var a=new C(d(e,n,i,r),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),h(_,c,"Generator"),h(_,l,(function(){return this})),h(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=D,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,i){return a.type="throw",a.arg=e,t.next=n,i&&(t.method="next",t.arg=void 0),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i],a=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var s=o.call(r,"catchLoc"),l=o.call(r,"finallyLoc");if(s&&l){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=e,a.arg=t,r?(this.method="next",this.next=r.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:D(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},99621:function(e,t,n){var i=n(33608),r=n(47440),o=n(82282),a=n(423);function s(e,t){return i(e)||r(e,t)||o(e,t)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},57920:function(e,t,n){var i=n(44866),r=n(54337),o=n(82282),a=n(47929);function s(e){return i(e)||r(e)||o(e)||a()}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},30671:function(e,t,n){var i=n(54614)["default"];function r(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},41071:function(e,t,n){var i=n(54614)["default"],r=n(30671);function o(e){var t=r(e,"string");return"symbol"===i(t)?t:String(t)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},54614:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports["default"]=e.exports},82282:function(e,t,n){var i=n(98605);function r(e,t){if(e){if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},78305:function(e,t,n){var i=n(53898)();e.exports=i;try{regeneratorRuntime=i}catch(r){"object"===typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},2172:function(e,t,n){"use strict";n.r(t),n.d(t,{darken:function(){return y},fade:function(){return x},getColorFromRgbValue:function(){return v},getOpacity:function(){return f},getRgbValue:function(){return d},getRgbaValue:function(){return p},isHex:function(){return r},isRgb:function(){return o},isRgbOrRgba:function(){return s},isRgba:function(){return a},lighten:function(){return b},toHex:function(){return m},toRgb:function(){return g}});var i=(e=>(e.transparent="rgba(0,0,0,0)",e.black="#000000",e.silver="#C0C0C0",e.gray="#808080",e.white="#FFFFFF",e.maroon="#800000",e.red="#FF0000",e.purple="#800080",e.fuchsia="#FF00FF",e.green="#008000",e.lime="#00FF00",e.olive="#808000",e.yellow="#FFFF00",e.navy="#000080",e.blue="#0000FF",e.teal="#008080",e.aqua="#00FFFF",e.aliceblue="#f0f8ff",e.antiquewhite="#faebd7",e.aquamarine="#7fffd4",e.azure="#f0ffff",e.beige="#f5f5dc",e.bisque="#ffe4c4",e.blanchedalmond="#ffebcd",e.blueviolet="#8a2be2",e.brown="#a52a2a",e.burlywood="#deb887",e.cadetblue="#5f9ea0",e.chartreuse="#7fff00",e.chocolate="#d2691e",e.coral="#ff7f50",e.cornflowerblue="#6495ed",e.cornsilk="#fff8dc",e.crimson="#dc143c",e.cyan="#00ffff",e.darkblue="#00008b",e.darkcyan="#008b8b",e.darkgoldenrod="#b8860b",e.darkgray="#a9a9a9",e.darkgreen="#006400",e.darkgrey="#a9a9a9",e.darkkhaki="#bdb76b",e.darkmagenta="#8b008b",e.darkolivegreen="#556b2f",e.darkorange="#ff8c00",e.darkorchid="#9932cc",e.darkred="#8b0000",e.darksalmon="#e9967a",e.darkseagreen="#8fbc8f",e.darkslateblue="#483d8b",e.darkslategray="#2f4f4f",e.darkslategrey="#2f4f4f",e.darkturquoise="#00ced1",e.darkviolet="#9400d3",e.deeppink="#ff1493",e.deepskyblue="#00bfff",e.dimgray="#696969",e.dimgrey="#696969",e.dodgerblue="#1e90ff",e.firebrick="#b22222",e.floralwhite="#fffaf0",e.forestgreen="#228b22",e.gainsboro="#dcdcdc",e.ghostwhite="#f8f8ff",e.gold="#ffd700",e.goldenrod="#daa520",e.greenyellow="#adff2f",e.grey="#808080",e.honeydew="#f0fff0",e.hotpink="#ff69b4",e.indianred="#cd5c5c",e.indigo="#4b0082",e.ivory="#fffff0",e.khaki="#f0e68c",e.lavender="#e6e6fa",e.lavenderblush="#fff0f5",e.lawngreen="#7cfc00",e.lemonchiffon="#fffacd",e.lightblue="#add8e6",e.lightcoral="#f08080",e.lightcyan="#e0ffff",e.lightgoldenrodyellow="#fafad2",e.lightgray="#d3d3d3",e.lightgreen="#90ee90",e.lightgrey="#d3d3d3",e.lightpink="#ffb6c1",e.lightsalmon="#ffa07a",e.lightseagreen="#20b2aa",e.lightskyblue="#87cefa",e.lightslategray="#778899",e.lightslategrey="#778899",e.lightsteelblue="#b0c4de",e.lightyellow="#ffffe0",e.limegreen="#32cd32",e.linen="#faf0e6",e.magenta="#ff00ff",e.mediumaquamarine="#66cdaa",e.mediumblue="#0000cd",e.mediumorchid="#ba55d3",e.mediumpurple="#9370db",e.mediumseagreen="#3cb371",e.mediumslateblue="#7b68ee",e.mediumspringgreen="#00fa9a",e.mediumturquoise="#48d1cc",e.mediumvioletred="#c71585",e.midnightblue="#191970",e.mintcream="#f5fffa",e.mistyrose="#ffe4e1",e.moccasin="#ffe4b5",e.navajowhite="#ffdead",e.oldlace="#fdf5e6",e.olivedrab="#6b8e23",e.orange="#ffa500",e.orangered="#ff4500",e.orchid="#da70d6",e.palegoldenrod="#eee8aa",e.palegreen="#98fb98",e.paleturquoise="#afeeee",e.palevioletred="#db7093",e.papayawhip="#ffefd5",e.peachpuff="#ffdab9",e.peru="#cd853f",e.pink="#ffc0cb",e.plum="#dda0dd",e.powderblue="#b0e0e6",e.rosybrown="#bc8f8f",e.royalblue="#4169e1",e.saddlebrown="#8b4513",e.salmon="#fa8072",e.sandybrown="#f4a460",e.seagreen="#2e8b57",e.seashell="#fff5ee",e.sienna="#a0522d",e.skyblue="#87ceeb",e.slateblue="#6a5acd",e.slategray="#708090",e.snow="#fffafa",e.springgreen="#00ff7f",e.steelblue="#4682b4",e.tan="#d2b48c",e.thistle="#d8bfd8",e.tomato="#ff6347",e.turquoise="#40e0d0",e.violet="#ee82ee",e.wheat="#f5deb3",e.whitesmoke="#f5f5f5",e.yellowgreen="#9acd32",e))(i||{});function r(e){return"string"==typeof e&&(e=e.toLowerCase(),/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e))}function o(e){return"string"==typeof e&&(e=e.toLowerCase(),/^(rgb\(|RGB\()/.test(e))}function a(e){return"string"==typeof e&&(e=e.toLowerCase(),/^(rgba|RGBA)/.test(e))}function s(e){return/^(rgb|rgba|RGB|RGBA)/.test(e)}function l(e){return i[e]}function u(e){if(r(e)||s(e))return e;const t=l(e);if(!t)throw new Error(`Color: Invalid Input of ${e}`);return t}function c(e){e=e.replace("#",""),3===e.length&&(e=Array.from(e).map((e=>e+e)).join(""));const t=e.split("");return new Array(3).fill(0).map(((e,n)=>parseInt(`0x${t[2*n]}${t[2*n+1]}`)))}function h(e){return e.replace(/rgb\(|rgba\(|\)/g,"").split(",").slice(0,3).map((e=>parseInt(e)))}function d(e){const t=u(e).toLowerCase();return r(t)?c(t):h(t)}function f(e){const t=u(e);return a(t)?Number(t.toLowerCase().split(",").slice(-1)[0].replace(/[)|\s]/g,"")):1}function p(e){const t=d(e);return t&&[...t,f(e)]}function g(e,t){const n=d(e);return"number"==typeof t?`rgba(${n.join(",")},${t})`:`rgb(${n.join(",")})`}function m(e){if(r(e))return e;const t=d(e),n=e=>Number(e).toString(16).padStart(2,"0");return`#${t.map(n).join("")}`}function v(e){if(!Array.isArray(e))throw new Error(`getColorFromRgbValue: ${e} is not an array`);const{length:t}=e;if(3!==t&&4!==t)throw new Error("getColorFromRgbValue: value length should be 3 or 4");return(3===t?"rgb(":"rgba(")+e.join(",")+")"}function y(e,t=0){let n=p(e);return n=n.map(((e,n)=>3===n?e:e-Math.ceil(2.55*t))).map((e=>e<0?0:e)),v(n)}function b(e,t=0){let n=p(e);return n=n.map(((e,n)=>3===n?e:e+Math.ceil(2.55*t))).map((e=>e>255?255:e)),v(n)}function x(e,t=100){const n=d(e);return v([...n,t/100])}},91076:function(e,t,n){"use strict";n.d(t,{Z:function(){return Vt}});var i={};n.r(i),n.d(i,{hasBrowserEnv:function(){return Ie},hasStandardBrowserEnv:function(){return Ae},hasStandardBrowserWebWorkerEnv:function(){return Le}});n(1439),n(87585),n(55315),n(57658);function r(e,t){return function(){return e.apply(t,arguments)}}const{toString:o}=Object.prototype,{getPrototypeOf:a}=Object,s=(e=>t=>{const n=o.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),l=e=>(e=e.toLowerCase(),t=>s(t)===e),u=e=>t=>typeof t===e,{isArray:c}=Array,h=u("undefined");function d(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const f=l("ArrayBuffer");function p(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&f(e.buffer),t}const g=u("string"),m=u("function"),v=u("number"),y=e=>null!==e&&"object"===typeof e,b=e=>!0===e||!1===e,x=e=>{if("object"!==s(e))return!1;const t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},_=l("Date"),w=l("File"),C=l("Blob"),S=l("FileList"),k=e=>y(e)&&m(e.pipe),M=e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||m(e.append)&&("formdata"===(t=s(e))||"object"===t&&m(e.toString)&&"[object FormData]"===e.toString()))},T=l("URLSearchParams"),E=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function D(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let i,r;if("object"!==typeof e&&(e=[e]),c(e))for(i=0,r=e.length;i<r;i++)t.call(null,e[i],i,e);else{const r=n?Object.getOwnPropertyNames(e):Object.keys(e),o=r.length;let a;for(i=0;i<o;i++)a=r[i],t.call(null,e[a],a,e)}}function P(e,t){t=t.toLowerCase();const n=Object.keys(e);let i,r=n.length;while(r-- >0)if(i=n[r],t===i.toLowerCase())return i;return null}const O=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),I=e=>!h(e)&&e!==O;function A(){const{caseless:e}=I(this)&&this||{},t={},n=(n,i)=>{const r=e&&P(t,i)||i;x(t[r])&&x(n)?t[r]=A(t[r],n):x(n)?t[r]=A({},n):c(n)?t[r]=n.slice():t[r]=n};for(let i=0,r=arguments.length;i<r;i++)arguments[i]&&D(arguments[i],n);return t}const L=(e,t,n,{allOwnKeys:i}={})=>(D(t,((t,i)=>{n&&m(t)?e[i]=r(t,n):e[i]=t}),{allOwnKeys:i}),e),N=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),R=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},z=(e,t,n,i)=>{let r,o,s;const l={};if(t=t||{},null==e)return t;do{r=Object.getOwnPropertyNames(e),o=r.length;while(o-- >0)s=r[o],i&&!i(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},$=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return-1!==i&&i===n},B=e=>{if(!e)return null;if(c(e))return e;let t=e.length;if(!v(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},F=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&a(Uint8Array)),j=(e,t)=>{const n=e&&e[Symbol.iterator],i=n.call(e);let r;while((r=i.next())&&!r.done){const n=r.value;t.call(e,n[0],n[1])}},V=(e,t)=>{let n;const i=[];while(null!==(n=e.exec(t)))i.push(n);return i},H=l("HTMLFormElement"),W=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),G=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),q=l("RegExp"),U=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};D(n,((n,r)=>{let o;!1!==(o=t(n,r,e))&&(i[r]=o||n)})),Object.defineProperties(e,i)},Y=e=>{U(e,((t,n)=>{if(m(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];m(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},X=(e,t)=>{const n={},i=e=>{e.forEach((e=>{n[e]=!0}))};return c(e)?i(e):i(String(e).split(t)),n},Z=()=>{},K=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Q="abcdefghijklmnopqrstuvwxyz",J="0123456789",ee={DIGIT:J,ALPHA:Q,ALPHA_DIGIT:Q+Q.toUpperCase()+J},te=(e=16,t=ee.ALPHA_DIGIT)=>{let n="";const{length:i}=t;while(e--)n+=t[Math.random()*i|0];return n};function ne(e){return!!(e&&m(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])}const ie=e=>{const t=new Array(10),n=(e,i)=>{if(y(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;const r=c(e)?[]:{};return D(e,((e,t)=>{const o=n(e,i+1);!h(o)&&(r[t]=o)})),t[i]=void 0,r}}return e};return n(e,0)},re=l("AsyncFunction"),oe=e=>e&&(y(e)||m(e))&&m(e.then)&&m(e.catch);var ae={isArray:c,isArrayBuffer:f,isBuffer:d,isFormData:M,isArrayBufferView:p,isString:g,isNumber:v,isBoolean:b,isObject:y,isPlainObject:x,isUndefined:h,isDate:_,isFile:w,isBlob:C,isRegExp:q,isFunction:m,isStream:k,isURLSearchParams:T,isTypedArray:F,isFileList:S,forEach:D,merge:A,extend:L,trim:E,stripBOM:N,inherits:R,toFlatObject:z,kindOf:s,kindOfTest:l,endsWith:$,toArray:B,forEachEntry:j,matchAll:V,isHTMLForm:H,hasOwnProperty:G,hasOwnProp:G,reduceDescriptors:U,freezeMethods:Y,toObjectSet:X,toCamelCase:W,noop:Z,toFiniteNumber:K,findKey:P,global:O,isContextDefined:I,ALPHABET:ee,generateString:te,isSpecCompliantForm:ne,toJSONObject:ie,isAsyncFn:re,isThenable:oe};function se(e,t,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r)}ae.inherits(se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ae.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const le=se.prototype,ue={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{ue[e]={value:e}})),Object.defineProperties(se,ue),Object.defineProperty(le,"isAxiosError",{value:!0}),se.from=(e,t,n,i,r,o)=>{const a=Object.create(le);return ae.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),se.call(a,e.message,t,n,i,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var ce=se,he=null;function de(e){return ae.isPlainObject(e)||ae.isArray(e)}function fe(e){return ae.endsWith(e,"[]")?e.slice(0,-2):e}function pe(e,t,n){return e?e.concat(t).map((function(e,t){return e=fe(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}function ge(e){return ae.isArray(e)&&!e.some(de)}const me=ae.toFlatObject(ae,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ve(e,t,n){if(!ae.isObject(e))throw new TypeError("target must be an object");t=t||new(he||FormData),n=ae.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ae.isUndefined(t[e])}));const i=n.metaTokens,r=n.visitor||c,o=n.dots,a=n.indexes,s=n.Blob||"undefined"!==typeof Blob&&Blob,l=s&&ae.isSpecCompliantForm(t);if(!ae.isFunction(r))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(ae.isDate(e))return e.toISOString();if(!l&&ae.isBlob(e))throw new ce("Blob is not supported. Use a Buffer instead.");return ae.isArrayBuffer(e)||ae.isTypedArray(e)?l&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,r){let s=e;if(e&&!r&&"object"===typeof e)if(ae.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(ae.isArray(e)&&ge(e)||(ae.isFileList(e)||ae.endsWith(n,"[]"))&&(s=ae.toArray(e)))return n=fe(n),s.forEach((function(e,i){!ae.isUndefined(e)&&null!==e&&t.append(!0===a?pe([n],i,o):null===a?n:n+"[]",u(e))})),!1;return!!de(e)||(t.append(pe(r,n,o),u(e)),!1)}const h=[],d=Object.assign(me,{defaultVisitor:c,convertValue:u,isVisitable:de});function f(e,n){if(!ae.isUndefined(e)){if(-1!==h.indexOf(e))throw Error("Circular reference detected in "+n.join("."));h.push(e),ae.forEach(e,(function(e,i){const o=!(ae.isUndefined(e)||null===e)&&r.call(t,e,ae.isString(i)?i.trim():i,n,d);!0===o&&f(e,n?n.concat(i):[i])})),h.pop()}}if(!ae.isObject(e))throw new TypeError("data must be an object");return f(e),t}var ye=ve;function be(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function xe(e,t){this._pairs=[],e&&ye(e,this,t)}const _e=xe.prototype;_e.append=function(e,t){this._pairs.push([e,t])},_e.toString=function(e){const t=e?function(t){return e.call(this,t,be)}:be;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var we=xe;function Ce(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Se(e,t,n){if(!t)return e;const i=n&&n.encode||Ce,r=n&&n.serialize;let o;if(o=r?r(t,n):ae.isURLSearchParams(t)?t.toString():new we(t,n).toString(i),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}class ke{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ae.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var Me=ke,Te={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ee=(n(46229),n(17330),n(62062),"undefined"!==typeof URLSearchParams?URLSearchParams:we),De="undefined"!==typeof FormData?FormData:null,Pe="undefined"!==typeof Blob?Blob:null,Oe={isBrowser:!0,classes:{URLSearchParams:Ee,FormData:De,Blob:Pe},protocols:["http","https","file","blob","url","data"]};const Ie="undefined"!==typeof window&&"undefined"!==typeof document,Ae=(e=>Ie&&["ReactNative","NativeScript","NS"].indexOf(e)<0)("undefined"!==typeof navigator&&navigator.product),Le=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)();var Ne={...i,...Oe};function Re(e,t){return ye(e,new Ne.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return Ne.isNode&&ae.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function ze(e){return ae.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function $e(e){const t={},n=Object.keys(e);let i;const r=n.length;let o;for(i=0;i<r;i++)o=n[i],t[o]=e[o];return t}function Be(e){function t(e,n,i,r){let o=e[r++];const a=Number.isFinite(+o),s=r>=e.length;if(o=!o&&ae.isArray(i)?i.length:o,s)return ae.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a;i[o]&&ae.isObject(i[o])||(i[o]=[]);const l=t(e,n,i[o],r);return l&&ae.isArray(i[o])&&(i[o]=$e(i[o])),!a}if(ae.isFormData(e)&&ae.isFunction(e.entries)){const n={};return ae.forEachEntry(e,((e,i)=>{t(ze(e),i,n,0)})),n}return null}var Fe=Be;function je(e,t,n){if(ae.isString(e))try{return(t||JSON.parse)(e),ae.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(e)}const Ve={transitional:Te,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,r=ae.isObject(e);r&&ae.isHTMLForm(e)&&(e=new FormData(e));const o=ae.isFormData(e);if(o)return i&&i?JSON.stringify(Fe(e)):e;if(ae.isArrayBuffer(e)||ae.isBuffer(e)||ae.isStream(e)||ae.isFile(e)||ae.isBlob(e))return e;if(ae.isArrayBufferView(e))return e.buffer;if(ae.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Re(e,this.formSerializer).toString();if((a=ae.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ye(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return r||i?(t.setContentType("application/json",!1),je(e)):e}],transformResponse:[function(e){const t=this.transitional||Ve.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(e&&ae.isString(e)&&(n&&!this.responseType||i)){const n=t&&t.silentJSONParsing,o=!n&&i;try{return JSON.parse(e)}catch(r){if(o){if("SyntaxError"===r.name)throw ce.from(r,ce.ERR_BAD_RESPONSE,this,null,this.response);throw r}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ne.classes.FormData,Blob:Ne.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ae.forEach(["delete","get","head","post","put","patch"],(e=>{Ve.headers[e]={}}));var He=Ve;const We=ae.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Ge=e=>{const t={};let n,i,r;return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),n=e.substring(0,r).trim().toLowerCase(),i=e.substring(r+1).trim(),!n||t[n]&&We[n]||("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)})),t};const qe=Symbol("internals");function Ue(e){return e&&String(e).trim().toLowerCase()}function Ye(e){return!1===e||null==e?e:ae.isArray(e)?e.map(Ye):String(e)}function Xe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;while(i=n.exec(e))t[i[1]]=i[2];return t}const Ze=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ke(e,t,n,i,r){return ae.isFunction(i)?i.call(this,t,n):(r&&(t=n),ae.isString(t)?ae.isString(i)?-1!==t.indexOf(i):ae.isRegExp(i)?i.test(t):void 0:void 0)}function Qe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function Je(e,t){const n=ae.toCamelCase(" "+t);["get","set","has"].forEach((i=>{Object.defineProperty(e,i+n,{value:function(e,n,r){return this[i].call(this,t,e,n,r)},configurable:!0})}))}class et{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function r(e,t,n){const r=Ue(t);if(!r)throw new Error("header name must be a non-empty string");const o=ae.findKey(i,r);(!o||void 0===i[o]||!0===n||void 0===n&&!1!==i[o])&&(i[o||t]=Ye(e))}const o=(e,t)=>ae.forEach(e,((e,n)=>r(e,n,t)));return ae.isPlainObject(e)||e instanceof this.constructor?o(e,t):ae.isString(e)&&(e=e.trim())&&!Ze(e)?o(Ge(e),t):null!=e&&r(t,e,n),this}get(e,t){if(e=Ue(e),e){const n=ae.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return Xe(e);if(ae.isFunction(t))return t.call(this,e,n);if(ae.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ue(e),e){const n=ae.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ke(this,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function r(e){if(e=Ue(e),e){const r=ae.findKey(n,e);!r||t&&!Ke(n,n[r],r,t)||(delete n[r],i=!0)}}return ae.isArray(e)?e.forEach(r):r(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;while(n--){const r=t[n];e&&!Ke(this,this[r],r,e,!0)||(delete this[r],i=!0)}return i}normalize(e){const t=this,n={};return ae.forEach(this,((i,r)=>{const o=ae.findKey(n,r);if(o)return t[o]=Ye(i),void delete t[r];const a=e?Qe(r):String(r).trim();a!==r&&delete t[r],t[a]=Ye(i),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ae.forEach(this,((n,i)=>{null!=n&&!1!==n&&(t[i]=e&&ae.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=this[qe]=this[qe]={accessors:{}},n=t.accessors,i=this.prototype;function r(e){const t=Ue(e);n[t]||(Je(i,e),n[t]=!0)}return ae.isArray(e)?e.forEach(r):r(e),this}}et.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ae.reduceDescriptors(et.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),ae.freezeMethods(et);var tt=et;function nt(e,t){const n=this||He,i=t||n,r=tt.from(i.headers);let o=i.data;return ae.forEach(e,(function(e){o=e.call(n,o,r.normalize(),t?t.status:void 0)})),r.normalize(),o}function it(e){return!(!e||!e.__CANCEL__)}function rt(e,t,n){ce.call(this,null==e?"canceled":e,ce.ERR_CANCELED,t,n),this.name="CanceledError"}ae.inherits(rt,ce,{__CANCEL__:!0});var ot=rt;n(82801);function at(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new ce("Request failed with status code "+n.status,[ce.ERR_BAD_REQUEST,ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var st=Ne.hasStandardBrowserEnv?{write(e,t,n,i,r,o){const a=[e+"="+encodeURIComponent(t)];ae.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ae.isString(i)&&a.push("path="+i),ae.isString(r)&&a.push("domain="+r),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function lt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ut(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ct(e,t){return e&&!lt(t)?ut(e,t):t}var ht=Ne.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function i(n){let i=n;return e&&(t.setAttribute("href",i),i=t.href),t.setAttribute("href",i),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=i(window.location.href),function(e){const t=ae.isString(e)?i(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}();function dt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ft(e,t){e=e||10;const n=new Array(e),i=new Array(e);let r,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),u=i[a];r||(r=l),n[o]=s,i[o]=l;let c=a,h=0;while(c!==o)h+=n[c++],c%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-r<t)return;const d=u&&l-u;return d?Math.round(1e3*h/d):void 0}}var pt=ft;function gt(e,t){let n=0;const i=pt(50,250);return r=>{const o=r.loaded,a=r.lengthComputable?r.total:void 0,s=o-n,l=i(s),u=o<=a;n=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&u?(a-o)/l:void 0,event:r};c[t?"download":"upload"]=!0,e(c)}}const mt="undefined"!==typeof XMLHttpRequest;var vt=mt&&function(e){return new Promise((function(t,n){let i=e.data;const r=tt.from(e.headers).normalize();let o,a,{responseType:s,withXSRFToken:l}=e;function u(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}if(ae.isFormData(i))if(Ne.hasStandardBrowserEnv||Ne.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if(!1!==(a=r.getContentType())){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];r.setContentType([e||"multipart/form-data",...t].join("; "))}let c=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(t+":"+n))}const h=ct(e.baseURL,e.url);function d(){if(!c)return;const i=tt.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),r=s&&"text"!==s&&"json"!==s?c.response:c.responseText,o={data:r,status:c.status,statusText:c.statusText,headers:i,config:e,request:c};at((function(e){t(e),u()}),(function(e){n(e),u()}),o),c=null}if(c.open(e.method.toUpperCase(),Se(h,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(d)},c.onabort=function(){c&&(n(new ce("Request aborted",ce.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new ce("Network Error",ce.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const i=e.transitional||Te;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new ce(t,i.clarifyTimeoutError?ce.ETIMEDOUT:ce.ECONNABORTED,e,c)),c=null},Ne.hasStandardBrowserEnv&&(l&&ae.isFunction(l)&&(l=l(e)),l||!1!==l&&ht(h))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&st.read(e.xsrfCookieName);t&&r.set(e.xsrfHeaderName,t)}void 0===i&&r.setContentType(null),"setRequestHeader"in c&&ae.forEach(r.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),ae.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),s&&"json"!==s&&(c.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&c.addEventListener("progress",gt(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",gt(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=t=>{c&&(n(!t||t.type?new ot(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const f=dt(h);f&&-1===Ne.protocols.indexOf(f)?n(new ce("Unsupported protocol "+f+":",ce.ERR_BAD_REQUEST,e)):c.send(i||null)}))};const yt={http:he,xhr:vt};ae.forEach(yt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const bt=e=>`- ${e}`,xt=e=>ae.isFunction(e)||null===e||!1===e;var _t={getAdapter:e=>{e=ae.isArray(e)?e:[e];const{length:t}=e;let n,i;const r={};for(let o=0;o<t;o++){let t;if(n=e[o],i=n,!xt(n)&&(i=yt[(t=String(n)).toLowerCase()],void 0===i))throw new ce(`Unknown adapter '${t}'`);if(i)break;r[t||"#"+o]=i}if(!i){const e=Object.entries(r).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(bt).join("\n"):" "+bt(e[0]):"as no adapter specified";throw new ce("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return i},adapters:yt};function wt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ot(null,e)}function Ct(e){wt(e),e.headers=tt.from(e.headers),e.data=nt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=_t.getAdapter(e.adapter||He.adapter);return t(e).then((function(t){return wt(e),t.data=nt.call(e,e.transformResponse,t),t.headers=tt.from(t.headers),t}),(function(t){return it(t)||(wt(e),t&&t.response&&(t.response.data=nt.call(e,e.transformResponse,t.response),t.response.headers=tt.from(t.response.headers))),Promise.reject(t)}))}const St=e=>e instanceof tt?e.toJSON():e;function kt(e,t){t=t||{};const n={};function i(e,t,n){return ae.isPlainObject(e)&&ae.isPlainObject(t)?ae.merge.call({caseless:n},e,t):ae.isPlainObject(t)?ae.merge({},t):ae.isArray(t)?t.slice():t}function r(e,t,n){return ae.isUndefined(t)?ae.isUndefined(e)?void 0:i(void 0,e,n):i(e,t,n)}function o(e,t){if(!ae.isUndefined(t))return i(void 0,t)}function a(e,t){return ae.isUndefined(t)?ae.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function s(n,r,o){return o in t?i(n,r):o in e?i(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>r(St(e),St(t),!0)};return ae.forEach(Object.keys(Object.assign({},e,t)),(function(i){const o=l[i]||r,a=o(e[i],t[i],i);ae.isUndefined(a)&&o!==s||(n[i]=a)})),n}const Mt="1.6.2",Tt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Tt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Et={};function Dt(e,t,n){if("object"!==typeof e)throw new ce("options must be an object",ce.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let r=i.length;while(r-- >0){const o=i[r],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new ce("option "+o+" must be "+n,ce.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ce("Unknown option "+o,ce.ERR_BAD_OPTION)}}Tt.transitional=function(e,t,n){function i(e,t){return"[Axios v"+Mt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,o)=>{if(!1===e)throw new ce(i(r," has been removed"+(t?" in "+t:"")),ce.ERR_DEPRECATED);return t&&!Et[r]&&(Et[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,o)}};var Pt={assertOptions:Dt,validators:Tt};const Ot=Pt.validators;class It{constructor(e){this.defaults=e,this.interceptors={request:new Me,response:new Me}}request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=kt(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:r}=t;void 0!==n&&Pt.assertOptions(n,{silentJSONParsing:Ot.transitional(Ot.boolean),forcedJSONParsing:Ot.transitional(Ot.boolean),clarifyTimeoutError:Ot.transitional(Ot.boolean)},!1),null!=i&&(ae.isFunction(i)?t.paramsSerializer={serialize:i}:Pt.assertOptions(i,{encode:Ot.function,serialize:Ot.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=r&&ae.merge(r.common,r[t.method]);r&&ae.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]})),t.headers=tt.concat(o,r);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let c,h=0;if(!s){const e=[Ct.bind(this),void 0];e.unshift.apply(e,a),e.push.apply(e,l),c=e.length,u=Promise.resolve(t);while(h<c)u=u.then(e[h++],e[h++]);return u}c=a.length;let d=t;h=0;while(h<c){const e=a[h++],t=a[h++];try{d=e(d)}catch(f){t.call(this,f);break}}try{u=Ct.call(this,d)}catch(f){return Promise.reject(f)}h=0,c=l.length;while(h<c)u=u.then(l[h++],l[h++]);return u}getUri(e){e=kt(this.defaults,e);const t=ct(e.baseURL,e.url);return Se(t,e.params,e.paramsSerializer)}}ae.forEach(["delete","get","head","options"],(function(e){It.prototype[e]=function(t,n){return this.request(kt(n||{},{method:e,url:t,data:(n||{}).data}))}})),ae.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,r){return this.request(kt(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}It.prototype[e]=t(),It.prototype[e+"Form"]=t(!0)}));var At=It;class Lt{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const i=new Promise((e=>{n.subscribe(e),t=e})).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e((function(e,i,r){n.reason||(n.reason=new ot(e,i,r),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Lt((function(t){e=t}));return{token:t,cancel:e}}}var Nt=Lt;function Rt(e){return function(t){return e.apply(null,t)}}function zt(e){return ae.isObject(e)&&!0===e.isAxiosError}const $t={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($t).forEach((([e,t])=>{$t[t]=e}));var Bt=$t;function Ft(e){const t=new At(e),n=r(At.prototype.request,t);return ae.extend(n,At.prototype,t,{allOwnKeys:!0}),ae.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Ft(kt(e,t))},n}const jt=Ft(He);jt.Axios=At,jt.CanceledError=ot,jt.CancelToken=Nt,jt.isCancel=it,jt.VERSION=Mt,jt.toFormData=ye,jt.AxiosError=ce,jt.Cancel=jt.CanceledError,jt.all=function(e){return Promise.all(e)},jt.spread=Rt,jt.isAxiosError=zt,jt.mergeConfig=kt,jt.AxiosHeaders=tt,jt.formToJSON=e=>Fe(ae.isHTMLForm(e)?new FormData(e):e),jt.getAdapter=_t.getAdapter,jt.HttpStatusCode=Bt,jt.default=jt;var Vt=jt},53090:function(e,t,n){"use strict";function i(e){return e}n.d(t,{LLu:function(){return g},mN7:function(){return fo},Yud:function(){return po},Xf:function(){return sl},Ys:function(){return Ct},rr1:function(){return Vo},jBk:function(){return ua}});var r=1,o=2,a=3,s=4,l=1e-6;function u(e){return"translate("+e+",0)"}function c(e){return"translate(0,"+e+")"}function h(e){return t=>+e(t)}function d(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function f(){return!this.__axis}function p(e,t){var n=[],p=null,g=null,m=6,v=6,y=3,b="undefined"!==typeof window&&window.devicePixelRatio>1?0:.5,x=e===r||e===s?-1:1,_=e===s||e===o?"x":"y",w=e===r||e===a?u:c;function C(u){var c=null==p?t.ticks?t.ticks.apply(t,n):t.domain():p,C=null==g?t.tickFormat?t.tickFormat.apply(t,n):i:g,S=Math.max(m,0)+y,k=t.range(),M=+k[0]+b,T=+k[k.length-1]+b,E=(t.bandwidth?d:h)(t.copy(),b),D=u.selection?u.selection():u,P=D.selectAll(".domain").data([null]),O=D.selectAll(".tick").data(c,t).order(),I=O.exit(),A=O.enter().append("g").attr("class","tick"),L=O.select("line"),N=O.select("text");P=P.merge(P.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),O=O.merge(A),L=L.merge(A.append("line").attr("stroke","currentColor").attr(_+"2",x*m)),N=N.merge(A.append("text").attr("fill","currentColor").attr(_,x*S).attr("dy",e===r?"0em":e===a?"0.71em":"0.32em")),u!==D&&(P=P.transition(u),O=O.transition(u),L=L.transition(u),N=N.transition(u),I=I.transition(u).attr("opacity",l).attr("transform",(function(e){return isFinite(e=E(e))?w(e+b):this.getAttribute("transform")})),A.attr("opacity",l).attr("transform",(function(e){var t=this.parentNode.__axis;return w((t&&isFinite(t=t(e))?t:E(e))+b)}))),I.remove(),P.attr("d",e===s||e===o?v?"M"+x*v+","+M+"H"+b+"V"+T+"H"+x*v:"M"+b+","+M+"V"+T:v?"M"+M+","+x*v+"V"+b+"H"+T+"V"+x*v:"M"+M+","+b+"H"+T),O.attr("opacity",1).attr("transform",(function(e){return w(E(e)+b)})),L.attr(_+"2",x*m),N.attr(_,x*S).text(C),D.filter(f).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===o?"start":e===s?"end":"middle"),D.each((function(){this.__axis=E}))}return C.scale=function(e){return arguments.length?(t=e,C):t},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(e){return arguments.length?(n=null==e?[]:Array.from(e),C):n.slice()},C.tickValues=function(e){return arguments.length?(p=null==e?null:Array.from(e),C):p&&p.slice()},C.tickFormat=function(e){return arguments.length?(g=e,C):g},C.tickSize=function(e){return arguments.length?(m=v=+e,C):m},C.tickSizeInner=function(e){return arguments.length?(m=+e,C):m},C.tickSizeOuter=function(e){return arguments.length?(v=+e,C):v},C.tickPadding=function(e){return arguments.length?(y=+e,C):y},C.offset=function(e){return arguments.length?(b=+e,C):b},C}function g(e){return p(a,e)}n(57658);var m={value:()=>{}};function v(){for(var e,t=0,n=arguments.length,i={};t<n;++t){if(!(e=arguments[t]+"")||e in i||/[\s.]/.test(e))throw new Error("illegal type: "+e);i[e]=[]}return new y(i)}function y(e){this._=e}function b(e,t){return e.trim().split(/^|\s+/).map((function(e){var n="",i=e.indexOf(".");if(i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}}))}function x(e,t){for(var n,i=0,r=e.length;i<r;++i)if((n=e[i]).name===t)return n.value}function _(e,t,n){for(var i=0,r=e.length;i<r;++i)if(e[i].name===t){e[i]=m,e=e.slice(0,i).concat(e.slice(i+1));break}return null!=n&&e.push({name:t,value:n}),e}y.prototype=v.prototype={constructor:y,on:function(e,t){var n,i=this._,r=b(e+"",i),o=-1,a=r.length;if(!(arguments.length<2)){if(null!=t&&"function"!==typeof t)throw new Error("invalid callback: "+t);while(++o<a)if(n=(e=r[o]).type)i[n]=_(i[n],e.name,t);else if(null==t)for(n in i)i[n]=_(i[n],e.name,null);return this}while(++o<a)if((n=(e=r[o]).type)&&(n=x(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new y(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,i,r=new Array(n),o=0;o<n;++o)r[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(i=this._[e],o=0,n=i.length;o<n;++o)i[o].value.apply(t,r)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var i=this._[e],r=0,o=i.length;r<o;++r)i[r].value.apply(t,n)}};var w=v;function C(){}function S(e){return null==e?C:function(){return this.querySelector(e)}}function k(e){"function"!==typeof e&&(e=S(e));for(var t=this._groups,n=t.length,i=new Array(n),r=0;r<n;++r)for(var o,a,s=t[r],l=s.length,u=i[r]=new Array(l),c=0;c<l;++c)(o=s[c])&&(a=e.call(o,o.__data__,c,s))&&("__data__"in o&&(a.__data__=o.__data__),u[c]=a);return new bt(i,this._parents)}function M(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function T(){return[]}function E(e){return null==e?T:function(){return this.querySelectorAll(e)}}function D(e){return function(){return M(e.apply(this,arguments))}}function P(e){e="function"===typeof e?D(e):E(e);for(var t=this._groups,n=t.length,i=[],r=[],o=0;o<n;++o)for(var a,s=t[o],l=s.length,u=0;u<l;++u)(a=s[u])&&(i.push(e.call(a,a.__data__,u,s)),r.push(a));return new bt(i,r)}function O(e){return function(){return this.matches(e)}}function I(e){return function(t){return t.matches(e)}}var A=Array.prototype.find;function L(e){return function(){return A.call(this.children,e)}}function N(){return this.firstElementChild}function R(e){return this.select(null==e?N:L("function"===typeof e?e:I(e)))}var z=Array.prototype.filter;function $(){return Array.from(this.children)}function B(e){return function(){return z.call(this.children,e)}}function F(e){return this.selectAll(null==e?$:B("function"===typeof e?e:I(e)))}function j(e){"function"!==typeof e&&(e=O(e));for(var t=this._groups,n=t.length,i=new Array(n),r=0;r<n;++r)for(var o,a=t[r],s=a.length,l=i[r]=[],u=0;u<s;++u)(o=a[u])&&e.call(o,o.__data__,u,a)&&l.push(o);return new bt(i,this._parents)}function V(e){return new Array(e.length)}function H(){return new bt(this._enter||this._groups.map(V),this._parents)}function W(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function G(e){return function(){return e}}function q(e,t,n,i,r,o){for(var a,s=0,l=t.length,u=o.length;s<u;++s)(a=t[s])?(a.__data__=o[s],i[s]=a):n[s]=new W(e,o[s]);for(;s<l;++s)(a=t[s])&&(r[s]=a)}function U(e,t,n,i,r,o,a){var s,l,u,c=new Map,h=t.length,d=o.length,f=new Array(h);for(s=0;s<h;++s)(l=t[s])&&(f[s]=u=a.call(l,l.__data__,s,t)+"",c.has(u)?r[s]=l:c.set(u,l));for(s=0;s<d;++s)u=a.call(e,o[s],s,o)+"",(l=c.get(u))?(i[s]=l,l.__data__=o[s],c.delete(u)):n[s]=new W(e,o[s]);for(s=0;s<h;++s)(l=t[s])&&c.get(f[s])===l&&(r[s]=l)}function Y(e){return e.__data__}function X(e,t){if(!arguments.length)return Array.from(this,Y);var n=t?U:q,i=this._parents,r=this._groups;"function"!==typeof e&&(e=G(e));for(var o=r.length,a=new Array(o),s=new Array(o),l=new Array(o),u=0;u<o;++u){var c=i[u],h=r[u],d=h.length,f=Z(e.call(c,c&&c.__data__,u,i)),p=f.length,g=s[u]=new Array(p),m=a[u]=new Array(p),v=l[u]=new Array(d);n(c,h,g,m,v,f,t);for(var y,b,x=0,_=0;x<p;++x)if(y=g[x]){x>=_&&(_=x+1);while(!(b=m[_])&&++_<p);y._next=b||null}}return a=new bt(a,i),a._enter=s,a._exit=l,a}function Z(e){return"object"===typeof e&&"length"in e?e:Array.from(e)}function K(){return new bt(this._exit||this._groups.map(V),this._parents)}function Q(e,t,n){var i=this.enter(),r=this,o=this.exit();return"function"===typeof e?(i=e(i),i&&(i=i.selection())):i=i.append(e+""),null!=t&&(r=t(r),r&&(r=r.selection())),null==n?o.remove():n(o),i&&r?i.merge(r).order():r}function J(e){for(var t=e.selection?e.selection():e,n=this._groups,i=t._groups,r=n.length,o=i.length,a=Math.min(r,o),s=new Array(r),l=0;l<a;++l)for(var u,c=n[l],h=i[l],d=c.length,f=s[l]=new Array(d),p=0;p<d;++p)(u=c[p]||h[p])&&(f[p]=u);for(;l<r;++l)s[l]=n[l];return new bt(s,this._parents)}function ee(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var i,r=e[t],o=r.length-1,a=r[o];--o>=0;)(i=r[o])&&(a&&4^i.compareDocumentPosition(a)&&a.parentNode.insertBefore(i,a),a=i);return this}function te(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=ne);for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var a,s=n[o],l=s.length,u=r[o]=new Array(l),c=0;c<l;++c)(a=s[c])&&(u[c]=a);u.sort(t)}return new bt(r,this._parents).order()}function ne(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function ie(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function re(){return Array.from(this)}function oe(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var i=e[t],r=0,o=i.length;r<o;++r){var a=i[r];if(a)return a}return null}function ae(){let e=0;for(const t of this)++e;return e}function se(){return!this.node()}function le(e){for(var t=this._groups,n=0,i=t.length;n<i;++n)for(var r,o=t[n],a=0,s=o.length;a<s;++a)(r=o[a])&&e.call(r,r.__data__,a,o);return this}W.prototype={constructor:W,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var ue="http://www.w3.org/1999/xhtml",ce={svg:"http://www.w3.org/2000/svg",xhtml:ue,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function he(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),ce.hasOwnProperty(t)?{space:ce[t],local:e}:e}function de(e){return function(){this.removeAttribute(e)}}function fe(e){return function(){this.removeAttributeNS(e.space,e.local)}}function pe(e,t){return function(){this.setAttribute(e,t)}}function ge(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function me(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function ve(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function ye(e,t){var n=he(e);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==t?n.local?fe:de:"function"===typeof t?n.local?ve:me:n.local?ge:pe)(n,t))}function be(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function xe(e){return function(){this.style.removeProperty(e)}}function _e(e,t,n){return function(){this.style.setProperty(e,t,n)}}function we(e,t,n){return function(){var i=t.apply(this,arguments);null==i?this.style.removeProperty(e):this.style.setProperty(e,i,n)}}function Ce(e,t,n){return arguments.length>1?this.each((null==t?xe:"function"===typeof t?we:_e)(e,t,null==n?"":n)):Se(this.node(),e)}function Se(e,t){return e.style.getPropertyValue(t)||be(e).getComputedStyle(e,null).getPropertyValue(t)}function ke(e){return function(){delete this[e]}}function Me(e,t){return function(){this[e]=t}}function Te(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function Ee(e,t){return arguments.length>1?this.each((null==t?ke:"function"===typeof t?Te:Me)(e,t)):this.node()[e]}function De(e){return e.trim().split(/^|\s+/)}function Pe(e){return e.classList||new Oe(e)}function Oe(e){this._node=e,this._names=De(e.getAttribute("class")||"")}function Ie(e,t){var n=Pe(e),i=-1,r=t.length;while(++i<r)n.add(t[i])}function Ae(e,t){var n=Pe(e),i=-1,r=t.length;while(++i<r)n.remove(t[i])}function Le(e){return function(){Ie(this,e)}}function Ne(e){return function(){Ae(this,e)}}function Re(e,t){return function(){(t.apply(this,arguments)?Ie:Ae)(this,e)}}function ze(e,t){var n=De(e+"");if(arguments.length<2){var i=Pe(this.node()),r=-1,o=n.length;while(++r<o)if(!i.contains(n[r]))return!1;return!0}return this.each(("function"===typeof t?Re:t?Le:Ne)(n,t))}function $e(){this.textContent=""}function Be(e){return function(){this.textContent=e}}function Fe(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function je(e){return arguments.length?this.each(null==e?$e:("function"===typeof e?Fe:Be)(e)):this.node().textContent}function Ve(){this.innerHTML=""}function He(e){return function(){this.innerHTML=e}}function We(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function Ge(e){return arguments.length?this.each(null==e?Ve:("function"===typeof e?We:He)(e)):this.node().innerHTML}function qe(){this.nextSibling&&this.parentNode.appendChild(this)}function Ue(){return this.each(qe)}function Ye(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Xe(){return this.each(Ye)}function Ze(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===ue&&t.documentElement.namespaceURI===ue?t.createElement(e):t.createElementNS(n,e)}}function Ke(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Qe(e){var t=he(e);return(t.local?Ke:Ze)(t)}function Je(e){var t="function"===typeof e?e:Qe(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))}function et(){return null}function tt(e,t){var n="function"===typeof e?e:Qe(e),i=null==t?et:"function"===typeof t?t:S(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))}function nt(){var e=this.parentNode;e&&e.removeChild(this)}function it(){return this.each(nt)}function rt(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function ot(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function at(e){return this.select(e?ot:rt)}function st(e){return arguments.length?this.property("__data__",e):this.node().__data__}function lt(e){return function(t){e.call(this,t,this.__data__)}}function ut(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}function ct(e){return function(){var t=this.__on;if(t){for(var n,i=0,r=-1,o=t.length;i<o;++i)n=t[i],e.type&&n.type!==e.type||n.name!==e.name?t[++r]=n:this.removeEventListener(n.type,n.listener,n.options);++r?t.length=r:delete this.__on}}}function ht(e,t,n){return function(){var i,r=this.__on,o=lt(t);if(r)for(var a=0,s=r.length;a<s;++a)if((i=r[a]).type===e.type&&i.name===e.name)return this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=o,i.options=n),void(i.value=t);this.addEventListener(e.type,o,n),i={type:e.type,name:e.name,value:t,listener:o,options:n},r?r.push(i):this.__on=[i]}}function dt(e,t,n){var i,r,o=ut(e+""),a=o.length;if(!(arguments.length<2)){for(s=t?ht:ct,i=0;i<a;++i)this.each(s(o[i],t,n));return this}var s=this.node().__on;if(s)for(var l,u=0,c=s.length;u<c;++u)for(i=0,l=s[u];i<a;++i)if((r=o[i]).type===l.type&&r.name===l.name)return l.value}function ft(e,t,n){var i=be(e),r=i.CustomEvent;"function"===typeof r?r=new r(t,n):(r=i.document.createEvent("Event"),n?(r.initEvent(t,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(t,!1,!1)),e.dispatchEvent(r)}function pt(e,t){return function(){return ft(this,e,t)}}function gt(e,t){return function(){return ft(this,e,t.apply(this,arguments))}}function mt(e,t){return this.each(("function"===typeof t?gt:pt)(e,t))}function*vt(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var i,r=e[t],o=0,a=r.length;o<a;++o)(i=r[o])&&(yield i)}Oe.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var yt=[null];function bt(e,t){this._groups=e,this._parents=t}function xt(){return new bt([[document.documentElement]],yt)}function _t(){return this}bt.prototype=xt.prototype={constructor:bt,select:k,selectAll:P,selectChild:R,selectChildren:F,filter:j,data:X,enter:H,exit:K,join:Q,merge:J,selection:_t,order:ee,sort:te,call:ie,nodes:re,node:oe,size:ae,empty:se,each:le,attr:ye,style:Ce,property:Ee,classed:ze,text:je,html:Ge,raise:Ue,lower:Xe,append:Je,insert:tt,remove:it,clone:at,datum:st,on:dt,dispatch:mt,[Symbol.iterator]:vt};var wt=xt;function Ct(e){return"string"===typeof e?new bt([[document.querySelector(e)]],[document.documentElement]):new bt([[e]],yt)}const St={capture:!0,passive:!1};function kt(e){e.preventDefault(),e.stopImmediatePropagation()}function Mt(e){var t=e.document.documentElement,n=Ct(e).on("dragstart.drag",kt,St);"onselectstart"in t?n.on("selectstart.drag",kt,St):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function Tt(e,t){var n=e.document.documentElement,i=Ct(e).on("dragstart.drag",null);t&&(i.on("click.drag",kt,St),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Et(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Dt(e,t){var n=Object.create(e.prototype);for(var i in t)n[i]=t[i];return n}function Pt(){}var Ot=.7,It=1/Ot,At="\\s*([+-]?\\d+)\\s*",Lt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Nt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Rt=/^#([0-9a-f]{3,8})$/,zt=new RegExp(`^rgb\\(${At},${At},${At}\\)$`),$t=new RegExp(`^rgb\\(${Nt},${Nt},${Nt}\\)$`),Bt=new RegExp(`^rgba\\(${At},${At},${At},${Lt}\\)$`),Ft=new RegExp(`^rgba\\(${Nt},${Nt},${Nt},${Lt}\\)$`),jt=new RegExp(`^hsl\\(${Lt},${Nt},${Nt}\\)$`),Vt=new RegExp(`^hsla\\(${Lt},${Nt},${Nt},${Lt}\\)$`),Ht={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Wt(){return this.rgb().formatHex()}function Gt(){return this.rgb().formatHex8()}function qt(){return ln(this).formatHsl()}function Ut(){return this.rgb().formatRgb()}function Yt(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Rt.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Xt(t):3===n?new Jt(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Zt(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Zt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=zt.exec(e))?new Jt(t[1],t[2],t[3],1):(t=$t.exec(e))?new Jt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Bt.exec(e))?Zt(t[1],t[2],t[3],t[4]):(t=Ft.exec(e))?Zt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=jt.exec(e))?sn(t[1],t[2]/100,t[3]/100,1):(t=Vt.exec(e))?sn(t[1],t[2]/100,t[3]/100,t[4]):Ht.hasOwnProperty(e)?Xt(Ht[e]):"transparent"===e?new Jt(NaN,NaN,NaN,0):null}function Xt(e){return new Jt(e>>16&255,e>>8&255,255&e,1)}function Zt(e,t,n,i){return i<=0&&(e=t=n=NaN),new Jt(e,t,n,i)}function Kt(e){return e instanceof Pt||(e=Yt(e)),e?(e=e.rgb(),new Jt(e.r,e.g,e.b,e.opacity)):new Jt}function Qt(e,t,n,i){return 1===arguments.length?Kt(e):new Jt(e,t,n,null==i?1:i)}function Jt(e,t,n,i){this.r=+e,this.g=+t,this.b=+n,this.opacity=+i}function en(){return`#${an(this.r)}${an(this.g)}${an(this.b)}`}function tn(){return`#${an(this.r)}${an(this.g)}${an(this.b)}${an(255*(isNaN(this.opacity)?1:this.opacity))}`}function nn(){const e=rn(this.opacity);return`${1===e?"rgb(":"rgba("}${on(this.r)}, ${on(this.g)}, ${on(this.b)}${1===e?")":`, ${e})`}`}function rn(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function on(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function an(e){return e=on(e),(e<16?"0":"")+e.toString(16)}function sn(e,t,n,i){return i<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new cn(e,t,n,i)}function ln(e){if(e instanceof cn)return new cn(e.h,e.s,e.l,e.opacity);if(e instanceof Pt||(e=Yt(e)),!e)return new cn;if(e instanceof cn)return e;e=e.rgb();var t=e.r/255,n=e.g/255,i=e.b/255,r=Math.min(t,n,i),o=Math.max(t,n,i),a=NaN,s=o-r,l=(o+r)/2;return s?(a=t===o?(n-i)/s+6*(n<i):n===o?(i-t)/s+2:(t-n)/s+4,s/=l<.5?o+r:2-o-r,a*=60):s=l>0&&l<1?0:a,new cn(a,s,l,e.opacity)}function un(e,t,n,i){return 1===arguments.length?ln(e):new cn(e,t,n,null==i?1:i)}function cn(e,t,n,i){this.h=+e,this.s=+t,this.l=+n,this.opacity=+i}function hn(e){return e=(e||0)%360,e<0?e+360:e}function dn(e){return Math.max(0,Math.min(1,e||0))}function fn(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function pn(e,t,n,i,r){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*i+a*r)/6}function gn(e){var t=e.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),r=e[i],o=e[i+1],a=i>0?e[i-1]:2*r-o,s=i<t-1?e[i+2]:2*o-r;return pn((n-i/t)*t,a,r,o,s)}}function mn(e){var t=e.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*t),r=e[(i+t-1)%t],o=e[i%t],a=e[(i+1)%t],s=e[(i+2)%t];return pn((n-i/t)*t,r,o,a,s)}}Et(Pt,Yt,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Wt,formatHex:Wt,formatHex8:Gt,formatHsl:qt,formatRgb:Ut,toString:Ut}),Et(Jt,Qt,Dt(Pt,{brighter(e){return e=null==e?It:Math.pow(It,e),new Jt(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Ot:Math.pow(Ot,e),new Jt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Jt(on(this.r),on(this.g),on(this.b),rn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:en,formatHex:en,formatHex8:tn,formatRgb:nn,toString:nn})),Et(cn,un,Dt(Pt,{brighter(e){return e=null==e?It:Math.pow(It,e),new cn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Ot:Math.pow(Ot,e),new cn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*t,r=2*n-i;return new Jt(fn(e>=240?e-240:e+120,r,i),fn(e,r,i),fn(e<120?e+240:e-120,r,i),this.opacity)},clamp(){return new cn(hn(this.h),dn(this.s),dn(this.l),rn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=rn(this.opacity);return`${1===e?"hsl(":"hsla("}${hn(this.h)}, ${100*dn(this.s)}%, ${100*dn(this.l)}%${1===e?")":`, ${e})`}`}}));var vn=e=>()=>e;function yn(e,t){return function(n){return e+n*t}}function bn(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(i){return Math.pow(e+i*t,n)}}function xn(e){return 1===(e=+e)?_n:function(t,n){return n-t?bn(t,n,e):vn(isNaN(t)?n:t)}}function _n(e,t){var n=t-e;return n?yn(e,n):vn(isNaN(e)?t:e)}var wn=function e(t){var n=xn(t);function i(e,t){var i=n((e=Qt(e)).r,(t=Qt(t)).r),r=n(e.g,t.g),o=n(e.b,t.b),a=_n(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=r(t),e.b=o(t),e.opacity=a(t),e+""}}return i.gamma=e,i}(1);function Cn(e){return function(t){var n,i,r=t.length,o=new Array(r),a=new Array(r),s=new Array(r);for(n=0;n<r;++n)i=Qt(t[n]),o[n]=i.r||0,a[n]=i.g||0,s[n]=i.b||0;return o=e(o),a=e(a),s=e(s),i.opacity=1,function(e){return i.r=o(e),i.g=a(e),i.b=s(e),i+""}}}Cn(gn),Cn(mn);function Sn(e,t){var n,i=t?t.length:0,r=e?Math.min(i,e.length):0,o=new Array(r),a=new Array(i);for(n=0;n<r;++n)o[n]=Nn(e[n],t[n]);for(;n<i;++n)a[n]=t[n];return function(e){for(n=0;n<r;++n)a[n]=o[n](e);return a}}function kn(e,t){var n=new Date;return e=+e,t=+t,function(i){return n.setTime(e*(1-i)+t*i),n}}function Mn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Tn(e,t){var n,i={},r={};for(n in null!==e&&"object"===typeof e||(e={}),null!==t&&"object"===typeof t||(t={}),t)n in e?i[n]=Nn(e[n],t[n]):r[n]=t[n];return function(e){for(n in i)r[n]=i[n](e);return r}}var En=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Dn=new RegExp(En.source,"g");function Pn(e){return function(){return e}}function On(e){return function(t){return e(t)+""}}function In(e,t){var n,i,r,o=En.lastIndex=Dn.lastIndex=0,a=-1,s=[],l=[];e+="",t+="";while((n=En.exec(e))&&(i=Dn.exec(t)))(r=i.index)>o&&(r=t.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(n=n[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:Mn(n,i)})),o=Dn.lastIndex;return o<t.length&&(r=t.slice(o),s[a]?s[a]+=r:s[++a]=r),s.length<2?l[0]?On(l[0].x):Pn(t):(t=l.length,function(e){for(var n,i=0;i<t;++i)s[(n=l[i]).i]=n.x(e);return s.join("")})}function An(e,t){t||(t=[]);var n,i=e?Math.min(t.length,e.length):0,r=t.slice();return function(o){for(n=0;n<i;++n)r[n]=e[n]*(1-o)+t[n]*o;return r}}function Ln(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Nn(e,t){var n,i=typeof t;return null==t||"boolean"===i?vn(t):("number"===i?Mn:"string"===i?(n=Yt(t))?(t=n,wn):In:t instanceof Yt?wn:t instanceof Date?kn:Ln(t)?An:Array.isArray(t)?Sn:"function"!==typeof t.valueOf&&"function"!==typeof t.toString||isNaN(t)?Tn:Mn)(e,t)}function Rn(e){let t;while(t=e.sourceEvent)e=t;return e}function zn(e,t){if(e=Rn(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=e.clientX,i.y=e.clientY,i=i.matrixTransform(t.getScreenCTM().inverse()),[i.x,i.y]}if(t.getBoundingClientRect){var r=t.getBoundingClientRect();return[e.clientX-r.left-t.clientLeft,e.clientY-r.top-t.clientTop]}}return[e.pageX,e.pageY]}var $n,Bn,Fn=0,jn=0,Vn=0,Hn=1e3,Wn=0,Gn=0,qn=0,Un="object"===typeof performance&&performance.now?performance:Date,Yn="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Xn(){return Gn||(Yn(Zn),Gn=Un.now()+qn)}function Zn(){Gn=0}function Kn(){this._call=this._time=this._next=null}function Qn(e,t,n){var i=new Kn;return i.restart(e,t,n),i}function Jn(){Xn(),++Fn;var e,t=$n;while(t)(e=Gn-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Fn}function ei(){Gn=(Wn=Un.now())+qn,Fn=jn=0;try{Jn()}finally{Fn=0,ni(),Gn=0}}function ti(){var e=Un.now(),t=e-Wn;t>Hn&&(qn-=t,Wn=e)}function ni(){var e,t,n=$n,i=1/0;while(n)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:$n=t);Bn=e,ii(i)}function ii(e){if(!Fn){jn&&(jn=clearTimeout(jn));var t=e-Gn;t>24?(e<1/0&&(jn=setTimeout(ei,e-Un.now()-qn)),Vn&&(Vn=clearInterval(Vn))):(Vn||(Wn=Un.now(),Vn=setInterval(ti,Hn)),Fn=1,Yn(ei))}}function ri(e,t,n){var i=new Kn;return t=null==t?0:+t,i.restart((n=>{i.stop(),e(n+t)}),t,n),i}Kn.prototype=Qn.prototype={constructor:Kn,restart:function(e,t,n){if("function"!==typeof e)throw new TypeError("callback is not a function");n=(null==n?Xn():+n)+(null==t?0:+t),this._next||Bn===this||(Bn?Bn._next=this:$n=this,Bn=this),this._call=e,this._time=n,ii()},stop:function(){this._call&&(this._call=null,this._time=1/0,ii())}};var oi=w("start","end","cancel","interrupt"),ai=[],si=0,li=1,ui=2,ci=3,hi=4,di=5,fi=6;function pi(e,t,n,i,r,o){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};yi(e,n,{name:t,index:i,group:r,on:oi,tween:ai,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:si})}function gi(e,t){var n=vi(e,t);if(n.state>si)throw new Error("too late; already scheduled");return n}function mi(e,t){var n=vi(e,t);if(n.state>ci)throw new Error("too late; already running");return n}function vi(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function yi(e,t,n){var i,r=e.__transition;function o(e){n.state=li,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}function a(o){var u,c,h,d;if(n.state!==li)return l();for(u in r)if(d=r[u],d.name===n.name){if(d.state===ci)return ri(a);d.state===hi?(d.state=fi,d.timer.stop(),d.on.call("interrupt",e,e.__data__,d.index,d.group),delete r[u]):+u<t&&(d.state=fi,d.timer.stop(),d.on.call("cancel",e,e.__data__,d.index,d.group),delete r[u])}if(ri((function(){n.state===ci&&(n.state=hi,n.timer.restart(s,n.delay,n.time),s(o))})),n.state=ui,n.on.call("start",e,e.__data__,n.index,n.group),n.state===ui){for(n.state=ci,i=new Array(h=n.tween.length),u=0,c=-1;u<h;++u)(d=n.tween[u].value.call(e,e.__data__,n.index,n.group))&&(i[++c]=d);i.length=c+1}}function s(t){var r=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=di,1),o=-1,a=i.length;while(++o<a)i[o].call(e,r);n.state===di&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var i in n.state=fi,n.timer.stop(),delete r[t],r)return;delete e.__transition}r[t]=n,n.timer=Qn(o,0,n.time)}function bi(e,t){var n,i,r,o=e.__transition,a=!0;if(o){for(r in t=null==t?null:t+"",o)(n=o[r]).name===t?(i=n.state>ui&&n.state<di,n.state=fi,n.timer.stop(),n.on.call(i?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[r]):a=!1;a&&delete e.__transition}}function xi(e){return this.each((function(){bi(this,e)}))}var _i,wi=180/Math.PI,Ci={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Si(e,t,n,i,r,o){var a,s,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*i)&&(n-=e*l,i-=t*l),(s=Math.sqrt(n*n+i*i))&&(n/=s,i/=s,l/=s),e*i<t*n&&(e=-e,t=-t,l=-l,a=-a),{translateX:r,translateY:o,rotate:Math.atan2(t,e)*wi,skewX:Math.atan(l)*wi,scaleX:a,scaleY:s}}function ki(e){const t=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Ci:Si(t.a,t.b,t.c,t.d,t.e,t.f)}function Mi(e){return null==e?Ci:(_i||(_i=document.createElementNS("http://www.w3.org/2000/svg","g")),_i.setAttribute("transform",e),(e=_i.transform.baseVal.consolidate())?(e=e.matrix,Si(e.a,e.b,e.c,e.d,e.e,e.f)):Ci)}function Ti(e,t,n,i){function r(e){return e.length?e.pop()+" ":""}function o(e,i,r,o,a,s){if(e!==r||i!==o){var l=a.push("translate(",null,t,null,n);s.push({i:l-4,x:Mn(e,r)},{i:l-2,x:Mn(i,o)})}else(r||o)&&a.push("translate("+r+t+o+n)}function a(e,t,n,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(r(n)+"rotate(",null,i)-2,x:Mn(e,t)})):t&&n.push(r(n)+"rotate("+t+i)}function s(e,t,n,o){e!==t?o.push({i:n.push(r(n)+"skewX(",null,i)-2,x:Mn(e,t)}):t&&n.push(r(n)+"skewX("+t+i)}function l(e,t,n,i,o,a){if(e!==n||t!==i){var s=o.push(r(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Mn(e,n)},{i:s-2,x:Mn(t,i)})}else 1===n&&1===i||o.push(r(o)+"scale("+n+","+i+")")}return function(t,n){var i=[],r=[];return t=e(t),n=e(n),o(t.translateX,t.translateY,n.translateX,n.translateY,i,r),a(t.rotate,n.rotate,i,r),s(t.skewX,n.skewX,i,r),l(t.scaleX,t.scaleY,n.scaleX,n.scaleY,i,r),t=n=null,function(e){var t,n=-1,o=r.length;while(++n<o)i[(t=r[n]).i]=t.x(e);return i.join("")}}}var Ei=Ti(ki,"px, ","px)","deg)"),Di=Ti(Mi,", ",")",")");function Pi(e,t){var n,i;return function(){var r=mi(this,e),o=r.tween;if(o!==n){i=n=o;for(var a=0,s=i.length;a<s;++a)if(i[a].name===t){i=i.slice(),i.splice(a,1);break}}r.tween=i}}function Oi(e,t,n){var i,r;if("function"!==typeof n)throw new Error;return function(){var o=mi(this,e),a=o.tween;if(a!==i){r=(i=a).slice();for(var s={name:t,value:n},l=0,u=r.length;l<u;++l)if(r[l].name===t){r[l]=s;break}l===u&&r.push(s)}o.tween=r}}function Ii(e,t){var n=this._id;if(e+="",arguments.length<2){for(var i,r=vi(this.node(),n).tween,o=0,a=r.length;o<a;++o)if((i=r[o]).name===e)return i.value;return null}return this.each((null==t?Pi:Oi)(n,e,t))}function Ai(e,t,n){var i=e._id;return e.each((function(){var e=mi(this,i);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return vi(e,i).value[t]}}function Li(e,t){var n;return("number"===typeof t?Mn:t instanceof Yt?wn:(n=Yt(t))?(t=n,wn):In)(e,t)}function Ni(e){return function(){this.removeAttribute(e)}}function Ri(e){return function(){this.removeAttributeNS(e.space,e.local)}}function zi(e,t,n){var i,r,o=n+"";return function(){var a=this.getAttribute(e);return a===o?null:a===i?r:r=t(i=a,n)}}function $i(e,t,n){var i,r,o=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===o?null:a===i?r:r=t(i=a,n)}}function Bi(e,t,n){var i,r,o;return function(){var a,s,l=n(this);if(null!=l)return a=this.getAttribute(e),s=l+"",a===s?null:a===i&&s===r?o:(r=s,o=t(i=a,l));this.removeAttribute(e)}}function Fi(e,t,n){var i,r,o;return function(){var a,s,l=n(this);if(null!=l)return a=this.getAttributeNS(e.space,e.local),s=l+"",a===s?null:a===i&&s===r?o:(r=s,o=t(i=a,l));this.removeAttributeNS(e.space,e.local)}}function ji(e,t){var n=he(e),i="transform"===n?Di:Li;return this.attrTween(e,"function"===typeof t?(n.local?Fi:Bi)(n,i,Ai(this,"attr."+e,t)):null==t?(n.local?Ri:Ni)(n):(n.local?$i:zi)(n,i,t))}function Vi(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function Hi(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function Wi(e,t){var n,i;function r(){var r=t.apply(this,arguments);return r!==i&&(n=(i=r)&&Hi(e,r)),n}return r._value=t,r}function Gi(e,t){var n,i;function r(){var r=t.apply(this,arguments);return r!==i&&(n=(i=r)&&Vi(e,r)),n}return r._value=t,r}function qi(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!==typeof t)throw new Error;var i=he(e);return this.tween(n,(i.local?Wi:Gi)(i,t))}function Ui(e,t){return function(){gi(this,e).delay=+t.apply(this,arguments)}}function Yi(e,t){return t=+t,function(){gi(this,e).delay=t}}function Xi(e){var t=this._id;return arguments.length?this.each(("function"===typeof e?Ui:Yi)(t,e)):vi(this.node(),t).delay}function Zi(e,t){return function(){mi(this,e).duration=+t.apply(this,arguments)}}function Ki(e,t){return t=+t,function(){mi(this,e).duration=t}}function Qi(e){var t=this._id;return arguments.length?this.each(("function"===typeof e?Zi:Ki)(t,e)):vi(this.node(),t).duration}function Ji(e,t){if("function"!==typeof t)throw new Error;return function(){mi(this,e).ease=t}}function er(e){var t=this._id;return arguments.length?this.each(Ji(t,e)):vi(this.node(),t).ease}function tr(e,t){return function(){var n=t.apply(this,arguments);if("function"!==typeof n)throw new Error;mi(this,e).ease=n}}function nr(e){if("function"!==typeof e)throw new Error;return this.each(tr(this._id,e))}function ir(e){"function"!==typeof e&&(e=O(e));for(var t=this._groups,n=t.length,i=new Array(n),r=0;r<n;++r)for(var o,a=t[r],s=a.length,l=i[r]=[],u=0;u<s;++u)(o=a[u])&&e.call(o,o.__data__,u,a)&&l.push(o);return new Ir(i,this._parents,this._name,this._id)}function rr(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,i=t.length,r=n.length,o=Math.min(i,r),a=new Array(i),s=0;s<o;++s)for(var l,u=t[s],c=n[s],h=u.length,d=a[s]=new Array(h),f=0;f<h;++f)(l=u[f]||c[f])&&(d[f]=l);for(;s<i;++s)a[s]=t[s];return new Ir(a,this._parents,this._name,this._id)}function or(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}function ar(e,t,n){var i,r,o=or(t)?gi:mi;return function(){var a=o(this,e),s=a.on;s!==i&&(r=(i=s).copy()).on(t,n),a.on=r}}function sr(e,t){var n=this._id;return arguments.length<2?vi(this.node(),n).on.on(e):this.each(ar(n,e,t))}function lr(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function ur(){return this.on("end.remove",lr(this._id))}function cr(e){var t=this._name,n=this._id;"function"!==typeof e&&(e=S(e));for(var i=this._groups,r=i.length,o=new Array(r),a=0;a<r;++a)for(var s,l,u=i[a],c=u.length,h=o[a]=new Array(c),d=0;d<c;++d)(s=u[d])&&(l=e.call(s,s.__data__,d,u))&&("__data__"in s&&(l.__data__=s.__data__),h[d]=l,pi(h[d],t,n,d,h,vi(s,n)));return new Ir(o,this._parents,t,n)}function hr(e){var t=this._name,n=this._id;"function"!==typeof e&&(e=E(e));for(var i=this._groups,r=i.length,o=[],a=[],s=0;s<r;++s)for(var l,u=i[s],c=u.length,h=0;h<c;++h)if(l=u[h]){for(var d,f=e.call(l,l.__data__,h,u),p=vi(l,n),g=0,m=f.length;g<m;++g)(d=f[g])&&pi(d,t,n,g,f,p);o.push(f),a.push(l)}return new Ir(o,a,t,n)}var dr=wt.prototype.constructor;function fr(){return new dr(this._groups,this._parents)}function pr(e,t){var n,i,r;return function(){var o=Se(this,e),a=(this.style.removeProperty(e),Se(this,e));return o===a?null:o===n&&a===i?r:r=t(n=o,i=a)}}function gr(e){return function(){this.style.removeProperty(e)}}function mr(e,t,n){var i,r,o=n+"";return function(){var a=Se(this,e);return a===o?null:a===i?r:r=t(i=a,n)}}function vr(e,t,n){var i,r,o;return function(){var a=Se(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=Se(this,e)),a===l?null:a===i&&l===r?o:(r=l,o=t(i=a,s))}}function yr(e,t){var n,i,r,o,a="style."+t,s="end."+a;return function(){var l=mi(this,e),u=l.on,c=null==l.value[a]?o||(o=gr(t)):void 0;u===n&&r===c||(i=(n=u).copy()).on(s,r=c),l.on=i}}function br(e,t,n){var i="transform"===(e+="")?Ei:Li;return null==t?this.styleTween(e,pr(e,i)).on("end.style."+e,gr(e)):"function"===typeof t?this.styleTween(e,vr(e,i,Ai(this,"style."+e,t))).each(yr(this._id,e)):this.styleTween(e,mr(e,i,t),n).on("end.style."+e,null)}function xr(e,t,n){return function(i){this.style.setProperty(e,t.call(this,i),n)}}function _r(e,t,n){var i,r;function o(){var o=t.apply(this,arguments);return o!==r&&(i=(r=o)&&xr(e,o,n)),i}return o._value=t,o}function wr(e,t,n){var i="style."+(e+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==t)return this.tween(i,null);if("function"!==typeof t)throw new Error;return this.tween(i,_r(e,t,null==n?"":n))}function Cr(e){return function(){this.textContent=e}}function Sr(e){return function(){var t=e(this);this.textContent=null==t?"":t}}function kr(e){return this.tween("text","function"===typeof e?Sr(Ai(this,"text",e)):Cr(null==e?"":e+""))}function Mr(e){return function(t){this.textContent=e.call(this,t)}}function Tr(e){var t,n;function i(){var i=e.apply(this,arguments);return i!==n&&(t=(n=i)&&Mr(i)),t}return i._value=e,i}function Er(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!==typeof e)throw new Error;return this.tween(t,Tr(e))}function Dr(){for(var e=this._name,t=this._id,n=Lr(),i=this._groups,r=i.length,o=0;o<r;++o)for(var a,s=i[o],l=s.length,u=0;u<l;++u)if(a=s[u]){var c=vi(a,t);pi(a,e,n,u,s,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new Ir(i,this._parents,e,n)}function Pr(){var e,t,n=this,i=n._id,r=n.size();return new Promise((function(o,a){var s={value:a},l={value:function(){0===--r&&o()}};n.each((function(){var n=mi(this,i),r=n.on;r!==e&&(t=(e=r).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t})),0===r&&o()}))}var Or=0;function Ir(e,t,n,i){this._groups=e,this._parents=t,this._name=n,this._id=i}function Ar(e){return wt().transition(e)}function Lr(){return++Or}var Nr=wt.prototype;function Rr(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}Ir.prototype=Ar.prototype={constructor:Ir,select:cr,selectAll:hr,selectChild:Nr.selectChild,selectChildren:Nr.selectChildren,filter:ir,merge:rr,selection:fr,transition:Dr,call:Nr.call,nodes:Nr.nodes,node:Nr.node,size:Nr.size,empty:Nr.empty,each:Nr.each,on:sr,attr:ji,attrTween:qi,style:br,styleTween:wr,text:kr,textTween:Er,remove:ur,tween:Ii,delay:Xi,duration:Qi,ease:er,easeVarying:nr,end:Pr,[Symbol.iterator]:Nr[Symbol.iterator]};var zr={time:null,delay:0,duration:250,ease:Rr};function $r(e,t){var n;while(!(n=e.__transition)||!(n=n[t]))if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function Br(e){var t,n;e instanceof Ir?(t=e._id,e=e._name):(t=Lr(),(n=zr).time=Xn(),e=null==e?null:e+"");for(var i=this._groups,r=i.length,o=0;o<r;++o)for(var a,s=i[o],l=s.length,u=0;u<l;++u)(a=s[u])&&pi(a,e,t,u,s,n||$r(a,t));return new Ir(i,this._parents,e,t)}wt.prototype.interrupt=xi,wt.prototype.transition=Br;var Fr=e=>()=>e;function jr(e,{sourceEvent:t,target:n,selection:i,mode:r,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:i,enumerable:!0,configurable:!0},mode:{value:r,enumerable:!0,configurable:!0},_:{value:o}})}function Vr(e){e.stopImmediatePropagation()}function Hr(e){e.preventDefault(),e.stopImmediatePropagation()}var Wr={name:"drag"},Gr={name:"space"},qr={name:"handle"},Ur={name:"center"};const{abs:Yr,max:Xr,min:Zr}=Math;function Kr(e){return[+e[0],+e[1]]}function Qr(e){return[Kr(e[0]),Kr(e[1])]}var Jr={name:"x",handles:["w","e"].map(ao),input:function(e,t){return null==e?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},eo={name:"y",handles:["n","s"].map(ao),input:function(e,t){return null==e?null:[[t[0][0],+e[0]],[t[1][0],+e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}},to=(["n","w","e","s","nw","ne","sw","se"].map(ao),{overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"}),no={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},io={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},ro={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},oo={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function ao(e){return{type:e}}function so(e){return!e.ctrlKey&&!e.button}function lo(){var e=this.ownerSVGElement||this;return e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]}function uo(){return navigator.maxTouchPoints||"ontouchstart"in this}function co(e){while(!e.__brush)if(!(e=e.parentNode))return;return e.__brush}function ho(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}function fo(e){var t=e.__brush;return t?t.dim.output(t.selection):null}function po(){return go(Jr)}function go(e){var t,n=lo,i=so,r=uo,o=!0,a=w("start","brush","end"),s=6;function l(t){var n=t.property("__brush",g).selectAll(".overlay").data([ao("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",to.overlay).merge(n).each((function(){var e=co(this).extent;Ct(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])})),t.selectAll(".selection").data([ao("selection")]).enter().append("rect").attr("class","selection").attr("cursor",to.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var i=t.selectAll(".handle").data(e.handles,(function(e){return e.type}));i.exit().remove(),i.enter().append("rect").attr("class",(function(e){return"handle handle--"+e.type})).attr("cursor",(function(e){return to[e.type]})),t.each(u).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",d).filter(r).on("touchstart.brush",d).on("touchmove.brush",f).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function u(){var e=Ct(this),t=co(this).selection;t?(e.selectAll(".selection").style("display",null).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1]),e.selectAll(".handle").style("display",null).attr("x",(function(e){return"e"===e.type[e.type.length-1]?t[1][0]-s/2:t[0][0]-s/2})).attr("y",(function(e){return"s"===e.type[0]?t[1][1]-s/2:t[0][1]-s/2})).attr("width",(function(e){return"n"===e.type||"s"===e.type?t[1][0]-t[0][0]+s:s})).attr("height",(function(e){return"e"===e.type||"w"===e.type?t[1][1]-t[0][1]+s:s}))):e.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function c(e,t,n){var i=e.__brush.emitter;return!i||n&&i.clean?new h(e,t,n):i}function h(e,t,n){this.that=e,this.args=t,this.state=e.__brush,this.active=0,this.clean=n}function d(n){if((!t||n.touches)&&i.apply(this,arguments)){var r,a,s,l,h,d,f,p,g,m,v,y=this,b=n.target.__data__.type,x="selection"===(o&&n.metaKey?b="overlay":b)?Wr:o&&n.altKey?Ur:qr,_=e===eo?null:ro[b],w=e===Jr?null:oo[b],C=co(y),S=C.extent,k=C.selection,M=S[0][0],T=S[0][1],E=S[1][0],D=S[1][1],P=0,O=0,I=_&&w&&o&&n.shiftKey,A=Array.from(n.touches||[n],(e=>{const t=e.identifier;return e=zn(e,y),e.point0=e.slice(),e.identifier=t,e}));bi(y);var L=c(y,arguments,!0).beforestart();if("overlay"===b){k&&(g=!0);const t=[A[0],A[1]||A[0]];C.selection=k=[[r=e===eo?M:Zr(t[0][0],t[1][0]),s=e===Jr?T:Zr(t[0][1],t[1][1])],[h=e===eo?E:Xr(t[0][0],t[1][0]),f=e===Jr?D:Xr(t[0][1],t[1][1])]],A.length>1&&B(n)}else r=k[0][0],s=k[0][1],h=k[1][0],f=k[1][1];a=r,l=s,d=h,p=f;var N=Ct(y).attr("pointer-events","none"),R=N.selectAll(".overlay").attr("cursor",to[b]);if(n.touches)L.moved=$,L.ended=F;else{var z=Ct(n.view).on("mousemove.brush",$,!0).on("mouseup.brush",F,!0);o&&z.on("keydown.brush",j,!0).on("keyup.brush",V,!0),Mt(n.view)}u.call(y),L.start(n,x.name)}function $(e){for(const t of e.changedTouches||[e])for(const e of A)e.identifier===t.identifier&&(e.cur=zn(t,y));if(I&&!m&&!v&&1===A.length){const e=A[0];Yr(e.cur[0]-e[0])>Yr(e.cur[1]-e[1])?v=!0:m=!0}for(const t of A)t.cur&&(t[0]=t.cur[0],t[1]=t.cur[1]);g=!0,Hr(e),B(e)}function B(e){const t=A[0],n=t.point0;var i;switch(P=t[0]-n[0],O=t[1]-n[1],x){case Gr:case Wr:_&&(P=Xr(M-r,Zr(E-h,P)),a=r+P,d=h+P),w&&(O=Xr(T-s,Zr(D-f,O)),l=s+O,p=f+O);break;case qr:A[1]?(_&&(a=Xr(M,Zr(E,A[0][0])),d=Xr(M,Zr(E,A[1][0])),_=1),w&&(l=Xr(T,Zr(D,A[0][1])),p=Xr(T,Zr(D,A[1][1])),w=1)):(_<0?(P=Xr(M-r,Zr(E-r,P)),a=r+P,d=h):_>0&&(P=Xr(M-h,Zr(E-h,P)),a=r,d=h+P),w<0?(O=Xr(T-s,Zr(D-s,O)),l=s+O,p=f):w>0&&(O=Xr(T-f,Zr(D-f,O)),l=s,p=f+O));break;case Ur:_&&(a=Xr(M,Zr(E,r-P*_)),d=Xr(M,Zr(E,h+P*_))),w&&(l=Xr(T,Zr(D,s-O*w)),p=Xr(T,Zr(D,f+O*w)));break}d<a&&(_*=-1,i=r,r=h,h=i,i=a,a=d,d=i,b in no&&R.attr("cursor",to[b=no[b]])),p<l&&(w*=-1,i=s,s=f,f=i,i=l,l=p,p=i,b in io&&R.attr("cursor",to[b=io[b]])),C.selection&&(k=C.selection),m&&(a=k[0][0],d=k[1][0]),v&&(l=k[0][1],p=k[1][1]),k[0][0]===a&&k[0][1]===l&&k[1][0]===d&&k[1][1]===p||(C.selection=[[a,l],[d,p]],u.call(y),L.brush(e,x.name))}function F(e){if(Vr(e),e.touches){if(e.touches.length)return;t&&clearTimeout(t),t=setTimeout((function(){t=null}),500)}else Tt(e.view,g),z.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);N.attr("pointer-events","all"),R.attr("cursor",to.overlay),C.selection&&(k=C.selection),ho(k)&&(C.selection=null,u.call(y)),L.end(e,x.name)}function j(e){switch(e.keyCode){case 16:I=_&&w;break;case 18:x===qr&&(_&&(h=d-P*_,r=a+P*_),w&&(f=p-O*w,s=l+O*w),x=Ur,B(e));break;case 32:x!==qr&&x!==Ur||(_<0?h=d-P:_>0&&(r=a-P),w<0?f=p-O:w>0&&(s=l-O),x=Gr,R.attr("cursor",to.selection),B(e));break;default:return}Hr(e)}function V(e){switch(e.keyCode){case 16:I&&(m=v=I=!1,B(e));break;case 18:x===Ur&&(_<0?h=d:_>0&&(r=a),w<0?f=p:w>0&&(s=l),x=qr,B(e));break;case 32:x===Gr&&(e.altKey?(_&&(h=d-P*_,r=a+P*_),w&&(f=p-O*w,s=l+O*w),x=Ur):(_<0?h=d:_>0&&(r=a),w<0?f=p:w>0&&(s=l),x=qr),R.attr("cursor",to[b]),B(e));break;default:return}Hr(e)}}function f(e){c(this,arguments).moved(e)}function p(e){c(this,arguments).ended(e)}function g(){var t=this.__brush||{selection:null};return t.extent=Qr(n.apply(this,arguments)),t.dim=e,t}return l.move=function(t,n,i){t.tween?t.on("start.brush",(function(e){c(this,arguments).beforestart().start(e)})).on("interrupt.brush end.brush",(function(e){c(this,arguments).end(e)})).tween("brush",(function(){var t=this,i=t.__brush,r=c(t,arguments),o=i.selection,a=e.input("function"===typeof n?n.apply(this,arguments):n,i.extent),s=Nn(o,a);function l(e){i.selection=1===e&&null===a?null:s(e),u.call(t),r.brush()}return null!==o&&null!==a?l:l(1)})):t.each((function(){var t=this,r=arguments,o=t.__brush,a=e.input("function"===typeof n?n.apply(t,r):n,o.extent),s=c(t,r).beforestart();bi(t),o.selection=null===a?null:a,u.call(t),s.start(i).brush(i).end(i)}))},l.clear=function(e,t){l.move(e,null,t)},h.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(e,t){return this.starting?(this.starting=!1,this.emit("start",e,t)):this.emit("brush",e),this},brush:function(e,t){return this.emit("brush",e,t),this},end:function(e,t){return 0===--this.active&&(delete this.state.emitter,this.emit("end",e,t)),this},emit:function(t,n,i){var r=Ct(this.that).datum();a.call(t,this.that,new jr(t,{sourceEvent:n,target:l,selection:e.output(this.state.selection),mode:i,dispatch:a}),r)}},l.extent=function(e){return arguments.length?(n="function"===typeof e?e:Fr(Qr(e)),l):n},l.filter=function(e){return arguments.length?(i="function"===typeof e?e:Fr(!!e),l):i},l.touchable=function(e){return arguments.length?(r="function"===typeof e?e:Fr(!!e),l):r},l.handleSize=function(e){return arguments.length?(s=+e,l):s},l.keyModifiers=function(e){return arguments.length?(o=!!e,l):o},l.on=function(){var e=a.on.apply(a,arguments);return e===a?l:e},l}function mo(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function vo(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function yo(e){let t,n,i;function r(e,i,r=0,o=e.length){if(r<o){if(0!==t(i,i))return o;do{const t=r+o>>>1;n(e[t],i)<0?r=t+1:o=t}while(r<o)}return r}function o(e,i,r=0,o=e.length){if(r<o){if(0!==t(i,i))return o;do{const t=r+o>>>1;n(e[t],i)<=0?r=t+1:o=t}while(r<o)}return r}function a(e,t,n=0,o=e.length){const a=r(e,t,n,o-1);return a>n&&i(e[a-1],t)>-i(e[a],t)?a-1:a}return 2!==e.length?(t=mo,n=(t,n)=>mo(e(t),n),i=(t,n)=>e(t)-n):(t=e===mo||e===vo?e:bo,n=e,i=e),{left:r,center:a,right:o}}function bo(){return 0}const xo=Math.sqrt(50),_o=Math.sqrt(10),wo=Math.sqrt(2);function Co(e,t,n){const i=(t-e)/Math.max(0,n),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),a=o>=xo?10:o>=_o?5:o>=wo?2:1;let s,l,u;return r<0?(u=Math.pow(10,-r)/a,s=Math.round(e*u),l=Math.round(t*u),s/u<e&&++s,l/u>t&&--l,u=-u):(u=Math.pow(10,r)*a,s=Math.round(e/u),l=Math.round(t/u),s*u<e&&++s,l*u>t&&--l),l<s&&.5<=n&&n<2?Co(e,t,2*n):[s,l,u]}function So(e,t,n){return t=+t,e=+e,n=+n,Co(e,t,n)[2]}function ko(e,t,n){t=+t,e=+e,n=+n;const i=t<e,r=i?So(t,e,n):So(e,t,n);return(i?-1:1)*(r<0?1/-r:r)}const Mo=1e3,To=60*Mo,Eo=60*To,Do=24*Eo,Po=7*Do,Oo=30*Do,Io=365*Do,Ao=new Date,Lo=new Date;function No(e,t,n,i){function r(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return r.floor=t=>(e(t=new Date(+t)),t),r.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),r.round=e=>{const t=r(e),n=r.ceil(e);return e-t<n-e?t:n},r.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),r.range=(n,i,o)=>{const a=[];if(n=r.ceil(n),o=null==o?1:Math.floor(o),!(n<i)||!(o>0))return a;let s;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<i);return a},r.filter=n=>No((t=>{if(t>=t)while(e(t),!n(t))t.setTime(t-1)}),((e,i)=>{if(e>=e)if(i<0)while(++i<=0)while(t(e,-1),!n(e));else while(--i>=0)while(t(e,1),!n(e));})),n&&(r.count=(t,i)=>(Ao.setTime(+t),Lo.setTime(+i),e(Ao),e(Lo),Math.floor(n(Ao,Lo))),r.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?r.filter(i?t=>i(t)%e===0:t=>r.count(0,t)%e===0):r:null)),r}const Ro=No((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));Ro.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?No((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):Ro:null);Ro.range;const zo=No((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*Mo)}),((e,t)=>(t-e)/Mo),(e=>e.getUTCSeconds())),$o=(zo.range,No((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Mo)}),((e,t)=>{e.setTime(+e+t*To)}),((e,t)=>(t-e)/To),(e=>e.getMinutes()))),Bo=($o.range,No((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*To)}),((e,t)=>(t-e)/To),(e=>e.getUTCMinutes()))),Fo=(Bo.range,No((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Mo-e.getMinutes()*To)}),((e,t)=>{e.setTime(+e+t*Eo)}),((e,t)=>(t-e)/Eo),(e=>e.getHours()))),jo=(Fo.range,No((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*Eo)}),((e,t)=>(t-e)/Eo),(e=>e.getUTCHours()))),Vo=(jo.range,No((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*To)/Do),(e=>e.getDate()-1))),Ho=(Vo.range,No((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/Do),(e=>e.getUTCDate()-1))),Wo=(Ho.range,No((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/Do),(e=>Math.floor(e/Do))));Wo.range;function Go(e){return No((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*To)/Po))}const qo=Go(0),Uo=Go(1),Yo=Go(2),Xo=Go(3),Zo=Go(4),Ko=Go(5),Qo=Go(6);qo.range,Uo.range,Yo.range,Xo.range,Zo.range,Ko.range,Qo.range;function Jo(e){return No((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/Po))}const ea=Jo(0),ta=Jo(1),na=Jo(2),ia=Jo(3),ra=Jo(4),oa=Jo(5),aa=Jo(6),sa=(ea.range,ta.range,na.range,ia.range,ra.range,oa.range,aa.range,No((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()))),la=(sa.range,No((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()))),ua=(la.range,No((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear())));ua.every=e=>isFinite(e=Math.floor(e))&&e>0?No((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null;ua.range;const ca=No((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));ca.every=e=>isFinite(e=Math.floor(e))&&e>0?No((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null;ca.range;function ha(e,t,n,i,r,o){const a=[[zo,1,Mo],[zo,5,5*Mo],[zo,15,15*Mo],[zo,30,30*Mo],[o,1,To],[o,5,5*To],[o,15,15*To],[o,30,30*To],[r,1,Eo],[r,3,3*Eo],[r,6,6*Eo],[r,12,12*Eo],[i,1,Do],[i,2,2*Do],[n,1,Po],[t,1,Oo],[t,3,3*Oo],[e,1,Io]];function s(e,t,n){const i=t<e;i&&([e,t]=[t,e]);const r=n&&"function"===typeof n.range?n:l(e,t,n),o=r?r.range(e,+t+1):[];return i?o.reverse():o}function l(t,n,i){const r=Math.abs(n-t)/i,o=yo((([,,e])=>e)).right(a,r);if(o===a.length)return e.every(ko(t/Io,n/Io,i));if(0===o)return Ro.every(Math.max(ko(t,n,i),1));const[s,l]=a[r/a[o-1][2]<a[o][2]/r?o-1:o];return s.every(l)}return[s,l]}const[da,fa]=ha(ca,la,ea,Wo,jo,Bo),[pa,ga]=ha(ua,sa,qo,Vo,Fo,$o);function ma(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function va(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function ya(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function ba(e){var t=e.dateTime,n=e.date,i=e.time,r=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,u=Ea(r),c=Da(r),h=Ea(o),d=Da(o),f=Ea(a),p=Da(a),g=Ea(s),m=Da(s),v=Ea(l),y=Da(l),b={a:A,A:L,b:N,B:R,c:null,d:Za,e:Za,f:ts,g:ds,G:ps,H:Ka,I:Qa,j:Ja,L:es,m:ns,M:is,p:z,q:$,Q:zs,s:$s,S:rs,u:os,U:as,V:ls,w:us,W:cs,x:null,X:null,y:hs,Y:fs,Z:gs,"%":Rs},x={a:B,A:F,b:j,B:V,c:null,d:ms,e:ms,f:_s,g:Is,G:Ls,H:vs,I:ys,j:bs,L:xs,m:ws,M:Cs,p:H,q:W,Q:zs,s:$s,S:Ss,u:ks,U:Ms,V:Es,w:Ds,W:Ps,x:null,X:null,y:Os,Y:As,Z:Ns,"%":Rs},_={a:M,A:T,b:E,B:D,c:P,d:Fa,e:Fa,f:qa,g:Ra,G:Na,H:Va,I:Va,j:ja,L:Ga,m:Ba,M:Ha,p:k,q:$a,Q:Ya,s:Xa,S:Wa,u:Oa,U:Ia,V:Aa,w:Pa,W:La,x:O,X:I,y:Ra,Y:Na,Z:za,"%":Ua};function w(e,t){return function(n){var i,r,o,a=[],s=-1,l=0,u=e.length;n instanceof Date||(n=new Date(+n));while(++s<u)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(r=wa[i=e.charAt(++s)])?i=e.charAt(++s):r="e"===i?" ":"0",(o=t[i])&&(i=o(n,r)),a.push(i),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function C(e,t){return function(n){var i,r,o=ya(1900,void 0,1),a=S(o,e,n+="",0);if(a!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=va(ya(o.y,0,1)),r=i.getUTCDay(),i=r>4||0===r?ta.ceil(i):ta(i),i=Ho.offset(i,7*(o.V-1)),o.y=i.getUTCFullYear(),o.m=i.getUTCMonth(),o.d=i.getUTCDate()+(o.w+6)%7):(i=ma(ya(o.y,0,1)),r=i.getDay(),i=r>4||0===r?Uo.ceil(i):Uo(i),i=Vo.offset(i,7*(o.V-1)),o.y=i.getFullYear(),o.m=i.getMonth(),o.d=i.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),r="Z"in o?va(ya(o.y,0,1)).getUTCDay():ma(ya(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(r+5)%7:o.w+7*o.U-(r+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,va(o)):ma(o)}}function S(e,t,n,i){var r,o,a=0,s=t.length,l=n.length;while(a<s){if(i>=l)return-1;if(r=t.charCodeAt(a++),37===r){if(r=t.charAt(a++),o=_[r in wa?t.charAt(a++):r],!o||(i=o(e,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}function k(e,t,n){var i=u.exec(t.slice(n));return i?(e.p=c.get(i[0].toLowerCase()),n+i[0].length):-1}function M(e,t,n){var i=f.exec(t.slice(n));return i?(e.w=p.get(i[0].toLowerCase()),n+i[0].length):-1}function T(e,t,n){var i=h.exec(t.slice(n));return i?(e.w=d.get(i[0].toLowerCase()),n+i[0].length):-1}function E(e,t,n){var i=v.exec(t.slice(n));return i?(e.m=y.get(i[0].toLowerCase()),n+i[0].length):-1}function D(e,t,n){var i=g.exec(t.slice(n));return i?(e.m=m.get(i[0].toLowerCase()),n+i[0].length):-1}function P(e,n,i){return S(e,t,n,i)}function O(e,t,i){return S(e,n,t,i)}function I(e,t,n){return S(e,i,t,n)}function A(e){return a[e.getDay()]}function L(e){return o[e.getDay()]}function N(e){return l[e.getMonth()]}function R(e){return s[e.getMonth()]}function z(e){return r[+(e.getHours()>=12)]}function $(e){return 1+~~(e.getMonth()/3)}function B(e){return a[e.getUTCDay()]}function F(e){return o[e.getUTCDay()]}function j(e){return l[e.getUTCMonth()]}function V(e){return s[e.getUTCMonth()]}function H(e){return r[+(e.getUTCHours()>=12)]}function W(e){return 1+~~(e.getUTCMonth()/3)}return b.x=w(n,b),b.X=w(i,b),b.c=w(t,b),x.x=w(n,x),x.X=w(i,x),x.c=w(t,x),{format:function(e){var t=w(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=C(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+="",!0);return t.toString=function(){return e},t}}}var xa,_a,wa={"-":"",_:" ",0:"0"},Ca=/^\s*\d+/,Sa=/^%/,ka=/[\\^$*+?|[\]().{}]/g;function Ma(e,t,n){var i=e<0?"-":"",r=(i?-e:e)+"",o=r.length;return i+(o<n?new Array(n-o+1).join(t)+r:r)}function Ta(e){return e.replace(ka,"\\$&")}function Ea(e){return new RegExp("^(?:"+e.map(Ta).join("|")+")","i")}function Da(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Pa(e,t,n){var i=Ca.exec(t.slice(n,n+1));return i?(e.w=+i[0],n+i[0].length):-1}function Oa(e,t,n){var i=Ca.exec(t.slice(n,n+1));return i?(e.u=+i[0],n+i[0].length):-1}function Ia(e,t,n){var i=Ca.exec(t.slice(n,n+2));return i?(e.U=+i[0],n+i[0].length):-1}function Aa(e,t,n){var i=Ca.exec(t.slice(n,n+2));return i?(e.V=+i[0],n+i[0].length):-1}function La(e,t,n){var i=Ca.exec(t.slice(n,n+2));return i?(e.W=+i[0],n+i[0].length):-1}function Na(e,t,n){var i=Ca.exec(t.slice(n,n+4));return i?(e.y=+i[0],n+i[0].length):-1}function Ra(e,t,n){var i=Ca.exec(t.slice(n,n+2));return i?(e.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function za(e,t,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function $a(e,t,n){var i=Ca.exec(t.slice(n,n+1));return i?(e.q=3*i[0]-3,n+i[0].length):-1}function Ba(e,t,n){var i=Ca.exec(t.slice(n,n+2));return i?(e.m=i[0]-1,n+i[0].length):-1}function Fa(e,t,n){var i=Ca.exec(t.slice(n,n+2));return i?(e.d=+i[0],n+i[0].length):-1}function ja(e,t,n){var i=Ca.exec(t.slice(n,n+3));return i?(e.m=0,e.d=+i[0],n+i[0].length):-1}function Va(e,t,n){var i=Ca.exec(t.slice(n,n+2));return i?(e.H=+i[0],n+i[0].length):-1}function Ha(e,t,n){var i=Ca.exec(t.slice(n,n+2));return i?(e.M=+i[0],n+i[0].length):-1}function Wa(e,t,n){var i=Ca.exec(t.slice(n,n+2));return i?(e.S=+i[0],n+i[0].length):-1}function Ga(e,t,n){var i=Ca.exec(t.slice(n,n+3));return i?(e.L=+i[0],n+i[0].length):-1}function qa(e,t,n){var i=Ca.exec(t.slice(n,n+6));return i?(e.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function Ua(e,t,n){var i=Sa.exec(t.slice(n,n+1));return i?n+i[0].length:-1}function Ya(e,t,n){var i=Ca.exec(t.slice(n));return i?(e.Q=+i[0],n+i[0].length):-1}function Xa(e,t,n){var i=Ca.exec(t.slice(n));return i?(e.s=+i[0],n+i[0].length):-1}function Za(e,t){return Ma(e.getDate(),t,2)}function Ka(e,t){return Ma(e.getHours(),t,2)}function Qa(e,t){return Ma(e.getHours()%12||12,t,2)}function Ja(e,t){return Ma(1+Vo.count(ua(e),e),t,3)}function es(e,t){return Ma(e.getMilliseconds(),t,3)}function ts(e,t){return es(e,t)+"000"}function ns(e,t){return Ma(e.getMonth()+1,t,2)}function is(e,t){return Ma(e.getMinutes(),t,2)}function rs(e,t){return Ma(e.getSeconds(),t,2)}function os(e){var t=e.getDay();return 0===t?7:t}function as(e,t){return Ma(qo.count(ua(e)-1,e),t,2)}function ss(e){var t=e.getDay();return t>=4||0===t?Zo(e):Zo.ceil(e)}function ls(e,t){return e=ss(e),Ma(Zo.count(ua(e),e)+(4===ua(e).getDay()),t,2)}function us(e){return e.getDay()}function cs(e,t){return Ma(Uo.count(ua(e)-1,e),t,2)}function hs(e,t){return Ma(e.getFullYear()%100,t,2)}function ds(e,t){return e=ss(e),Ma(e.getFullYear()%100,t,2)}function fs(e,t){return Ma(e.getFullYear()%1e4,t,4)}function ps(e,t){var n=e.getDay();return e=n>=4||0===n?Zo(e):Zo.ceil(e),Ma(e.getFullYear()%1e4,t,4)}function gs(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Ma(t/60|0,"0",2)+Ma(t%60,"0",2)}function ms(e,t){return Ma(e.getUTCDate(),t,2)}function vs(e,t){return Ma(e.getUTCHours(),t,2)}function ys(e,t){return Ma(e.getUTCHours()%12||12,t,2)}function bs(e,t){return Ma(1+Ho.count(ca(e),e),t,3)}function xs(e,t){return Ma(e.getUTCMilliseconds(),t,3)}function _s(e,t){return xs(e,t)+"000"}function ws(e,t){return Ma(e.getUTCMonth()+1,t,2)}function Cs(e,t){return Ma(e.getUTCMinutes(),t,2)}function Ss(e,t){return Ma(e.getUTCSeconds(),t,2)}function ks(e){var t=e.getUTCDay();return 0===t?7:t}function Ms(e,t){return Ma(ea.count(ca(e)-1,e),t,2)}function Ts(e){var t=e.getUTCDay();return t>=4||0===t?ra(e):ra.ceil(e)}function Es(e,t){return e=Ts(e),Ma(ra.count(ca(e),e)+(4===ca(e).getUTCDay()),t,2)}function Ds(e){return e.getUTCDay()}function Ps(e,t){return Ma(ta.count(ca(e)-1,e),t,2)}function Os(e,t){return Ma(e.getUTCFullYear()%100,t,2)}function Is(e,t){return e=Ts(e),Ma(e.getUTCFullYear()%100,t,2)}function As(e,t){return Ma(e.getUTCFullYear()%1e4,t,4)}function Ls(e,t){var n=e.getUTCDay();return e=n>=4||0===n?ra(e):ra.ceil(e),Ma(e.getUTCFullYear()%1e4,t,4)}function Ns(){return"+0000"}function Rs(){return"%"}function zs(e){return+e}function $s(e){return Math.floor(+e/1e3)}function Bs(e){return xa=ba(e),_a=xa.format,xa.parse,xa.utcFormat,xa.utcParse,xa}function Fs(e){return null===e?NaN:+e}Bs({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const js=yo(mo),Vs=js.right;js.left,yo(Fs).center;var Hs=Vs;function Ws(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Gs(e){return function(){return e}}function qs(e){return+e}var Us=[0,1];function Ys(e){return e}function Xs(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Gs(isNaN(t)?NaN:.5)}function Zs(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function Ks(e,t,n){var i=e[0],r=e[1],o=t[0],a=t[1];return r<i?(i=Xs(r,i),o=n(a,o)):(i=Xs(i,r),o=n(o,a)),function(e){return o(i(e))}}function Qs(e,t,n){var i=Math.min(e.length,t.length)-1,r=new Array(i),o=new Array(i),a=-1;e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());while(++a<i)r[a]=Xs(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=Hs(e,t,1,i)-1;return o[n](r[n](t))}}function Js(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function el(){var e,t,n,i,r,o,a=Us,s=Us,l=Nn,u=Ys;function c(){var e=Math.min(a.length,s.length);return u!==Ys&&(u=Zs(a[0],a[e-1])),i=e>2?Qs:Ks,r=o=null,h}function h(t){return null==t||isNaN(t=+t)?n:(r||(r=i(a.map(e),s,l)))(e(u(t)))}return h.invert=function(n){return u(t((o||(o=i(s,a.map(e),Mn)))(n)))},h.domain=function(e){return arguments.length?(a=Array.from(e,qs),c()):a.slice()},h.range=function(e){return arguments.length?(s=Array.from(e),c()):s.slice()},h.rangeRound=function(e){return s=Array.from(e),l=Ws,c()},h.clamp=function(e){return arguments.length?(u=!!e||Ys,c()):u!==Ys},h.interpolate=function(e){return arguments.length?(l=e,c()):l},h.unknown=function(e){return arguments.length?(n=e,h):n},function(n,i){return e=n,t=i,c()}}function tl(){return el()(Ys,Ys)}function nl(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function il(e,t){e=e.slice();var n,i=0,r=e.length-1,o=e[i],a=e[r];return a<o&&(n=i,i=r,r=n,n=o,o=a,a=n),e[i]=t.floor(o),e[r]=t.ceil(a),e}function rl(e){return new Date(e)}function ol(e){return e instanceof Date?+e:+new Date(+e)}function al(e,t,n,i,r,o,a,s,l,u){var c=tl(),h=c.invert,d=c.domain,f=u(".%L"),p=u(":%S"),g=u("%I:%M"),m=u("%I %p"),v=u("%a %d"),y=u("%b %d"),b=u("%B"),x=u("%Y");function _(e){return(l(e)<e?f:s(e)<e?p:a(e)<e?g:o(e)<e?m:i(e)<e?r(e)<e?v:y:n(e)<e?b:x)(e)}return c.invert=function(e){return new Date(h(e))},c.domain=function(e){return arguments.length?d(Array.from(e,ol)):d().map(rl)},c.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},c.tickFormat=function(e,t){return null==t?_:u(t)},c.nice=function(e){var n=d();return e&&"function"===typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?d(il(n,e)):c},c.copy=function(){return Js(c,al(e,t,n,i,r,o,a,s,l,u))},c}function sl(){return nl.apply(al(pa,ga,ua,sa,qo,Vo,Fo,$o,zo,_a).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function ll(e,t,n){this.k=e,this.x=t,this.y=n}ll.prototype={constructor:ll,scale:function(e){return 1===e?this:new ll(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new ll(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var ul=new ll(1,0,0);function cl(e){while(!e.__zoom)if(!(e=e.parentNode))return ul;return e.__zoom}cl.prototype=ll.prototype},60865:function(e){"use strict";e.exports=JSON.parse('{"type":"FeatureCollection","features":[{"type":"Feature","id":"710000","properties":{"id":"710000","cp":[121.509062,24.044332],"name":"台湾","childNum":6},"geometry":{"type":"MultiPolygon","coordinates":[["@@°Ü¯Û"],["@@ƛĴÕƊÉɼģºðʀ\\\\ƎsÆNŌÔĚäœnÜƤɊĂǀĆĴžĤNJŨxĚĮǂƺòƌ‚–âÔ®ĮXŦţƸZûЋƕƑGđ¨ĭMó·ęcëƝɉlÝƯֹÅŃ^Ó·śŃNjƏďíåɛGɉ™¿@ăƑŽ¥ĘWǬÏĶŁâ"],["@@\\\\p|WoYG¿¥I†j@¢"],["@@…¡‰@ˆV^RqˆBbAŒnTXeRz¤Lž«³I"],["@@ÆEE—„kWqë @œ"],["@@fced"],["@@„¯ɜÄèaì¯ØǓIġĽ"],["@@çûĖ롖hòř "]],"encodeOffsets":[[[122886,24033]],[[123335,22980]],[[122375,24193]],[[122518,24117]],[[124427,22618]],[[124862,26043]],[[126259,26318]],[[127671,26683]]]}},{"type":"Feature","id":"130000","properties":{"id":"130000","cp":[114.502461,38.045474],"name":"河北","childNum":3},"geometry":{"type":"MultiPolygon","coordinates":[["@@o~†Z]‚ªr‰ºc_ħ²G¼s`jΟnüsœłNX_“M`ǽÓnUK…Ĝēs¤­©yrý§uģŒc†JŠ›e"],["@@U`Ts¿m‚"],["@@oºƋÄd–eVŽDJj£€J|Ådz•Ft~ž¸IÆv|”‡¢r}膎onb˜}`RÎÄn°ÒdÞ²„’lnÐèĄlðӜ×]ªÆ}LiĂ±Ö`^°Ç¶p®đDcœŋ`–’¶êqvFƚ†N®ĆTH®¦O’¾ŠIbÐã´BĐɢŴÆíȦp–ĐÞXR€·nndOž¤’OÀĈƒ­Qg˜µFo|gȒęSWb©osx|hYh•gŃfmÖĩnº€’Sp›¢dYĤ¶UĈjl’ǐpäìë|³kÛfw²Xjz~ÂqbTŠÑ„ěŨ@|oM‡’zv¢ZrÃVw¬ŧĖ¸fŒ°ÐT€ªqŽs{Sž¯r æÝlNd®²Ğ džiGʂJ™¼lr}~K¨ŸƐÌWö€™ÆŠzRš¤lêmĞL΄’@¡|q]SvK€ÑcwpÏρ†ĿćènĪWlĄkT}ˆJ”¤~ƒÈT„d„™pddʾĬŠ”ŽBVt„EÀ¢ôPĎƗè@~‚k–ü\\\\rÊĔÖæW_§¼F˜†´©òDòj’ˆYÈrbĞāøŀG{ƀ|¦ðrb|ÀH`pʞkv‚GpuARhÞÆǶgʊTǼƹS£¨¡ù³ŘÍ]¿Ây™ôEP xX¶¹܇“gÚ¡IwÃ鑦ÅB‡Ï|Ç°…N«úmH¯‹âŸŽžŲIÄuШDž•¸‡‚FŸƒ•›Oh‡đ©OŸ›iÃ`ww^ƒÌkŸ‘ÑH«ƇǤŗĺtFu…{Z}Ö@U‡´…ʚLg®¯Oı°ÃwŸ ^˜—€VbÉs‡ˆmA…ê]]w„§›RRl£‡ȭµu¯b{ÍDěïÿȧŽuT£ġƒěŗƃĝ“Q¨fV†Ƌ•ƅn­a@‘³@šď„yýIĹÊKšŭfċŰóŒxV@tˆƯŒJ”]eƒR¾fe|rHA˜|h~Ėƍl§ÏŠlTíb ØoˆÅbbx³^zÃĶš¶Sj®A”yÂhðk`š«P€”ˈµEF†Û¬Y¨Ļrõqi¼‰Wi°§’б´°^[ˆÀ|ĠO@ÆxO\\\\tŽa\\\\tĕtû{ġŒȧXýĪÓjùÎRb›š›fK[ݏděYfíÙTyŽuUSyŌŏů@Oi½’éŅ­aVcř§ax¹XŻác‡žWU£ôãºQ¨÷Ñws¥qEH‰Ù|‰›šYQoŕÇyáĂ£MðoťÊ‰P¡mšWO¡€v†{ôvîēÜISpÌhp¨ ‘j†deŔQÖj˜X³à™Ĉ[n`Yp@Už–cM`’RKhŒEbœ”lNut®Etq‚nsÁŠgA‹‹oH‡qCX‡”hfgu“‹WP½¢G^}¯ÅīGCŸÑ^ãziMáļMTÃƘrMc|O_ž¯Ŏ´|‡morDkO\\\\mĆJfl@cĢ¬¢aĦtRıҙ¾ùƀ^juųœK­ƒUFy™—Ɲ…›īÛ÷ąV×qƥV¿aȉd³B›qPBm›aËđŻģm“Å®VŠ¹d^K‡KoŸnYg“¯Xhqa”Ldu¥•ÍpDž¡KąÅƒkĝęěhq‡}HyÓ]¹ǧ£…Í÷¿qᵧš™g‘¤o^á¾ZE‡¤i`ij{n•ƒOl»ŸWÝĔįhg›F[¿¡—ßkOüš_‰€ū‹i„DZàUtėGylƒ}ŒÓM}€jpEC~¡FtoQi‘šHkk{Ãmï‚"]],"encodeOffsets":[[[119712,40641]],[[121616,39981]],[[116462,37237]]]}},{"type":"Feature","id":"140000","properties":{"id":"140000","cp":[111.849248,36.857014],"name":"山西","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@Þĩ҃S‰ra}Á€yWix±Üe´“ßÓǏok‘ćiµVZģ¡coœ‘TS˹ĪmnÕńe–hZg{gtwªpXaĚThȑp{¶Eh—®RćƑP¿£‘Pmc¸mQÝW•ďȥoÅîɡųAďä³aωJ‘½¥PG­ąSM­™…EÅruµé€‘Ž•Ō_d›ĒCo­Èµ]¯_²ÕjāŽK~©ÅØ^ԛkïçămϑk]­±ƒcݯÑÃmQÍ~_a—pm…~ç¡q“ˆu{JÅŧ·Ls}–EyÁÆcI{¤IiCfUc•ƌÃp§]웫vD@¡SÀ‘µM‚ÅwuŽYY‡¡DbÑc¡hƒ×]nkoQdaMç~eD•ÛtT‰©±@¥ù@É¡‰ZcW|WqOJmĩl«ħşvOÓ«IqăV—¥ŸD[mI~Ó¢cehiÍ]Ɠ~ĥqXŠ·eƷœ“}v•[ěďŽŕ]_‘œ•`‰¹ƒ§ÕōI™o©b­s^}Ét±ū«³p£ÿ·Wµ|¡¥ăFÏs׌¥ŅxŸÊdÒ{ºvĴÎêÌɊ²¶€ü¨|ÞƸµȲ‘LLúÉƎ¤ϊęĔV`„_bª‹S^|ŸdŠzY|dz¥p†ZbÆ£¶ÒK}tĦÔņƠ‚PYzn€ÍvX¶Ěn ĠÔ„zý¦ª˜÷žÑĸَ¸‚dòÜJð´’ìúNM¬ŒXZ´‘¤ŊǸ_tldIš{¦ƀðĠȤ¥NehXnYG‚‡ ƬDj¬¸|CĞ„Kq‚ºfƐiĺ©ª~ĆOQª ¤@ìǦɌ²æBŒÊ”TœŸ˜ʂōĖ’šĴŞ–ȀœÆÿȄlŤĒö„t”νî¼ĨXhŒ‘˜|ªM¤Ðz"],"encodeOffsets":[[116874,41716]]}},{"type":"Feature","id":"150000","properties":{"id":"150000","cp":[111.670801,41.818311],"name":"内蒙古","childNum":2},"geometry":{"type":"MultiPolygon","coordinates":[["@@¯PqƒFB…‰|S•³C|kñ•H‹d‘iÄ¥sˆʼnő…PóÑÑE^‘ÅPpy_YtS™hQ·aHwsOnʼnÚs©iqj›‰€USiº]ïWš‰«gW¡A–Rë¥_ŽsgÁnUI«m‰…„‹]j‡vV¼euhwqA„aW˜ƒ_µj…»çjioQR¹ēÃßt@r³[ÛlćË^ÍÉáG“›OUۗOB±•XŸ‡¹£k|e]ol™ŸkVͼÕqtaÏõjgÁ£§U^Œ”RLˆËnX°Ç’Bz†^~wfvˆypV ¯„ƫĉ˭ȫƗŷɿÿĿƑ˃ĝÿÃǃßËőó©ǐȍŒĖM×ÍEyx‹þp]Évïè‘vƀnÂĴÖ@‚‰†V~Ĉv¦wĖt—ējyÄDXÄxGQuv_›i¦aBçw‘˛wD™©{ŸtāmQ€{EJ§KPśƘƿ¥@‰sCT•É}ɃwˆƇy±ŸgÑ“}T[÷kÐ禫…SÒ¥¸ëBX½‰HáŵÀğtSÝÂa[ƣ°¯¦P]£ġ“–“Òk®G²„èQ°óMq}EŠóƐÇ\\\\ƒ‡@áügQ͋u¥Fƒ“›¿Jû‡]|mvāÎYua^WoÀa·­ząÒot׶CLƗi¯¤mƎHNJ¤îìɾŊìTdåwsRÖgĒųúÍġäÕ}Q¶—ˆ¿A•†‹[¡Œ{d×uQAƒ›M•xV‹vMOmăl«ct[wº_šÇʊŽŸjb£ĦS_é“QZ“_lwgOiýe`YYLq§IÁˆdz£ÙË[ÕªuƏ³ÍT—s·bÁĽäė[›b[ˆŗfãcn¥îC¿÷µ[ŏÀQ­ōšĉm¿Á^£mJVm‡—L[{Ï_£›F¥Ö{ŹA}…×Wu©ÅaųijƳhB{·TQqÙIķˑZđ©Yc|M¡…L•eVUóK_QWk’‘¿ãZ•»X\\\\ĴuUƒè‡lG®ěłTĠğDєOrÍd‚ÆÍz]‹±…ŭ©ŸÅ’]ŒÅÐ}UË¥©Tċ™ïxgckfWgi\\\\ÏĒ¥HkµE˜ë{»ÏetcG±ahUiñiWsɁˆ·c–C‚Õk]wȑ|ća}w…VaĚ᠞ŒG°ùnM¬¯†ˆÐÆA’¥ÄêJxÙ¢”hP¢Ûˆº€µwWOŸóFŽšÁz^ÀŗÎú´§¢T¤ǻƺSė‰ǵhÝÅQgvBHouʝl_o¿Ga{ïq{¥|ſĿHĂ÷aĝÇq‡Z‘ñiñC³ª—…»E`¨åXēÕqÉû[l•}ç@čƘóO¿¡ƒFUsA‰“ʽīccšocƒ‚ƒÇS}„“£‡IS~ălkĩXçmĈ…ŀЂoÐdxÒuL^T{r@¢‘žÍƒĝKén£kQ™‰yšÅõËXŷƏL§~}kqš»IHėDžjĝŸ»ÑÞoŸå°qTt|r©ÏS‹¯·eŨĕx«È[eMˆ¿yuˆ‘pN~¹ÏyN£{©’—g‹ħWí»Í¾s“əšDž_ÃĀɗ±ą™ijĉʍŌŷ—S›É“A‹±åǥɋ@럣R©ąP©}ĹªƏj¹erƒLDĝ·{i«ƫC£µsKCš…GS|úþX”gp›{ÁX¿Ÿć{ƱȏñZáĔyoÁhA™}ŅĆfdʼn„„Y°ėǩÑ¡H¯¶oMQqð¡Ë™|‘Ñ`ƭŁX½·óۓxğįÅcQ‡ˆ“ƒs«tȋDžF“Ÿù^i‘t«Č¯[›hAi©á¥ÇĚ×l|¹y¯YȵƓ‹ñǙµï‚ċ™Ļ|Dœ™üȭ¶¡˜›oŽäÕG\\\\ďT¿Òõr¯œŸLguÏYęRƩšɷŌO\\\\İТæ^Ŋ IJȶȆbÜGŽĝ¬¿ĚVĎgª^íu½jÿĕęjık@Ľƒ]ėl¥Ë‡ĭûÁ„ƒėéV©±ćn©­ȇžÍq¯½•YÃÔʼn“ÉNѝÅÝy¹NqáʅDǡËñ­ƁYÅy̱os§ȋµʽǘǏƬɱà‘ưN¢ƔÊuľýľώȪƺɂļžxœZĈ}ÌʼnŪ˜ĺœŽĭFЛĽ̅ȣͽÒŵìƩÇϋÿȮǡŏçƑůĕ~Ǎ›¼ȳÐUf†dIxÿ\\\\G ˆzâɏÙOº·pqy£†@ŒŠqþ@Ǟ˽IBäƣzsÂZ†ÁàĻdñ°ŕzéØűzșCìDȐĴĺf®ŽÀľưø@ɜÖÞKĊŇƄ§‚͑těï͡VAġÑÑ»d³öǍÝXĉĕÖ{þĉu¸ËʅğU̎éhɹƆ̗̮ȘNJ֥ड़ࡰţાíϲäʮW¬®ҌeרūȠkɬɻ̼ãüfƠSצɩςåȈHϚÎKdzͲOðÏȆƘ¼CϚǚ࢚˼ФԂ¤ƌžĞ̪Qʤ´¼mȠJˀŸƲÀɠmǐnǔĎȆÞǠN~€ʢĜ‚¶ƌĆĘźʆȬ˪ĚĒ¸ĞGȖƴƀj`ĢçĶāàŃºēĢƒĖćšYŒÀŎüôQÐÂŎŞdžŞêƖš˜oˆDĤÕºÑǘÛˤ³̀gńƘĔÀ^žªƂ`ªt¾äƚêĦĀ¼Ð€Ĕǎ¨Ȕ»͠^ˮÊȦƤøxRrŜH¤¸ÂxDĝŒ˂˜ƮÐ¬ɚwɲFjĔ²Äw°dždÀɞ_ĸdîàŎjʜêTЪŌ‡ŜWÈ|tqĢUB~´°ÎFC•ŽU¼pĀēƄ¾O¶ŠłKĊOj“Ě”j´ĜYp˜„ˆSĚÍ\\\\Tš×ªV–÷Ší¨ÅDK°ßtŇĔKš¨ǵÂcḷ̌ĚǣȄĽF‡lġUĵœŇ‹ȣɁƒMğįʏƶɷØŭOǽ«ƽū¹Ʊő̝Ȩ§ȞʘĖiɜɶʦ}¨֪ࠜ̀ƇǬ¹ǨE˦ĥªÔêFŽxúQ„Er´W„rh¤Ɛ \\\\talĈDJ˜Ü|[Pll̚¸ƎGú´Pž¬W¦†–H]prR“n|or¾wLVnÇIujkmon£cX^Bh`¥V”„¦U¤¸}€xRj–[^xN[~ªŠxQ„‚[`ªHÆÂExx^wšN¶Ê˜|¨ì†˜€MrœdYp‚oRzNy˜ÀDs~€bcfÌ`L–¾n‹|¾T‚°c¨È¢a‚–`[|òDŞĔöxElÖdH„ÀI`„Ď\\\\Àì~ƎR¼tf•¦^¢ķ¶e”ÐÚMŒptgj–„ɡČÅyġLû™ŇV®ŠÄÈƀ†Ď°P|ªVV†ªj–¬ĚÒêp¬–E|ŬÂc|ÀtƐK fˆ{ĘFĒœƌXƲąo½Ę‘\\\\¥–o}›Ûu£ç­kX‘{uĩ«āíÓUŅßŢq€Ť¥lyň[€oi{¦‹L‡ń‡ðFȪȖ”ĒL„¿Ì‹ˆfŒ£K£ʺ™oqNŸƒwğc`ue—tOj×°KJ±qƒÆġm‰Ěŗos¬…qehqsuœƒH{¸kH¡Š…ÊRǪÇƌbȆ¢´ä܍¢NìÉʖ¦â©Ġu¦öČ^â£Ăh–šĖMÈÄw‚\\\\fŦ°W ¢¾luŸD„wŠ\\\\̀ʉÌÛM…Ā[bӞEn}¶Vc…ê“sƒ"]],"encodeOffsets":[[[129102,52189]]]}},{"type":"Feature","id":"210000","properties":{"id":"210000","cp":[123.429096,41.796767],"name":"辽宁","childNum":16},"geometry":{"type":"MultiPolygon","coordinates":[["@@L–Ž@@s™a"],["@@MnNm"],["@@d‚c"],["@@eÀ‚C@b‚“‰"],["@@f‡…Xwkbr–Ä`qg"],["@@^jtW‘Q"],["@@~ Y]c"],["@@G`ĔN^_¿Z‚ÃM"],["@@iX¶B‹Y"],["@@„YƒZ"],["@@L_{Epf"],["@@^WqCT\\\\"],["@@\\\\[“‹§t|”¤_"],["@@m`n_"],["@@Ïxnj{q_×^Giip"],["@@@œé^B†‡ntˆU—˜Ÿ]x ¯ÄPIJ­°h€ʙK³†VˆÕ@Y~†|EvĹsDŽ¦­L^p²ŸÒG ’Ël]„xxÄ_˜fT¤Ď¤cŽœP„–¸TVjbgH²sdÎdHt`Bˆ—²¬GJję¶[ÐhjeXdlwhšðSȦªVÊπ‹Æ‘Z˜ÆŶ®²†^ŒÎyÅÎcPqń“ĚDMħĜŁH­ˆk„çvV[ij¼W–‚YÀäĦ’‘`XlžR`žôLUVžfK–¢†{NZdĒª’YĸÌÚJRr¸SA|ƴgŴĴÆbvªØX~†źBŽ|¦ÕœEž¤Ð`\\\\|Kˆ˜UnnI]¤ÀÂĊnŎ™R®Ő¿¶\\\\ÀøíDm¦ÎbŨab‰œaĘ\\\\ľã‚¸a˜tÎSƐ´©v\\\\ÖÚÌǴ¤Â‡¨JKr€Z_Z€fjþhPkx€`Y”’RIŒjJcVf~sCN¤ ˆE‚œm‰–sHy¨SðÑÌ\\\\\\\\ŸĐRZk°IS§fqŒßýáЍÙÉÖ[^¯ǤŲ„ê´\\\\¦¬ĆPM¯£Ÿˆ»uïpùzEx€žanµyoluqe¦W^£ÊL}ñrkqWňûP™‰UP¡ôJŠoo·ŒU}£Œ„[·¨@XŒĸŸ“‹‹DXm­Ûݏº‡›GU‹CÁª½{íĂ^cj‡k“¶Ã[q¤“LÉö³cux«zZfƒ²BWÇ®Yß½ve±ÃC•ý£W{Ú^’q^sÑ·¨‹ÍOt“¹·C¥‡GD›rí@wÕKţ݋˜Ÿ«V·i}xËÍ÷‘i©ĝ‡ɝǡ]ƒˆ{c™±OW‹³Ya±Ÿ‰_穂Hžĕoƫ€Ňqƒr³‰Lys[„ñ³¯OS–ďOMisZ†±ÅFC¥Pq{‚Ã[Pg}\\\\—¿ghćO…•k^ģÁFıĉĥM­oEqqZûěʼn³F‘¦oĵ—hŸÕP{¯~TÍlª‰N‰ßY“Ð{Ps{ÃVU™™eĎwk±ʼnVÓ½ŽJãÇÇ»Jm°dhcÀff‘dF~ˆ€ĀeĖ€d`sx² šƒ®EżĀdQ‹Âd^~ăÔHˆ¦\\\\›LKpĄVez¤NP ǹӗR™ÆąJSh­a[¦´Âghwm€BÐ¨źhI|žVVŽ—Ž|p] Â¼èNä¶ÜBÖ¼“L`‚¼bØæŒKV”ŸpoœúNZÞÒKxpw|ÊEMnzEQšŽIZ”ŽZ‡NBˆčÚFÜçmĩ‚WĪñt‘ÞĵÇñZ«uD‚±|Əlij¥ãn·±PmÍa‰–da‡ CL‡Ǒkùó¡³Ï«QaċϑOÃ¥ÕđQȥċƭy‹³ÃA"]],"encodeOffsets":[[[123686,41445]],[[126019,40435]],[[124393,40128]],[[126117,39963]],[[125322,40140]],[[126686,40700]],[[126041,40374]],[[125584,40168]],[[125453,40165]],[[125362,40214]],[[125280,40291]],[[125774,39997]],[[125976,40496]],[[125822,39993]],[[125509,40217]],[[122731,40949]]]}},{"type":"Feature","id":"220000","properties":{"id":"220000","cp":[125.3245,43.886841],"name":"吉林","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@‘”³PClƒFbbÍzš€wBG’ĭ€Z„Åi“»ƒlY­ċ²SgŽkÇ£—^S‰“qd¯•‹R…©éŽ£¯S†\\\\cZ¹iűƏCuƍÓX‡oR}“M^o•£…R}oªU­F…uuXHl•‡€Ï©¤ÛmTŽþ¤D–²ÄufàÀ­XXȱAe„yYw¬dvõ´KÊ£”\\\\rµÄl”iˆdā]|DÂVŒœˆÞ®ÜWnŒC”Œķ W‹§@\\\\¸‹ƒ‹Vp¸‰póIO¢ŠVOšŇürXql~òÉK]¤¥Xrfkvzpm¶bwyFoúvð‡¼¤ N°ąO¥«³[ƒéǡű_°Õ\\\\ÚÊĝŽþâőàerR¨­JYlďQ[ ÏYëЧTGz•tnŠß¡gFkMŸāGÁ¤ia É‰™È¹`\\\\xs€¬dĆkNnuNUŠ–užP@‚vRY¾•–\\\\¢…ŒGªóĄ~RãÖÎĢù‚đŴÕhQŽxtcæëSɽʼníëlj£ƍG£nj°KƘµDsØÑpyƸ®¿bXp‚]vbÍZuĂ{nˆ^IüœÀSք”¦EŒvRÎûh@℈[‚Əȉô~FNr¯ôçR±ƒ­HÑl•’Ģ–^¤¢‚ŸŒævxsŒ]ÞÁTĠs¶¿âƊGW¾ìA¦·TѬ†è¥€ÏÐJ¨¼ÒÖ¼ƒƦɄxÊ~S–tD@ŠĂ¼Ŵ¡jlºWž‰ˆzƦŽ²CH— „Axiukd‹ŒGgetqmcžÛ£Ozy¥cE}|…¾cZ…k‚‰¿uŐã[oxGikfeäT@…šSUwpiÚFM©’£è^ڟ‚`@v¶eň†f h˜eP¶žt“äOlÔUgƒÞzŸU`lœ}ÔÆUvØ_Ō¬Öi^ĉi§²ÃŠB~¡Ĉ™ÚEgc|DC_Ȧm²rBx¼MÔ¦ŮdĨÃâYx‘ƘDVÇĺĿg¿cwÅ\\\\¹˜¥Yĭlœ¤žOv†šLjM_a W`zļMž·\\\\swqÝSA‡š—q‰Śij¯Š‘°kŠRē°wx^Đkǂғ„œž“œŽ„‹\\\\]˜nrĂ}²ĊŲÒøãh·M{yMzysěnĒġV·°“G³¼XÀ““™¤¹i´o¤ŃšŸÈ`̃DzÄUĞd\\\\i֚ŒˆmÈBĤÜɲDEh LG¾ƀľ{WaŒYÍȏĢĘÔRîĐj‹ž“ccj‡oUb½š{“h§Ǿ{K‹ƖµÎ÷žGĀÖŠåưÎs­l›•yiē«‹`姝H¥Ae„GK}iã\\\\c]v©ģZ“mÃ|“[M}ģTɟĵ‘Â`À–çm‰‘FK¥ÚíÁbXš³ÌQґHof{‰]e€pt·GŋĜYünĎųVY^’˜ydõkÅZW„«WUa~U·Sb•wGçǑ‚“iW^q‹F‚“›uNĝ—·Ew„‹UtW·Ýďæ©PuqEzwAV•—XR‰ãQ`­©GŒM‡ehc›c”ďϝd‡©ÑW_ϗŒ»…é\\\\ƒɹ~ǙG³mØ©BšuT§Ĥ½¢Ã_ý‘‘ýŸqT^rme™\\\\Pp•ZZbƒyŸ’uybQ—efµ]UhĿDCmûvašÙNSkCwn‰cćfv~…Y‹„ÇG"],"encodeOffsets":[[130196,42528]]}},{"type":"Feature","id":"230000","properties":{"id":"230000","cp":[128.642464,46.756967],"name":"黑龙江","childNum":2},"geometry":{"type":"MultiPolygon","coordinates":[["@@UƒµNÿ¥īè灋•HÍøƕ¶LŒǽ|g¨|”™Ža¾pViˆdd”~ÈiŒíďÓQġėǐ‹ŽXb½|ſÃH½ŸKFgɱCģÛÇA‡n™‹jÕc[VĝDZÃ˄Ç_™ £ń³pŽj£º”š¿”»WH´¯”U¸đĢmžtĜyzzNN|g¸÷äűѱĉā~mq^—Œ[ƒ”››”ƒǁÑďlw]¯xQĔ‰¯l‰’€°řĴrŠ™˜BˆÞTxr[tŽ¸ĻN_yŸX`biN™Ku…P›£k‚—¦[ºxÆÀdhŽĹŀUÈƗCw’áZħÄŭcÓ¥»NAw±qȥnD`{ChdÙF暉A±Äj¨]ĊÕjŋ«×`VuÓś~_kŷVÝyh„“VkÄãPs”—fŸge‚Ň…µf@u ÙcŸªNªÙEojVx™T@†ãSefjlwH\\\\pŏäÀvŠŽlY†½d{†F~¦dyz¤PÜndsrhf‹HcŒvlwjFœ£G˜±DύƥY‡Šu¹XikĿ¦ÏqƗǀOŜ¨LI|FRĂn sª|Cš˜zxAè¥bœfudTrFWÁ¹Am|˜ĔĕsķÆF‡´Nš‰…UŠÕ@Áijſmužç’uð^ÊýowŒFzØÎĕNőžǏȎôªÌŒDŽàĀÄ˄ĞŀƒʀĀƘŸˮȬƬĊ°ƒUŸzou‡xe]}Ž…AyȑW¯ÌmK‡“Q]‹Īºif¸ÄX|sZt|½ÚUΠlkš^p{f¤lˆºlÆW –€˜PVܜPH”Êâ]ÎĈÌÜk´\\\\@qàsĔÄQºpRij¼èi†—„bXƒrBgxfv»ŽuUiˆŒ^v~”J¬mVp´£Œ´VWrnP½ì¢BX‚¬h™ŠðX¹^TjVœŠriªj™tŊÄm€tPGx¸bgRšŽsT`ZozÆO]’ÒFô҆’‡ŊŒž”p’cGŒêŠsx´DR–Œ{A†„EOr°Œ•žx|íœbˆ³Wm~DVjºéNN†Ëܲɶ­GƒxŷCStŸ}]ûō•SmtuÇÃĕN•™āg»šíT«u}ç½BĵÞʣ¥ëÊ¡Mێ³ãȅ¡ƋaǩÈÉQ‰†G¢·lG|›„tvgrrf«†ptęŘnŠÅĢr„I²¯LiØsPf˜_vĠd„xM prʹš‹¤‡ŒƒÀđK“žïÙVY§]I‡óáĥ]ķ†Kˆ¥Œj|pŇ\\\\kzţ¦šnņäÔVĂîĪ¬|vW’®l¤èØr‚˜•xm¶ă~lÄƯĄ̈́öȄEÔ¤ØQĄ–Ą»ƢjȦOǺ¨ìSŖÆƬy”Qœv`–cwƒZSÌ®ü±DŽ]ŀç¬B¬©ńzƺŷɄeeOĨS’Œfm Ċ‚ƀP̎ēz©Ċ‚ÄÕÊmgŸÇsJ¥ƔˆŊśæ’΁Ñqv¿íUOµª‰ÂnĦÁ_½ä@ê텣P}Ġ[@gġ}g“ɊדûÏWXá¢užƻÌsNͽƎÁ§č՛AēeL³àydl›¦ĘVçŁpśdžĽĺſʃQíÜçÛġԏsĕ¬—Ǹ¯YßċġHµ ¡eå`ļƒrĉŘóƢFì“ĎWøxÊk†”ƈdƬv|–I|·©NqńRŀƒ¤é”œŀ›ˆàŀU²ŕƀB‚Q£Ď}L¹Îk@©ĈuǰųǨ”Ú§ƈnTËÇéƟÊcfčŤ^Xm‡—HĊĕË«W·ċëx³ǔķÐċJā‚wİ_ĸ˜Ȁ^ôWr­°oú¬Ħ…ŨK~”ȰCĐ´Ƕ£’fNÎèâw¢XnŮeÂÆĶŽ¾¾xäLĴĘlļO¤ÒĨA¢Êɚ¨®‚ØCÔ ŬGƠ”Ʀ‡ĘÜƬDJ—g_ͥœ@čŅĻA“¶¯@wÎqC½Ĉ»NŸăëK™ďÍQ“Ùƫ[«Ãí•gßÔÇOÝáW‘ñuZ“¯ĥ€Ÿŕā¡ÑķJu¤E Ÿå¯°WKɱ_d_}}vyŸõu¬ï¹ÓU±½@gÏ¿rýD‰†g…Cd‰µ—°MFYxw¿CG£‹Rƛ½Õ{]L§{qqąš¿BÇƻğëšܭNJË|c²}Fµ}›ÙRsÓpg±ŠQNqǫŋRwŕnéÑÉKŸ†«SeYR…ŋ‹@{¤SJ}šD Ûǖ֍Ÿ]gr¡µŷjqWÛham³~S«“„›Þ]"]],"encodeOffsets":[[[134456,44547]]]}},{"type":"Feature","id":"320000","properties":{"id":"320000","cp":[119.767413,33.041544],"name":"江苏","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@cþÅPiŠ`ZŸRu¥É\\\\]~°ŽY`µ†Óƒ^phÁbnÀşúŽòa–ĬºTÖŒb‚˜e¦¦€{¸ZâćNpŒ©žHr|^ˆmjhŠSEb\\\\afv`sz^lkŽlj‹Ätg‹¤D˜­¾Xš¿À’”iZ„ȀåB·î}GL¢õcßjaŸyBFµÏC^ĭ•cÙt¿sğH]j{s©HM¢ƒQnDÀ©DaÜތ·jgàiDbPufjDk`dPOîƒhw¡ĥ‡¥šG˜ŸP²ĐobºrY†„î¶aHŢ´ ]´‚rılw³r_{£DB_Ûdåuk|ˆŨ¯F Cºyr{XFy™e³Þċ‡¿Â™kĭB¿„MvÛpm`rÚã”@Ę¹hågËÖƿxnlč¶Åì½Ot¾dJlŠVJʜǀœŞqvnOŠ^ŸJ”Z‘ż·Q}ê͎ÅmµÒ]Žƍ¦Dq}¬R^èĂ´ŀĻĊIԒtžIJyQŐĠMNtœòLh‰›Ěs©»œ}OӌGZz¶A\\\\jĨFˆäOĤ˜HYš†JvÞHNiÜaϚɖnFQlšNM¤ˆB´ĄNöɂtp–Ŭdf先‹qm¿QûŠùއÚb¤uŃJŴu»¹Ą•lȖħŴw̌ŵ²ǹǠ͛hĭłƕrçü±Y™xci‡tğ®jű¢KOķ•Coy`å®VTa­_Ā]ŐÝɞï²ʯÊ^]afYǸÃĆēĪȣJđ͍ôƋĝÄ͎ī‰çÛɈǥ£­ÛmY`ó£Z«§°Ó³QafusNıDž_k}¢m[ÝóDµ—¡RLčiXy‡ÅNïă¡¸iĔϑNÌŕoēdōîåŤûHcs}~Ûwbù¹£¦ÓCt‹OPrƒE^ÒoŠg™ĉIµžÛÅʹK…¤½phMŠü`o怆ŀ"],"encodeOffsets":[[121740,32276]]}},{"type":"Feature","id":"330000","properties":{"id":"330000","cp":[120.153576,29.287459],"name":"浙江","childNum":45},"geometry":{"type":"MultiPolygon","coordinates":[["@@E^dQ]K"],["@@jX^j‡"],["@@sfŠbU‡"],["@@qP\\\\xz[ck"],["@@‘Rƒ¢‚FX}°[s_"],["@@Cbœ\\\\—}"],["@@e|v\\\\la{u"],["@@v~u}"],["@@QxÂF¯}"],["@@¹nŒvÞs¯o"],["@@rSkUEj"],["@@bi­ZŒP"],["@@p[}INf"],["@@À¿€"],["@@¹dnbŒ…"],["@@rSŸBnR"],["@@g~h}"],["@@FlEk"],["@@OdPc"],["@@v[u\\\\"],["@@FjâL~wyoo~›sµL–\\\\"],["@@¬e¹aNˆ"],["@@\\\\nÔ¡q]L³ë\\\\ÿ®ŒŽ"],["@@ÊA­©[¬"],["@@KxŒv­"],["@@@hlIk]"],["@@pW{o||j"],["@@Md|_mC"],["@@¢…X£ÏylD¼XˆtH"],["@@hlÜ[LykAvyfw^Ež›¤"],["@@fp¤Mus“R"],["@@®_ma~•LÁ¬šZ"],["@@iM„xZ"],["@@ZcYd"],["@@Z~dOSo|A¿qZv"],["@@@`”EN¡v"],["@@|–TY{"],["@@@n@m"],["@@XWkCT\\\\"],["@@ºwšZRkĕWO¢"],["@@™X®±Grƪ\\\\ÔáXq{‹"],["@@ůTG°ĄLHm°UC‹"],["@@¤Ž€aÜx~}dtüGæţŎíĔcŖpMËВjē¢·ðĄÆMzˆjWKĎ¢Q¶˜À_꒔_Bı€i«pZ€gf€¤Nrq]§ĂN®«H±‡yƳí¾×ŸīàLłčŴǝĂíÀBŖÕªˆŠÁŖHŗʼnåqûõi¨hÜ·ƒñt»¹ýv_[«¸m‰YL¯‰…mĉÅdMˆ•gÇjcº«•ęœ¬­K­´ƒB«Âącoċ\\\\xKd¡gěŧ«®á’[~ıxu·Å”KsËɏc¢Ù\\\\ĭƛëbf¹­ģSƒĜkáƉÔ­ĈZB{ŠaM‘µ‰fzʼnfåÂŧįƋǝÊĕġć£g³ne­ą»@­¦S®‚\\\\ßðCšh™iqªĭiAu‡A­µ”_W¥ƣO\\\\lċĢttC¨£t`ˆ™PZäuXßBs‡Ļyek€OđġĵHuXBšµ]׌‡­­\\\\›°®¬F¢¾pµ¼kŘó¬Wät’¸|@ž•¸µr“ºù³Ù~§WI‹ŸZWŽ®’±Ð¨ÒÉx€`‰²pĜ•rOògtÁZ}þÙ]„’¡ŒŸFK‚wsPlU[}¦Rvn`hq¬\\\\”nQ´ĘRWb”‚_ rtČFI֊kŠŠĦPJ¶ÖÀÖJĈĄTĚòžC ²@Pú…Øzœ©PœCÈڜĒ±„‡l¬â~nm¨f©–iļ«m‡nt–u†ÖZÜÄj“ŠLŽ®E̜Fª²iÊxبžIÈhhst"],["@@o\\\\V’zRZ}y"],["@@†@°¡mۛGĕ¨§Ianá[ýƤjfæ‡ØL–•äGr™"]],"encodeOffsets":[[[125592,31553]],[[125785,31436]],[[125729,31431]],[[125513,31380]],[[125223,30438]],[[125115,30114]],[[124815,29155]],[[124419,28746]],[[124095,28635]],[[124005,28609]],[[125000,30713]],[[125111,30698]],[[125078,30682]],[[125150,30684]],[[124014,28103]],[[125008,31331]],[[125411,31468]],[[125329,31479]],[[125626,30916]],[[125417,30956]],[[125254,30976]],[[125199,30997]],[[125095,31058]],[[125083,30915]],[[124885,31015]],[[125218,30798]],[[124867,30838]],[[124755,30788]],[[124802,30809]],[[125267,30657]],[[125218,30578]],[[125200,30562]],[[124968,30474]],[[125167,30396]],[[124955,29879]],[[124714,29781]],[[124762,29462]],[[124325,28754]],[[123990,28459]],[[125366,31477]],[[125115,30363]],[[125369,31139]],[[122495,31878]],[[125329,30690]],[[125192,30787]]]}},{"type":"Feature","id":"340000","properties":{"id":"340000","cp":[117.283042,31.26119],"name":"安徽","childNum":3},"geometry":{"type":"MultiPolygon","coordinates":[["@@^iuLX^"],["@@‚e©Ehl"],["@@°ZÆëϵmkǀwÌÕæhºgBĝâqÙĊz›ÖgņtÀÁÊÆá’hEz|WzqD¹€Ÿ°E‡ŧl{ævÜcA`¤C`|´qžxIJkq^³³ŸGšµbƒíZ…¹qpa±ď OH—¦™Ħˆ„gPícOl_iCveaOjCh߸‹bÛªCC¿€m„RV§¢A|t^iĠGÀtÚs–d]ĮÐDE¶zAb àiödK¡~H¸íæAžǿYƒ“j{ď¿‘™À½W—®£ChŒÃsiŒkkly]_teu[bFa‰Tig‡n{]Gqªo‹ĈMYá|·¥—őaSÕė™ñĞ«ImŒ_m¿Âa]uĜp …Z_§{Cƒäg¤°r[_Yj‰ÆOdý“[ŽI[á·¥“Q_n‡ùgL¾mv™ˊBÜƶĊJhšp“˜O]iŠ]œ¥ jtsggJǧw×jÉ©±›EFˍ­‰Ki”ÛÃÕYv…s•ˆm¬njĻª•§emná}k«ŕˆƒgđ²Ù›DǤ›í¡ªOy›†×Où±@DŸñSęćăÕIÕ¿IµĥO‰‰jNÕËT¡¿tNæŇàåyķrĕq§ÄĩsWÆߎžX®¿‰mŒ™w…RIޓfßoG‘³¾©uyH‘į{Ɓħ¯AFnuP…ÍÔzšŒV—dàôº^Ðæd´€‡oG¤{S‰¬ćxã}›ŧ×Kǥĩ«žÕOEзÖdÖsƘѨ[’Û^Xr¢¼˜§xvěƵ`K”§ ´Cvlo¸fzŨð¾NY´ı~ÉĔē…ßúLÃϖ_ÈÏ|]ÂÏFl”g`bšežž€n¾¢pU‚h~ƴĖ¶_‚r sĄ~cž”ƈ]|r c~`¼{À{ȒiJjz`îÀT¥Û³…]’u}›f…ïQl{skl“oNdŸjŸäËzDvčoQŠďHI¦rb“tHĔ~BmlRš—V_„ħTLnñH±’DžœL‘¼L˜ªl§Ťa¸ŒĚlK²€\\\\RòvDcÎJbt[¤€D@®hh~kt°ǾzÖ@¾ªdb„YhüóZ ň¶vHrľ\\\\ʗJuxAT|dmÀO„‹[ÃԋG·ĚąĐlŪÚpSJ¨ĸˆLvÞcPæķŨŽ®mАˆálŸwKhïgA¢ųƩޖ¤OȜm’°ŒK´"]],"encodeOffsets":[[[121722,32278]],[[119475,30423]],[[119168,35472]]]}},{"type":"Feature","id":"350000","properties":{"id":"350000","cp":[118.306239,26.075302],"name":"福建","childNum":18},"geometry":{"type":"MultiPolygon","coordinates":[["@@“zht´‡]"],["@@aj^~ĆG—©O"],["@@ed¨„C}}i"],["@@@vˆPGsQ"],["@@‰sBz‚ddW]Q"],["@@SŽ¨Q“{"],["@@NŽVucW"],["@@qptBAq"],["@@‰’¸[mu"],["@@Q\\\\pD]_"],["@@jSwUadpF"],["@@eXª~ƒ•"],["@@AjvFso"],["@@fT–›_Çí\\\\Ÿ™—v|ba¦jZÆy€°"],["@@IjJi"],["@@wJI€ˆxš«¼AoNe{M­"],["@@K‰±¡Óˆ”ČäeZ"],["@@k¡¹Eh~c®wBk‹UplÀ¡I•~Māe£bN¨gZý¡a±Öcp©PhžI”Ÿ¢Qq…ÇGj‹|¥U™ g[Ky¬ŏ–v@OpˆtÉEŸF„\\\\@ åˆV{Xģ‰ĐBy…cpě…¼³Ăp·¤ƒ¥o“hqqÚ¡ŅLsƒ^ᗞ§qlŸÀhH¨MCe»åÇGD¥zPO£čÙkJA¼ß–ėu›ĕeûҍiÁŧSW¥˜QŠûŗ½ùěcݧSùĩąSWó«íęACµ›eR—åǃRCÒÇZÍ¢‹ź±^dlsŒtjD¸•‚ZpužÔâÒH¾oLUêÃÔjjēò´ĄW‚ƛ…^Ñ¥‹ĦŸ@Çò–ŠmŒƒOw¡õyJ†yD}¢ďÑÈġfŠZd–a©º²z£šN–ƒjD°Ötj¶¬ZSÎ~¾c°¶Ðm˜x‚O¸¢Pl´žSL|¥žA†ȪĖM’ņIJg®áIJČĒü` ŽQF‡¬h|ÓJ@zµ |ê³È ¸UÖŬŬÀEttĸr‚]€˜ðŽM¤ĶIJHtÏ A’†žĬkvsq‡^aÎbvŒd–™fÊòSD€´Z^’xPsÞrv‹ƞŀ˜jJd×ŘÉ ®A–ΦĤd€xĆqAŒ†ZR”ÀMźŒnĊ»ŒİÐZ— YX–æJŠyĊ²ˆ·¶q§·–K@·{s‘Xãô«lŗ¶»o½E¡­«¢±¨Yˆ®Ø‹¶^A™vWĶGĒĢžPlzfˆļŽtàAvWYãšO_‡¤sD§ssČġ[kƤPX¦Ž“ž®ˆBBvĪjv©šjx[L¥àï[F…¼ÍË»ğV`«•Ip™}ccÅĥZE‹ãoP…´B@ŠD—¸“z«Ƴ—¿å³BRضˆœWlâþäą`“]Z£Tc— ĹGµ¶H™m@_©—kŒ‰¾xĨ‡ôȉðX«½đCIbćqK³Á‹Äš¬OAwã»aLʼn‡ËĥW[“ÂGI—ÂNxij¤D¢ŽîĎÎB§°_JœGsƒ¥E@…¤uć…P‘å†cuMuw¢BI¿‡]zG¹guĮck\\\\_"]],"encodeOffsets":[[[123250,27563]],[[122541,27268]],[[123020,27189]],[[122916,27125]],[[122887,26845]],[[122808,26762]],[[122568,25912]],[[122778,26197]],[[122515,26757]],[[122816,26587]],[[123388,27005]],[[122450,26243]],[[122578,25962]],[[121255,25103]],[[120987,24903]],[[122339,25802]],[[121042,25093]],[[122439,26024]]]}},{"type":"Feature","id":"360000","properties":{"id":"360000","cp":[115.592151,27.676493],"name":"江西","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@ĢĨƐgļˆ¼ÂMD~ņªe^\\\\^§„ý©j׍cZ†Ø¨zdÒaˆJŒìõ`oz÷@¤u޸´†ôęöY¼‰HČƶajlÞƩ¥éZ[”|h}^U Œ ¥p„ĄžƦO lt¸Æ €Q\\\\€ŠaÆ|CnÂOjt­ĚĤd’ÈŒF`’¶„@Ð딠¦ōҞ¨Sêv†HĢûXD®…QgėWiØPÞìºr¤dž€NĠ¢l–•ĄtZoœCƞÔºCxrpĠV®Ê{f_Y`_ƒeq’’®Aot`@o‚DXfkp¨|Šs¬\\\\D‘ÄSfè©Hn¬…^DhÆyøJh“ØxĢĀLʈ„ƠPżċĄwȠ̦G®ǒĤäTŠÆ~ĦwŠ«|TF¡Šn€c³Ïå¹]ĉđxe{ÎӐ†vOEm°BƂĨİ|G’vz½ª´€H’àp”eJ݆Qšxn‹ÀŠW­žEµàXÅĪt¨ÃĖrÄwÀFÎ|ňÓMå¼ibµ¯»åDT±m[“r«_gŽmQu~¥V\\\\OkxtL ‹ƒ‘Ú^~ýꋖqo슱_Êw§ÑªåƗā¼‹mĉŹ‹¿NQ“…YB‹ąrwģcÍ¥B•Ÿ­ŗÊcØiI—žƝĿuŒqtāwO]‘³YCñTeɕš‹caub͈]trlu€ī…B‘ПGsĵıN£ï—^ķqss¿FūūV՟·´Ç{éĈý‰ÿ›OEˆR_ŸđûIċâJh­ŅıN‘ȩĕB…¦K{Tk³¡OP·wn—µÏd¯}½TÍ«YiµÕsC¯„iM•¤™­•¦¯P|ÿUHv“he¥oFTu‰õ\\\\ŽOSs‹MòđƇiaºćXŸĊĵà·çhƃ÷ǜ{‘ígu^›đg’m[×zkKN‘¶Õ»lčÓ{XSƉv©_ÈëJbVk„ĔVÀ¤P¾ºÈMÖxlò~ªÚàGĂ¢B„±’ÌŒK˜y’áV‡¼Ã~­…`g›ŸsÙfI›Ƌlę¹e|–~udjˆuTlXµf`¿JdŠ[\\\\˜„L‚‘²"],"encodeOffsets":[[116689,26234]]}},{"type":"Feature","id":"370000","properties":{"id":"370000","cp":[118.000923,36.275807],"name":"山东","childNum":13},"geometry":{"type":"MultiPolygon","coordinates":[["@@Xjd]{K"],["@@itbFHy"],["@@HlGk"],["@@T‚ŒGŸy"],["@@K¬˜•‹U"],["@@WdXc"],["@@PtOs"],["@@•LnXhc"],["@@ppVƒu]Or"],["@@cdzAUa"],["@@udRhnCI‡"],["@@ˆoIƒpR„"],["@@Ľč{fzƤî’Kš–ÎMĮ]†—ZFˆ½Y]â£ph’™š¶¨râøÀ†ÎǨ¤^ºÄ”Gzˆ~grĚĜlĞƄLĆdž¢Îo¦–cv“Kb€gr°Wh”mZp ˆL]LºcU‰Æ­n”żĤÌĒœbAnrOAœ´žȊcÀbƦUØrĆUÜøœĬƞ†š˜Ez„VL®öØBkŖÝĐĖ¹ŧ̄±ÀbÎɜnb²ĦhņBĖ›žįĦåXćì@L¯´ywƕCéõė ƿ¸‘lµ¾Z|†ZWyFYŸ¨Mf~C¿`€à_RÇzwƌfQnny´INoƬˆèôº|sT„JUš›‚L„îVj„ǎ¾Ē؍‚Dz²XPn±ŴPè¸ŔLƔÜƺ_T‘üÃĤBBċȉöA´fa„˜M¨{«M`‡d¡ô‰Ö°šmȰBÔjjŒ´PM|”c^d¤u•ƒ¤Û´Œä«ƢfPk¶Môlˆ]Lb„}su^ke{lC‘…M•rDŠÇ­]NÑFsmoõľH‰yGă{{çrnÓE‰‹ƕZGª¹Fj¢ïW…CǷ돡ąuhÛ¡^Kx•C`C\\\\bÅxì²ĝÝ¿_N‰īCȽĿåB¥¢·IŖÕy\\\\‡¹kx‡Ã£Č×GDyÕ¤ÁçFQ¡„KtŵƋ]CgÏAùSed‡cÚź—ŠuYfƒyMmhUWpSyGwMPqŀ—›Á¼zK›†G•­Y§Ëƒ@–´śÇµƕBmœ@Io‚g——Z¯u‹TMx}C‘‰VK‚ï{éƵP—™_K«™pÛÙqċtkkù]gŽ‹Tğwo•ɁsMõ³ă‡AN£™MRkmEʕč™ÛbMjÝGu…IZ™—GPģ‡ãħE[iµBEuŸDPԛ~ª¼ętŠœ]ŒûG§€¡QMsğNPŏįzs£Ug{đJĿļā³]ç«Qr~¥CƎÑ^n¶ÆéÎR~Ż¸Y’I“] P‰umŝrƿ›‰›‹[x‰edz‹L‘¯v¯s¬ÁY…~}…ťuŁŒg›ƋpÝĄ_ņī¶ÏSR´ÁP~ž¿Cyžċßdwk´Ss•X|t‰ Èð€AªìÎT°¦Dd–€a^lĎDĶÚY°Ž`ĪŴǒˆ”àŠv\\\\ebŒZH„ŖR¬ŢƱùęO•ÑM­³FۃWp[ƒ"]],"encodeOffsets":[[[123806,39303]],[[123821,39266]],[[123742,39256]],[[123702,39203]],[[123649,39066]],[[123847,38933]],[[123580,38839]],[[123894,37288]],[[123043,36624]],[[123344,38676]],[[123522,38857]],[[123628,38858]],[[118260,36742]]]}},{"type":"Feature","id":"410000","properties":{"id":"410000","cp":[113.665412,33.757975],"name":"河南","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@•ýL™ùµP³swIÓxcŢĞð†´žÚPt†ĴXØx¶˜@«ŕŕQGƒ‹Yfa[şu“ßǩ™đš_X³ijÕčC]kbc•¥CS¯ëÍB©÷‹–³­Siˆ_}m˜YTtž³xlàcȂzÀD}ÂOQ³ÐTĨ¯†ƗòËŖ[hœł‹Ŧv~††}ÂZž«¤lPǕ£ªÝŴÅR§ØnhcŒtâk‡­ľŹUÓÝdKuķ‡I§oTũÙďkęĆH¸ÓŒ\\\\ăŒ¿PcnS{wBIvɘĽ[GqµuŸŇôYgûƒZcaŽ©@½Õǽys¯}lgg@­C\\\\£as€IdÍuCQñ[L±ęk·‹ţb¨©kK—’»›KC²‘òGKmĨS`ƒ˜UQ™nk}AGē”sqaJ¥ĐGR‰ĎpCuÌy ã iMc”plk|tRk†ðœev~^‘´†¦ÜŽSí¿_iyjI|ȑ|¿_»d}qŸ^{“Ƈdă}Ÿtqµ`Ƴĕg}V¡om½fa™Ço³TTj¥„—Ry”K{ùÓjuµ{t}uËR‘iŸvGŠçJFjµŠÍyqΘàQÂFewixGw½Yŷpµú³XU›½ġy™łå‰kÚwZXˆ·l„¢Á¢K”zO„Λ΀jc¼htoDHr…|­J“½}JZ_¯iPq{tę½ĕ¦Zpĵø«kQ…Ťƒ]MÛfaQpě±ǽ¾]u­Fu‹÷nƒ™čįADp}AjmcEǒaª³o³ÆÍSƇĈÙDIzˑ赟^ˆKLœ—i—Þñ€[œƒaA²zz‰Ì÷Dœ|[šíijgf‚ÕÞd®|`ƒĆ~„oĠƑô³Ŋ‘D×°¯CsŠøÀ«ì‰UMhTº¨¸ǡîS–Ô„DruÂÇZ•ÖEŽ’vPZ„žW”‹ÐtĄE¢¦Ðy¸bŠô´oŬ¬Ž²Ês~€€]®tªašpŎJ¨Öº„_ŠŔ–`’Ŗ^Ѝ\\\\Ĝu–”~m²Ƹ›¸fW‰ĦrƔ}Î^gjdfÔ¡J}\\\\n C˜¦þWxªJRÔŠu¬ĨĨmF†dM{\\\\d\\\\ŠYÊ¢ú@@¦ª²SŠÜsC–}fNècbpRmlØ^g„d¢aÒ¢CZˆZxvÆ¶N¿’¢T@€uCœ¬^ĊðÄn|žlGl’™Rjsp¢ED}€Fio~ÔNŽ‹„~zkĘHVsDzßjƒŬŒŠŢ`Pûàl¢˜\\\\ÀœEhŽİgÞē X¼Pk–„|m"],"encodeOffsets":[[118256,37017]]}},{"type":"Feature","id":"420000","properties":{"id":"420000","cp":[113.298572,30.684355],"name":"湖北","childNum":3},"geometry":{"type":"MultiPolygon","coordinates":[["@@AB‚"],["@@lskt"],["@@¾«}{ra®pîÃ\\\\™›{øCŠËyyB±„b\\\\›ò˜Ý˜jK›‡L ]ĎĽÌ’JyÚCƈćÎT´Å´pb©È‘dFin~BCo°BĎĚømvŒ®E^vǾ½Ĝ²Ro‚bÜeNŽ„^ĺ£R†¬lĶ÷YoĖ¥Ě¾|sOr°jY`~I”¾®I†{GqpCgyl{‡£œÍƒÍyPL“¡ƒ¡¸kW‡xYlÙ抚ŁĢzœ¾žV´W¶ùŸo¾ZHxjwfx„GNÁ•³Xéæl¶‰EièIH‰ u’jÌQ~v|sv¶Ôi|ú¢Fh˜Qsğ¦ƒSiŠBg™ÐE^ÁÐ{–čnOÂȞUÎóĔ†ÊēIJ}Z³½Mŧïeyp·uk³DsѨŸL“¶_œÅuèw»—€¡WqÜ]\\\\‘Ò§tƗcÕ¸ÕFÏǝĉăxŻČƟO‡ƒKÉġÿ×wg”÷IÅzCg†]m«ªGeçÃTC’«[‰t§{loWeC@ps_Bp‘­r‘„f_``Z|ei¡—oċMqow€¹DƝӛDYpûs•–‹Ykıǃ}s¥ç³[§ŸcYŠ§HK„«Qy‰“wwö€¸ïx¼ņ¾Xv®ÇÀµRĠЋžHMž±cÏd„ƒǍũȅȷ±DSyúĝ£ŤĀàtÖÿï[îb\\\\}pĭÉI±Ñy…¿³x¯N‰o‰|¹H™ÏÛm‹júË~Tš•u˜ęjCöAwě¬R’đl¯ Ñb­‰ŇT†Ŀ_[Œ‘IčĄʿnM¦ğ\\\\É[T·™œ©oĕ@A¾w•ya¥Y\\\\¥Âaz¯ãÁ¡k¥ne£Ûw†E©Êō¶˓uoj_Uƒ¡cF¹­[Wv“P©w—huÕyBF“ƒ`R‹qJUw\\\\i¡{jŸŸEPïÿ½fć…QÑÀQ{ž‚°‡fLԁ~wXg—ītêݾ–ĺ‘Hdˆ³fJd]‹HJ²…E€ƒoU¥†HhwQsƐ»Xmg±çve›]Dm͂PˆoCc¾‹_h”–høYrŊU¶eD°Č_N~øĹĚ·`z’]Äþp¼…äÌQŒv\\\\rCŒé¾TnkžŐڀÜa‡“¼ÝƆĢ¶Ûo…d…ĔňТJq’Pb ¾|JŒ¾fXŠƐîĨ_Z¯À}úƲ‹N_ĒĊ^„‘ĈaŐyp»CÇĕKŠšñL³ŠġMŒ²wrIÒŭxjb[œžn«øœ˜—æˆàƒ ­h¯Ú€ŐªÞ¸€Y²ĒVø}Ā^İ™´‚LŠÚm„¥ÀJÞ{JVŒųÞŃx×sxxƈē ģMř–ÚðòIf–Ċ“Œ\\\\Ʈ±ŒdʧĘD†vČ_Àæ~DŒċ´A®µ†¨ØLV¦êHÒ¤"]],"encodeOffsets":[[[113712,34000]],[[115612,30507]],[[113649,34054]]]}},{"type":"Feature","id":"430000","properties":{"id":"430000","cp":[111.782279,28.09409],"name":"湖南","childNum":3},"geometry":{"type":"MultiPolygon","coordinates":[["@@—n„FTs"],["@@ßÅÆችÔXr—†CO™“…ËR‘ïÿĩ­TooQyšÓ[‹ŅBE¬–ÎÓXa„į§Ã¸G °ITxp‰úxÚij¥Ïš–Ģ¾ŠedžÄ©ĸG…œàGh‚€–Â_U}Ċ}¢pczfŠþg¤€”ÇòAV‘‹M"],["@@©K—ƒA·³CQ±Á«³BUŠƑ¹AŠtćOw™D]ŒJiØSm¯b£‘ylƒ›X…HËѱH•«–‘C^õľA–Å§¤É¥„ïyuǙuA¢^{ÌC´­¦ŷJ£^[†“ª¿‡ĕ~•Ƈ…•N… skóā‡¹¿€ï]ă~÷O§­@—Vm¡‹Qđ¦¢Ĥ{ºjԏŽŒª¥nf´•~ÕoŸž×Ûą‹ıuZœmZcÒ IJĪ²SÊDŽŶ¨ƚƒ’CÖŎªQؼrŭŽ­«}NÏürʬŒmjr€@ĘrTW ­SsdHzƓ^ÇÂyUi¯DÅYlŹu{hTœ}mĉ–¹¥ě‰Dÿë©ıÓ[Oº£ž“¥ót€ł¹MՄžƪƒ`Pš…Di–ÛUŠ¾Å‌ìˆU’ñB“È£ýhe‰dy¡oċ€`pfmjP~‚kZa…ZsÐd°wj§ƒ@€Ĵ®w~^‚kÀÅKvNmX\\\\¨a“”сqvíó¿F„¤¡@ũÑVw}S@j}¾«pĂr–ªg àÀ²NJ¶¶Dô…K‚|^ª†Ž°LX¾ŴäPĪ±œ£EXd›”^¶›IJÞܓ~‘u¸ǔ˜Ž›MRhsR…e†`ÄofIÔ\\\\Ø  i”ćymnú¨cj ¢»–GČìƊÿШXeĈĀ¾Oð Fi ¢|[jVxrIQŒ„_E”zAN¦zLU`œcªx”OTu RLÄ¢dV„i`p˔vŎµªÉžF~ƒØ€d¢ºgİàw¸Áb[¦Zb¦–z½xBĖ@ªpº›šlS¸Ö\\\\Ĕ[N¥ˀmĎă’J\\\\‹ŀ`€…ňSڊĖÁĐiO“Ĝ«BxDõĚiv—ž–S™Ì}iùŒžÜnšÐºGŠ{Šp°M´w†ÀÒzJ²ò¨ oTçüöoÛÿñŽőФ‚ùTz²CȆȸǎŪƒƑÐc°dPÎŸğ˶[Ƚu¯½WM¡­Éž“’B·rížnZŸÒ `‡¨GA¾\\\\pē˜XhÆRC­üWGġu…§Ŏѝ©ò³I±³}_‘‹EÃħg®ęisÁPDmÅ{‰b[Ÿ€kPŸŽƥƒóRo”O‹ŸVŸ~]{g\\\\“êYƪ¦kÝbiċƵŠGZ»Ěõ…ó·³vŝž£ø@pyö_‹ëŽIkѵ‡bcѧy…×dY؎ªiþž¨ƒ[]f]Ņ©C}ÁN‡»hĻħƏ’ĩ"]],"encodeOffsets":[[[115640,30489]],[[112543,27312]],[[116690,26230]]]}},{"type":"Feature","id":"440000","properties":{"id":"440000","cp":[113.280637,23.125178],"name":"广东","childNum":24},"geometry":{"type":"MultiPolygon","coordinates":[["@@QdˆAua"],["@@ƒlxDLo"],["@@sbhNLo"],["@@Ă āŸ"],["@@WltO[["],["@@Krœ]S"],["@@e„„I]y"],["@@I|„Mym"],["@@ƒÛ³LSŒž¼Y"],["@@nvºB–ëui©`¾"],["@@zdšÛ›Jw®"],["@@†°…¯"],["@@a yAª¸ËJIx،@€ĀHAmßV¡o•fu•o"],["@@šs‰ŗÃÔėAƁ›ZšÄ ~°ČP‚‹äh"],["@@‹¶Ý’Ì‚vmĞh­ı‡Q"],["@@HœŠdSjĒ¢D}war…“u«ZqadYM"],["@@elŒ\\\\LqqU"],["@@~rMo\\\\"],["@@f„^ƒC"],["@@øPªoj÷ÍÝħXČx”°Q¨ıXNv"],["@@gÇƳˆŽˆ”oˆŠˆ[~tly"],["@@E–ÆC¿‘"],["@@OŽP"],["@@w‹†đóg‰™ĝ—‹¡VÙæÅöM̳¹pÁaËýý©D©Ü“JŹƕģGą¤{Ùū…ǘO²«BƱéA—Ò‰ĥ‡¡«BhlmtÃPµyU¯uc“d·w_bŝcīímGOŽ|KP’ȏ‡ŹãŝIŕŭŕ@Óoo¿ē‹±ß}Ž…ŭ‚ŸIJWÈCőâUâǙI›ğʼn©I›ijEׅÁ”³Aó›wXJþ±ÌŒÜӔĨ£L]ĈÙƺZǾĆĖMĸĤfŒÎĵl•ŨnȈ‘ĐtF”Š––‚êk¶œ^k°f¶gŠŽœ}®Fa˜f`vXŲxl˜„¦–ÔÁ²¬ÐŸ¦pqÊ̲ˆi€XŸØRDÎ}†Ä@ZĠ’s„x®AR~®ETtĄZ†–ƈfŠŠHâÒÐA†µ\\\\S¸„^wĖkRzŠalŽŜ|E¨ÈNĀňZTŒ’pBh£\\\\ŒĎƀuXĖtKL–¶G|Ž»ĺEļĞ~ÜĢÛĊrˆO˜Ùîvd]nˆ¬VœÊĜ°R֟pM††–‚ƂªFbwžˆ˜©Œž\\\\…¤]ŸI®¥D³|ˎ]CöAŤ¦…æ’´¥¸Lv¼€•¢ĽBaô–F~—š®²GÌҐEY„„œzk¤’°ahlV՞I^‹šCxĈPŽsB‰ƒºV‰¸@¾ªR²ĨN]´_eavSi‡vc•}p}Đ¼ƌkJœÚe thœ†_¸ ºx±ò_xN›Ë‹²‘@ƒă¡ßH©Ùñ}wkNÕ¹ÇO½¿£ĕ]ly_WìIžÇª`ŠuTÅxYĒÖ¼k֞’µ‚MžjJÚwn\\\\h‘œĒv]îh|’È›Ƅøègž¸Ķß ĉĈWb¹ƀdéʌNTtP[ŠöSvrCZžžaGuœbo´ŖÒÇА~¡zCI…özx¢„Pn‹•‰Èñ @ŒĥÒ¦†]ƞŠV}³ăĔñiiÄÓVépKG½Ä‘ÓávYo–C·sit‹iaÀy„ŧΡÈYDÑům}‰ý|m[węõĉZÅxUO}÷N¹³ĉo_qtă“qwµŁYلǝŕ¹tïÛUïmRCº…ˆĭ|µ›ÕÊK™½R‘ē ó]‘–GªęAx–»HO£|ām‡¡diď׍YWªʼnOeÚtĐ«zđ¹T…ā‡úE™á²\\\\‹ķÍ}jYàÙÆſ¿Çdğ·ùTßÇţʄ¡XgWÀLJğ·¿ÃˆOj YÇ÷Qě‹i"]],"encodeOffsets":[[[117381,22988]],[[116552,22934]],[[116790,22617]],[[116973,22545]],[[116444,22536]],[[116931,22515]],[[116496,22490]],[[116453,22449]],[[113301,21439]],[[118726,21604]],[[118709,21486]],[[113210,20816]],[[115482,22082]],[[113171,21585]],[[113199,21590]],[[115232,22102]],[[115739,22373]],[[115134,22184]],[[113056,21175]],[[119573,21271]],[[119957,24020]],[[115859,22356]],[[116561,22649]],[[116285,22746]]]}},{"type":"Feature","id":"450000","properties":{"id":"450000","cp":[108.320004,22.82402],"name":"广西","childNum":2},"geometry":{"type":"MultiPolygon","coordinates":[["@@H– TQ§•A"],["@@ĨʪƒLƒƊDÎĹĐCǦė¸zÚGn£¾›rªŀÜt¬@֛ڈSx~øOŒ˜ŶÐÂæȠ\\\\„ÈÜObĖw^oބLf¬°bI lTØB̈F£Ć¹gñĤaY“t¿¤VSñœK¸¤nM†¼‚JE±„½¸šŠño‹ÜCƆæĪ^ŠĚQÖ¦^‡ˆˆf´Q†üÜʝšlzUĺš@쇀p¶n]sxtx¶@„~ÒĂJb©gk‚{°‚~c°`ԙ¬rV\\\\“la¼¤ôá`¯¹LC†ÆbŒxEræO‚v[H­˜„[~|aB£ÖsºdAĐzNÂðsŽÞƔ…Ĥªbƒ–ab`ho¡³F«èVloŽ¤™ÔRzpp®SŽĪº¨ÖƒºN…ij„d`’a”¦¤F³ºDÎńĀìŠCžĜº¦Ċ•~nS›|gźvZkCÆj°zVÈÁƔ]LÊFZg…čP­kini«‹€cz͔Y®¬Ů»qR×ō©DՄ‘§ƙǃŵTÉĩ±ŸıdÑnYY›IJvNĆƌØÜ Öp–}e³¦m‹©iÓ|¹Ÿħņ›|ª¦QF¢Â¬ʖovg¿em‡^ucà÷gՎuŒíÙćĝ}FĻ¼Ĺ{µHK•sLSđƃr‹č¤[Ag‘oS‹ŇYMÿ§Ç{Fśbky‰lQxĕƒ]T·¶[B…ÑÏGáşşƇe€…•ăYSs­FQ}­Bƒw‘tYğÃ@~…€Q ×W‡j˱rÉ¥oÏ ±«ÓÂ¥•ƒ€k—ŽwWűŒmcih³K›~‰µh¯e]lµ›él•‰•E“ďs‡’–ŧē`ãògK_ÛsUʝ“ćğ¶hŒöŒO¤Ǜn³Žc‘`¡y‹¦C‘ez€YŠwa™–‘[ďĵűMę§]X˜Î_‚훘Û]é’ÛUćİÕBƣ±…dƒy¹T^džûÅÑŦ·‡PĻþÙ`K€¦˜…¢ÍeœĥR¿Œ³£[~Œäu¼dl‰t‚†W¸oRM¢ď\\\\zœ}Æzdvň–{ÎXF¶°Â_„ÒÂÏL©Ö•TmuŸ¼ãl‰›īkiqéfA„·Êµ\\\\őDc¥ÝF“y›Ôć˜c€űH_hL܋êĺШc}rn`½„Ì@¸¶ªVLŒŠ‹\\\\•Ţĺk~ŽĠið°|gŒtTĭĸ^x‘vK˜VGréAé‘bUu›MJ‰VÃO¡…XËS‰ģãlýàŸ_ju‡YÛÒB†œG^˜é֊¶§ŽƒEG”ÅzěƒƯ¤Ek‡N[kdåucé¬dnYpAyČ{`]þ¯T’bÜÈk‚¡Ġ•vŒàh„ÂƄ¢J"]],"encodeOffsets":[[[111707,21520]],[[107619,25527]]]}},{"type":"Feature","id":"460000","properties":{"id":"460000","cp":[109.83119,19.031971],"name":"海南","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@š¦Ŝil¢”XƦ‘ƞò–ïè§ŞCêɕrŧůÇąĻõ™·ĉ³œ̅kÇm@ċȧƒŧĥ‰Ľʉ­ƅſ“ȓÒ˦ŝE}ºƑ[ÍĜȋ gÎfǐÏĤ¨êƺ\\\\Ɔ¸ĠĎvʄȀœÐ¾jNðĀÒRŒš™zÐŘΰH¨Ƣb²_Ġ "],"encodeOffsets":[[112750,20508]]}},{"type":"Feature","id":"510000","properties":{"id":"510000","cp":[104.065735,30.659462],"name":"四川","childNum":2},"geometry":{"type":"MultiPolygon","coordinates":[["@@LqKr"],["@@Š[ĻéV£ž_ţġñpG •réÏ·~ąSfy×͂·ºſƽıƣıĻmHH}siaX@iÇ°ÁÃ׃­Tƒ¤J–JJŒyJ•ÈŠ`Ohߦ¡uËhIyCjmÿw…ZG……Ti‹SˆsO‰žŸfNmsPaˆ{M{ŠõE‘^Hj}gYpaeuž¯‘oáwHjÁ½M¡pM“–‡mni{fk”\\\\oƒÎqCw†EZ¼K›ĝŠƒAy{m÷L‡wO×SimRI¯rK™õBS«sFe‡]fµ¢óY_ÆPRcue°Cbo׌bd£ŌIHgtrnyPt¦foaXďx›lBowz‹_{ÊéWiêE„GhܸºuFĈIxf®Ž•Y½ĀǙ]¤EyŸF²ċ’w¸¿@g¢§RGv»–áŸW`ÃĵJwi]t¥wO­½a[׈]`Ãi­üL€¦LabbTÀå’c}Íh™Æhˆ‹®BH€î|Ék­¤S†„ia©taį·Ɖ`ō¥Uh“O…ƒĝLk}©Fos‰´›Jm„µlŁu—…ø–nÑJWΪ–YÀïAetTžŅ‚ӍG™Ë«bo‰{ıwodƟ½ƒžOġܑµxàNÖ¾P²§HKv¾–]|•B‡ÆåoZ`¡Ø`ÀmºĠ~ÌЧnDž¿¤]wğ@sƒ‰rğu‰~‘Io”[é±¹ ¿žſđӉ@q‹gˆ¹zƱřaí°KtǤV»Ã[ĩǭƑ^ÇÓ@ỗs›•‹œÅĭ€Ƌ•ěpwDóÖሯneQˌ•GCœýS]xŸ·ý‹•œŒ¶Qzßti{ř‰áÍÇWŝŭñzÇW‹pç¿JŒ™‚Xœĩè½cŒF–ÂLiVjx}\\\\N†ŇĖ¥Ge–“JA¼ÄHfÈu~¸Æ«dE³ÉMA|b˜Ò…˜ćhG¬CM‚õŠ„ƤąAvƒüV€éŀ‰_V̳ĐwQj´·ZeÈÁ¨X´Æ¡Qu·»Ÿ“˜ÕZ³ġqDo‰y`L¬gdp°şŠp¦ėìÅĮZŽ°Iä”h‚‘ˆzŠĵœf²å ›ĚрKp‹IN|‹„Ñz]ń……·FU×é»R³™MƒÉ»GM«€ki€™ér™}Ã`¹ăÞmȝnÁîRǀ³ĜoİzŔwǶVÚ£À]ɜ»ĆlƂ²Ġ…þTº·àUȞÏʦ¶†I’«dĽĢdĬ¿–»Ĕ׊h\\\\c¬†ä²GêëĤł¥ÀǿżÃÆMº}BÕĢyFVvw–ˆxBèĻĒ©Ĉ“tCĢɽŠȣ¦āæ·HĽî“ôNԓ~^¤Ɗœu„œ^s¼{TA¼ø°¢İªDè¾Ň¶ÝJ‘®Z´ğ~Sn|ªWÚ©òzPOȸ‚bð¢|‹øĞŠŒœŒQìÛÐ@Ğ™ǎRS¤Á§d…i“´ezÝúØã]Hq„kIŸþËQǦÃsǤ[E¬ÉŪÍxXƒ·ÖƁİlƞ¹ª¹|XÊwn‘ÆƄmÀêErĒtD®ċæcQƒ”E®³^ĭ¥©l}äQto˜ŖÜqƎ–„ªÔĻĴ¡@Ċ°B²Èw^^RsºTĀ£ŚæœQP‘JvÄz„^Đ¹Æ¯fLà´GC²‘dt˜­ĀRt¼¤ĦOðğfÔðDŨŁĞƘ®âbMüÀXZ ¸£@Ś›»»QÉ­™]d“×–_ÌêŮPrĔĐÕGĂeZÜîĘqBhtO ¤tE[h|Y‹Ô‚ZśÎs´xº±UŒ’ñˆt|O’ĩĠºNbgþŠJy^dÂY Į„]Řz¦gC‚³€R`ĀŠz’¢AjŒ¸CL„¤RÆ»@­Ŏk\\\\Ç´£YW}z@Z}‰Ã¶“oû¶]´^N‡Ò}èN‚ª–P˜Íy¹`S°´†ATe€VamdUĐwʄvĮÕ\\\\ƒu‹Æŗ¨Yp¹àZÂm™Wh{á„}WØǍ•Éüw™ga§áCNęÎ[ĀÕĪgÖɪX˜øx¬½Ů¦¦[€—„†L€ÜUÖ´òrÙŠxR^–†J˜k„ijnDX{Uƒ~ET{ļº¦PZc”jF²Ė@Žp˜g€ˆ¨“B{ƒŦyhoÚD®¯¢˜ àFΤ¨GDäz¦kŮPœġq˚¥À]€Ÿ˜eŽâÚ´ªKxī„Pˆ—Ö|æ[xäJÞĥ‚s’NÖ½ž€I†¬nĨY´®Ð—ƐŠ€mD™ŝuäđđEb…e’e_™v¡}ìęNJē}q”É埁T¯µRs¡M@}ůa†a­¯wvƉåZwž\\\\Z{åû^›"]],"encodeOffsets":[[[108815,30935]],[[110617,31811]]]}},{"type":"Feature","id":"520000","properties":{"id":"520000","cp":[106.713478,26.578343],"name":"贵州","childNum":3},"geometry":{"type":"MultiPolygon","coordinates":[["@@†G\\\\†lY£‘in"],["@@q‚|ˆ‚mc¯tχVSÎ"],["@@hÑ£Is‡NgßH†›HªķÃh_¹ƒ¡ĝħń¦uيùŽgS¯JHŸ|sÝÅtÁïyMDč»eÕtA¤{b\\\\}—ƒG®u\\\\åPFq‹wÅaD…žK°ºâ_£ùbµ”‹ÛœĹM[q|hlaªāI}тƒµ@swtwm^oµˆD鼊yV™ky°ÉžûÛR…³‚‡eˆ‡¥]RՋěħ[ƅåÛDpŒ”J„iV™™‰ÂF²I…»mN·£›LbÒYb—WsÀbŽ™pki™TZĄă¶HŒq`……ĥ_JŸ¯ae«ƒKpÝx]aĕÛPƒÇȟ[ÁåŵÏő—÷Pw}‡TœÙ@Õs«ĿÛq©½œm¤ÙH·yǥĘĉBµĨÕnđ]K„©„œá‹ŸG纍§Õßg‡ǗĦTèƤƺ{¶ÉHÎd¾ŚÊ·OÐjXWrãLyzÉAL¾ę¢bĶėy_qMĔąro¼hĊžw¶øV¤w”²Ĉ]ʚKx|`ź¦ÂÈdr„be¸›`I¼čTF´¼Óýȃr¹ÍJ©k_șl³´_`oÒhŽ¶pa‚^ÓĔ}D»^Xyœ`d˜[Kv…JPhèhCrĂĚÂ^Êƌ wˆZL­Ġ£šÁbrzOIl’MM”ĪŐžËr×ÎeŦŽtw|Œ¢mKjSǘňĂStÎŦEtqFT†¾†E쬬ôxÌO¢Ÿ KŠ³ŀºäY†„”PVgŎ¦Ŋm޼VZwVlŒ„…ž£Tl®ctĽÚó{G­A‡ŒÇgeš‘d¿æaSba¥KKûj®_ć^\\\\ؾbP®¦x^sxjĶI_Ä X‚⼕Hu¨Qh¡À@Ëô}Ž±žGNìĎlT¸ˆ…`V~R°tbÕĊ`¸úÛtπFDu€[ƒMfqGH·¥yA‰ztMFe|R‚_Gk†ChZeÚ°to˜v`x‹b„ŒDnÐ{E}šZ˜è€x—†NEފREn˜[Pv@{~rĆAB§‚EO¿|UZ~ì„Uf¨J²ĂÝƀ‚–B`„œfvö¦ŠÕ~dÔq¨¸º»uù[[§´sb¤¢zþFœ¢Æ…Àhˆ™ÂˆW\\\\ıŽËI݊o±ĭŠ£þˆÊs}¡R]ŒěƒD‚g´VG¢‚j±®è†ºÃmpU[Á›‘Œëº°r›ÜbNu¸}Žº¼‡`ni”ºÔXĄ¤¼Ôdaµ€Á_À…†ftQQgœR—‘·Ǔ’v”}Ýלĵ]µœ“Wc¤F²›OĩųãW½¯K‚©…]€{†LóµCIµ±Mß¿hŸ•©āq¬o‚½ž~@i~TUxŪÒ¢@ƒ£ÀEîôruń‚”“‚b[§nWuMÆLl¿]x}ij­€½"]],"encodeOffsets":[[[112158,27383]],[[112105,27474]],[[112095,27476]]]}},{"type":"Feature","id":"530000","properties":{"id":"530000","cp":[101.512251,24.740609],"name":"云南","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@[„ùx½}ÑRH‘YīĺûsÍn‘iEoã½Ya²ė{c¬ĝg•ĂsA•ØÅwď‚õzFjw}—«Dx¿}UũlŸê™@•HÅ­F‰¨ÇoJ´Ónũuą¡Ã¢pÒŌ“Ø TF²‚xa²ËX€‚‹lHîAßËŁkŻƑŷÉ©h™W­æßU‡“Ës¡¦}•teèƶStǀÇ}Fd£j‹ĈZĆÆ‹¤T‚č\\\\Dƒ}O÷š£Uˆ§~ŃG™‚åŃDĝ¸œTsd¶¶Bªš¤u¢ŌĎo~t¾ÍŶÒtD¦Ú„iôö‰€z›ØX²ghįh½Û±¯€ÿm·zR¦Ɵ`ªŊÃh¢rOԍ´£Ym¼èêf¯ŪĽn„†cÚbŒw\\\\zlvWžªâˆ ¦g–mĿBş£¢ƹřbĥkǫßeeZkÙIKueT»sVesb‘aĕ  ¶®dNœĄÄpªyŽ¼—„³BE˜®l‡ŽGœŭCœǶwêżĔÂe„pÍÀQƞpC„–¼ŲÈ­AÎô¶R„ä’Q^Øu¬°š_Èôc´¹ò¨P΢hlϦ´Ħ“Æ´sâDŽŲPnÊD^¯°’Upv†BP̪–jǬx–Söwlfòªv€qĸ|`H€­viļ€ndĜ­Ćhň•‚em·FyށžSį¯‘³X_ĞçêtryvL¤§z„¦c¦¥jnŞk˜ˆlD¤øz½ĜàžĂŧMÅ|áƆàÊcðÂF܎‚áŢ¥\\\\\\\\º™İøÒÐJĴ‡„îD¦zK²ǏÎEh~’CD­hMn^ÌöÄ©ČZÀž„fɭyœpį´ěFűk]Ôě¢qlÅĆÙa¶~Äqššê€ljN¬¼H„ÊšNQ´ê¼VظE††^ŃÒyŒƒM{ŒJLoÒœęæŸe±Ķ›y‰’‡gã“¯JYÆĭĘëo¥Š‰o¯hcK«z_pŠrC´ĢÖY”—¼ v¸¢RŽÅW³Â§fǸYi³xR´ďUˊ`êĿU„û€uĆBƒƣö‰N€DH«Ĉg†——Ñ‚aB{ÊNF´¬c·Åv}eÇÃGB»”If•¦HňĕM…~[iwjUÁKE•Ž‹¾dĪçW›šI‹èÀŒoÈXòyŞŮÈXâÎŚŠj|àsRy‹µÖ›–Pr´þŒ ¸^wþTDŔ–Hr¸‹žRÌmf‡żÕâCôox–ĜƌÆĮŒ›Ð–œY˜tâŦÔ@]ÈǮƒ\\\\Ī¼Ä£UsȯLbîƲŚºyh‡rŒŠ@ĒԝƀŸÀ²º\\\\êp“’JŠ}ĠvŠqt„Ġ@^xÀ£È†¨mËÏğ}n¹_¿¢×Y_æpˆÅ–A^{½•Lu¨GO±Õ½ßM¶w’ÁĢۂP‚›Ƣ¼pcIJxŠ|ap̬HšÐŒŊSfsðBZ¿©“XÏÒK•k†÷Eû¿‰S…rEFsÕūk”óVǥʼniTL‚¡n{‹uxţÏh™ôŝ¬ğōN“‘NJkyPaq™Âğ¤K®‡YŸxÉƋÁ]āęDqçgOg†ILu—\\\\_gz—]W¼ž~CÔē]bµogž_oď`´³Țkl`IªºÎȄqÔþž»E³ĎSJ»œ_f·‚adÇqƒÇc¥Á_Źw{™L^ɱćx“U£µ÷xgĉp»ĆqNē`rĘzaĵĚ¡K½ÊBzyäKXqiWPÏɸ½řÍcÊG|µƕƣG˛÷Ÿk°_^ý|_zċBZocmø¯hhcæ\\\\lˆMFlư£Ĝ„ÆyH“„‰µêÕ]—›HA…àӄ^it `þßäkŠĤÎT~Wlÿ¨„ÔPzUC–NVv [jâôDôď[}ž‰z¿–msSh‹¯{jïğl}šĹ[–őŒ‰gK‹©U·µË@¾ƒm_~q¡f¹…ÅË^»‘f³ø}Q•„¡Ö˳gͱ^ǁ…\\\\ëÃA_—¿bW›Ï[¶ƛ鏝£F{īZgm@|kHǭƁć¦UĔťƒ×ë}ǝƒeďºȡȘÏíBə£āĘPªij¶“ʼnÿ‡y©n‰ď£G¹¡I›Š±LÉĺÑdĉ܇˜‰}g˜Á†{aqÃ¥aŠıęÏZ—ï`"],"encodeOffsets":[[104636,22969]]}},{"type":"Feature","id":"540000","properties":{"id":"540000","cp":[89.132212,30.860361],"name":"西藏","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@hžľxŽŖ‰xƒÒVŽ†ºÅâAĪÝȆµę¯Ňa±r_w~uSÕň‘qOj]ɄQ…£Z……UDûoY’»©M[‹L¼qãË{V͕çWViŽ]ë©Ä÷àyƛh›ÚU°ŒŒa”d„cQƒ~Mx¥™cc¡ÙaSyF—ցk­ŒuRýq¿Ôµ•QĽ³aG{¿FµëªéĜÿª@¬·–K‰·àariĕĀ«V»Ŷ™Ĵū˜gèLǴŇƶaf‹tŒèBŚ£^Šâ†ǐÝ®–šM¦ÁǞÿ¬LhŸŽJ¾óƾƺcxw‹f]Y…´ƒ¦|œQLn°aœ…œ\\\\¨o’œǀÍŎœ´ĩĀd`tÊQŞŕ|‚¨C^©œĈ¦„¦ÎJĊ{ŽëĎjª²rЉšl`¼Ą[t|¦St辉PŒÜK¸€d˜Ƅı]s¤—î_v¹ÎVòŦj˜£Əsc—¬_Ğ´˜¦AvŽ¦w`ăaÝaa­¢e¤ı²©ªSªšÈMĄwžÉØŔì@T‘¤—Ę™\\\\õª@”þo´­xA s”ÂtŎKzó´ÇĊµ¢rž^nĊ­Æ¬×üGž¢‚³ {âĊ]š™G‚~bÀgVjzlhǶf€žOšfdŠ‰ªB]pj„•TO–‚n¤}®¦ƒČ¥d¢¼»ddš”Žt—¢eȤJ¤}Ǿ¡°§¤AГlc@ĝ”sªćļđAç‡wx•UuzEÖġ~AN¹ÄÅȀŻ¦¿ģŁéì±H…ãd«g[؉¼ēÀ•cīľġ¬cJ‘µ…ÐʥVȝ¸ßS¹†ý±ğkƁ¼ą^ɛ¤Ûÿ‰b[}¬ōõÃ]ËNm®g@•Bg}ÍF±ǐyL¥íCˆƒ€Ï÷њį[¹¦[⚍EÛïÁÉdƅß{âNÆāŨߝ¾ě÷yC£‡k­´ÓH@¹†TZ¥¢įƒ·ÌAЧ®—Zc…ŸZ­¹|ŕWZqgW“|ieZÅYVӁqdq•bc²R@†c‡¥Rã»Ge†ŸeƃīQ•}J[ғK…¬Ə|o’ėjġĠÑN¡ð¯EBčnwôɍėªƒ²•CλŹġǝʅįĭạ̃ūȹ]ΓͧgšsgȽóϧµǛ†ęgſ¶ҍć`ĘąŌJޚä¤rÅň¥ÖÁUětęuůÞiĊÄÀ\\\\Æs¦ÓRb|Â^řÌkÄŷ¶½÷‡f±iMݑ›‰@ĥ°G¬ÃM¥n£Øą‚ğ¯ß”§aëbéüÑOčœk£{\\\\‘eµª×M‘šÉfm«Ƒ{Å׃Gŏǩãy³©WÑăû‚··‘Q—òı}¯ã‰I•éÕÂZ¨īès¶ZÈsŽæĔTŘvŽgÌsN@îá¾ó@‰˜ÙwU±ÉT廣TđŸWxq¹Zo‘b‹s[׌¯cĩv‡Œėŧ³BM|¹k‰ªħ—¥TzNYnݍßpęrñĠĉRS~½ŠěVVŠµ‚õ‡«ŒM££µB•ĉ¥áºae~³AuĐh`Ü³ç@BۘïĿa©|z²Ý¼D”£àč²‹ŸƒIƒû›I ā€óK¥}rÝ_Á´éMaň¨€~ªSĈ½Ž½KÙóĿeƃÆBŽ·¬ën×W|Uº}LJrƳ˜lŒµ`bÔ`QˆˆÐÓ@s¬ñIŒÍ@ûws¡åQÑßÁ`ŋĴ{Ī“T•ÚÅTSij‚‹Yo|Ç[ǾµMW¢ĭiÕØ¿@˜šMh…pÕ]j†éò¿OƇĆƇp€êĉâlØw–ěsˆǩ‚ĵ¸c…bU¹ř¨WavquSMzeo_^gsÏ·¥Ó@~¯¿RiīB™Š\\\\”qTGªÇĜçPoŠÿfñòą¦óQīÈáP•œābß{ƒZŗĸIæńhnszÁCËìñšÏ·ąĚÝUm®ó­L·ăU›Èíoù´Êj°ŁŤ_uµ^‘°Œìǖ@tĶĒ¡Æ‡M³Ģ«˜İĨÅ®ğ†RŽāð“ggheÆ¢z‚Ê©Ô\\\\°ÝĎz~ź¤Pn–MĪÖB£Ÿk™„§żćŠ˜ĆK„Ē°¼L¶è‰âz¨u¦¥LDĘz¬ýÎmĘd¾ß”Fz“hg²™Fy¦ĝ¤ċņbΛ@y‚Ąæm°NĮZRÖíŽJ²öLĸÒ¨Y®ƌÐV‰à˜tt_ڀÂyĠzž]Ţh€zĎ{†ĢX”ˆc|šÐqŽšfO¢¤ög‚ÌHNŽ„PKŖœŽ˜´xx[xˆvĐCûĀŠìÖT¬¸^}Ìsòd´_Ž‡KgžLĴ…ÀBon|H@–Êx˜—¦BpŰˆŌ¿fµƌA¾zLjRxŠ¶F”œkĄźRzŀˆ~¶[”´Hnª–VƞuĒ­È¨ƎcƽÌm¸ÁÈM¦x͊ëÀxdžB’šú^´W†£–d„kɾĬpœw‚˂ØɦļĬIŚœÊ•n›Ŕa¸™~J°î”lɌxĤÊÈðhÌ®‚g˜T´øŽàCˆŽÀ^ªerrƘdž¢İP|Ė ŸWœªĦ^¶´ÂL„aT±üWƜ˜ǀšŶUńšĖ[QhlLüA†‹Ü\\\\†qR›Ą©"],"encodeOffsets":[[90849,37210]]}},{"type":"Feature","id":"610000","properties":{"id":"610000","cp":[108.948024,34.263161],"name":"陕西","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@˜—ȮµšûG™Ħ}Ħšðǚ¶òƄ€jɂz°{ºØkÈęâ¦jª‚Bg‚\\\\œċ°s¬Ž’]jžú ‚E”Ȍdž¬s„t‡”RˆÆdĠݎ”¸ôW¾ƮłÒ_{’Ìšû¼„jº¹¢GǪÒ¯ĘƒZ`ºŊƒecņąš~BÂgzpâēòYǠȰÌTΨÂWœ|fcŸă§uF—Œ@NŸ¢XLƒŠRMº[ğȣſï|¥J™kc`sʼnǷ’‹W@µ÷K…ãï³ÛIcñ·VȋڍÒķø©—þ¥ƒy‚ÓŸğęmWµÎumZyOŅƟĥÓ~sÑL¤µaŅY¦ocyZ{‰y c]{ŒTa©ƒ`U_Ěē£ωÊƍ’K¶ȱÝƷ§{û»ÅÁȹÍéuij|¹cÑd‘ŠìUYƒŽO‘uF–ÕÈYvÁCqӃT•Ǣí§·S¹NgŠV¬ë÷Át‡°Dد’C´ʼnƒópģ}„ċcE˅FŸŸéGU¥×K…§­¶³B‹Č}C¿åċ`wġB·¤őcƭ²ő[Å^axwQO…ÿEËߌ•ĤNĔŸˆÄŠńwĪ­Šo[„_KÓª³“ÙnK‰Çƒěœÿ]ď€ă_d©·©Ýŏ°Ù®g]±„Ÿ‡ß˜å›—¬÷m\\\\›iaǑkěX{¢|ZKlçhLt€Ňîŵ€œè[€É@ƉĄEœ‡Ï˜³­ħZ«mJ…›×¾‘MtÝĦ£IwÄå\\\\Õ{‡˜ƒOwĬ©LÙ³ÙgBƕŀr̛ĢŭO¥lãyC§HÍ£ßEñŸ—­°ÙCgpťz‘ˆb`wI„vA|§”‡—hoĕ@E±“iYd¥OĻ¹S|}F@¾oAO²{tfžÜ—¢Fǂ҈W²°BĤh^Wx{@„¬‚­F¸¡„ķn£P|ŸªĴ@^ĠĈæb–Ôc¶l˜Yi…–^Mi˜cĎ°Â[ä€vï¶gv@À“Ĭ·lJ¸sn|¼u~a]’ÆÈtŌºJp’ƒþ£KKf~Š¦UbyäIšĺãn‡Ô¿^­žŵMT–hĠܤko¼Ŏìąǜh`[tŒRd²IJ_œXPrɲ‰l‘‚XžiL§àƒ–¹ŽH˜°Ȧqº®QC—bA†„ŌJ¸ĕÚ³ĺ§ `d¨YjžiZvRĺ±öVKkjGȊĐePОZmļKÀ€‚[ŠŽ`ösìh†ïÎoĬdtKÞ{¬èÒÒBŒÔpIJÇĬJŊ¦±J«ˆ‹@·pH€µàåVKe›pW†ftsAÅqC·¬ko«pHÆuK@oŸHĆۄķhx“e‘n›S³àǍrqƶRbzy€¸ËАl›¼EºpĤ¼Œx¼½~Ğ’”à@†ÚüdK^ˆmÌSj"],"encodeOffsets":[[110234,38774]]}},{"type":"Feature","id":"620000","properties":{"id":"620000","cp":[103.823557,36.058039],"name":"甘肃","childNum":2},"geometry":{"type":"MultiPolygon","coordinates":[["@@VuUv"],["@@ũ‹EĠtt~nkh`Q‰¦ÅÄÜdw˜Ab×ĠąJˆ¤DüègĺqBqœj°lI¡ĨÒ¤úSHbš‡Š‘BŠ°aZˆ¢KJŽ’O[|A£žDx}Nì•HUnrk„ kp€¼Y kMJn[aG‚áÚÏ[½rc†}aQxOgsPMnUs‡nc‹Z…ž–sKúvA›t„Þġ’£®ĀYKdnFwš¢JE°”Latf`¼h¬we|€Æ‡šbj}GA€·~WŽ”—`†¢MC¤tL©IJ°qdf”O‚“bÞĬ¹ttu`^ZúE`Œ[@„Æsîz®¡’C„ƳƜG²“R‘¢R’m”fŽwĸg܃‚ą G@pzJM½mŠhVy¸uÈÔO±¨{LfæU¶ßGĂq\\\\ª¬‡²I‚¥IʼnÈīoı‹ÓÑAçÑ|«LÝcspīðÍg…të_õ‰\\\\ĉñLYnĝg’ŸRǡÁiHLlõUĹ²uQjYi§Z_c¨Ÿ´ĹĖÙ·ŋI…ƒaBD˜­R¹ȥr—¯G•ºß„jWk’ɱŠOq›Wij\\\\a­‹Q\\\\sg_ĆǛōëp»£lğۀgS•ŶN®À]ˆÓäm™ĹãJaz¥V}‰Le¤L„ýo‘¹IsŋÅÇ^‘Žbz…³tmEÁ´aŠ¹cčecÇN•ĊãÁ\\\\č¯—dNj•]j†—ZµkÓda•ćå]ğij@ ©O{¤ĸm¢ƒ®ƒ«|@Xwg]Aģ±¯‡XǁÑdzªc›wQÚŝñsÕ³ÛV_ýƒ˜¥\\\\ů¥©¾÷w—Ž©WÕÊĩhÿÖÁRo¸V¬âDb¨šhûx–Ê×nj~Zâƒg|šXÁnßYoº§ZÅŘvŒ[„ĭÖʃuďxcVbnUSf…B¯³_Tzº—ΕO©çMÑ~Mˆ³]µ^püµ”ŠÄY~y@X~¤Z³€[Èōl@®Å¼£QKƒ·Di‹¡By‘ÿ‰Q_´D¥hŗyƒ^ŸĭÁZ]cIzý‰ah¹MĪğP‘s{ò‡‹‘²Vw¹t³Ŝˁ[ŽÑ}X\\\\gsFŸ£sPAgěp×ëfYHāďÖqēŭOÏë“dLü•\\\\iŒ”t^c®šRʺ¶—¢H°mˆ‘rYŸ£BŸ¹čIoľu¶uI]vģSQ{ƒ”Å}QÂ|̋°ƅ¤ĩŪU ęĄžÌZҞ\\\\v˜²PĔ»ƢNHƒĂyAmƂwVmž`”b•”H`‰Ì¢²ILvĜ—H®¤Dlt_„¢JJÄämèÔDëþgºƫ™”aʎÌrêYi~ ÎݤNpÀA¾Ĕ¼b…ð÷’Žˆ‡®‚”üs”zMzÖĖQdȨý†v§Tè|ªH’þa¸|šÐ ƒwKĢx¦ivr^ÿ ¸l öæfƟĴ·PJv}n\\\\h¹¶v†·À|\\\\ƁĚN´Ĝ€çèÁz]ġ¤²¨QÒŨTIl‡ªťØ}¼˗ƦvÄùØE‹’«Fï˛Iq”ōŒTvāÜŏ‚íÛߜÛV—j³âwGăÂíNOŠˆŠPìyV³ʼnĖýZso§HіiYw[߆\\\\X¦¥c]ÔƩÜ·«j‡ÐqvÁ¦m^ċ±R™¦΋ƈťĚgÀ»IïĨʗƮŽ°Ɲ˜ĻþÍAƉſ±tÍEÕÞāNU͗¡\\\\ſčåÒʻĘm ƭÌŹöʥ’ëQ¤µ­ÇcƕªoIýˆ‰_mkl³ă‰Ɠ¦j—¡Yz•Ňi–}Msßõ–īʋ —}ƒÁVmŸ_[n}eı­Uĥ¼‘ª•I{ΧDӜƻėoj‘qYhĹT©oūĶ£]ďxĩ‹ǑMĝ‰q`B´ƃ˺Ч—ç~™²ņj@”¥@đ´ί}ĥtPńǾV¬ufӃÉC‹̻‰…¹£G³€]ƖƾŎĪŪĘ̖¨ʈĢƂlɘ۪üºňUðǜȢƢż̌ȦǼ‚ĤŊɲĖ­Kq´ï¦—ºĒDzņɾªǀÞĈĂD†½ĄĎÌŗĞrôñnŽœN¼â¾ʄľԆ|DŽŽ֦ज़ȗlj̘̭ɺƅêgV̍ʆĠ·ÌĊv|ýĖÕWĊǎÞ´õ¼cÒÒBĢ͢UĜð͒s¨ňƃLĉÕÝ@ɛƯ÷¿Ľ­ĹeȏijëCȚDŲyê×Ŗyò¯ļcÂßY…tÁƤyAã˾J@ǝrý‹‰@¤…rz¸oP¹ɐÚyᐇHŸĀ[Jw…cVeȴϜ»ÈŽĖ}ƒŰŐèȭǢόĀƪÈŶë;Ñ̆ȤМľĮEŔ—ĹŊũ~ËUă{ŸĻƹɁύȩþĽvĽƓÉ@ē„ĽɲßǐƫʾǗĒpäWÐxnsÀ^ƆwW©¦cÅ¡Ji§vúF¶Ž¨c~c¼īŒeXǚ‹\\\\đ¾JŽwÀďksãA‹fÕ¦L}wa‚o”Z’‹†Ml«]eÒÅaɲáo½FõÛ]ĻÒ¡wYR£¢rvÓ®y®LF‹LzĈ„ôe]gx}•|KK}xklL]c¦£fRtív¦†PĤoH{tK"]],"encodeOffsets":[[[108619,36299]],[[108589,36341]]]}},{"type":"Feature","id":"630000","properties":{"id":"630000","cp":[96.778916,35.623178],"name":"青海","childNum":2},"geometry":{"type":"MultiPolygon","coordinates":[["@@InJm"],["@@CƒÆ½OŃĦsΰ~Ē³¦@@“Ņiš±è}ؘƄ˹A³r_ĞŠǒNĪŒĐw¤^ŬĵªpĺSZg’rpiƼĘԛ¨C|͖J’©Ħ»®VIJ~f\\\\m `Un„˜Ÿ•ĬàöNt•~ňjy–¢Zi˜Ɣ¥ĄŠk´nl`JʇŠJþ©pdƖ®È£¶ìRʦ‘źõƮËnŸʼėæÑƀĎ[‚˜¢VÎĂMÖÝÎF²sƊƀÎBļýƞ—¯ʘƭðħ¼Jh¿ŦęΌƇš¥²Q]Č¥nuÂÏriˆ¸¬ƪÛ^Ó¦d€¥[Wà…x\\\\ZŽ•¨GtpþYŊĕ´€zUO뇉P‰îMĄÁxH´á˜iÜUà›îÜՁĂÛSuŎ‹r“œJð̬EŒ‘FÁú×uÃÎkr“Ē{V}İ«O_ÌËĬ©ŽÓŧSRѱ§Ģ£^ÂyèçěM³Ƃę{[¸¿u…ºµ[gt£¸OƤĿéYŸõ·kĀŸq]juw¥Dĩƍ€õÇPéĽG‘ž©ã‡¤G…uȧþRcÕĕNy“yût“ˆ­‡ø‘†ï»a½ē¿BMoį£ŸÍj}éZËqbʍš“Ƭh¹ìÿÓAçãnIáI`ƒks£CG­ě˜Uy×Cy•…’Ÿ@¶ʡÊBnāzG„ơMē¼±O÷õJËĚăVŸĪũƆ£Œ¯{ËL½Ìzż“„VR|ĠTbuvJvµhĻĖH”Aëáa…­OÇðñęNw‡…œľ·L›mI±íĠĩPÉ×®ÿs—’cB³±JKßĊ«`…ađ»·QAmO’‘Vţéÿ¤¹SQt]]Çx€±¯A@ĉij¢Óļ©•ƒl¶ÅÛr—ŕspãRk~¦ª]Į­´“FR„åd­ČsCqđéFn¿Åƃm’Éx{W©ºƝºįkÕƂƑ¸wWūЩÈFž£\\\\tÈ¥ÄRÈýÌJ ƒlGr^×äùyÞ³fj”c†€¨£ÂZ|ǓMĝšÏ@ëÜőR‹›ĝ‰Œ÷¡{aïȷPu°ËXÙ{©TmĠ}Y³’­ÞIňµç½©C¡į÷¯B»|St»›]vƒųƒ”}MÓ ÿʪƟǭA¡fs˜»PY¼c¡»¦c„ċ­¥£~msĉP•–Siƒ^o©A‰Šec‚™PeǵŽkg‚yUi¿h}aH™šĉ^|ᴟ¡HØûÅ«ĉ®]m€¡qĉ¶³ÈyôōLÁst“BŸ®wn±ă¥HSòėš£˜S’ë@לÊăxÇN©™©T±ª£IJ¡fb®ÞbŽb_Ą¥xu¥B—ž{łĝ³«`d˜Ɛt—¤ťiñžÍUuºí`£˜^tƃIJc—·ÛLO‹½Šsç¥Ts{ă\\\\_»™Š±q©čiìĉ|ÍIƒ¥ć¥›€]ª§D{ŝŖÉR_sÿc³Īō›ƿΑ›§p›†›c¯bKm›R¥{³„Z†e^ŽŒwx¹dƽŽôIg §Mĕ ƹĴ¿—ǣÜ̓]‹Ý–]snåA{‹eŒƭ`ǻŊĿ\\\\ijŬű”YÂÿ¬jĖqŽßbŠ¸•¸©@ěĀ©ê¶ìÀEH|´bRľž–Ó¶rÀQþ‹vl®Õ‚E˜TzÜdb ˜hw¤{LR„ƒd“c‹‹ÙVgœ‚ƜßzÃô쮍^jUèXΖ|UäÌ»rKŽ\\\\ŒªN‘¼pZCü†VY††¤ɃRi^rPҒTÖ}|br°qňbĚ°ªiƶGQ¾²„x¦PœmlŜ‘[Ĥ¡ΞsĦŸÔÏâ\\\\ªÚŒU\\\\f…¢N²§x|¤§„xĔsZPòʛ²SÐqF`ª„VƒÞŜĶƨVZŒÌL`ˆ¢dŐIqr\\\\oäõ–F礻Ŷ×h¹]Clـ\\\\¦ďÌį¬řtTӺƙgQÇÓHţĒ”´ÃbEÄlbʔC”|CˆŮˆk„Ʈ[ʼ¬ňœ´KŮÈΰÌĪ¶ƶlð”ļA†TUvdTŠG†º̼ŠÔ€ŒsÊDԄveOg"]],"encodeOffsets":[[[105308,37219]],[[95370,40081]]]}},{"type":"Feature","id":"640000","properties":{"id":"640000","cp":[106.278179,37.26637],"name":"宁夏","childNum":2},"geometry":{"type":"MultiPolygon","coordinates":[["@@KëÀęĞ«OęȿȕŸı]ʼn¡åįÕÔ«Ǵõƪ™ĚQÐZhv ›öqÀѐS[ÃÖHƖčË‡nL]ûc…Ùß@‚“ĝ‘¾}w»»‹oģF¹œ»kÌÏ·{zPƒ§B­¢íyÅt@ƒ@áš]Yv_ssģ¼i߁”ĻL¾ġsKD£¡N_…“˜X¸}B~Haiˆ™Åf{«x»ge_bs“KF¯¡Ix™mELcÿZ¤­Ģ‘ƒÝœsuBLù•t†ŒYdˆmVtNmtOPhRw~bd…¾qÐ\\\\âÙH\\\\bImlNZŸ»loƒŸqlVm–Gā§~QCw¤™{A\\\\‘PKŸNY‡¯bF‡kC¥’sk‹Šs_Ã\\\\ă«¢ħkJi¯r›rAhĹûç£CU‡ĕĊ_ԗBixÅُĄnªÑaM~ħpOu¥sîeQ¥¤^dkKwlL~{L~–hw^‚ófćƒKyEŒ­K­zuÔ¡qQ¤xZÑ¢^ļöܾEpž±âbÊÑÆ^fk¬…NC¾‘Œ“YpxbK~¥ŽŽŒäBlt¿Đx½I[ĒǙŒWž‹f»Ĭ}d§dµùEu‚IÆ¢¥dXªƅx¿]mtÏwßRĶŒX¢͎vÆzƂZò®ǢÌʆCrâºMÞzžÆMҔÊÓŊZľ–Î®Ȉmª²ĈUªĚøºˆĮ¦ÌĘk„^FłĬhĚiĀĖ¾iİbjÕ"],["@@mfwěwMrŢªv@G‰"]],"encodeOffsets":[[[109366,40242]],[[108600,36303]]]}},{"type":"Feature","id":"650000","properties":{"id":"650000","cp":[85.617733,40.792818],"name":"新疆","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@QØĔ²X¨”~ǘBºjʐßØvK”ƔX¨vĊOžÃƒ·¢i@~c—‡ĝe_«”Eš“}QxgɪëÏÃ@sÅyXoŖ{ô«ŸuX…ê•Îf`œC‚¹ÂÿÐGĮÕĞXŪōŸMźÈƺQèĽôe|¿ƸJR¤ĘEjcUóº¯Ĩ_ŘÁMª÷Ð¥Oéȇ¿ÖğǤǷÂF҇zÉx[]­Ĥĝ‰œ¦EP}ûƥé¿İƷTėƫœŕƅ™ƱB»Đ±’ēO…¦E–•}‘`cȺrĦáŖuҞª«IJ‡πdƺÏØZƴwʄ¤ĖGЙǂZĶƒèH¶}ÚZצʥĪï|ÇĦMŔ»İĝLj‹ì¥Βœba­¯¥ǕǚkĆŵĦɑĺƯxūД̵nơʃĽá½M»›òmqóŘĝč˾ăC…ćāƿÝɽ©DZŅ¹đ¥˜³ðLrÁ®ɱĕģʼnǻ̋ȥơŻǛȡVï¹Ň۩ûkɗġƁ§ʇė̕ĩũƽō^ƕŠUv£ƁQï“Ƶkŏ½ΉÃŭdzLқʻ«ƭ\\\\lƒ‡ŭD‡“{ʓDkaFÃÄa“³ŤđÔGRÈƚhSӹŚsİ«ĐË[¥ÚDkº^Øg¼ŵ¸£EÍö•€ůʼnT¡c_‡ËKY‹ƧUśĵ„݃U_©rETÏʜ±OñtYwē¨ƒ{£¨uM³x½şL©Ùá[ÓÐĥ Νtģ¢\\\\‚ś’nkO›w¥±ƒƷFɯàĩÞáB¹Æ…ÑUw„੍žĽw[“mG½Èå~‡Æ÷QyŠěCFmĭZī—ŵVÁ™ƿQƛ—ûXS²‰b½KϽĉS›©ŷXĕŸ{ŽĕK·¥Ɨcqq©f¿]‡ßDõU³h—­gËÇïģÉɋw“k¯í}I·šœbmœÉ–ř›īJɥĻˁ×xo›ɹī‡l•c…¤³Xù]‘™DžA¿w͉ì¥wÇN·ÂËnƾƍdǧđ®Ɲv•Um©³G\\\\“}µĿ‡QyŹ“›µEw‰LJQ½yƋBe¶ŋÀů‡ož¥A—˜Éw@•{Gpm¿Aij†ŽKLhˆ³`ñcËtW‚±»ÕS‰ëüÿďD‡u\\\\wwwù³—V›ƒOMËGh£õP¡™er™Ïd{“‡ġWÁ…č|yšg^ğyÁzÙs`—s|ÉåªÇ}m¢Ń¨`x¥’ù^•}ƒÌ¥H«‰Yªƅ”Aйn~ź¯šf¤áÀz„gŠÇDIԝ´AňĀ҄¶ûEYospõD[{ù°]u›Jq•U•|Soċxţ[õÔĥkŋÞŭZ˺óYËüċrw €ÞkrťË¿XGÉbřaDü·Ē÷Aê[Ää€I®BÕИÞ_¢āĠpŠÛÄȉĖġDKwbm‡ÄNô‡ŠfœƫVÉvi†dz—H‘‹QµâFšù­Âœ³¦{YGžƒd¢ĚÜO „€{Ö¦ÞÍÀPŒ^b–ƾŠlŽ[„vt×ĈÍE˨¡Đ~´î¸ùÎh€uè`¸ŸHÕŔVºwĠââWò‡@{œÙNÝ´ə²ȕn{¿¥{l—÷eé^e’ďˆXj©î\\\\ªÑò˜Üìc\\\\üqˆÕ[Č¡xoÂċªbØ­Œø|€¶ȴZdÆšońéŒGš\\\\”¼C°ÌƁn´nxšÊOĨ’Ūƴĸ¢¸òTxÊǪMīИÖŲÃɎOvˆʦƢ~FŽ‡Rěò—¿ġ~åŊœú‰Nšžš¸qŽ’Ę[Ĕ¶ÂćnÒPĒÜvúĀÊbÖ{Äî¸~Ŕünp¤ÂH¾œĄYÒ©ÊfºmԈĘcDoĬMŬ’˜„‚”ʘچžȂVŦ –ŽèW°ªB|IJXŔþÈJĦÆæFĚêŠYĂªĂ]øªŖNÞüA€’fɨJ€˜¯ÎrDDšĤ€`€mz\\\\„§~D¬{vJÂ˜«lµĂb–¤p€ŌŰNĄ¨ĊXW|ų ¿¾ɄĦƐMT”‡òP˜÷fØĶK¢ȝ˔Sô¹òEð­”`Ɩ½ǒÂň×äı–§ĤƝ§C~¡‚hlå‚ǺŦŞkâ’~}ŽFøàIJaĞ‚fƠ¥Ž„Ŕdž˜®U¸ˆźXœv¢aƆúŪtŠųƠjd•ƺŠƺÅìnrh\\\\ĺ¯äɝĦ]èpĄ¦´LƞĬŠ´ƤǬ˼Ēɸ¤rºǼ²¨zÌPðŀbþ¹ļD¢¹œ\\\\ĜÑŚŸ¶ZƄ³àjĨoâŠȴLʉȮŒĐ­ĚăŽÀêZǚŐ¤qȂ\\\\L¢ŌİfÆs|zºeªÙæ§΢{Ā´ƐÚ¬¨Ĵà²łhʺKÞºÖTŠiƢ¾ªì°`öøu®Ê¾ãØ"],"encodeOffsets":[[88824,50096]]}},{"type":"Feature","id":"110000","properties":{"id":"110000","cp":[116.405285,39.904989],"name":"北京","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@ĽOÁ›ûtŷmiÍt_H»Ĩ±d`Š¹­{bw…Yr“³S]§§o¹€qGtm_Sŧ€“oa›‹FLg‘QN_•dV€@Zom_ć\\\\ߚc±x¯oœRcfe…£’o§ËgToÛJíĔóu…|wP¤™XnO¢ÉˆŦ¯rNÄā¤zâŖÈRpŢZŠœÚ{GŠrFt¦Òx§ø¹RóäV¤XdˆżâºWbwŚ¨Ud®bêņ¾‘jnŎGŃŶŠnzÚSeîĜZczî¾i]͜™QaúÍÔiþĩȨWĢ‹ü|Ėu[qb[swP@ÅğP¿{\\\\‡¥A¨Ï‘ѨŠX\\\\¯œMK‘pA³[H…īu}}"],"encodeOffsets":[[120023,41045]]}},{"type":"Feature","id":"120000","properties":{"id":"120000","cp":[117.190182,39.125596],"name":"天津","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@ŬgX§Ü«E…¶Ḟ“¬O_™ïlÁg“z±AXe™µÄĵ{¶]gitgšIj·›¥îakS€‰¨ÐƎk}ĕ{gB—qGf{¿a†U^fI“ư‹³õ{YƒıëNĿžk©ïËZŏ‘R§òoY×Ógc…ĥs¡bġ«@dekąI[nlPqCnp{ˆō³°`{PNdƗqSÄĻNNâyj]äžÒD ĬH°Æ]~¡HO¾ŒX}ÐxŒgp“gWˆrDGˆŒ‚Š^L‚ˆrzWxˆZ^¨´T\\\\|~@I‰zƒ–‹œjeĊªz£®Ĕvě€L†mV¾Ô_ȔNW~zbĬvG†²ZmDM~”~"],"encodeOffsets":[[120237,41215]]}},{"type":"Feature","id":"310000","properties":{"id":"310000","cp":[121.472644,31.231706],"name":"上海","childNum":6},"geometry":{"type":"MultiPolygon","coordinates":[["@@ɧư¬EpƸÁxc‡"],["@@©„ªƒ"],["@@”MA‹‘š"],["@@Qp݁E§ÉC¾"],["@@bŝՕÕEȣÚƥêImɇǦèÜĠŒÚžÃƌÃ͎ó"],["@@ǜûȬɋŠŭ™×^‰sYŒɍDŋ‘ŽąñCG²«ªč@h–_p¯A{‡oloY€¬j@IJ`•gQڛhr|ǀ^MIJvtbe´R¯Ô¬¨YŽô¤r]ì†Ƭį"]],"encodeOffsets":[[[124702,32062]],[[124547,32200]],[[124808,31991]],[[124726,32110]],[[124903,32376]],[[124438,32149]]]}},{"type":"Feature","id":"500000","properties":{"id":"500000","cp":[107.304962,29.533155],"name":"重庆","childNum":2},"geometry":{"type":"MultiPolygon","coordinates":[["@@vjG~nGŘŬĶȂƀƾ¹¸ØÎezĆT¸}êЖqHŸðqĖ䒊¥^CƒIj–²p…\\\\_ æüY|[YxƊæuž°xb®…Űb@~¢NQt°¶‚ “Ê~rljĔëĚ¢~šuf`‘‚†fa‚ĔJåĊ„nÖ]„jƎćÊ@Š£¾a®£Ű{ŶĕF‹ègLk{Y|¡ĜWƔtƬJÑxq‹±ĢN´‰òK‰™–LÈüD|s`ŋ’ć]ƒÃ‰`đŒMûƱ½~Y°ħ`ƏíW‰½eI‹½{aŸ‘OIrÏ¡ĕŇa†p†µÜƅġ‘œ^ÖÛbÙŽŏml½S‹êqDu[R‹ãË»†ÿw`»y‘¸_ĺę}÷`M¯ċfCVµqʼn÷Z•gg“Œ`d½pDO‡ÎCnœ^uf²ènh¼WtƏxRGg¦…pV„†FI±ŽG^ŒIc´ec‡’G•ĹÞ½sëĬ„h˜xW‚}Kӈe­Xsbk”›L‘ØgTkïƵNï¶}Gy“w\\\\oñ¡nmĈzjŸ•@™Óc£»Wă¹Ój“_m»ˆ¹·~MvÛaqœ»­‰êœ’\\\\ÂoVnŽÓØ͙²«‹bq¿efE „€‹Ĝ^Qž~ Évý‡ş¤²Į‰pEİ}zcĺƒL‹½‡š¿gņ›¡ýE¡ya£³t\\\\¨\\\\vú»¼§·Ñr_oÒý¥u‚•_n»_ƒ•At©Þűā§IVeëƒY}{VPÀFA¨ąB}q@|Ou—\\\\Fm‰QF݅Mw˜å}]•€|FmϋCaƒwŒu_p—¯sfÙgY…DHl`{QEfNysBŠ¦zG¸rHe‚„N\\\\CvEsÐùÜ_·ÖĉsaQ¯€}_U‡†xÃđŠq›NH¬•Äd^ÝŰR¬ã°wećJEž·vÝ·Hgƒ‚éFXjÉê`|yŒpxkAwœWĐpb¥eOsmzwqChóUQl¥F^laf‹anòsr›EvfQdÁUVf—ÎvÜ^efˆtET¬ôA\\\\œ¢sJŽnQTjP؈xøK|nBz‰„œĞ»LY‚…FDxӄvr“[ehľš•vN”¢o¾NiÂxGp⬐z›bfZo~hGi’]öF|‰|Nb‡tOMn eA±ŠtPT‡LjpYQ|†SH††YĀxinzDJ€Ìg¢và¥Pg‰_–ÇzII‹€II•„£®S¬„Øs쐣ŒN"],["@@ifjN@s"]],"encodeOffsets":[[[109628,30765]],[[111725,31320]]]}},{"type":"Feature","id":"810000","properties":{"id":"810000","cp":[114.173355,22.320048],"name":"香港","childNum":5},"geometry":{"type":"MultiPolygon","coordinates":[["@@AlBk"],["@@mŽn"],["@@EpFo"],["@@ea¢pl¸Eõ¹‡hj[ƒ]ÔCΖ@lj˜¡uBXŸ…•´‹AI¹…[‹yDUˆ]W`çwZkmc–…M›žp€Åv›}I‹oJlcaƒ‘KŽ°ä¬XJmРđhI®æÔtSHn€Eˆ„ÒrÈc"],["@@rMUw‡AS®€e"]],"encodeOffsets":[[[117111,23002]],[[117072,22876]],[[117045,22887]],[[116975,23082]],[[116882,22747]]]}},{"type":"Feature","id":"820000","properties":{"id":"820000","cp":[113.54909,22.198951],"name":"澳门","childNum":1},"geometry":{"type":"Polygon","coordinates":["@@kÊd°å§s"],"encodeOffsets":[[116279,22639]]}}],"UTF8Encoding":true}')}}]);
//# sourceMappingURL=chunk-vendors.4f7948c0.js.map